/* ------------------------------------------------------------------------------base.html */
/* -------------GLOBAL------------------- */
html, body {
  height: 100%;
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
}
body {
  padding-top: 100px; /* offset for navbar + alert bar */
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}
.alert-fixed-top {
  position: fixed;
  width: 100%;
  z-index: 1020;
  border-radius: 0;
  top: 59px; /* default offset for large screens */
}
@media (max-width: 768px) {
  .alert-fixed-top {
    top: 100px; /* adjust this depending on collapsed navbar height */
  }
}

/* --------------NAVBAR------------------ */
.navbar {
  background-color: #fff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 1rem;
}

.navbar-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.navbar-brand .text-warning {
  color: #FECF3F !important;
}

.navbar-brand .text-dark {
  color: #333 !important;
}

.navbar .nav-link {
  color: #333;
  font-weight: 500;
  margin: 0 0.25rem;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #F6D35B;
}
.nav-link:focus,
.nav-link.dropdown-toggle:focus {
  box-shadow: none !important;
  outline: none !important;
}

.navbar .dropdown-menu {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar .dropdown-item:hover {
  background-color: #000;
  color: #F6D35B;
}

/* ------------------SEARCH BAR---------------- */
form.d-flex input[type="text"] {
  border-radius: 6px;
  border: 1px solid #ddd;
}

form.d-flex button {
  border-radius: 6px;
  border-color: #FECF3F;
  color: #333;
}

form.d-flex button:hover {
  background-color: #000;
  color: #F6D35B;
}

/* -----------FLASH MESSAGES-------------- */
.flash-container {
  position: fixed;      /* Stay fixed on screen */
  top: 70px;            /* Just below navbar (adjust if navbar height changes) */
  left: 50%;            /* Center horizontally */
  transform: translateX(-50%);
  width: 90%;           /* Almost full width, leave margins on sides */
  max-width: 600px;     /* Optional max width */
  z-index: 1050;        /* Above most content but below modals */
}

.flash-container .alert {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 10px;
  background-color: lightpink;
  color: #333;
}

/* ---------------BREADCRUMBS-------------- */
.breadcrumbs-container {
  margin: 90px auto 20px auto;
  padding: 0 20px;
  font-size: 0.9rem;
  color: #555;
}

.breadcrumbs a {
  color: #007bff;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #333;
  font-weight: 600;
}

/* -----------------MAIN LAYOUT------------------ */
.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;

}

main {
  flex: 1;
  width: 100%;
  margin-top: 80px; /* below fixed navbar */
}

