/* ============================================================
   SUDAROLI HANDICRAFTS — styles.css
   Structure:
   1.  CSS Variables (Design Tokens)
   2.  Reset & Base
   3.  Typography
   4.  Layout Utilities
   5.  Navbar
   6.  Footer
   7.  Buttons
   8.  Badges & Tags
   9.  Toast Notification
   10. Login Modal
   11. Page Banner (shared header for inner pages)
   12. Home Page
   13. Shop Page
   14. Product Detail Page
   15. Cart & Checkout
   16. About Us Page
   17. Contact Page
   18. Responsive (Tablet → Mobile)
============================================================ */

/* ============================================================
   1. CSS VARIABLES
============================================================ */
:root {
  /* Brand Colours */
  --gold:        #c9920a;
  --gold-light:  #f0c040;
  --gold-pale:   #f5e6b8;
  --gold-dark:   #8a6200;
  --brown-dark:  #1a0e02;
  --brown-mid:   #3b2005;
  --brown-warm:  #6b3d0f;
  --cream:       #fdf6e3;
  --cream-dark:  #f0e8cc;

  /* Text */
  --text-dark:   #1a0e02;
  --text-muted:  #7a5c2e;

  /* Status */
  --green:       #2d7a3a;
  --green-bg:    #eaf5ec;
  --red:         #b83030;
  --red-bg:      #fdeaea;
  --orange:      #b85a10;
  --orange-bg:   #fff3e0;
  --blue:        #1a5490;
  --blue-bg:     #e8f0fa;

  /* Spacing */
  --section-pad: 60px 40px;
  --card-radius: 14px;
  --nav-height:  84px;

  /* Shadow */
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 32px rgba(201,146,10,0.18);
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html   { scroll-behavior: smooth; }
body   { font-family: 'Lato', sans-serif; background: var(--cream); color: var(--text-dark); overflow-x: hidden; line-height: 1.6; }
body.overlay-open { overflow: hidden; }
img    { max-width: 100%; display: block; }
a      { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* Page toggle (SPA routing) */
.page        { display: none; }
.page.active { display: block; }

/* ============================================================
   3. TYPOGRAPHY
============================================================ */
.font-cinzel  { font-family: 'Cinzel', serif; }
.font-crimson { font-family: 'Crimson Text', serif; }

h1, h2, h3 { font-family: 'Cinzel', serif; color: var(--brown-dark); }

.section-header   { text-align: center; margin-bottom: 36px; }
.section-deco     { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 10px; }
.section-deco::before,
.section-deco::after {
  content: ''; flex: 1; max-width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.section-deco::after { background: linear-gradient(to left, transparent, var(--gold)); }
.section-title { font-size: 1.8rem; font-weight: 700; }

/* ============================================================
   4. LAYOUT UTILITIES
============================================================ */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.grid-2         { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3         { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4         { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.flex-between   { display: flex; align-items: center; justify-content: space-between; }
.text-center    { text-align: center; }
.text-gold      { color: var(--gold-dark); }
.text-muted     { color: var(--text-muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ============================================================
   5. NAVBAR
============================================================ */
nav {
  background: var(--brown-dark);
  border-bottom: 2px solid var(--gold);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
  position: sticky; top: 0; z-index: 1000;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand-logo-img {
  height: 84px;
  width: auto;
  max-width: 300px;
  display: block;
  border: 0;
  pointer-events: none;
}

/* Nav Links */
.nav-links { display: flex; gap: 0; }
.nav-links li a {
  color: rgba(255,255,255,0.65); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 18px; transition: color 0.2s; cursor: pointer;
  display: block;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--gold-light); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-icon-btn {
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.1rem; cursor: pointer; position: relative;
  display: flex; align-items: center; gap: 5px; transition: color 0.2s;
}
.nav-icon-btn:hover { color: var(--gold-light); }
.nav-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  justify-content: center;
  border: 1px solid rgba(240,192,64,0.26);
  background: rgba(255,255,255,0.04);
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.nav-search-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.nav-search-btn:hover,
.nav-search-btn.active {
  color: var(--gold-light);
  background: rgba(240,192,64,0.12);
  border-color: rgba(240,192,64,0.4);
  transform: translateY(-1px);
}
.nav-search-panel {
  position: sticky;
  top: var(--nav-height);
  z-index: 990;
  background: linear-gradient(180deg, rgba(26,14,2,0.98), rgba(44,22,3,0.96));
  border-bottom: 1px solid rgba(240,192,64,0.18);
  box-shadow: 0 16px 36px rgba(14,7,1,0.18);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.32s ease;
  pointer-events: none;
}
.nav-search-panel.open {
  max-height: 132px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-search-form {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 40px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(240,192,64,0.22);
  background: rgba(255,248,236,0.97);
  box-shadow: 0 18px 42px rgba(9,3,0,0.16);
}
.nav-search-field svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}
.nav-search-field input {
  flex: 1;
  min-width: 0;
  height: 58px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--brown-dark);
  font-size: 0.95rem;
}
.nav-search-field input::placeholder {
  color: #8d7347;
}
.nav-search-clear {
  border: none;
  background: rgba(59,32,5,0.08);
  color: var(--brown-warm);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.nav-search-submit {
  flex-shrink: 0;
  border: none;
  border-radius: 16px;
  padding: 0 24px;
  height: 58px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(201,146,10,0.24);
}
#login-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--brown-dark);
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(201,146,10,0.28);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
#login-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.cart-nav-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
#login-nav-btn:hover {
  color: var(--brown-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(201,146,10,0.34);
  filter: brightness(1.03);
}
.mobile-nav-profile-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(201,146,10,0.28);
  border: none;
}
.mobile-nav-profile-btn:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(201,146,10,0.34);
  filter: brightness(1.03);
}
.cart-count {
  background: var(--gold); color: var(--brown-dark);
  font-size: 0.6rem; font-weight: 900;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: -6px; right: -8px;
}

/* User Chip */
#user-greeting { display: none; align-items: center; position: relative; }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(240,192,64,0.1); border: 1px solid rgba(240,192,64,0.3);
  border-radius: 30px; padding: 5px 14px 5px 6px;
  cursor: pointer; transition: background 0.2s;
}
.user-chip:hover { background: rgba(240,192,64,0.2); }
.user-avatar-chip {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 900; color: white; flex-shrink: 0;
}
.user-chip-name { font-size: 0.82rem; font-weight: 700; color: var(--gold-light); max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-shortcut { cursor: pointer; transition: opacity 0.2s, transform 0.2s; }
.profile-shortcut:hover { opacity: 0.9; transform: translateY(-1px); }
.user-chip-arrow { font-size: 0.6rem; color: rgba(240,192,64,0.5); transition: transform 0.2s; }
#user-greeting.open .user-chip-arrow { transform: rotate(180deg); }

/* Dropdown */
.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--brown-dark); border: 1px solid rgba(240,192,64,0.25);
  border-radius: 12px; min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4); z-index: 2000;
  overflow: hidden; display: none;
  animation: dropIn 0.2s ease;
}
#user-greeting.open .user-dropdown { display: block; }

@keyframes dropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

.dropdown-header       { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.dropdown-header-name  { font-family: 'Cinzel', serif; font-size: 0.88rem; color: var(--gold-light); font-weight: 700; }
.dropdown-header-email { font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-top: 2px; }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; color: rgba(255,255,255,0.6);
  font-size: 0.82rem; font-weight: 600; transition: background 0.2s;
  border: none; background: none; width: 100%; text-align: left;
}
.dropdown-item:hover { background: rgba(255,255,255,0.05); color: white; }
.dropdown-item.danger { color: #ff8a8a; }
.dropdown-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 4px 0; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px; width: 40px; height: 40px; border-radius: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; }
.nav-overlay.show { display: block; }
.mobile-nav-extra { display: none; padding: 18px 24px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ============================================================
   6. FOOTER
============================================================ */
footer {
  background: var(--brown-dark);
  border-top: 1px solid rgba(201,146,10,0.25);
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy      { font-size: 0.76rem; color: rgba(255,255,255,0.35); }
.footer-copy strong { color: var(--gold-light); }
.footer-links     { display: flex; gap: 18px; }
.footer-links a   { font-size: 0.76rem; color: rgba(255,255,255,0.35); cursor: pointer; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-social    { display: flex; gap: 10px; }
.social-icon {
  width: 32px; height: 32px; background: rgba(255,255,255,0.06);
  border-radius: 7px; display: flex; align-items: center;
  justify-content: center; font-size: 0.9rem; cursor: pointer;
  transition: background 0.2s;
}
.social-icon:hover { background: var(--gold-dark); }

/* WhatsApp bar */
.whatsapp-bar { background: #25D366; padding: 18px; text-align: center; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: #128C7E; padding: 13px 38px;
  border-radius: 40px; font-weight: 700; font-size: 0.92rem;
  border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.whatsapp-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }

/* Floating WhatsApp button (fixed bottom-right on every page) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28); cursor: pointer; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(37,211,102,0.55); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float .wa-tip {
  position: absolute; right: 72px; background: #fff; color: #222;
  font-size: 0.8rem; font-weight: 600; padding: 8px 13px; border-radius: 9px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16); white-space: nowrap;
  opacity: 0; pointer-events: none; transform: translateX(8px); transition: 0.2s ease;
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); }
@keyframes waPulse {
  0%   { box-shadow: 0 6px 20px rgba(0,0,0,0.28), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 6px 20px rgba(0,0,0,0.28), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,0.28), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float .wa-tip { display: none; }
}

/* ============================================================
   7. BUTTONS
============================================================ */
.btn-primary {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-warm));
  color: var(--gold-light); border: 1.5px solid var(--gold-dark);
  padding: 12px 28px; border-radius: 8px;
  font-family: 'Cinzel', serif; font-size: 0.84rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; transition: all 0.25s;
}
.btn-primary:hover { background: var(--gold-dark); color: white; transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white; border: none; padding: 12px 28px;
  border-radius: 8px; font-family: 'Cinzel', serif;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 1px;
  transition: opacity 0.2s;
}
.btn-gold:hover { opacity: 0.9; }
.btn-gold:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-outline {
  background: transparent; color: var(--gold-dark);
  border: 1.5px solid var(--gold-pale); padding: 10px 22px;
  border-radius: 8px; font-weight: 700; font-size: 0.84rem;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--gold-pale); border-color: var(--gold); }

.btn-cart {
  width: 100%; background: var(--brown-dark); color: var(--gold-light);
  border: 1.5px solid var(--gold-dark); padding: 9px;
  border-radius: 6px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; transition: all 0.2s;
}
.btn-cart:hover   { background: var(--gold-dark); color: white; }
.btn-cart.added   { background: var(--green); border-color: var(--green); color: white; }
.btn-cart:disabled { opacity: 0.5; cursor: not-allowed; background: #888; border-color: #888; }

.btn-view {
  width: 100%; background: transparent; color: var(--gold-dark);
  border: 1px solid var(--gold-pale); padding: 7px;
  border-radius: 6px; font-size: 0.75rem; font-weight: 700;
  margin-top: 6px; transition: all 0.2s; letter-spacing: 0.5px;
}
.btn-view:hover { background: var(--gold-pale); border-color: var(--gold); }

/* ============================================================
   8. BADGES & TAGS
============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-lowstock   { background: var(--orange-bg); color: var(--orange); }
.badge-outofstock { background: var(--red-bg);    color: var(--red); }
.badge-instock    { background: var(--green-bg);  color: var(--green); }

/* ============================================================
   9. TOAST NOTIFICATION
============================================================ */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  background: var(--brown-dark); border: 1px solid var(--gold);
  color: var(--gold-light); padding: 12px 22px; border-radius: 10px;
  font-size: 0.84rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  transform: translateY(80px); opacity: 0;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================================================
   10. LOGIN MODAL
============================================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10,5,0,0.85); z-index: 9999;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.shared-auth-modal { padding: 24px; }

.modal {
  background: var(--cream); border-radius: 18px;
  padding: 38px; width: 380px; max-width: 95vw;
  border: 1px solid var(--gold);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative; animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }

.modal-login-shell {
  width: min(520px, 100%);
  max-width: min(520px, 100%);
  padding: 14px;
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(59,32,5,0.98), rgba(26,14,2,0.98)),
    var(--brown-dark);
  border: 1px solid rgba(240,192,64,0.32);
  overflow: hidden;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
}
.modal-shell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 16px;
}
.modal-shell-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(240,192,64,0.6);
  margin-bottom: 4px;
}
.modal-login-shell .modal-title {
  text-align: left;
  margin-bottom: 0;
  color: var(--gold-light);
}
.modal-shell-close {
  top: 18px;
  right: 18px;
  color: rgba(255,255,255,0.6);
}
.modal-shell-close:hover { color: white; }
.modal-login-frame {
  width: 100%;
  height: min(78vh, 760px);
  border: none;
  border-radius: 18px;
  background: #120700;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
}

.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; font-size: 1.3rem;
  color: var(--text-muted); transition: color 0.2s;
}
.modal-close:hover { color: var(--brown-dark); }
.modal-title {
  font-family: 'Cinzel', serif; font-size: 1.4rem;
  color: var(--gold-dark); text-align: center; margin-bottom: 22px;
}
.form-group       { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--gold-pale); border-radius: 8px;
  font-size: 0.88rem; background: white; color: var(--text-dark);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.modal-error {
  color: var(--red); font-size: 0.78rem; text-align: center;
  margin-bottom: 8px; display: none;
}
.modal-hint { text-align: center; font-size: 0.76rem; color: var(--text-muted); }

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 0, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1098;
}
.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 100vw);
  height: 100vh;
  background: linear-gradient(180deg, #fffdf6 0%, #f8f0d8 100%);
  border-left: 1px solid rgba(201,146,10,0.28);
  box-shadow: -22px 0 54px rgba(0,0,0,0.22);
  z-index: 1099;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(201,146,10,0.22);
  background: linear-gradient(135deg, rgba(26,14,2,0.98), rgba(59,32,5,0.96));
}
.cart-drawer-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(240,192,64,0.55);
  margin-bottom: 4px;
}
.cart-drawer-head h2 {
  font-size: 1.1rem;
  color: var(--gold-light);
}
.cart-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(240,192,64,0.25);
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 1.4rem;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}
.cart-drawer-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(201,146,10,0.14);
  border-radius: 16px;
  margin-bottom: 12px;
}
.cart-drawer-item-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fdf0d0, #f5e4a0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  flex-shrink: 0;
  overflow: hidden;
}
.cart-drawer-item-thumb,
.cart-drawer-item-thumb.is-empty {
  width: 100%;
  height: 100%;
}
.cart-drawer-item-thumb {
  object-fit: cover;
}
.cart-drawer-item-thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
}
.cart-drawer-item-main {
  flex: 1;
  min-width: 0;
}
.cart-drawer-item-top,
.cart-drawer-item-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cart-drawer-item-bottom {
  align-items: center;
  margin-top: 12px;
}
.cart-drawer-item-name {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
}
.cart-drawer-item-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.cart-drawer-line-total {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
}
.cart-drawer-remove {
  border: none;
  background: transparent;
  color: var(--red);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0 4px;
}
.cart-drawer-footer {
  padding: 18px 18px 22px;
  border-top: 1px solid rgba(201,146,10,0.2);
  background: rgba(255,252,244,0.98);
  box-shadow: 0 -12px 34px rgba(0,0,0,0.05);
}
.cart-drawer-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.cart-drawer-summary-row strong {
  font-family: 'Cinzel', serif;
  color: var(--brown-dark);
}
.cart-drawer-summary-row.total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gold-pale);
}
.cart-drawer-summary-row.total span,
.cart-drawer-summary-row.total strong {
  color: var(--gold-dark);
  font-size: 0.96rem;
}
.cart-drawer-checkout {
  margin-top: 8px;
}
.cart-drawer-view-cart {
  display: block;
  text-align: center;
  text-decoration: none;
}
.cart-drawer-empty {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px 14px;
  color: var(--text-muted);
}
.cart-drawer-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.cart-drawer-empty h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.cart-drawer-empty p {
  max-width: 260px;
  margin-bottom: 20px;
  font-size: 0.84rem;
}

