/* ============================================================
   ELITE EMPORIUM — FLIPKART APP-STYLE STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --red:         #DB3022;
  --red-dark:    #B71C1C;
  --red-deep:    #7B0D0D;
  --red-light:   #FFEBEE;
  --yellow:      #FFE500;
  --yellow-dark: #F4D900;
  --bg:          #F1F3F6;
  --white:       #FFFFFF;
  --text:        #212121;
  --text-mid:    #424242;
  --text-light:  #878787;
  --green:       #388E3C;
  --green-light: #E8F5E9;
  --orange:      #FF9F00;
  --border:      #E0E0E0;
  --shadow:      0 1px 8px rgba(0,0,0,0.09);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.15);
  --radius:      4px;
  --radius-md:   8px;
  --transition:  all 0.2s ease;
  /* Keep --blue as alias so existing JS/HTML references still work */
  --blue:        #DB3022;
  --blue-dark:   #B71C1C;
  --blue-light:  #FFEBEE;
}

* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
  padding-bottom: 62px;
  animation: pageFadeIn 0.28s ease;
}
/* Keyboard navigation focus ring (only shows on Tab key, not mouse click) */
body:not(.kbd-nav) *:focus { outline: none !important; }
body.kbd-nav *:focus { outline: 2px solid var(--red) !important; outline-offset: 2px !important; }

@keyframes pageFadeIn  { from { opacity:0; transform:translateY(4px); } to   { opacity:1; transform:translateY(0); } }
@keyframes pageFadeOut { from { opacity:1; transform:translateY(0); }   to   { opacity:0; transform:translateY(-4px); } }
body.page-exiting { animation: pageFadeOut 0.2s ease forwards; pointer-events: none; }
a { text-decoration:none; color:inherit; }
img { display:block; }

/* ══════════════════════════════════════════════
   APP HEADER  (red gradient, Flipkart app style)
══════════════════════════════════════════════ */
/* ══════════════════════════════════════════════
   SOCIAL PROOF TOAST
══════════════════════════════════════════════ */
.sp-toast {
  position: fixed;
  bottom: 80px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  z-index: 1050;
  max-width: 260px;
  transform: translateX(-110%);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.sp-toast.sp-show { transform: translateX(0); }
.sp-thumb { width: 42px; height: 42px; object-fit: contain; border-radius: var(--radius); flex-shrink: 0; background: var(--bg); }
.sp-body { flex: 1; min-width: 0; }
.sp-name { font-size: 11px; font-weight: 600; color: var(--text); }
.sp-text { font-size: 11px; color: var(--text-mid); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-time { font-size: 10px; color: var(--text-light); margin-top: 2px; }
@media (max-width: 480px) { .sp-toast { max-width: 220px; } }

/* ══════════════════════════════════════════════
   MINI CART DROPDOWN
══════════════════════════════════════════════ */
.mini-cart-wrap {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 8px;
  z-index: 1100;
  display: none;
}
.mini-cart-wrap.open { display: block; }
.mini-cart-dropdown {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  animation: pageFadeIn 0.15s ease;
}
.mini-cart-empty { padding: 24px; text-align: center; color: var(--text-light); font-size: 13px; }
.mini-cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bg);
}
.mini-cart-img { width: 44px; height: 44px; object-fit: contain; border-radius: var(--radius); flex-shrink: 0; background: var(--bg); }
.mini-cart-info { flex: 1; min-width: 0; }
.mini-cart-name { font-size: 11px; font-weight: 600; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-cart-meta { font-size: 10px; color: var(--text-light); margin-top: 2px; }
.mini-cart-price { font-size: 12px; font-weight: 700; color: var(--red); flex-shrink: 0; }
.mini-cart-more { padding: 6px 14px; font-size: 11px; color: var(--text-light); font-style: italic; }
.mini-cart-footer { padding: 10px 14px; border-top: 2px solid var(--bg); background: var(--bg); }
.mini-cart-total { font-size: 13px; color: var(--text); margin-bottom: 8px; }
.mini-cart-total strong { color: var(--red); }
.mini-cart-btn {
  display: block;
  background: var(--red);
  color: white;
  text-align: center;
  padding: 9px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.mini-cart-btn:hover { background: var(--red-dark); }
@media (max-width: 768px) { .mini-cart-wrap { display: none !important; } }

/* ── Search History Dropdown ── */
.search-history-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 1100;
  overflow: hidden;
  animation: pageFadeIn 0.15s ease;
}
.sh-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 1px solid var(--bg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sh-clear {
  background: none;
  border: none;
  color: var(--red);
  font-size: 11px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.sh-item {
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sh-item:hover { background: var(--bg); color: var(--red); }
.sh-product-item { text-decoration: none; color: inherit; gap: 10px; }
.sh-product-item:hover { color: var(--red); }
.sh-thumb { width: 36px; height: 36px; object-fit: contain; border-radius: var(--radius); background: var(--bg); flex-shrink: 0; }
.sh-product-info { flex: 1; min-width: 0; }
.sh-product-name { font-size: 12px; font-weight: 600; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sh-product-price { font-size: 11px; color: var(--text-light); margin-top: 1px; }
.sh-highlight { background: #fff176; color: var(--text); border-radius: 2px; font-style: normal; }
.sh-discount { font-size: 10px; font-weight: 700; color: var(--green); background: #e8f5e9; padding: 2px 6px; border-radius: 10px; white-space: nowrap; flex-shrink: 0; }
.sh-kbd-active { background: #fef3f2; color: var(--red) !important; }
.sh-search-all { font-size: 12px; color: var(--red); font-weight: 600; border-top: 1px solid var(--bg); text-decoration: none; padding: 10px 12px; }
.sh-search-all:hover { background: #fef3f2; }
.sh-empty {
  padding: 18px 14px 14px;
  text-align: center;
  border-top: 1px dashed var(--border);
}
.sh-empty-icon { font-size: 32px; line-height: 1; margin-bottom: 6px; }
.sh-empty-text { font-size: 12.5px; color: var(--text2); margin-bottom: 10px; }
.sh-empty-cats { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.sh-empty-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 10px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.sh-empty-cat:hover { background: var(--red-light); border-color: var(--red); }

/* ── Scroll Progress Bar ── */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  z-index: 2000;
  transition: width 0.08s linear;
  pointer-events: none;
}

header {
  background: linear-gradient(180deg, var(--red-deep) 0%, var(--red) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: box-shadow 0.25s ease;
}
header.scrolled {
  box-shadow: 0 3px 16px rgba(0,0,0,0.42);
}
header.scrolled .header-main {
  padding-top: 6px;
  padding-bottom: 6px;
}
header.scrolled .logo { transform: scale(0.9); }
header.scrolled .logo-img { height: 52px; }

.header-main {
  display: flex;
  align-items: center;
  padding: 10px 4%;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  /* Leather-textured badge */
  background:
    repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 6px),
    repeating-radial-gradient(circle at 70% 60%, rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 1px, transparent 1px, transparent 8px),
    linear-gradient(150deg, #A52525 0%, #7B0D0D 40%, #8C1616 70%, #6A0808 100%);
  background-size: 10px 10px, 14px 14px, 100% 100%;
  border-radius: 10px;
  padding: 7px 10px;
  box-shadow:
    0 4px 14px rgba(0,0,0,0.45),
    inset 0 1px 2px rgba(255,255,255,0.12),
    inset 0 -2px 5px rgba(0,0,0,0.35),
    0 0 0 1px rgba(190,140,40,0.35);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.logo:hover {
  transform: scale(1.03);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.5),
    inset 0 1px 2px rgba(255,255,255,0.15),
    inset 0 -2px 5px rgba(0,0,0,0.3),
    0 0 0 1.5px rgba(210,170,60,0.6);
}
.logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.6)) brightness(1.1) contrast(1.05);
  transition: filter 0.2s ease;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 3px 8px rgba(200,160,40,0.5)) brightness(1.18) contrast(1.08);
}
.logo-text h1 { font-size:16px; font-weight:700; color:white; line-height:1.1; }
.logo-text span { font-size:10px; color:var(--yellow); font-style:italic; font-weight:500; display:block; }
.logo-icon { display:none; }

.header-search { flex: 1; }
.header-search form {
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  height: 42px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-search form:focus-within { outline: 2px solid var(--yellow); }
.header-search input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: transparent;
}
.header-search button {
  background: var(--red);
  border: none;
  padding: 0 18px;
  cursor: pointer;
  font-size: 16px;
  color: white;
  border-radius: 0 24px 24px 0;
  flex-shrink: 0;
  transition: background 0.2s;
}
.header-search button:hover { background: var(--red-dark); }

.header-actions { display:flex; align-items:center; gap:8px; margin-left:auto; flex-shrink:0; }

/* ── Header alert bell ── */
.header-alert-bell {
  position: relative;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: white;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
  flex-shrink: 0;
}
.header-alert-bell:hover { background: rgba(255,255,255,0.12); }
.alert-bell-badge {
  background: var(--yellow);
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 5px;
  line-height: 1.4;
}
.alert-panel {
  position: fixed;
  top: 60px;
  right: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 1300;
  width: min(320px, 92vw);
  animation: tabFadeIn 0.18s ease;
}
.alert-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.alert-panel-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-light);
}
.alert-panel-empty {
  padding: 20px 16px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}
.alert-panel-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding: 10px 16px;
  border-bottom: 1px solid #f5f5f5;
  align-items: center;
}
.api-name { font-size: 12px; font-weight: 600; grid-column: 1; }
.api-meta { font-size: 11px; color: var(--text-light); grid-column: 1; }
.api-remove {
  grid-column: 2;
  grid-row: 1 / 3;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
  align-self: center;
}
.api-remove:hover { color: var(--red); }

.cart-btn {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.65);
  padding: 7px 14px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  white-space: nowrap;
}
.cart-btn:hover { background: rgba(255,255,255,0.18); }
.cart-count {
  background: var(--yellow);
  color: var(--red-dark);
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.cart-badge-pop { animation: cartBadgePop 0.4s ease; }
@keyframes cartBadgePop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.6); }
  60%  { transform: scale(0.85); }
  100% { transform: scale(1); }
}

/* ── App Shortcut Tiles ── */
.app-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 4% 12px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
}
.shortcut-tile {
  background: white;
  border-radius: 12px;
  padding: 14px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}
.shortcut-tile:hover { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(0,0,0,0.22); }
.shortcut-tile:first-child { background: var(--yellow); }
.shortcut-tile-icon { font-size: 28px; line-height: 1; }
.shortcut-tile-label { font-size: 11px; font-weight: 600; color: var(--text); text-align: center; line-height: 1.2; }
.shortcut-tile:first-child .shortcut-tile-label { color: var(--red-dark); }

/* ── Location Bar ── */
.location-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4%;
  background: rgba(0,0,0,0.22);
  cursor: pointer;
}
.location-bar-text { flex:1; color:white; font-size:13px; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.location-bar-text strong { font-weight:700; margin-right:6px; }
.location-bar-arrow { color:rgba(255,255,255,0.75); font-size:14px; }
.location-bar-coins {
  background: var(--yellow);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red-dark);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Category Icon Strip (on dark red bg) ── */
.fk-cat-strip {
  background: var(--red-dark);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.fk-cat-strip::-webkit-scrollbar { display:none; }
.fk-cats { display:flex; padding:0 2%; min-width:max-content; }
.fk-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  gap: 4px;
  transition: border-color 0.2s, color 0.2s;
  min-width: 68px;
}
.fk-cat-item:hover, .fk-cat-item.active { border-bottom-color: var(--yellow); color: white; }
.fk-cat-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background 0.2s;
}
.fk-cat-item:hover .fk-cat-icon,
.fk-cat-item.active .fk-cat-icon { background: rgba(255,255,255,0.28); }
.fk-cat-label { font-size:11px; font-weight:500; white-space:nowrap; }

/* ── Top nav on products/cart/product pages ── */
header nav {
  background: var(--red-dark);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
header nav::-webkit-scrollbar { display:none; }
header nav a {
  color: rgba(255,255,255,0.82);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  border-bottom: 3px solid transparent;
}
header nav a:hover, header nav a.active { color:white; border-bottom-color:var(--yellow); }

/* ══════════════════════════════════════════════
   HERO SLIDESHOW
══════════════════════════════════════════════ */
.hero-slideshow { position:relative; overflow:hidden; background:var(--red); }
.hero-slides { display:flex; transition:transform 0.45s ease; will-change:transform; }
.hero-slide {
  min-width: 100%;
  min-height: 210px;
  padding: 36px 6% 28px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.hero-slide-bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.hero-slide-content { position:relative; z-index:1; color:white; }
.hero-save-badge {
  background: var(--yellow);
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.hero-slide-content h2 { font-size:24px; font-weight:800; line-height:1.2; margin-bottom:6px; text-shadow:0 1px 4px rgba(0,0,0,0.3); }
.hero-slide-content p  { font-size:13px; opacity:0.88; margin-bottom:14px; }
.hero-slide-btn {
  display: inline-block;
  background: white;
  color: var(--red);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  transition: opacity 0.2s;
}
.hero-slide-btn:hover { opacity:0.9; }
.slide-dots { display:flex; justify-content:center; gap:6px; padding:10px 0 8px; background:var(--red-dark); }
.slide-dot { width:22px; height:4px; border-radius:2px; background:rgba(255,255,255,0.3); cursor:pointer; transition:background 0.2s,width 0.2s; }
.slide-dot.active { background:white; width:32px; }

/* Hero prev/next arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.28);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.slide-arrow:hover { background: rgba(0,0,0,0.5); transform: translateY(-50%) scale(1.1); }
.slide-arrow-prev { left: 10px; }
.slide-arrow-next { right: 10px; }
@media (max-width: 480px) { .slide-arrow { display: none; } }

/* ══════════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════════ */
.fk-main { padding:10px 4%; background:var(--bg); }

/* Still Looking section */
.still-looking {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 60%, var(--red-dark) 100%);
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  margin-bottom: 10px;
}
.still-looking h2 { font-size:14px; font-weight:700; color:white; margin-bottom:12px; }
.still-cards { display:flex; gap:10px; overflow-x:auto; scrollbar-width:none; }
.still-cards::-webkit-scrollbar { display:none; }
.still-card {
  background: white;
  border-radius: var(--radius);
  min-width: 100px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.still-card:hover { transform:translateY(-3px); }
.still-card-img { height:80px; display:flex; align-items:center; justify-content:center; font-size:38px; background:var(--bg); overflow:hidden; }
.still-card-img img { width:100%; height:100%; object-fit:cover; }
.still-card-label { padding:6px 8px; font-size:11px; font-weight:600; color:var(--text); text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ── Section Cards ── */
.fk-section { background:var(--white); border-radius:var(--radius); margin-bottom:10px; overflow:hidden; box-shadow:var(--shadow); }
.fk-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--red-deep) 0%, var(--red) 100%);
}
.fk-section-head h2 { font-size:17px; font-weight:700; color:white; }
.fk-section-head a { font-size:12px; color:var(--yellow); font-weight:600; background:rgba(0,0,0,0.2); padding:4px 12px; border-radius:12px; white-space:nowrap; }
.fk-section-head a:hover { background:rgba(0,0,0,0.35); }
.fk-section-body { padding:14px 16px 18px; }

/* Offer strip */
.fk-offer-strip { overflow-x:auto; scrollbar-width:none; padding-bottom:4px; position:relative; }
.fk-offer-strip::-webkit-scrollbar { display:none; }
/* Fade hint showing more content to scroll */
.fk-section-body { position:relative; }
.fk-section-body::after { content:''; position:absolute; right:0; top:0; bottom:4px; width:48px; background:linear-gradient(to right, transparent, rgba(255,255,255,0.95)); pointer-events:none; border-radius:0 var(--radius) var(--radius) 0; }
.fk-offer-cards { display:flex; gap:10px; min-width:max-content; }
.fk-offer-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 106px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.fk-offer-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); border-color:var(--red); }
.fk-offer-icon { font-size:32px; }
.fk-offer-name { font-size:11px; font-weight:600; color:var(--text); text-align:center; line-height:1.3; }
.fk-offer-disc { font-size:11px; color:var(--green); font-weight:700; }

/* Banner Grid */
.fk-banner-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:8px; margin-bottom:10px; }
.fk-banner-card {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}
.fk-banner-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.fk-banner-bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.fk-banner-content { position:relative; z-index:1; color:white; }
.fk-banner-content h3 { font-size:17px; font-weight:700; margin-bottom:4px; line-height:1.2; }
.fk-banner-content p  { font-size:12px; margin-bottom:10px; opacity:0.9; }
.fk-banner-btn { display:inline-block; background:white; padding:5px 14px; border-radius:4px; font-size:11px; font-weight:700; }

/* Deal Row */
.fk-deal-row { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:10px; }
.fk-deal-card { background:var(--white); border-radius:var(--radius); padding:14px; display:flex; align-items:center; gap:12px; border:1px solid var(--border); cursor:pointer; transition:box-shadow 0.2s; text-decoration:none; box-shadow:var(--shadow); }
.fk-deal-card:hover { box-shadow:var(--shadow-md); }
.fk-deal-icon { font-size:32px; flex-shrink:0; }
.fk-deal-text h4 { font-size:13px; font-weight:700; color:var(--text); margin-bottom:2px; }
.fk-deal-text p  { font-size:11px; color:var(--text-light); margin-bottom:3px; }
.fk-deal-badge { display:inline-block; background:var(--green-light); color:var(--green); font-size:10px; font-weight:700; padding:2px 8px; border-radius:3px; }

/* ══════════════════════════════════════════════
   PROMO BANNER
══════════════════════════════════════════════ */
.promo-banner { background:linear-gradient(135deg,var(--red) 0%,var(--red-deep) 100%); color:white; text-align:center; padding:32px 5%; margin-bottom:10px; }
.promo-banner h3 { font-size:22px; font-weight:700; margin-bottom:8px; }
.promo-banner p  { font-size:13px; margin-bottom:18px; opacity:0.85; }

/* ══════════════════════════════════════════════
   PAGE HEADER
══════════════════════════════════════════════ */
.page-header { background:var(--white); padding:12px 4%; border-bottom:1px solid var(--border); }
.page-header h1 { font-size:20px; font-weight:700; color:var(--text); margin-bottom:3px; }
.breadcrumb { font-size:12px; color:var(--text-light); }
.breadcrumb a { color:var(--red); }
.breadcrumb a:hover { text-decoration:underline; }
.section-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; padding-bottom:10px; border-bottom:2px solid var(--red); }
.section-header h2 { font-size:20px; font-weight:700; color:var(--text); }
.section-header a  { font-size:13px; color:var(--red); font-weight:600; }
.section-header .divider, .section-header p { display:none; }

/* ══════════════════════════════════════════════
   PRODUCTS PAGE
══════════════════════════════════════════════ */
.products-layout { display:grid; grid-template-columns:240px 1fr; gap:14px; padding:16px 4%; align-items:start; }
.filters-sidebar { background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); border:1px solid var(--border); overflow:hidden; position:sticky; top:76px; }
.filter-title { background:var(--red); color:white; font-size:13px; font-weight:700; padding:12px 16px; }
.filter-group { padding:12px 16px; border-bottom:1px solid var(--border); }
.filter-group:last-child { border-bottom:none; }
.filter-group h4 { font-size:11px; font-weight:700; color:var(--text-light); margin-bottom:10px; text-transform:uppercase; letter-spacing:1px; }
.filter-option { display:flex; align-items:center; gap:8px; margin-bottom:7px; cursor:pointer; padding:4px 8px; border-radius:var(--radius); transition:var(--transition); }
.filter-option:hover, .filter-option.active { background:var(--red-light); }
.filter-option input { accent-color:var(--red); cursor:pointer; }
.filter-option label { font-size:13px; color:var(--text-mid); cursor:pointer; display:flex; align-items:center; justify-content:space-between; flex:1; gap:6px; }
.filter-option.active label { color:var(--red); font-weight:600; }
.cat-count-badge { font-size:10px; font-weight:700; color:var(--text-light); background:#f0f0f0; padding:1px 6px; border-radius:10px; flex-shrink:0; }
.filter-option.active .cat-count-badge { background:var(--red-light); color:var(--red); }
.products-header { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:var(--white); border-radius:var(--radius); margin-bottom:10px; border:1px solid var(--border); flex-wrap:wrap; gap:10px; }
.products-count { font-size:13px; color:var(--text-light); }
.search-bar { display:flex; align-items:center; border:1.5px solid var(--border); border-radius:var(--radius); overflow:hidden; background:white; }
.search-bar input { border:none; padding:8px 12px; font-size:13px; font-family:'Poppins',sans-serif; outline:none; flex:1; min-width:160px; }
.search-bar span { padding:0 10px; font-size:15px; color:var(--text-light); }
.search-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #e0e0e0;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  line-height: 1;
  transition: background 0.15s;
}
.search-clear-btn:hover { background: var(--red); color: white; }