/* -----------------FOOTER--------------------- */
footer {
  background-color: #fff;
  border-top: 1px solid #eee;
  padding: 15px 0;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* ----------------BUTTONS---------------------- */
button, .btn-custom {
  background-color: #FECF3F;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

button:hover, .btn-custom:hover {
  background-color: #000;
  color: #F6D35B;
}

/* ------------------------------------------------------------------------home.html */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-image {
  width: 100%;
  border-radius: 10px;
  transition: opacity 0.5s ease-in-out;
}

/* -------------------RESPONSIVE------------------- */
@media (max-width: 768px) {
  .navbar-nav {
    text-align: center;
  }
  .navbar-brand .brand-name {
    font-size: 1.25rem;
  }
  main {
    margin-top: 100px;
  }
  .profile-container,
  .edit-profile-container {
    padding: 20px;
  }
}

/* -----------------------------------------------------------------------------------products.html */
.sort-container { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.sort-container label { width: 100px; font-size: large; }

.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* content starts from top */
    width: 250px; 
    min-height: 400px; 
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    position: relative;
    text-align: center;
}

.product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* stretch to fill remaining space */
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.product-name { font-size: 1.2rem; font-weight: bold; color: black; }
.product-name:hover { color: #FECF3F; }

.product-price { font-size: 1.4rem; font-weight: bold; margin-bottom: 10px; color: black; }

.product-stock-msg { color: red; font-size: 1rem; margin-bottom: 10px; }

.notify-form input[type="email"] { padding: 6px; border-radius: 4px; border: 1px solid #ccc; margin-bottom: 5px; }

.product-stock-msg,
.alert-warning,
.notify-form,
button {
    width: 100%; /* make them all full width inside product-content */
}

/* Push Add to Cart / Notify Me button to bottom */
.product-content button,
.notify-form {
    margin-top: auto;
}

/* -----------------------------------------------------------------------------product_detail.html */
.product-detail-container { width: 100%; max-width: 1200px; margin: 0 auto; }
.product-top { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-bottom: 40px; }

.product-left, .product-right { flex: 1; min-width: 300px; max-width: 500px; display: flex; flex-direction: column; gap: 20px; }

.product-images .main-image img { width: 100%; max-height: 450px; object-fit: contain; }

.thumbnail-images { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.thumbnail { width: 80px; height: 80px; object-fit: cover; border-radius: 5px; cursor: pointer; border: 2px solid transparent; transition: transform 0.2s ease, border-color 0.3s ease; }
.thumbnail:hover { transform: scale(1.1); border-color: black; }
.active-thumbnail { border-color: #FECF3F; opacity: 0.7; }

.product-description { font-size: 1rem; color: #666; line-height: 1.6; }

.product-reviews { width: 100%; }
.review { background-color: #fff; padding: 15px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.verified-badge { background-color: #28a745; color: #fff; padding: 3px 10px; border-radius: 5px; font-size: 0.9rem; margin-right: 10px; }

/* ---------------RESPONSIVE------------------ */
@media (max-width: 768px) {
  .product-container { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .product-left, .product-right { max-width: 100%; }
  .sort-container { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .product-container { grid-template-columns: 1fr; }
  .thumbnail { width: 60px; height: 60px; }
  .product img { height: 180px; }
}

/* --------------------------------------------------create_your_own.html, edit_custom_product.html */
/* Container */
.create-your-own-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page title */
.create-your-own-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
}

/* Guest warning */
.guest-warning {
    width: 100%;
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* Equal height fix */
.row.align-items-stretch > [class*="col-"] {
  display: flex;
}

/* Bottom section: uses Bootstrap grid */
.bottom-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Left and right sections */
.left-section, .right-section {
    flex: 1 1 400px; /* responsive widths */
}

/* Section titles */
.left-section h3, .right-section h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

/* Preview container */
.preview-container, #image-preview {
    width: 100%;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #ccc;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 15px;
}

.preview-container img, #image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

/* Uploaded images list */
.uploaded-images ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.uploaded-images li {
    position: relative;
}

.uploaded-images img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

/* Remove button on uploaded image */
.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    border: none;
    padding: 4px 7px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.uploaded-images li:hover .remove-image {
    opacity: 1;
}

.remove-image:hover {
    background-color: darkred;
}

/* Options (radio buttons) */
.options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.options .option {
    display: flex;
    align-items: center;
    gap: 5px;
}

.options input[type="radio"]:checked + label {
    font-weight: bold;
    color: #0d6efd; /* Bootstrap primary color */
}

/* Quantity select */
.quantity-input select {
    width: auto;
    padding: 6px 12px;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

/* Estimated items / price display */
.estimated-items {
    margin-top: 30px;
    margin-bottom: 20px;
}

.estimated-items p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1rem;
}

.price-label {
    font-weight: 500;
    color: #333;
}

.price-value {
    font-weight: bold;
    color: #000;
}

/* Add to Cart button */
#add-to-cart-btn {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #ffc107; /* Bootstrap warning */
    color: #000;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#add-to-cart-btn:hover {
    background-color: #e0a800;
}

#add-to-cart-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* ----------------------------------------------------------------------admin_manage_orders.html */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;

}

thead {
  background-color: #f2f2f2;
  
}

thead th {
  padding: 12px 15px;
  text-align: center;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #ddd;
  
}

tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid #dbdada;
  vertical-align: top;
  
}

tbody tr:hover {
  background-color: #fafafa;
}

td small {
  color: #666;
  font-size: 0.8rem;
  
}

td form {
  display: inline-block;
  margin: 0;
  
}
td:last-child {
  white-space: nowrap;
  
}

button.text-button {
    background: none;
    color: #007BFF; /* Bootstrap blue, adjust if needed */
    cursor: pointer;
    font-size: 1em;
    padding: 0;
    text-decoration: none;
}
button.text-button-generate {
    background: none;
    color: #f80505; /* Bootstrap blue, adjust if needed */
    cursor: pointer;
    font-size: 1em;
    padding: 0;
    text-decoration: none;
}

button.text-button:hover, button.text-button-generate:hover {
  text-decoration: underline;
}

button.text-button:focus, button.text-button-generate:focus {
    outline: none;
  }
a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.status-badge {
  padding: 3px 6px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  font-size: 0.85em;

}
.needs-packing { background-color: #f80505; }
.packed { background-color: #3c55e0; }
.shipped { background-color: #19aa51; }
.delivered { background-color: #a4b0b4; }
.pending {background-color: #ffc107; }
.processing {background-color: #17a2b8; }
.canceled {background-color: #caa7aa; }

/*----------------------------------------------------------------------admin_pack_order.html */
.pack-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  .pack-table th, .pack-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
  }
  .pack-table th {
    background-color: #f5f5f5;
  }
  .confirm-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #2e8b57;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }
  .confirm-button:hover {
    background-color: #276f4b;
  }

/* -------------------------------------------------------------------------------------cart.html */
/* Cart Page - Yellow & Black Theme */
.list-group-item {
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.list-group-item:hover {
    background-color: #fff3cd; /* light yellow hover */
}

.text-warning {
    color: #FFC107 !important;
}

.btn-warning {
    background-color: none;
    border-color: #FFC107;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-outline-warning {
    color: #000;
    border-color: #FFC107;
}

.btn-outline-warning:hover {
    background-color: #FFC107;
    color: #000;
}

.img-thumbnail {
    border-radius: 0.5rem;
}

h1, h2, h4, h5, h6 {
    font-weight: 600;
}

/* End cart.html- */

/* -----------------------------------------------------checkout_shipping.html, chechout_payment.html */
.checkout-container {
    margin: 20px auto;  
    padding: 20px;
    max-width: 1200px;
}
.checkout-content {
    display: flex;
    justify-content: space-between; /* Ensures space between shipping form & order summary */
    align-items: stretch;
    gap: 60px; 
}
@media screen and (max-width: 900px) {
    .checkout-content {
        flex-direction: column;
    }

    .billing-address-form, .order-summary {
        width: 100% !important;
    }
}
.checkout-section {
    display: grid;
    grid-template-columns: 280px 1fr 80px;
    padding: 10px 0px;
    border-bottom: 1px solid #ddd;
    gap: 10px; 
    margin-top: 10px;
}
.checkout-section h3 {
    text-align: left;
    font-size: 1.1rem;
    margin-top: 0;
}
.checkout-info-email,
.checkout-info-phone-number,
.checkout-info-shipping {
    font-size: 1rem;
    color: #333;
}
.checkout-info-email p, 
.checkout-info-phone-number p,
.checkout-info-shipping p {
    margin: 0.25rem 0;
    display: flex;
}
.billing-left-top button {
    display: flex; /* Turn this div into a flex container */
    justify-content: center; /* Horizontally center the button */
    align-items: center; /* Vertically center the button */
    padding: 15px;
}
.shipping-address-form h2, .billing-address-form h2, .order-summary h2 {
    margin-top: 30px;
    padding: 10px;

}
.shipping-address-form, .billing-address-form {
    width: 750px;
}
.order-summary {
    width: 350px;
}
.shipping-form-group, .billing-form-group {
    margin-bottom: 30px;
    width: 90%;

}
.shipping-form-row, .billing-form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    width: 90%;
}
.shipping-form-group label, .billing-form-group label {
    font-weight: bold;
    display: flex;
    margin-bottom: 5px;

}
.shipping-form-group input, .shipping-form-group select,
.billing-form-group input, .billing-form-group select {
    width: 90%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    display: flex;
}
.shipping-checkbox-group, .save-payment-checkbox-group {
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 2px; /* Adds space between checkbox and label */
    width: 400px; /* Ensures it stretches across the form */
    white-space: nowrap; /* Prevents the text from wrapping */
}
.shipping-checkbox-group input, .save-payment-container input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.shipping-checkbox-group input, .save-payment-checkbox-group input {
    margin: 0;
    font-weight: normal;
    font-size:large;
}
.payment-methods-container {
    display: flex;
    flex-direction: column; 
    gap: 1rem; /* optional: adds spacing between rows */
    margin-bottom: 1.5rem;
    align-items: flex-start;
    padding: 1rem;
}
.payment-method-option {
    display: flex;
    align-items: center;
    padding: 0.2rem;
    cursor: pointer;
    background: #f9f9f9;
    transition: border-color 0.3s;
    gap: 10px;
    width: fit-content;
}
.card-section, .paypal-section {
    display: none;
    margin-top: 1rem;
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 90%;
}
#card-element {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    margin-top: 10px;
    min-height: 55px;
    transition: box-shadow 0.3s ease;
}

#card-element.StripeElement--focus {
    border-color: #0a0607;
}
.card-errors {
    color: #d93025;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}
.required {
    color: red;
}
.summary-items {
    list-style: none;
    padding: 0;
    margin: 0;  
}
.summary-item {
    display: flex;
    justify-content: space-between; /* Aligns name left and price right */
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-bottom: 20px; /* space for bottom buttons */
}
.summary-item-image-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 110px;
}
.summary-item-details {
    display: block;
    width: 220px;
}
.summary-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 5px;

}
.summary-item-name {
    height: 50px;
    display: flex;
    font-size:large;
}
.summary-item-price {
    width: 220px;
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: large;
}
.price-items {
    margin-top: 40px;
    margin-bottom: 30px;
}
.price-items p {
    display: flex;
    justify-content: space-between; /* Aligns label left and value right */
    align-items: center;
    margin: 5px 0;
    font-size: large;
}
.price-label {
    flex: 1;
    text-align: left;
}
.price-value {
    flex: 1;
    text-align: right;
    font-weight: bold;
}

/* -------------------------------------------------------------------order_confirmation.html */
.order-confirmation-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
}
.thank-you-container {
    text-align: center;
    margin-bottom: 2rem;
}
.confirmation-message {
    color: #666;
    font-size: 1rem;
}
.confirmed-email {
    font-size: 1.1rem;
    font-weight: 500;
}
.confirmation-sections {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;

}
.confirmation-left-section,
.confirmation-right-section {
    width: 600px;

}
.section-block {
    text-align: center; /* Center all content inside */
    margin-bottom: 2rem;
}
.section-block h3, .order-summary h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.order-meta, .confirmation-product-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns <p> tags to the left inside the box */
    margin: 0.5rem auto 0;   /* Auto centers the whole block */
    max-width: 400px;
    width: 100%;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #ddd;
}
.section-block .order-meta p {
    text-align: left;        /* Ensures text inside <p> is left-aligned */
    width: 100%;             /* Makes each <p> take full width of container */
    margin: 0.3rem 0;
    padding: 0.3rem 0.5rem;
}
.confirmation-right-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Optional */
    height: 100%;                   /* Ensure it can grow */
    position: relative;             /* For context */
}
.product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.product-item img {
    width: 80px;
    height: auto;
    border-radius: 6px;
}

.product-info p {
    margin: 0;
    font-size: 0.95rem;
}
.total-price {
    font-size: 1.1rem;
    color: #d32f2f;
    font-weight: bold;
    margin-top: auto; /* Pushes it to the bottom of the container */
    padding-top: 1rem;
    
}
.order-status {
    font-weight: bold;
    color: black;
}
/* Continue Shopping Button */
.continue-shopping-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.btn-secondary {
    width: 30%;
    text-align: center;

}

.btn-secondary button {
    width: 100%;
    background-color: #FECF3F;
    color: black;
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary button:hover {
    background-color: #14b930;
}

/* -----------------------------------------------------------------order_history.html */
.order-history-page-title {
    text-align: center;
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}
.order-history-container {
    width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
}
.order-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 products per row */
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}
.order-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;

}
.order-header {
    font-size: 16px;
    text-align: left;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.order-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.order-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.06);
}
.product-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 20px;
    border: 1px solid #ccc;
}
.item-details {
    flex: 1;
    text-align: left;
}
.item-details p {
    margin: 3px 0;
}
.product-link {
    color: #FECF3F;
    text-decoration: none;
    transition: color 0.2s;
}
.product-link:hover {
    color: black;
    text-decoration: underline;
}
.no-orders {
    text-align: center;
    font-size: 18px;
    color: #777;
    padding: 60px 0;
}
/* End order_history.html */



/* -------------------------------------------------------------------manage_payments.html */
.manage-payments-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.manage-payments-container h1 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.payment-methods-list {
    list-style-type: none;
    padding: 0;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.payment-info {
    font-size: 16px;
    color: #555;
}

.payment-info p {
    margin: 5px 0;
}

.delete-form {
    display: flex;
    justify-content: flex-end;
}
.add-payment-btn button:active {
    background-color: #003f7f;
}
/* End manage_payments.html */

/* -----------------------------------------------------------------------manage_addresses.html */
.manage-addresses-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.manage-addresses-container h1 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.address-list {
    list-style-type: none;
    padding: 0;
}

.address-item {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.address-info {
    font-size: 16px;
    color: #555;
}

.address-info p {
    margin: 5px 0;
    text-align: left;
}

.address-delete-form {
    display: flex;
    justify-content: flex-end;
}

.add-address-btn button:active {
    background-color: #003f7f;
}
/* End manage_addresses.html */

/* ------------------------------------------------------------search_results.html */
.product-thumb {
    height: 220px;
    width: 100%;
    object-fit: contain;
    background-color: #f8f9fa; /* light gray fill so empty space looks clean */
    padding: 5px;
    border-radius: 8px;
}