/* ============================================================
   11. PAGE BANNER (shared inner page header)
============================================================ */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, #1a0800 0%, #3b1800 50%, #1a0e02 100%);
  padding: 52px 40px; text-align: center; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,146,10,0.18) 0%, transparent 55%);
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner-icon    { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.page-banner-title   {
  font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700;
  color: var(--gold-light); margin-bottom: 8px;
}
.page-banner-sub     { font-size: 0.92rem; color: rgba(255,255,255,0.55); }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 14px; font-size: 0.74rem;
  color: rgba(255,255,255,0.35);
}
.breadcrumb a { color: var(--gold); cursor: pointer; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ============================================================
   12. HOME PAGE
============================================================ */

/* Hero */
.hero {
  position: relative;
  height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8%;
}
.hero-carousel {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide .hero-bg { transition: transform 8s ease, background-position 0.8s ease, filter 0.5s ease; }
.hero-slide.active .hero-bg { transform: scale(1.06); }

/* Real photo — fills full hero */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: 20% center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.06); }
.hero-slide-lamps .hero-bg {
  background-image: url('/hero-lamp.jpg');
  background-position: 20% center;
}
.hero-slide-idols .hero-bg {
  background-image: url('/carousel-brass-idol.jpg');
  background-position: 42% center;
  filter: saturate(1.04) brightness(0.95);
}
.hero-slide-pooja .hero-bg {
  background-image: url('/carousel-brass-pooja.jpg');
  background-position: 68% center;
  filter: saturate(1.08) brightness(0.92);
}

