
/* OFFINE GOOGLE FONTS */
@font-face { font-family: 'Anek Latin'; src: url('/fonts/AnekLatin-VariableFont_wdth,wght.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('/fonts/Cinzel-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/CormorantGaramond-VariableFont_wght.ttf') format('truetype'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces-Italic-VariableFont_SOFT,WONK,opsz,wght.ttf') format('truetype'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/Montserrat-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/SourceSerif4-VariableFont_opsz,wght.ttf') format('truetype'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/SourceSerif4-Italic-VariableFont_opsz,wght.ttf') format('truetype'); font-weight: 200 900; font-style: italic; font-display: swap; }

/* Sonzal design system — warm Kashmiri palette with a tricolour "weave" signature.
   Display: Fraunces (characterful serif, used with restraint). Body: Inter. */
:root{
  --saffron:#B45309; --saffron-bright:#D97706;
  --crimson:#9F1239; --pine:#166534; --pine-soft:#15803D;
  --ink:#1F2937; --slate:#475569; --muted:#64748B;
  --cream:#FBF7EF; --paper:#FFFFFF; --line:#E7DECE; --line-soft:#F0E9DC;
  --ok:#166534; --warn:#B45309; --bad:#9F1239;
  --radius:14px; --radius-sm:9px; --shadow:0 1px 2px rgba(31,41,55,.06),0 8px 24px rgba(31,41,55,.06);
  --maxw:100%;
  --shell-gutter:16px; --mobile-safe-bottom:env(safe-area-inset-bottom, 0px);
  --header-z:1000; --overlay-z:2147483640; --drawer-z:2147483646;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;min-height:100vh}
html{-webkit-text-size-adjust:100%;scroll-padding-top:96px}
img,svg,video{max-width:100%}
button,input,select,textarea{font:inherit}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mobile-only{display:none!important}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; /* Add this line to prevent scrollbar jumping */
}
a{color:var(--crimson);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{font-family:Fraunces,Georgia,"Times New Roman",serif;font-weight:600;line-height:1.15;margin:0 0 .4em}
h1{font-size:2rem;letter-spacing:-.01em}
h2{font-size:1.4rem}
h3{font-size:1.1rem}
.muted{color:var(--muted)}
.small{font-size:.85rem}
.wrap{width:100%;max-width:100%;margin:0 auto;padding-inline:var(--shell-gutter)}
.weave{height:4px;background:linear-gradient(90deg,var(--saffron) 0 33%,var(--crimson) 33% 66%,var(--pine) 66% 100%)}

/* header */
#app-header {
  position: sticky;
  top: 0;
  z-index: 1000 !important;
  background: var(--paper);
  min-height: 86px; /* Prevents layout shifts on desktop when JS loads header */
}
header.site{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1000 !important}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:62px;padding:10px 20px;}
.nav-links-desktop{display:flex;align-items:center;gap:18px;flex-shrink:0}
.nav-actions-right{display:flex;align-items:center;gap:16px;flex-shrink:0;order:2}
.nav-search-container{position:relative;flex:1;max-width:800px;margin:0 auto}
.global-search-form{display:flex;align-items:center;min-width:0;border:1px solid #cbd5e1;border-radius:8px;overflow:visible;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);transition:border-color .2s ease,box-shadow .2s ease}
.global-search-form:focus-within{border-color:var(--crimson);box-shadow:0 0 0 3px rgba(159,18,57,.1)}
.header-category-select{border:0;border-right:1px solid #cbd5e1;background:#f8fafc;padding:0 24px 0 10px;outline:0;cursor:pointer;color:#475569;font-size:.8rem;height:42px;width:96px;max-width:96px;text-overflow:ellipsis;white-space:nowrap;font-family:inherit}
.header-search-input{border:0;padding:0 12px;flex:1;outline:0;color:#111827;height:42px;font-size:.9rem;min-width:0;background:#fff;font-family:inherit}
.header-search-input::-webkit-search-cancel-button{cursor:pointer}
.header-search-submit{flex:0 0 46px;width:46px;height:42px;border:0;background:var(--crimson);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:filter .2s ease}
.header-search-submit:hover{filter:brightness(1.08)}
.search-suggestions{display:none;position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 30px rgba(31,41,55,.14);z-index:2147483647 !important;max-height:min(360px,60vh);overflow-y:auto;overscroll-behavior:contain}
.brand-logo{width:auto;height:38px;object-fit:contain;border-radius:4px;flex:0 0 auto}
.brand-name{white-space:nowrap}

@media(max-width:1200px){
  #app-header {
    min-height: 110px; /* Prevents layout shifts on mobile when JS loads header */
  }
  .nav{flex-wrap:wrap;gap:8px 10px;padding:8px 12px;}
  .nav-search-container{order:3;margin:0;width:100%;flex:0 0 100%;max-width:100%}
  .brand{order:1; flex-shrink:0;}
  .nav-actions-right{order:2; flex-shrink:0; gap:8px !important;}
  .nav-links-desktop{display:none !important}
}
@media(max-width: 560px){
  .brand {
    font-size: 1.15rem !important;
  }
  .brand img {
    height: 30px !important;
  }
  .nav-actions-right {
    gap: 6px !important;
  }
  .nav-actions-right > .mobile-auth-link {
    font-size: 0.78rem !important;
  }
  .nav-actions-right > .mobile-auth-btn {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
    height: 28px !important;
  }
}
.brand{font-family:Georgia,serif;font-weight:600;font-size:1.4rem;color:var(--crimson);letter-spacing:.02em;display:flex;align-items:center;gap:9px}
.brand .dot{width:11px;height:11px;border-radius:50%;background:var(--saffron);box-shadow:0 0 0 3px rgba(180,83,9,.18)}
.brand:hover{text-decoration:none}
.nav .spacer{flex:1}
.nav a.link{color:var(--slate);font-size:.92rem;font-weight:500}
.nav a.link:hover{color:var(--ink);text-decoration:none}
.nav .cartcount{display:inline-flex;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--crimson);
  color:#fff;font-size:.72rem;align-items:center;justify-content:center;margin-left:4px;font-weight:600}
.gov{font-size:.7rem;color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:2px 9px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;cursor:pointer;
  font:inherit;font-weight:600;font-size:.92rem;padding:9px 16px;border-radius:var(--radius-sm);transition:.15s;background:var(--ink);color:#fff}
.btn:hover{filter:brightness(1.07);text-decoration:none}
.btn.primary{background:var(--crimson)}
.btn.saffron{background:var(--saffron)}
.btn.pine{background:var(--pine)}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn.ghost:hover{background:var(--line-soft)}
.btn.sm{padding:6px 11px;font-size:.84rem}
.btn:disabled{opacity:.5;cursor:not-allowed;filter:none}
.btn.block{width:100%}

/* cards & layout */
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.pad{padding:20px}
.grid{display:grid;gap:18px}
.cols-2{grid-template-columns:1fr 1fr}
.cols-3{grid-template-columns:repeat(3,1fr)}
.cols-4{grid-template-columns:repeat(4,1fr)}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.between{justify-content:space-between}
section.block{padding:34px 0}

/* product cards */
.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid rgba(196, 164, 104, 0.28) !important;
  box-shadow: 0 4px 12px rgba(15, 13, 13, 0.08) !important;
  border-radius: var(--radius, 12px);
  background: #ffffff;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, border-color, box-shadow;
}
.pcard:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(162, 28, 60, 0.6) !important;
  box-shadow: 0 10px 24px rgba(162, 28, 60, 0.12) !important;
}
.pcard .thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: var(--line-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><rect width="40" height="40" fill="%23F0E9DC"/></svg>') center/cover;
  display: block;
  position: relative;
  overflow: hidden;
}
.pcard .body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  justify-content: space-between;
}
.pcard .name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.3;
  text-align: left;
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price{display:flex;align-items:baseline;gap:8px}
.price .now{font-weight:700;color:var(--ink);font-size:1.05rem}
.price .mrp{color:var(--muted);text-decoration:line-through;font-size:.85rem}
.price .off{color:var(--crimson);font-size:.85rem;font-weight:700}

.pcard-gi-slot {
  min-height: 22px;
  display: flex;
  align-items: center;
}
.gi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  color: var(--saffron);
  border: 1px solid #EAD9BF;
  background: #FCF3E4;
  border-radius: 6px;
  padding: 3px 8px;
  vertical-align: middle;
}
.gi::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url('/images/gi-logo.png') no-repeat center/contain;
  flex-shrink: 0;
}

/* Rating badge overlay on product thumbnails */
.rating-badge,
.pcard-img-wrapper .rating-badge,
.pcard .thumb .rating-badge {
  position: absolute !important;
  bottom: 10px !important;
  left: 10px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(4px) !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  z-index: 10 !important;
  pointer-events: none !important;
}
.rating-badge .star {
  color: #F59E0B !important;
  font-size: 0.76rem !important;
}
.rating-badge .count {
  color: #6b7280 !important;
  font-weight: 500 !important;
  font-size: 0.68rem !important;
  margin-left: 2px !important;
}

