/* ==========================================================================
   SuperShop BD — Stylesheet
   Design tokens
   ========================================================================== */
:root {
  --maroon: #7A1F2B;
  --maroon-dark: #5E1620;
  --gold: #C99A2C;
  --gold-light: #E4C171;
  --cream: #FAF5EC;
  --charcoal: #241B18;
  --teal: #1F6F6E;
  --white: #FFFFFF;
  --border: #E8DDC9;

  --font-display: 'Fraunces', serif;
  --font-body: 'Hind Siliguri', sans-serif;

  --radius: 10px;
  --shadow: 0 4px 16px rgba(36, 27, 24, 0.08);
  --shadow-lg: 0 12px 32px rgba(36, 27, 24, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--maroon-dark);
  line-height: 1.2;
}

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Signature element — kantha-stitch divider
   ========================================================================== */
.stitch-divider {
  height: 14px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--gold) 0px, var(--gold) 10px,
    transparent 10px, transparent 18px
  );
  background-position: center;
  background-size: 18px 2px;
  background-repeat: repeat-x;
  opacity: 0.7;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover { background: var(--maroon-dark); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-block { width: 100%; }
.btn-text { display: block; text-align: center; margin-top: 10px; color: var(--maroon); font-weight: 600; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar {
  background: var(--maroon-dark);
  color: var(--gold-light);
  text-align: center;
  font-size: 0.8rem;
  padding: 7px 12px;
}

.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--border); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 38px; width: auto; }
.logo-img-footer { height: 34px; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--maroon-dark);
}
.logo-text small { font-size: 0.7rem; color: var(--gold); display: block; letter-spacing: 2px; margin-top: -4px; }

.main-nav { display: flex; gap: 28px; flex: 1; }
.main-nav a { font-weight: 600; color: var(--charcoal); position: relative; padding: 6px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--maroon); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--gold);
}

.search-form { display: flex; align-items: center; background: var(--cream); border: 1px solid var(--border); border-radius: 30px; padding: 6px 6px 6px 16px; flex: 1; max-width: 320px; }
.search-form input { border: none; background: transparent; outline: none; flex: 1; font-size: 0.9rem; color: var(--charcoal); font-family: inherit; }
.search-form button { border: none; background: var(--maroon); color: var(--white); width: 34px; height: 34px; border-radius: 50%; }

.header-icons { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.icon-link { font-size: 1.2rem; position: relative; }
.cart-link { position: relative; }
.cart-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--gold); color: var(--charcoal);
  font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.hamburger { display: none; background: none; border: none; flex-direction: column; gap: 5px; width: 28px; }