/* Overlay div — separate element so it always renders on top of photo */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(8,3,0,0.88) 0%,
      rgba(12,5,0,0.80) 25%,
      rgba(18,8,0,0.65) 45%,
      rgba(20,10,0,0.45) 65%,
      rgba(15,7,0,0.30) 80%,
      rgba(10,5,0,0.20) 100%
    );
}

/* Bottom vignette for depth */
.hero-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,2,0,0.6) 0%,
    transparent 45%
  );
}

/* Gold glow bloom at lamp centre */
.hero-lamp-glow {
  position: absolute;
  left: 25%; top: 45%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle,
    rgba(255,190,40,0.22) 0%,
    rgba(201,146,10,0.10) 45%,
    transparent 70%
  );
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1);   }
  50%      { opacity: 1;   transform: translate(-50%,-50%) scale(1.18); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.85); }
}

/* Text content — right side */
.hero-content {
  position: relative; z-index: 3;
  text-align: right;
  max-width: 500px;
}
.hero-eyebrow {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 4px;
  color: var(--gold); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block; width: 40px; height: 1px;
  background: var(--gold); opacity: 0.6;
}
.hero-tagline {
  font-family: 'Crimson Text', serif; font-style: italic;
  font-size: 3.4rem; color: var(--gold-light); line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.7), 0 0 60px rgba(201,146,10,0.3);
}
.hero-sub {
  font-size: 0.92rem; color: rgba(255,255,255,0.72);
  letter-spacing: 1.5px; margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero-actions { display: flex; gap: 14px; justify-content: flex-end; }
.btn-hero {
  display: inline-block; background: transparent;
  border: 2px solid var(--gold-light); color: var(--gold-light);
  padding: 13px 38px; font-family: 'Cinzel', serif;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 2px;
  border-radius: 40px; text-transform: uppercase;
  transition: all 0.3s; text-decoration: none;
  backdrop-filter: blur(4px);
  background: rgba(201,146,10,0.08);
}
.btn-hero:hover {
  background: var(--gold-light); color: var(--brown-dark);
  box-shadow: 0 6px 28px rgba(201,146,10,0.45);
}
.btn-hero-outline {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.8);
  padding: 13px 28px; font-family: 'Lato', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 1px;
  border-radius: 40px; text-transform: uppercase;
  transition: all 0.3s; text-decoration: none;
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5); color: white;
}

/* Trust micro-badges */
.hero-badges {
  display: flex; gap: 20px; justify-content: flex-end; margin-top: 28px;
}
.hero-badge {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.72rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}
.hero-badge-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(201,146,10,0.2);
  border: 1px solid rgba(201,146,10,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-dot {
  border: none;
  cursor: pointer;
}
.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
}
.hero-dot.active {
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(240,192,64,0.18);
}

.home-mobile-search {
  display: block;
  position: sticky;
  top: var(--nav-height);
  z-index: 985;
  padding: 20px 28px 12px;
  background: linear-gradient(180deg, #f4ead1 0%, var(--cream) 100%);
  border-bottom: 1px solid rgba(201,146,10,0.14);
}

.home-mobile-search-shell {
  position: relative;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.home-mobile-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-mobile-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 16px;
  border-radius: 18px;
  background: white;
  border: 1.5px solid var(--gold-pale);
  box-shadow: 0 14px 36px rgba(43, 22, 5, 0.12);
}

.home-mobile-search-field svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--gold-dark);
  stroke-width: 1.9;
  fill: none;
}

.home-mobile-search-field input {
  width: 100%;
  height: 54px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-family: 'Lato', sans-serif;
}

.home-mobile-search-field input::placeholder {
  color: rgba(74, 54, 28, 0.55);
}

.home-mobile-search-submit {
  height: 54px;
  padding: 0 18px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(201,146,10,0.24);
}

.home-mobile-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.98);
  border: 1px solid rgba(201,146,10,0.22);
  box-shadow: 0 18px 38px rgba(43, 22, 5, 0.16);
}

.home-mobile-search-suggestions[hidden] {
  display: none !important;
}

.home-mobile-search-suggestion {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--text-dark);
  text-align: left;
}

.home-mobile-search-suggestion:hover {
  background: rgba(201,146,10,0.1);
}

.home-mobile-search-suggestion.empty {
  justify-content: center;
  color: var(--gold-dark);
  font-weight: 700;
}

.home-mobile-search-suggestion-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #fdf0d0, #f5e4a0);
  flex-shrink: 0;
  overflow: hidden;
}
.home-mobile-search-suggestion-thumb,
.home-mobile-search-suggestion-thumb.is-empty {
  width: 100%;
  height: 100%;
}
.home-mobile-search-suggestion-thumb {
  object-fit: cover;
}
.home-mobile-search-suggestion-thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  font-size: 0.42rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
}