/* ── Sort chips row (above products grid) ── */
.sort-chips-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0 8px;
  margin-bottom: 4px;
}
.sort-chips-row::-webkit-scrollbar { display: none; }
.sort-chip {
  flex-shrink: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.sort-chip:hover { border-color: var(--red); color: var(--red); }
.sort-chip.active {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

/* ── View toggle buttons (grid / list) ── */
.view-toggle-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid #ddd;
  border-radius: 7px;
  background: white;
  color: #888;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.view-toggle-btn:hover { border-color: var(--red); color: var(--red); }
.view-toggle-btn.active { background: var(--red); border-color: var(--red); color: white; }

/* ── Products list-view layout ── */
.products-list-view {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
.products-list-view .product-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 12px 14px;
  gap: 14px;
  border-radius: 12px;
  position: relative;
}
.products-list-view .product-card .product-img-link,
.products-list-view .product-card .product-image {
  width: 120px !important;
  min-width: 120px !important;
  height: 120px !important;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
.products-list-view .product-card .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 0;
}
.products-list-view .product-card .product-name a {
  font-size: 14px;
  -webkit-line-clamp: 3;
  white-space: normal;
}
.products-list-view .product-card .product-footer {
  margin-top: auto;
  flex-wrap: wrap;
  gap: 8px;
}
.products-list-view .product-card .variant-swatches { display: none; }
.products-list-view .product-card .wishlist-btn { top: 8px; right: 8px; }
.products-list-view .product-card .qv-card-btn,
.products-list-view .product-card .compare-btn { display: none; }
@media (max-width: 480px) {
  .products-list-view .product-card .product-img-link,
  .products-list-view .product-card .product-image {
    width: 90px !important;
    min-width: 90px !important;
    height: 90px !important;
  }
}

/* ── Products page search history dropdown ── */
.ps-hist-drop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 120;
  overflow: hidden;
}
.ps-hist-head {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  padding: 8px 12px 4px;
}
.ps-hist-item {
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.12s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-hist-item::before { content: '🕐'; font-size: 11px; }
.ps-hist-item:hover { background: var(--red-light); color: var(--red); }

.sort-select, .form-select { padding:8px 12px; border:1.5px solid var(--border); border-radius:var(--radius); font-size:13px; font-family:'Poppins',sans-serif; outline:none; cursor:pointer; color:var(--text); background:white; }

/* ══════════════════════════════════════════════
   PRODUCT GRID
══════════════════════════════════════════════ */
.products-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px; }

/* ── Skeleton cards (shimmering placeholders while products load) ── */
.skeleton-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e8eaf0);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.sk-img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: var(--bg, #f6f7fb);
  position: relative;
  overflow: hidden;
}
.sk-line {
  height: 12px;
  border-radius: 5px;
  background: var(--bg, #f6f7fb);
  position: relative;
  overflow: hidden;
}
.sk-line.short { width: 60%; }
.sk-line-price { width: 40%; height: 16px; margin-top: 2px; }
.sk-line-btn { width: 100%; height: 28px; margin-top: 4px; border-radius: 8px; }
/* ── Faceted filter chips (products page colour/material) ── */
.facet-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 12px;
  margin-bottom: 4px;
  border-bottom: 1px dashed var(--border, #e8eaf0);
}
.facet-group { display: inline-flex; gap: 6px; align-items: center; padding: 4px 0; }
.facet-group-label { font-size: 11px; color: var(--text2, #6c757d); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; padding-right: 4px; }
.facet-chip {
  background: var(--surface, #fff);
  color: var(--text, #1a1a2e);
  border: 1px solid var(--border, #e8eaf0);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  text-transform: capitalize;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.facet-chip:hover { border-color: var(--red); transform: translateY(-1px); }
.facet-chip.active { background: var(--red); color: #fff; border-color: var(--red); }
.facet-chip .fc-swatch {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  display: inline-block;
}
.facet-clear {
  background: transparent;
  color: var(--red);
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}

/* ── Review filter chips (PDP) ── */
.rv-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.rv-filter-chip {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e8eaf0);
  color: var(--text, #1a1a2e);
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.rv-filter-chip:hover { border-color: var(--red); transform: translateY(-1px); }
.rv-filter-chip.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ── Live visitor count badge (site-wide) ── */
.live-visitor-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(46, 125, 50, 0.08), rgba(46, 125, 50, 0.02));
  border: 1px solid rgba(46, 125, 50, 0.18);
  color: #1b5e20;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 0;
  margin: 0;
  width: 100%;
  justify-content: center;
  letter-spacing: 0.2px;
}
[data-theme="dark"] .live-visitor-badge { background: linear-gradient(90deg, rgba(76, 175, 80, 0.10), rgba(76, 175, 80, 0.02)); color: #a5d6a7; border-color: rgba(76, 175, 80, 0.25); }
.lvb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2e7d32;
  box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.6);
  animation: lvbPulse 1.6s ease-out infinite;
}
@keyframes lvbPulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(46, 125, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}
@media (prefers-reduced-motion: reduce) { .lvb-dot { animation: none; } }
.live-visitor-badge strong { color: #1b5e20; font-weight: 800; font-variant-numeric: tabular-nums; }
[data-theme="dark"] .live-visitor-badge strong { color: #c5e1a5; }

/* ── 'Continue where you left off' floating banner ── */
.continue-banner {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translate(-50%, 24px);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e8eaf0);
  border-radius: 14px;
  padding: 10px 12px 10px 10px;
  text-decoration: none;
  color: var(--text, #1a1a2e);
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  z-index: 9998;
  max-width: calc(100vw - 28px);
  width: 360px;
  opacity: 0;
  transition: transform 0.30s ease, opacity 0.30s ease, box-shadow 0.20s ease;
}
.continue-banner.show { transform: translate(-50%, 0); opacity: 1; }
.continue-banner:hover { box-shadow: 0 18px 46px rgba(0,0,0,0.24); }
.continue-banner img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.cb-body { flex: 1; min-width: 0; }
.cb-head { font-size: 11px; font-weight: 700; color: var(--text2, #6c757d); letter-spacing: 0.3px; }
.cb-name { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.cb-price { font-size: 12.5px; font-weight: 700; color: var(--red, #DB3022); margin-top: 1px; }
.cb-close { background: transparent; border: none; color: var(--text2); font-size: 16px; cursor: pointer; padding: 0 2px; opacity: 0.6; flex-shrink: 0; }
.cb-close:hover { opacity: 1; }
@media (max-width: 460px) { .continue-banner { bottom: 80px; width: calc(100vw - 24px); } }
html[data-runtime="twa"] .continue-banner,
html[data-runtime="pwa"] .continue-banner { bottom: calc(80px + env(safe-area-inset-bottom, 0)); }

/* ── Notification permission card ── */
.notif-prompt-card {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translate(-50%, 20px);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 12px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2c2c4a 100%);
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.30);
  z-index: 10003;
  opacity: 0;
  max-width: calc(100vw - 28px);
  width: 380px;
  transition: transform 0.30s ease, opacity 0.30s ease;
}
.notif-prompt-card.show { transform: translate(-50%, 0); opacity: 1; }
.np-icon { grid-row: 1 / 3; font-size: 28px; display: flex; align-items: center; justify-content: center; line-height: 1; padding-right: 4px; }
.np-body { display: flex; flex-direction: column; gap: 2px; }
.np-body strong { font-size: 14px; font-weight: 800; }
.np-body span { font-size: 12px; opacity: 0.85; line-height: 1.45; }
.np-actions { grid-column: 2; display: flex; gap: 8px; margin-top: 10px; }
.np-allow {
  background: var(--red, #DB3022);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.np-allow:hover { background: var(--red-dark, #B71C1C); }
.np-deny {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: none;
  padding: 7px 8px;
  font-size: 12px;
  cursor: pointer;
}
.np-deny:hover { color: #fff; }
@media (max-width: 460px) { .notif-prompt-card { bottom: 80px; width: calc(100vw - 24px); } }

/* ── Service worker update prompt ── */
.sw-update-banner {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 30px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a2e;
  color: #fff;
  padding: 10px 14px 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  z-index: 10002;
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  max-width: calc(100vw - 28px);
}
.sw-update-banner.show { transform: translate(-50%, 0); opacity: 1; }
.sw-update-banner button {
  background: var(--red, #DB3022);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.sw-update-banner button:last-child { background: transparent; padding: 4px 6px; opacity: 0.6; font-size: 14px; }
.sw-update-banner button:last-child:hover { opacity: 1; }

/* ── Online/offline network banner ── */
.net-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10001;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  letter-spacing: 0.2px;
}
.net-banner.show { transform: translateY(0); }
.net-banner.offline { background: linear-gradient(90deg, #d84315 0%, #bf360c 100%); }
.net-banner.online  { background: linear-gradient(90deg, #2e7d32 0%, #1b5e20 100%); }

/* ── Theme transition (smooth fade when toggling dark mode) ── */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

/* ── Installed-app (TWA / PWA) tweaks ── */
html[data-runtime="twa"] .whatsapp-float,
html[data-runtime="twa"] .pwa-install-banner,
html[data-runtime="pwa"] .pwa-install-banner,
html[data-runtime="twa"] #iosInstallBanner {
  display: none !important;
}
html[data-runtime="twa"] header,
html[data-runtime="pwa"] header {
  padding-top: env(safe-area-inset-top, 0);
}
html[data-runtime="twa"] .bottom-nav,
html[data-runtime="pwa"] .bottom-nav {
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
}

/* ── Wishlist empty-state with suggestions ── */
.wl-empty-suggest {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
  text-align: left;
}
.wl-empty-suggest-head { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.wl-empty-suggest-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 920px) { .wl-empty-suggest-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .wl-empty-suggest-row { grid-template-columns: repeat(2, 1fr); } .wl-empty-suggest-row .wl-empty-card:nth-child(5), .wl-empty-suggest-row .wl-empty-card:nth-child(6) { display: none; } }
.wl-empty-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.wl-empty-link { text-decoration: none; color: inherit; display: block; }
.wl-empty-link img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: var(--bg); border-radius: 6px; }
.wl-empty-name { font-size: 11px; line-height: 1.3; color: var(--text); margin-top: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.6em; }
.wl-empty-price { font-size: 12.5px; font-weight: 700; color: var(--text); }
.wl-empty-add { background: var(--red); color: #fff; border: none; padding: 5px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; cursor: pointer; }
.wl-empty-add:hover { background: var(--red-dark); }

/* ── Address book picker (cart page) ── */
.addr-book-picker {
  margin: 4px 0 16px;
  padding: 12px;
  background: linear-gradient(180deg, #f6fdf9 0%, #fff 100%);
  border: 1px dashed #cdeede;
  border-radius: 12px;
}
[data-theme="dark"] .addr-book-picker { background: linear-gradient(180deg, rgba(46, 125, 50, 0.08), transparent); border-color: rgba(76, 175, 80, 0.25); }
.ab-head {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text2);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ab-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ab-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px 10px 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.12s;
  font-family: inherit;
  color: var(--text);
}
.ab-chip:hover { border-color: var(--red); transform: translateY(-1px); }
.ab-chip-label { font-weight: 800; }
.ab-chip-name { color: var(--text2); }
.ab-chip-pin { color: var(--text2); font-variant-numeric: tabular-nums; font-size: 11px; padding-left: 4px; border-left: 1px solid var(--border); }
.ab-chip-del {
  background: transparent;
  border: none;
  color: var(--text2);
  font-size: 16px;
  line-height: 1;
  padding: 0 0 0 4px;
  cursor: pointer;
  opacity: 0.5;
}
.ab-chip-del:hover { opacity: 1; color: var(--red); }
.ab-save-btn {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text);
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.ab-save-btn:hover { border-color: var(--red); background: rgba(219, 48, 34, 0.04); }

/* ── Voice search button ── */
.voice-search-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 0 6px;
  opacity: 0.6;
  transition: opacity 0.15s, transform 0.15s;
}
.voice-search-btn:hover { opacity: 1; transform: scale(1.08); }
.voice-search-btn.listening {
  animation: voiceListen 1s ease-in-out infinite;
  opacity: 1;
}
@keyframes voiceListen { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .voice-search-btn.listening { animation: none; } }

/* ── Pull-to-refresh indicator ── */
.ptr-indicator {
  position: fixed;
  top: -40px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 36px; height: 36px;
  background: var(--red, #DB3022);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  z-index: 9999;
  opacity: 0;
  box-shadow: 0 4px 14px rgba(219, 48, 34, 0.30);
  pointer-events: none;
}
.ptr-indicator.ready { background: #2e7d32; box-shadow: 0 4px 14px rgba(46, 125, 50, 0.34); }
.ptr-indicator.refreshing .ptr-spinner { animation: ptrSpin 0.9s linear infinite; }
@keyframes ptrSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── WhatsApp chat card 'Call us' line ── */
.wa-call-line {
  display: block;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: background 0.15s;
}
.wa-call-line:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.wa-call-line strong { color: #fff; }
[data-theme="dark"] .wa-call-line { background: rgba(255, 255, 255, 0.08); }

.sk-img::after,
.sk-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%);
  transform: translateX(-100%);
  animation: skShimmer 1.4s ease-in-out infinite;
}
[data-theme="dark"] .sk-img::after,
[data-theme="dark"] .sk-line::after {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%);
}
@keyframes skShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.skeleton-active { /* parent flag; nothing layout-critical, just a hook */ }

/* PDP-specific skeleton (full-page card layout) */
.pd-skeleton {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 4% 0;
  transition: opacity 0.32s ease;
}
.pd-skeleton.hide { opacity: 0; pointer-events: none; height: 0; padding: 0; overflow: hidden; }
.pd-skeleton-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 820px) { .pd-skeleton-grid { grid-template-columns: 1fr; gap: 16px; } }
.pds-image {
  aspect-ratio: 1 / 1;
  background: var(--bg, #f6f7fb);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.pds-info { display: flex; flex-direction: column; gap: 12px; }
.pds-line { height: 18px; background: var(--bg, #f6f7fb); border-radius: 6px; position: relative; overflow: hidden; }
.pds-line-cat   { width: 30%; height: 14px; }
.pds-line-title { width: 90%; height: 26px; }
.pds-line-title.short { width: 60%; }
.pds-line-rating{ width: 40%; height: 14px; }
.pds-line-price { width: 35%; height: 30px; margin-top: 8px; }
.pds-line-cta   { width: 100%; height: 42px; border-radius: 10px; margin-top: 6px; }
.pds-image::after,
.pds-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: skShimmer 1.4s ease-in-out infinite;
}
[data-theme="dark"] .pds-image::after,
[data-theme="dark"] .pds-line::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .pds-image::after, .pds-line::after { animation: none; opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .sk-img::after, .sk-line::after { animation: none; opacity: 0.4; }
}
.product-card { background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:box-shadow 0.2s,transform 0.2s; position:relative; display:flex; flex-direction:column; border:1px solid var(--border); min-width:170px; }
.product-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.product-badge { position:absolute; top:8px; left:8px; background:var(--orange); color:white; padding:2px 8px; border-radius:3px; font-size:10px; font-weight:700; z-index:2; text-transform:uppercase; }
.product-badge.new        { background:var(--green); }
.product-badge.hot        { background:var(--red); }
.product-badge.premium    { background:#673AB7; }
.product-badge.best-value { background:var(--orange); color:#1a1a1a; }
.product-img-link { display:block; }
.product-image { height:190px; display:flex; align-items:center; justify-content:center; background:#fff; padding:16px; position:relative; }
.product-image-photo { background:linear-gradient(145deg,#fafafa,#f5f5f5); overflow:hidden; padding:0; }
.product-image-photo img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.35s ease, filter 0.3s ease, opacity 0.3s ease;
  filter: blur(0px);
  opacity: 1;
}
.product-image-photo img.img-loading {
  filter: blur(8px);
  opacity: 0.6;
}
.product-card:hover .product-image-photo img { transform:scale(1.07); }
.product-card:hover .product-image-photo { box-shadow:inset 0 0 0 1px rgba(219,48,34,0.08); }
.product-info { padding:10px 12px 12px; flex:1; display:flex; flex-direction:column; gap:5px; }
.product-category { display:none; }
.product-name { font-size:13px; font-weight:400; color:var(--text); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; flex:1; }
.product-name a { color:inherit; text-decoration:none; }
.product-name a:hover { color:var(--red); }
.pd-name-link { color:inherit; text-decoration:none; }
.product-desc { display:none; }
.product-rating { display:flex; align-items:center; gap:6px; margin:2px 0; }
.fk-rating-badge { background:var(--green); color:white; font-size:11px; font-weight:600; padding:2px 6px; border-radius:3px; display:inline-flex; align-items:center; gap:2px; }
.stars { display:none; }
.rating-count { font-size:11px; color:var(--text-light); }
.product-footer { display:flex; flex-direction:column; gap:8px; }
.product-price { font-size:17px; font-weight:700; color:var(--text); }
.add-to-cart { background:var(--yellow); color:var(--red-dark); border:none; padding:7px 12px; border-radius:var(--radius); cursor:pointer; font-size:12px; font-weight:700; transition:var(--transition); font-family:'Poppins',sans-serif; display:flex; align-items:center; gap:4px; white-space:nowrap; }
.add-to-cart:hover { background:var(--yellow-dark); box-shadow:0 2px 8px rgba(255,229,0,0.5); }
.add-to-cart:active { transform: scale(0.96); }
.add-to-cart.added { background:var(--green); color:white; }

/* OOS card → 'Notify when back' inline button */
.card-notify-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(25,210,102,0.10);
  color: #128C7E;
  border: 1.5px solid rgba(25,210,102,0.35);
  padding: 7px 10px;
  border-radius: var(--radius);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.card-notify-btn:hover { background: rgba(25,210,102,0.18); border-color: #25D366; }
[data-theme="dark"] .card-notify-btn { background: rgba(25,210,102,0.12); color: #81c784; }
.variant-swatches { padding:7px 12px 5px; border-top:1px solid #f0f0f0; background:#fafafa; }
.vcolor-name { font-size:11px; color:var(--text-light); display:block; margin-bottom:5px; }
.vcolor-name strong { color:var(--text); font-weight:600; }
.vswatch-row { display:flex; gap:5px; flex-wrap:wrap; }
.vswatch { width:36px; height:36px; border-radius:4px; object-fit:cover; cursor:pointer; border:2px solid var(--border); transition:border-color 0.15s,transform 0.12s; flex-shrink:0; }
.vswatch:hover  { border-color:var(--red); transform:scale(1.08); }
.vswatch.vactive { border-color:var(--red); box-shadow:0 0 0 2px rgba(219,48,34,0.3); }

/* ══════════════════════════════════════════════
   CART PAGE
══════════════════════════════════════════════ */
.cart-layout { display:grid; grid-template-columns:1fr 360px; gap:14px; padding:16px 4%; align-items:start; }
.section-title { background:var(--red); color:white; padding:14px 20px; font-size:15px; font-weight:700; display:flex; align-items:center; gap:8px; }
.cart-items-section, .order-summary, .checkout-form { background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--border); }
.cart-item { display:flex; align-items:center; gap:14px; padding:16px 20px; border-bottom:1px solid var(--border); transition:background 0.15s; }
.cart-item:hover { background:#FAFAFA; }
.cart-item:last-child { border-bottom:none; }
.cart-item-image { width:68px; height:68px; border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:32px; flex-shrink:0; border:1px solid var(--border); background:#f8f8f8; }
.cart-item-image-photo { overflow:hidden; padding:0; }
.cart-item-image-photo img { width:100%; height:100%; object-fit:cover; border-radius:var(--radius); }
.cart-item-details { flex:1; }
.cart-item-name { font-weight:600; font-size:14px; color:var(--text); margin-bottom:3px; }
.cart-item-category { font-size:12px; color:var(--text-light); margin-bottom:4px; }
.cart-item-price { font-size:16px; font-weight:700; color:var(--text); }
.quantity-controls { display:flex; align-items:center; gap:8px; }
.qty-btn { width:30px; height:30px; border:1.5px solid var(--border); background:white; border-radius:50%; cursor:pointer; font-size:16px; font-weight:700; display:flex; align-items:center; justify-content:center; transition:var(--transition); }
.qty-btn:hover { background:var(--red); color:white; border-color:var(--red); }
.qty-value { font-size:15px; font-weight:600; min-width:26px; text-align:center; }
.remove-btn { background:none; border:none; color:var(--text-light); cursor:pointer; font-size:12px; font-weight:600; padding:4px 8px; transition:var(--transition); flex-shrink:0; font-family:'Poppins',sans-serif; }
.remove-btn:hover { color:var(--red); }
.cart-item-secondary-actions {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  align-items: center;
}
.save-for-later-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: color 0.15s;
}
.save-for-later-btn:hover { color: var(--red); }
.summary-body { padding:20px; }
.summary-row { display:flex; justify-content:space-between; margin-bottom:12px; font-size:14px; color:var(--text-light); align-items:center; }
.summary-row strong { color:var(--text); }
.summary-row.total { border-top:1px solid var(--border); padding-top:14px; margin-top:6px; font-size:17px; font-weight:700; color:var(--text); }
.summary-row.delivery-free strong { color:var(--green); }
.checkout-form { margin-top:14px; }
.form-body { padding:20px; }
.form-group { margin-bottom:15px; }
.form-label { font-size:12px; font-weight:600; color:var(--text-mid); margin-bottom:5px; display:block; text-transform:uppercase; letter-spacing:0.4px; }
.form-label .req { color:var(--red); }
.form-input, .form-select { width:100%; padding:10px 13px; border:1.5px solid var(--border); border-radius:var(--radius); font-size:14px; font-family:'Poppins',sans-serif; outline:none; transition:var(--transition); color:var(--text); background:white; }
.form-input:focus, .form-select:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(219,48,34,0.1); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
textarea.form-input { resize:vertical; min-height:72px; }
.whatsapp-order-btn { width:100%; background:#25D366; color:white; border:none; padding:14px; border-radius:var(--radius); font-size:15px; font-weight:700; cursor:pointer; font-family:'Poppins',sans-serif; display:flex; align-items:center; justify-content:center; gap:9px; transition:var(--transition); margin-top:6px; }
.whatsapp-order-btn:hover { background:#128C7E; box-shadow:0 4px 14px rgba(37,211,102,0.35); }
.order-note { font-size:12px; color:var(--green); text-align:center; margin-top:10px; padding:9px 12px; background:var(--green-light); border-radius:var(--radius); line-height:1.6; }

/* ══════════════════════════════════════════════
   FLASH SALE BANNER
══════════════════════════════════════════════ */
.flash-sale-banner {
  background: linear-gradient(135deg, #212121 0%, #424242 50%, #212121 100%);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}
.flash-sale-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 10px,
    rgba(255,229,0,0.04) 10px, rgba(255,229,0,0.04) 20px
  );
}
.flash-sale-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  position: relative;
  z-index: 1;
  gap: 12px;
  flex-wrap: wrap;
}
.flash-sale-left h3 { font-size: 17px; font-weight: 800; color: white; margin-bottom: 3px; }
.flash-sale-left p  { font-size: 12px; color: rgba(255,255,255,0.7); }
.flash-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  animation: flash-pulse 1.8s ease-in-out infinite;
}
@keyframes flash-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.05); }
}
.flash-sale-btn {
  background: var(--yellow);
  color: var(--red-dark);
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}
.flash-sale-btn:hover { background: var(--yellow-dark); transform: scale(1.04); }

/* ── Flash sale banner inline timer ── */
.flash-timer-box {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.flash-timer-box .flash-timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 44px;
}
.flash-timer-box .flash-timer-unit span {
  font-size: 20px;
  font-weight: 800;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.flash-timer-box .flash-timer-unit small {
  font-size: 9px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  margin-top: 2px;
}
.flash-timer-sep {
  color: var(--yellow);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  .flash-timer-box { display: none; }
}

/* ══════════════════════════════════════════════
   SHOP BY CATEGORY GRID
══════════════════════════════════════════════ */
.cat-grid-section {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 14px 16px 18px;
}
.cat-grid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 14px 8px 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--cc, #DB3022), color-mix(in srgb, var(--cc, #DB3022) 70%, black));
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
  line-height: 1.3;
}
.cat-grid-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.cat-grid-icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
  .cat-grid-card { padding: 12px 6px 10px; }
  .cat-grid-icon { font-size: 24px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 10px; }
  .cat-grid-card { font-size: 10px; padding: 10px 4px 8px; }
  .cat-grid-icon { font-size: 22px; }
}

/* ══════════════════════════════════════════════
   WISHLIST BUTTON
══════════════════════════════════════════════ */
.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 4;
  transition: transform 0.2s, box-shadow 0.2s;
  line-height: 1;
}
.wishlist-btn:hover { transform: scale(1.15); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.wishlist-btn.active { color: var(--red); }
.wishlist-btn.pop { animation: wishlistPop 0.35s ease; }
.qv-card-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 4;
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  line-height: 1;
}
.product-card:hover .qv-card-btn { opacity: 1; transform: scale(1.05); }
@media (max-width: 768px) { .qv-card-btn { opacity: 1; } }

/* WhatsApp Share button on product card */
.card-share-btn {
  position: absolute;
  top: 44px; /* below the quick-view button */
  left: 8px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,211,102,0.4);
  z-index: 4;
  transition: transform 0.2s, box-shadow 0.2s, background 0.18s;
  opacity: 0;
  line-height: 1;
  text-decoration: none;
}
.card-share-btn:hover {
  background: #128C7E;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(37,211,102,0.5);
}
.product-card:hover .card-share-btn { opacity: 1; }
@media (max-width: 768px) { .card-share-btn { opacity: 1; } }
@keyframes wishlistPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.45); }
  70%  { transform: scale(0.88); }
  100% { transform: scale(1); }
}

/* ══════════════════════════════════════════════
   QUICK VIEW MODAL
══════════════════════════════════════════════ */
.qv-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.qv-backdrop.open { display: flex; }
.qv-modal {
  background: white;
  border-radius: var(--radius-md);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  gap: 0;
  position: relative;
  animation: pageFadeIn 0.22s ease;
  box-shadow: var(--shadow-md);
}
.qv-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--bg);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--text-light);
  transition: background 0.15s;
}
.qv-close:hover { background: var(--border); color: var(--text); }
.qv-img {
  width: 42%;
  flex-shrink: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.qv-img img { max-width: 100%; max-height: 280px; object-fit: contain; }
.qv-body {
  flex: 1;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qv-category { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.8px; }
.qv-name { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; }
.qv-rating { display: flex; align-items: center; gap: 6px; }
.qv-price { font-size: 22px; font-weight: 800; color: var(--text); }
.qv-mrp { font-size: 13px; color: var(--text-light); }
.qv-mrp s { margin-right: 6px; }
.qv-save { color: var(--green); font-weight: 700; }
.qv-desc { font-size: 12px; color: var(--text-mid); line-height: 1.7; max-height: 80px; overflow: hidden; position: relative; }
.qv-desc::after { content:''; position:absolute; bottom:0; left:0; right:0; height:24px; background:linear-gradient(transparent,white); }
.qv-actions { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.qv-actions .add-to-cart { flex: 1; min-width: 120px; }
.qv-view-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.qv-view-link:hover { border-color: var(--red); color: var(--red); }
.qv-wish-btn {
  background: white;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  color: var(--text-mid);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.qv-wish-btn:hover { border-color: var(--red); color: var(--red); background: #fef3f2; }
.qv-wish-btn.active { border-color: var(--red); color: var(--red); background: #fef3f2; }
@media (max-width: 540px) {
  .qv-modal { flex-direction: column; }
  .qv-img { width: 100%; border-radius: var(--radius-md) var(--radius-md) 0 0; padding: 16px; }
  .qv-img img { max-height: 200px; }
}

/* ══════════════════════════════════════════════
   SKELETON LOADER
══════════════════════════════════════════════ */
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.skel {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skel-img  { height: 190px; border-radius: 0; }
.skel-line { height: 12px; margin: 10px 12px 6px; }
.skel-line.short { width: 60%; }
.skel-line.price { height: 16px; width: 40%; margin-top: 8px; }

/* ══════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 78px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(219,48,34,0.4);
  z-index: 998;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, transform 0.2s;
}
.back-to-top:hover { transform: scale(1.1); }
.back-to-top.visible { display: flex; }
@media (min-width: 769px) {
  .back-to-top { bottom: 28px; left: 28px; }
}

/* ══════════════════════════════════════════════
   SOCIAL LINKS IN FOOTER
══════════════════════════════════════════════ */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 14px;
  font-size: 13px;
  color: #777;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.social-link:hover { opacity: 0.85; transform: translateY(-1px); }
.whatsapp-s { background: #25D366; color: white; }
.email-s    { background: var(--red); color: white; }
.phone-s    { background: #1565C0; color: white; }

/* ══════════════════════════════════════════════
   OUT OF STOCK
══════════════════════════════════════════════ */
.product-card.oos { opacity: 0.82; }
.oos-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 3; pointer-events: none;
}
.oos-ribbon {
  background: rgba(0,0,0,0.72);
  color: white;
  font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 0; width: 100%; text-align: center;
  transform: rotate(-10deg) scale(1.05);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.add-to-cart.oos-btn {
  background: #bbb; color: #fff; cursor: not-allowed;
  pointer-events: none;
}
.pd-oos-badge {
  display: inline-block;
  background: #b71c1c; color: white;
  font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 4px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px;
}

/* ══════════════════════════════════════════════
   EMPTY STATE / TOAST
══════════════════════════════════════════════ */
.empty-cart { text-align:center; padding:55px 20px; color:var(--text-light); }
.empty-cart .empty-icon { font-size:70px; margin-bottom:18px; opacity:0.4; }
.empty-cart h3 { font-size:20px; color:var(--text); margin-bottom:8px; }
.empty-cart p  { margin-bottom:22px; }
/* Toast stack */
.toast-stack {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  cursor: pointer;
  pointer-events: all;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 90vw;
  text-overflow: ellipsis;
  overflow: hidden;
  background: var(--text);
  color: white;
}
.toast.toast-show { opacity: 1; transform: translateY(0); }
.toast.toast-success { background: var(--green); }
.toast.toast-error   { background: var(--red-dark); }
.toast.toast-info    { background: #1565c0; }
/* Legacy .toast.show for any old callers */
.toast.show { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
══════════════════════════════════════════════ */
.whatsapp-float { position:fixed; bottom:72px; right:20px; background:#25D366; color:white; width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:24px; text-decoration:none; box-shadow:0 4px 20px rgba(37,211,102,0.5); z-index:999; transition:var(--transition); animation:pulse 2.5s infinite; cursor:pointer; }
.whatsapp-float:hover { transform:scale(1.1); }

/* WhatsApp "live chat" popup card */
.wa-chat-card {
  position: fixed;
  bottom: 138px;
  right: 20px;
  width: 340px;
  max-width: calc(100vw - 36px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.94) translateY(10px);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wa-chat-card.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
@media (max-width: 480px) {
  .wa-chat-card { bottom: 88px; right: 10px; left: 10px; width: auto; }
}
.wa-chat-head {
  background: #128C7E;
  color: #fff;
  padding: 14px 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-chat-head-avatar {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.wa-chat-head-info { flex: 1; min-width: 0; }
.wa-chat-head-name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.wa-chat-head-status { font-size: 11px; opacity: 0.92; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.wa-status-dot {
  width: 7px; height: 7px;
  background: #76ff03;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(118,255,3,0.3);
  display: inline-block;
  animation: wa-pulse 1.8s infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(118,255,3,0.3); }
  50%      { box-shadow: 0 0 0 5px rgba(118,255,3,0.05); }
}
.wa-chat-close {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.wa-chat-close:hover { background: rgba(255,255,255,0.32); }
.wa-chat-body {
  padding: 14px;
  background: #e5ddd5;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="0.5" fill="%23000" opacity="0.04"/></svg>');
  max-height: 60vh;
  overflow-y: auto;
}
.wa-chat-bubble {
  background: #fff;
  padding: 10px 12px;
  border-radius: 0 12px 12px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin-bottom: 12px;
  position: relative;
}
.wa-chat-bubble::before {
  content: '';
  position: absolute;
  top: 0; left: -7px;
  width: 0; height: 0;
  border: 8px solid transparent;
  border-right-color: #fff;
  border-left: 0;
  border-top: 0;
}
.wa-chat-prompts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.wa-prompt-chip {
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #075E54;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.wa-prompt-chip:hover {
  background: #128C7E;
  color: #fff;
  border-color: #128C7E;
  transform: translateX(2px);
}
.wa-chat-open-btn {
  display: block;
  background: #25D366;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: background 0.15s, transform 0.1s;
}
.wa-chat-open-btn:hover { background: #128C7E; transform: translateY(-1px); }
.wa-chat-alt {
  font-size: 10.5px;
  color: rgba(0,0,0,0.55);
  text-align: center;
}
[data-theme="dark"] .wa-chat-card { background: #1a1a1a; }
[data-theme="dark"] .wa-chat-bubble { background: #262d31; color: #e8eaf0; box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
[data-theme="dark"] .wa-chat-bubble::before { border-right-color: #262d31; }
[data-theme="dark"] .wa-chat-body { background: #0b141a; }
[data-theme="dark"] .wa-prompt-chip { background: #1f2933; color: #75e6da; border-color: #2a3441; }
[data-theme="dark"] .wa-prompt-chip:hover { background: #128C7E; color: #fff; }
[data-theme="dark"] .wa-chat-alt { color: rgba(255,255,255,0.55); }

/* Product card 'X sold this week' social-proof badge */
.card-sold-week {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255,87,34,0.10);
  color: #d84315;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 8px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  margin-left: 4px;
}
[data-theme="dark"] .card-sold-week {
  background: rgba(255,87,34,0.18);
  color: #ffab91;
}

/* Product detail — Limited-time countdown urgency */
.pd-urgency-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffccbc 100%);
  border: 1.5px solid #ff5722;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0 6px;
  box-shadow: 0 2px 10px rgba(255,87,34,0.15);
  animation: pdUrgPulse 2.4s ease-in-out infinite;
}
@keyframes pdUrgPulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(255,87,34,0.15); }
  50%      { box-shadow: 0 4px 16px rgba(255,87,34,0.30); }
}
[data-theme="dark"] .pd-urgency-countdown {
  background: linear-gradient(135deg, rgba(255,87,34,0.12), rgba(255,87,34,0.20));
  border-color: #d84315;
}
.pd-uc-left { min-width: 0; flex: 1; }
.pd-uc-title {
  font-size: 13px;
  font-weight: 800;
  color: #bf360c;
  line-height: 1.2;
}
[data-theme="dark"] .pd-uc-title { color: #ffab91; }
.pd-uc-sub {
  font-size: 11px;
  color: #6d4c41;
  margin-top: 2px;
  line-height: 1.4;
}
[data-theme="dark"] .pd-uc-sub { color: #ffccbc; }
.pd-uc-timer {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.pd-uc-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a2e;
  color: #fff;
  border-radius: 6px;
  padding: 5px 7px;
  min-width: 36px;
  font-family: 'SF Mono', 'Courier New', monospace;
}
.pd-uc-unit span {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
}
.pd-uc-unit small {
  font-size: 8.5px;
  opacity: 0.7;
  margin-top: 2px;
  letter-spacing: 1px;
}
.pd-uc-sep {
  color: #bf360c;
  font-weight: 800;
  font-size: 14px;
  margin: 0 1px;
}
@media (max-width: 480px) {
  .pd-urgency-countdown { gap: 10px; padding: 10px 12px; }
  .pd-uc-unit { min-width: 32px; padding: 4px 5px; }
  .pd-uc-unit span { font-size: 14px; }
  .pd-uc-title { font-size: 12px; }
  .pd-uc-sub { font-size: 10.5px; }
}

/* Trending searches in header search dropdown */
.sh-header-trending {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2) !important;
  color: #e65100 !important;
  border-top: 1px dashed #ff9800;
}
[data-theme="dark"] .sh-header-trending {
  background: rgba(255,152,0,0.10) !important;
  color: #ffb74d !important;
}
.sh-trending-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px 12px;
}
.sh-trend-chip {
  background: var(--bg, #fdfaf3);
  border: 1px solid #ffb74d;
  color: #bf360c;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.sh-trend-chip:hover {
  background: #ff9800;
  color: #fff;
  border-color: #ff9800;
  transform: translateY(-1px);
}
[data-theme="dark"] .sh-trend-chip {
  background: rgba(255,152,0,0.10);
  color: #ffb74d;
  border-color: #f57c00;
}

/* Empty cart — category quick-jump chips */
.empty-cart-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 480px;
  margin: 18px auto 0;
}
@media (max-width: 540px) { .empty-cart-cats { grid-template-columns: repeat(3, 1fr); } }
.empty-cat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text, #1a1a1a);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.18s;
}
.empty-cat-chip:hover {
  border-color: var(--red, #DB3022);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(219,48,34,0.12);
}
.empty-cat-emoji { font-size: 26px; line-height: 1; }
.empty-cat-name { font-weight: 600; }
[data-theme="dark"] .empty-cat-chip { background: #141821; border-color: #252a37; }

/* Cart 'Why customers trust us' reassurance stack */
.why-trust-stack {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 14px;
  padding: 18px 16px 8px;
  margin-top: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
[data-theme="dark"] .why-trust-stack { background: #141821; border-color: #252a37; }
.wt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px dashed var(--border, #e0e0e0);
}
.wt-head h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text, #1a1a1a);
  margin: 0;
}
.wt-rating-pill {
  background: rgba(255,152,0,0.12);
  color: #e65100;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
}
[data-theme="dark"] .wt-rating-pill { background: rgba(255,152,0,0.18); color: #ffb74d; }
.wt-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.wt-row:last-child { border-bottom: none; }
[data-theme="dark"] .wt-row { border-bottom-color: rgba(255,255,255,0.05); }
.wt-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.wt-body { flex: 1; }
.wt-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #1a1a1a);
  margin-bottom: 2px;
  line-height: 1.35;
}
.wt-body span {
  display: block;
  font-size: 12px;
  color: var(--text-2, #6c757d);
  line-height: 1.5;
}

/* Hero slideshow auto-progress bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.18);
  z-index: 6;
  overflow: hidden;
}
.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd700, #ff9800);
  transition: width 4.5s linear;
  box-shadow: 0 0 8px rgba(255,215,0,0.5);
}
@media (prefers-reduced-motion: reduce) {
  .hero-progress-fill { transition: none !important; width: 100% !important; }
}

/* Just Landed — recently added products strip */
.just-landed-section { padding: 12px 4% 8px; }
.just-landed-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.just-landed-strip::-webkit-scrollbar { height: 6px; }
.just-landed-strip::-webkit-scrollbar-thumb { background: var(--border, #e0e0e0); border-radius: 3px; }
.jl-card {
  position: relative;
  flex: 0 0 auto;
  width: 180px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .jl-card { background: #141821; border-color: #252a37; }
.jl-card:hover {
  transform: translateY(-3px);
  border-color: var(--red, #DB3022);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.jl-ribbon {
  position: absolute;
  top: 8px; left: 8px;
  background: linear-gradient(135deg, #DB3022, #B71C1C);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(219,48,34,0.35);
  animation: jl-shine 2.4s ease-in-out infinite;
}
@keyframes jl-shine {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
.jl-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg, #fafafa);
  overflow: hidden;
}
.jl-img img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.4s ease;
}
.jl-card:hover .jl-img img { transform: scale(1.05); }
.jl-info { padding: 10px 12px 12px; }
.jl-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  min-height: 34px;
}
.jl-price-row { display: flex; align-items: center; gap: 6px; }
.jl-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--red, #DB3022);
}
.jl-save {
  background: rgba(39,174,96,0.12);
  color: var(--green, #27ae60);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}
.jl-ago {
  font-size: 10px;
  color: var(--text-2, #6c757d);
  margin-top: 4px;
}
@media (max-width: 480px) {
  .jl-card { width: 150px; }
  .jl-name { font-size: 12px; min-height: 32px; }
}

/* Editor's Picks magazine spotlight */
.editors-picks-section {
  padding: 28px 4%;
  margin: 16px 0;
  background: linear-gradient(135deg, #fdfaf3 0%, #faf3e6 100%);
  border-top: 1px solid #efe5cf;
  border-bottom: 1px solid #efe5cf;
}
[data-theme="dark"] .editors-picks-section {
  background: linear-gradient(135deg, #1a1410 0%, #221912 100%);
  border-color: #2e231a;
}
.ep-head { text-align: center; max-width: 600px; margin: 0 auto 20px; }
.ep-kicker {
  display: inline-block;
  background: #a0832f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 16px;
  margin-bottom: 8px;
}
.ep-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text, #1a1a1a);
  margin: 0 0 6px;
  letter-spacing: -0.4px;
}
.ep-head p {
  font-size: 13px;
  color: var(--text-2, #6c757d);
  line-height: 1.5;
}
.ep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .ep-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ep-grid { grid-template-columns: 1fr; } }
.ep-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .ep-card { background: #141821; }
.ep-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.ep-card-num {
  position: absolute;
  top: 10px; left: 10px;
  background: #1a1a2e;
  color: #c9a84c;
  font-size: 11px;
  font-weight: 800;
  font-family: 'SF Mono', 'Courier New', monospace;
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 2;
  letter-spacing: 0.5px;
}
.ep-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  overflow: hidden;
}
.ep-card-img img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.4s ease;
}
.ep-card:hover .ep-card-img img { transform: scale(1.06); }
.ep-card-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.ep-card-cat {
  font-size: 10px;
  color: #a0832f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.ep-card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text, #1a1a1a);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep-card-quote {
  font-size: 11.5px;
  font-style: italic;
  color: var(--text-2, #6c757d);
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
}
.ep-card-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ep-card-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--red, #DB3022);
}
.ep-card-save {
  background: rgba(39,174,96,0.12);
  color: var(--green, #27ae60);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}
.ep-card-rating {
  margin-left: auto;
  background: #388e3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
}

/* Testimonials auto-rotator */
.testimonials-grid.tr-rotating {
  display: grid;
  position: relative;
  min-height: 200px;
}
.testimonials-grid.tr-rotating .testimonial-card {
  grid-column: 1; grid-row: 1;
  opacity: 0;
  transform: scale(0.97) translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.testimonials-grid.tr-rotating .testimonial-card.tr-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  position: relative;
}
.tr-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.tr-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border, #d4d4d4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.tr-dot:hover { background: var(--text-2, #9aa3b2); }
.tr-dot.active {
  background: var(--red, #DB3022);
  transform: scale(1.3);
}
@media (min-width: 880px) {
  /* On wide desktop, show 3 cards at once instead of rotating */
  .testimonials-grid.tr-rotating { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; min-height: 0; }
  .testimonials-grid.tr-rotating .testimonial-card { grid-column: auto; grid-row: auto; opacity: 1 !important; transform: none !important; position: relative; pointer-events: auto; }
  .tr-dots { display: none; }
}
@keyframes pulse { 0%,100% { box-shadow:0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow:0 0 0 14px rgba(37,211,102,0); } }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn-primary { background:var(--yellow); color:var(--red-dark); padding:11px 28px; border-radius:var(--radius); font-weight:700; font-size:14px; transition:var(--transition); display:inline-flex; align-items:center; gap:7px; border:none; cursor:pointer; font-family:'Poppins',sans-serif; }
.btn-primary:hover { background:var(--yellow-dark); box-shadow:0 4px 12px rgba(255,229,0,0.4); }
.btn-outline { background:transparent; color:white; padding:11px 28px; border-radius:var(--radius); font-weight:600; font-size:14px; transition:var(--transition); display:inline-flex; align-items:center; gap:7px; border:2px solid rgba(255,255,255,0.5); cursor:pointer; font-family:'Poppins',sans-serif; }
.btn-outline:hover { border-color:var(--yellow); color:var(--yellow); }

/* ══════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════ */
.about-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:36px; align-items:center; }
.about-visual { background:linear-gradient(135deg,var(--red),var(--red-dark)); border-radius:var(--radius-md); height:280px; display:flex; align-items:center; justify-content:center; flex-direction:column; color:white; text-align:center; padding:28px; }
.about-visual .big-icon { font-size:56px; margin-bottom:12px; }
.about-visual h3 { font-size:17px; font-weight:700; color:var(--yellow); margin-bottom:5px; }
.about-visual p  { font-size:12px; color:rgba(255,255,255,0.65); }
.about-content h2 { font-size:24px; font-weight:700; color:var(--text); margin-bottom:12px; line-height:1.25; }
.about-content h2 span { color:var(--red); }
.about-content > p { color:var(--text-light); margin-bottom:12px; font-size:14px; line-height:1.75; }
.about-details { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
.detail-item { display:flex; gap:10px; align-items:flex-start; }
.detail-icon { font-size:17px; color:var(--red); margin-top:1px; }
.detail-text h4 { font-size:13px; font-weight:700; color:var(--text); margin-bottom:2px; }
.detail-text p  { font-size:12px; color:var(--text-light); line-height:1.5; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer { background:#172337; color:#9b9b9b; padding:40px 4% 18px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:36px; margin-bottom:32px; }
.footer-brand p { font-size:13px; color:#777; line-height:1.75; margin:10px 0 16px; }
.footer-brand .logo-text h1 { font-size:17px; color:white; font-weight:700; }
.footer-brand .logo-text span { color:var(--yellow); }
.footer-brand .logo-img { height: 64px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)) brightness(1.1); }
.footer-brand .logo {
  background: none; box-shadow: none; padding: 0; border-radius: 0;
}
.footer-brand .logo:hover { transform: none; box-shadow: none; }
.gst-box { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:var(--radius); padding:12px; font-size:12px; color:#aaa; line-height:1.7; }
.footer-col h4 { font-size:13px; font-weight:700; color:white; margin-bottom:14px; padding-bottom:8px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:8px; }
.footer-col ul li a { color:#9b9b9b; font-size:13px; transition:color 0.2s; }
.footer-col ul li a:hover { color:var(--yellow); }
.contact-item { display:flex; gap:8px; margin-bottom:10px; font-size:13px; color:#9b9b9b; align-items:flex-start; }
.contact-icon { color:var(--yellow); font-size:14px; flex-shrink:0; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.07); padding-top:16px; display:flex; justify-content:space-between; align-items:center; font-size:12px; color:#555; flex-wrap:wrap; gap:8px; }

/* ── HANII DHANII PARTNER CARD ─────────────────── */
.hd-partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #7B0000 0%, #B71C1C 50%, #C62828 100%);
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: white;
  box-shadow: 0 6px 24px rgba(183,28,28,0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}
.hd-partner-card:hover { transform:translateY(-2px); box-shadow:0 10px 32px rgba(183,28,28,0.45); }
.hd-partner-left { display:flex; align-items:center; gap:16px; }
.hd-logo-circle {
  width: 56px; height: 56px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #C9A84C;
  flex-shrink: 0;
}
.hd-lc-text { font-size:16px; font-weight:900; color:#B71C1C; letter-spacing:-1px; }
.hd-partner-info { display:flex; flex-direction:column; gap:2px; }
.hd-partner-badge-pill {
  display:inline-block;
  background:rgba(255,255,255,0.2);
  border:1px solid rgba(255,255,255,0.35);
  color:white;
  font-size:10px; font-weight:700;
  padding:2px 9px; border-radius:20px;
  width:fit-content;
}
.hd-partner-name { font-size:18px; font-weight:800; letter-spacing:0.3px; }
.hd-partner-sub  { font-size:12px; color:rgba(255,255,255,0.8); font-style:italic; }
.hd-partner-cats { font-size:11px; color:rgba(255,255,255,0.7); margin-top:2px; }
.hd-partner-arrow { font-size:24px; font-weight:800; color:rgba(255,255,255,0.7); }

/* ══════════════════════════════════════════════
   BOTTOM NAVIGATION BAR  (mobile app style)
══════════════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 1002;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.1);
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px 6px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 10px;
  font-weight: 500;
  gap: 3px;
  transition: color 0.15s;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.bottom-nav-item.active { color: var(--red); }
.bottom-nav-item:hover  { color: var(--red); }
.bottom-nav-icon  { font-size:21px; line-height:1; }
.bottom-nav-label { font-size:10px; line-height:1; }
.bottom-nav-badge { position:absolute; top:5px; right:calc(50% - 20px); background:var(--red); color:white; border-radius:50%; width:16px; height:16px; font-size:9px; font-weight:700; display:none; align-items:center; justify-content:center; }

/* ══════════════════════════════════════════════
   PRODUCT DETAIL PAGE
══════════════════════════════════════════════ */
.pd-page { max-width:1100px; margin:16px auto; padding:0 20px 80px; }
.pd-container { display:grid; grid-template-columns:400px 1fr; gap:20px; align-items:start; }
.pd-gallery { display: flex; flex-direction: column; gap: 10px; }
.pd-main-image { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; padding:24px; }
.pd-main-image img { width:100%; height:100%; object-fit:contain; transition:opacity 0.2s; }
.pd-thumb-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; scrollbar-width: none; }
.pd-thumb-strip::-webkit-scrollbar { display: none; }
.pd-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: var(--white);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { border-color: var(--red); }
.pd-thumb.active { border-color: var(--red); box-shadow: 0 0 0 2px rgba(219,48,34,0.25); }
.pd-info { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:22px; }
.pd-category-tag { font-size:12px; color:var(--text-light); text-transform:uppercase; letter-spacing:0.8px; margin-bottom:6px; }
.pd-title { font-size:21px; font-weight:600; color:var(--text); line-height:1.35; margin-bottom:10px; font-family:'Poppins',sans-serif; }
.pd-rating { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
.pd-price { font-size:28px; font-weight:700; color:var(--text); margin-bottom:16px; }
.pd-color-section { margin-bottom:18px; }
.pd-color-label { font-size:14px; color:var(--text-light); margin-bottom:12px; }
.pd-color-label strong { color:var(--text); font-weight:600; }
.pd-color-swatches { display:flex; flex-wrap:wrap; gap:12px; }
.pd-swatch-item { cursor:pointer; text-align:center; transition:transform 0.15s; }
.pd-swatch-item img { width:60px; height:60px; border-radius:var(--radius); object-fit:cover; border:2px solid var(--border); display:block; transition:border-color 0.15s,box-shadow 0.15s; pointer-events:none; }
.pd-swatch-item span { font-size:11px; color:var(--text-light); display:block; margin-top:4px; max-width:60px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; pointer-events:none; }
.pd-swatch-item:hover img { border-color:var(--red); }
.pd-swatch-item.active img { border-color:var(--red); box-shadow:0 0 0 2px rgba(219,48,34,0.3); }
.pd-swatch-item.active span { color:var(--red); font-weight:600; }
.pd-desc { color:var(--text-light); font-size:14px; line-height:1.75; margin-bottom:20px; }
.pd-desc p { margin:0 0 10px; }
.pd-desc ul { margin:8px 0 12px 18px; padding:0; }
.pd-desc-para { color: var(--text-mid); font-size: 13px; line-height: 1.75; margin: 0 0 8px; }
.pd-desc-list { margin: 8px 0 12px 16px; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.pd-desc-list li { color: var(--text-mid); font-size: 13px; line-height: 1.6; }
.pd-desc-list li::marker { color: var(--red); font-size: 12px; }
.pd-desc ul li { list-style:disc; margin-bottom:4px; }
.pd-desc strong { color:var(--text); font-weight:600; }
.pd-actions { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.pd-actions .add-to-cart { flex:1; min-width:150px; padding:13px 20px; font-size:14px; border-radius:var(--radius); }
.pd-btn-buy-now {
  flex: 1;
  min-width: 150px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #e65100, #ff8f00);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s, transform 0.15s;
}
.pd-btn-buy-now:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.pd-btn-buy-now:disabled { opacity: 0.5; cursor: not-allowed; }
.pd-btn-wa { flex:1; min-width:150px; padding:13px 20px; background:#25D366; color:#fff; border-radius:var(--radius); font-weight:700; font-size:14px; text-align:center; display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; transition:background 0.2s; }
.pd-btn-wa:hover { background:#128C7E; }
.pd-btn-share { padding:13px 18px; background:var(--bg); color:var(--text-mid); border:1.5px solid var(--border); border-radius:var(--radius); font-weight:600; font-size:14px; cursor:pointer; font-family:'Poppins',sans-serif; display:inline-flex; align-items:center; gap:7px; transition:var(--transition); flex-shrink:0; }
.pd-btn-share:hover { background:var(--border); }
.pd-info-box { background:var(--red-light); border:1px solid rgba(219,48,34,0.2); border-radius:var(--radius); padding:12px 16px; font-size:13px; color:var(--red-dark); display:flex; flex-direction:column; gap:5px; }
.pd-card-link { display:block; text-decoration:none; color:inherit; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (min-width: 769px) {
  .bottom-nav { display:none; }
  body { padding-bottom:0; }
  .whatsapp-float { bottom:24px; right:24px; }
  .toast-stack { bottom:28px; }
}
@media (max-width: 1024px) {
  .fk-banner-grid { grid-template-columns:1fr 1fr; }
  .fk-banner-grid .fk-banner-card:last-child { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px; }
  .about-grid  { grid-template-columns:1fr; gap:24px; }
  .pd-container { grid-template-columns:1fr; }
}
@media (max-width: 768px) {
  .header-main { padding:8px 3%; gap:10px; }
  .app-shortcuts { padding:8px 3% 10px; gap:6px; }
  .fk-banner-grid { grid-template-columns:1fr; }
  .fk-deal-row { grid-template-columns:1fr; }
  .cart-layout { grid-template-columns:1fr; padding:12px; }
  .products-layout { grid-template-columns:1fr; padding:12px; }
  .filters-sidebar {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    z-index: 1200;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.22);
    transform: translateY(100%);
    transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
    display: block !important;
    top: auto;
  }
  .filters-sidebar.open { transform: translateY(0); }
  .filter-toggle-btn { display:flex; }
  #sortSelectMobile { display:block !important; }
  .form-row { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .pd-page { padding:0 12px 36px; }
  .fk-main { padding:8px 3%; }
  .hero-slide { padding:28px 5% 22px; min-height:180px; }
  .hero-slide-content h2 { font-size:20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns:1fr; }
  .products-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
  .product-image { height:150px; }
  .cart-item { flex-wrap:wrap; }
  .pd-actions { flex-direction:column; }
  .pd-actions .add-to-cart, .pd-btn-buy-now, .pd-btn-wa { min-width:unset; width:100%; }
  .fk-cat-item { padding:8px 12px; min-width:60px; }
  .fk-cat-icon { width:36px; height:36px; font-size:18px; }
  .shortcut-tile { padding:10px 4px 8px; border-radius:8px; }
  .shortcut-tile-icon { font-size:22px; }
  .shortcut-tile-label { font-size:10px; }
  .hero-slide-content h2 { font-size:18px; }
}

/* ══════════════════════════════════════════════
   ANNOUNCEMENT TICKER
══════════════════════════════════════════════ */
.announcement-bar {
  background: var(--red-dark);
  color: white;
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.announcement-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.announcement-track:hover { animation-play-state: paused; }
.announcement-item {
  font-size: 12px;
  font-weight: 500;
  padding: 0 28px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.2px;
}
.announcement-item span { color: var(--yellow); font-weight: 700; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════
   RECENT SALES TICKER (homepage only, below announcement)
══════════════════════════════════════════════ */
.recent-sales-ticker {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #1a1a2e 0%, #2c2c4a 100%);
  color: #fff;
  font-size: 12.5px;
  height: 36px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
}
.rst-label {
  flex-shrink: 0;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(239, 68, 68, 0.18);
  color: #fda4a4;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.rst-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.rst-track {
  display: flex;
  white-space: nowrap;
  animation: rstTicker 80s linear infinite;
}
.rst-track:hover { animation-play-state: paused; }
.rst-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s;
  border-right: 1px dashed rgba(255, 255, 255, 0.08);
}
.rst-item:last-child { border-right: none; }
.rst-item:hover { color: #fff; }
.rst-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DB3022 0%, #ff6b6b 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.rst-text strong { color: #fff; font-weight: 700; }
.rst-text em { color: #FFD54F; font-style: normal; font-weight: 600; padding: 0 3px; }
.rst-ago { color: rgba(255, 255, 255, 0.55); font-size: 11px; margin-left: 6px; }
@keyframes rstTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .recent-sales-ticker { height: 32px; font-size: 11.5px; }
  .rst-label { padding: 0 10px; font-size: 10px; }
  .rst-item { padding: 0 14px; gap: 6px; }
  .rst-avatar { width: 18px; height: 18px; font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .rst-track { animation: none; }
  .rst-viewport { overflow-x: auto; }
}

/* ══════════════════════════════════════════════
   IMAGE ZOOM MODAL
══════════════════════════════════════════════ */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pageFadeIn 0.2s ease;
}
.img-modal.open { display: flex; }
.img-modal-inner { position: relative; max-width: min(90vw, 600px); }
.img-modal-inner img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
  touch-action: pinch-zoom;
  cursor: zoom-in;
  user-select: none;
}
.img-modal-close {
  position: absolute;
  top: -14px; right: -14px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.15s;
}
.img-modal-close:hover { transform: scale(1.15); }

/* ══════════════════════════════════════════════
   HORIZONTAL PRODUCT STRIP (New Arrivals etc.)
══════════════════════════════════════════════ */
.horiz-product-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 12px;
}
.horiz-product-strip::-webkit-scrollbar { display: none; }
.horiz-product-strip .product-card {
  min-width: 175px;
  max-width: 175px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .horiz-product-strip .product-card { min-width: 150px; max-width: 150px; }
  .horiz-product-strip .product-image { height: 130px; }
}

/* ══════════════════════════════════════════════
   MOBILE FILTER TOGGLE BUTTON
══════════════════════════════════════════════ */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1.5px solid var(--border);
  padding: 7px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}
.filter-toggle-btn:hover { border-color: var(--red); color: var(--red); }
.filter-toggle-btn.active { background: var(--red-light); border-color: var(--red); color: var(--red); }

/* ══════════════════════════════════════════════
   MOBILE FILTER BOTTOM SHEET EXTRAS
══════════════════════════════════════════════ */
.filter-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  z-index: 1199;
  animation: fadeIn 0.22s ease;
}
.filter-sheet-overlay.visible { display: block; }
.filter-sheet-handle {
  display: none;
  justify-content: center;
  padding: 10px 0 4px;
  background: white;
  border-radius: 18px 18px 0 0;
}
.filter-sheet-handle-bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: #d0d0d0;
}
.filter-sheet-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px;
  border-bottom: 1px solid var(--border);
  background: white;
  position: sticky;
  top: 0;
  z-index: 1;
}
.filter-sheet-title { font-size: 15px; font-weight: 700; color: var(--text); }
.filter-sheet-close {
  background: none; border: none; font-size: 22px; cursor: pointer;
  color: var(--text-light); line-height: 1; padding: 0;
}
.filter-sheet-done {
  background: var(--red); color: white; border: none;
  border-radius: var(--radius); font-size: 13px; font-weight: 700;
  padding: 7px 20px; cursor: pointer; font-family: 'Poppins', sans-serif;
}
@media (max-width: 768px) {
  .filter-sheet-handle,
  .filter-sheet-header { display: flex; }
  .filter-title { display: none; }
}

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 16px 16px;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: #f5a623; font-size: 15px; letter-spacing: 1px; }
.testimonial-text { font-size: 13px; color: var(--text-mid); line-height: 1.65; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 13px; color: var(--text); }
.testimonial-author span  { font-size: 11px; color: var(--text-light); }
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ══════════════════════════════════════════════
   CARD ACTION ROW (Add to Cart + WhatsApp)
══════════════════════════════════════════════ */
.card-action-row { display:flex; gap:6px; align-items:center; width:100%; }
.card-action-row .add-to-cart { flex:1; min-width:0; }
.card-wa-btn {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: #25D366;
  color: white;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.card-wa-btn:hover { background: #128C7E; transform: scale(1.08); }

/* ── Card inline quantity control ── */
.card-qty-ctrl {
  display: flex;
  align-items: center;
  background: var(--red-light);
  border: 1.5px solid var(--red);
  border-radius: 6px;
  overflow: hidden;
  height: 36px;
  width: 100%;
}
.card-qty-btn {
  background: none;
  border: none;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  width: 38px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.card-qty-btn:hover { background: rgba(219,48,34,0.12); }
.card-qty-btn.add { color: var(--green); }
.card-qty-num {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* ══════════════════════════════════════════════
   MRP / SAVINGS DISPLAY
══════════════════════════════════════════════ */
.product-price-block { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px; }
.product-mrp { font-size:11px; color:var(--text-light); font-weight:400; }
.product-save { font-size:11px; color:var(--green); font-weight:700; background:var(--green-light); padding:1px 5px; border-radius:3px; }
.pd-mrp { font-size:15px; color:var(--text-light); margin-top:-10px; margin-bottom:14px; }
.pd-mrp s { font-weight:400; }
.pd-save-badge { display:inline-block; background:var(--green); color:white; font-size:13px; font-weight:700; padding:3px 10px; border-radius:4px; margin-left:10px; }
.pd-savings-callout { display:inline-block; background:#e8f5e9; color:#2e7d32; font-size:13px; font-weight:700; padding:6px 14px; border-radius:8px; margin-bottom:12px; border:1px solid #c8e6c9; }

/* ── Product keyword tags ── */
.pd-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px;
}
.pd-tag {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--text-light);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.pd-tag:hover {
  background: var(--red-light);
  color: var(--red);
  border-color: var(--red);
}

/* ── Product detail tabs ── */
.pd-tabs-nav {
  position: relative;
  display: flex;
  gap: 0;
  margin: 18px 0 0;
  border-bottom: 2px solid var(--border);
}
.pd-tab {
  background: none;
  border: none;
  padding: 10px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  transition: color 0.18s;
  white-space: nowrap;
}
.pd-tab.active { color: var(--red); }
.pd-tab-ink {
  position: absolute;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px 2px 0 0;
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.pd-tab-panels { margin-top: 14px; }
.pd-tab-panel { display: none; animation: tabFadeIn 0.22s ease; }
.pd-tab-panel.active { display: block; }
@keyframes tabFadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
.pd-info-rows { display: flex; flex-direction: column; gap: 0; }
.pd-size-guide-wrap { margin-top: 14px; }
.btn-ask-question {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f5;
  color: var(--text-mid);
  border: 1.5px solid #e0e0e0;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  margin-top: 6px;
}
.btn-ask-question:hover { background: #e3f2fd; border-color: #42a5f5; color: #1565c0; }
.pd-stock-badge { font-size:12px; font-weight:600; padding:3px 10px; border-radius:20px; background:var(--green-light); color:var(--green); border:1px solid rgba(56,142,60,0.25); }
.pd-stock-badge.oos { background:var(--red-light); color:var(--red-dark); border-color:rgba(219,48,34,0.2); }
.pd-stock-badge.low {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffcc80;
  animation: pdLowPulse 2s ease-in-out infinite;
}
@keyframes pdLowPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .pd-stock-badge.low { animation: none; } }
[data-theme="dark"] .pd-stock-badge.low { background: rgba(230, 81, 0, 0.18); color: #ffb74d; border-color: rgba(255, 152, 0, 0.3); }

/* ── Wishlist share menu (sheet-style modal) ── */
.wl-share-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10000;
  animation: wlShareFade 0.18s ease-out;
}
@keyframes wlShareFade { from { opacity: 0; } to { opacity: 1; } }
.wl-share-card {
  background: var(--surface, #fff);
  width: 100%;
  max-width: 420px;
  border-radius: 18px 18px 0 0;
  padding: 18px 18px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  animation: wlShareSlide 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes wlShareSlide { from { transform: translateY(40px); } to { transform: translateY(0); } }
.wl-share-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
}
.wl-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  margin-top: 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.12s, background 0.12s;
}
.wl-share-btn:hover { transform: translateY(-1px); }
.wl-share-btn.wl-share-wa { background: #25D366; color: #fff; border-color: #25D366; }
.wl-share-btn.wl-share-copy { background: #1565c0; color: #fff; border-color: #1565c0; }
.wl-share-btn.wl-share-native { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.wl-share-btn.wl-share-close { background: transparent; color: var(--text2); border: none; margin-top: 6px; font-size: 13px; }
@media (min-width: 600px) {
  .wl-share-menu { align-items: center; }
  .wl-share-card { border-radius: 18px; max-width: 380px; }
}

/* ── Cart 'reach free delivery' add-ons strip ── */
.cart-addons-strip {
  background: linear-gradient(180deg, #fffbf2 0%, #fff 100%);
  border: 1px dashed #ffcc80;
  border-radius: 12px;
  padding: 12px 14px 14px;
  margin: 10px 0 14px;
}
[data-theme="dark"] .cart-addons-strip { background: linear-gradient(180deg, rgba(245, 127, 23, 0.10), transparent); border-color: rgba(245, 127, 23, 0.4); }
.cao-head { font-size: 12.5px; color: #e65100; margin-bottom: 10px; font-weight: 600; }
[data-theme="dark"] .cao-head { color: #ffb74d; }
.cao-head strong { color: #d84315; }
[data-theme="dark"] .cao-head strong { color: #ffa726; }
.cao-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 720px) { .cao-row { grid-template-columns: repeat(3, 1fr); } .cao-row .cao-card:nth-child(4) { display: none; } }
@media (max-width: 460px) { .cao-row { grid-template-columns: repeat(2, 1fr); } .cao-row .cao-card:nth-child(3), .cao-row .cao-card:nth-child(4) { display: none; } }
.cao-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.cao-link { text-decoration: none; color: inherit; display: block; }
.cao-img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 6px; background: var(--bg); display: block; }
.cao-name { font-size: 11px; line-height: 1.3; color: var(--text); margin-top: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.6em; }
.cao-price { font-size: 13px; font-weight: 700; color: var(--text); margin-top: 2px; }
.cao-add-btn { background: var(--red); color: #fff; border: none; padding: 6px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.cao-add-btn:hover { background: var(--red-dark); }

/* ── PDP Delivery ETA card ── */
.pd-eta-card {
  background: linear-gradient(180deg, #f6fdf9 0%, #ffffff 100%);
  border: 1px solid #cdeede;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0 14px;
}
[data-theme="dark"] .pd-eta-card { background: linear-gradient(180deg, rgba(46, 125, 50, 0.10), transparent); border-color: rgba(76, 175, 80, 0.25); }
.pd-eta-head { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); margin-bottom: 8px; }
.pd-eta-icon { font-size: 16px; }
.pd-eta-free { margin-left: auto; font-size: 11px; color: #2e7d32; background: #e8f5e9; padding: 2px 8px; border-radius: 10px; font-weight: 700; letter-spacing: 0.2px; }
[data-theme="dark"] .pd-eta-free { background: rgba(46, 125, 50, 0.25); color: #a5d6a7; }
.pd-dispatch-line {
  font-size: 12.5px;
  color: var(--text2);
  background: var(--bg);
  border-radius: 8px;
  padding: 7px 11px;
  margin-bottom: 8px;
  letter-spacing: 0.1px;
  font-variant-numeric: tabular-nums;
  transition: background 0.3s, color 0.3s;
}
.pd-dispatch-line strong { color: var(--text); }
.pd-dispatch-line.urgent {
  background: #fff3e0;
  color: #d84315;
  animation: pdDispatchPulse 1.2s ease-in-out infinite;
}
.pd-dispatch-line.urgent strong { color: #bf360c; }
[data-theme="dark"] .pd-dispatch-line.urgent { background: rgba(216, 67, 21, 0.18); color: #ffab91; }
@keyframes pdDispatchPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .pd-dispatch-line.urgent { animation: none; } }

.pd-eta-row { display: flex; gap: 6px; }
.pd-eta-row input {
  flex: 1; min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  background: var(--surface);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.pd-eta-row input:focus { outline: none; border-color: #4caf50; box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.18); }
.pd-eta-row button {
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.pd-eta-row button:hover { background: #2c2c4a; }
.pd-eta-result { margin-top: 8px; font-size: 12.5px; color: var(--text); line-height: 1.5; }
.pd-eta-result strong { color: #1a1a2e; }
[data-theme="dark"] .pd-eta-result strong { color: #fff; }
.pd-eta-default { color: var(--text2); }
.pd-eta-err { color: var(--red, #DB3022); font-weight: 600; }

/* ── Live social proof pills (PDP) ── */
.pd-live-proof {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 14px;
}
.pd-lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  letter-spacing: 0.1px;
}
.pd-lp-viewers {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.pd-lp-sold {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.pd-lp-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: pdLpPulse 1.4s ease-out infinite;
}
@keyframes pdLpPulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pd-lp-dot { animation: none; }
}

/* ── Price Drop Alert ── */
.btn-price-alert {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff8e1; color: #f57f17; border: 1.5px solid #ffe082;
  border-radius: 20px; font-size: 12px; font-weight: 600;
  padding: 5px 14px; cursor: pointer; margin-top: 12px;
  font-family: 'Poppins', sans-serif; transition: var(--transition);
}
.btn-price-alert:hover { background: #fff3cd; border-color: #ffca28; }
.btn-price-alert.active { background: #e8f5e9; color: var(--green); border-color: #a5d6a7; }
.pa-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.18s ease;
}
.pa-modal {
  background: white; border-radius: var(--radius-md);
  padding: 24px; width: min(360px, 90vw); box-shadow: var(--shadow-md);
}
.pa-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.pa-modal-head span { font-weight: 700; font-size: 15px; }
.pa-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-light); }
.pa-desc { font-size: 13px; color: var(--text-mid); margin-bottom: 8px; }
.pa-current { font-size: 13px; margin-bottom: 12px; color: var(--text-light); }
.pa-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.pa-input-row {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
  margin-bottom: 16px;
}
.pa-rupee { padding: 0 10px; font-size: 15px; font-weight: 700; color: var(--text-mid); background: var(--bg); }
.pa-input {
  flex: 1; border: none; outline: none; padding: 10px 12px;
  font-size: 16px; font-family: 'Poppins', sans-serif; font-weight: 600;
}
.pa-actions { display: flex; gap: 8px; justify-content: flex-end; }
.pa-save {
  background: var(--red); color: white; border: none; border-radius: var(--radius);
  padding: 9px 22px; font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.pa-remove {
  background: none; color: var(--text-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 9px 16px; font-size: 13px;
  cursor: pointer; font-family: 'Poppins', sans-serif;
}

/* ── Paginated cards ── */
.card-hidden { display: none !important; }

/* ── Show More Button ── */
.show-more-btn {
  display: block;
  margin: 20px auto 8px;
  padding: 12px 36px;
  background: white;
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
}
.show-more-btn:hover { background: var(--red); color: white; transform: translateY(-2px); }

/* ── In Stock Toggle Switch ── */
.instock-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}
.instock-toggle-label input { display: none; }
.instock-toggle-track {
  position: relative;
  width: 38px;
  height: 21px;
  background: var(--border);
  border-radius: 21px;
  flex-shrink: 0;
  transition: background 0.25s;
}
.instock-toggle-label input:checked ~ .instock-toggle-track { background: var(--green); }
.instock-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  transition: transform 0.25s;
}
.instock-toggle-label input:checked ~ .instock-toggle-track .instock-toggle-thumb {
  transform: translateX(17px);
}

/* ── Rating Filter ── */
.rating-filter-options { display: flex; flex-direction: column; gap: 4px; }
.rating-filter-opt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  padding: 5px 4px;
  border-radius: var(--radius);
  transition: background 0.12s;
}
.rating-filter-opt:hover { background: var(--red-light); }
.rating-filter-opt input { accent-color: var(--red); cursor: pointer; }

/* ── Price Range Filter ── */
.price-range-input { flex:1; min-width:0; padding:6px 8px; border:1.5px solid var(--border); border-radius:var(--radius); font-size:12px; font-family:'Poppins',sans-serif; outline:none; color:var(--text); transition:border-color 0.2s; }
.price-range-input:focus { border-color:var(--red); }
.price-range-btn { background:var(--red); color:white; border:none; padding:6px 14px; border-radius:var(--radius); font-size:12px; font-weight:600; cursor:pointer; font-family:'Poppins',sans-serif; margin-right:6px; transition:background 0.2s; }
.price-range-btn:hover { background:var(--red-dark); }
.price-range-clear { background:transparent; color:var(--text-light); border:1.5px solid var(--border); padding:6px 10px; border-radius:var(--radius); font-size:12px; cursor:pointer; font-family:'Poppins',sans-serif; transition:var(--transition); }
.price-range-clear:hover { border-color:var(--red); color:var(--red); }

/* ── Cart Mobile Sticky Bar ── */
.cart-mobile-bar {
  display: none;
  position: fixed;
  bottom: 62px;
  left: 0; right: 0;
  background: var(--text);
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  animation: slideUpBar 0.25s ease;
}
.cart-mobile-bar.show { display: flex; }
.cart-mobile-bar-info { display: flex; flex-direction: column; gap: 1px; }
.cart-mobile-bar-info span { font-size: 11px; color: rgba(255,255,255,0.65); }
.cart-mobile-bar-info strong { font-size: 17px; color: white; font-weight: 800; }
.cart-mobile-bar-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 769px) { .cart-mobile-bar { display: none !important; } }

/* ── Add All to Cart (wishlist page) ── */
.btn-add-all-cart {
  background: var(--red);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-add-all-cart:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── Share Wishlist button ── */
.btn-share-wishlist {
  background: #25D366;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-share-wishlist:hover { background: #128C7E; transform: translateY(-1px); }

/* ── Notify Me Button (OOS product detail) ── */
.btn-notify-me {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  border: 2px solid var(--orange);
  background: #FFF8E1;
  color: #E65100;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}
.btn-notify-me:hover { background: #FFE082; transform: translateY(-1px); }

/* ── Active Filter Chips Bar ── */
.active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 10px;
  min-height: 0;
}
.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red-light);
  color: var(--red-dark);
  border: 1px solid rgba(219,48,34,0.25);
  border-radius: 20px;
  padding: 4px 10px 4px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: default;
  animation: pageFadeIn 0.18s ease;
}
.active-filter-chip-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(219,48,34,0.18);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 10px;
  color: var(--red-dark);
  line-height: 1;
  padding: 0;
  transition: background 0.15s;
}
.active-filter-chip-close:hover { background: var(--red); color: white; }

/* ══════════════════════════════════════════════
   STICKY MOBILE ADD-TO-CART BAR
══════════════════════════════════════════════ */
.pd-sticky-bar {
  display: none;
  position: fixed;
  bottom: 62px;
  left: 0; right: 0;
  background: white;
  border-top: 2px solid var(--border);
  padding: 10px 16px;
  align-items: center;
  gap: 12px;
  z-index: 950;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.14);
  animation: slideUpBar 0.25s ease;
}
.pd-sticky-bar.show { display: flex; }
@keyframes slideUpBar { from { transform:translateY(100%); opacity:0; } to { transform:translateY(0); opacity:1; } }
.pd-sticky-info { flex: 1; min-width: 0; }
.pd-sticky-name { font-size: 12px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-sticky-price { font-size: 16px; font-weight: 700; color: var(--text); }
.pd-sticky-btn { flex-shrink: 0; padding: 10px 20px; font-size: 13px; border-radius: var(--radius); }
@media (min-width: 769px) { .pd-sticky-bar { display: none !important; } }

/* ══════════════════════════════════════════════
   PRODUCT DETAIL — DELIVERY ACCORDION
══════════════════════════════════════════════ */
.pd-accordion { display:flex; flex-direction:column; gap:6px; margin-top:4px; }
.pd-accord-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}
.pd-accord-head {
  list-style: none;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  transition: background 0.15s;
}
.pd-accord-head::-webkit-details-marker { display: none; }
.pd-accord-head::after { content: '›'; margin-left:auto; font-size:16px; transition:transform 0.2s; color:var(--text-light); }
.pd-accord-item[open] .pd-accord-head { background: var(--red-light); color: var(--red-dark); }
.pd-accord-item[open] .pd-accord-head::after { transform: rotate(90deg); }
.pd-accord-body { padding: 8px 14px 12px; display:flex; flex-direction:column; gap:6px; }
.pd-accord-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--bg);
  color: var(--text-mid);
}
.pd-accord-row:last-child { border-bottom: none; }
.pd-accord-row span:first-child { color: var(--text-light); flex-shrink: 0; }
.pd-accord-row span:last-child, .pd-accord-row a { color: var(--text); font-weight: 500; text-align: right; }
.pd-accord-row a { color: var(--red); text-decoration: underline; }

/* ══════════════════════════════════════════════
   DEAL OF THE DAY
══════════════════════════════════════════════ */
.deal-of-day-section { margin-bottom: 10px; }
.deal-of-day-section .fk-section-head { margin-bottom: 0; }
.deal-timer-label { font-size: 13px; color: var(--text-mid); }
.deal-timer-label strong { color: var(--red); font-size: 15px; font-variant-numeric: tabular-nums; }
.deal-of-day-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  gap: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.deal-img-wrap {
  width: 42%;
  flex-shrink: 0;
  background: linear-gradient(145deg, #fafafa, #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}
.deal-img-wrap img { max-width: 100%; max-height: 260px; object-fit: contain; }
.deal-discount-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 20px;
}
.deal-info {
  flex: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.deal-category { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.deal-name { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.4; }
.deal-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.deal-price-block { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.deal-price { font-size: 28px; font-weight: 800; color: var(--text); }
.deal-mrp { font-size: 15px; color: var(--text-light); text-decoration: line-through; }
.deal-saving { font-size: 13px; color: var(--green); font-weight: 700; }
.deal-desc { font-size: 12px; color: var(--text-mid); line-height: 1.7; max-height: 60px; overflow: hidden; }
.deal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.deal-actions .add-to-cart { font-size: 14px; padding: 12px 24px; }
.deal-view-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.deal-view-btn:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 600px) {
  .deal-of-day-card { flex-direction: column; }
  .deal-img-wrap { width: 100%; padding: 16px; }
  .deal-img-wrap img { max-height: 180px; }
  .deal-info { padding: 16px; }
  .deal-name { font-size: 15px; }
  .deal-price { font-size: 22px; }
}

/* ══════════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════════ */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red-dark) 100%);
  padding: 18px 4%;
  margin-bottom: 10px;
  border-radius: var(--radius);
  gap: 8px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 70px;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-plus {
  font-size: 18px;
  font-weight: 700;
  color: var(--yellow);
  margin-left: 1px;
}
.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  text-align: center;
  letter-spacing: 0.3px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .stat-num { font-size: 22px; }
  .stat-divider { display: none; }
}

/* ══════════════════════════════════════════════
   WRITE A REVIEW SECTION
══════════════════════════════════════════════ */
.review-section {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 20px;
}
.review-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-star-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}
.star-picker { display: flex; gap: 4px; }
.star-pick {
  font-size: 26px;
  color: var(--border);
  cursor: pointer;
  transition: color 0.15s, transform 0.1s;
  line-height: 1;
}
.star-pick.active { color: var(--yellow-dark); }
.star-pick:hover { transform: scale(1.2); }
.review-input {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.review-input:focus { border-color: var(--red); }
.review-textarea { min-height: 80px; }
.review-submit-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}
.review-submit-btn:hover { background: #2E7D32; transform: translateY(-1px); }
@media (max-width: 768px) { .review-section { padding: 0 12px; } }

/* ══════════════════════════════════════════════
   FREQUENTLY BOUGHT TOGETHER
══════════════════════════════════════════════ */
.fbt-section {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 20px;
}
.fbt-inner {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.fbt-products {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
}
.fbt-item {
  text-align: center;
  max-width: 120px;
}
.fbt-item a { text-decoration: none; color: inherit; }
.fbt-img { width: 90px; height: 90px; object-fit: contain; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.fbt-name { font-size: 11px; color: var(--text); margin-top: 5px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fbt-price { font-size: 12px; font-weight: 700; color: var(--red); margin-top: 3px; }
.fbt-plus { font-size: 22px; font-weight: 700; color: var(--text-light); flex-shrink: 0; }
.fbt-action { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fbt-totals { display: flex; flex-direction: column; gap: 2px; }
.fbt-subtotal { font-size: 12px; color: var(--text2); }
.fbt-subtotal s { opacity: 0.7; }
.fbt-total { font-size: 14px; color: var(--text); white-space: nowrap; }
.fbt-total strong { color: var(--red); font-size: 16px; }
.fbt-save { font-size: 11.5px; font-weight: 700; color: #2e7d32; background: #e8f5e9; padding: 3px 10px; border-radius: 12px; border: 1px solid #c8e6c9; display: inline-block; align-self: flex-start; }
[data-theme="dark"] .fbt-save { background: rgba(46, 125, 50, 0.18); color: #a5d6a7; border-color: rgba(76, 175, 80, 0.3); }
.fbt-add-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: background 0.2s;
}
.fbt-add-btn:hover { background: var(--red-dark); }
@media (max-width: 600px) {
  .fbt-inner { flex-direction: column; align-items: flex-start; }
  .fbt-section { padding: 0 12px; }
}

/* ══════════════════════════════════════════════
   RELATED PRODUCTS SECTION (product detail page)
══════════════════════════════════════════════ */
.related-section {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.related-section .fk-section-head { margin-bottom: 12px; }
@media (max-width: 768px) {
  .related-section { padding: 0 12px; }
}

/* ══════════════════════════════════════════════
   RECENTLY VIEWED SECTION
══════════════════════════════════════════════ */
.rv-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 4% 4px;
}
.rv-scroll::-webkit-scrollbar { display: none; }
.rv-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  min-width: 130px;
  max-width: 130px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.rv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rv-card img { width: 100%; height: 90px; object-fit: contain; border-radius: var(--radius); margin-bottom: 6px; background: var(--bg); }
.rv-card-name { font-size: 11px; font-weight: 500; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--text); }
.rv-card-price { font-size: 12px; font-weight: 700; color: var(--red); margin-top: 4px; }

/* ══════════════════════════════════════════════
   NEWSLETTER STRIP
══════════════════════════════════════════════ */
.newsletter-strip {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 100%);
  padding: 28px 4%;
}
.newsletter-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.newsletter-text {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.newsletter-text strong { font-size: 16px; }
.newsletter-text span { font-size: 13px; opacity: 0.9; }
.newsletter-text b { background: rgba(255,255,255,0.22); padding: 1px 6px; border-radius: 4px; font-family: monospace; font-size: 13px; letter-spacing: 0.5px; }
.newsletter-form {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}
.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  color: var(--text);
}
.newsletter-btn {
  background: var(--yellow);
  color: var(--text);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-btn:hover { background: var(--yellow-dark); }
@media (max-width: 600px) {
  .newsletter-inner { flex-direction: column; align-items: stretch; }
  .newsletter-form { max-width: 100%; }
}

/* ══════════════════════════════════════════════
   FLASH SALE BANNER
══════════════════════════════════════════════ */
.flash-sale-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 20px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.flash-sale-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flash-badge {
  display: inline-block;
  background: var(--yellow);
  color: #1a1a2e;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  width: fit-content;
  animation: pulse 1.8s infinite;
}
.flash-title {
  color: white;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.flash-cta {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
  transition: background 0.2s;
}
.flash-cta:hover { background: var(--red-dark); }
.flash-sale-right { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.flash-timer-label { color: rgba(255,255,255,0.6); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.flash-timer { display: flex; align-items: center; gap: 6px; }
.flash-timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 8px 14px;
  min-width: 56px;
}
.flash-timer-unit span {
  font-size: 26px;
  font-weight: 800;
  color: white;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.flash-timer-unit small { font-size: 9px; color: rgba(255,255,255,0.55); letter-spacing: 1px; margin-top: 2px; }
.flash-sep { color: var(--yellow); font-size: 22px; font-weight: 800; margin-bottom: 14px; }
@media (max-width: 600px) {
  .flash-sale-banner { justify-content: center; text-align: center; }
  .flash-sale-left { align-items: center; }
  .flash-title { font-size: 14px; }
}

/* ── Rating Breakdown Bars (product detail) ── */
.pd-rating-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 12px;
  max-width: 260px;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-light);
}
.rating-bar-label { width: 20px; text-align: right; flex-shrink: 0; }
.rating-bar-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--green);
  transition: width 0.6s ease;
}
.rating-bar-fill.low { background: var(--red); }
.rating-bar-fill.mid { background: var(--orange); }
.rating-bar-count { width: 24px; flex-shrink: 0; }

/* ── Coupon Cards (cart) ── */
.coupon-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed var(--red);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.15s;
  background: var(--red-light);
}
.coupon-card:hover { background: #ffd6d2; }
.coupon-code {
  font-size: 13px;
  font-weight: 700;
  color: var(--red-dark);
  font-family: monospace;
  letter-spacing: 0.8px;
  flex-shrink: 0;
  background: white;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(219,48,34,0.3);
}
.coupon-desc {
  flex: 1;
  font-size: 11px;
  color: var(--text-mid);
}
.coupon-apply-btn {
  flex-shrink: 0;
  background: var(--red);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  pointer-events: none;
}

/* ── Product card image hover zoom ── */
.product-image {
  overflow: hidden;
}
.product-image img {
  transition: transform 0.35s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.07);
}

/* ── Product card entrance animation ── */
@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card {
  animation: cardSlideUp 0.38s ease both;
}
.product-card:nth-child(1)  { animation-delay: 0ms; }
.product-card:nth-child(2)  { animation-delay: 40ms; }
.product-card:nth-child(3)  { animation-delay: 80ms; }
.product-card:nth-child(4)  { animation-delay: 120ms; }
.product-card:nth-child(5)  { animation-delay: 160ms; }
.product-card:nth-child(6)  { animation-delay: 200ms; }
.product-card:nth-child(7)  { animation-delay: 240ms; }
.product-card:nth-child(8)  { animation-delay: 280ms; }
.product-card:nth-child(9)  { animation-delay: 320ms; }
.product-card:nth-child(10) { animation-delay: 360ms; }
.product-card:nth-child(11) { animation-delay: 400ms; }
.product-card:nth-child(12) { animation-delay: 440ms; }
/* Disable animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .product-card { animation: none; }
}

/* ── No results state ── */
.no-results-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--text-light);
}
.no-results-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.no-results-state h3 { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.no-results-state p { font-size: 13px; margin-bottom: 18px; max-width: 320px; margin-left: auto; margin-right: auto; }
.no-results-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.no-result-chip {
  background: white;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.no-result-chip:hover { background: var(--red); border-color: var(--red); color: white; }
.no-results-clear {
  background: var(--red);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s;
}
.no-results-clear:hover { background: var(--red-dark); }

/* ── Low stock warning strip on card ── */
.card-low-stock {
  background: #fff3e0;
  color: #e65100;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  text-align: center;
  letter-spacing: 0.3px;
}
.card-low-stock::before { content: '⚠️ '; }

/* ══════════════════════════════════════════════
   ORDER HISTORY PAGE
══════════════════════════════════════════════ */
.oh-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.oh-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 8px;
}
.oh-order-id {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
}
.oh-date {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}
.oh-status {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.oh-items {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.oh-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.oh-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.oh-item-info {
  flex: 1;
  min-width: 0;
}
.oh-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 3px;
}
.oh-item-meta {
  font-size: 12px;
  color: var(--text-light);
}
.oh-item-color {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}
.oh-item-review-btn {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #f57f17;
  background: #fff8e1;
  border: 1px solid #ffe082;
  padding: 3px 9px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
}
.oh-item-review-btn:hover { background: #ffecb3; transform: translateY(-1px); }
[data-theme="dark"] .oh-item-review-btn { background: rgba(245, 127, 23, 0.16); color: #ffcc80; border-color: rgba(255, 204, 128, 0.3); }

/* Tell-a-friend referral card on orders page */
.oh-refer {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 18px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.18);
  transition: transform 0.16s, box-shadow 0.16s;
}
.oh-refer:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.24); }
.oh-refer-icon { font-size: 36px; line-height: 1; flex-shrink: 0; }
.oh-refer-body { flex: 1; min-width: 0; }
.oh-refer-body strong { display: block; font-size: 15px; margin-bottom: 2px; font-weight: 800; }
.oh-refer-body span { font-size: 12px; opacity: 0.92; line-height: 1.5; }
.oh-refer-cta {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 560px) {
  .oh-refer { flex-wrap: wrap; gap: 10px; }
  .oh-refer-icon { font-size: 28px; }
  .oh-refer-cta { width: 100%; text-align: center; padding: 8px; }
}

.oh-summary {
  padding: 12px 18px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}
.oh-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  padding: 3px 0;
}
.oh-summary-row.oh-saving { color: var(--green); }
.oh-summary-row.oh-total {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px dashed #e0e0e0;
  margin-top: 6px;
  padding-top: 8px;
}
.oh-card-footer {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid #f0f0f0;
}
.oh-address {
  font-size: 12px;
  color: var(--text-light);
  flex: 1;
  min-width: 0;
}
.oh-reorder-btn {
  background: #25D366;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.oh-reorder-btn:hover { background: #1da851; transform: translateY(-1px); }

.oh-track-btn {
  background: transparent;
  color: #1565c0;
  border: 1.5px solid #90caf9;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, transform 0.15s;
}
.oh-track-btn:hover { background: rgba(40,116,240,0.08); transform: translateY(-1px); }
[data-theme="dark"] .oh-track-btn { color: #90caf9; border-color: #1e3a5f; }

.oh-reorder-now-btn {
  background: linear-gradient(135deg, #c9a84c, #a0832f);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.18s, opacity 0.15s;
}
.oh-reorder-now-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.35);
  opacity: 0.95;
}

.oh-footer-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.oh-invoice-btn {
  background: transparent;
  color: #1565c0;
  border: 1px solid #90caf9;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.oh-invoice-btn:hover { background: #e3f2fd; transform: translateY(-1px); }
[data-theme="dark"] .oh-invoice-btn { color: #90caf9; border-color: #1e3a5f; }
[data-theme="dark"] .oh-invoice-btn:hover { background: #1e3a5f; }
.oh-clear-btn {
  background: transparent;
  color: var(--text-light);
  border: 1px solid #e0e0e0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s, color 0.2s;
}
.oh-clear-btn:hover { background: var(--red); color: white; border-color: var(--red); }

/* ── Order timeline ── */
.oh-timeline {
  display: flex;
  align-items: center;
  padding: 12px 18px 4px;
}
.oh-tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.oh-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border);
  transition: background 0.2s;
}
.oh-tl-step.done .oh-tl-dot { background: var(--green); border-color: var(--green); }
.oh-tl-step.current .oh-tl-dot {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(219,48,34,0.2);
}
.oh-tl-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}
.oh-tl-step.done .oh-tl-label  { color: var(--green); }
.oh-tl-step.current .oh-tl-label { color: var(--red); }
.oh-tl-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-bottom: 14px;
  min-width: 16px;
}

/* ── Empty state (shared) ── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.empty-state .empty-icon { font-size: 72px; opacity: 0.35; margin-bottom: 16px; }
.empty-state h2 { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.empty-state p  { font-size: 14px; margin-bottom: 24px; }
.empty-state .btn-primary {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}
.empty-state .btn-primary:hover { background: var(--red-dark); }
@media (max-width: 600px) {
  .oh-card-header { padding: 12px 14px; }
  .oh-items { padding: 12px 14px; }
  .oh-summary { padding: 10px 14px; }
  .oh-card-footer { padding: 10px 14px; }
  .oh-item-img { width: 48px; height: 48px; }
}

/* ══════════════════════════════════════════════
   PRODUCT COMPARISON
══════════════════════════════════════════════ */
.compare-btn {
  position: absolute;
  top: 48px;
  right: 8px;
  background: white;
  border: 1.5px solid #e0e0e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  z-index: 4;
  line-height: 1;
}
.compare-btn:hover { background: #f0f4ff; border-color: #5c6bc0; transform: scale(1.12); }
.compare-btn.active { background: #5c6bc0; border-color: #5c6bc0; color: white; }

/* ── Compare floating bar ── */
.compare-bar {
  position: fixed;
  bottom: 62px;
  left: 0; right: 0;
  z-index: 1200;
  padding: 0 12px 8px;
  pointer-events: none;
  animation: compareSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes compareSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (min-width: 769px) {
  .compare-bar { bottom: 16px; }
}
.cmp-bar-inner {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  border: 1.5px solid #e0e0e0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  pointer-events: all;
  max-width: 820px;
  margin: 0 auto;
}
.cmp-bar-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.cmp-bar-items {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.cmp-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 4px 8px 4px 4px;
  font-size: 11px;
}
.cmp-bar-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.cmp-bar-name { color: var(--text); font-weight: 600; max-width: 120px; }
.cmp-bar-remove {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.cmp-bar-remove:hover { color: var(--red); }
.cmp-bar-btn {
  background: #5c6bc0;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: background 0.2s;
}
.cmp-bar-btn:hover:not(:disabled) { background: #3949ab; }
.cmp-bar-btn:disabled { opacity: 0.5; cursor: default; }
.cmp-bar-clear {
  background: none;
  border: 1px solid #e0e0e0;
  color: var(--text-light);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.cmp-bar-clear:hover { color: var(--red); border-color: var(--red); }

/* ── Compare modal ── */
.cmp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cmp-modal {
  background: white;
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.cmp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.cmp-modal-header h3 { font-size: 16px; color: var(--text); }
.cmp-modal-close {
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cmp-modal-close:hover { background: #fbe9e7; color: var(--red); }
.cmp-modal-body {
  overflow-y: auto;
  padding: 0;
  flex: 1;
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cmp-table th, .cmp-table td {
  padding: 10px 10px;
  border-bottom: 1px solid #f5f5f5;
}
.cmp-table thead th {
  position: sticky;
  top: 0;
  background: #fafafa;
  z-index: 2;
}
.cmp-view-btn {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.cmp-view-btn:hover { background: var(--red-dark); }
@media (max-width: 500px) {
  .compare-btn { bottom: 42px; }
  .cmp-bar-inner { padding: 8px 12px; gap: 8px; }
  .cmp-bar-name { max-width: 80px; }
}

/* ══════════════════════════════════════════════
   FREE DELIVERY PROGRESS BAR
══════════════════════════════════════════════ */
.fd-bar {
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border: 1px solid #f0f0f0;
}
.fd-msg {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.fd-track {
  background: #f0f0f0;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}
.fd-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange));
  border-radius: 10px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 4px;
}

/* ══════════════════════════════════════════════
   TESTIMONIALS SECTION
══════════════════════════════════════════════ */
.testimonials-section {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 10px;
  padding: 0 0 16px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 16px;
}
.testimonial-card {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.test-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.test-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.test-meta { flex: 1; min-width: 0; }
.test-name { font-size: 13px; font-weight: 700; color: var(--text); }
.test-location { font-size: 11px; color: var(--text-light); }
.test-stars { font-size: 13px; color: #f5a623; letter-spacing: 1px; flex-shrink: 0; }
.test-body {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}
.test-product {
  font-size: 10px;
  color: var(--text-light);
  background: #f0f0f0;
  border-radius: 6px;
  padding: 4px 8px;
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex-direction: column; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Product detail viewer count ── */
.pd-viewer-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #e65100;
  font-weight: 600;
  margin: 6px 0 2px;
}
.pd-viewer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e65100;
  flex-shrink: 0;
  animation: viewerPulse 1.8s ease-in-out infinite;
}
@keyframes viewerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ── Prefill hint ── */
.prefill-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #2e7d32;
  font-weight: 600;
  margin-bottom: 12px;
}
.prefill-clear {
  background: none;
  border: none;
  font-size: 11px;
  color: #878787;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
}
.prefill-clear:hover { color: var(--red); }

/* ── Available Coupon Chips ── */
.available-coupons-row {
  margin-bottom: 8px;
}
.avail-coupon-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.avail-coupon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.avail-coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fffde7;
  border: 1.5px dashed #f9a825;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #e65100;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.15s, border-color 0.15s;
  letter-spacing: 0.3px;
}
.avail-coupon-chip span {
  font-weight: 400;
  color: var(--text-light);
  font-size: 10px;
}
.avail-coupon-chip:hover {
  background: #fff8e1;
  border-color: #ff8f00;
  border-style: solid;
}

/* ── Cart trust badges ── */
.cart-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 0;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 8px 10px;
}
.trust-badge-item span { line-height: 1.3; }

/* ── Cart upsell strip ── */
.cart-upsell-section {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  padding-bottom: 16px;
}
.cart-upsell-section .section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* ══════════════════════════════════════════════
   DARK MODE
══════════════════════════════════════════════ */
/* Smooth transition for theme switching */
body, header, .product-card, .order-summary, .checkout-form,
.filters-sidebar, .cart-items-section, .oh-card, .fk-section,
.related-section, .testimonial-card, .qv-modal, .mini-cart-dropdown,
.alert-panel, .search-history-dropdown, .pa-modal, input, textarea, select,
.trust-badge-item, .coupon-card, .fd-bar, footer {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
[data-theme="dark"] {
  --bg:         #0d1117;
  --white:      #161b22;
  --text:       #c9d1d9;
  --text-mid:   #8b949e;
  --text-light: #6e7681;
  --border:     #30363d;
  --shadow:     0 1px 8px rgba(0,0,0,0.5);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.6);
  --red-light:  #2d1515;
  --green-light:#0d2018;
}

[data-theme="dark"] body { background: var(--bg); color: var(--text); }

/* Cards + panels */
[data-theme="dark"] .product-card,
[data-theme="dark"] .oh-card,
[data-theme="dark"] .order-summary,
[data-theme="dark"] .checkout-form,
[data-theme="dark"] .cart-items-section,
[data-theme="dark"] .qv-modal,
[data-theme="dark"] .cmp-modal,
[data-theme="dark"] .pa-modal,
[data-theme="dark"] .mini-cart-dropdown,
[data-theme="dark"] .alert-panel,
[data-theme="dark"] .search-history-dropdown,
[data-theme="dark"] .fk-section,
[data-theme="dark"] .related-section,
[data-theme="dark"] .pd-info,
[data-theme="dark"] .review-section,
[data-theme="dark"] .review-form-wrap,
[data-theme="dark"] .fbt-section,
[data-theme="dark"] .coupon-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .oh-card-header,
[data-theme="dark"] .oh-summary,
[data-theme="dark"] .cmp-bar-inner,
[data-theme="dark"] .deal-of-day-card,
[data-theme="dark"] .sp-toast,
[data-theme="dark"] .pd-info-rows .pd-accord-row { background: var(--white); border-color: var(--border); }

[data-theme="dark"] .pd-tab-panels,
[data-theme="dark"] .pd-tab-panel { background: var(--white); }

[data-theme="dark"] .filters-sidebar,
[data-theme="dark"] .fk-offer-card,
[data-theme="dark"] .fd-bar { background: var(--white); border-color: var(--border); }

/* Inputs */
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] textarea,
[data-theme="dark"] select { background: #0d1117; color: var(--text); border-color: var(--border); }
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder { color: var(--text-light); }

/* Header search */
[data-theme="dark"] .header-search input { background: rgba(255,255,255,0.12); color: white; }

/* Announcement bar */
[data-theme="dark"] .announcement-bar { background: #1c2128; }

/* Page header */
[data-theme="dark"] .page-header { background: #161b22; border-color: var(--border); }

/* Section headers / backgrounds */
[data-theme="dark"] .fk-section-head { background: transparent; }
[data-theme="dark"] .section-title   { color: var(--text); }
[data-theme="dark"] .oh-card-header,
[data-theme="dark"] .oh-summary      { background: #0d1117; }

/* Breadcrumb */
[data-theme="dark"] .breadcrumb, [data-theme="dark"] .breadcrumb a { color: var(--text-light); }

/* Footer */
[data-theme="dark"] footer, [data-theme="dark"] .footer { background: #0d1117 !important; color: var(--text) !important; }

/* Trust badges, cart summary */
[data-theme="dark"] .trust-badge-item { background: #0d1117; border-color: var(--border); color: var(--text-light); }
[data-theme="dark"] .summary-row span { color: var(--text-mid); }

/* How-it-works strip */
[data-theme="dark"] [style*="background:white"] { background: var(--white) !important; }

/* Product image bg */
[data-theme="dark"] .card-img-wrap,
[data-theme="dark"] .product-image { background: #1c2128; }

/* Filter sidebar */
[data-theme="dark"] .filter-option:hover { background: #1c2128; }
[data-theme="dark"] .filter-option.active { background: #2d1515; }
[data-theme="dark"] .filter-label { color: var(--text-mid); }

/* Sort chips */
[data-theme="dark"] .sort-chip { background: #161b22; border-color: var(--border); color: var(--text-mid); }
[data-theme="dark"] .sort-chip.active { background: var(--red); border-color: var(--red); color: white; }

/* Active filter chips */
[data-theme="dark"] .active-filter-chip { background: #2d1515; color: var(--text); border-color: #6e3030; }

/* Tabs */
[data-theme="dark"] .pd-tabs-nav { background: #0d1117; border-color: var(--border); }
[data-theme="dark"] .pd-tab { color: var(--text-mid); }
[data-theme="dark"] .pd-tab.active { color: var(--red); }

/* Skeletons */
[data-theme="dark"] .skeleton-card { background: #161b22; }
[data-theme="dark"] .skeleton-img, [data-theme="dark"] .skeleton-line { background: linear-gradient(90deg,#1c2128 25%,#21262d 50%,#1c2128 75%); }

/* Image zoom modal */
[data-theme="dark"] .img-modal { background: rgba(0,0,0,0.9); }

/* Toast */
[data-theme="dark"] .toast.toast-default { background: #21262d; }

/* Coupon chips in cart */
[data-theme="dark"] .avail-coupon-chip { background: #1c1200; border-color: #5a4000; color: #ffc107; }

/* Stats strip */
[data-theme="dark"] .stats-strip { background: #0d1117 !important; border-color: var(--border); }

/* Newsletter strip */
[data-theme="dark"] .newsletter-strip { background: #161b22 !important; }
[data-theme="dark"] .newsletter-input { background: #0d1117; color: var(--text); border-color: var(--border); }

/* ── Dark mode: new components ── */
[data-theme="dark"] .pd-thumb { background: #1c2128; border-color: var(--border); }
[data-theme="dark"] .pd-thumb:hover { border-color: var(--red); }
[data-theme="dark"] .wl-value-bar { background: var(--white); border-color: var(--border); }
[data-theme="dark"] .pin-checker { background: #0d1117; border-color: var(--border); }
[data-theme="dark"] .sh-item:hover,
[data-theme="dark"] .sh-item.sh-kbd-active { background: #1c2128; }
[data-theme="dark"] .search-history-dropdown { background: var(--white); border-color: var(--border); }

/* ── PWA Install Banner ── */
.pwa-install-banner {
  position: fixed;
  bottom: 70px;
  left: 12px;
  right: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 1400;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 500px;
  margin: 0 auto;
}
.pwa-install-banner.show { opacity: 1; transform: translateY(0); }
.pwa-install-icon { font-size: 28px; flex-shrink: 0; }
.pwa-install-text { flex: 1; min-width: 0; }
.pwa-install-text strong { display: block; font-size: 13px; color: var(--text); font-weight: 700; }
.pwa-install-text span   { font-size: 11px; color: var(--text-light); line-height: 1.4; }
.pwa-install-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.pwa-install-btn:hover { background: var(--red-dark); }
.pwa-install-dismiss {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.15s;
}
.pwa-install-dismiss:hover { color: var(--red); }
[data-theme="dark"] .pwa-install-banner { background: #161b22; border-color: var(--border); }
@media (min-width: 769px) {
  .pwa-install-banner { bottom: 24px; left: auto; right: 24px; max-width: 380px; margin: 0; }
}

/* ── Keyboard shortcut help modal ── */
.kbd-help-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: pageFadeIn 0.15s ease;
}
.kbd-help-modal {
  background: white;
  border-radius: 16px;
  max-width: 360px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.kbd-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.kbd-help-head h3 { font-size: 14px; color: var(--text); }
.kbd-help-close {
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.kbd-help-close:hover { background: var(--red-light); color: var(--red); }
.kbd-help-body { padding: 12px 18px; display: flex; flex-direction: column; gap: 8px; }
.kbd-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-mid);
}
.kbd-row span { flex: 1; }
kbd {
  background: #f5f5f5;
  border: 1px solid #d0d0d0;
  border-bottom: 2px solid #c0c0c0;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 11px;
  font-family: monospace;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
[data-theme="dark"] .kbd-help-modal { background: #161b22; }
[data-theme="dark"] .kbd-help-head { background: #0d1117; border-color: var(--border); }
[data-theme="dark"] .kbd-row span { color: var(--text-light); }
[data-theme="dark"] kbd { background: #21262d; border-color: #444; border-bottom-color: #333; color: var(--text); }
@media (max-width: 480px) { .kbd-help-modal { max-width: 100%; border-radius: 16px 16px 0 0; } }

/* ── Category banner (products page) ── */
.cat-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  color: white;
  animation: pageFadeIn 0.2s ease;
  overflow: hidden;
  position: relative;
}
.cat-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 60%);
}
.cat-banner-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}
.cat-banner-info { flex: 1; min-width: 0; }
.cat-banner-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 2px;
}
.cat-banner-desc {
  font-size: 11px;
  opacity: 0.82;
  line-height: 1.4;
}
.cat-banner-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .cat-banner-desc { display: none; }
}

/* ── Dark mode toggle button ── */
.dark-mode-btn {
  background: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}
.dark-mode-btn:hover { background: rgba(255,255,255,0.15); transform: rotate(20deg); }
[data-theme="dark"] .dark-mode-btn { border-color: rgba(255,255,255,0.5); }

/* ── Checkout form inline errors ── */
.field-error {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: pageFadeIn 0.15s ease;
}
.field-error::before { content: '⚠ '; }

/* ── PIN code delivery checker ── */
.pin-checker {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.pin-checker-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.pin-checker-row { display: flex; gap: 8px; }
.pin-checker-input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.15s;
  letter-spacing: 2px;
  font-weight: 600;
}
.pin-checker-input:focus { border-color: var(--red); }
.pin-checker-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.15s;
  white-space: nowrap;
}
.pin-checker-btn:hover { background: var(--red-dark); }
.pin-checker-result {
  font-size: 12px;
  margin-top: 8px;
  line-height: 1.5;
}
.pin-checker-result.success { color: var(--green); font-weight: 600; }
.pin-checker-result.error   { color: var(--red);   font-weight: 600; }
[data-theme="dark"] .pin-checker { background: #1c2128; border-color: var(--border); }
[data-theme="dark"] .pin-checker-input { background: #0d1117; color: var(--text); border-color: var(--border); }

/* Wishlist value bar (dark) */
[data-theme="dark"] .wl-value-bar { background: #1c2128; border-color: var(--border); }

/* ── Wishlist total value bar ── */
.wl-value-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.wl-value-label { font-size: 13px; color: var(--text-light); }
.wl-value-amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
}
.wl-value-savings {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}
.wl-move-all-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.wl-move-all-btn:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── Order success banner ── */
.order-success-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: white;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  animation: pageFadeIn 0.4s ease;
}
.osb-icon { font-size: 28px; flex-shrink: 0; }
.osb-body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.osb-body strong { font-size: 14px; font-weight: 700; }
.osb-body span   { font-size: 12px; opacity: 0.88; }
.osb-home-btn {
  background: white;
  color: #1b5e20;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}
.osb-home-btn:hover { opacity: 0.88; }

/* ── Local reviews list ── */
.rv-local-list { margin-bottom: 16px; }
.rv-list-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* Rating distribution bar chart */
.rv-dist-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.rv-dist-left {
  text-align: center;
  min-width: 76px;
  padding-right: 14px;
  border-right: 1px solid var(--border);
}
.rv-dist-big { font-size: 24px; font-weight: 800; color: #FF9F00; line-height: 1.1; }
.rv-dist-sub { font-size: 11px; color: var(--text2); margin-top: 2px; }
.rv-dist-bars { display: flex; flex-direction: column; gap: 4px; }
.rv-dist-row { display: grid; grid-template-columns: 22px 1fr 24px; gap: 8px; align-items: center; font-size: 11px; color: var(--text2); }
.rv-dist-label { font-weight: 700; color: var(--text); }
.rv-dist-track {
  display: block;
  height: 7px;
  background: rgba(255, 159, 0, 0.10);
  border-radius: 999px;
  overflow: hidden;
}
.rv-dist-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #FFB300 0%, #FF9F00 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
}
.rv-dist-count { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 460px) {
  .rv-dist-card { gap: 10px; padding: 10px 12px; }
  .rv-dist-left { min-width: 60px; padding-right: 10px; }
  .rv-dist-big { font-size: 20px; }
}

.rv-local-item {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  animation: pageFadeIn 0.25s ease;
}
.rv-local-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.rv-local-name { font-size: 12px; font-weight: 700; color: var(--text); }
.rv-local-stars { font-size: 13px; letter-spacing: 1px; }
.rv-local-date { font-size: 11px; color: var(--text-light); margin-left: auto; }
.rv-local-text { font-size: 13px; color: var(--text-mid); line-height: 1.55; }
[data-theme="dark"] .rv-local-item { background: #0d1117; }

/* Verified Buyer badge on seeded reviews */
.rv-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(39,174,96,0.15);
  color: var(--green, #1b5e20);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}
[data-theme="dark"] .rv-verified { background: rgba(39,174,96,0.22); color: #81c784; }

/* ── GST Invoice button (orders card footer) ── */

/* ── Cart reminder banner ── */
.cart-reminder-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4500;
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}
.cart-reminder-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cart-reminder-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.cart-reminder-icon { font-size: 22px; flex-shrink: 0; }
.cart-reminder-left > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cart-reminder-left strong {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-reminder-left span {
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-reminder-btn {
  background: white;
  color: #1b5e20;
  border: none;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  transition: opacity 0.2s, transform 0.15s;
}
.cart-reminder-btn:hover { opacity: 0.9; transform: scale(1.03); }
.cart-reminder-close {
  background: rgba(255,255,255,0.18);
  border: none;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.cart-reminder-close:hover { background: rgba(255,255,255,0.32); }
[data-theme="dark"] .cart-reminder-banner { background: linear-gradient(135deg, #1a2e1a, #223322); }
@media (max-width: 480px) {
  .cart-reminder-left strong { font-size: 12px; }
  .cart-reminder-btn { padding: 6px 10px; font-size: 11px; }
}

/* ── Product Detail Quantity Selector ─────────────── */
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pd-qty-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  white-space: nowrap;
}
.pd-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
}
.pd-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.pd-qty-btn:hover { background: rgba(219,48,34,0.09); }
.pd-qty-btn:disabled { color: var(--text3); cursor: default; }
.pd-qty-num {
  min-width: 34px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  user-select: none;
  display: inline-block;
}
.pd-qty-num.qty-bump { animation: qtyBump 0.22s ease; }
@keyframes qtyBump { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.20); color: var(--red, #DB3022); } }
@media (prefers-reduced-motion: reduce) { .pd-qty-num.qty-bump { animation: none; } }
.pd-qty-max-note {
  font-size: 11px;
  color: var(--text3);
}
[data-theme="dark"] .pd-qty-ctrl { background: #1a1a1a; }
@media (max-width: 480px) {
  .pd-qty-btn { width: 32px; height: 32px; font-size: 16px; }
  .pd-qty-num { font-size: 14px; min-width: 28px; }
}

/* ── Product Detail Wishlist Button ───────────── */
.pd-btn-wishlist {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.pd-btn-wishlist:hover { border-color: #e91e63; color: #e91e63; background: rgba(233,30,99,0.06); }
.pd-btn-wishlist.active { background: rgba(233,30,99,0.09); border-color: #e91e63; color: #e91e63; }
[data-theme="dark"] .pd-btn-wishlist { background: #1a1a1a; }

/* ── Product Detail Coupon Chip ───────────────── */
.pd-coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border: 1px dashed #66bb6a;
  border-radius: 8px;
  padding: 7px 12px;
  margin: 8px 0 4px;
  font-size: 12px;
  color: #2e7d32;
}
.pd-coupon-chip strong { font-size: 13px; letter-spacing: 0.5px; }
.pd-coupon-copy {
  background: #2e7d32;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.pd-coupon-copy:hover { background: #1b5e20; }
[data-theme="dark"] .pd-coupon-chip { background: rgba(46,125,50,0.15); border-color: #388e3c; color: #81c784; }
[data-theme="dark"] .pd-coupon-copy { background: #388e3c; }

/* ── Bulk Order CTA ───────────────────────────── */
.bulk-order-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border: 1px dashed #ff9800;
  border-radius: 8px;
  padding: 9px 12px;
  margin-top: 8px;
  font-size: 12px;
  color: #e65100;
  text-decoration: none;
  transition: background 0.2s;
}
.bulk-order-cta:hover { background: linear-gradient(135deg, #ffe0b2, #ffcc80); }
[data-theme="dark"] .bulk-order-cta { background: rgba(255,152,0,0.12); border-color: #f57c00; color: #ffb74d; }

/* ── Pay Online (Razorpay) ────────────────────── */
.pay-online-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 13px;
  background: linear-gradient(135deg, #2874f0 0%, #1a4ea3 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.1s, box-shadow 0.18s, opacity 0.18s;
  box-shadow: 0 4px 14px rgba(40,116,240,0.28);
}
.pay-online-btn:hover { opacity: 0.95; box-shadow: 0 6px 20px rgba(40,116,240,0.38); }
.pay-online-btn:active { transform: scale(0.99); }
.pay-online-note {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 8px;
  padding: 9px 12px;
  margin-top: 8px;
  font-size: 11.5px;
  color: #0d47a1;
  line-height: 1.5;
  text-align: center;
}
[data-theme="dark"] .pay-online-note { background: rgba(40,116,240,0.12); border-color: #1a4ea3; color: #90caf9; }

/* ── Direct UPI button + payment modal ───────────── */
.pay-upi-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.1s, box-shadow 0.18s, opacity 0.18s;
  box-shadow: 0 4px 14px rgba(76,175,80,0.32);
  letter-spacing: 0.3px;
}
.pay-upi-btn:hover { opacity: 0.95; box-shadow: 0 6px 22px rgba(76,175,80,0.42); transform: translateY(-1px); }
.pay-upi-btn:active { transform: scale(0.99); }

/* Modal backdrop */
.upi-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.24s ease;
  overflow-y: auto;
}
.upi-modal-backdrop.show { opacity: 1; }
.upi-modal {
  background: var(--surface, #fff);
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}
.upi-modal-backdrop.show .upi-modal { transform: scale(1) translateY(0); }
.upi-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.06);
  border: none;
  font-size: 16px;
  color: var(--text2, #6c757d);
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}
.upi-modal-close:hover { background: rgba(0,0,0,0.12); color: var(--text, #1a1a1a); }
[data-theme="dark"] .upi-modal-close { background: rgba(255,255,255,0.08); }

.upi-modal-header {
  padding: 24px 24px 14px;
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  color: #fff;
  text-align: center;
}
.upi-modal-header h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
}
.upi-modal-header p {
  font-size: 12px;
  margin: 0;
  color: rgba(255,255,255,0.92);
}
.upi-modal-header p strong { font-weight: 800; color: #fff; }

.upi-modal-body {
  padding: 20px 22px 14px;
  overflow-y: auto;
}

.upi-open-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  transition: transform 0.15s, box-shadow 0.18s;
}
.upi-open-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(26,115,232,0.35); }
.upi-open-icon {
  font-size: 26px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.upi-open-btn > span:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.upi-open-btn strong { font-size: 14px; font-weight: 800; }
.upi-open-btn small { font-size: 11px; opacity: 0.9; }
.upi-open-arrow { font-size: 22px; opacity: 0.85; }

.upi-or-divider {
  text-align: center;
  position: relative;
  margin: 14px 0;
  font-size: 11px;
  color: var(--text-3, #9aa3b2);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.upi-or-divider span {
  background: var(--surface, #fff);
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.upi-or-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border, #e0e0e0);
}

.upi-qr-wrap {
  text-align: center;
  background: var(--bg, #f6f7fb);
  border-radius: 14px;
  padding: 16px 14px;
  margin-bottom: 18px;
}
[data-theme="dark"] .upi-qr-wrap { background: #0d1117; }
.upi-qr {
  width: 200px;
  height: 200px;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.upi-qr-caption {
  font-size: 12px;
  color: var(--text2, #6c757d);
  margin-top: 10px;
  line-height: 1.5;
}
.upi-qr-caption strong {
  font-family: 'SF Mono', monospace;
  background: rgba(0,0,0,0.05);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--text, #1a1a1a);
}
[data-theme="dark"] .upi-qr-caption strong { background: rgba(255,255,255,0.08); color: #e8eaf0; }

/* Desktop hint banner */
.upi-desktop-hint {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #0d47a1;
  border: 1px solid #90caf9;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.5;
}
[data-theme="dark"] .upi-desktop-hint {
  background: rgba(40,116,240,0.12);
  color: #90caf9;
  border-color: #1a4ea3;
}

/* Manual-pay box (always visible — UPI ID + Copy button) */
.upi-manual-pay {
  background: var(--bg, #f6f7fb);
  border: 1.5px solid var(--border, #e0e0e0);
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
}
[data-theme="dark"] .upi-manual-pay { background: #0d1117; border-color: #252a37; }
.upi-mp-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-2, #6c757d);
  margin-bottom: 6px;
}
.upi-mp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.upi-mp-row code {
  flex: 1;
  background: var(--surface, #fff);
  border: 1.5px solid var(--border, #e0e0e0);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: 'SF Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #1a1a1a);
  letter-spacing: 0.3px;
  overflow-x: auto;
  white-space: nowrap;
}
[data-theme="dark"] .upi-mp-row code { background: #141821; color: #e8eaf0; border-color: #252a37; }
.upi-copy-btn {
  background: var(--red, #DB3022);
  color: #fff;
  border: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.upi-copy-btn:hover { background: #b71c1c; transform: translateY(-1px); }
.upi-copy-btn.upi-copied { background: var(--green, #27ae60); }
.upi-copy-btn-mini {
  background: transparent;
  color: var(--red, #DB3022);
  border: 1px solid var(--red, #DB3022);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-left: 6px;
  transition: background 0.15s;
}
.upi-copy-btn-mini:hover { background: var(--red, #DB3022); color: #fff; }
.upi-copy-btn-mini.upi-copied { background: var(--green, #27ae60); color: #fff; border-color: var(--green, #27ae60); }
.upi-mp-amount {
  font-size: 13px;
  color: var(--text2, #6c757d);
  margin-bottom: 4px;
}
.upi-mp-amount strong { color: var(--text, #1a1a1a); font-size: 16px; }
.upi-mp-ref {
  font-size: 11px;
  color: var(--text-3, #9aa3b2);
}
.upi-mp-ref code {
  font-family: 'SF Mono', monospace;
  background: rgba(0,0,0,0.05);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text2, #6c757d);
}
[data-theme="dark"] .upi-mp-ref code { background: rgba(255,255,255,0.08); }

.upi-step-confirm {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
  border: 1.5px dashed #ff9800;
  border-radius: 12px;
  padding: 14px 16px;
}
[data-theme="dark"] .upi-step-confirm { background: rgba(255,152,0,0.10); border-color: #f57c00; }
.upi-step-confirm h3 {
  font-size: 14px;
  font-weight: 800;
  color: #bf360c;
  margin: 0 0 6px;
}
[data-theme="dark"] .upi-step-confirm h3 { color: #ffb74d; }
.upi-step-confirm p {
  font-size: 12px;
  color: #8d6e63;
  margin: 0 0 10px;
  line-height: 1.5;
}
[data-theme="dark"] .upi-step-confirm p { color: #ffcc80; }
.upi-txn-label {
  display: block;
  margin-bottom: 4px;
}
.upi-txn-label span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #bf360c;
  margin-bottom: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
[data-theme="dark"] .upi-txn-label span { color: #ffb74d; }
.upi-txn-label input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid #ff9800;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'SF Mono', monospace;
  letter-spacing: 0.5px;
  background: #fff;
  color: var(--text, #1a1a1a);
}
.upi-txn-label input:focus {
  outline: none;
  border-color: #e65100;
  box-shadow: 0 0 0 3px rgba(255,152,0,0.2);
}
[data-theme="dark"] .upi-txn-label input { background: #141821; color: #e8eaf0; }
.upi-txn-hint {
  font-size: 11px;
  color: #8d6e63;
  margin-top: 6px;
  margin-bottom: 12px;
  line-height: 1.5;
}
[data-theme="dark"] .upi-txn-hint { color: #ffcc80; }

.upi-confirm-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.18s;
  letter-spacing: 0.3px;
}
.upi-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.upi-err {
  background: rgba(231,76,60,0.10);
  color: #c62828;
  border: 1px solid rgba(231,76,60,0.3);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin-top: 10px;
}

.upi-modal-footer {
  padding: 10px 24px 18px;
  text-align: center;
  border-top: 1px solid var(--border, #e0e0e0);
}
.upi-cancel-link {
  background: none;
  border: none;
  color: var(--text2, #6c757d);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 4px;
}
.upi-cancel-link:hover { color: var(--text, #1a1a1a); }

@media (max-width: 480px) {
  .upi-modal { max-width: 100%; max-height: calc(100vh - 24px); border-radius: 14px; }
  .upi-modal-header { padding: 18px 20px 12px; }
  .upi-modal-header h2 { font-size: 18px; }
  .upi-modal-body { padding: 16px 18px 12px; }
  .upi-qr { width: 180px; height: 180px; }
}

/* ── Product Detail: Hover-Pan Zoom ────────────── */
.pd-main-image.pd-zoomable {
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.pd-main-image.pd-zoomable img {
  will-change: transform;
  transform-origin: center center;
}
.pd-zoom-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.72);
  color: #fff;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 14px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}

/* ── Products page: Recently Viewed strip ─────── */
.pp-recent-section {
  margin: 20px 0 8px;
  padding: 16px 4%;
  background: var(--bg);
  border-radius: var(--radius-md);
}
.pp-recent-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pp-recent-head h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.pp-recent-clear {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}
.pp-recent-clear:hover { color: var(--red); }
.pp-recent-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}
.pp-recent-strip::-webkit-scrollbar { height: 6px; }
.pp-recent-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.pp-recent-card {
  flex-shrink: 0;
  width: 92px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
}
.pp-recent-card img {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: border-color 0.15s, transform 0.15s;
}
.pp-recent-card:hover img {
  border-color: var(--red);
  transform: translateY(-2px);
}
.pp-recent-card-name {
  font-size: 11px;
  margin-top: 5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.pp-recent-card-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
}

/* ── Image Modal: prev/next nav ──────────────────── */
.img-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  z-index: 5;
  transition: background 0.15s, transform 0.15s;
  font-family: inherit;
  line-height: 1;
}
.img-modal-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.img-modal-nav.prev { left: 18px; }
.img-modal-nav.next { right: 18px; }
.img-modal-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  z-index: 5;
  pointer-events: none;
}
@media (max-width: 600px) {
  .img-modal-nav { width: 38px; height: 38px; font-size: 22px; }
  .img-modal-nav.prev { left: 8px; }
  .img-modal-nav.next { right: 8px; }
}

/* ── Skip-to-content link (a11y) ─────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  z-index: 99999;
  transition: top 0.18s;
}
.skip-link:focus {
  top: 8px;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ── Expanded 6-card trust row ─────────────────── */
.fk-deal-row.trust-6 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
}
@media (max-width: 720px) {
  .fk-deal-row.trust-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .fk-deal-row.trust-6 .fk-deal-card { padding: 10px 12px !important; }
  .fk-deal-row.trust-6 .fk-deal-card h4 { font-size: 12px !important; }
  .fk-deal-row.trust-6 .fk-deal-card p  { font-size: 10px !important; }
  .fk-deal-row.trust-6 .fk-deal-icon    { font-size: 24px !important; }
}

/* ── WhatsApp Channel CTA card ─────────────────── */
.wa-channel-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 16px 0;
  box-shadow: 0 4px 18px rgba(37,211,102,0.25);
  transition: transform 0.18s, box-shadow 0.18s;
}
.wa-channel-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.38);
}
.wa-channel-cta-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  flex-shrink: 0;
}
.wa-channel-cta-text { flex: 1; min-width: 0; }
.wa-channel-cta-text h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 3px;
  color: #fff;
}
.wa-channel-cta-text p {
  font-size: 12px;
  margin: 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}
.wa-channel-cta-btn {
  background: #fff;
  color: #128C7E;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .wa-channel-cta { padding: 12px 14px; gap: 10px; }
  .wa-channel-cta-icon { width: 44px; height: 44px; font-size: 24px; }
  .wa-channel-cta-text h3 { font-size: 13px; }
  .wa-channel-cta-text p { font-size: 11px; }
  .wa-channel-cta-btn { padding: 6px 12px; font-size: 11px; }
}

/* ── Product detail: Related categories chips ─── */
.pd-related-cats {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.pd-related-cats-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 8px;
}
.pd-related-cats-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-related-cat-chip {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s;
}
.pd-related-cat-chip:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(219,48,34,0.06);
}

/* ── Product detail: "Ask about this product" ──── */
.pd-ask-product {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(37,211,102,0.10), rgba(37,211,102,0.04));
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.18s;
}
.pd-ask-product:hover {
  background: linear-gradient(135deg, rgba(37,211,102,0.16), rgba(37,211,102,0.08));
  border-color: #25D366;
  transform: translateY(-1px);
}
.pd-ask-product-icon {
  font-size: 28px;
  width: 44px; height: 44px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-ask-product > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pd-ask-product strong { font-size: 13px; color: var(--text); }
.pd-ask-product span:not(.pd-ask-product-icon):not(.pd-ask-product-arrow) {
  font-size: 11.5px;
  color: var(--text2);
  line-height: 1.4;
}
.pd-ask-product-arrow {
  font-size: 18px;
  color: #25D366;
  flex-shrink: 0;
  transition: transform 0.18s;
}
.pd-ask-product:hover .pd-ask-product-arrow { transform: translateX(3px); }

/* ── Orders page: customer stats dashboard ──── */
.oh-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.oh-stat-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.oh-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red);
}
.oh-stat-card.oh-tier::before { background: var(--tier-color, var(--red)); }
.oh-stat-icon { font-size: 24px; margin-bottom: 4px; }
.oh-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oh-tier .oh-stat-val { color: var(--tier-color, var(--red)); }
.oh-stat-label {
  font-size: 11px;
  color: var(--text2);
  margin-top: 2px;
  line-height: 1.3;
}
@media (max-width: 480px) {
  .oh-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .oh-stat-icon { font-size: 20px; }
  .oh-stat-val { font-size: 15px; }
  .oh-stat-label { font-size: 10px; }
}
[data-theme="dark"] .oh-stat-card { background: #141821; }

/* ── Wishlist enhancements ─────────────────── */
.wl-value-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.wl-value-savings,
.wl-value-oos {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 10px;
  font-weight: 600;
}
.wl-value-savings { background: rgba(39,174,96,0.12); color: var(--green); }
.wl-value-oos { background: rgba(231,76,60,0.12); color: var(--red); }

.wl-sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}
.wl-sort-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
}
.wl-sort-select {
  flex: 1;
  max-width: 260px;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--surface, white);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.wl-sort-select:focus { outline: none; border-color: var(--red); }
[data-theme="dark"] .wl-sort-bar { background: #0d1117; }
[data-theme="dark"] .wl-sort-select { background: #141821; }

/* ── Footer: Payments + Trust strip ────────────── */
.footer-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 14px;
}
@media (max-width: 720px) {
  .footer-strip { grid-template-columns: 1fr; gap: 12px; padding: 12px 16px; }
}
.footer-strip-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}
.footer-strip-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ft-pill {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.92);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  white-space: nowrap;
}
.ft-pill-trust {
  background: rgba(76,175,80,0.16);
  border-color: rgba(76,175,80,0.4);
  color: #c5e1a5;
}

/* ── FAQ accordion ─────────────────────────── */
.faq-section {
  padding: 8px 4% 24px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 16px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.faq-item[open] {
  border-color: var(--red);
  box-shadow: 0 2px 12px rgba(219,48,34,0.08);
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.2s;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text2);
  padding: 0 0 14px;
  margin: 0;
}
.faq-item p a { color: var(--red); }
.faq-item p b { color: var(--text); }
[data-theme="dark"] .faq-item { background: #141821; }

/* ── Global smooth scrolling (respects reduced-motion) ── */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Focus-visible polish (keyboard navigation only) ── */
body.kbd-nav a:focus-visible,
body.kbd-nav button:focus-visible,
body.kbd-nav input:focus-visible,
body.kbd-nav select:focus-visible,
body.kbd-nav textarea:focus-visible,
body.kbd-nav [role="button"]:focus-visible,
body.kbd-nav [role="tab"]:focus-visible {
  outline: 2px solid var(--red, #DB3022);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Anchor scroll offset so sticky header doesn't clip jump targets ── */
html { scroll-padding-top: 80px; }
:target { scroll-margin-top: 80px; }
@media (max-width: 720px) {
  html { scroll-padding-top: 60px; }
  :target { scroll-margin-top: 60px; }
}

/* ── Prevent iOS Safari input zoom (requires font-size >= 16px on focus) ── */
@media (max-width: 720px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="password"],
  input:not([type]),
  select,
  textarea {
    font-size: 16px !important;
  }
  /* Bring back compact look without zoom by tightening padding */
  .form-input, .form-select { padding: 9px 12px !important; }
}

/* ── Focused tab in ARIA-driven tablist ─────────── */
.pd-tab:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── Back-to-category pill on product detail ─── */
.back-to-cat-pill {
  position: fixed;
  bottom: 80px;
  left: 16px;
  background: var(--surface, #fff);
  color: var(--text, #1a1a1a);
  border: 1.5px solid var(--border, #e0e0e0);
  border-radius: 22px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  z-index: 900;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s;
  pointer-events: none;
}
.back-to-cat-pill.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.back-to-cat-pill:hover {
  background: var(--red, #DB3022);
  color: #fff;
  border-color: var(--red, #DB3022);
}
.back-to-cat-pill strong { font-weight: 800; }
[data-theme="dark"] .back-to-cat-pill { background: #141821; border-color: #252a37; }
@media (max-width: 600px) {
  .back-to-cat-pill { bottom: 70px; left: 10px; font-size: 11px; padding: 7px 12px; }
}

/* ── Hero scroll-down cue ─────────────────────── */
.hero-scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 5;
  padding: 6px 12px;
  border-radius: 18px;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.25s, transform 0.25s, background 0.25s;
  animation: hsc-bob 2.4s ease-in-out infinite;
}
.hero-scroll-cue:hover {
  background: rgba(0,0,0,0.32);
  color: #fff;
}
.hsc-text { font-size: 10px; }
.hsc-arrow {
  font-size: 14px;
  line-height: 1;
}
@keyframes hsc-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(5px); }
}
/* Hide on mobile to avoid covering the slide dots */
@media (max-width: 600px) {
  .hero-scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue { animation: none; }
}

/* ── Exit-intent cart-abandonment modal ──────── */
.exit-intent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.24s ease;
}
.exit-intent-backdrop.show { opacity: 1; }
.exit-intent-modal {
  background: var(--surface, #fff);
  border-radius: 18px;
  padding: 32px 28px 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.exit-intent-backdrop.show .exit-intent-modal { transform: scale(1) translateY(0); }
.exit-intent-close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text2, #6c757d);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.exit-intent-close:hover { background: var(--bg, #f0f0f0); color: var(--text, #1a1a1a); }
.exit-intent-emoji {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 10px;
  animation: eiWave 1.4s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes eiWave {
  0%, 100% { transform: rotate(0); }
  20%      { transform: rotate(-15deg); }
  40%      { transform: rotate(12deg); }
  60%      { transform: rotate(-8deg); }
  80%      { transform: rotate(5deg); }
}
.exit-intent-modal h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text, #1a1a1a);
  margin-bottom: 8px;
}
.exit-intent-modal p {
  font-size: 14px;
  color: var(--text2, #6c757d);
  margin-bottom: 6px;
  line-height: 1.5;
}
.exit-intent-modal p strong { color: var(--text, #1a1a1a); }
.ei-free {
  background: rgba(40,116,240,0.10);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0 18px !important;
  font-size: 13px !important;
  color: #0d47a1 !important;
}
.ei-free strong { color: #0d47a1 !important; }
[data-theme="dark"] .ei-free { background: rgba(40,116,240,0.18); color: #90caf9 !important; }
[data-theme="dark"] .ei-free strong { color: #bbdefb !important; }
.ei-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.ei-checkout {
  flex: 2;
  background: var(--red, #DB3022);
  color: #fff;
  padding: 12px;
  border-radius: 22px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.18s;
  font-size: 14px;
}
.ei-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(219,48,34,0.3);
}
.ei-stay {
  flex: 1;
  background: var(--bg, #f6f7fb);
  color: var(--text, #1a1a1a);
  border: 1.5px solid var(--border, #e0e0e0);
  padding: 12px;
  border-radius: 22px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: background 0.15s;
}
.ei-stay:hover { background: var(--surface-2, #fff); }
.ei-coupon {
  font-size: 12px;
  background: rgba(255,152,0,0.10);
  border: 1px dashed #ff9800;
  border-radius: 10px;
  padding: 9px 12px;
  color: #bf360c;
}
.ei-coupon strong {
  font-family: 'SF Mono', monospace;
  background: rgba(255,255,255,0.6);
  padding: 1px 6px;
  border-radius: 4px;
}
[data-theme="dark"] .ei-coupon { background: rgba(255,152,0,0.12); color: #ffb74d; }
[data-theme="dark"] .ei-coupon strong { background: rgba(255,255,255,0.08); }

/* ── Festive auto-theming banner ──────────────── */
.festive-banner {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 9px 44px 9px 16px;
  font-size: 13px;
  line-height: 1.4;
  z-index: 100;
  animation: fbSlideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
@keyframes fbSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.festive-banner.fb-hide {
  animation: fbSlideUp 0.24s ease forwards;
}
@keyframes fbSlideUp {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-100%); opacity: 0; }
}
.fb-text strong { font-weight: 800; letter-spacing: 0.3px; }
.fb-text b { background: rgba(255,255,255,0.25); padding: 0 6px; border-radius: 4px; font-weight: 700; }
.fb-link { color: inherit; text-decoration: none; cursor: pointer; transition: opacity 0.15s; }
.fb-link:hover { opacity: 0.9; }
.fb-cta {
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 11.5px;
  display: inline-block;
}
.fb-close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.12s;
}
.fb-close:hover {
  background: rgba(255,255,255,0.32);
  transform: translateY(-50%) scale(1.08);
}
@media (max-width: 600px) {
  .festive-banner { font-size: 12px; padding: 8px 38px 8px 12px; }
  .fb-text strong { display: block; }
  .fb-text > span { font-size: 11px; opacity: 0.95; }
}

/* Subtle accent — left border of fk-section, product cards */
body.festive-on .fk-section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--festive-tint, transparent);
  border-radius: 0 4px 4px 0;
  opacity: 0.4;
}
body.festive-on .fk-section { position: relative; }
body.festive-on .product-badge.new {
  background: var(--festive-tint, var(--green)) !important;
}

/* ── Gift wrap option in cart form ──────────── */
.gift-wrap-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff8e1, #fff3e0);
  border: 1.5px dashed #ff9800;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0 6px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.gift-wrap-row:hover {
  background: linear-gradient(135deg, #ffe0b2, #ffcc80);
}
.gift-wrap-row input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: #e65100;
  cursor: pointer;
  flex-shrink: 0;
}
.gift-wrap-info { flex: 1; }
.gift-wrap-title {
  font-size: 14px;
  font-weight: 700;
  color: #bf360c;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gift-wrap-price {
  background: #e65100;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 12px;
}
.gift-wrap-sub {
  font-size: 12px;
  color: #8d6e63;
  margin-top: 3px;
  line-height: 1.4;
}
[data-theme="dark"] .gift-wrap-row {
  background: rgba(255,152,0,0.10);
  border-color: #f57c00;
}
[data-theme="dark"] .gift-wrap-title { color: #ffb74d; }
[data-theme="dark"] .gift-wrap-sub { color: #ffcc80; }

.gift-msg-row {
  margin: 10px 0 6px;
  background: var(--bg, #fffdf7);
  border: 1px solid var(--border, #ffe0b2);
  border-radius: 10px;
  padding: 12px 14px;
  animation: scsSlide 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gift-msg-row textarea {
  width: 100%;
  resize: vertical;
  min-height: 50px;
  font-family: inherit;
  font-size: 13px;
}
.gift-msg-counter {
  font-size: 11px;
  color: var(--text-light, #878787);
  text-align: right;
  margin-top: 4px;
}
[data-theme="dark"] .gift-msg-row {
  background: #0d1117;
  border-color: #3b2a14;
}

/* ── Side cart drawer (slide-in from right) ───── */
.side-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.side-cart-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.side-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 92vw;
  height: 100vh;
  background: var(--surface, #fff);
  z-index: 8001;
  box-shadow: -12px 0 40px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  font-family: inherit;
}
.side-cart-drawer.open { transform: translateX(0); }

.side-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border, #e0e0e0);
  flex-shrink: 0;
}
.side-cart-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text, #1a1a1a);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-cart-count-pill {
  background: var(--red, #DB3022);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 12px;
  display: inline-flex;
  min-width: 24px;
  justify-content: center;
}
.side-cart-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-2, #6c757d);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.side-cart-close:hover {
  background: var(--bg, #f0f0f0);
  color: var(--text, #1a1a1a);
}

.side-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 16px;
}

.side-cart-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-2, #6c757d);
}
.side-cart-empty-icon { font-size: 48px; margin-bottom: 10px; }
.side-cart-empty h4 {
  font-size: 16px;
  color: var(--text, #1a1a1a);
  margin-bottom: 6px;
}
.side-cart-empty p {
  font-size: 13px;
  margin-bottom: 16px;
}
.side-cart-shop-btn {
  display: inline-block;
  background: var(--red, #DB3022);
  color: #fff;
  padding: 9px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.15s, box-shadow 0.18s;
}
.side-cart-shop-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(219,48,34,0.25); }

.side-cart-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border, #f0f0f0);
}
.side-cart-item:last-child { border-bottom: none; }
.side-cart-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg, #f6f7fb);
  flex-shrink: 0;
}
.side-cart-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.side-cart-item-info { flex: 1; min-width: 0; }
.side-cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 2px;
}
.side-cart-item-color {
  font-size: 11px;
  color: var(--text-2, #6c757d);
  margin-bottom: 4px;
}
.side-cart-item-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.scq-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border, #e0e0e0);
  background: var(--surface, #fff);
  color: var(--text, #1a1a1a);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1;
  transition: background 0.12s, border-color 0.12s;
}
.scq-btn:hover { background: var(--bg, #f6f7fb); border-color: var(--red, #DB3022); }
.scq-val {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #1a1a1a);
}
/* Wishlist quick-add strip inside the side cart drawer */
.side-cart-wl-strip {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.scwl-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text2);
  margin-bottom: 8px;
  padding: 0 2px;
  text-transform: uppercase;
}
.scwl-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.scwl-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.scwl-link { display: block; text-decoration: none; color: inherit; }
.scwl-img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface); border-radius: 6px; display: block; }
.scwl-name { font-size: 11px; line-height: 1.3; color: var(--text); margin-top: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.6em; }
.scwl-price { font-size: 12.5px; font-weight: 700; color: var(--text); }
.scwl-add {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.scwl-add:hover { background: var(--red-dark); }

.scq-remove,
.scq-save {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  margin-left: 2px;
  opacity: 0.55;
  transition: opacity 0.15s, transform 0.15s;
}
.scq-save { margin-left: 6px; }
.scq-remove:hover,
.scq-save:hover {
  opacity: 1;
  transform: scale(1.12);
}
.scq-save:hover { color: var(--red, #DB3022); }
.side-cart-item-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--red, #DB3022);
  flex-shrink: 0;
  white-space: nowrap;
}

.side-cart-footer {
  flex-shrink: 0;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--border, #e0e0e0);
  background: var(--bg, #fafafa);
}
.side-cart-fd {
  font-size: 12px;
  color: #1565c0;
  background: #e3f2fd;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: center;
}
.side-cart-fd-unlocked {
  background: rgba(39,174,96,0.12);
  color: var(--green, #27ae60);
}
.side-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0 12px;
}
.side-cart-total span {
  font-size: 13px;
  color: var(--text-2, #6c757d);
}
.side-cart-total strong {
  font-size: 18px;
  color: var(--text, #1a1a1a);
  font-weight: 800;
}
.side-cart-checkout {
  display: block;
  background: var(--red, #DB3022);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.18s;
  margin-bottom: 8px;
}
.side-cart-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(219,48,34,0.3);
}
.side-cart-continue {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-2, #6c757d);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px;
  font-family: inherit;
}

[data-theme="dark"] .side-cart-fd { background: rgba(40,116,240,0.12); color: #90caf9; }

/* Cart-bounce keeps existing styles below */
/* ── Cart icon bounce when an item lands ─────────── */
@keyframes cartBounceKf {
  0%   { transform: scale(1);   }
  20%  { transform: scale(1.18) rotate(-4deg); }
  40%  { transform: scale(0.94) rotate(3deg); }
  60%  { transform: scale(1.08) rotate(-2deg); }
  100% { transform: scale(1)    rotate(0); }
}
.cart-btn.cart-bounce { animation: cartBounceKf 0.55s ease; }
@media (prefers-reduced-motion: reduce) {
  .cart-btn.cart-bounce { animation: none; }
}

/* ── Smart coupon suggestion in cart ──────────── */
.smart-coupon-suggest {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border: 1px dashed #ff9800;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0;
  position: relative;
  animation: scsSlide 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes scsSlide {
  from { transform: translateY(-4px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.scs-icon { font-size: 22px; flex-shrink: 0; }
.scs-body { flex: 1; min-width: 0; line-height: 1.3; }
.scs-body strong { display: block; font-size: 13px; color: #e65100; }
.scs-body span { font-size: 11.5px; color: #b35d00; }
.scs-body b { background: rgba(255,255,255,0.6); padding: 1px 5px; border-radius: 4px; font-family: 'SF Mono', monospace; }
.scs-apply {
  background: #e65100;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s;
}
.scs-apply:hover { background: #bf360c; }
.scs-dismiss {
  background: none;
  border: none;
  font-size: 14px;
  color: rgba(0,0,0,0.4);
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
}
.scs-dismiss:hover { color: rgba(0,0,0,0.7); }
[data-theme="dark"] .smart-coupon-suggest {
  background: rgba(255,152,0,0.12);
  border-color: #f57c00;
}
[data-theme="dark"] .scs-body strong { color: #ffb74d; }
[data-theme="dark"] .scs-body span { color: #ffcc80; }
[data-theme="dark"] .scs-body b { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .scs-dismiss { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .scs-dismiss:hover { color: rgba(255,255,255,0.8); }

/* ── Shop by Occasion ─────────────────────────── */
.occasion-section {
  padding: 0 4% 24px;
  margin-top: 12px;
}
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 880px) { .occasion-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .occasion-grid { grid-template-columns: 1fr; } }

.occ-card {
  position: relative;
  display: block;
  background: var(--occ-grad, linear-gradient(135deg, #444, #222));
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  padding: 22px 20px 20px;
  min-height: 140px;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
  isolation: isolate;
}
.occ-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.18), transparent 55%);
  z-index: -1;
}
.occ-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.occ-emoji {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}
.occ-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 3px;
  color: #fff;
}
.occ-card p {
  font-size: 12px;
  margin: 0;
  opacity: 0.92;
  line-height: 1.4;
}
.occ-cta {
  position: absolute;
  bottom: 14px;
  right: 16px;
  background: rgba(255,255,255,0.22);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  transition: background 0.18s, transform 0.18s;
}
.occ-card:hover .occ-cta {
  background: rgba(255,255,255,0.4);
  transform: translateX(2px);
}

/* ── Print styles (orders / invoices) ──────────── */
@media print {
  /* Hide every non-essential UI element */
  header, footer,
  .announcement-bar,
  .bottom-nav,
  .whatsapp-float,
  .back-to-top,
  .page-header .breadcrumb,
  #scrollProgress,
  .newsletter-strip,
  .cart-reminder-banner,
  .smart-coupon-suggest,
  .bulk-order-cta,
  .pay-online-btn,
  .pay-online-note,
  .pwa-install-banner,
  .toast-stack,
  #toastStack,
  .img-modal,
  .qv-backdrop,
  .cmp-modal-backdrop,
  .compare-bar,
  .skip-link,
  .pp-recent-section,
  .recently-viewed,
  #pdRecentlyViewedSection,
  .fbt-section,
  .review-section,
  .oh-card-footer,
  .oh-clear-btn,
  .order-success-banner,
  button { display: none !important; }

  body, html {
    background: #fff !important;
    color: #000 !important;
    font-family: 'Times New Roman', serif !important;
  }

  .fk-main, main, .products-layout, .pd-page {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .oh-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
    margin-bottom: 14px !important;
    background: #fff !important;
  }

  .oh-stats {
    display: none !important; /* dashboard not useful on a printed invoice */
  }

  a { color: #000 !important; text-decoration: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  a[href^="mailto:"]::after,
  a[href^="tel:"]::after,
  a[href^="https://wa.me"]::after { content: ""; }

  /* Force black-on-white for any colored panels */
  .oh-summary, .oh-items, .oh-card-header, .oh-timeline {
    background: #fff !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Add page-break-after the last order on each page (best-effort) */
  .oh-card + .oh-card { page-break-before: auto; }
}

/* ── Product not-found empty state ──────────────── */
.pd-notfound {
  max-width: 760px;
  margin: 28px auto;
  text-align: center;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e8eaf0);
  border-radius: 18px;
  padding: 44px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.pd-notfound-emoji {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 12px;
  animation: errFloat 3s ease-in-out infinite;
}
.pd-notfound h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text, #1a1a1a);
  margin-bottom: 8px;
}
.pd-notfound > p {
  font-size: 14px;
  color: var(--text2, #6c757d);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.pd-notfound-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}
.pd-notfound-suggest {
  border-top: 1px dashed var(--border, #e8eaf0);
  padding-top: 22px;
  text-align: left;
}
.pd-notfound-suggest h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #1a1a1a);
  margin-bottom: 12px;
  text-align: center;
}
.pd-notfound-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
@media (max-width: 480px) {
  .pd-notfound { padding: 28px 16px; }
  .pd-notfound h1 { font-size: 20px; }
}

/* ── First-visit welcome modal ─────────────────── */
.fv-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.24s ease;
}
.fv-backdrop.show { opacity: 1; }
.fv-modal {
  background: var(--surface, #fff);
  border-radius: 22px;
  padding: 32px 28px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.fv-backdrop.show .fv-modal { transform: scale(1) translateY(0); }
.fv-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text2, #6c757d);
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.fv-close:hover { background: var(--bg, #f0f0f0); }
.fv-confetti {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 10px;
  animation: fvBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fvBounce {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
.fv-modal h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text, #1a1a1a);
  margin-bottom: 6px;
}
.fv-modal > p {
  font-size: 14px;
  color: var(--text2, #6c757d);
  margin-bottom: 16px;
  line-height: 1.5;
}
.fv-modal > p b { color: var(--red, #DB3022); }
.fv-coupon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border: 1px dashed #ff9800;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 16px;
}
.fv-coupon code {
  flex: 1;
  font-family: 'SF Mono', monospace;
  font-size: 18px;
  font-weight: 800;
  color: #bf360c;
  letter-spacing: 2px;
}
.fv-copy {
  background: #e65100;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.fv-copy:hover { background: #bf360c; }
.fv-perks {
  font-size: 12.5px;
  color: var(--text2, #6c757d);
  text-align: left;
  line-height: 1.7;
  background: var(--bg, #f6f7fb);
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.fv-cta {
  display: block;
  background: var(--red, #DB3022);
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s, box-shadow 0.18s;
}
.fv-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(219,48,34,0.3);
}
[data-theme="dark"] .fv-modal { background: #141821; }
[data-theme="dark"] .fv-perks { background: #0d1117; }
[data-theme="dark"] .fv-coupon { background: rgba(255,152,0,0.12); border-color: #f57c00; }
[data-theme="dark"] .fv-coupon code { color: #ffb74d; }

/* ── Reduced-motion: respect user preference ─────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .announcement-track,
  .hero-slides,
  .compare-bar,
  .pd-zoom-hint { animation: none !important; }
}