/* Quick Add to Cart button styles */
.btn-quick-cart {
  width: 100%;
  margin-top: auto;
  padding: 8px 12px;
  background: var(--crimson);
  color: #fff;
  border: 1px solid var(--crimson);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-quick-cart:hover {
  background: #881337;
  border-color: #881337;
}
.btn-quick-cart:active {
  transform: scale(0.97);
}

/* badges */
.badge{display:inline-flex;align-items:center;gap:5px;font-size:.74rem;font-weight:600;padding:3px 9px;border-radius:20px;border:1px solid}
.badge.ok{color:var(--ok);border-color:#BBE3C5;background:#EDF7F0}
.badge.warn{color:var(--warn);border-color:#EAD9BF;background:#FCF3E4}
.badge.bad{color:var(--bad);border-color:#EBC4CF;background:#FBEDF1}
.badge.info{color:var(--slate);border-color:var(--line);background:var(--cream)}
.stars{color:var(--saffron-bright);letter-spacing:1px}

/* forms */
label.f{display:block;font-size:.85rem;font-weight:600;color:var(--slate);margin:0 0 5px}
input,select,textarea{width:100%;font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);
  background:var(--paper);color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(159,18,57,.25);border-color:var(--crimson)}
.field{margin-bottom:14px}
.help{font-size:.8rem;color:var(--muted);margin-top:4px}

/* tables */
table{width:100%;border-collapse:collapse;font-size:.9rem}
th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line-soft)}
th{font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:700}
tbody tr:hover{background:var(--cream)}

/* hero */
.hero{background:radial-gradient(120% 120% at 100% 0,#FCEFD8 0,var(--cream) 55%);border-bottom:1px solid var(--line)}
.hero .wrap{padding:54px 20px 46px}
.hero h1{font-size:2.7rem;max-width:14ch}
.hero p.lead{font-size:1.1rem;color:var(--slate);max-width:52ch;margin:.2em 0 1.3em}
.eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--saffron);margin-bottom:10px}

/* misc */
.notice{padding:12px 14px;border-radius:var(--radius-sm);font-size:.9rem;border:1px solid}
.notice.err{color:var(--bad);background:#FBEDF1;border-color:#EBC4CF}
.notice.ok{color:var(--ok);background:#EDF7F0;border-color:#BBE3C5}
.empty{padding:46px 20px;text-align:center;color:var(--muted)}
#app-footer {
  margin-top: auto;
}
footer.site{border-top:1px solid var(--line);margin-top:40px;background:var(--paper)}
footer.site .wrap{padding:22px 20px;color:var(--muted);font-size:.85rem;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;width:100%}
footer.site .footer-left{text-align:left}
footer.site .footer-right{text-align:right}
footer.site .social-links{display:flex;gap:16px;align-items:center;justify-content:center}
footer.site .social-links a{color:var(--muted);display:inline-flex;transition:color 0.2s ease,transform 0.2s ease;text-decoration:none}
footer.site .social-links a:hover{color:var(--crimson);transform:translateY(-2px)}
@media(max-width:1200px){
  footer.site .wrap{display:flex;flex-direction:column;gap:10px;text-align:center}
  footer.site .footer-left,footer.site .footer-right{text-align:center}
}
.chip{font-size:.78rem;border:1px solid var(--line);border-radius:20px;padding:4px 11px;color:var(--slate);background:var(--paper);cursor:pointer}
.chip.active{background:var(--crimson);color:#fff;border-color:var(--crimson)}
.weave{height:4px;background:linear-gradient(90deg,var(--saffron) 0 33%,var(--crimson) 33% 66%,var(--pine) 66% 100%)}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:.9rem}
.kv dt{color:var(--muted)}
@media(max-width:1200px){.cols-4{grid-template-columns:1fr 1fr}.cols-3{grid-template-columns:1fr 1fr}.cols-2{grid-template-columns:1fr}.hero h1{font-size:2rem}.nav{gap:12px}.hide-sm{display:none}}
@media(max-width:768px){.grid,.cols-6,.cols-4,.cols-3,.cols-2{grid-template-columns:repeat(2, 1fr) !important; gap:10px !important;}}
@media(max-width:560px){.grid,.cols-6,.cols-4,.cols-3,.cols-2{grid-template-columns:repeat(2, 1fr) !important; gap:8px !important;} .stats-banner{grid-template-columns:1fr !important;}}

/* Stats Banner styling */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}
.stat-card .label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
}

/* Order timeline/stepper */
.order-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 20px 0 10px;
  padding: 0 10px;
}
.order-stepper::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--line-soft);
  z-index: 1;
}
.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 3;
  width: 60px;
}
.step-node .circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
}
.step-node.active .circle {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}
.step-node.cancelled .circle {
  background: var(--bad);
  border-color: var(--bad);
  color: #fff;
}
.step-node .label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.step-node.active .label {
  color: var(--ink);
}

/* Account dashboard navigation sidebar */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}
.account-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.account-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--slate);
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.account-nav-btn:hover {
  background: var(--line-soft);
  color: var(--ink);
}
.account-nav-btn.active {
  background: var(--crimson);
  color: #fff;
}

@media(max-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .stats-banner {
    grid-template-columns: 1fr;
  }
}

/* Homepage Sub-navigation */
.sub-nav {
  position: sticky;
  top: 62px !important;
  z-index: 1000 !important;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 254, 252, 0.96) 0%, rgba(251, 247, 239, 0.94) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(159, 18, 57, 0.05);
  border-bottom: 1px solid rgba(159, 18, 57, 0.08);
  padding: 0;
  box-shadow: 0 4px 20px rgba(159, 18, 57, 0.02);
}
@media (max-width: 1200px) {
  .sub-nav {
    top: 62px !important;
  }
}
.sub-nav .wrap {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  padding: 10px 16px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch !important;
}
.sub-nav .wrap::-webkit-scrollbar {
  display: none !important;
}
@media (max-width: 767px) {
  .sub-nav .wrap {
    gap: 12px !important;
    padding: 8px 12px !important;
  }
  .subcategory-dropdown {
    /* Allow subcategory hover / tap display */
  }
}
.category-dropdown-container {
  position: relative;
  display: inline-block;
}
.subcategory-dropdown {
  display: none !important;
}

/* Global Floating Subcategory Popover */
#subcat-popover,
.subcategory-floating-popover {
  position: fixed !important;
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #FAF7F2 !important;
  border: 1.5px solid #C4A468 !important;
  box-shadow: 0 16px 40px rgba(144, 48, 46, 0.22) !important;
  border-radius: 12px !important;
  padding: 8px 0 !important;
  min-width: 210px !important;
  max-width: 280px !important;
  max-height: 360px !important;
  overflow-y: auto !important;
  z-index: 2147483647 !important;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-4px);
  box-sizing: border-box !important;
}
#subcat-popover::before,
.subcategory-floating-popover::before {
  content: '' !important;
  position: absolute !important;
  top: -14px !important;
  left: 0 !important;
  right: 0 !important;
  height: 14px !important;
  background: transparent !important;
  border: none !important;
  pointer-events: auto !important;
}
#subcat-popover.show,
.subcategory-floating-popover.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
#subcat-popover a.sub-link,
.subcategory-floating-popover a.sub-link {
  display: block !important;
  padding: 9px 18px !important;
  color: #3D3B30 !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-align: left !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  letter-spacing: 0.04em !important;
  transition: all 0.15s ease !important;
}
#subcat-popover a.sub-link:hover,
.subcategory-floating-popover a.sub-link:hover {
  background: #90302E !important;
  color: #FAF7F2 !important;
  padding-left: 22px !important;
  text-decoration: none !important;
}