.home-mobile-search-suggestion-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-mobile-search-suggestion-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brown-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-mobile-search-suggestion-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Category Cards */
.categories-section { padding: var(--section-pad); background: var(--cream); }
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.cat-card {
  border-radius: var(--card-radius); overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  background: var(--brown-dark);
}
.cat-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.cat-img  {
  height: 180px; display: flex; align-items: center;
  justify-content: center; font-size: 5rem;
}
.cat-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.cat-c1 { background: linear-gradient(160deg,#2a1500,#4a2a00); }
.cat-c2 { background: linear-gradient(160deg,#1a1500,#3a2e00); }
.cat-c3 { background: linear-gradient(160deg,#1a0a00,#3a1800); }
.cat-c4 { background: linear-gradient(160deg,#1a1000,#2e2000); }
.cat-footer { background: var(--brown-dark); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.cat-name   { font-family: 'Cinzel', serif; font-size: 0.9rem; color: var(--gold-light); font-weight: 600; }
.cat-btn    {
  background: var(--gold-dark); color: white; border: none;
  padding: 5px 12px; border-radius: 20px; font-size: 0.7rem;
  font-weight: 700; transition: background 0.2s;
}
.cat-btn:hover { background: var(--gold); }

/* Featured Products */
.products-section { padding: var(--section-pad); background: var(--cream-dark); }
.products-grid    { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }

/* Product Card */
.product-card {
  background: white; border-radius: var(--card-radius); overflow: hidden;
  border: 1px solid var(--gold-pale);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.product-img {
  height: 190px; display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; cursor: pointer;
  background: linear-gradient(160deg, #fdf0d0, #f5e4a0); position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-img .is-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}
.product-info     { padding: 16px; }
.product-category { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 4px; }
.product-name     { font-family: 'Crimson Text', serif; font-size: 1rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 8px; line-height: 1.3; cursor: pointer; }
.product-price    { font-family: 'Cinzel', serif; font-size: 1.05rem; color: var(--gold-dark); font-weight: 700; margin-bottom: 12px; }
.rupee            { font-size: 0.85em; }
.product-price-current {
  color: var(--gold-dark);
}
.product-price-original {
  margin-left: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(90, 66, 32, 0.55);
}
.product-offer-pill {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  font-weight: 900;
  color: var(--green);
  background: #eaf5ec;
  border: 1px solid rgba(45, 122, 58, 0.35);
}

/* Trust Section */
.trust-section { padding: var(--section-pad); background: var(--cream); }
.trust-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; margin-top: 20px; }
.trust-card    {
  text-align: center; padding: 36px 26px;
  border-radius: var(--card-radius); background: white;
  border: 1px solid var(--gold-pale); transition: transform 0.3s, box-shadow 0.3s;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust-icon  { font-size: 2.8rem; margin-bottom: 14px; }
.trust-title { font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--brown-dark); font-weight: 700; margin-bottom: 8px; }
.trust-desc  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; }

/* Reviews */
.reviews-section { padding: var(--section-pad); position: relative; overflow: hidden; }
.reviews-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg,#1a0800,#3b1800,#1a0e02);
}
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; z-index: 1; margin-top: 20px; }
.review-card  {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(240,192,64,0.22);
  border-radius: var(--card-radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.reviewer-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; border: 2px solid var(--gold);
}
.review-stars  { color: var(--gold-light); font-size: 0.78rem; margin-bottom: 6px; }
.review-text   { font-family: 'Crimson Text', serif; font-style: italic; font-size: 0.95rem; color: rgba(255,255,255,0.82); line-height: 1.6; margin-bottom: 6px; }
.review-author { font-family: 'Cinzel', serif; font-size: 0.76rem; color: var(--gold-light); font-weight: 600; }
.reviews-section .section-title { color: var(--gold-light); position: relative; z-index: 1; }
.reviews-section .section-header { position: relative; z-index: 1; }

/* ============================================================
   13. SHOP PAGE
============================================================ */
.shop-page    { padding: 50px 40px; }
.shop-title   { font-family: 'Cinzel', serif; font-size: 1.8rem; color: var(--brown-dark); margin-bottom: 6px; }
.shop-subtitle { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 28px; }

.shop-search-sticky {
  position: sticky;
  top: calc(var(--nav-height) + 10px);
  z-index: 980;
  margin-top: 12px;
  margin-bottom: 30px;
  padding-bottom: 14px;
  background: linear-gradient(180deg, rgba(253,246,227,0.96) 0%, rgba(253,246,227,0.88) 100%);
}

.shop-toolbar {
  display: none;
  margin-bottom: 16px;
}
.shop-filter-trigger {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-mid));
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(26,14,2,0.14);
}
.shop-filter-overlay {
  display: none;
}
.shop-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.shop-filter-panel {
  position: sticky;
  top: calc(var(--nav-height) + 96px);
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffaf0 0%, #f7ecd1 100%);
  border: 1px solid rgba(201,146,10,0.18);
  box-shadow: 0 18px 38px rgba(43,22,5,0.08);
}
.shop-filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.shop-filter-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.shop-filter-head h2 {
  margin-top: 4px;
  font-size: 1.35rem;
}
.shop-filter-close {
  display: none;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
}
.shop-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shop-filter-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shop-filter-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shop-filter-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.shop-filter-reset {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.shop-filter-reset:hover {
  color: var(--gold-dark);
}
.shop-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.shop-search   {
  display: flex; align-items: center; gap: 10px;
  background: white; border: 1.5px solid var(--gold-pale);
  border-radius: 8px; padding: 9px 14px; flex: 1; min-width: 200px; max-width: 380px;
}
.shop-search input { border: none; outline: none; font-size: 0.88rem; color: var(--text-dark); flex: 1; background: transparent; }
.shop-filters  { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn    {
  padding: 7px 18px; border-radius: 20px;
  border: 1.5px solid var(--gold-pale); background: white;
  font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active { background: var(--gold-pale); border-color: var(--gold); color: var(--gold-dark); }
.price-range-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price-range-input {
  width: 118px;
  padding: 8px 11px;
  border: 1.5px solid var(--gold-pale);
  border-radius: 8px;
  background: white;
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
}
.price-range-input:focus {
  outline: none;
  border-color: var(--gold);
}
.price-range-sep {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 700;
}

.shop-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.shop-results {
  min-width: 0;
}
.shop-pagination {
  margin-top: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.shop-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-pale);
  background: white;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  transition: all 0.2s;
}
.shop-page-btn:hover,
.shop-page-btn.active {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold-dark);
  box-shadow: 0 8px 18px rgba(201,146,10,0.12);
}

/* ============================================================
   14. PRODUCT DETAIL PAGE
============================================================ */
.pd-breadcrumb {
  background: var(--brown-dark); border-bottom: 1px solid rgba(201,146,10,0.2);
  padding: 12px 40px; display: flex; align-items: center; gap: 8px;
  font-size: 0.74rem; color: rgba(255,255,255,0.4);
}
.pd-breadcrumb a { color: var(--gold); cursor: pointer; transition: color 0.2s; }
.pd-breadcrumb a:hover { color: var(--gold-light); }

.pd-main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 1100px; margin: 0 auto; padding: 48px 40px; align-items: start;
}

/* Gallery */
.pd-gallery    { position: sticky; top: 80px; }
.pd-img-main   {
  aspect-ratio: 1; max-width: 440px;
  background: linear-gradient(160deg, #fdf5dc 0%, #f0e0a0 50%, #e8d080 100%);
  border-radius: 20px; border: 1px solid var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 9rem; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(201,146,10,0.15); margin-bottom: 14px;
}
.pd-img-main::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 60%);
}
.pd-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.pd-img-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  z-index: 1;
}
.pd-img-shine  { position: absolute; top: 18px; right: 22px; width: 60px; height: 60px; background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%); border-radius: 50%; }
.pd-category-tag {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(26,14,2,0.75); color: var(--gold-light);
  padding: 5px 13px; border-radius: 20px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; backdrop-filter: blur(8px);
}
.pd-thumbs { display: flex; gap: 10px; }
.pd-thumb  {
  width: 72px; height: 72px; border-radius: 10px;
  background: linear-gradient(135deg, #fdf0d0, #f5e4a0);
  border: 2px solid var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; cursor: pointer; transition: all 0.2s;
}
.pd-thumb:hover,
.pd-thumb.active { border-color: var(--gold); transform: scale(1.05); }
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.pd-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
}

/* Info Panel */
.pd-info       { padding-left: 40px; }
.pd-deity-tag  {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold-pale), #fff3d0);
  border: 1px solid var(--gold); color: var(--gold-dark);
  padding: 4px 14px; border-radius: 20px; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.5px; margin-bottom: 14px;
}
.pd-name       { font-family: 'Cinzel', serif; font-size: 1.85rem; color: var(--brown-dark); font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.pd-rating     { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.pd-stars      { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }
.pd-rating-num { font-size: 0.78rem; font-weight: 700; color: var(--brown-dark); }
.pd-rating-count { font-size: 0.74rem; color: var(--text-muted); }
.pd-price-row  { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.pd-price      { font-family: 'Cinzel', serif; font-size: 2.1rem; color: var(--gold-dark); font-weight: 700; }
.pd-price-mrp  { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.pd-price-save { font-size: 0.8rem; font-weight: 700; color: var(--green); background: var(--green-bg); padding: 3px 10px; border-radius: 20px; }
.pd-stock-row  { font-size: 0.78rem; font-weight: 700; margin-bottom: 22px; }
.pd-stock-in   { color: var(--green); }
.pd-stock-low  { color: var(--orange); }
.pd-stock-out  { color: var(--red); }
.pd-divider    { height: 1px; background: var(--gold-pale); margin: 18px 0; }
.pd-spec-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.pd-spec       { background: var(--cream); border: 1px solid var(--gold-pale); border-radius: 10px; padding: 12px 14px; }
.pd-spec-label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.pd-spec-val   { font-size: 0.82rem; font-weight: 700; color: var(--brown-dark); }
.pd-desc       { font-family: 'Crimson Text', serif; font-size: 1.02rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.pd-highlights { margin-bottom: 22px; }
.pd-highlights-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 10px; }
.pd-highlight-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; color: var(--brown-dark); margin-bottom: 8px; line-height: 1.5; }
.pd-highlight-dot  { width: 20px; height: 20px; background: var(--gold-pale); border: 1.5px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; font-weight: 900; }
.pd-qty-row    { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pd-qty-label  { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); }
.pd-qty-control { display: flex; align-items: center; border: 2px solid var(--gold-pale); border-radius: 10px; overflow: hidden; }
.pd-qty-btn    { background: var(--cream); border: none; width: 40px; height: 40px; font-size: 1.1rem; font-weight: 700; color: var(--gold-dark); transition: background 0.2s; }
.pd-qty-btn:hover { background: var(--gold-pale); }
.pd-qty-num    { width: 50px; text-align: center; font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--brown-dark); background: white; height: 40px; line-height: 40px; border-left: 1.5px solid var(--gold-pale); border-right: 1.5px solid var(--gold-pale); }
.pd-actions    { display: flex; gap: 12px; margin-bottom: 14px; }
.pd-btn-cart   {
  flex: 1; background: var(--brown-dark); color: var(--gold-light);
  border: 2px solid var(--gold-dark); padding: 14px;
  border-radius: 10px; font-family: 'Cinzel', serif;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; transition: all 0.25s;
}
.pd-btn-cart:hover    { background: var(--gold-dark); color: white; transform: translateY(-1px); }
.pd-btn-cart.added    { background: var(--green); border-color: var(--green); color: white; }
.pd-btn-cart:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.pd-btn-wish   { width: 52px; height: 52px; border: 2px solid var(--gold-pale); border-radius: 10px; background: white; font-size: 1.3rem; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.pd-btn-wish:hover { border-color: var(--gold); background: var(--gold-pale); }
.pd-btn-whatsapp { flex: 1; background: #25D366; color: white; border: none; padding: 14px; border-radius: 10px; font-size: 0.84rem; font-weight: 700; transition: all 0.25s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pd-btn-whatsapp:hover { background: #20ba5a; transform: translateY(-1px); }
.pd-trust-row  { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 20px; }
.pd-trust-item { background: var(--cream); border: 1px solid var(--gold-pale); border-radius: 10px; padding: 10px 8px; text-align: center; }
.pd-trust-icon { font-size: 1.3rem; margin-bottom: 4px; }
.pd-trust-text { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); line-height: 1.3; text-transform: uppercase; letter-spacing: 0.5px; }
.pd-review-section {
  margin-top: 8px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--gold-pale);
  background: linear-gradient(180deg, #fffef9, #f8f0dc);
}
.pd-review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.pd-review-heading {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--brown-dark);
  font-weight: 700;
}
.pd-review-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.pd-review-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--gold-pale);
  color: var(--brown-dark);
}
.pd-review-chip-stars,
.pd-review-stars { color: var(--gold); letter-spacing: 2px; }
.pd-review-form,
.pd-review-note {
  border-radius: 14px;
  border: 1px solid rgba(201,146,10,0.18);
  background: rgba(255,255,255,0.9);
  padding: 16px;
  margin-bottom: 14px;
}
.pd-review-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.pd-review-star-pick {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.pd-review-star-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--gold-pale);
  background: white;
  color: #c7ba97;
  font-size: 1.15rem;
  transition: all 0.2s ease;
}
.pd-review-star-btn.active,
.pd-review-star-btn:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold-dark);
}
.pd-review-input {
  width: 100%;
  border: 1px solid var(--gold-pale);
  border-radius: 12px;
  padding: 12px 14px;
  background: white;
  color: var(--brown-dark);
  margin-bottom: 10px;
}
.pd-review-textarea {
  min-height: 120px;
  resize: vertical;
}
.pd-review-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-review-submit,
.pd-review-login {
  border: none;
  border-radius: 12px;
  background: var(--brown-dark);
  color: var(--gold-light);
  padding: 12px 18px;
  font-weight: 800;
}
.pd-review-login { margin-left: 10px; }
.pd-review-status {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}
.pd-review-status.pending { background: var(--orange-bg); color: var(--orange); }
.pd-review-status.approved { background: var(--green-bg); color: var(--green); }
.pd-review-status.hidden { background: var(--red-bg); color: var(--red); }
.pd-review-list { display: grid; gap: 12px; }
.pd-review-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--gold-pale);
}
.pd-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pd-review-author { font-weight: 800; color: var(--brown-dark); }
.pd-review-meta { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }
.pd-review-score { font-size: 0.78rem; font-weight: 700; color: var(--brown-dark); text-align: right; }
.pd-review-title { font-size: 0.82rem; font-weight: 800; color: var(--brown-dark); margin-top: 10px; }
.pd-review-copy { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; margin-top: 6px; }
.pd-review-empty { font-size: 0.82rem; color: var(--text-muted); }