.hamburger span { display: block; height: 2px; background: var(--charcoal); border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 64px 0 48px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--teal); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.78rem; }
.hero-copy h1 { font-size: 3rem; margin: 14px 0 18px; }
.hero-copy p { max-width: 480px; color: #5b4f49; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art { position: relative; height: 340px; }
.hero-card {
  position: absolute;
  width: 150px; height: 190px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.hero-card-1 { top: 0; left: 30%; background: var(--maroon); transform: rotate(-6deg); }
.hero-card-2 { top: 90px; left: 0; background: var(--gold-light); transform: rotate(4deg); }
.hero-card-3 { top: 60px; left: 60%; background: var(--teal); color: var(--white); transform: rotate(8deg); }

/* ==========================================================================
   Category cards
   ========================================================================== */
.category-section { padding: 56px 0 16px; }
.section-title { font-size: 1.8rem; margin-bottom: 24px; text-align: center; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.category-card {
  border-radius: var(--radius);
  padding: 48px 32px;
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.category-card:hover { transform: translateY(-4px); }
.category-card h3 { color: var(--white); font-size: 2rem; margin-bottom: 8px; }
.category-card p { font-weight: 500; opacity: 0.95; }
.category-men { background: linear-gradient(135deg, var(--charcoal), #3a2c26); }
.category-women { background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); }

/* ==========================================================================
   Product grid + cards
   ========================================================================== */
.product-section { padding: 56px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-thumb { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--border); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; color: var(--white); }
.badge-sale { background: var(--teal); }

.product-info { padding: 16px; }
.product-sub { font-size: 0.72rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.product-name { font-size: 1rem; margin: 4px 0 10px; color: var(--charcoal); font-family: var(--font-body); font-weight: 600; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-sale { color: var(--maroon); font-weight: 700; font-size: 1.05rem; }
.price-old { color: #9b8f87; text-decoration: line-through; font-size: 0.85rem; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 32px 24px 64px; text-align: center; }
.trust-strip div { background: var(--white); border-radius: var(--radius); padding: 22px 12px; box-shadow: var(--shadow); }
.trust-strip strong { display: block; margin-bottom: 6px; color: var(--maroon-dark); }
.trust-strip span { font-size: 0.85rem; color: #6b5f58; }

/* ==========================================================================
   Listing page
   ========================================================================== */
.listing-section { padding: 40px 0 64px; }
.listing-head { margin-bottom: 28px; }
.listing-head p { color: #6b5f58; }
.listing-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.filters h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--maroon-dark); margin: 18px 0 10px; }
.filters h4:first-child { margin-top: 0; }
.filter-list a { display: block; padding: 7px 0; color: #5b4f49; font-weight: 500; border-bottom: 1px solid var(--border); }
.filter-list a.active, .filter-list a:hover { color: var(--maroon); }
.empty-state { text-align: center; padding: 60px 20px; color: #6b5f58; }
.empty-state a { color: var(--maroon); font-weight: 700; }

/* ==========================================================================
   Product detail page
   ========================================================================== */
.product-detail { padding: 32px 0 64px; }
.breadcrumb { font-size: 0.85rem; color: #8a7d75; margin-bottom: 20px; }
.breadcrumb a { color: var(--teal); font-weight: 600; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-detail-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-size: 2.1rem; margin: 8px 0 14px; }
.product-price-lg .price-sale { font-size: 1.6rem; }
.product-price-lg .price-old { font-size: 1.1rem; }
.product-description { color: #5b4f49; margin: 18px 0 24px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; color: var(--maroon-dark); }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group input[type="number"], .form-group input[type="password"], .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 0.95rem; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--maroon); }

.size-options, .payment-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-pill { position: relative; }
.size-pill input { position: absolute; opacity: 0; }
.size-pill span {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--border); border-radius: 30px; font-weight: 600; font-size: 0.88rem; color: var(--charcoal); transition: all 0.15s ease;
}
.size-pill input:checked + span { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; width: fit-content; }
.qty-btn { width: 38px; height: 40px; background: var(--cream); border: none; font-size: 1.1rem; font-weight: 700; color: var(--maroon); }
.qty-stepper input { width: 50px; height: 40px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-family: inherit; font-size: 1rem; }

.product-meta { margin-top: 24px; color: #5b4f49; font-size: 0.9rem; }
.product-meta li { padding: 4px 0; }

.related-section { margin-top: 64px; }

/* ==========================================================================
   Cart page
   ========================================================================== */
.cart-section { padding: 40px 0 64px; }
.cart-table { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.cart-row {
  display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.cart-row img { width: 80px; height: 100px; object-fit: cover; border-radius: 8px; }
.cart-row-info h4 { font-family: var(--font-body); font-size: 1rem; color: var(--charcoal); }
.cart-row-info p { font-size: 0.85rem; color: #6b5f58; }
.cart-row-price { color: var(--maroon); font-weight: 700; }
.cart-row-subtotal { font-weight: 700; color: var(--maroon-dark); white-space: nowrap; }
.cart-remove { background: none; border: none; font-size: 1.2rem; color: #b3463f; }

.cart-summary { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); max-width: 400px; margin-left: auto; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 20px; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout-section { padding: 40px 0 64px; }
.checkout-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 24px; }
.checkout-form, .checkout-summary { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.checkout-form h3, .checkout-summary h3 { margin-bottom: 20px; }
.summary-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.summary-total { font-weight: 700; font-size: 1.1rem; border-bottom: none; color: var(--maroon-dark); margin-top: 8px; }
.form-error { background: #fbeaea; color: #a13a32; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 600; }
.order-success { text-align: center; padding: 60px 20px; }
.order-success h1 { margin-bottom: 16px; }
.order-success p { margin-bottom: 28px; color: #5b4f49; }

/* Checkout step layout */
.checkout-step { display: flex; gap: 16px; margin-bottom: 28px; }
.checkout-step-badge {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--maroon); color: var(--white); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
}
.checkout-step-body { flex: 1; }
.checkout-step-body h3 { margin-bottom: 4px; }
.checkout-step-body h3 span { display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; color: #8a7d75; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.checkout-step-hint { font-size: 0.85rem; color: #6b5f58; margin-bottom: 14px; }

.payment-type-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* Gateway selection cards (bKash / Nagad) */
.gateway-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gateway-card { position: relative; cursor: pointer; }
.gateway-card input { position: absolute; opacity: 0; }
.gateway-card-inner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px; border-radius: var(--radius); border: 2px solid var(--border);
  font-weight: 700; font-size: 1.05rem; color: #fff; transition: all 0.15s ease; opacity: 0.55;
}
.gateway-bkash .gateway-card-inner { background: #E2136E; }
.gateway-nagad .gateway-card-inner { background: #F6921E; }
.gateway-card input:checked + .gateway-card-inner { opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }

/* Live "amount to pay now" box */
.checkout-amount-due {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--charcoal); color: var(--white); padding: 18px 22px;
  border-radius: var(--radius); margin: 24px 0; transition: transform 0.15s ease;
}
.checkout-amount-due span { font-size: 0.85rem; color: #cfc4ba; }
.checkout-amount-due strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); }
.checkout-amount-due.pulse { transform: scale(1.02); }

/* Track Order page */
.track-order-section { padding: 40px 0 64px; max-width: 700px; }
.track-order-form { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.track-order-form .form-group { flex: 1; min-width: 160px; margin-bottom: 0; }
.track-result { margin-top: 28px; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.track-result-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.track-result-head span { font-size: 0.85rem; color: #6b5f58; }
.track-result-head strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--maroon-dark); }

.track-divider { display: flex; align-items: center; text-align: center; margin: 36px 0 20px; color: #8a7d75; font-size: 0.85rem; }
.track-divider::before, .track-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.track-divider span { padding: 0 14px; white-space: nowrap; }

.track-cancelled { background: #fbeaea; color: #a13a32; padding: 14px 18px; border-radius: var(--radius); font-weight: 700; text-align: center; margin-bottom: 20px; }

.track-progress { display: flex; justify-content: space-between; margin-bottom: 28px; position: relative; }
.track-progress::before {
  content: ""; position: absolute; top: 16px; left: 5%; right: 5%; height: 2px; background: var(--border); z-index: 0;
}
.track-progress-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; flex: 1; }
.track-progress-dot {
  width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #8a7d75;
}
.track-progress-step.done .track-progress-dot { background: var(--teal); border-color: var(--teal); color: var(--white); }
.track-progress-step.current .track-progress-dot { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.track-progress-label { font-size: 0.78rem; color: #6b5f58; text-align: center; }
.track-progress-step.done .track-progress-label, .track-progress-step.current .track-progress-label { color: var(--charcoal); font-weight: 600; }

.track-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.track-details h4 { font-size: 0.78rem; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.track-details p { font-size: 0.9rem; margin-bottom: 3px; }

.track-items { width: 100%; border-collapse: collapse; }
.track-items th { text-align: left; font-size: 0.75rem; text-transform: uppercase; color: #8a7d75; padding: 6px; border-bottom: 1px solid var(--border); }
.track-items td { padding: 8px 6px; font-size: 0.9rem; border-bottom: 1px solid var(--border); }

@media (max-width: 600px) {
  .track-progress-label { font-size: 0.68rem; }
  .track-order-form { flex-direction: column; align-items: stretch; }
}

/* Payment type selection (delivery-only vs full prepayment) */
.payment-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-type-card { position: relative; cursor: pointer; }
.payment-type-card input { position: absolute; opacity: 0; }
.payment-type-card-inner {
  display: block; padding: 16px; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--cream); text-align: center; transition: all 0.15s ease;
}
.payment-type-card-inner strong { display: block; font-size: 0.92rem; color: var(--charcoal); margin-bottom: 6px; }
.payment-type-card-inner .payment-type-price { display: block; font-size: 1.2rem; font-weight: 700; color: var(--maroon); margin-bottom: 4px; }
.payment-type-card-inner small { color: #8a7d75; font-size: 0.78rem; }
.payment-type-card input:checked + .payment-type-card-inner { background: var(--maroon); border-color: var(--maroon); }
.payment-type-card input:checked + .payment-type-card-inner strong,
.payment-type-card input:checked + .payment-type-card-inner small { color: var(--white); }
.payment-type-card input:checked + .payment-type-card-inner .payment-type-price { color: var(--gold-light); }

/* Manual send-money payment instructions page */
.payment-instructions-layout { display: flex; justify-content: center; margin-top: 24px; }
.payment-instructions-card {
  background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg);
  max-width: 480px; width: 100%;
}
.amount-due-box { text-align: center; padding: 20px; background: var(--cream); border-radius: var(--radius); margin-bottom: 24px; }
.amount-due-box span { display: block; font-size: 0.85rem; color: #6b5f58; margin-bottom: 4px; }
.amount-due-box strong { display: block; font-size: 2rem; font-family: var(--font-display); color: var(--maroon-dark); }
.amount-due-box small { display: block; font-size: 0.8rem; color: #8a7d75; margin-top: 4px; }
.payment-steps { padding-left: 20px; margin-bottom: 24px; color: #4a3f3a; }
.payment-steps li { margin-bottom: 14px; line-height: 1.5; }
.send-money-number {
  display: inline-block; margin-top: 8px; padding: 10px 18px; background: var(--charcoal); color: var(--gold-light);
  font-weight: 700; font-size: 1.15rem; border-radius: 8px; letter-spacing: 1px;
}
.payment-note { font-size: 0.82rem; color: #8a7d75; margin-top: 16px; text-align: center; }

/* ==========================================================================
   Auth pages
   ========================================================================== */
.auth-section { padding: 56px 0 80px; display: flex; justify-content: center; }
.auth-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); max-width: 420px; width: 100%; }
.auth-card h1 { text-align: center; margin-bottom: 24px; font-size: 1.7rem; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 0.9rem; color: #6b5f58; }
.auth-switch a { color: var(--maroon); font-weight: 700; }

/* ==========================================================================
   Account page
   ========================================================================== */
.account-section { padding: 40px 0 64px; }
.account-section h3 { margin: 28px 0 16px; }
.orders-table { display: flex; flex-direction: column; gap: 12px; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; background: var(--white); padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.status-badge { padding: 5px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; text-transform: capitalize; }
.status-pending { background: #fdf1d8; color: #97700f; }
.status-processing { background: #d9eef0; color: #1F6F6E; }
.status-shipped { background: #e1e8fb; color: #38469c; }
.status-delivered { background: #e1f3df; color: #2c7a3a; }
.status-cancelled { background: #fbe5e3; color: #a13a32; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--charcoal); color: #d8cfc7; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-tagline { margin-top: 14px; font-size: 0.9rem; color: #b5aaa1; max-width: 280px; }
.site-footer .logo-text { color: var(--gold-light); }
.footer-col h4 { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 14px; }
.footer-col ul li { padding: 5px 0; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { text-align: center; padding: 20px 0; border-top: 1px solid #3a2f2a; font-size: 0.82rem; color: #897e76; }

/* ==========================================================================
   Toast notification
   ========================================================================== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--charcoal); color: var(--white);
  padding: 14px 24px; border-radius: 30px; font-weight: 600; font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-copy h1 { font-size: 2.4rem; }
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: 0; left: -280px; width: 280px; height: 100vh;
    background: var(--white); flex-direction: column; padding: 90px 28px 28px;
    box-shadow: var(--shadow-lg); transition: left 0.25s ease; z-index: 60; gap: 22px;
  }
  .main-nav.open { left: 0; }
  .search-form { order: 4; max-width: 100%; flex-basis: 100%; margin-top: 10px; }
  .header-inner { flex-wrap: wrap; }
  .logo { order: 2; margin: 0 auto; }
  .header-icons { order: 3; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-art { height: 220px; margin-top: 20px; }
  .hero-card { width: 110px; height: 140px; font-size: 2.4rem; }

  .category-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }

  .listing-layout { grid-template-columns: 1fr; }
  .filters { display: flex; flex-wrap: wrap; gap: 24px; }

  .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .checkout-layout { grid-template-columns: 1fr; }

  .cart-row { grid-template-columns: 60px 1fr; grid-template-areas: "img info" "img qty" "img subtotal"; }
  .cart-row img { grid-area: img; }
  .cart-row-info { grid-area: info; }
  .cart-qty-stepper { grid-area: qty; }
  .cart-row-subtotal { grid-area: subtotal; }
  .cart-remove { position: absolute; top: 16px; right: 16px; }
  .cart-row { position: relative; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .payment-type-options { grid-template-columns: 1fr; }
  .gateway-options { grid-template-columns: 1fr; }
}