@media (max-width: 768px), (pointer: coarse) {
  #subcat-popover,
  .subcategory-floating-popover,
  .subcategory-dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
.sub-nav a.link {
  position: relative;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.sub-nav a.link::after {
  display: none;
}
.sub-nav a.link:hover {
  border-color: #90302E;
  color: #90302E;
  background: #fdfbf7;
  box-shadow: 0 2px 6px rgba(144, 48, 46, 0.08);
  text-decoration: none;
}
.sub-nav a.link.active {
  color: #ffffff !important;
  background: #90302E !important;
  border-color: #90302E !important;
  box-shadow: 0 4px 10px rgba(144, 48, 46, 0.15) !important;
}
.sub-nav a.vcat-item-link,
.sub-nav a.link {
  border-radius: 100px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sub-nav a.vcat-item-link:hover,
.sub-nav a.link:hover,
.sub-nav .category-dropdown-container:hover > a.vcat-item-link {
  background: linear-gradient(135deg, #7A0C2E 0%, #A21C3C 100%) !important;
  border-color: #D4AF37 !important;
  border-radius: 100px !important;
  box-shadow: 0 4px 14px rgba(122, 12, 46, 0.35) !important;
}
.sub-nav a.vcat-item-link:hover .vcat-ring-inner,
.sub-nav .category-dropdown-container:hover > a.vcat-item-link .vcat-ring-inner {
  border-color: #FDE047 !important;
  box-shadow: 0 0 8px rgba(253, 224, 71, 0.6) !important;
}
.sub-nav a.vcat-item-link:hover .vcat-text,
.sub-nav .category-dropdown-container:hover > a.vcat-item-link .vcat-text {
  color: #FDE047 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}
.sub-nav a.vcat-item-link.active,
.sub-nav a.link.active {
  background: linear-gradient(135deg, #7A0C2E 0%, #A21C3C 100%) !important;
  border-color: #D4AF37 !important;
  border-radius: 100px !important;
  color: #FDE047 !important;
}
.sub-nav a.vcat-item-link.active .vcat-ring-inner {
  border-color: #D4AF37 !important;
  border-width: 1.5px !important;
}
.sub-nav a.vcat-item-link.active .vcat-text {
  color: #FDE047 !important;
  font-weight: 700 !important;
}
.subcategory-dropdown a.sub-link.active {
  background: #90302E !important;
  color: #FAF7F2 !important;
}

/* Homepage Carousel */
.home-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #FAF4E9;
}
.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.slide-bg {
  display: none; /* Kills the blurry background completely */
}
.slide-content {
  position: absolute; /* This firmly anchors the image wrapper to the edges */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-shadow: none;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.carousel-overlay {
  display: none;
}
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.25rem;
  color: #111;
  transition: all 0.2s ease;
  user-select: none;
}
.carousel-control:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.05);
}
.carousel-control.prev { left: 30px; }
.carousel-control.next { right: 30px; }
/* Featured Grid & Transition Cards */
.featured-grid {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.featured-card {
  background: #FAF7F2; /* Luxury alabaster parchment background */
  border: 1px solid rgba(196, 164, 104, 0.45); /* thin gold border */
  border-radius: var(--radius);
  box-shadow:
    0 8px 24px rgba(61, 59, 48, 0.03),
    inset 0 0 0 4px #FAF7F2,
    inset 0 0 0 5.5px rgba(196, 164, 104, 0.2); /* Double gold inner frame */
  padding: 22px 18px 18px;
  height: 395px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-color 0.4s ease;
}
.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  z-index: 10;
  pointer-events: none;
}
.featured-card:hover::before {
  left: 150%;
}

/* Card Accent Borders, Royal Backgrounds & Frames */
.card-pashmina-accent {
  background: linear-gradient(180deg, #FDF6F6 0%, #F6E3E5 100%) !important;
  border: 1.8px solid #90302E !important;
  box-shadow: 0 4px 12px rgba(144, 48, 46, 0.04), inset 0 0 0 4px #FDF6F6, inset 0 0 0 5.5px rgba(144, 48, 46, 0.15) !important;
}
.card-wood-accent {
  background: linear-gradient(180deg, #FDF9F5 0%, #F7EEDB 100%) !important;
  border: 1.8px solid #B07A3E !important;
  box-shadow: 0 4px 12px rgba(176, 122, 62, 0.04), inset 0 0 0 4px #FDF9F5, inset 0 0 0 5.5px rgba(176, 122, 62, 0.15) !important;
}
.card-carpets-accent {
  background: linear-gradient(180deg, #F5F9FC 0%, #E3EDF6 100%) !important;
  border: 1.8px solid #2C5E8A !important;
  box-shadow: 0 4px 12px rgba(44, 94, 138, 0.04), inset 0 0 0 4px #F5F9FC, inset 0 0 0 5.5px rgba(44, 94, 138, 0.15) !important;
}
.card-stories-accent {
  background: linear-gradient(180deg, #F4FAF5 0%, #E2F1E5 100%) !important;
  border: 1.8px solid #166534 !important;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.04), inset 0 0 0 4px #F4FAF5, inset 0 0 0 5.5px rgba(22, 101, 52, 0.15) !important;
}

.card-pashmina-accent:hover {
  transform: translateY(-8px);
  border-color: #90302E !important;
  box-shadow: 0 16px 32px rgba(144, 48, 46, 0.22), inset 0 0 0 4px #FDF6F6, inset 0 0 0 5.5px rgba(144, 48, 46, 0.3) !important;
}
.card-wood-accent:hover {
  transform: translateY(-8px);
  border-color: #B07A3E !important;
  box-shadow: 0 16px 32px rgba(176, 122, 62, 0.22), inset 0 0 0 4px #FDF9F5, inset 0 0 0 5.5px rgba(176, 122, 62, 0.3) !important;
}
.card-carpets-accent:hover {
  transform: translateY(-8px);
  border-color: #2C5E8A !important;
  box-shadow: 0 16px 32px rgba(44, 94, 138, 0.22), inset 0 0 0 4px #F5F9FC, inset 0 0 0 5.5px rgba(44, 94, 138, 0.3) !important;
}
.card-stories-accent:hover {
  transform: translateY(-8px);
  border-color: #166534 !important;
  box-shadow: 0 16px 32px rgba(22, 101, 52, 0.22), inset 0 0 0 4px #F4FAF5, inset 0 0 0 5.5px rgba(22, 101, 52, 0.3) !important;
}

.featured-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  color: #1F080C;
  margin-bottom: 12px;
  font-family: Fraunces, serif;
  border-bottom: 1px solid rgba(196, 164, 104, 0.18);
  padding-bottom: 8px;
  transition: border-color 0.3s ease;
  z-index: 2;
}
.card-pashmina-accent:hover h3 { border-bottom-color: rgba(144, 48, 46, 0.3); }
.card-wood-accent:hover h3 { border-bottom-color: rgba(176, 122, 62, 0.3); }
.card-carpets-accent:hover h3 { border-bottom-color: rgba(44, 94, 138, 0.3); }
.card-stories-accent:hover h3 { border-bottom-color: rgba(227, 156, 56, 0.3); }

.featured-card-content {
  position: relative;
  flex: 1;
  width: 100%;
}
.featured-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.featured-item.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.featured-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  background: #FAF8F5;
  border: 1.2px solid rgba(196, 164, 104, 0.4); /* Thin gold border frame */
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 4px 10px rgba(61, 59, 48, 0.04);
}
.featured-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover aspect ratio matches image */
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.featured-card:hover .featured-item-img {
  transform: scale(1.08);
}



.featured-item-name {
  font-family: Fraunces, Georgia, serif; /* Serif typography matching details */
  font-size: 0.95rem;
  font-weight: 700;
  color: #1F080C;
  line-height: 1.25;
  margin-bottom: 4px;
}
.featured-item-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #4D4546;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Enhanced Royal Pill Buttons with Colored Gradients */
.featured-card-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #FAF5EA !important; /* champagne gold text */
  padding: 7px 16px;
  border-radius: 20px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  z-index: 2;
}

.featured-card:hover .featured-card-link {
  transform: translateY(-1.5px) scale(1.03);
  gap: 10px;
}

.card-pashmina-accent .featured-card-link {
  background: linear-gradient(180deg, #A21C3C 0%, #7F1D1D 100%) !important;
  border: 1.2px solid #E2A8B4 !important;
  box-shadow: 0 3px 8px rgba(162, 28, 60, 0.22);
}
.card-pashmina-accent:hover .featured-card-link {
  background: linear-gradient(180deg, #7F1D1D 0%, #5F0E1D 100%) !important;
  box-shadow: 0 5px 15px rgba(162, 28, 60, 0.38);
}

.card-wood-accent .featured-card-link {
  background: linear-gradient(180deg, #B07A3E 0%, #8E5D2A 100%) !important;
  border: 1.2px solid #E6CDAE !important;
  box-shadow: 0 3px 8px rgba(176, 122, 62, 0.22);
}
.card-wood-accent:hover .featured-card-link {
  background: linear-gradient(180deg, #8E5D2A 0%, #6E441B 100%) !important;
  box-shadow: 0 5px 15px rgba(176, 122, 62, 0.38);
}

.card-carpets-accent .featured-card-link {
  background: linear-gradient(180deg, #2C5E8A 0%, #1E466B 100%) !important;
  border: 1.2px solid #AECFE6 !important;
  box-shadow: 0 3px 8px rgba(44, 94, 138, 0.22);
}
.card-carpets-accent:hover .featured-card-link {
  background: linear-gradient(180deg, #1E466B 0%, #13304C 100%) !important;
  box-shadow: 0 5px 15px rgba(44, 94, 138, 0.38);
}

.card-stories-accent .featured-card-link {
  background: linear-gradient(180deg, #166534 0%, #0F4C24 100%) !important;
  border: 1.2px solid #A2D9B4 !important;
  box-shadow: 0 3px 8px rgba(22, 101, 52, 0.22);
}
.card-stories-accent:hover .featured-card-link {
  background: linear-gradient(180deg, #0F4C24 0%, #083416 100%) !important;
  box-shadow: 0 5px 15px rgba(22, 101, 52, 0.38);
}

@media(max-width: 1100px) {
  .home-carousel {
    height: 450px;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
  }
}
@media(max-width: 768px) {
  .home-carousel {
    height: 320px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    margin-top: -25px;
  }
  .featured-card {
    height: auto;
    min-height: 380px;
  }
}

/* Stylized Brand Name */
.brand, .logo-text, .brand-logo-text, .invoice-header h2 {
  font-family: Georgia, serif !important;
  color: #90302E !important; /* Deep crimson from the logo */
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

/* Wishlist Button styling */
.wishlist-btn {
  background: none !important;
  border: none !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  color: #9CA3AF !important;
  flex-shrink: 0 !important;
  outline: none !important;
}
.wishlist-btn:hover {
  transform: scale(1.15) !important;
  color: #9F1239 !important;
}
.wishlist-btn.wishlisted {
  color: #9F1239 !important;
}

/* Rich themed responsive footer */
.rich-footer {
  background: #201013; /* deep dark maroon/charcoal */
  color: #E7DECE;
  font-size: 0.88rem;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.rich-footer a {
  color: #C1B4A5;
  transition: color 0.2s ease, text-decoration 0.2s ease;
  font-size: 0.84rem;
}
.rich-footer a:hover {
  color: #EAB308; /* gold */
  text-decoration: underline;
}
.footer-back-to-top {
  background: #361B20;
  color: #FBF7EF;
  text-align: center;
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(231, 222, 206, 0.08);
}
.footer-back-to-top:hover {
  background: #4A252C;
}
.footer-cols-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 45px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Fraunces', Georgia, serif;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-divider {
  border-top: 1px solid rgba(231, 222, 206, 0.08);
}
.footer-brand-row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-brand-logo img {
  height: 34px;
  object-fit: contain;
  border-radius: 4px;
}
.footer-controls {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-select-btn {
  background: rgba(255, 255, 255, 0.03);
  color: #E7DECE;
  border: 1px solid rgba(231, 222, 206, 0.25);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.footer-select-btn:hover {
  border-color: #EAB308;
  background: rgba(255, 255, 255, 0.08);
}
.footer-bottom-row {
  background: #150A0C; /* even darker bottom bar */
  padding: 22px 20px;
  font-size: 0.8rem;
  color: #A39789;
  border-top: 1px solid rgba(231, 222, 206, 0.05);
}
.footer-bottom-content {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-socials {
  display: flex;
  gap: 14px;
}
.footer-socials a {
  color: #A39789;
  display: inline-flex;
  transition: color 0.2s, transform 0.2s;
}
.footer-socials a:hover {
  color: #EAB308;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .footer-cols-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .footer-cols-wrap {
    grid-template-columns: 1fr;
  }
}


/* Wishlist Button styling */
.wishlist-btn {
  background: none !important;
  border: none !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  color: #9CA3AF !important;
  flex-shrink: 0 !important;
  outline: none !important;
}
.wishlist-btn:hover {
  transform: scale(1.15) !important;
  color: #9F1239 !important;
}
.wishlist-btn.wishlisted {
  color: #9F1239 !important;
}



/* Visitor Counter Breathing Animation */
@keyframes blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Responsive navigation header for smaller screens */
@media (max-width: 768px) {
  .nav {
    height: auto !important;
    flex-wrap: wrap !important;
    padding: 10px 16px !important;
    gap: 12px 10px !important;
  }
  /* Force search bar container to wrap to next line and take full width */
  .nav > div[style*="max-width:800px"] {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin: 4px 0 0 0 !important;
    order: 3 !important;
  }
  .brand {
    font-size: 1.2rem !important;
  }
}

/* ==========================================================================
   Premium SweetAlert2 & Toast Luxury Overrides
   ========================================================================== */
.swal2-popup {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  background: #FAF9F6 !important; /* Soft premium cream */
  border: 1.5px solid rgba(196, 164, 104, 0.35) !important; /* Elegant gold border */
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(45, 40, 36, 0.12) !important;
}

.swal2-title {
  font-family: 'Fraunces', Georgia, serif !important;
  color: var(--ink, #1F1A17) !important;
  font-weight: 600 !important;
  font-size: 1.5rem !important;
}

.swal2-html-container {
  color: var(--slate, #565959) !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

.swal2-actions {
  gap: 12px !important;
  margin-top: 20px !important;
}

/* Confirm and Cancel Pill Buttons */
.swal2-confirm {
  background-color: var(--crimson, #A21C3C) !important;
  color: #ffffff !important;
  border-radius: 24px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 12px 28px !important;
  box-shadow: 0 4px 12px rgba(162, 28, 60, 0.15) !important;
  border: none !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.swal2-confirm:hover {
  background-color: #B22C4C !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(162, 28, 60, 0.25) !important;
}

.swal2-deny {
  background-color: #EF4444 !important;
  color: #ffffff !important;
  border-radius: 24px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 12px 28px !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15) !important;
  border: none !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.swal2-deny:hover {
  background-color: #DC2626 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25) !important;
}

.swal2-cancel {
  background-color: transparent !important;
  color: var(--slate, #565959) !important;
  border: 1.5px solid var(--line-soft, #EAE0D3) !important;
  border-radius: 24px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 12px 28px !important;
  transition: all 0.2s ease !important;
}

.swal2-cancel:hover {
  background-color: rgba(0, 0, 0, 0.02) !important;
  color: var(--ink, #1F1A17) !important;
  border-color: var(--slate, #565959) !important;
}

/* Custom Success/Error Icons */
.swal2-icon.swal2-success {
  border-color: #15803d !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
  border: .25em solid rgba(21, 128, 61, 0.2) !important;
}
.swal2-icon.swal2-success [class^=swal2-success-line] {
  background-color: #15803d !important;
}
.swal2-icon.swal2-error {
  border-color: #b91c1c !important;
}
.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
  background-color: #b91c1c !important;
}

/* Custom Toast Overrides */
.swal2-popup.swal2-toast {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(140, 98, 33, 0.25) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(45, 40, 36, 0.08) !important;
  padding: 12px 16px !important;
}

.swal2-popup.swal2-toast .swal2-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--ink, #1F1A17) !important;
}

.swal2-popup.swal2-toast .swal2-html-container {
  font-size: 0.8rem !important;
}

.swal2-timer-progress-bar {
  background: var(--crimson, #A21C3C) !important;
}

/* Shift SweetAlert2 toast notifications below the sticky header & category bar globally with top z-index layer */
.swal2-container {
  z-index: 99999999 !important;
}
.swal2-container.swal2-top-end,
.swal2-container.swal2-top-right {
  top: 135px !important;
}

/* Navigation Pulsing Link Animation */
.nav a.pulse-link {
  display: inline-block;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #90302E 30%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.3s ease, transform 0.2s ease;
  animation: elegantTextPulse 3s infinite ease-in-out;
}

.nav a.pulse-link:hover {
  filter: brightness(1.2);
  transform: translateY(-0.5px);
}

@keyframes elegantTextPulse {
  0%, 100% {
    filter: drop-shadow(0 0 0px rgba(217, 119, 6, 0));
  }
  50% {
    filter: drop-shadow(0 0 1.5px rgba(217, 119, 6, 0.45));
  }
}

/* Mobile Hamburger Menu & Slide-out Drawer Styles */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: transform 0.25s ease;
}

.hamburger-btn:hover {
  color: var(--crimson);
  transform: scale(1.05);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 5, 7, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2147483640 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: min(86vw, 340px);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 2147483646 !important;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: max(20px, env(safe-area-inset-top, 0px)) 24px calc(24px + var(--mobile-safe-bottom));
  box-sizing: border-box;
}

.mobile-nav-drawer.open {
  right: 0 !important;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--line-soft);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.drawer-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--crimson);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--slate);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: color 0.2s ease;
}

.drawer-close-btn:hover {
  color: var(--crimson);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-links a:not(.btn) {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--slate);
  display: block;
  padding: 10px 0;
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(0,0,0,0.02);
}

.drawer-links a:not(.btn):hover {
  color: var(--crimson);
  border-bottom-color: rgba(144, 48, 46, 0.15);
}

.drawer-link-meta {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.btn.block {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Global Table & Layout Responsiveness Helpers */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.table-responsive table {
  margin-bottom: 0 !important;
}

@media (max-width: 1200px) {
  .hamburger-btn {
    display: inline-flex !important;
  }
  .nav-links-desktop {
    display: none !important;
  }
  .nav {
    padding: 10px 16px;
  }
  .nav-search-container {
    margin: 8px 0 0 0 !important;
  }
}

@media (max-width: 560px) {
  .nav-actions-right {
    gap: 8px !important;
  }
  .nav-actions-right .btn {
    padding: 6px 10px !important;
    font-size: 0.8rem !important;
  }
  .nav-actions-right .link {
    font-size: 0.8rem !important;
  }
}

/* Prevent tables and footers from getting cut off on mobile/tablet viewports due to browser url-bar/bottom navigators */
@media (max-width: 1023px) {
  #mainShell main {
    padding-bottom: 80px !important;
  }
}

/* Navigation icon overrides */
.nav-links-desktop {
  gap: 12px !important;
}

.nav-links-desktop .nav-text {
  display: inline-block !important;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.02em !important;
  transition: max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, margin 0.25s ease !important;
  margin-left: 0 !important;
  vertical-align: middle;
}

.nav-links-desktop a.link:hover .nav-text {
  max-width: 100px;
  opacity: 1;
  margin-left: 6px !important;
}

.nav-links-desktop a.link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 8px 12px !important;
  border-radius: 24px !important;
  color: var(--slate, #4b5563) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
}

.nav-links-desktop a.link:hover {
  color: var(--crimson, #A21C3C) !important;
  background-color: rgba(162, 28, 60, 0.06) !important;
  border-color: rgba(162, 28, 60, 0.1) !important;
  transform: translateY(-1px) !important;
}

.nav-links-desktop a.link svg {
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-links-desktop a.link:hover svg {
  transform: scale(1.05) !important;
}

.nav-links-desktop a.link #cartcount,
.nav-links-desktop a.link #notificationBadge,
.drawer-links a #cartcount,
.drawer-links a #notificationBadge {
  position: relative !important;
  top: -8px !important;
  left: -8px !important;
  margin-right: -16px !important;
  margin-left: 0 !important;
  transform: none !important;
  display: inline-flex !important;
  z-index: 10 !important;
  align-self: flex-start !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.drawer-links a {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 8px;
}
.drawer-links .nav-text {
  display: inline !important;
}

/* Global visual-only spinner loader classes */
.cart-loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.cart-loader-spinner {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(162, 28, 60, 0.12);
  border-top-color: var(--crimson, #a21c3c);
  border-radius: 50%;
  animation: cart-spin 1s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
}
@keyframes cart-spin {
  to { transform: rotate(360deg); }
}

/* Highlights 2x2 grid container */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 20px; /* Positioned below featured grid */
  position: relative;
  z-index: 10;
}

/* Individual Highlight Card */
.highlight-card {
  background: #FAF7F2; /* Luxury alabaster parchment background */
  border: 1px solid rgba(196, 164, 104, 0.45); /* thin gold border */
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  box-shadow:
    0 8px 24px rgba(61, 59, 48, 0.03),
    inset 0 0 0 4px #FAF7F2,
    inset 0 0 0 5.5px rgba(196, 164, 104, 0.2); /* Double gold inner frame matching featured-card */
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-color 0.4s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(61, 59, 48, 0.08),
    inset 0 0 0 4px #FAF7F2,
    inset 0 0 0 5.5px rgba(196, 164, 104, 0.35); /* Double gold inner frame brightens */
  border-color: rgba(196, 164, 104, 0.7);
}

.highlight-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A0508;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

/* 2x2 Grid inside the card */
.highlight-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 10px;
  flex-grow: 1;
  margin-bottom: 16px;
}

/* Individual Cell inside 2x2 */
.highlight-cell {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.highlight-cell:hover {
  opacity: 0.95;
}

/* Image Container */
.highlight-cell .img-box {
  background: #ffffff;
  border-radius: 6px;
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
  border: 1px solid rgba(196, 164, 104, 0.25);
}

.highlight-cell .img-box-contain {
  background: #ffffff;
  border-radius: 6px;
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
  border: 1px solid rgba(196, 164, 104, 0.25);
  padding: 8px;
}

.highlight-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-cell:hover img {
  transform: scale(1.06);
}

/* Text elements inside cell */
.highlight-cell .cell-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #262223;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.highlight-cell .cell-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--slate, #6b7280);
  margin-top: 1px;
}

/* Footer link inside card */
.highlight-footer {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: #A21C3C;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: color 0.2s ease;
}

.highlight-footer:hover {
  color: #c5294e;
}

.highlight-footer .arrow {
  transition: transform 0.2s ease;
}

.highlight-footer:hover .arrow {
  transform: translateX(4px);
}

/* Responsiveness breakpoints */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    margin-top: 16px !important;
    gap: 16px !important;
  }
}

@media (max-width: 576px) {
  .highlights-grid {
    grid-template-columns: 1fr !important;
    margin-top: 12px !important;
    gap: 16px !important;
  }
}

/* ---------- HTML Slide inside Hero Carousel ---------- */
.carousel-slide.html-slide {
  background: linear-gradient(135deg, #11201A 0%, #09120E 100%) !important; /* Premium dark forest gradient */
  color: #FAF6EE !important;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px !important;
}

.hero-html-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 35px 40px !important;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #1B3A2F 0%, #122820 100%) !important;
  border: 2px solid #C4A468 !important; /* Gold border frame */
  border-radius: 20px !important;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5), 0 20px 45px rgba(0,0,0,0.6) !important;
  overflow: hidden;
}

.hero-html-wrap::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 0.05 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 18c22 8 26 34 12 50-9 11-26 13-34 4-7-8-4-20 5-24 7-3 15 1 16 9 1 6-5 10-10 8' fill='none' stroke='%23F7DCA8' stroke-width='2.5'/%3E%3C/svg%3E") !important;
  background-size: 120px !important;
  pointer-events: none !important;
  border-radius: 18px !important;
  z-index: 1;
}

@media(max-width: 860px) {
  .hero-html-wrap {
    grid-template-columns: 1fr;
    padding: 24px 20px !important;
    gap: 24px;
    height: auto !important;
    max-height: 90% !important;
    overflow-y: auto !important;
  }
}

.hero-html-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem) !important;
  line-height: 1.2 !important;
  margin-bottom: 12px !important;
  color: #FAF6EE !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
  margin-top: 0 !important;
  letter-spacing: -0.01em !important;
  z-index: 2;
  position: relative;
}

.hero-html-title span {
  color: #E8A020 !important; /* Kesar gold */
}

.hero-html-lead {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.92rem !important;
  max-width: 34rem;
  color: #DCE7DF !important;
  margin-bottom: 24px !important;
  line-height: 1.55;
  z-index: 2;
  position: relative;
}

.hero-html-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  z-index: 2;
  position: relative;
}

.hero-html-cta {
  display: inline-block;
  background: #E8A020 !important; /* Kesar */
  color: #1B3A2F !important; /* Pine */
  font-family: 'Inter', sans-serif !important;
  font-weight: 800 !important;
  padding: 11px 24px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
  font-size: 0.92rem !important;
  border: 2px solid transparent !important;
  box-shadow: 0 4px 15px rgba(232, 160, 32, 0.25);
}

.hero-html-cta:hover {
  background: #f1ab29 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 160, 32, 0.35);
}

.hero-html-cta.ghost {
  background: transparent !important;
  color: #FAF6EE !important;
  border: 2px solid #E8A020 !important;
  box-shadow: none !important;
}

.hero-html-cta.ghost:hover {
  background: rgba(232, 160, 32, 0.12) !important;
  transform: translateY(-2px);
}

.hero-html-trust {
  background: linear-gradient(to bottom, #FCFBF9, #F5F1E9) !important;
  border-radius: 14px !important;
  padding: 22px 26px !important;
  color: #3E2F23 !important; /* Walnut */
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35) !important;
  border: 1.5px solid #C4A468 !important;
  position: relative !important;
  z-index: 2;
}

.hero-html-trust::after {
  content: '' !important;
  position: absolute !important;
  top: 4px !important;
  left: 4px !important;
  right: 4px !important;
  bottom: 4px !important;
  border: 1px dashed rgba(196, 164, 104, 0.5) !important;
  border-radius: 10px !important;
  pointer-events: none !important;
}

@media(max-width: 860px) {
  .hero-html-trust {
    padding: 16px 20px !important;
  }
}

.hero-html-trust h2 {
  font-family: 'Yatra One', 'Cormorant Garamond', serif !important;
  font-size: 1.1rem !important;
  color: #1B3A2F !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.hero-html-trust ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-html-trust li {
  display: flex !important;
  gap: 10px !important;
  align-items: flex-start !important;
  padding: 6px 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.45;
  border-bottom: 1px solid rgba(228, 220, 203, 0.4) !important;
}

.hero-html-trust li:last-child {
  border-bottom: none !important;
}

.hero-html-trust li b {
  color: #1E7A3C !important;
}

.hero-html-tick {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #1E7A3C !important;
  color: #FFFFFF !important;
  display: grid !important;
  place-items: center !important;
  font-size: 11px !important;
  margin-top: 2px !important;
  font-weight: bold !important;
}

/* ============================================
   CURATED FEATURED CATEGORY TAB BAR
   ============================================ */
.curated-tabs-wrap {
  position: relative;
  z-index: 5;
  margin-bottom: -18px;
}
.curated-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.curated-tabs::-webkit-scrollbar { display: none; }
.curated-tab {
  position: relative;
  flex: 1 1 0;
  min-width: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 14px 26px;
  cursor: pointer;
  background: linear-gradient(160deg, #3A0E14 0%, #1B0508 100%);
  color: #FAF1E6;
  border: none;
  list-style: none;
  font-family: 'Inter', sans-serif;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  margin-left: -14px;
  transition: filter 0.25s ease, transform 0.25s ease;
}
.curated-tab:first-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }
.curated-tab:last-child { clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.curated-tab.tab-all {
  background: linear-gradient(160deg, #C4536A 0%, #90302E 100%);
  flex: 0 0 90px;
  min-width: 90px;
}
.curated-tab .tab-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.curated-tab .tab-icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.curated-tab .tab-label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
}
.curated-tab:hover { filter: brightness(1.18); }
.curated-tab.active {
  background: linear-gradient(160deg, #C81E3E 0%, #8C1229 100%);
  transform: translateY(-6px);
  z-index: 3;
  box-shadow: 0 10px 24px rgba(162, 28, 60, 0.35);
}
@media (max-width: 767px) {
  .curated-tab { min-width: 92px; padding: 14px 8px 18px; clip-path: none !important; margin-left: 4px; border-radius: 10px; }
  .curated-tab.tab-all { flex: 0 0 64px; min-width: 64px; }
  .curated-tab .tab-label { font-size: .6rem; }
  .curated-tabs-wrap { margin-bottom: -10px; }
}

/* ---------- Price Band Styles ---------- */
.bandhead {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}
.pricetag {
  position: relative !important;
  background: #1B3A2F !important; /* Default Pine */
  color: #E8A020 !important; /* Kesar */
  font-family: 'Inter', sans-serif !important;
  font-size: 1.35rem !important;
  padding: 0.35rem 1rem 0.35rem 1.4rem !important;
  border-radius: 6px 999px 999px 6px !important;
  display: inline-block !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}
.pricetag::before {
  content: "" !important;
  position: absolute !important;
  left: 0.65rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 0.35rem !important;
  height: 0.35rem !important;
  border-radius: 50% !important;
  background: #FAF6EE !important; /* Ivory */
}
.pricetag.b1 { background: #8c6221 !important; color: #FAF6EE !important; } /* Warm Gold/Bronze */
.pricetag.b2 { background: #a21c3c !important; color: #FAF6EE !important; } /* Ruby Crimson */
.pricetag.b3 { background: #6B4A2B !important; color: #FAF6EE !important; }
.pricetag.b4 { background: #8A3B2E !important; color: #FFE2B8 !important; }
.pricetag.b5 { background: #2B2118 !important; color: #E8A020 !important; }

.bandsub {
  color: #111827 !important; /* Dark color */
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
}
.seeall {
  margin-left: auto !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: #C4A468 !important; /* Gold see all link */
  font-size: 0.92rem !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.seeall:hover {
  color: #E8A020 !important;
}

/* Category gradient background styles on product cards (.pimg) */
.pimg.m-shawl { background: linear-gradient(150deg, #F3E4D4 0%, #DFC3A6 100%) !important; }
.pimg.m-wood { background: linear-gradient(150deg, #EFE0CC 0%, #CBA576 100%) !important; }
.pimg.m-suit { background: linear-gradient(150deg, #E9E3F2 0%, #C6B7DC 100%) !important; }
.pimg.m-bag { background: linear-gradient(150deg, #E4EEE7 0%, #B9D2C2 100%) !important; }
.pimg.m-kangri { background: linear-gradient(150deg, #F6E7D2 0%, #E3B37E 100%) !important; }
.pimg.m-saffron { background: linear-gradient(150deg, #FBE8D8 0%, #F0B267 100%) !important; }
.pimg.m-art { background: linear-gradient(150deg, #E2EDF2 0%, #A9C8D6 100%) !important; }
.pimg.m-pheran { background: linear-gradient(150deg, #F0E4E0 0%, #D3A79B 100%) !important; }
.pimg.m-jewel { background: linear-gradient(150deg, #F5E9DA 0%, #E0C08A 100%) !important; }

/* Ribbon overlay on card images */
.ctag {
  position: absolute !important;
  left: 10px !important;
  top: 10px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #1B3A2F !important; /* Pine */
  font-family: 'Inter', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  border-radius: 99px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08) !important;
  z-index: 2 !important;
}

/* Custom cols-6 grid & compact card quick add to cart floating action button styling */
.cols-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
@media (max-width: 1200px) {
  .cols-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .cols-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cols-6 {
    grid-template-columns: 1fr !important;
  }
}

.pcard-cart-icon-btn {
  position: relative !important;
  background: linear-gradient(135deg, #FFF9EC 0%, #FDF0D5 100%) !important;
  color: #7A0C2E !important;
  border: 1.2px solid #E6CA65 !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(122, 12, 46, 0.12) !important;
  padding: 0 !important;
}
.pcard-cart-icon-btn:hover {
  background: linear-gradient(135deg, #7A0C2E 0%, #A21C3C 100%) !important;
  color: #FFFFFF !important;
  border-color: #D4AF37 !important;
  transform: scale(1.12) translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(122, 12, 46, 0.35) !important;
}
.pcard-cart-icon-btn:active {
  transform: scale(0.92) !important;
}
.pcard-cart-icon-btn .cart-plus-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  background: #A21C3C !important;
  color: #FFFFFF !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #FFFFFF !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease !important;
}
.pcard-cart-icon-btn:hover .cart-plus-badge {
  background: #FDE047 !important;
  color: #50071E !important;
  transform: scale(1.15) !important;
}
.pcard-cart-icon-btn.out-of-stock {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
}
.pcard-cart-icon-btn.out-of-stock:hover {
  background: #e2e8f0 !important;
  color: #475569 !important;
  border-color: #94a3b8 !important;
  transform: scale(1.08) !important;
}
.pcard-cart-icon-btn.out-of-stock .cart-plus-badge {
  display: none !important;
}

/* Unique glowing hover effects specifically for the Raksha Bandhan special gifts list card row */
#rakhi-gifts-row .pcard {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#rakhi-gifts-row .pcard:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(196, 164, 104, 0.35), 0 0 15px rgba(162, 28, 60, 0.25) !important;
  border-color: #C4A468 !important;
}



/* ============================================
   GET OUR APP — Professional Banner
   ============================================ */

.app-download-banner {
  background: transparent;
  padding: 28px 20px;
  position: relative;
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-download-banner.open {
  opacity: 1;
  transform: translateY(0);
  max-height: 900px;
}

/* MAIN FLOATING CARD */
.app-hero-wrap {
  max-width: 100%;
  margin: 0 auto;
  padding: 44px 50px;
  min-height: 390px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  background: linear-gradient(135deg, #FDFBF7 0%, #F4EAD8 100%);
  border: 1.5px solid #D4B67C;
  border-radius: 26px;
  box-shadow:
    0 14px 38px rgba(46, 16, 21, 0.08),
    inset 0 0 0 4px #FDFBF7,
    inset 0 0 0 5.5px rgba(196, 164, 104, 0.22);
  overflow: hidden;
}

/* faint watermark texture in background */
.app-hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 18c22 8 26 34 12 50-9 11-26 13-34 4-7-8-4-20 5-24 7-3 15 1 16 9 1 6-5 10-10 8' fill='none' stroke='%23904E1B' stroke-width='2.5'/%3E%3C/svg%3E");
  background-size: 130px;
  pointer-events: none;
  z-index: 0;
}

/* thin top accent line — tricolour weave signature */
.app-hero-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron) 0 33%, var(--crimson) 33% 66%, var(--pine) 66% 100%);
  z-index: 1;
}

/* ---------- LEFT: CONTENT ---------- */
.app-hero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
  position: relative;
}

/* Tag — matches navbar .brand styling: Georgia serif, maroon */
.app-hero-tag {
  font-family: Georgia, serif;
  font-size: .85rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #90302E;
}

/* Heading — same Georgia/maroon language  */
.app-hero-heading {
  font-family: Georgia, serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.18;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  color: #90302E;
  margin: 0;
  letter-spacing: -.02em;
}

.app-hero-heading .flourish {
  font-family: Georgia, serif;
  font-weight: 600;
  color: #C4A468;
  font-size: 1.4rem;
  margin-left: 4px;
  position: relative;
  top: -2px;
}

/* same pattern as .hero p.lead */
.app-hero-desc {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.55;
  max-width: 38ch;
  margin: 0 0 4px;
}

/* FEATURES — pill-style chips */
.app-hero-features {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.app-hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(196, 164, 104, 0.35);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.app-hero-feature:hover {
  background: #ffffff;
  border-color: rgba(159, 18, 57, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(159, 18, 57, 0.08);
}

.app-hero-feature img,
.app-hero-feature svg {
  width: 20px;
  height: 20px;
  color: var(--crimson);
  flex-shrink: 0;
}

.app-hero-feature span {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- CENTER: APP SCREENSHOT — framed display card ---------- */
.app-hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 2;
  position: relative;
}

.app-hero-image-box {
  width: fit-content;
  max-width: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF3E4 100%);
  border: 1.5px solid #C4A468;
  border-radius: 22px;
  box-shadow:
    0 18px 34px rgba(46, 16, 21, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  position: relative;
}

.app-hero-image-box::before,
.app-hero-image-box::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #C4A468;
  opacity: 0.55;
}
.app-hero-image-box::before {
  top: 6px; left: 6px;
  border-right: none;
  border-bottom: none;
  border-radius: 6px 0 0 0;
}
.app-hero-image-box::after {
  bottom: 6px; right: 6px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 6px 0;
}

.app-hero-hand-img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: clamp(160px, 26vw, 300px);
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(46, 16, 21, 0.08);
}

/* ---------- RIGHT: OFFICIAL APP CARD ---------- */
.app-hero-official-card {
  background: linear-gradient(180deg, #381119 0%, #1D070B 100%);
  border: 1.5px solid #D4B67C;
  border-radius: 22px;
  padding: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(212, 182, 124, 0.15);
  z-index: 2;
  text-align: center;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.official-card-title {
  width: 100%;
  background: linear-gradient(180deg, #EAD19B 0%, #B8934A 100%);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #2B0D13;
  padding: 14px 16px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
}

.official-badge-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 4px 22px;
  box-sizing: border-box;
}

.official-for-label {
  font-size: .68rem;
  font-weight: 700;
  color: #E2C58A;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.official-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #000000 !important;
  border: 1.5px solid #C4A468 !important;
  border-radius: 12px;
  padding: 11px 18px;
  width: 100%;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.official-badge:hover {
  transform: translateY(-2px);
  border-color: #F3E0B5 !important;
  box-shadow: 0 6px 16px rgba(212, 182, 124, 0.25);
}

.official-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.official-badge-label {
  font-size: .62rem;
  color: #D4B67C !important;
  font-weight: 500;
}

.official-badge-brand {
  font-size: .94rem;
  font-weight: 700;
  color: #FFFFFF !important;
}

.official-badge svg,
.official-badge img {
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
}

.official-card-footer {
  font-size: .85rem;
  color: #E2C58A;
  font-style: italic;
  margin-top: 4px;
  padding: 10px 20px 0;
  border-top: 1px solid rgba(212, 182, 124, 0.18);
  width: calc(100% - 40px);
}

/* DECORATIVE LEAF */
.app-hero-leaf {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 68px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

/* ================================
   RESPONSIVE BREAKPOINTS
   ================================ */

@media (max-width: 1200px) {
  .app-hero-wrap {
    grid-template-columns: 1fr 0.95fr;
    padding: 36px 34px;
    gap: 28px;
  }
  .app-hero-official-card {
    grid-column: 1 / -1;
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .app-hero-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 34px 26px;
    gap: 30px;
    min-height: auto;
  }
  .app-hero-desc {
    max-width: 100%;
  }
  .app-hero-features {
    justify-content: center;
  }
  .app-hero-official-card {
    max-width: 320px;
    width: 100%;
  }
  .app-hero-leaf {
    display: none;
  }
}

@media (max-width: 768px) {
  .app-hero-wrap {
    padding: 30px 20px;
    gap: 24px;
    border-radius: 20px;
  }
  .app-hero-heading {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .app-hero-desc {
    font-size: 0.9rem;
  }
  .app-hero-feature {
    padding: 7px 12px 7px 8px;
  }
  .app-hero-feature span {
    font-size: 0.72rem;
  }
  .app-hero-feature img,
  .app-hero-feature svg {
    width: 18px;
    height: 18px;
  }
  .app-hero-image-box {
    padding: 10px;
    border-radius: 18px;
  }
  .app-hero-hand-img {
    max-height: clamp(180px, 55vw, 260px);
    border-radius: 10px;
  }
  .app-hero-official-card {
    max-width: 280px;
  }
  .official-badge {
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .app-download-banner {
    padding: 18px 12px;
  }
  .app-hero-wrap {
    padding: 24px 16px;
    gap: 20px;
    border-radius: 16px;
  }
  .app-hero-tag {
    font-size: 0.68rem;
  }
  .app-hero-heading {
    font-size: clamp(1.3rem, 7vw, 1.7rem);
  }
  .app-hero-desc {
    font-size: 0.86rem;
    max-width: 32ch;
    margin: 0 auto 4px;
  }
  .app-hero-features {
    gap: 8px;
    justify-content: center;
  }
  .app-hero-image-box {
    padding: 8px;
    border-radius: 14px;
  }
  .app-hero-image-box::before,
  .app-hero-image-box::after {
    width: 14px;
    height: 14px;
  }
  .app-hero-hand-img {
    max-height: clamp(160px, 62vw, 220px);
    border-radius: 8px;
  }
  .app-hero-official-card {
    max-width: 100%;
    border-radius: 18px;
  }
  .official-card-title {
    font-size: 0.72rem;
    padding: 11px 12px;
  }
  .official-badge-brand {
    font-size: 0.86rem;
  }
  .official-for-label {
    font-size: 0.62rem;
  }
}

@media (max-width: 360px) {
  .app-hero-heading {
    font-size: 1.2rem;
  }
  .app-hero-hand-img {
    max-height: 180px;
  }
  .app-hero-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }
}
/* Mobile view  App Banner  Right Download Card show only */
@media (max-width: 768px) {
  /* Hide left and center image */
  #app-download-banner .app-hero-content,
  #app-download-banner .app-hero-phone-wrap {
    display: none !important;
  }

  /* fit right card on mobile view */
  #app-download-banner .app-hero-official-card {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }
}
/* =========================================================
   SHARED RESPONSIVE SHELL — Phase 1
   Scoped to the shared app.js header so page business logic stays untouched.
   ========================================================= */
.mobile-nav-drawer{right:-100%}
.mobile-nav-drawer.open{right:0}

@media (max-width: 767px) {
  :root{--shell-gutter:14px}
  html{scroll-padding-top:126px}
  .desktop-only{display:none!important}
  .mobile-only{display:initial!important}
  #app-header{min-height:118px}
  .nav{min-height:auto;padding:8px var(--shell-gutter) 10px;gap:8px 10px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
  .brand{order:1;min-width:0;font-size:1.05rem;gap:7px;justify-self:start}
  .brand-logo{height:34px;max-width:44px}
  .brand-name{overflow:hidden;text-overflow:ellipsis}
  .nav-actions-right{order:2;justify-self:end;gap:6px!important;min-width:0}
  .nav-actions-right>.link,.nav-actions-right>.btn{display:none!important}
  .hamburger-btn{width:36px;height:36px;padding:8px;display:inline-flex!important;border-radius:50%;background:var(--line-soft);border:1px solid rgba(0,0,0,0.05);align-items:center;justify-content:center;}
  .nav-search-container{order:3;grid-column:1/-1;width:100%;max-width:none;margin:0!important;min-width:0}
  .global-search-form{border-radius:7px}
  .header-category-select{width:72px;max-width:72px;height:42px;padding-inline:8px;font-size:.75rem}
  .header-search-input{height:42px;padding-inline:10px;font-size:16px}
  .header-search-submit{height:42px;flex-basis:44px;width:44px}
  .search-suggestions{position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:0!important;width:100%!important;max-height:min(340px,55vh)!important;box-shadow:0 12px 36px rgba(0,0,0,0.25)!important;z-index:999999!important;background:#fff!important;border:1.5px solid #D4AF37!important;border-radius:12px!important;overflow-y:auto!important;}
  .drawer-links a{min-height:44px;display:flex;align-items:center;padding:10px 4px}
  .swal2-container.swal2-top-end,.swal2-container.swal2-top-right{top:135px!important}
}

@media (max-width: 560px) {
  .nav { padding: 6px var(--shell-gutter) 8px; gap: 6px; }
  .brand { font-size: 1.15rem; gap: 4px; }
  .brand-logo { height: 32px; max-width: 32px; }
  .hamburger-btn { width: 32px; height: 32px; padding: 6px; }
  .nav-circle-btn { width: 32px; height: 32px; }
  .nav-actions-right { gap: 4px !important; }
}

@media (max-width: 374px) {
  :root{--shell-gutter:10px}
  .brand-name{font-size:.96rem}
  .header-category-select{display:none}
  .header-search-input{padding-left:12px}
}

@media (prefers-reduced-motion: reduce) {
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* =========================================================
   BUYER JOURNEY MOBILE HARDENING — Phase 6
   Shared guardrails for forms, dialogs, tables, footer and chatbot.
   ========================================================= */
@media (max-width: 767px) {
  main,main>section,.wrap,.block,.card{min-width:0}
  img,video,canvas,iframe{max-width:100%}
  input,select,textarea{font-size:16px}
  textarea{max-width:100%;resize:vertical}
  .table-responsive{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  dialog,.modal-content,[role="dialog"]{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box}
  .empty,.notice,.alert{max-width:100%;overflow-wrap:anywhere}
  footer.site,.rich-footer{max-width:100%;overflow-x:clip}
  footer.site .wrap{padding-inline:14px}
  .footer-cols-wrap{gap:22px 18px}
  .footer-bottom-content,.footer-controls{flex-wrap:wrap;justify-content:center}
  body #jkk-chat-toggle{right:14px;bottom:14px;width:54px;height:54px}
  body #jkk-chat-panel{right:12px;bottom:78px;width:calc(100vw - 24px);max-width:380px;height:min(460px,calc(100dvh - 160px))}
}

@media (max-width: 374px) {
  dialog,.modal-content,[role="dialog"]{max-width:calc(100vw - 16px)}
  footer.site .wrap{padding-inline:10px}
  body #jkk-chat-toggle{right:10px;bottom:10px;width:50px;height:50px}
  body #jkk-chat-panel{right:8px;bottom:68px;width:calc(100vw - 16px)}
}

/* =========================================================
   📱 MOBILE BOTTOM NAVIGATION BAR STYLING (App style)
   ========================================================= */
.mobile-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 56px !important;
  background: #ffffff !important;
  display: none; /* Hidden on desktop */
  justify-content: space-around !important;
  align-items: center !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
  z-index: 99990 !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  box-sizing: content-box !important;
}

.mobile-nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important; /* Slate grey */
  text-decoration: none !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  gap: 2px !important;
  flex: 1 !important;
  height: 100% !important;
  padding: 4px 0 !important;
  transition: color 0.2s ease, transform 0.15s ease !important;
  position: relative !important;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  transition: transform 0.2s ease, stroke 0.2s ease !important;
  flex-shrink: 0 !important;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: #A21C3C !important; /* Crimson theme */
}

.mobile-nav-item.active svg {
  transform: scale(1.12) !important;
  stroke: #A21C3C !important;
}

.mobile-nav-item.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  background-color: #A21C3C;
  border-radius: 0 0 3px 3px;
}

/* Cart badge positioning on mobile bottom nav */
.mobile-nav-item .cart-badge {
  position: absolute !important;
  top: 3px !important;
  left: 50% !important;
  margin-left: 3px !important;
  background: #A21C3C !important;
  color: #ffffff !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  min-width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #ffffff !important;
  padding: 0 4px !important;
  box-shadow: 0 2px 4px rgba(162, 28, 60, 0.3) !important;
}

/* Responsive query for mobile viewports */
@media (max-width: 991px) {
  .mobile-bottom-nav {
    display: flex !important;
  }

  body {
    padding-bottom: 0 !important;
  }

  /* Ensure footer bottom row background fills completely down behind mobile bottom nav with no transparent video gap */
  .rich-footer, footer.site {
    padding-bottom: 0 !important;
  }
  .footer-bottom-row {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .footer-brand-row {
    gap: 16px !important;
    padding: 20px 14px !important;
  }

  /* Shift chatbot toggle and panel above the mobile bottom nav bar */
  body #jkk-chat-toggle {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body #jkk-chat-panel {
    bottom: calc(134px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Mobile Auth Link and Button styling in Header */
@media (max-width: 1200px) {
  .nav-actions-right > .mobile-auth-link {
    display: inline-flex !important;
    font-size: 0.8rem !important;
    font-weight: 600;
    color: #FFF2D9 !important;
    align-items: center;
    margin-right: 6px;
    vertical-align: middle;
  }
  .nav-actions-right > .mobile-auth-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    height: 30px !important;
    line-height: 1 !important;
    border-radius: 20px !important;
    vertical-align: middle;
  }
}
@media (max-width: 767px) {
  .nav-actions-right > .mobile-auth-link {
    display: inline-flex !important;
    font-size: 0.76rem !important;
    margin-right: 4px;
    color: #FFF2D9 !important;
  }
  .nav-actions-right > .mobile-auth-btn {
    display: inline-flex !important;
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
    height: 26px !important;
    border-radius: 20px !important;
  }

  /* Shift overlay and drawer above all mobile elements */
  .mobile-nav-overlay {
    z-index: 2147483640 !important;
  }
  .mobile-nav-drawer {
    z-index: 2147483646 !important;
    right: -360px !important;
  }
  .mobile-nav-drawer.open {
    right: 0 !important;
  }
}

/* =========================================================
   🛒 HEADER ACTION BUTTONS & CART COUNTER POSITIONING (CSS ONLY)
   ========================================================= */
.nav-actions-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.nav-actions-right .nav-circle-btn,
.nav-actions-right a[href*="cart"],
.nav-actions-right a[href*="wishlist"] {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  margin: 0 2px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.nav-actions-right #cartcount,
.nav-actions-right .cart-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  z-index: 2 !important;
}
.nav-actions-right { gap: 4px !important; }

@media (max-width: 374px) {
  :root{--shell-gutter:10px}
  .brand-name{font-size:.96rem}
  .header-category-select{display:none}
  .header-search-input{padding-left:12px}
}

@media (prefers-reduced-motion: reduce) {
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* =========================================================
   BUYER JOURNEY MOBILE HARDENING — Phase 6
   Shared guardrails for forms, dialogs, tables, footer and chatbot.
   ========================================================= */
@media (max-width: 767px) {
  main,main>section,.wrap,.block,.card{min-width:0}
  img,video,canvas,iframe{max-width:100%}
  input,select,textarea{font-size:16px}
  textarea{max-width:100%;resize:vertical}
  .table-responsive{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  dialog,.modal-content,[role="dialog"]{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box}
  .empty,.notice,.alert{max-width:100%;overflow-wrap:anywhere}
  footer.site,.rich-footer{max-width:100%;overflow-x:clip}
  footer.site .wrap{padding-inline:14px}
  .footer-cols-wrap{gap:22px 18px}
  .footer-bottom-content,.footer-controls{flex-wrap:wrap;justify-content:center}
  body #jkk-chat-toggle{right:14px;bottom:14px;width:54px;height:54px}
  body #jkk-chat-panel{right:12px;bottom:78px;width:calc(100vw - 24px);max-width:380px;height:min(460px,calc(100dvh - 160px))}
}

@media (max-width: 374px) {
  dialog,.modal-content,[role="dialog"]{max-width:calc(100vw - 16px)}
  footer.site .wrap{padding-inline:10px}
  body #jkk-chat-toggle{right:10px;bottom:10px;width:50px;height:50px}
  body #jkk-chat-panel{right:8px;bottom:68px;width:calc(100vw - 16px)}
}

@media (max-width: 767px) {
  .nav-actions-right {
    gap: 8px !important;
  }
  .nav-actions-right .nav-circle-btn,
  .nav-actions-right a[href*="cart"],
  .nav-actions-right a[href*="wishlist"] {
    width: 32px !important;
    height: 32px !important;
    margin: 0 1px !important;
  }
}

/* =========================================================
   📱 MOBILE TOP APP DOWNLOAD BANNER (MEESHO STYLE)
   ========================================================= */
.mobile-app-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EFF6FF;
  border-bottom: 1px solid #DBEAFE;
  padding: 8px 14px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  z-index: 1001;
  position: relative;
}

.app-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-banner-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--crimson, #A21C3C);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(162, 28, 60, 0.2);
}

.app-banner-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.app-banner-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-banner-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-banner-sub {
  font-size: 0.7rem;
  color: #475569;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-banner-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Mobile Auth Link and Button styling in Header */
@media (max-width: 1200px) {
  .nav-actions-right > .mobile-auth-link {
    display: inline-flex !important;
    font-size: 0.8rem !important;
    font-weight: 600;
    color: #FFF2D9 !important;
    align-items: center;
    margin-right: 6px;
    vertical-align: middle;
  }
  .nav-actions-right > .mobile-auth-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    height: 30px !important;
    line-height: 1 !important;
    border-radius: 20px !important;
    vertical-align: middle;
  }
}
@media (max-width: 767px) {
  .nav-actions-right > .mobile-auth-link {
    display: inline-flex !important;
    font-size: 0.76rem !important;
    margin-right: 4px;
    color: #FFF2D9 !important;
  }
  .nav-actions-right > .mobile-auth-btn {
    display: inline-flex !important;
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
    height: 26px !important;
    border-radius: 20px !important;
  }
}

/* =========================================================
   📱 MOBILE TOP APP DOWNLOAD BANNER (MEESHO STYLE)
   ========================================================= */
.mobile-app-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EFF6FF;
  border-bottom: 1px solid #DBEAFE;
  padding: 8px 14px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  z-index: 1001;
  position: relative;
}

.app-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-banner-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--crimson, #A21C3C);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(162, 28, 60, 0.2);
}

.app-banner-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.app-banner-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-banner-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-banner-sub {
  font-size: 0.7rem;
  color: #475569;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-banner-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.app-banner-btn {
  background: var(--crimson, #A21C3C);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(162, 28, 60, 0.25);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.app-banner-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.app-banner-close {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #64748B;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

@media (min-width: 769px) {
  .mobile-app-download-bar {
    display: none !important;
  }
  .sub-nav .vcat-ring {
    display: none !important;
  }
  .sub-nav a.link,
  .sub-nav a.vcat-item-link {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    color: #475569 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 100px !important;
    padding: 8px 18px !important;
    width: auto !important;
    min-width: max-content !important;
    flex-shrink: 0 !important;
    height: 36px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  }
  .sub-nav a.link .vcat-text,
  .sub-nav a.vcat-item-link .vcat-text {
    margin-top: 0 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: inherit !important;
    white-space: nowrap !important;
    max-width: none !important;
    overflow: visible !important;
  }
}

/* =========================================================
   🖼️ IN-PLACE MOBILE VISUAL CATEGORY BAR (SUB-NAV)
   ========================================================= */
@media (max-width: 767px) {
  .mobile-app-download-bar {
    display: flex !important;
  }
  .sub-nav {
    display: block !important;
    position: relative !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #ffffff !important;
    border-top: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 8px 0 8px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
  }
  .sub-nav #sub-nav-categories,
  .sub-nav .wrap#sub-nav-categories {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 14px 4px 14px !important;
    margin: 0 !important;
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .sub-nav #sub-nav-categories::-webkit-scrollbar,
  .sub-nav .wrap#sub-nav-categories::-webkit-scrollbar {
    display: none !important;
  }
  .sub-nav .category-dropdown-container {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
  }
  .sub-nav .category-dropdown-container:has(.vcat-ring) {
    width: 48px !important;
  }
  .sub-nav a.vcat-item-link,
  .sub-nav a.vcat-item-link:hover,
  .sub-nav a.vcat-item-link:active,
  .sub-nav .category-dropdown-container:hover > a.vcat-item-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 48px !important;
    height: auto !important;
    cursor: pointer !important;
  }
  .sub-nav .vcat-ring {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: 0 2px 5px rgba(159, 18, 57, 0.06) !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.15s ease !important;
  }
  .sub-nav a.link:active .vcat-ring,
  .sub-nav a.vcat-item-link:active .vcat-ring {
    transform: scale(0.92) !important;
  }
  .sub-nav .vcat-ring-inner {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #E7DECE !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .sub-nav .vcat-ring-inner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }
  .sub-nav .vcat-text {
    display: block !important;
    margin-top: 3px !important;
    font-family: var(--font-sans, 'Inter', sans-serif) !important;
    font-size: 0.58rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 48px !important;
    letter-spacing: -0.1px !important;
    text-transform: none !important;
    line-height: 1.1 !important;
  }
  .sub-nav .subcategory-dropdown {
    /* Allow subcategory display */
  }

  /* Compact Hero Carousel on Mobile */
  .page-home .home-carousel {
    margin: 8px 12px 14px 12px !important;
  }
  .page-home .carousel-container,
  .page-home .carousel-inner,
  .page-home .carousel-slide {
    height: 195px !important;
    min-height: 195px !important;
    max-height: 195px !important;
    border-radius: 12px !important;
  }
  .page-home .hero-html-wrap {
    padding: 14px 16px !important;
    gap: 6px !important;
  }
  .page-home .hero-html-title {
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }
  .page-home .hero-html-lead {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px !important;
  }
  .page-home .hero-html-ctas {
    gap: 6px !important;
  }
  .page-home .hero-html-cta {
    padding: 5px 12px !important;
    font-size: 0.72rem !important;
    border-radius: 18px !important;
  }
  .page-home .hero-html-right {
    display: none !important;
  }
}

/* =========================================================
   📱 MOBILE BOTTOM SHEETS & MODERN FILTER / SORT MODALS
   ========================================================= */

.sheet-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.sheet-backdrop.active {
  display: block;
  opacity: 1;
}

.mobile-bottom-sheet {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  z-index: 999999;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 88vh;
  flex-direction: column;
}
.mobile-bottom-sheet.active {
  display: flex;
  transform: translateY(0);
}

.sheet-handle-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 4px;
  cursor: grab;
}
.sheet-handle {
  width: 38px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 9999px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.sheet-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  font-family: inherit;
}
.sheet-close-btn {
  background: #f1f5f9;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #64748b;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sheet-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.sheet-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

/* Quick Sort Sheet Items */
.mobile-sort-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}
.mobile-sort-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-sort-item input[type="radio"] {
  display: none;
}
.mobile-sort-item .sort-check-icon {
  display: none;
  font-weight: 800;
  color: var(--crimson, #A21C3C);
}
.mobile-sort-item.active {
  background: rgba(162, 28, 60, 0.05);
  border-color: var(--crimson, #A21C3C);
  color: var(--crimson, #A21C3C);
  font-weight: 700;
}
.mobile-sort-item.active .sort-check-icon {
  display: inline-block;
}

/* Mobile Filter Drawer Responsive Layout */
@media (max-width: 900px) {
  .marketplace-container.show-filters .filters-sidebar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-height: 85vh !important;
    height: auto !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    padding: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    border: none !important;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2) !important;
    overflow: hidden !important;
    flex-direction: column !important;
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .filters-sidebar .desktop-sort-section {
    display: none !important; /* Hide sort inside mobile filter drawer */
  }
  .filters-sidebar-header {
    padding: 12px 18px !important;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
  }
  .filters-sidebar-body {
    padding: 16px 18px !important;
    overflow-y: auto !important;
    flex: 1;
    max-height: calc(85vh - 120px) !important;
  }
  .mobile-filter-footer {
    display: flex !important;
    gap: 10px !important;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.04) !important;
  }
  .mobile-filter-footer .btn-clear-mobile {
    flex: 1;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 25px !important;
    padding: 10px 16px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
  }
  .mobile-filter-footer .btn-apply-mobile {
    flex: 2;
    background: var(--crimson, #A21C3C) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 10px 16px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 12px rgba(162, 28, 60, 0.25) !important;
    cursor: pointer !important;
  }
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Global Lightbox Modal Overlay Fix - Always overlay above sticky header and sub-nav */
.lightbox-modal {
  z-index: 2147483646 !important;
}
.lightbox-modal * {
  z-index: 2147483647 !important;
}