/* Similar Products */
.pd-similar       { background: var(--cream-dark); padding: 54px 40px; border-top: 1px solid var(--gold-pale); }
.pd-similar-title { font-family: 'Cinzel', serif; font-size: 1.5rem; color: var(--brown-dark); font-weight: 700; margin-bottom: 6px; }
.pd-similar-sub   { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 28px; }
.pd-similar-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pd-sim-card   { background: white; border-radius: var(--card-radius); border: 1px solid var(--gold-pale); overflow: hidden; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
.pd-sim-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.pd-sim-img    { height: 160px; background: linear-gradient(160deg,#fdf0d0,#f5e4a0); display: flex; align-items: center; justify-content: center; font-size: 4rem; overflow:hidden; }
.pd-sim-img img { width:100%; height:100%; object-fit:cover; display:block; }
.pd-sim-img-empty {
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  font-size:0.8rem;
  font-weight:700;
  color:var(--gold-dark);
  text-transform:uppercase;
  letter-spacing:1px;
  text-align:center;
}
.pd-sim-info   { padding: 14px 16px; }
.pd-sim-cat    { font-size: 0.66rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 4px; }
.pd-sim-name   { font-family: 'Crimson Text', serif; font-size: 0.95rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 8px; line-height: 1.3; }
.pd-sim-footer { display: flex; align-items: center; justify-content: space-between; }
.pd-sim-price  { font-family: 'Cinzel', serif; font-size: 0.9rem; color: var(--gold-dark); font-weight: 700; }
.pd-sim-btn    { background: var(--brown-dark); color: var(--gold-light); border: 1px solid var(--gold-dark); padding: 5px 12px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; transition: background 0.2s; }
.pd-sim-btn:hover { background: var(--gold-dark); color: white; }

/* ============================================================
   15. CART & CHECKOUT PAGE
============================================================ */
.cart-page   { padding: 40px; }
.cart-header { font-family: 'Cinzel', serif; font-size: 1.6rem; color: var(--brown-dark); margin-bottom: 6px; }
.cart-user-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-pale); border: 1px solid var(--gold); color: var(--gold-dark); padding: 4px 14px; border-radius: 20px; font-size: 0.76rem; font-weight: 700; margin-bottom: 28px; }

.cart-empty     { text-align: center; padding: 70px 20px; color: var(--text-muted); }
.cart-empty-icon { font-size: 3.5rem; margin-bottom: 14px; opacity: 0.4; }
.cart-empty h3  { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--brown-dark); margin-bottom: 8px; }
.cart-empty p   { font-size: 0.88rem; margin-bottom: 20px; }

/* Step Indicator */
.cart-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 32px; }
.cart-step  { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.cart-step.active { color: var(--gold-dark); }
.cart-step.done   { color: var(--green); }
.step-num   { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.76rem; font-weight: 900; background: #e8dfc8; color: var(--text-muted); flex-shrink: 0; }
.cart-step.active .step-num { background: var(--gold); color: white; }
.cart-step.done   .step-num { background: var(--green); color: white; }
.step-divider { flex: 1; max-width: 60px; height: 1px; background: var(--gold-pale); margin: 0 6px; }

/* Cart Layout */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.cart-items  { display: flex; flex-direction: column; gap: 14px; }
.cart-item   { background: white; border: 1px solid var(--gold-pale); border-radius: var(--card-radius); padding: 18px 22px; display: flex; align-items: center; gap: 18px; }
.cart-item-img  { width: 72px; height: 72px; border-radius: 10px; background: linear-gradient(135deg,#fdf0d0,#f5e4a0); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; flex-shrink: 0; overflow:hidden; }
.cart-item-thumb,
.cart-item-thumb.is-empty {
  width:100%;
  height:100%;
}
.cart-item-thumb {
  object-fit:cover;
}
.cart-item-thumb.is-empty {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px;
  font-size:0.62rem;
  font-weight:700;
  color:var(--gold-dark);
  text-transform:uppercase;
  letter-spacing:0.8px;
  text-align:center;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-family: 'Crimson Text', serif; font-size: 1rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 3px; }
.cart-item-cat  { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 4px; }
.cart-item-price { font-family: 'Cinzel', serif; color: var(--gold-dark); font-size: 0.9rem; font-weight: 700; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--gold-pale); border-radius: 8px; overflow: hidden; }
.qty-btn     { background: var(--cream); border: none; width: 32px; height: 32px; font-size: 0.95rem; font-weight: 700; color: var(--gold-dark); transition: background 0.2s; }
.qty-btn:hover { background: var(--gold-pale); }
.qty-num     { width: 38px; text-align: center; font-weight: 700; font-size: 0.88rem; color: var(--brown-dark); background: white; height: 32px; line-height: 32px; }
.cart-item-total { font-family: 'Cinzel', serif; font-size: 0.95rem; font-weight: 700; color: var(--brown-dark); min-width: 80px; text-align: right; }
.remove-btn  { background: none; border: none; color: #cc3333; font-size: 1rem; padding: 6px; border-radius: 6px; transition: background 0.2s; }
.remove-btn:hover { background: #ffeeee; }

/* Order Summary */
.order-summary  { background: white; border: 1px solid var(--gold-pale); border-radius: var(--card-radius); padding: 24px; position: sticky; top: 90px; }
.summary-title  { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--brown-dark); font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--gold-pale); }
.summary-row    { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--text-muted); margin-bottom: 10px; }
.summary-row.total { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--brown-dark); font-weight: 700; border-top: 1px solid var(--gold-pale); padding-top: 14px; margin-top: 6px; }
.summary-row.total span:last-child { color: var(--gold-dark); }
.coupon-hint    { background: var(--gold-pale); border: 1px solid var(--gold); border-radius: 8px; padding: 9px 13px; margin: 12px 0; font-size: 0.76rem; color: var(--gold-dark); font-weight: 700; }
.btn-checkout   { width: 100%; background: linear-gradient(135deg, var(--brown-dark), var(--brown-warm)); color: var(--gold-light); border: 1.5px solid var(--gold-dark); padding: 13px; border-radius: 8px; font-family: 'Cinzel', serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 18px; transition: all 0.2s; }
.btn-checkout:hover { background: var(--gold-dark); color: white; }
.btn-continue   { width: 100%; background: transparent; color: var(--gold-dark); border: 1px solid var(--gold-pale); padding: 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; margin-top: 8px; transition: background 0.2s; }
.btn-continue:hover { background: var(--gold-pale); }

/* Checkout Form */
.checkout-section { background: white; border: 1px solid var(--gold-pale); border-radius: var(--card-radius); overflow: hidden; margin-bottom: 18px; }
.checkout-section-header { background: var(--brown-dark); padding: 14px 20px; display: flex; align-items: center; gap: 10px; }
.checkout-section-header h3 { font-family: 'Cinzel', serif; font-size: 0.88rem; color: var(--gold-light); font-weight: 700; }
.checkout-section-body { padding: 20px; }
.co-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-group { margin-bottom: 14px; }
.co-group label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 5px; }
.co-input { width: 100%; padding: 10px 13px; border: 1.5px solid var(--gold-pale); border-radius: 7px; font-size: 0.86rem; color: var(--text-dark); background: var(--cream); transition: border-color 0.2s; }
.co-input:focus { outline: none; border-color: var(--gold); background: white; }

/* Payment Options */
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-opt     { border: 2px solid var(--gold-pale); border-radius: 10px; padding: 13px; cursor: pointer; text-align: center; transition: all 0.2s; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); background: white; }
.payment-opt:hover { border-color: var(--gold); }
.payment-opt.selected { border-color: var(--gold); background: var(--gold-pale); color: var(--gold-dark); }
.payment-opt-icon { font-size: 1.5rem; margin-bottom: 4px; }

/* Order Tracking */
.order-track-bar { display: flex; align-items: center; overflow-x: auto; padding: 14px 0 8px; }
.track-step  { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 70px; flex-shrink: 0; }
.track-dot   { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; background: white; border: 2px solid #e8dfc8; color: #aaa; transition: all 0.3s; }
.track-label { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; color: #aaa; text-align: center; line-height: 1.3; max-width: 62px; }
.track-line  { flex: 1; min-width: 14px; height: 3px; background: #e8dfc8; margin-bottom: 22px; }
.track-done    .track-dot  { background: var(--green); border-color: var(--green); color: white; }
.track-done    .track-label{ color: var(--green); }
.track-done + .track-line  { background: var(--green); }
.track-current .track-dot  { background: var(--gold); border-color: var(--gold); color: white; box-shadow: 0 0 0 4px rgba(201,146,10,0.2); }
.track-current .track-label{ color: var(--gold-dark); font-weight: 900; }

/* ============================================================
   16. ABOUT US PAGE
============================================================ */
.about-story    { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 40px; }
.about-story-img { position: relative; }
.about-story-visual {
  aspect-ratio: 1; max-width: 420px; border-radius: 20px;
  background: linear-gradient(160deg, #fdf0d0, #f0e0a0);
  display: flex; align-items: center; justify-content: center;
  font-size: 9rem; border: 2px solid var(--gold-pale);
  box-shadow: var(--shadow-gold);
}
.about-founded-badge {
  position: absolute; bottom: -16px; right: -16px;
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 4px solid white; box-shadow: var(--shadow-md);
}
.about-founded-badge .since { font-size: 0.52rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.7); }
.about-founded-badge .year  { font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 900; color: white; line-height: 1; }

.about-tagline { font-family: 'Crimson Text', serif; font-style: italic; font-size: 1.6rem; color: var(--brown-dark); margin-bottom: 18px; }
.about-text    { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }

.about-stats { background: var(--brown-dark); padding: 50px 40px; }
.stats-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.stat-item   { text-align: center; }
.stat-num    { font-family: 'Cinzel', serif; font-size: 2.5rem; color: var(--gold-light); font-weight: 700; }
.stat-label  { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; }

.about-values  { padding: 70px 40px; background: var(--cream); }
.values-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 36px; }
.value-card    { background: white; border: 1px solid var(--gold-pale); border-radius: var(--card-radius); padding: 30px 24px; transition: transform 0.3s, box-shadow 0.3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon    { font-size: 2.2rem; margin-bottom: 12px; }
.value-title   { font-family: 'Cinzel', serif; font-size: 0.92rem; color: var(--brown-dark); font-weight: 700; margin-bottom: 8px; }
.value-desc    { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

.about-team    { padding: 70px 40px; background: var(--cream-dark); }
.team-grid     { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 36px; }
.team-card     { background: white; border-radius: var(--card-radius); overflow: hidden; border: 1px solid var(--gold-pale); transition: transform 0.3s, box-shadow 0.3s; text-align: center; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-img      { height: 200px; background: linear-gradient(160deg,#fdf0d0,#e8d090); display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.team-info     { padding: 20px; }
.team-name     { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--brown-dark); font-weight: 700; margin-bottom: 4px; }
.team-role     { font-size: 0.76rem; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.team-desc     { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

.about-timeline { padding: 70px 40px; background: var(--cream); }
.timeline      { position: relative; max-width: 700px; margin: 40px auto 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); transform: translateX(-50%); }
.tl-item       { display: flex; gap: 30px; margin-bottom: 40px; position: relative; }
.tl-item:nth-child(even) { flex-direction: row-reverse; }
.tl-year       { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--gold-dark); font-weight: 700; flex-shrink: 0; width: 80px; text-align: right; padding-top: 4px; }
.tl-item:nth-child(even) .tl-year { text-align: left; }
.tl-dot        { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid white; box-shadow: 0 0 0 3px var(--gold); flex-shrink: 0; margin-top: 6px; }
.tl-content    { flex: 1; }
.tl-title      { font-family: 'Cinzel', serif; font-size: 0.88rem; color: var(--brown-dark); font-weight: 700; margin-bottom: 4px; }
.tl-text       { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   17. CONTACT PAGE
============================================================ */
.contact-main   { padding: 60px 40px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card   { background: white; border: 1px solid var(--gold-pale); border-radius: var(--card-radius); padding: 22px; display: flex; align-items: flex-start; gap: 16px; transition: transform 0.2s, box-shadow 0.2s; }
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-card-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg,var(--gold-dark),var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.contact-card-title { font-family: 'Cinzel', serif; font-size: 0.84rem; color: var(--brown-dark); font-weight: 700; margin-bottom: 4px; }
.contact-card-text  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.contact-card-link  { font-size: 0.82rem; color: var(--gold-dark); font-weight: 700; cursor: pointer; }
.contact-social-row { display: flex; gap: 10px; margin-top: 18px; }
.contact-social-btn { flex: 1; background: var(--brown-dark); color: var(--gold-light); border: 1px solid var(--gold-dark); padding: 10px; border-radius: 8px; font-size: 0.78rem; font-weight: 700; text-align: center; transition: background 0.2s; }
.contact-social-btn:hover { background: var(--gold-dark); color: white; }

.contact-form-card { background: white; border: 1px solid var(--gold-pale); border-radius: var(--card-radius); padding: 32px; }
.contact-form-title { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--brown-dark); font-weight: 700; margin-bottom: 6px; }
.contact-form-sub   { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 22px; }
.contact-subject-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.subj-btn { padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--gold-pale); background: white; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); transition: all 0.2s; }
.subj-btn:hover, .subj-btn.active { background: var(--gold-pale); border-color: var(--gold); color: var(--gold-dark); }
.contact-textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gold-pale); border-radius: 8px; font-size: 0.86rem; color: var(--text-dark); background: var(--cream); resize: vertical; min-height: 120px; margin-bottom: 14px; transition: border-color 0.2s; }
.contact-textarea:focus { outline: none; border-color: var(--gold); background: white; }
.contact-map { background: linear-gradient(135deg,#1a0800,#3b1500); border-radius: var(--card-radius); height: 180px; display: flex; align-items: center; justify-content: center; margin-top: 24px; border: 1px solid var(--gold-dark); }
.contact-map-inner { text-align: center; color: rgba(255,255,255,0.4); font-size: 0.8rem; }

.contact-faq    { padding: 60px 40px; background: var(--cream-dark); }
.faq-grid       { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.faq-item       { background: white; border: 1px solid var(--gold-pale); border-radius: var(--card-radius); overflow: hidden; }
.faq-question   { padding: 18px 20px; font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--brown-dark); font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.faq-question:hover { background: var(--gold-pale); }
.faq-toggle     { color: var(--gold-dark); transition: transform 0.3s; font-size: 0.8rem; }
.faq-item.open .faq-toggle { transform: rotate(180deg); }
.faq-answer     { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 20px 18px; }

/* ============================================================
   18. PROFILE PAGE
============================================================ */
.profile-page {
  padding: 46px 40px 70px;
  background:
    radial-gradient(circle at top right, rgba(201,146,10,0.1), transparent 30%),
    linear-gradient(180deg, #fbf4e0 0%, var(--cream) 45%, #f8f0d8 100%);
}
.profile-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 26px;
  align-items: start;
}
.profile-card,
.profile-form-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(201,146,10,0.18);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(107,61,15,0.08);
  backdrop-filter: blur(12px);
}
.profile-card {
  padding: 28px;
  position: sticky;
  top: 96px;
  overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 112px;
  background: linear-gradient(135deg, #2a1300, #5d3306, #8a6200);
}
.profile-card > * { position: relative; z-index: 1; }
.profile-avatar {
  width: 88px;
  height: 88px;
  margin-top: 42px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(26,14,2,0.2);
}
.profile-name {
  margin-top: 18px;
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--brown-dark);
}
.profile-email {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--text-muted);
  word-break: break-word;
}
.profile-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.profile-stat {
  background: linear-gradient(180deg, rgba(245,230,184,0.5), rgba(255,255,255,0.95));
  border: 1px solid rgba(201,146,10,0.18);
  border-radius: 14px;
  padding: 14px;
}
.profile-stat-label {
  font-size: 0.68rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.profile-stat-value {
  margin-top: 8px;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold-dark);
  font-weight: 700;
}
.profile-notice {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(26,14,2,0.04);
  border: 1px solid rgba(26,14,2,0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.profile-form-card {
  padding: 30px;
}
.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201,146,10,0.16);
}
.profile-section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--brown-dark);
}
.profile-section-sub {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.profile-badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(240,192,64,0.16);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.profile-form-grid .form-group.full-width {
  grid-column: 1 / -1;
}
.profile-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.profile-input,
.profile-textarea {
  width: 100%;
  background: #fffdf7;
  border: 1.5px solid rgba(201,146,10,0.22);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.profile-input:focus,
.profile-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 4px rgba(201,146,10,0.08);
}
.profile-input[readonly] {
  background: #f7f1df;
  color: #8b7449;
}
.profile-textarea {
  min-height: 120px;
  resize: vertical;
}
.profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.profile-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.profile-empty {
  max-width: 760px;
  margin: 54px auto;
  background: white;
  border: 1px solid var(--gold-pale);
  border-radius: 22px;
  text-align: center;
  padding: 54px 28px;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   19. RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  nav { padding: 0 20px; }
  .nav-search-btn,
  .nav-search-panel {
    display: none !important;
  }
  .home-mobile-search {
    top: var(--nav-height);
    padding: 16px 18px 10px;
  }
  .hero { padding-right: 5%; height: 500px; }
  .hero-tagline { font-size: 2.6rem; }
  .hero-content { max-width: 420px; }
  .cat-grid, .products-grid, .shop-grid, .trust-grid { grid-template-columns: repeat(2,1fr); }
  .reviews-grid, .values-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .pd-similar-grid { grid-template-columns: repeat(2,1fr); }
  .shop-search-sticky { top: calc(var(--nav-height) + 10px); }
  .shop-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
  }
  .about-story { padding: 50px 20px; gap: 40px; }
  .contact-main { padding: 50px 20px; }
  .contact-faq { padding: 50px 20px; }
  .profile-page { padding: 40px 20px 56px; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  footer { padding: 18px 20px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 40px 16px; }
  nav { padding: 0 14px; height: 84px; }
  .home-mobile-search {
    top: 84px;
    padding: 14px 14px 10px;
  }
  .brand-logo-img { height: 74px; width: auto; max-width: 240px; }
  .hamburger { order: -1; margin-right: 8px; }
  .brand { margin-right: auto; }
  .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 84px; left: -100%;
    width: 75%; max-width: 290px; height: calc(100vh - 84px);
    background: var(--brown-dark); border-right: 2px solid var(--gold-dark);
    z-index: 999; padding: 20px 0; overflow-y: auto;
    transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-links.open { left: 0; }
  .nav-links li a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .mobile-nav-extra { display: block; }
  .hamburger { display: flex; }
  #user-greeting { display: none !important; }
  .mobile-nav-profile-btn { display: inline-flex; }
  .hero { height: auto; min-height: 560px; align-items: flex-end; justify-content: center; padding: 40px 20px 60px; }
  .hero-overlay {
    background: linear-gradient(to top,
      rgba(8,3,0,0.92) 0%,
      rgba(8,3,0,0.70) 40%,
      rgba(8,3,0,0.45) 100%
    );
  }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-badges  { justify-content: center; }
  .hero-carousel-controls { justify-content: center; }
  .hero-tagline { font-size: 2.2rem; }
  .hero-lamp-glow { display: none; }
  .home-mobile-search-form {
    align-items: stretch;
    gap: 8px;
  }
  .home-mobile-search-submit {
    flex-shrink: 0;
    padding: 0 16px;
  }
  .nav-search-panel {
    top: 84px;
  }
  .nav-search-form {
    padding: 14px;
    gap: 10px;
  }
  .nav-search-field {
    padding: 0 12px;
  }
  .nav-search-field input {
    height: 52px;
  }
  .nav-search-submit {
    height: 52px;
    padding: 0 18px;
  }
  .cat-grid { gap: 12px; }
  .trust-grid, .reviews-grid { grid-template-columns: 1fr; }
  .values-grid, .team-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; order: -1; }
  .cart-item { padding: 12px; gap: 10px; flex-wrap: wrap; }
  .cart-item-img { width: 60px; height: 60px; font-size: 1.9rem; }
  .co-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr 1fr; }
  .pd-main { grid-template-columns: 1fr; padding: 28px 16px; }
  .pd-info { padding-left: 0; margin-top: 24px; }
  .pd-gallery { position: static; }
  .pd-img-main { max-width: 100%; font-size: 7rem; }
  .pd-breadcrumb { padding: 10px 16px; }
  .pd-similar { padding: 36px 16px; }
  .pd-similar-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-story { grid-template-columns: 1fr; padding: 40px 16px; }
  .about-stats { padding: 40px 16px; }
  .about-values { padding: 40px 16px; }
  .about-team { padding: 40px 16px; }
  .about-timeline { padding: 40px 16px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-main { padding: 32px 16px; }
  .contact-faq { padding: 32px 16px; }
  .profile-page { padding: 28px 14px 40px; }
  .profile-form-card, .profile-card { padding: 22px; }
  .profile-form-grid { grid-template-columns: 1fr; }
  .profile-section-header { align-items: flex-start; flex-direction: column; }
  .cart-page { padding: 24px 14px; }
  .shop-page { padding: 28px 14px; }
  .shop-search-sticky {
    top: 70px;
    margin-top: 10px;
    margin-bottom: 24px;
    padding-bottom: 10px;
  }
  .shop-toolbar {
    display: block;
  }
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .shop-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,5,0,0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1098;
    display: block;
  }
  .shop-filter-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .pd-review-summary,
  .pd-review-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .pd-review-chip {
    width: 100%;
    justify-content: space-between;
  }
  .pd-review-star-pick {
    flex-wrap: wrap;
  }
  .shop-filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(360px, 92vw);
    height: 100vh;
    border-radius: 0 24px 24px 0;
    padding: 20px 16px 22px;
    z-index: 1099;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }
  .shop-filter-panel.open {
    transform: translateX(0);
  }
  .shop-filter-close {
    display: block;
  }
  .cart-steps .cart-step span:not(.step-num) { display: none; }
  .step-divider { max-width: 24px; }
  footer { flex-direction: column; text-align: center; padding: 18px 14px; }
  .toast { right: 10px; left: 10px; bottom: 10px; justify-content: center; }
  .modal { padding: 28px 20px; width: 95vw; }
  .shared-auth-modal { align-items: flex-start; padding: 10px; overflow-y: auto; }
  .modal-login-shell {
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding: 10px;
    border-radius: 20px;
    max-height: calc(100dvh - 20px);
  }
  .modal-shell-head { padding: 8px 10px 12px; }
  .modal-shell-kicker { font-size: 0.66rem; letter-spacing: 1.4px; }
  .modal-login-shell .modal-title { font-size: 1.05rem; line-height: 1.2; padding-right: 28px; }
  .modal-shell-close { top: 14px; right: 14px; }
  .modal-login-frame { height: min(84dvh, 780px); border-radius: 16px; }
  .cart-drawer { width: 100vw; }
  .cart-drawer-body { padding: 14px; }
  .cart-drawer-footer { padding: 16px 14px 18px; }
}

@media (max-width: 480px) {
  .hero { min-height: 500px; padding: 30px 16px 50px; }
  .hero-tagline { font-size: 1.75rem; }
  .hero-sub { font-size: 0.82rem; }
  .home-mobile-search {
    padding: 14px 12px 8px;
  }
  .home-mobile-search-form {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .home-mobile-search-field {
    flex: 1;
    width: auto;
    padding: 0 12px;
  }
  .home-mobile-search-field input {
    height: 52px;
    font-size: 0.85rem;
  }
  .home-mobile-search-submit {
    height: 50px;
    padding: 0 14px;
    font-size: 0.74rem;
    letter-spacing: 0.7px;
    flex-shrink: 0;
  }
  .nav-actions {
    gap: 10px;
  }
  .shared-auth-modal { padding: 8px; }
  .modal-login-shell {
    padding: 8px;
    border-radius: 18px;
    max-height: calc(100dvh - 16px);
  }
  .modal-shell-head { padding: 8px 8px 10px; }
  .modal-login-shell .modal-title { font-size: 0.96rem; }
  .modal-login-frame { height: min(86dvh, 820px); border-radius: 14px; }
  .nav-search-btn,
  #login-nav-btn,
  .mobile-nav-profile-btn {
    width: 36px;
    height: 36px;
  }
  .nav-search-form {
    flex-wrap: wrap;
  }
  .nav-search-submit {
    width: 100%;
  }
  .btn-hero, .btn-hero-outline { padding: 11px 22px; font-size: 0.78rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .products-grid, .shop-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pd-similar-grid { grid-template-columns: 1fr; }
  .pd-trust-row { grid-template-columns: repeat(3,1fr); }
  .page-banner-title { font-size: 1.5rem; }
  .profile-stat-grid { grid-template-columns: 1fr; }
  .profile-actions { align-items: stretch; }
}
