/* Fonts: Montserrat + Inter loaded via templates/header.php */

@font-face {
  font-family: 'ABCGintoNord';
  src: url('../fonts/ABCGintoNordBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   BODMart — Main Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif;
  color: #222;
  background: #f8f8f8;
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
}
/* Montserrat for all price amount numbers; Inter strictly for currency symbols */
.product-price-now, .product-price-old, .product-price-was,
.zp-price-now, .zp-price-was,
.detail-price-now,
.order-review-item__price,
.cart-total-row,
.cart-item__price,
.summary-row.total .val,
.swipe-card .product-price-now,
.price-fmt {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
.currency-symbol {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  display: inline;
  margin-right: 1px;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #e53935; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; }
input, select, textarea { font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f2f2f2; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }

:root {--red: #e95004;--red: #fb7d28;--orange: #ff6900;--black:  #000;--dark:   #222;--gray:   #666;--light:  #aaa;--border: #e8e8e8;--bg:     #f8f8f8;--white:  #fff;--star:   #f5a623;--green:  #00a650;--radius: 2px;--shadow: 0 2px 8px rgba(0,0,0,.08);}

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

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.topbar {
  background: #000;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  text-align: center;
  padding: 7px 40px;
  letter-spacing: .3px;
  position: relative;
}
.topbar a { color: #fff; text-decoration: underline; }
.topbar .highlight { color: #ffd700; font-weight: 600; }
.topbar-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.6);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}
.topbar-close:hover { color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.sticky-shell {
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-header {
  background: #17120f;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 13px 24px;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}
.logo-img {
  height: 33px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-logo:hover { opacity: .88; }

/* Burger (mobile) */
.header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  flex-shrink: 0;
  cursor: pointer;
}
.header-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px; }

/* Mobile-only message icon & search icon: hidden by default, shown on mobile */
.header-msg-icon,
.header-search-icon { display: none !important; }

/* ============================================================
   SEARCH OVERLAY (mobile full-screen)
   ============================================================ */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 2100;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.search-overlay.open { display: flex; }
.search-overlay-bar {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 10px;
  border-bottom: 1px solid #ebebeb;
  flex-shrink: 0;
}
.search-overlay-back {
  background: none;
  border: none;
  padding: 4px 2px;
  cursor: pointer;
  color: #222;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.search-overlay-form {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1.5px solid #222;
  border-radius: 6px;
  overflow: hidden;
  height: 44px;
  background: #fff;
}
.search-overlay-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
  color: #222;
  font-family: 'Montserrat', sans-serif;
  background: transparent;
  min-width: 0;
}
.search-overlay-cam {
  display: none;
  background: none;
  border: none;
  padding: 0 10px;
  color: #aaa;
  flex-shrink: 0;
  align-items: center;
}
.search-overlay-submit {
  background: #000;
  border: 3px #fff solid;
  padding: 0 16px;
  height: 100%;
  cursor: pointer;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.search-discovery { padding: 20px 16px; }
.search-discovery-title { font-size: 16px; font-weight: 700; color: #000; margin-bottom: 14px; }
.search-discovery-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.search-chip {
  display: inline-flex;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #000;
  background: #f7f7f7;
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s;
}
.search-chip:hover { background: #f5f5f5; }

/* Search */
.header-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  height: 34px;
  background: #fff;
  border-radius: 3px;
  overflow: visible; /* must NOT be hidden — clips the suggestion dropdown */
  position: relative;
  margin: 0 auto;
  box-shadow: none;
  outline: 2px solid #fff;
  transition: outline-color .2s;
}
.header-search form {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  overflow: hidden; /* clipping only on the form, so input/button corners stay sharp */
}

.header-search:focus-within {
  outline-color: #fff4e8;
}

.header-search input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 12px;
  color: #222;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.header-search input::placeholder {
  color: transparent;
}

.search-ph-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.search-ph-wrap input {
  width: 100%;
  background: transparent;
}
.search-anim-ph {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #999;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity .35s ease;
  user-select: none;
}

.header-search button {
  background: #17120f;
  width: 56px;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .3s ease;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  position: relative;
  overflow: hidden;
}
.header-search button::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transition: left .5s ease;
}
.header-search button:hover { background: #2d2419; }
.header-search button:hover::after { left: 160%; }

.header-search button svg {
  width: 23px;
  height: 23px;
  stroke: #fff;
  stroke-width: 2.5;
}

/* Search suggestions — see full styles at end of file */

/* Header right icons */
.header-icons {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.header-icon {
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background .15s;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.header-icon:hover { background: rgba(255,255,255,.1); color: #fff; }
.header-icon svg { width: 22px; height: 22px; }
.header-icon span.lbl { font-size: 10px; opacity: .85; white-space: nowrap; display: block; }
.header-icon .badge-count {
  position: absolute;
  top: 2px; right: 4px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* Account dropdown — SHEIN style */
.header-icon.has-dropdown { position: relative; }
/* Invisible bridge: fills the gap between icon and dropdown so mouse never leaves hover area */
.header-icon.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 10px;
}
.icon-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: -8px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
  min-width: 190px;
  z-index: 400;
  padding: 0;
  overflow: hidden;
}
.icon-dropdown::before {
  content: '';
  position: absolute;
  top: -6px; right: 18px;
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid #eee;
  border-top: 1px solid #eee;
  transform: rotate(45deg);
  z-index: 1;
}
.header-icon.has-dropdown:hover .icon-dropdown { display: block; }

/* ── Language picker ── */
.lang-picker {
  position: relative;
}
.lang-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.lang-active-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  opacity: .85;
  line-height: 1;
}
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: -8px;
  width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  z-index: 9999;
  overflow: hidden;
  animation: langMenuIn .18s ease;
}
.lang-menu.open { display: block; }
@keyframes langMenuIn {
  from { opacity: 0; transform: translateY(-6px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lang-menu-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #999;
  border-bottom: 1px solid #f2f2f2;
}
.lang-list {
  padding: 6px 0;
}
.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background .12s;
}
.lang-opt:hover { background: #f8f8f8; }
.lang-opt.active { background: #fff5f7; }
.lang-flag {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.lang-names {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.lang-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  display: block;
}
.lang-native {
  font-size: 11px;
  color: #aaa;
  display: block;
}
.lang-check {
  width: 15px;
  height: 15px;
  stroke: #e95004;
  flex-shrink: 0;
  opacity: 0;
}
.lang-opt.active .lang-check { opacity: 1; }
.lang-opt.active .lang-name { color: #e95004; }
.lang-menu-footer {
  padding: 8px 16px 12px;
  font-size: 10px;
  color: #ccc;
  text-align: center;
  border-top: 1px solid #f2f2f2;
  letter-spacing: .3px;
}

/* Signed-out top link */
.idd-signin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 15px;
  font-size: 16px;
  font-weight: 800;
  color: #111;
  letter-spacing: -.2px;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none;
  transition: background .12s;
}
.idd-signin:hover { background: #fafafa; color: #111; }

/* Signed-in user head */
.idd-user-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 13px;
  border-bottom: 1px solid #f2f2f2;
  background: #fafafa;
}
.idd-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  flex-shrink: 0;
  letter-spacing: -.5px;
}
.idd-uname { font-size: 13px; font-weight: 700; color: #111; line-height: 1.3; }
.idd-uemail { font-size: 11px; color: #aaa; margin-top: 2px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 155px; }

/* Menu items */
.icon-dropdown a {
  display: flex;
  align-items: center;
  padding: 6px 20px;
  font-size: 11.5px;
  color: #333;
  transition: background .12s;
  border-bottom: 1px solid #f8f8f8;
  text-decoration: none;
}
.icon-dropdown a:last-child { border-bottom: none; }
.icon-dropdown a:hover { background: #f8f8f8; color: var(--red); }
.icon-dropdown a.idd-signout { color: #aaa; font-size: 12.5px; }

/* ============================================================
   MAIN NAV  (black, scrollable)
   ============================================================ */
.main-nav {
  background: #17120f;
  border-top: 1px solid rgb(255 255 255 / 16%);
  position: relative;
}
.main-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 8px;
}
.nav-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 2;
  margin-top: unset;
}
.nav-arrow:hover { background: rgba(255,255,255,.25); }
.nav-arrow svg { width: 12px; height: 12px; stroke: #fff; }
.nav-scroll {
  flex: 1;
  display: flex;
  align-items: center;
  overflow-x: auto;
}
.nav-scroll .nav-link {
  flex-shrink: 0;
  color: rgba(255,255,255,.8);
  font-size: 12.5px;
  font-weight: 500;
  padding: 12px 14px;
  white-space: nowrap;
  position: relative;
  transition: color .2s;
  display: block;
  letter-spacing: .1px;
}
.nav-scroll .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2.5px;
  background: var(--red);
  border-radius: 2px 2px 0 0;
  transition: left .24s ease, right .24s ease;
}
.nav-scroll .nav-link:hover { color: #fff; }
.nav-scroll .nav-link:hover::after { left: 14px; right: 14px; }
.nav-scroll .nav-link.active { color: #fff; font-weight: 600; }
.nav-scroll .nav-link.active::after { left: 14px; right: 14px; background: #fff; }
.nav-scroll .nav-link.sale-link { color: #ff6b6b; }
.nav-scroll .nav-link.sale-link:hover { color: #ff9a9a; }
.nav-scroll .nav-link.sale-link::after { background: #ff6b6b; }
.nav-scroll .nav-link.sale-link:hover::after { left: 14px; right: 14px; }

/* ============================================================
   MEGA MENU
   ============================================================ */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid var(--red, #e53935);
  box-shadow: 0 16px 48px rgba(0,0,0,.16);
  z-index: 50;
}
.mega-menu.open { display: block; }

.mega-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  height: 380px;   /* fixed height — both sides scroll independently */
}

/* ── Left sidebar ── */
.mega-left {
  width: 270px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #efefef;
  padding: 18px 0;
  overflow-y: scroll;
  scrollbar-width: none;
}
.mega-left::-webkit-scrollbar { display: none; }
.mega-cat-icon { display: none; }
.mega-cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: #222;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s, color .12s;
  cursor: default;
}
.mega-cat-row:hover { background: #f5f5f5; color: #111; }
.mega-cat-row.active { background: #efefef; color: #111; font-weight: 600; }
.mega-cat-label { flex: 1; }
.mega-cat-chev { width: 12px; height: 12px; flex-shrink: 0; opacity: .3; }
.mega-cat-row:hover .mega-cat-chev { opacity: .6; }
.mega-cat-row.active .mega-cat-chev { opacity: .8; }

/* ── Right panel ── */
.mega-right {
  flex: 1;
  padding: 20px 28px 24px;
  overflow-y: scroll;
  scrollbar-width: none;        /* Firefox */
}
.mega-right::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.mega-panel { display: none; }
.mega-panel.active { display: block; }
.mega-panel-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
}

/* Subcategory grid — circles + labels */
.mega-subs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 18px 12px;
}
.mega-sub-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
}
/* The circle wrapper — image or emoji inside */
.mega-sub-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  border: 2px solid transparent;
}
.mega-sub-item:hover .mega-sub-img-wrap {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
  border-color: rgba(0,0,0,.06);
}
.mega-sub-emoji {
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.mega-sub-name {
  font-size: 11.5px;
  color: #333;
  font-weight: 500;
  line-height: 1.35;
  max-width: 88px;
  text-align: center;
}
.mega-sub-item:hover .mega-sub-name { color: var(--red, #e53935); }

/* Keep legacy .mega-sub-circle in case referenced elsewhere */
.mega-sub-circle {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}

/* Mobile: hide mega, keep accordion nav */
@media (max-width: 900px) {
  .mega-menu { display: none !important; }
}

/* Mobile nav accordion */
.mobile-nav-section { border-bottom: 1px solid #f0f0f0; }
.mobile-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  gap: 8px;
}
.mobile-nav-parent:hover { background: #f8f8f8; }
.mobile-nav-parent svg { flex-shrink: 0; transition: transform .2s; }
.mobile-nav-section.open .mobile-nav-parent svg { transform: rotate(90deg); }
.mobile-nav-children { display: none; background: #fafafa; }
.mobile-nav-section.open .mobile-nav-children { display: block; }
.mobile-nav-children a {
  display: block;
  padding: 10px 18px 10px 32px;
  font-size: 13px;
  color: #444;
  border-top: 1px solid #ececec;
  transition: color .13s;
}
.mobile-nav-children a:hover { color: var(--red, #e53935); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1200;
}
.mobile-overlay.open { display: block; }
.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  overflow-y: auto;
  height: 100%;
  background: #fff;
  z-index: 1300;
  transition: transform .28s;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  background: #000;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mobile-nav-head .logo { color: #fff; font-size: 22px; font-weight: 900; font-style: italic; font-family: 'Montserrat', 'Arial Black', Arial, sans-serif; }
.mobile-nav-close { color: rgba(255,255,255,.7); font-size: 20px; cursor: pointer; padding: 2px 6px; line-height: 1; }
.mobile-nav-close:hover { color: #fff; }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: none;
  font-size: 13px;
  color: #333;
  transition: all .12s;
}
.mobile-nav a:hover { color: var(--red); background: #fafafa; }
.mobile-nav a svg { width: 16px; height: 16px; opacity: .55; flex-shrink: 0; }
.mobile-nav-links-section { border-top: 1px solid #f0f0f0; padding: 14px 18px 10px; }
.mobile-nav-links-head {
  font-size: 10px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase;
  color: #bbb; margin-bottom: 10px;
}
.mobile-nav-links-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.mobile-nav-links-grid a {
  font-size: 13px; font-weight: 500; color: #555; padding: 7px 0;
  text-decoration: none; transition: color .15s;
  display: flex; align-items: center; gap: 5px;
}
.mobile-nav-links-grid a:hover { color: #e95004; }
.mobile-nav-footer { padding: 16px; border-top: 1px solid #eee; margin-top: auto; flex-shrink: 0; }
.mobile-nav-footer .btn-black { color: #fff !important; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1400;
}
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  transition: transform .28s;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  transform: translateX(100%);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cart-drawer-head h3 { font-size: 16px; font-weight: 700; }
.cart-drawer-close { font-size: 20px; cursor: pointer; color: #888; padding: 4px; line-height: 1; }
.cart-drawer-close:hover { color: #222; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 0; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
}
.cart-item-img {
  width: 70px; height: 90px;
  border-radius: 2px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 12px; color: #333; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-meta { font-size: 11px; color: #999; margin-top: 4px; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--red); margin-top: 5px; }
.cart-item-remove { color: #ccc; cursor: pointer; padding: 2px; transition: color .15s; flex-shrink: 0; }
.cart-item-remove:hover { color: var(--red); }
.cart-item-remove svg { width: 14px; height: 14px; }
.cart-drawer-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  /* On mobile the bottom nav is 56px tall — lift checkout button above it */
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
}
@media (max-width: 768px) {
  .cart-drawer-foot {
    padding-bottom: calc(56px + 16px);
  }
}
.cart-total-row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty svg { width: 64px; height: 64px; margin: 0 auto 16px; opacity: .2; }
.cart-empty h3 { font-size: 15px; color: #555; margin-bottom: 6px; }
.cart-empty p { font-size: 13px; color: #999; margin-bottom: 18px; }

/* ============================================================
   QUICK VIEW
   ============================================================ */
.quick-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1600;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quick-overlay.open { display: flex; }
.quick-box {
  background: #fff;
  border-radius: 6px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.quick-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  z-index: 2;
  line-height: 1;
}
.quick-close:hover { color: #000; }

/* ============================================================
   QUICK VIEW — REDESIGNED
   ============================================================ */
.qv-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  position: relative;
}
.qv-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #555;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background .12s, color .12s;
}
.qv-close:hover { background: #111; color: #fff; border-color: #111; }

/* Gallery */
.qv-gallery {
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 6px 0 0 6px;
}
.qv-main-img-box {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.qv-main-img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.qv-main-img-box:hover img { transform: scale(1.04); }
.qv-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: .4px;
}
.qv-thumbs {
  display: flex;
  gap: 5px;
  padding: 8px;
  overflow-x: auto;
  background: #fff;
  border-top: 1px solid #efefef;
  scrollbar-width: none;
}
.qv-thumbs::-webkit-scrollbar { display: none; }
.qv-thumb {
  flex-shrink: 0;
  width: 52px; height: 64px;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #f0f0f0;
  transition: border-color .12s;
}
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-thumb:hover { border-color: #bbb; }
.qv-thumb.active { border-color: #111; }

/* Info panel */
.qv-info {
  padding: 28px 28px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.qv-brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 6px;
}
.qv-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #111;
  margin: 0 0 8px;
  padding-right: 30px;
}
.qv-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.qv-rating-count { font-size: 12px; color: #999; }
.qv-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.qv-price-sale { font-size: 22px; font-weight: 900; color: var(--red); }
.qv-price-orig { font-size: 13px; color: #bbb; text-decoration: line-through; }
.qv-save-tag {
  font-size: 10px; font-weight: 800;
  background: #fff3f5;
  color: var(--red);
  border: 1px solid #ffc9d2;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: .4px;
}
.qv-divider { height: 1px; background: #f2f2f2; margin: 2px 0 14px; }

/* Options */
.qv-opt-block { margin-bottom: 14px; }
.qv-opt-label { font-size: 12px; color: #888; margin-bottom: 8px; }
.qv-opt-label strong { color: #111; font-weight: 600; }

/* Colour swatches */
.qv-color-row { display: flex; gap: 7px; flex-wrap: wrap; }
.qv-color-btn {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 2px solid #ddd;
  outline-offset: 1px;
  cursor: pointer;
  padding: 0;
  transition: outline-color .12s, outline-width .12s;
  overflow: hidden;
}
.qv-color-btn:hover { outline-color: #888; }
.qv-color-btn.active { outline-color: #111; outline-width: 2.5px; }
/* Image-based color swatch (variant has its own image) */
.qv-color-btn.qv-color-img { border-radius: 4px; width: 36px; height: 36px; border: 2px solid #e8e8e8; outline: none; }
.qv-color-btn.qv-color-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.qv-color-btn.qv-color-img.active { border-color: #111; box-shadow: 0 0 0 1px #111; }

/* Size buttons */
.qv-size-row { display: flex; gap: 6px; flex-wrap: wrap; }
.qv-size-btn {
  min-width: 44px; height: 34px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 12px; font-weight: 500;
  color: #333;
  background: #fff;
  cursor: pointer;
  transition: all .12s;
}
.qv-size-btn:hover { border-color: var(--red); color: var(--red); }
.qv-size-btn.active { border-color: #111; background: #111; color: #fff; }

/* Quantity */
.qv-qty-block { display: flex; align-items: center; gap: 14px; }
.qv-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 0px;
  overflow: hidden;
  background: #f7f6f7;
  height: 24px;
}
.qv-qty-btn {
  width: 26px; height: 24px;
  border: none;
  background: #f7f6f7;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #111111;
  font-size: 15px;
  font-weight: 600;
  transition: background .12s, color .12s, opacity .12s;
  user-select: none;
  padding: 0;
}
.qv-qty-btn:hover:not(:disabled) { background: #ecebec; color: #000; }
.qv-qty-btn:disabled, .qv-qty-btn[disabled] {
  background: #fcfcfc !important;
  color: #cccccc !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}
.qv-qty-input {
  width: 48px; height: 24px;
  border: none;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  background: #ffffff;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qv-qty-input::-webkit-inner-spin-button,
.qv-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qv-stock-warn { font-size: 11px; color: var(--red); font-weight: 600; }

/* Actions */
.qv-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 16px 0 12px;
}
.qv-add-cart {
  flex: 1;
  height: 46px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s;
}
.qv-add-cart:hover:not(:disabled) { background: var(--red); }
.qv-wish-btn {
  width: 46px; height: 46px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  color: #666;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .12s;
  flex-shrink: 0;
}
.qv-wish-btn:hover { border-color: var(--red); color: var(--red); }
.qv-wish-btn.active { border-color: var(--red); color: var(--red); }
.qv-full-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #555;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .12s;
  margin-bottom: 12px;
}
.qv-full-link:hover { color: var(--red); }
.qv-desc { font-size: 12px; color: #999; line-height: 1.7; margin: 0; }

/* Responsive */
@media (max-width: 640px) {
  .qv-wrap { grid-template-columns: 1fr; min-height: auto; }
  .qv-gallery { border-radius: 6px 6px 0 0; max-height: 280px; }
  .qv-main-img-box { max-height: 220px; }
  .qv-info { padding: 18px 18px 20px; }
  .qv-title { font-size: 14px; }
  .qv-price-sale { font-size: 18px; }
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap {
  position: fixed;
  top: 80px; right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: #222;
  color: #fff;
  padding: 11px 18px;
  border-radius: 4px;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  animation: toastIn .22s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  max-width: 340px;
}
.toast.success { background: #00a650; }
.toast.error   { background: var(--red); }
.toast.info    { background: #1565c0; }
.toast.warning { background: var(--orange); }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
@keyframes toastIn { from { opacity:0; transform: translateX(24px); } to { opacity:1; transform: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 20px;
  height: 40px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  border: 1px solid transparent;
  text-align: center;
  letter-spacing: .2px;
}
.btn-primary  { background: var(--red);  color: #fff; border-color: var(--red); }
.btn-primary:hover  { background: #c62828; border-color: #c62828; color: #fff; }
.btn-black   { background: #000; color: #fff; border-color: #000; }
.btn-black:hover   { background: #333; border-color: #333; color: #fff; }
.btn-white   { background: #fff; color: #000; border-color: #fff; }
.btn-white:hover   { background: #f0f0f0; color: #000; }
.btn-outline { background: transparent; color: #222; border-color: #ccc; }
.btn-outline:hover { border-color: #222; color: #222; }
.btn-outline-dark { background: transparent; color: #222; border: 2px solid #222; font-weight: 700; }
.btn-outline-dark:hover { background: #222; color: #fff; }
.btn-sm  { height: 34px; padding: 0 14px; font-size: 12px; }
.btn-lg  { height: 48px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; display: flex; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #111; }
.form-control {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cccccc;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  background: #fff;
  outline: none;
  transition: border-color .15s;
}
.form-control:focus { border-color: #000; }
textarea.form-control { height: auto; padding: 10px 12px; resize: vertical; }
.form-control::placeholder { color: #666666; opacity: 1; font-weight: 400; }

/* Dedicated Coupon Input Group */
.coupon-form-wrap {
  margin-top: 10px;
}
.coupon-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.coupon-input-group .coupon-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid #cccccc;
  color: #111111;
  margin-bottom: 0 !important;
}
.coupon-input-group .coupon-btn {
  height: 44px;
  white-space: nowrap;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
}
@media (max-width: 380px) {
  .coupon-input-group {
    flex-direction: column;
    gap: 10px;
  }
  .coupon-input-group .coupon-btn {
    width: 100%;
  }
}

/* ============================================================
   SECTION BLOCKS
   ============================================================ */
.section-block {
  background: #fff;
  margin-top: 12px;
  padding: 16px 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 12px;
}
.section-head h2 {font-size: 18px;font-weight: 700;color: #17120f;}
.section-head h2 .accent { color: var(--red); font-style: italic; }
.section-link {
  font-size: 15px;
  color: #17120f;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}
.section-link:hover { color: var(--red); }
.section-link svg {
  width: 12px; height: 12px;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.section-link:hover svg { transform: translateX(5px); }

/* ── View More button ── */
.view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 260px;
  padding: 12px 36px;
  height: 46px;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid #111111;
  border-radius: 0px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: none;
}
.view-more-btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}
.view-more-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.view-more-btn:hover svg {
  transform: translateY(2px);
}

/* ── Hide Google Translate bar (we use custom lang picker) ── */
.goog-te-banner-frame { display: none !important; }
.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { display: none !important; }

/* ============================================================
   HERO SLIDER (styled like template)
   ============================================================ */
.hero-slider { background: #fff; overflow: hidden; position: relative; user-select: none; }
.slider-track { display: flex; transition: transform .42s ease; }
.slide {
  flex-shrink: 0;
  width: 100%;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.slide-bg-1 {
  background:
    linear-gradient(135deg, rgba(15,10,5,.72) 0%, rgba(15,10,5,.38) 55%, transparent 100%),
    linear-gradient(120deg, #fb7d28 0%, #f04f0a 28%, #c0392b 60%, #8e0c35 100%);
}
.slide-bg-2 {
  background:
    linear-gradient(135deg, rgba(5,5,20,.75) 0%, rgba(5,5,20,.35) 55%, transparent 100%),
    linear-gradient(120deg, #1a1a2e 0%, #16213e 35%, #0f3460 65%, #533483 100%);
}
.slide-bg-3 {
  background:
    linear-gradient(135deg, rgba(5,15,5,.70) 0%, rgba(5,15,5,.32) 55%, transparent 100%),
    linear-gradient(120deg, #0d2a1f 0%, #0a3d2b 35%, #117a50 65%, #1abc9c 100%);
}
.slide-has-img { background-size: cover; background-position: center; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Left darkness — protects text at all times */
    linear-gradient(105deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.60) 25%, rgba(0,0,0,.24) 50%, rgba(0,0,0,.04) 68%, transparent 82%),
    /* Bottom cinematic vignette */
    linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.20) 22%, transparent 46%),
    /* Top header shadow */
    linear-gradient(to bottom, rgba(0,0,0,.28) 0%, transparent 18%);
  z-index: 1;
  pointer-events: none;
}
.slide img { width: 100%; height: 400px; object-fit: cover; }
.slide-sub { display:none; }
.slide-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex; 
  align-items: center; 
  gap: 32px; 
  min-height: 420px;
}
.slide-text { color: #fff; flex-shrink: 0; max-width: 320px; z-index: 2; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.slide-tag { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 10px; opacity: 1; text-transform: uppercase; color: rgba(255,255,255,.9); }
.slide-title {font-family: 'ABCGintoNord',sans-serif;font-size: clamp(28px, 4vw, 39px);font-weight: 700;line-height: 1;margin-bottom: 18px;letter-spacing: -1px;text-transform: uppercase;}
.slide-cta {
  display: inline-block;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 32px;
  border-radius: 0px;
  border: 1.5px solid #ffffff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-cta:hover {
  background: #e95004;
  color: #ffffff;
  border-color: #e95004;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233,80,4,0.45);
}
.slide-products {
  flex: 1;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: stretch;
  flex-wrap: nowrap;
  z-index: 2;
  min-width: 0;
}
.slide-product {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  width: 160px;
  flex-shrink: 0;
  box-shadow: none;
  transition: transform .22s;
  text-decoration: none;
  display: block;
  position: relative;
  padding: 4px;
}
.slide-product:hover { transform: translateY(-6px); }
.slide-product-img {
  width: 100%;
  height: 230px;
  background-size: cover;
  background-position: center top;
  position: relative;
  border: 3px solid #fff;
  outline: 1.5px solid #e0e0e0;
}
.slide-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.slide-product-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 5px 14px;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-family: 'Montserrat', sans-serif;
}
/* Keep old price div hidden (replaced by badge) */
.slide-product-price { display: none; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: background .15s;
}
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-btn svg { width: 14px; height: 14px; }
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}
.slider-dot {
  width: 10px;
  height: 6px;
  background: rgba(255,255,255,.4);
  border-radius: 10px;
  cursor: pointer;
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-dot:hover {
  background: rgba(255,255,255,.8);
  width: 16px;
}
.slider-dot.active {
  background: #e95004;
  width: 32px;
  box-shadow: 0 0 10px rgba(233, 80, 4, 0.6);
}

/* ============================================================
   CATEGORY CIRCLES  (multi-row grid, matches screenshot)
   ============================================================ */
.category-section {
  background: #fff;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.category-section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px 8px;
  padding: 4px 0;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.cat-item:hover .cat-circle { transform: scale(1.05) rotate(-16deg); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.cat-circle {
  width: 110px;
  height: 110px;
  border-radius: 50% 80%/80% 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  background: #F0EEEC;
  border-bottom-left-radius: 80% 50%;
  border-bottom-right-radius: 50% 80%;
  border-top-left-radius: 50% 80%;
  border-top-right-radius: 80% 50%;
  transform: rotate(-16deg);
}
.cat-circle img {width: 100%;height: 100%;object-fit: cover;transform: rotate(16deg);}
.cat-circle svg { width: 44px; height: 44px; opacity: .6; }
.cat-label {
  font-size: 12px;
  color: #17120f;
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
  max-width: 110px;
}
.cat-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  color: #222;
  transition: all .15s;
}
.cat-arrow:hover { background: #f8f8f8; border-color: #ccc; }
.cat-arrow.left { left: 4px; }
.cat-arrow.right { right: 4px; }
.cat-arrow svg { width: 14px; height: 14px; }

/* Category circle colors */
.cc-1  { background: linear-gradient(135deg, #ffd1dc, #ff9eb5); }
.cc-2  { background: linear-gradient(135deg, #d4c5f9, #a18cd1); }
.cc-3  { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.cc-4  { background: linear-gradient(135deg, #84fab0, #8fd3f4); }
.cc-5  { background: linear-gradient(135deg, #fbc2eb, #a6c1ee); }
.cc-6  { background: linear-gradient(135deg, #f6d365, #fda085); }
.cc-7  { background: linear-gradient(135deg, #a1c4fd, #c2e9fb); }
.cc-8  { background: linear-gradient(135deg, #ffd6a5, #fdffb6); }
.cc-9  { background: linear-gradient(135deg, #e0c3fc, #8ec5fc); }
.cc-10 { background: linear-gradient(135deg, #fda085, #f6d365); }
.cc-11 { background: linear-gradient(135deg, #b8e6b8, #6ec56e); }
.cc-12 { background: linear-gradient(135deg, #fbc2eb, #fad0c4); }
.cc-13 { background: linear-gradient(135deg, #c2e9fb, #a1c4fd); }
.cc-14 { background: linear-gradient(135deg, #ffeaa7, #fab1a0); }
.cc-15 { background: linear-gradient(135deg, #fd79a8, #e84393); }
.cc-16 { background: linear-gradient(135deg, #55efc4, #00b894); }
.cc-17 { background: linear-gradient(135deg, #fdcb6e, #e17055); }
.cc-18 { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.cc-19 { background: linear-gradient(135deg, #55efc4, #6c5ce7); }
.cc-20 { background: linear-gradient(135deg, #fd79a8, #fdcb6e); }
.cc-21 { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.cc-22 { background: linear-gradient(135deg, #ffeaa7, #00cec9); }
.cc-23 { background: linear-gradient(135deg, #fab1a0, #e17055); }
.cc-24 { background: linear-gradient(135deg, #81ecec, #00b894); }

/* ============================================================
   FLASH SALE CARD
   ============================================================ */
.flash-sale-wrapper {
  background: linear-gradient(135deg, #fffcf0 0%, #fff7d6 100%);
  border: 1px solid #ffe885;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(255, 180, 0, 0.08);
}
.flash-sale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.flash-header-title {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.flash-badge-title {
  background: linear-gradient(135deg, #ff5e00 0%, #e63900 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(230, 57, 0, 0.25);
}
.flash-countdown-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.flash-countdown-label {
  font-size: 13px;
  font-weight: 600;
  color: #444444;
}
.countdown-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.countdown-cell {
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.countdown-colon {
  color: #ff5e00;
  font-size: 16px;
  font-weight: 800;
}
.flash-see-all {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}
.flash-see-all:hover {
  color: #ff5e00;
}
.flash-products-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.flash-card-item {
  width: 175px;
  min-width: 175px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #eaeaea;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.flash-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
  border-color: #ffd700;
}
.flash-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  background: #f8f8f8;
}
.flash-card-img {
  width: 100%;
  height: 100%;
}
.flash-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.flash-card-item:hover .flash-card-img img {
  transform: scale(1.05);
}
.flash-card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e63900;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.flash-card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.flash-card-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #222222;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.flash-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}
.flash-prices {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.flash-price-now {
  font-size: 14px;
  font-weight: 800;
  color: #e63900;
}
.flash-price-was {
  font-size: 11px;
  color: #888888;
  text-decoration: line-through;
}
.flash-progress-bar-wrap {
  position: relative;
  background: #f0f0f0;
  border-radius: 10px;
  height: 14px;
  overflow: hidden;
  margin-top: 4px;
  display: flex;
  align-items: center;
}
.flash-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, #ff8a00, #ff4500);
  border-radius: 10px;
}
.flash-progress-text {
  position: relative;
  z-index: 2;
  font-size: 9px;
  font-weight: 800;
  color: #111111;
  width: 100%;
  text-align: center;
  line-height: 14px;
  letter-spacing: 0.2px;
}

/* Flash / mini cards */
.flash-mini-card { flex-shrink: 0; width: 120px; cursor: pointer; }
.flash-mini-img {
  width: 120px; height: 140px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 6px;
  background-size: cover;
  background-position: center;
}
.flash-mini-discount {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
}
.flash-mini-price { color: var(--red); font-size: 14px; font-weight: 700; }
.flash-mini-was { color: #aaa; font-size: 11px; text-decoration: line-through; }

/* ============================================================
   PRODUCT CARDS  (exact template match)
   ============================================================ */
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.product-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  color: inherit;
}

.product-img-box {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f2f2f2;
}
.product-img-main,
.product-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity .4s ease, transform .4s ease;
}
.product-img-main img,
.product-img-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img-hover { opacity: 0; }
.product-card:hover .product-img-main { opacity: 0; transform: scale(1.06); }
.product-card:hover .product-img-hover { opacity: 1; transform: scale(1.06); }

.product-discount-tag {
  position: absolute;
  bottom: 8px; left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 2px;
  z-index: 2;
  letter-spacing: .2px;
}
.product-discount-tag.orange { background: var(--orange); bottom: auto; }

.product-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222222;
  border: none;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-fav svg {
  width: 16px;
  height: 16px;
  stroke-width: 2px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.2s ease, color 0.2s ease;
}
.product-fav:hover {
  background: #ffffff;
  color: #e63900;
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(230, 57, 0, 0.2);
}
.product-fav:hover svg {
  fill: rgba(230, 57, 0, 0.15);
  stroke: #e63900;
  transform: scale(1.1);
}
.product-fav.wishlisted {
  background: #ffffff;
  color: #e63900;
  box-shadow: 0 4px 14px rgba(230, 57, 0, 0.25);
}
.product-fav.wishlisted svg {
  fill: #e63900;
  stroke: #e63900;
}
@keyframes heartPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.4); }
  65% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.product-fav.just-wishlisted svg {
  animation: heartPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.72);
  color: #fff;
  border: none;
  padding: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  opacity: 0;
  transition: opacity .2s;
  z-index: 2;
  cursor: pointer;
}
.product-card:hover .product-quick-add { opacity: 1; }

.product-info {
  padding: 8px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-brand {
  font-size: 12px;
  font-weight: 700;
  color: #17120f;
  letter-spacing: .1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-title {
  font-size: 12px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.product-price-block, .product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 5px;
}
.product-price-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-price-now {
  font-size: 14px;
  font-weight: 700;
  color: #17120f;
  letter-spacing: -.3px;
  line-height: 1.2;
}
.product-price-was {
  font-size: 11px;
  color: #888888;
  text-decoration: line-through;
  font-weight: 400;
  margin-top: 1px;
  line-height: 1.1;
}
.product-card-cart-btn, .product-cart-icon {
  background: #ffffff;
  border: 1px solid #555555;
  width: 35px;
  height: 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222222;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  padding: 0;
  box-shadow: none;
}
.product-card-cart-btn:hover, .product-cart-icon:hover {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}
.product-card-cart-btn svg, .product-cart-icon svg {
  width: 19px;
  height: 19px;
}

/* ============================================================
   PRODUCT IMAGE PLACEHOLDERS (gradient backgrounds)
   ============================================================ */
.pi-1  { background: linear-gradient(160deg, #f8d7da 0%, #f1aeb5 100%); }
.pi-2  { background: linear-gradient(160deg, #fff3cd 0%, #ffe69c 100%); }
.pi-3  { background: linear-gradient(160deg, #d4edda 0%, #a3d9b1 100%); }
.pi-4  { background: linear-gradient(160deg, #d1ecf1 0%, #9ad5e0 100%); }
.pi-5  { background: linear-gradient(160deg, #e2d4f0 0%, #c4a8e0 100%); }
.pi-6  { background: linear-gradient(160deg, #fce4d8 0%, #f5b896 100%); }
.pi-7  { background: linear-gradient(160deg, #5d4037 0%, #3e2723 100%); }
.pi-8  { background: linear-gradient(160deg, #efebe9 0%, #d7ccc8 100%); }
.pi-9  { background: linear-gradient(160deg, #fafafa 0%, #e0e0e0 100%); }
.pi-10 { background: linear-gradient(160deg, #fff8e1 0%, #ffd54f 100%); }
.pi-11 { background: linear-gradient(160deg, #b3e5fc 0%, #4fc3f7 100%); }
.pi-12 { background: linear-gradient(160deg, #f8bbd0 0%, #ec407a 100%); }
.pi-13 { background: linear-gradient(160deg, #c5cae9 0%, #7986cb 100%); }
.pi-14 { background: linear-gradient(160deg, #dcedc8 0%, #aed581 100%); }
.pi-15 { background: linear-gradient(160deg, #ffccbc 0%, #ff8a65 100%); }
.pi-16 { background: linear-gradient(160deg, #d7ccc8 0%, #8d6e63 100%); }
.pi-17 { background: linear-gradient(160deg, #f5f5f5 0%, #bdbdbd 100%); }
.pi-18 { background: linear-gradient(160deg, #e1bee7 0%, #ba68c8 100%); }
.pi-19 { background: linear-gradient(160deg, #c8e6c9 0%, #66bb6a 100%); }
.pi-20 { background: linear-gradient(160deg, #ffe0b2 0%, #ffb74d 100%); }
.pih-1  { background: linear-gradient(160deg, #f1aeb5 0%, #e57373 100%); }
.pih-2  { background: linear-gradient(160deg, #ffe69c 0%, #ffca28 100%); }
.pih-3  { background: linear-gradient(160deg, #a3d9b1 0%, #66bb6a 100%); }
.pih-4  { background: linear-gradient(160deg, #9ad5e0 0%, #4dd0e1 100%); }
.pih-5  { background: linear-gradient(160deg, #c4a8e0 0%, #9575cd 100%); }
.pih-6  { background: linear-gradient(160deg, #f5b896 0%, #ff8a65 100%); }
.pih-7  { background: linear-gradient(160deg, #3e2723 0%, #1b0000 100%); }
.pih-8  { background: linear-gradient(160deg, #d7ccc8 0%, #a1887f 100%); }
.pih-9  { background: linear-gradient(160deg, #e0e0e0 0%, #9e9e9e 100%); }
.pih-10 { background: linear-gradient(160deg, #ffd54f 0%, #ffa000 100%); }
.pih-11 { background: linear-gradient(160deg, #4fc3f7 0%, #0288d1 100%); }
.pih-12 { background: linear-gradient(160deg, #ec407a 0%, #c2185b 100%); }
.pih-13 { background: linear-gradient(160deg, #7986cb 0%, #3949ab 100%); }
.pih-14 { background: linear-gradient(160deg, #aed581 0%, #689f38 100%); }
.pih-15 { background: linear-gradient(160deg, #ff8a65 0%, #e64a19 100%); }
.pih-16 { background: linear-gradient(160deg, #8d6e63 0%, #4e342e 100%); }
.pih-17 { background: linear-gradient(160deg, #bdbdbd 0%, #616161 100%); }
.pih-18 { background: linear-gradient(160deg, #ba68c8 0%, #7b1fa2 100%); }
.pih-19 { background: linear-gradient(160deg, #66bb6a 0%, #2e7d32 100%); }
.pih-20 { background: linear-gradient(160deg, #ffb74d 0%, #ef6c00 100%); }

/* ============================================================
   FOOTER  (light background â€” matches screenshot)
   ============================================================ */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  font-size: 13px;
}
.footer-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.8fr;
  gap: 32px;
}
.footer-col h6 {
  font-size: 12px;
  font-weight: 700;
  color: #17120f;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: #555; transition: color .12s; }
.footer-col ul li a:hover { color: #111; }

/* Right column: Find Us On + Newsletter */
.footer-right { display: flex; flex-direction: column; gap: 20px; }
.footer-find-on h6 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; color: #111; }
.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #17120f;
  border-radius: 4px;
  transition: color .15s;
}
.footer-social-icon:hover { color: var(--red); }
.footer-social-icon svg { width: 22px; height: 22px; }

.footer-app h6 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px; color: #111; }
.footer-app-icons { display: flex; gap: 8px; }
.footer-app-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #000;
  color: #fff;
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: background .15s;
}
.footer-app-btn:hover { background: #333; color: #fff; }
.footer-app-btn svg { width: 16px; height: 16px; fill: #fff; }

.footer-newsletter h6 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; color: #111; }
.footer-newsletter-row {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.footer-newsletter-row:focus-within {
  border-color: #e8621a;
  box-shadow: 0 0 0 3px rgba(232,98,26,.12);
}
.footer-newsletter-row input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 13px;
  color: #333;
  height: 40px;
  background: #fff;
}
.footer-newsletter-row input::placeholder { color: #bbb; }
.footer-newsletter-row button {
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.footer-newsletter-row button:hover { background: #333; }
.footer-newsletter small { font-size: 11px; color: #999; line-height: 1.5; }
.footer-newsletter small a { color: #e8621a; text-decoration: underline; font-weight: 500; }
.footer-newsletter small a:hover { color: #ff7c35; }

/* ════════════════════════════════════════════════════════════
   SPIN THE WHEEL  —  Premium
   ════════════════════════════════════════════════════════════ */

.sw-float-wrap {
  position: fixed;
  bottom: 90px;
  left: 18px;
  z-index: 1200;
  display: inline-block;
}
.sw-float-close {
  position: absolute;
  top: -4px;
  left: -4px;
  right: auto;
  z-index: 1210;
  background: #111111;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  padding: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}
.sw-float-close:hover {
  transform: scale(1.15);
  background: #e8421a;
}
.sw-float-btn {
  position: relative;
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(145deg, #ffe040 0%, #ff8a00 48%, #e8421a 100%);
  border: none; outline: none;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.95),
    0 0 0 5px rgba(232,98,26,.35),
    0 10px 36px rgba(232,98,26,.65),
    0 2px 8px rgba(0,0,0,.35);
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  color: #fff; font-size: 8px; font-weight: 900;
  letter-spacing: .8px; text-transform: uppercase; text-decoration: none;
  overflow: visible;
  animation: sw-pulse 2.2s ease-in-out infinite;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.sw-float-btn::before {
  content: '';
  position: absolute; inset: -3px; border-radius: 50%;
  border: 2.5px solid rgba(255,200,40,.55);
  animation: sw-ring-expand 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes sw-ring-expand {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.65); opacity: 0; }
}
.sw-float-btn::after {
  content: 'FREE';
  position: absolute; top: -5px; right: -5px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; font-size: 7px; font-weight: 900; letter-spacing: .3px;
  padding: 3px 6px; border-radius: 7px; border: 2px solid #fff;
  line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.3);
  animation: sw-badge-pop .5s cubic-bezier(.34,1.56,.64,1) both .6s;
}
@keyframes sw-badge-pop {
  from { transform: scale(0) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}
.sw-float-btn:hover {
  transform: scale(1.1) translateY(-2px); color: #fff;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.95),
    0 0 0 6px rgba(232,98,26,.35),
    0 14px 44px rgba(232,98,26,.75),
    0 0 28px rgba(255,200,40,.4);
}
.sw-float-btn svg {
  width: 28px; height: 28px; flex-shrink: 0;
  animation: sw-icon-spin 6s linear infinite;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.3));
}
@keyframes sw-icon-spin { to { transform: rotate(360deg); } }
@keyframes sw-pulse {
  0%,100% {
    box-shadow: 0 0 0 3px rgba(255,255,255,.95), 0 0 0 5px rgba(232,98,26,.35),
      0 8px 28px rgba(232,98,26,.6), 0 0 0 0 rgba(255,200,40,.45);
  }
  55% {
    box-shadow: 0 0 0 3px rgba(255,255,255,.95), 0 0 0 5px rgba(232,98,26,.35),
      0 8px 28px rgba(232,98,26,.6), 0 0 0 18px rgba(255,200,40,0);
  }
}

/* ── Overlay ──────────────────────────────────────────────── */
.sw-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(4,4,12,.9);
  backdrop-filter: blur(10px) saturate(1.5);
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.sw-overlay.sw-open { opacity: 1; visibility: visible; }

/* ── Card ─────────────────────────────────────────────────── */
.sw-card {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,140,20,.13) 0%, transparent 55%),
    linear-gradient(175deg, #160e00 0%, #0a070f 35%, #070710 65%, #050510 100%);
  border: 1px solid rgba(255,160,40,.22);
  border-radius: 28px;
  width: 100%; max-width: 460px;
  height: min(92vh, 780px);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 80px rgba(232,98,26,.15),
    0 48px 120px rgba(0,0,0,.95);
  transform: scale(.88) translateY(40px);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.sw-overlay.sw-open .sw-card { transform: scale(1) translateY(0); }

/* Subtle dot texture */
.sw-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none; z-index: 0;
}
/* Glowing top arc */
.sw-card::after {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,180,40,.7), rgba(255,255,255,.5), rgba(255,180,40,.7), transparent);
  pointer-events: none; z-index: 1;
}

/* ── Close ────────────────────────────────────────────────── */
.sw-close {
  position: absolute; top: 14px; right: 14px; z-index: 20;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: background .2s, color .2s, transform .15s;
}
.sw-close:hover { background: rgba(255,255,255,.15); color: #fff; transform: scale(1.1); }

/* ── Header ───────────────────────────────────────────────── */
.sw-header {
  flex-shrink: 0;
  text-align: center; padding: 22px 24px 6px; position: relative; z-index: 1;
}
.sw-stars {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 8px;
}
.sw-star {
  font-size: 14px; color: #ffcc44;
  text-shadow: 0 0 10px rgba(255,204,68,.9);
  animation: sw-star-twinkle 2s ease-in-out infinite;
}
.sw-star:nth-child(2) { animation-delay: .4s; }
.sw-star:nth-child(3) { animation-delay: .8s; }
.sw-star:nth-child(4) { animation-delay: .2s; }
.sw-star:nth-child(5) { animation-delay: .6s; }
@keyframes sw-star-twinkle {
  0%,100% { opacity: .45; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.35); }
}
.sw-header-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,160,40,.1); color: #ffcc44;
  border: 1px solid rgba(255,160,40,.35);
  border-radius: 20px; padding: 5px 16px; font-size: 10px;
  font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  margin-bottom: 10px;
}
.sw-header-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ffcc44; animation: sw-dot 1.4s ease-in-out infinite;
  box-shadow: 0 0 8px #ffcc44;
}
@keyframes sw-dot {
  0%,100%{ opacity:1; transform:scale(1); }
  50%    { opacity:.3; transform:scale(.5); }
}
.sw-title {
  font-size: 30px; font-weight: 900; line-height: 1.1; letter-spacing: -1px;
  color: #fff; margin-bottom: 5px;
}
.sw-title-win {
  background: linear-gradient(120deg, #ffe040 0%, #ff9a3c 60%, #ff5c1a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sw-subtitle {
  font-size: 12px; color: rgba(255,255,255,.38); margin-top: 4px; letter-spacing: .15px;
}

/* ── Canvas area ──────────────────────────────────────────── */
.sw-canvas-wrap {
  flex: 1 1 0; min-height: 0;
  position: relative; width: 100%;
  padding: 4px 16px;
  display: flex; justify-content: center; align-items: center;
  z-index: 1;
}
#sw-wheel-canvas {
  display: block; cursor: pointer;
  filter:
    drop-shadow(0 0 40px rgba(255,150,30,.55))
    drop-shadow(0 0 16px rgba(255,100,20,.4))
    drop-shadow(0 16px 32px rgba(0,0,0,.8));
  border-radius: 50%;
}
#sw-conf-canvas {
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  pointer-events: none; display: none;
}

/* ── Spin button ──────────────────────────────────────────── */
.sw-actions {
  flex-shrink: 0;
  padding: 12px 28px 10px; text-align: center; z-index: 1; position: relative;
}
.sw-spin-outer {
  display: block; border-radius: 60px; padding: 3px;
  background: linear-gradient(135deg, #ffe066, #ff9a3c, #e8621a, #bf3d00);
  box-shadow: 0 6px 28px rgba(232,98,26,.45), 0 0 0 0 rgba(255,200,40,.4);
  animation: sw-btn-glow 2.4s ease-in-out infinite;
}
@keyframes sw-btn-glow {
  0%,100% { box-shadow: 0 6px 28px rgba(232,98,26,.45), 0 0 0 0  rgba(255,200,40,.4); }
  50%     { box-shadow: 0 6px 28px rgba(232,98,26,.45), 0 0 0 14px rgba(255,200,40,0); }
}
#sw-spin-btn {
  display: block; width: 100%;
  padding: 17px 48px; border-radius: 58px;
  background: linear-gradient(135deg, #ff9520, #e8621a, #cc4400);
  border: none; cursor: pointer; color: #fff;
  font-size: 17px; font-weight: 900; letter-spacing: .5px;
  transition: opacity .15s, transform .12s;
  position: relative; overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
#sw-spin-btn::after {
  content: '';
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg);
  animation: sw-btn-shine 2.8s ease-in-out infinite;
}
@keyframes sw-btn-shine {
  0%   { left: -60%; }
  28%  { left: 130%; }
  100% { left: 130%; }
}
#sw-spin-btn:hover:not(:disabled)  { opacity: .92; transform: translateY(-2px); }
#sw-spin-btn:active:not(:disabled) { transform: scale(.97) translateY(0); }
#sw-spin-btn:disabled { opacity: .4; cursor: not-allowed; }
#sw-spin-btn:disabled::after { display: none; }

.sw-footer-note {
  font-size: 11px; color: rgba(255,255,255,.28); margin-top: 10px; padding-bottom: 20px;
}
.sw-footer-note a { color: #ff9a3c; text-decoration: none; }
.sw-footer-note a:hover { text-decoration: underline; }

/* ── Result panel (slides up from bottom) ────────────────── */
.sw-result {
  position: absolute; inset: 0; z-index: 15;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255,150,20,.22) 0%, transparent 55%),
    linear-gradient(180deg, #160e00 0%, #0a070f 40%, #060610 100%);
  border-radius: 28px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 36px 28px 32px; text-align: center;
  transform: translateY(108%);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.sw-result::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,180,40,.6), transparent);
  pointer-events: none;
}
.sw-result.sw-result-open { transform: translateY(0); pointer-events: auto; }

.sw-result-emoji {
  font-size: 76px; line-height: 1; margin-bottom: 16px;
  animation: sw-result-bounce .65s cubic-bezier(.34,1.56,.64,1) both;
  filter: drop-shadow(0 8px 20px rgba(255,200,50,.4));
}
@keyframes sw-result-bounce {
  from { transform: scale(0) rotate(-30deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);  opacity: 1; }
}
.sw-result-title {
  font-size: 30px; font-weight: 900; letter-spacing: -.5px;
  background: linear-gradient(135deg, #fff 35%, #ffee44 75%, #ff9a3c 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 10px;
}
.sw-result-label-badge {
  display: none;
  background: linear-gradient(135deg, #e8621a, #ff9a3c);
  color: #fff; font-size: 22px; font-weight: 900;
  padding: 9px 32px; border-radius: 40px; margin-bottom: 14px;
  box-shadow: 0 8px 28px rgba(232,98,26,.55), 0 0 0 4px rgba(255,160,40,.2);
  letter-spacing: -.5px;
  animation: sw-badge-scale .5s cubic-bezier(.34,1.56,.64,1) both .25s;
}
@keyframes sw-badge-scale {
  from { transform: scale(.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.sw-result-msg {
  font-size: 13.5px; color: rgba(255,255,255,.45); line-height: 1.65;
  max-width: 280px; margin: 0 auto 22px;
}

/* Coupon box */
.sw-coupon-box {
  background: linear-gradient(135deg, rgba(255,140,20,.14), rgba(255,200,40,.08));
  border: 1.5px dashed rgba(255,170,40,.55);
  border-radius: 16px; padding: 18px 24px; margin-bottom: 24px;
  width: 100%; max-width: 310px; cursor: pointer; position: relative;
  transition: background .2s, border-color .2s, transform .15s;
  overflow: hidden;
}
.sw-coupon-box::before {
  content: '';
  position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-15deg);
  animation: sw-coupon-shine 3.5s ease-in-out infinite 1s;
}
@keyframes sw-coupon-shine {
  0%   { left: -80%; }
  35%  { left: 140%; }
  100% { left: 140%; }
}
.sw-coupon-box:hover { background: rgba(232,98,26,.2); border-color: rgba(255,180,40,.8); transform: scale(1.02); }
.sw-coupon-label {
  font-size: 10px; color: #ff9a3c; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase; margin-bottom: 8px;
}
.sw-coupon-code {
  font-size: 26px; font-weight: 900; color: #fff;
  font-family: 'Courier New', monospace; letter-spacing: 3.5px;
  text-shadow: 0 0 28px rgba(255,170,40,.5);
}
.sw-coupon-hint { font-size: 10.5px; color: rgba(255,255,255,.28); margin-top: 6px; }
#sw-copy-tip {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  background: rgba(30,30,30,.95); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 11px; padding: 5px 14px;
  border-radius: 8px; white-space: nowrap; opacity: 0;
  transition: opacity .25s; pointer-events: none;
}

/* CTA buttons */
.sw-cta-wrap {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  width: 100%; max-width: 310px;
}
.sw-cta-btn {
  flex: 1; min-width: 120px; padding: 14px 20px; border-radius: 14px;
  background: linear-gradient(135deg, #ff9520, #e8621a);
  border: none; cursor: pointer; color: #fff;
  font-size: 13.5px; font-weight: 800; letter-spacing: .2px;
  text-decoration: none; text-align: center;
  transition: opacity .15s, transform .12s;
  box-shadow: 0 6px 20px rgba(232,98,26,.45);
}
.sw-cta-btn:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.sw-cta-sec {
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.75) !important;
}
.sw-cta-sec:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 520px) {
  .sw-card { border-radius: 22px; height: min(94vh, 680px); }
  .sw-header { padding: 16px 16px 4px; }
  .sw-stars { margin-bottom: 5px; }
  .sw-header-badge { margin-bottom: 6px; font-size: 9px; }
  .sw-title  { font-size: 24px; }
  .sw-subtitle { display: none; }
  .sw-canvas-wrap { padding: 2px 10px; }
  .sw-actions { padding: 10px 16px 8px; }
  #sw-spin-btn { font-size: 15px; padding: 14px 24px; }
  .sw-footer-note { padding-bottom: 10px; }
  .sw-result { padding: 26px 16px 22px; border-radius: 22px; }
  .sw-result-title { font-size: 24px; }
  .sw-result-emoji { font-size: 58px; }
  .sw-coupon-code  { font-size: 20px; letter-spacing: 2.5px; }
  .sw-float-wrap { bottom: 78px; left: 12px; }
  .sw-float-btn { width: 60px; height: 60px; }
}
@media (max-height: 700px) {
  .sw-card { height: min(96vh, 640px); }
  .sw-header { padding: 12px 20px 4px; }
  .sw-stars { display: none; }
  .sw-header-badge { margin-bottom: 5px; }
  .sw-title  { font-size: 22px; }
  .sw-subtitle { display: none; }
  .sw-actions { padding: 8px 24px 8px; }
  .sw-footer-note { padding-bottom: 8px; margin-top: 6px; }
}

/* ── App Coming Soon Modal ─────────────────────────────────── */
.app-cs-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.65); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.app-cs-overlay.open { opacity: 1; visibility: visible; }
.app-cs-card {
  background: #111; color: #fff;
  border-radius: 0px; padding: 36px 32px 32px;
  max-width: 380px; width: 100%;
  text-align: center;
  position: relative;
  border: 1px solid #2a2a2a;
  box-shadow: 0 24px 64px rgba(0,0,0,.8);
  transform: translateY(20px) scale(.96);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.app-cs-overlay.open .app-cs-card { transform: translateY(0) scale(1); }
.app-cs-close,
.modal-close,
.size-guide-close,
.quick-view-close,
.wish-modal-close,
.cart-drawer-close,
.drawer-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 0px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1), background .2s !important;
}
.app-cs-close:hover,
.modal-close:hover,
.size-guide-close:hover,
.quick-view-close:hover,
.wish-modal-close:hover,
.cart-drawer-close:hover,
.drawer-close:hover {
  background: rgba(255,255,255,.25) !important;
  transform: rotate(90deg) scale(1.1) !important;
}
.app-cs-phone-wrap {
  width: 64px; height: 64px; border-radius: 0px;
  background: #e95004;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(233,80,4,.35);
}
.app-cs-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(233,80,4,.15); color: #e95004;
  font-size: 11px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; border-radius: 0px;
  padding: 5px 12px; margin-bottom: 16px;
  border: 1px solid rgba(233,80,4,.3);
}
.app-cs-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #e95004;
  animation: cs-pulse 1.4s ease-in-out infinite;
}
@keyframes cs-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.6); }
}
.app-cs-title {
  font-size: 22px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.3px;
}
.app-cs-desc {
  font-size: 13.5px; color: #aaa; line-height: 1.55; margin-bottom: 24px;
}
.app-cs-stores {
  display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap;
}
.app-cs-store-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 0px; padding: 10px 16px; cursor: default;
  min-width: 140px; opacity: .6; pointer-events: none;
}
.app-cs-store-text { text-align: left; line-height: 1.2; }
.app-cs-store-text small { display: block; font-size: 10px; color: #888; }
.app-cs-store-text strong { font-size: 13px; font-weight: 600; color: #fff; }
.app-cs-dismiss-btn {
  width: 100%; padding: 14px; border-radius: 0px;
  background: #e95004;
  border: 1px solid #e95004; cursor: pointer; color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .3px;
  transition: background .2s, border-color .2s, transform .1s;
}
.app-cs-dismiss-btn:hover { background: #d04300; border-color: #d04300; }
.app-cs-dismiss-btn:active { transform: scale(.98); }

/* WE ACCEPT — Nigeria-relevant only */
.footer-accept {
  background: #fff;
  border-top: 1px solid #ebebeb;
  padding: 18px 24px;
}
.footer-accept-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-accept-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-pay-icons { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fpay {
  height: 24px;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  transition: transform .12s, border-color .12s;
  overflow: hidden;
}
.fpay img { height: 14px; width: auto; display: block; object-fit: contain; }
.fpay svg { height: 14px; width: auto; display: block; }
.fpay:hover { transform: translateY(-1px); border-color: #111; }
.fpay-flw     { background: #f5a623; border-color: #e09618; }
.fpay-flw svg { height: 13px; }
.fpay-bank    { background: #f5f5f5; border-color: #ddd; }

/* Bottom bar */
.footer-bottom {
  background: #0d0d0d;
  padding: 22px 0;
}
.footer-bottom-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-brand {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.3px;
  margin-bottom: 3px;
}
.footer-bottom-copy {
  font-size: 11.5px;
  color: rgba(255,255,255,.35);
  line-height: 1.5;
}
.footer-bottom-nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-bottom-nav a {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.footer-bottom-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.13);
  z-index: 900;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.88);
  pointer-events: none;
  transition: opacity .25s, transform .25s, box-shadow .2s;
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-top:hover { box-shadow: 0 8px 32px rgba(0,0,0,.18); transform: translateY(-2px) scale(1); }
.btt-progress { position: absolute; top: 0; left: 0; width: 48px; height: 48px; transform: rotate(-90deg); pointer-events: none; }
.btt-track { fill: none; stroke: #f0f0f0; stroke-width: 2.5; }
.btt-fill  { fill: none; stroke: #e8621a; stroke-width: 2.5; stroke-linecap: round;
             stroke-dasharray: 126; stroke-dashoffset: 126; transition: stroke-dashoffset .08s linear; }
.btt-arrow { position: relative; z-index: 1; width: 15px; height: 15px; stroke: #222; flex-shrink: 0; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: var(--bg);
}
.auth-card {
  background: #fff;
  border-radius: 4px;
  padding: 36px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
}
.auth-logo { font-size: 32px; font-weight: 900; font-style: italic; font-family: 'Montserrat', 'Arial Black', Arial, sans-serif; text-align: center; margin-bottom: 6px; color: #000; }
.auth-subtitle { text-align: center; color: #888; font-size: 14px; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 18px; font-size: 13px; color: #888; }
.auth-footer a { color: var(--red); font-weight: 600; }

/* ============================================================
   SHOP / CATEGORY PAGE
   ============================================================ */
.shop-layout { padding: 16px 0; display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.shop-sidebar-card { background: #fff; border-radius: 2px; padding: 16px; margin-bottom: 12px; }
.sidebar-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; cursor: pointer; font-size: 13px; border-bottom: 1px solid #f5f5f5; }
.sidebar-list li:hover { color: var(--red); }
.sidebar-list li.active { color: var(--red); font-weight: 600; }
.sidebar-list input { accent-color: var(--red); }
.sort-bar { background: #fff; border-radius: 2px; margin-bottom: 10px; overflow: visible; }
/* Desktop layout inside sort bar */
.sort-bar__desktop { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; }
.sort-bar__count { font-size: 13px; color: #555; }
.sort-bar__mobile-count { display: none; }

/* ── Custom sort dropdown ─────────────────────────────────── */
.sort-custom { position: relative; }
.sort-custom__btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; background: #fff;
  border: 1px solid #e0e0e0; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: #333;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: border-color .15s, box-shadow .15s;
}
.sort-custom__btn:hover { border-color: #aaa; }
.sort-custom__btn.open { border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.sort-custom__label { color: #e95004; font-weight: 600; }
.sort-custom__chevron { transition: transform .2s; }
.sort-custom__btn.open .sort-custom__chevron { transform: rotate(180deg); }
.sort-custom__menu {
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid #e8e8e8; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.13); min-width: 215px; z-index: 300; overflow: hidden;
}
.sort-custom__menu.open { display: block; animation: scmIn .14s ease; }
@keyframes scmIn { from { opacity:0; transform:translateY(-5px) } to { opacity:1; transform:translateY(0) } }
.sort-custom__option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; font-size: 13px; color: #333; text-decoration: none;
  border-bottom: 1px solid #f5f5f5; transition: background .1s;
}
.sort-custom__option:last-child { border-bottom: none; }
.sort-custom__option:hover { background: #f8f8f8; color: #111; }
.sort-custom__option.active { color: #e95004; font-weight: 600; background: #fff9f5; }

/* ── Mobile SORT | FILTER split bar ──────────────────────── */
.msf-bar { display: none; width: 100%; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.msf-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1;
  padding: 14px 0; background: #fff; border: none; cursor: pointer;
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: #111; font-family: inherit; transition: background .12s;
}
.msf-btn:hover { background: #f8f8f8; }
.msf-btn:active { background: #f2f2f2; }
.msf-sort { border-right: 1px solid #e8e8e8; }
@media (max-width: 900px) {
  .sort-bar__desktop { display: none; }
  .msf-bar { display: flex; }
  .sort-bar__mobile-count { display: block; font-size: 13px; color: #555; padding: 10px 16px 4px; }
  .sort-bar { margin-bottom: 0; background: transparent; border-radius: 0; }
}
.sort-tabs { display: flex; gap: 4px; }
.sort-tab { padding: 5px 12px; font-size: 13px; border-radius: 2px; cursor: pointer; color: #555; border: 1px solid var(--border); transition: all .12s; }
.sort-tab.active, .sort-tab:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   SHOP FILTER SIDEBAR  (sf-* classes)
   ============================================================ */
/* Sticky sidebar: sticks at top of viewport as user scrolls */
.sf-sidebar {
  position: sticky;
  top: 108px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
}
.sf-sidebar::-webkit-scrollbar { width: 4px; }
.sf-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Header */
.sf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.sf-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #111;
}
.sf-clear-all {
  font-size: 12px;
  color: #e95004;
  text-decoration: none;
  font-weight: 600;
}
.sf-clear-all:hover { text-decoration: underline; }

/* Active filter tags */
.sf-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px 6px;
  border-bottom: 1px solid #f0f0f0;
}
.sf-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff0f3;
  color: #e95004;
  border: 1px solid #fdc5d0;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.sf-tag:hover { background: #ffe0e7; }
.sf-tag span { font-size: 14px; line-height: 1; opacity: .7; }

/* Section */
.sf-section {
  border-bottom: 1px solid #f0f0f0;
}
.sf-section:last-child { border-bottom: none; }
.sf-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  user-select: none;
  letter-spacing: .2px;
}
.sf-section-head:hover { background: #fafafa; }
.sf-tog {
  font-size: 18px;
  line-height: 1;
  color: #999;
  font-weight: 400;
}
.sf-section-body {
  display: none;
  padding: 0 16px 14px;
}
.sf-section-body.sf-open { display: block; }

/* List (categories, ratings, availability) */
.sf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sf-list li {
  padding: 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f5f5f5;
}
.sf-list li:last-child { border-bottom: none; }
.sf-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: color .12s;
}
.sf-list li a:hover { color: #e95004; }
.sf-list li.sf-active a { color: #e95004; font-weight: 700; }

/* Radio dot */
.sf-radio {
  width: 14px;
  height: 14px;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  transition: border-color .15s;
  position: relative;
}
.sf-radio.on {
  border-color: #e95004;
  background: #e95004;
  box-shadow: inset 0 0 0 3px #fff;
}
.sf-list li a:hover .sf-radio { border-color: #e95004; }

/* Checkbox */
.sf-checkbox {
  width: 14px;
  height: 14px;
  border: 1.5px solid #ccc;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-block;
  transition: border-color .15s, background .15s;
  position: relative;
}
.sf-checkbox.on {
  border-color: #e95004;
  background: #e95004;
}
.sf-checkbox.on::after {
  content: '';
  position: absolute;
  left: 3px; top: 0px;
  width: 5px; height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.sf-list li a:hover .sf-checkbox { border-color: #e95004; }

/* Back link */
.sf-back-link {
  display: flex !important;
  align-items: center;
  gap: 4px;
  font-size: 12px !important;
  color: #888 !important;
  font-weight: 600 !important;
  padding: 6px 0 8px !important;
  border-bottom: 1px solid #f0f0f0 !important;
}
.sf-back-link:hover { color: #e95004 !important; }

/* Child item indent */
.sf-child-item a { padding-left: 4px !important; }

/* Expand icon (+ on cats with children) */
.sf-expand-icon {
  margin-left: auto;
  font-size: 14px;
  color: #bbb;
  font-weight: 700;
  padding-left: 8px;
}

/* Sale pill */
.sf-sale-pill {
  background: #e95004;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 4px;
  letter-spacing: .3px;
}

/* Star ratings */
.sf-stars { display: inline-flex; align-items: center; gap: 1px; }
.sf-stars-label { font-size: 12px; color: #888; }

/* Price range */
.sf-price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}
.sf-range-wrap {
  position: relative;
  height: 28px;
  margin-bottom: 14px;
}
.sf-range-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0; right: 0;
  height: 4px;
  background: #e0e0e0;
  border-radius: 4px;
}
.sf-range-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #e95004;
  border-radius: 4px;
  pointer-events: none;
}
.sf-range {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 28px;
  margin: 0;
}
.sf-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #e95004;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
  cursor: pointer;
  pointer-events: all;
}
.sf-range::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #e95004;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
  cursor: pointer;
  pointer-events: all;
}
.sf-range-min { z-index: 3; }
.sf-range-max { z-index: 4; }
.sf-price-apply {
  width: 100%;
  padding: 9px 0;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .15s;
}
.sf-price-apply:hover { background: #e95004; }

/* Size chips */
.sf-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sf-size-chip {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .12s, color .12s, background .12s;
  background: #fff;
}
.sf-size-chip:hover { border-color: #111; color: #111; }
.sf-size-chip.active { border-color: #e95004; color: #e95004; background: #fff0f3; }

/* Color swatches */
.sf-color-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sf-color-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: color .12s;
}
.sf-color-item:last-child { border-bottom: none; }
.sf-color-item:hover { color: #e95004; }
.sf-color-item.active { color: #e95004; font-weight: 700; }
.sf-color-item.sf-color-more { display: none; }
.sf-color-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.12);
  flex-shrink: 0;
}
.sf-color-name { font-size: 12px; }
.sf-view-more {
  width: 100%;
  margin-top: 8px;
  padding: 6px 0;
  background: none;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: border-color .12s, color .12s;
}
.sf-view-more:hover { border-color: #111; color: #111; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: #fff; border-radius: 2px; padding: 24px; }
.gallery-main { aspect-ratio: 3/4; background: #f5f5f5; border-radius: 2px; overflow: hidden; margin-bottom: 10px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.gallery-thumb { width: 56px; height: 72px; border: 2px solid transparent; border-radius: 2px; overflow: hidden; cursor: pointer; flex-shrink: 0; background: #f5f5f5; transition: border-color .15s; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.pd-prices { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pd-prices .sale { font-size: 24px; font-weight: 800; color: var(--red); }
.pd-prices .orig { font-size: 16px; color: #bbb; text-decoration: line-through; }
.pd-prices .badge-pct { background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 2px; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.pd-sold { font-size: 12px; color: var(--orange); font-weight: 600; }
.pd-divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.pd-label { font-size: 13px; font-weight: 700; color: #222; margin-bottom: 8px; }
.variant-opts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.variant-btn { padding: 6px 14px; border: 1px solid var(--border); border-radius: 2px; font-size: 13px; cursor: pointer; transition: all .12s; background: #fff; }
.variant-btn:hover, .variant-btn.active { border-color: var(--red); color: var(--red); }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; width: fit-content; }
.qty-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #f5f5f5; font-size: 18px; cursor: pointer; transition: background .12s; flex-shrink: 0; }
.qty-btn:hover { background: #eee; }
.qty-input { width: 48px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); outline: none; height: 36px; font-size: 14px; font-weight: 600; }
.pd-actions { display: flex; gap: 10px; margin-top: 16px; }
.pd-actions .btn { flex: 1; height: 46px; font-size: 14px; }

/* ============================================================
   CART PAGE
   ============================================================ */
/* ── Free Shipping Progress Banner ── */
.cart-free-shipping-banner {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 0px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.free-ship-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}
.free-ship-badge.success {
  color: #00a650;
  font-weight: 700;
}
.free-ship-pct {
  font-size: 12px;
  font-weight: 700;
  color: #e95004;
}
.free-ship-bar-wrap {
  width: 100%;
  height: 7px;
  background: #f0f0f0;
  border-radius: 0px;
  overflow: hidden;
}
.free-ship-bar-fill {
  height: 100%;
  border-radius: 0px;
  transition: width 0.4s ease, background 0.3s ease;
}

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }

/* Items card */
.cart-items {
  background: #fff;
  border-radius: 0px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
  overflow: hidden;
}
.cart-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
  position: relative;
}
.cart-item:last-child { border-bottom: none; }

/* Product image — fixed 90×115 */
.cart-item__img {
  flex-shrink: 0;
  width: 90px;
  height: 115px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  display: block;
}
.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info column */
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name a {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item__name a:hover { color: #fb7d28; }
.cart-item__meta {
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}
.cart-item__price {
  font-size: 15px;
  font-weight: 800;
  color: #fb7d28;
}

/* Remove button */
.cart-item__remove {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  transition: background .15s, color .15s;
  padding: 0;
}
.cart-item__remove:hover { background: #ffebee; color: #e53935; }

/* ── Qty control — Exact SHEIN 24px x 26px #f7f6f7 stepper ── */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 0px;
  overflow: hidden;
  background: #f7f6f7;
  height: 24px;
}
.qty-btn {
  width: 26px;
  height: 24px;
  border: none;
  background: #f7f6f7;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, color .12s, opacity .12s;
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
  padding: 0;
}
.qty-btn:hover:not(:disabled) { background: #ecebec; color: #000; }
.qty-btn:disabled, .qty-btn[disabled] {
  background: #fcfcfc !important;
  color: #cccccc !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}
.qty-input {
  width: 48px;
  height: 24px;
  border: none;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  background: #ffffff;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ── Qty select — cart dropdown (Zalando style) ── */
.qty-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.qty-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1.5px solid #d4d4d4;
  border-radius: 6px;
  padding: 0 30px 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  background: #fff;
  cursor: pointer;
  height: 40px;
  min-width: 66px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.qty-select:hover { border-color: #888; }
.qty-select:focus { border-color: #111; box-shadow: 0 0 0 2px rgba(0,0,0,.06); }
.qty-select-chevron {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Order summary card */
.cart-summary {
  background: #fff;
  border-radius: 0px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  padding: 22px 20px;
  position: sticky;
  top: 112px;
}
.cart-summary h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5f5f5;
  letter-spacing: -.2px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding: 7px 0;
  color: #555;
}
.summary-row .val { color: #111; font-weight: 600; }
.summary-row.total {
  font-weight: 800;
  font-size: 16px;
  color: #111;
  border-top: 1.5px solid #f0f0f0;
  padding-top: 14px;
  margin-top: 6px;
}
.summary-row.total .val { color: #fb7d28; font-size: 18px; }

/* Old classes kept for backward compat */
.order-summary { background: #fff; border-radius: 0px; padding: 22px 20px; }
.order-summary h3 { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.cart-table { background: #fff; border-radius: 0px; }
.cart-row { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #f5f5f5; }
.cart-row:last-child { border-bottom: none; }
.cart-row-img { width: 80px; height: 104px; border-radius: 0px; overflow: hidden; background: #f5f5f5; flex-shrink: 0; }
.cart-row-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info { flex: 1; }
.cart-row-name { font-size: 13px; line-height: 1.4; margin-bottom: 4px; }
.cart-row-meta { font-size: 12px; color: #999; }
.cart-row-price { font-size: 15px; font-weight: 700; color: var(--red); }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
.checkout-right {
  position: sticky;
  top: 80px;
  align-self: start;
}
.checkout-section {
  background: #fff;
  border-radius: 0px;
  border: 1px solid #ececec;
  padding: 22px 22px;
  margin-bottom: 16px;
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.checkout-section:last-child { margin-bottom: 0; }
.checkout-section h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  color: #111;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Payment method cards */
.payment-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color .15s, background .15s;
  position: relative;
}
.payment-method::before, .payment-method::after { display: none !important; content: none !important; }
.payment-method:hover { border-color: #bbb; background: #fafafa; }
.payment-method.active { border-color: #e95004; background: #fffdfb; }
.payment-method__icon { flex-shrink: 0; display: flex; align-items: center; }
.payment-method__info { flex: 1; min-width: 0; }
.payment-method__name { font-size: 14px; font-weight: 700; color: #111; }
.payment-method__desc { font-size: 12px; color: #888; margin-top: 2px; }

/* Order review items */
.order-review-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.order-review-item:last-of-type { border-bottom: none; }
.order-review-item img {
  width: 52px;
  height: 66px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #f5f5f5;
  display: block;
}
.order-review-item__info { flex: 1; min-width: 0; }
.order-review-item__name {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-review-item__meta { font-size: 12px; color: #aaa; margin-top: 2px; }
.order-review-item__price { font-size: 14px; font-weight: 700; color: #111; white-space: nowrap; flex-shrink: 0; }

/* ============================================================
   ACCOUNT
   ============================================================ */
.account-layout {display: grid;grid-template-columns: 240px 1fr;gap: 24px;align-items: start;margin-top: 50px;margin-bottom: 50px;}

/* ---- Sidebar ---- */
.account-sidebar {
  background: #fff;
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  box-shadow: none;
  position: sticky;
  top: 20px;
}
.account-sidebar__head {
  background: #111111;
  border-left: 4px solid #e95004;
  padding: 24px 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.account-sidebar__head::before { display: none; }
.account-sidebar__avatar {
  width: 44px;
  height: 44px;
  border-radius: 0px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.2);
  background: #e95004;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}
.account-sidebar__avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-sidebar__info { flex: 1; min-width: 0; }
.account-sidebar__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-sidebar__email {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-sidebar__nav { padding: 4px 0; }
.account-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #444;
  transition: all .14s;
  margin: 1px 0;
  border-radius: 0px;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.account-nav-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: .6; transition: opacity .14s; }
.account-nav-link:hover { color: #e95004; background: #fafafa; border-left-color: #e95004; }
.account-nav-link:hover .account-nav-icon { opacity: 1; }
.account-nav-link.active { color: #e95004; background: #fcfcfc; border-left: 3px solid #e95004; font-weight: 700; }
.account-nav-link.active .account-nav-icon { opacity: 1; }
.account-nav-link--logout { color: #888; border-top: 1px solid #eee; border-radius: 0px; margin: 4px 0 0; padding-top: 12px; padding-left: 18px; }
.account-nav-link--logout:hover { color: #e53935; background: none; border-left-color: transparent; }

/* ---- Content & Cards ---- */
.account-content { min-width: 0; }
.account-content h2 {font-size: 18px;font-weight: 700;color: #0f172a;margin-bottom: 20px;letter-spacing: -.3px;}
.account-card { background: #fff; border-radius: 0px; padding: 24px; border: 1px solid #e5e5e5; box-shadow: none; }
.account-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 18px; color: #0f172a; }

/* ---- Stat Cards (user dashboard) ---- */
.stat-cards {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .18s, box-shadow .18s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.stat-card__num {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-card__lbl {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 5px;
  font-weight: 500;
}

/* ============================================================
   BADGES, STATUS
   ============================================================ */
.badge-status { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.badge-pending   { background: #fff3cd; color: #856404; }
.badge-paid      { background: #d1e7dd; color: #0f5132; }
.badge-shipped   { background: #cff4fc; color: #055160; }
.badge-delivered { background: #d1e7dd; color: #0a3622; }
.badge-cancelled { background: #f8d7da; color: #842029; }
.badge-refunded  { background: #e2e3e5; color: #383d41; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 20px 0; }
.page-btn { min-width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 2px; font-size: 13px; color: #444; padding: 0 8px; cursor: pointer; background: #fff; transition: all .12s; }
.page-btn:hover { border-color: var(--red); color: var(--red); }
.page-btn.active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }

/* ============================================================
   DATA TABLE
   ============================================================ */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { background: #f8f8f8; padding: 10px 12px; text-align: left; font-weight: 700; color: #555; border-bottom: 2px solid var(--border); white-space: nowrap; }
.data-table td { padding: 12px; border-bottom: 1px solid #f5f5f5; color: #333; vertical-align: middle; }
.data-table tr:hover td { background: #fafafa; }
.table-wrap { overflow-x: auto; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-state svg { width: 72px; height: 72px; margin: 0 auto 18px; opacity: .2; }
.empty-state h3 { font-size: 17px; color: #555; margin-bottom: 8px; }
.empty-state p { font-size: 13px; margin-bottom: 18px; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-red    { color: var(--red); }
.text-orange { color: var(--orange); }
.text-muted  { color: #999; }
.text-center { text-align: center; }
.fw-bold     { font-weight: 700; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 16px; }
.mt-4  { margin-top: 24px; }
.mb-2  { margin-bottom: 8px; }
.mb-3  { margin-bottom: 16px; }
.mb-4  { margin-bottom: 24px; }
.p-3   { padding: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.hidden { display: none !important; }

/* ============================================================
   SHOP TOOLBAR (search & category pages)
   ============================================================ */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.shop-toolbar-left { font-size: 14px; color: #555; }
.sort-select {
  padding: 7px 32px 7px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: #333;
  outline: none;
  transition: border-color .15s;
}
.sort-select:focus { border-color: #000; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-wrap { font-size: 13px; color: #888; margin-bottom: 14px; padding: 10px 0; }
.breadcrumb-wrap a { color: #888; }
.breadcrumb-wrap a:hover { color: var(--red); }

/* ============================================================
   COLOR SWATCHES & SIZE TAGS  (shop + product pages)
   ============================================================ */
.color-swatch-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.color-swatch {
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px #ddd;
  transition: box-shadow .15s;
  display: inline-block;
  flex-shrink: 0;
}
.color-swatch:hover, .color-swatch.active { box-shadow: 0 0 0 2px var(--red); }

.size-tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.size-tag {
  padding: 5px 13px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 12px;
  cursor: pointer;
  transition: all .12s;
  background: #fff;
  color: #333;
}
.size-tag:hover, .size-tag.active { border-color: var(--red); color: var(--red); }

/* ============================================================
   SHEIN PAGINATION
   ============================================================ */
.shein-pagination { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 0 20px; }
.pagination-info { font-size: 12.5px; color: #aaa; font-weight: 500; letter-spacing: .2px; }
.pagination-controls { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pg-btn {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  color: #555;
  background: #fff;
  text-decoration: none;
  padding: 0 11px;
  transition: all .15s;
  cursor: pointer;
  white-space: nowrap;
}
.pg-btn:hover { border-color: #fb7d28; color: #fb7d28; background: #fff9f5; }
.pg-btn.active { background: #fb7d28; border-color: #fb7d28; color: #fff; box-shadow: 0 2px 8px rgba(251,125,40,.35); }
.pg-btn.disabled { opacity: .3; cursor: not-allowed; pointer-events: none; }
.pg-btn.pg-prev, .pg-btn.pg-next { padding: 0 14px; color: #333; }
.pg-btn.pg-prev:hover, .pg-btn.pg-next:hover { color: #fb7d28; }
.pg-btn.pg-prev svg, .pg-btn.pg-next svg { transition: transform .2s ease; }
.pg-btn.pg-prev:hover svg { transform: translateX(-3px); }
.pg-btn.pg-next:hover svg { transform: translateX(3px); }
.pg-ellipsis { color: #bbb; font-size: 14px; padding: 0 3px; line-height: 38px; }

/* ============================================================
   PRODUCT DETAIL (matches product.html)
   ============================================================ */
.product-detail-section { padding: 0 0 32px; overflow-x: hidden; }
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

.detail-gallery { position: sticky; top: 110px; }
.detail-main-img {
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  background: #f2f2f2;
  margin-bottom: 10px;
  cursor: zoom-in;
}
.detail-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumb-item {
  width: 62px; height: 78px;
  border: 2px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #f2f2f2;
  transition: border-color .15s;
}
.thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-item:hover, .thumb-item.active { border-color: var(--red); }

.detail-info { background: #fff; border-radius: 2px; padding: 24px; }
.detail-info h1 { font-size: 16px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; color: #222; }
.detail-rating-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; margin-bottom: 14px; flex-wrap: wrap;
  color: #666;
}
.detail-rating-row .stars { color: var(--star); letter-spacing: -1px; font-size: 14px; }
.detail-rating-row .sold-count { color: var(--orange); font-weight: 600; }

.detail-price-block { background: #fff9f5; border-radius: 4px; padding: 14px 16px; margin-bottom: 16px; }
.detail-price-now { font-size: 28px; font-weight: 900; color: var(--red); }
.detail-price-was { font-size: 14px; color: #aaa; text-decoration: line-through; margin-left: 8px; }
.detail-price-off {
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 2px 7px; border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}

.option-block { margin-bottom: 16px; }
.option-block h6 { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #222; }

.wishlist-btn-full {
  width: 100%; margin-top: 10px; padding: 12px;
  border: 1px solid #ddd; border-radius: 2px;
  font-size: 13px; font-weight: 600; color: #555;
  background: #fff; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.wishlist-btn-full:hover { border-color: var(--red); color: var(--red); }
.wishlist-btn-full.wishlisted { border-color: var(--red); color: var(--red); }
.wishlist-btn-full svg { width: 16px; height: 16px; }

.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 12px; }
.btn-add-cart {
  background: var(--red); color: #fff;
  border: none; height: 48px;
  font-size: 14px; font-weight: 700;
  border-radius: 2px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s; letter-spacing: .3px;
}
.btn-add-cart:hover { background: #c62828; }
.btn-add-cart svg { width: 17px; height: 17px; }
.btn-buy-now {
  background: #000; color: #fff;
  border: none; height: 48px;
  font-size: 14px; font-weight: 700;
  border-radius: 2px; cursor: pointer;
  transition: background .15s; letter-spacing: .3px;
}
.btn-buy-now:hover { background: #333; }

.shipping-benefits { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.shipping-benefit { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #555; }
.shipping-benefit svg { width: 16px; height: 16px; stroke: var(--red); flex-shrink: 0; }

/* Product tabs */
.product-tabs { background: #fff; border-radius: 2px; margin-top: 16px; overflow: hidden; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--border); }
.tabs-nav-btn {
  padding: 13px 24px; font-size: 14px; font-weight: 600;
  border: none; background: none; cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  color: #888; transition: all .15s;
}
.tabs-nav-btn.active { color: #222; border-bottom-color: var(--red); }
.tab-panel { display: none; padding: 24px; }
.tab-panel.active { display: block; }

/* Reviews */
.reviews-summary { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.review-avg { text-align: center; min-width: 90px; }
.review-avg__num { font-size: 48px; font-weight: 900; color: #222; line-height: 1; }
.review-avg__stars { color: var(--star); font-size: 16px; margin: 4px 0; }
.review-avg__count { font-size: 12px; color: #888; }
.review-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.review-bar { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.review-bar__track { flex: 1; height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.review-bar__fill { height: 100%; background: var(--star); border-radius: 3px; }
.review-item { padding: 16px 0; border-bottom: 1px solid #f5f5f5; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.reviewer-name { font-weight: 600; font-size: 13px; }
.review-stars { color: var(--star); font-size: 12px; margin-top: 2px; }
.review-date { font-size: 12px; color: #aaa; }
.review-body { font-size: 13px; color: #555; line-height: 1.6; margin-top: 4px; }

/* ============================================================
   AUTH PAGES (redesigned)
   ============================================================ */
.auth-wrap {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: #f5f5f5;
}
.auth-box {
  background: #fff;
  border-radius: 4px;
  padding: 36px 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.auth-box-wide { max-width: 540px; }
.auth-brand {
  font-size: 34px; font-weight: 900; font-style: italic;
  font-family: 'Arial Black', Arial, sans-serif;
  text-align: center; color: #000;
  letter-spacing: -1px; margin-bottom: 4px;
}
.auth-box h2 { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 4px; color: #222; }
.auth-tagline { text-align: center; font-size: 13px; color: #888; margin-bottom: 24px; }
.alert { padding: 11px 14px; border-radius: 4px; font-size: 13px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 8px; }
.alert-error { background: #fff2f2; border: 1px solid #ffcdd2; color: #c62828; }
.alert-success { background: #f0fff4; border: 1px solid #c3e6cb; color: #155724; }
.alert svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #aaa; cursor: pointer; padding: 2px;
  display: flex; align-items: center;
}
.pw-toggle:hover { color: #555; }
.pw-toggle svg { width: 17px; height: 17px; }
.auth-divider {
  text-align: center; position: relative;
  margin: 20px 0 16px; font-size: 12px; color: #aaa;
}
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%;
  height: 1px; background: var(--border); width: calc(50% - 56px);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.btn-social-full { grid-column: 1 / -1; }
.btn-social {
  border: 1px solid var(--border); background: #fff;
  color: #333; font-size: 13px; font-weight: 600;
  height: 42px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; transition: border-color .15s;
  text-decoration: none;
}
.btn-social:hover { border-color: #999; color: #333; }
.btn-social svg { width: 17px; height: 17px; flex-shrink: 0; }
.auth-switch { text-align: center; font-size: 13px; color: #666; margin-top: 16px; }
.auth-switch a { color: var(--red); font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-forgot { font-size: 12px; color: var(--red); font-weight: 400; }

/* ── Mobile-only elements — hidden on desktop by default ─── */
.mobile-search-bar,
.mobile-search-sticky,
.mobile-bottom-nav { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .home-product-grid { grid-template-columns: repeat(4, 1fr); }
  .category-grid { grid-template-columns: repeat(6, 1fr); }
  .cat-circle { width: 90px; height: 90px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 14px; }
  .header-burger { display: flex; }
  .logo-img { height: 30px; margin-right: 25px;}
  .header-icon span.lbl { display: none; }
  .header-icon { padding: 6px 7px; min-width: 36px; }

  /* Mobile header: relative container so logo can be absolutely centered */
  .header-inner { position: relative; padding: 10px 12px; gap: 6px; }
  .site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
  }

  /* Show mobile-only icons */
  .header-msg-icon { display: flex !important; }
  .header-search-icon { display: flex !important; }

  /* Hide account dropdown icon & language picker on mobile (bottom nav covers them) */
  .header-icon.has-dropdown { display: none; }
  .lang-picker { display: none; }
  .home-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  /* Hero slider: SHEIN-app style — text left, 2 product cards right */
  .slide { min-height: 0; }
  .slide-overlay { position:absolute;inset:0;background:linear-gradient(105deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.50) 40%,rgba(0,0,0,.12) 70%,transparent 90%),linear-gradient(to top,rgba(0,0,0,.45) 0%,transparent 40%);z-index:1;pointer-events:none; }
  .slide-inner { position:relative;z-index:2;flex-direction:row;align-items:center;padding:14px 10px 14px 14px;min-height:180px;gap:8px; }
  .slide-text { flex:0 0 52%;max-width:52%; }
  .slide-tag { font-size:9px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;margin-bottom:6px;opacity:1; }
  .slide-title { font-family:'ABCGintoNord',sans-serif;font-size:clamp(15px,4.5vw,20px);font-weight:700;line-height:1.05;margin-bottom:8px;letter-spacing:-0.5px;text-transform:uppercase; }
  .slide-sub { display:block;font-size:9px;opacity:.8;margin-bottom:8px;line-height:1.4; }
  .slide-cta { display:inline-block;padding:7px 16px;font-size:9px;font-weight:800;letter-spacing:1px;text-transform:uppercase;border-radius:2px;background:#fff;color:#222; }
  /* 2 product cards side by side on right */
  .slide-products { display:grid;grid-template-columns:1fr 1fr;gap:5px;flex:1;min-width:0;align-content:center; }
  .slide-product { width:100%;max-width:unset;margin:0;padding:0;transform:none;  }
  .slide-product:hover { transform:none; }
  .slide-product:nth-child(n+3) { display:none; }
  .slide-product-img {height:110px;background:#ddd;}
  .slide-product-badge {padding:3px 6px;bottom:5px;right:auto;background:#fff;border-radius: 50px;box-shadow:0 1px 4px rgba(0,0,0,.15);}
  .slide-product-badge span { line-height:1 !important; }
  .slide-product-badge span:nth-child(1) { font-size:8px !important; }
  .slide-product-badge span:nth-child(2) {font-size: 10px !important;font-weight:900 !important;}
  .slide-product-badge span:nth-child(3) { font-size:8px !important; }
  .slider-btn.prev, .slider-btn.next{display:none;}
  .slide img {height: 105px;}
  .slider-dots { bottom: 6px !important; padding: 4px 10px !important; }
  .flash-badge-title { font-size: 11px !important; padding: 4px 10px !important; }
  /* Category circles: 3-row horizontal scroll like SHEIN app */
  .category-section-inner { padding: 0 12px; }
  .cat-arrow { display: none; }
  .category-grid {
    grid-template-columns: unset;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    grid-auto-columns: 76px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 10px 8px;
    padding: 4px 0 10px;
  }
  .category-grid::-webkit-scrollbar { display: none; }
  .cat-circle { width: 62px; height: 62px; border: .5px solid rgba(34, 34, 34, .1); border-radius: 50% 80%/80% 50%; }
  .cat-label { font-size: 10px; max-width: 74px; }
  .section-link { font-size: 12px; font-weight: 700; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 24px 16px; gap: 20px; }
  .auth-card { padding: 24px 20px; }
  /* Account dashboard inline grids */
  .account-content [style*="grid-template-columns:repeat(3"],
  .account-content [style*="grid-template-columns: repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
  .account-content [style*="grid-template-columns:repeat(4"],
  .account-content [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  /* Account table */
  .account-content .table-wrap { overflow-x: auto; }
  .account-content .data-table { min-width: 520px; }
  /* Hide desktop search bar; mobile uses icon tap-to-search only */
  .header-search { display: none; }
  /* Hide the below-header search bar — SHEIN uses icon only */
  .mobile-search-bar { display: none !important; }
  /* Sticky compact bar: full SHEIN-style row */
  .mobile-search-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #000;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
    align-items: center;
    gap: 8px;
  }
  /* Sticky burger */
  .mss-burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    flex-shrink: 0;
    cursor: pointer;
  }
  .mss-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 1px; }
  /* Sticky search form — pill shaped */
  .mss-form {
    flex: 1;
    display: flex;
    height: 36px;
    background: #222;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #444;
  }
  .mss-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
  }
  .mss-form input::placeholder { color: #888; }
  .mss-form button {
    background: #000;
    border: 2px #fff solid;
    padding: 0 12px;
    cursor: pointer;
    color: #aaa;
    display: flex;
    align-items: center;
  }
  .mss-form button svg { width: 16px; height: 16px; }
  /* Sticky icons */
  .mss-icons { display: flex; gap: 2px; flex-shrink: 0; }
  .mss-icon {
    background: none;
    border: none;
    color: #fff;
    padding: 5px 7px;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  /* ── Hide site footer on mobile — bottom nav replaces it ── */
  .site-footer { display: none; }
  body { padding-bottom: 56px; }
  .back-top { bottom: 150px; right: 16px; }
  .sw-float-wrap { bottom: 128px; left: 16px; }
  /* ── Mobile bottom navigation ─────────────────────────── */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid #ebebeb;
    height: 56px;
    align-items: stretch;
    box-shadow: 0 -4px 24px rgba(0,0,0,.10);
  }
  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #aaa;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .4px;
    padding: 5px 0 4px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color .15s;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    text-transform: uppercase;
  }
  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav button:hover,
  .mobile-bottom-nav a.mbn-active { color: #e53935; }
  .mobile-bottom-nav a.mbn-active svg,
  .mobile-bottom-nav button:hover svg { stroke: #e53935 !important; }
  .mobile-bottom-nav svg {
    width: 22px; height: 22px; display: block;
    stroke: #aaa; fill: none; stroke-width: 1.8;
    transition: stroke .15s;
  }
  .mobile-bottom-nav a:hover svg { stroke: #e53935; }
  .mbn-badge {
    position: absolute;
    top: 4px; right: calc(50% - 22px);
    background: #e53935;
    color: #fff;
    font-size: 8px; font-weight: 800;
    min-width: 14px; height: 14px;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px; line-height: 1;
    pointer-events: none;
  }
}
@media (max-width: 480px) {
  .home-product-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .category-grid { grid-auto-columns: 68px; }
  .cat-circle { width: 56px; height: 56px; border: .5px solid rgba(34, 34, 34, .1); border-radius: 50% 80%/80% 50%;}
  .cat-label { font-size: 9.5px; max-width: 66px; }
  .footer-main { grid-template-columns: 1fr; }
  .flash-sale-card { flex-direction: column; align-items: flex-start; }
  /* Account dashboard single column */
  .account-content [style*="grid-template-columns:repeat(2"],
  .account-content [style*="grid-template-columns: repeat(2"],
  .account-content [style*="grid-template-columns:repeat(3"],
  .account-content [style*="grid-template-columns: repeat(3"],
  .account-content [style*="grid-template-columns:repeat(4"],
  .account-content [style*="grid-template-columns: repeat(4"] { grid-template-columns: 1fr !important; }
  .account-content { padding: 12px !important; }
  .account-sidebar { display: none; }
}


/* ============================================================
   ABANDONED CART REMINDER POPUP
   ============================================================ */
#cart-reminder {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  z-index: 9999;
  overflow: hidden;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.45,.64,1), opacity .3s ease;
}
#cart-reminder.cr-show {
  transform: translateY(0);
  opacity: 1;
}
#cart-reminder-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,.06);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #555;
  transition: background .2s;
  z-index: 1;
}
#cart-reminder-close:hover { background: rgba(0,0,0,.13); }
#cart-reminder-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px 14px;
}
#cart-reminder-img {
  flex-shrink: 0;
  width: 64px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
}
#cart-reminder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#cart-reminder-body { flex: 1; min-width: 0; }
#cart-reminder-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
  line-height: 1.3;
}
#cart-reminder-sub {
  font-size: 12px;
  color: #666;
  margin: 0 0 12px;
}
#cart-reminder-sub strong { color: var(--red); }
#cart-reminder-btn {
  display: block;
  background: var(--red);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
#cart-reminder-btn:hover { background: #c0001e; }
#cart-reminder-progress {
  height: 3px;
  background: var(--red);
  width: 100%;
  transform-origin: left;
  animation: cr-progress 8s linear forwards;
}
@keyframes cr-progress {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}
@media (max-width: 480px) {
  #cart-reminder { left: 16px; right: 16px; width: auto; bottom: 80px; }
}

/* ============================================================
   ORDER TRACKING TIMELINE
   ============================================================ */
.order-tracking-timeline {
  display: flex;
  align-items: flex-start;
  padding: 20px 0 8px;
}
.ott-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  text-align: center;
}
.ott-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  transition: background .3s, border-color .3s, color .3s;
  position: relative;
  z-index: 1;
}
.ott-step.ott-done .ott-icon {
  background: #fff5f7;
  border-color: var(--red);
  color: var(--red);
}
.ott-step.ott-active .ott-icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(254,51,89,.15);
}
.ott-label {
  font-size: 11px;
  margin-top: 6px;
  color: #bbb;
  font-weight: 500;
  line-height: 1.2;
}
.ott-step.ott-done .ott-label,
.ott-step.ott-active .ott-label { color: #333; font-weight: 600; }
.ott-connector {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}
.ott-connector.ott-done { background: var(--red); }
@media (max-width: 480px) {
  .ott-label { font-size: 10px; }
  .ott-icon  { width: 36px; height: 36px; }
  .ott-connector { top: 18px; }
}

/* ============================================================
   SIZE GUIDE MODAL
   ============================================================ */
.size-guide-link {
  background: none;
  border: none;
  color: var(--red);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}
#size-guide-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: sgFadeIn .2s ease;
}
@keyframes sgFadeIn { from { opacity:0 } to { opacity:1 } }
#size-guide-modal {
  background: #fff;
  width: 100%;
  max-width: 640px;
  border-radius: 12px 12px 0 0;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  animation: sgSlideUp .3s cubic-bezier(.34,1.45,.64,1);
}
@keyframes sgSlideUp { from { transform:translateY(60px);opacity:0 } to { transform:translateY(0);opacity:1 } }
#size-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
#size-guide-header h3 { font-size: 16px; font-weight: 700; margin: 0; }
#size-guide-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #555;
  display: flex;
  align-items: center;
}
#size-guide-body {
  overflow-y: auto;
  padding: 20px;
  flex: 1;
}
.sg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.sg-table th, .sg-table td {
  padding: 9px 12px;
  text-align: center;
  border: 1px solid #eee;
}
.sg-table thead th {
  background: #222;
  color: #fff;
  font-weight: 600;
}
.sg-table tbody tr:nth-child(even) { background: #f9f9f9; }
.sg-table tbody td:first-child { font-weight: 600; text-align: left; background: #f5f5f5; }
@media (min-width:600px) {
  #size-guide-overlay { align-items: center; }
  #size-guide-modal   { border-radius: 12px; max-height: 80vh; }
}

/* COMPARE PRODUCTS */
#compare-bar { position:fixed;bottom:0;left:0;right:0;background:#17120f;color:#fff;display:flex;align-items:center;gap:16px;padding:12px 24px;z-index:9998;transform:translateY(100%);transition:transform .35s cubic-bezier(.34,1.45,.64,1);border-top:2px solid #e95004; }
#compare-bar.compare-bar--show { transform:translateY(0); }
#compare-bar-items { display:flex;gap:10px;flex:1;flex-wrap:wrap; }
.cbar-item { display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:6px 10px;font-size:12.5px;font-weight:600; }
.cbar-img  { width:34px;height:42px;object-fit:cover;border-radius:4px;background:rgba(255,255,255,.1);flex-shrink:0;display:inline-block; }
.cbar-img--ph { background:rgba(255,255,255,.07); }
.cbar-name { max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.85); }
.cbar-rm { width:22px;height:22px;border-radius:50%;background:#555;border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:#fff;padding:0;transition:background .15s;flex-shrink:0;vertical-align:middle; }
.cbar-rm:hover { background:#dc2626; }
.cbar-rm svg { width:10px;height:10px;display:block;stroke:#fff;stroke-width:2.5; }
.cbar-clear { background:transparent;border:1px solid rgba(255,255,255,.35);color:rgba(255,255,255,.75);border-radius:4px;padding:5px 12px;font-size:12px;font-weight:500;cursor:pointer;transition:border-color .15s,color .15s,background .15s;white-space:nowrap;font-family:inherit;line-height:1.4; }
.cbar-clear:hover { border-color:#fff;color:#fff;background:rgba(255,255,255,.08); }
#compare-bar-actions { display:flex;gap:8px;align-items:center;flex-shrink:0; }
.compare-btn-full { display:flex;align-items:center;gap:8px;width:100%;background:none;border:1px solid #ddd;border-radius:4px;padding:11px 18px;font-size:13px;font-weight:600;cursor:pointer;color:#333;margin-top:8px;transition:border-color .2s,color .2s;font-family:inherit;justify-content:center; }
.compare-btn-full:hover, .compare-btn-full.compare-btn--active { border-color:#1976d2;color:#1976d2; }
.compare-card-btn { position:absolute;bottom:38px;left:8px;background:#fff;border:1px solid #ddd;border-radius:4px;padding:4px 8px;font-size:10px;font-weight:600;cursor:pointer;color:#555;opacity:0;transition:opacity .2s;z-index:2; }
.product-card:hover .compare-card-btn { opacity:1; }
.compare-card-btn:hover { border-color:#1976d2;color:#1976d2; }
/* compare page styles are inlined in compare.php */

/* Color-image swatches (variant thumbnails) */
.zp-color-img-swatch { width:58px;height:74px;border-radius:6px;border:2px solid #e8e8e8;overflow:hidden;cursor:pointer;padding:0;background:#f0f0f0;transition:border-color .15s;display:inline-block;vertical-align:top; }
.zp-color-img-swatch img { width:100%;height:100%;object-fit:cover;display:block; }
.zp-color-img-swatch.active,.zp-color-img-swatch:hover { border-color:#111; }
.zp-color-img-swatch.active { border-width:2.5px; }

/* ============================================================
   ZALANDO-STYLE PRODUCT DETAIL  (.zp-*)
   ============================================================ */

/* Layout */
.zp-layout {
  display: grid;
  grid-template-columns: minmax(0, 5.8fr) minmax(0, 4.2fr);
  gap: 40px;
  align-items: start;
  padding: 24px 0 40px;
}
/* Prevent grid items from expanding beyond their track */
.zp-gallery,
.zp-info {
  min-width: 0;
}

/* ---- Gallery ---- */
.zp-gallery {
  display: flex;
  gap: 10px;
  position: sticky;
  top: 80px;
}

.zp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 72px;
  flex-shrink: 0;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.zp-thumbs::-webkit-scrollbar { width: 3px; }
.zp-thumbs::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.zp-thumb {
  width: 72px;
  height: 90px;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #f2f2f2;
  transition: border-color .15s;
}
.zp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-thumb:hover { border-color: #bbb; }
.zp-thumb.active { border-color: #222; }

.zp-main {
  flex: 1;
  aspect-ratio: 3/4;
  max-height: 700px;
  background: #f2f2f2;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  cursor: crosshair;
}
.zp-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform-origin: center center;
}

/* ── Hover zoom magnifier ── */
.zp-main.zp-zooming { cursor: none; }
.zp-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(0,0,0,0.055) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 5;
}
.zp-main.zp-zooming::after { opacity: 1; }

.zp-zoom-cursor {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.92);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.20), 0 4px 20px rgba(0,0,0,0.22);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: rgba(255,255,255,0.04);
  transition: opacity 0.18s ease;
}
.zp-zoom-cursor.zp-cursor-visible { opacity: 1; }

.zp-img-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #222;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: .3px;
  pointer-events: none;
}
.zp-img-badge.orange { background: var(--orange); bottom: auto; top: 12px; }

/* ---- Info panel ---- */
.zp-info {
  /* background: #fff; */
  padding: 4px 0 0;
}

.zp-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #888;
  margin-bottom: 16px;
  transition: color .15s;
}
.zp-back:hover { color: #222; }

.zp-brand {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 6px;
}

.zp-name {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: #222;
  margin-bottom: 10px;
}

.zp-off-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}

.zp-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.zp-price-now {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  letter-spacing: -.3px;
}
.zp-price-was {
  font-size: 14px;
  color: #aaa;
  text-decoration: line-through;
}

.zp-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #555;
  margin-bottom: 18px;
  text-decoration: none;
}
.zp-rating-link:hover { color: #222; }
.zp-stars { display: inline-flex; align-items: center; gap: 1px; }
.zp-rev-count { color: #888; }
.zp-sold-count { color: #888; }

/* ---- Options (colour/size/qty) ---- */
.zp-option {
  margin-bottom: 16px;
}
.zp-opt-label {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 9px;
}
.zp-opt-label strong { color: #111; }

.zp-swatch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.zp-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .15s, border-color .15s;
}
.zp-swatch:hover { outline-color: #bbb; }
.zp-swatch.active { outline-color: #222; border-color: #fff; }

.zp-size-select-wrap {
  position: relative;
  display: block;
}
.zp-size-select {
  width: 100%;
  height: 46px;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 40px 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
}
.zp-size-select:focus { outline: none; border-color: #222; }
.zp-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: #555;
}
.zp-size-guide-btn {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.zp-size-guide-btn:hover { color: #111; }

/* ---- Action buttons ---- */
.zp-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 4px;
}
.zp-btn-add {
  flex: 1;
  height: 52px;
  background: #17120f;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  transition: background .15s;
}
.zp-btn-add:hover { background: #000; }
.zp-btn-add:disabled,
.zp-btn-add.zp-btn-oos { background: #bbb !important; cursor: not-allowed !important; opacity: .75; }
.zp-btn-add.zp-btn-oos:hover { background: #bbb !important; }

.zp-btn-wish {
  width: 52px;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 0px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #555;
  transition: border-color .15s, color .15s;
}
.zp-btn-wish svg { width: 20px; height: 20px; }
.zp-btn-wish:hover { border-color: #e53935; color: #e53935; }
.zp-btn-wish.wishlisted { color: #e53935; border-color: #e53935; }

.zp-btn-buy-now {
  width: 100%;
  height: 52px;
  background: #fff;
  color: #17120f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  border: 1px solid #17120f;
  border-radius: 0px;
  cursor: pointer;
  margin-bottom: 18px;
  transition: background .15s, color .15s;
}
.zp-btn-buy-now:hover {background: #17120f;color: #fff;}

/* ---- SHEIN Delivery Card ---- */
.zp-delivery-card {
  background: #f0f2f5;
  border: 1px solid #e2e5ea;
  border-radius: 0px;
  padding: 18px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.zp-delivery-heading {
  font-size: 13.5px;
  color: #222222;
  margin-bottom: 2px;
}
.zp-delivery-heading strong {
  font-weight: 800;
  color: #111111;
}
.zp-delivery-heading span {
  color: #555555;
}
.zp-delivery-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
}
.zp-delivery-icon-box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.zp-delivery-text {
  flex: 1;
  min-width: 0;
}
.zp-delivery-title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  color: #111111;
}
.zp-delivery-title.green {
  color: #008a4f;
}
.zp-delivery-sub {
  font-size: 12px;
  color: #666666;
  line-height: 1.4;
  margin-top: 3px;
}
.zp-green-tag {
  display: inline-block;
  background: #e8f8f0;
  color: #008a4f;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 4px;
  margin-bottom: 2px;
}
.zp-security-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e8f8f0;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 700;
  color: #008a4f;
  margin-top: 6px;
}

/* ---- Accordions ---- */
.zp-accordions {
  border-top: 1px solid #e5e5e5;
  margin-bottom: 20px;
}
.zp-accordion {
  border-bottom: 1px solid #e5e5e5;
}
.zp-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  margin: 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  color: #111111;
  text-align: left;
  transition: color .15s, background .15s;
}
.zp-acc-btn:hover {
  background: #fcfcfc;
  color: #000000;
}
.zp-accordion.open .zp-acc-btn {
  background: transparent;
  color: #111111;
}
.zp-acc-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #333333;
  transition: transform .25s ease;
}
.zp-accordion.open .zp-acc-chevron { transform: rotate(180deg); }
.zp-acc-body {
  overflow: hidden;
  max-height: 0;
  padding: 0 4px;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s;
}
.zp-accordion.open .zp-acc-body {
  max-height: 700px;
  padding: 4px 4px 20px;
}

/* ---- SHEIN Action Button for Add to Compare ---- */
.zp-compare-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 0px;
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  cursor: pointer;
  margin-top: 16px;
  transition: border-color .18s, background .18s, color .18s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.zp-compare-btn:hover {
  border-color: #111111;
  background: #fafafa;
  color: #000000;
}

/* ---- Reviews section ---- */
.zp-reviews-section {
  padding: 40px 0 32px;
  border-top: 1px solid #eee;
  margin-top: 20px;
}
.zp-section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #17120f;
}

/* ---- Related products ---- */
.zp-related {
  padding: 32px 0;
  border-top: 1px solid #eee;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .zp-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px 0 32px;
  }
  .zp-gallery { position: static; }
  .zp-thumbs {
    flex-direction: row;
    width: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .zp-thumb { width: 60px; height: 76px; }
}

@media (max-width: 600px) {
  .zp-name { font-size: 16px; }
  .zp-price-now { font-size: 20px; }
  .zp-btn-add, .zp-btn-wish, .zp-btn-buy-now { height: 48px; }
  .zp-gallery { display: flex; flex-direction: column; gap: 10px; }
  .zp-main { order: 1; aspect-ratio: 3/4; border-radius: 0; cursor: default; max-height: 92vw; }
  .zp-thumbs { order: 2; display: flex; flex-direction: row; width: 100%; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 6px; padding-bottom: 2px; }
  .zp-thumb { width: 56px; height: 70px; flex-shrink: 0; }
  .zp-zoom-cursor { display: none; }
  .zp-main::after { display: none; }
}

/* ============================================================
   SWIPE / HORIZONTAL SCROLL SECTIONS
   ============================================================ */
.swipe-outer { position: relative; }
.swipe-row {
  display: flex;
  overflow-x: auto;
  gap: 14px;
  padding: 4px 4px 20px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.swipe-row::-webkit-scrollbar { display: none; }
.swipe-card {
  flex: 0 0 170px;
  scroll-snap-align: start;
}
.swipe-card .product-card { width: 170px; }
.swipe-card .product-img-box { height: 210px; }
.swipe-card .product-title { font-size: 12px; -webkit-line-clamp: 2; }
.swipe-card .product-info {padding: 8px 8px 6px;}
.swipe-card .product-price-now { font-size: 13px; }

/* Swipe arrow buttons */
.swipe-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0,0,0,.14);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: all .2s;
  color: #222;
}
.swipe-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.swipe-arrow.left { left: -14px; }
.swipe-arrow.right { right: -14px; }
.swipe-arrow:hover { background: #111; color: #fff; border-color: #111; }
.swipe-arrow.left:hover svg { transform: translateX(-3px); }
.swipe-arrow.right:hover svg { transform: translateX(3px); }
@media (max-width: 768px) { .swipe-arrow { display: none; } }

/* ============================================================
   THEMED SECTION BLOCKS
   ============================================================ */

/* Orange section */
.section-orange {
  background: linear-gradient(135deg, #fb7d28 0%, #f04f0a 100%);
}
.section-orange .section-head h2 { color: #fff; }
.section-orange .section-head h2 .accent { color: rgba(255,255,255,.75); font-style: italic; }
.section-orange .section-link {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
}
.section-orange .section-link:hover { background: rgba(255,255,255,.28); }
.section-orange .swipe-card .product-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.14);
}

/* Black section */
.section-black {
  background: #17120f;
  margin-top: 0 !important;
}
.section-black .section-head h2 { color: #fff; }
.section-black .section-head h2 .accent { color: #fb7d28; font-style: italic; }
.section-black .section-link {
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
}
.section-black .section-link:hover { background: rgba(255,255,255,.18); }
.section-black .swipe-card .product-card {background: #1c1c1c;/* border-radius: 12px; */}
.section-black .swipe-card .product-title { color: #e0e0e0; }
.section-black .swipe-card .product-brand { color: #999; }
.section-black .swipe-card .product-price-now { color: #fb7d28; }
.section-black .swipe-card .product-price-was { color: #666; }
.section-black .swipe-card .product-fav { color: #ccc; }
.section-black .swipe-card .product-quick-add { background: rgba(255,255,255,.12); color: #fff; }
.section-black .swipe-card .product-quick-add:hover { background: #fb7d28; }
.section-black .swipe-arrow { background: #1c1c1c; border-color: #333; color: #fff; }
.section-black .swipe-arrow:hover { background: #fb7d28; border-color: #fb7d28; }

/* Promo banner strip (trust bar) */
.promo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: #fafafa;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  padding: 18px 24px;
  margin: 24px 0 32px 0;
  text-align: center;
  overflow: hidden;
}
.promo-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #222222;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.promo-strip-item svg {
  width: 18px;
  height: 18px;
  color: #ff5e00;
  flex-shrink: 0;
}
.promo-strip-item .promo-strip-accent {
  color: #ff5e00;
  font-weight: 700;
}
@media (max-width: 600px) {
  .promo-strip { gap: 16px; padding: 14px 16px; margin: 16px 0 24px 0; }
  .promo-strip-item { font-size: 11px; }
  .promo-strip-item:nth-child(n+3) { display: none; }
}

/* ============================================================
   ENHANCED SEARCH SUGGESTIONS
   ============================================================ */
.search-suggestions {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 1px;
  box-shadow: 0 12px 48px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.06);
  z-index: 9999;
  display: none;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.search-suggestions.open { display: block; animation: suggFadeIn .15s ease; }
@keyframes suggFadeIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

.sugg-section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .7px;
  color: #aaa; text-transform: uppercase;
  border-bottom: 1px solid #f5f5f5;
}
.sugg-section-head .sugg-fire { font-size: 14px; }

/* ── In-input clear X button ─────────────────────────────── */
.header-search .search-input-clear {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #b0b0b0 !important;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
  padding: 0;
  border-top-left-radius: 50% !important;
  border-bottom-left-radius: 50% !important;
}
.header-search .search-input-clear:hover { background: #777 !important; }
.header-search input.has-clear { padding-right: 32px; }

/* ── Recent search chips ─────────────────────────────────── */
.sugg-recent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 14px 14px;
}
.sugg-recent-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f5f5f5;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  padding: 5px 8px 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sugg-recent-chip:hover { background: #fff0e8; border-color: #f5c4a4; color: #e8621a; }
.header-search .sugg-chip-rm {
  flex-shrink: 0;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  border-top-left-radius: 50% !important;
  border-bottom-left-radius: 50% !important;
  background: #ccc !important;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  padding: 0;
  line-height: 1;
}
.header-search .sugg-chip-rm:hover { background: #e53935 !important; }
.header-search .sugg-chip-rm svg { pointer-events: none; }

.suggestion-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 16px; cursor: pointer;
  font-size: 13px; color: #222;
  border-bottom: 1px solid #fafafa;
  text-decoration: none; transition: background .1s;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover,
.suggestion-item.sugg-active { background: #fafafa; }
.suggestion-item img {
  width: 42px; height: 54px; object-fit: cover;
  border-radius: 6px; background: #f0f0f0; flex-shrink: 0;
}
.suggestion-item__icon {
  width: 42px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: #f5f5f5; border-radius: 6px; flex-shrink: 0;
}
.sugg-recent-icon { display: none; }
.sugg-cat-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: #fff3ee; border-radius: 10px; flex-shrink: 0;
  color: #fb7d28;
}
.suggestion-item__text { flex: 1; min-width: 0; }
.suggestion-item__name { font-size: 13px; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.sugg-mark { background: none; color: #fb7d28; font-weight: 700; }
.sugg-meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; flex-wrap: wrap; }
.sugg-cat-badge {
  font-size: 10px; font-weight: 600; color: #fb7d28;
  background: #fff3ee; border-radius: 4px; padding: 1px 6px;
  white-space: nowrap;
}
.sugg-price-row { display: flex; align-items: center; gap: 5px; }
.sugg-sale-price { font-size: 12px; color: #e53935; font-weight: 700; }
.sugg-orig-price { font-size: 11px; color: #aaa; text-decoration: line-through; }
.sugg-cat-sub { font-size: 11px; color: #aaa; margin-top: 2px; }

.sugg-no-results {
  padding: 32px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #aaa; font-size: 13px;
}
.sugg-footer {
  padding: 10px 16px; border-top: 1px solid #f0f0f0;
  text-align: center; background: #fafafa;
}
.sugg-footer a { font-size: 12.5px; color: #555; font-weight: 600; text-decoration: none; }
.sugg-footer a:hover { color: #fb7d28; }

/* ============================================================
   SHOP PRODUCT GRID  (category page — replaces inline style)
   ============================================================ */
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 900px) {
  .shop-layout { overflow-x: hidden; }
  .shop-layout aside { display: none; }
  .shop-product-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 768px) {
  .shop-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
  .shop-product-grid { gap: 6px; }
}

/* ============================================================
   PRODUCT IMAGE HOVER  (desktop-only guard)
   ============================================================ */
@media (hover: none) {
  .product-img-hover { display: none; }
  .product-card:hover .product-img-main { opacity: 1; transform: none; }
  .product-card:hover .product-quick-add { opacity: 0; }
}

/* ============================================================
   MOBILE FILTER BUTTON
   ============================================================ */
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: #17120f;
  color: #fff;
  border: none;
  padding: 7px 13px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
}
.mobile-filter-btn:hover { background: #333; }
.mobile-filter-count {
  background: #fb7d28;
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  min-width: 18px;
  line-height: 16px;
}
@media (max-width: 900px) {
  .mobile-filter-btn { display: flex; }
}

/* ============================================================
   MOBILE FILTER OVERLAY / SLIDE-IN PANEL
   ============================================================ */
.mobile-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.mobile-filter-overlay.open { pointer-events: auto; }

.mobile-filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.48);
  opacity: 0;
  transition: opacity .3s ease;
}
.mobile-filter-overlay.open .mobile-filter-backdrop { opacity: 1; }

.mobile-filter-panel {
  position: relative;
  width: min(92vw, 380px);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  box-shadow: -4px 0 32px rgba(0,0,0,.18);
}
.mobile-filter-overlay.open .mobile-filter-panel { transform: translateX(0); }

.mobile-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #ebebeb;
  flex-shrink: 0;
  background: #fff;
}
.mobile-filter-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-filter-close {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: background .12s, color .12s;
}
.mobile-filter-close:hover { background: #f2f2f2; color: #111; }

.mobile-filter-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.mobile-filter-footer {
  padding: 12px 16px;
  border-top: 1px solid #ebebeb;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  background: #fff;
}
.mobile-filter-footer .btn { height: 42px; font-size: 13px; font-weight: 700; }

/* ============================================================
   FILTER ACCORDIONS (inside mobile modal)
   ============================================================ */
.filter-accordion { border-bottom: 1px solid #f0f0f0; }

.filter-accordion-head {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  text-align: left;
  transition: background .12s;
}
.filter-accordion-head:hover { background: #fafafa; }
.filter-accordion-head svg {
  flex-shrink: 0;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.filter-accordion-head.open svg { transform: rotate(180deg); }

.filter-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s cubic-bezier(.4,0,.2,1), padding .32s;
  padding: 0 16px;
}
.filter-accordion-body.open {
  max-height: 600px;
  padding-bottom: 10px;
}

.filter-accordion-body ul { padding: 0; }
.filter-accordion-body li {
  padding: 9px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}
.filter-accordion-body li:last-child { border-bottom: none; }
.filter-accordion-body li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  text-decoration: none;
  transition: color .12s;
}
.filter-accordion-body li a:hover { color: #111; }
.filter-accordion-body li.active a {
  color: #fb7d28;
  font-weight: 700;
}

.filter-price-form {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px 0 4px;
}
.filter-price-form input {
  width: 80px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  outline: none;
  transition: border-color .15s;
}
.filter-price-form input:focus { border-color: #fb7d28; }
.filter-price-form span { font-size: 12px; color: #aaa; }
.filter-price-form button {
  background: #111;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.filter-price-form button:hover { background: #333; }

/* ============================================================
   PROMO CTA BUTTONS (Shop Deals / View Sneakers)
   ============================================================ */
.promo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: 0px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: none;
}
.promo-cta-btn span { display: inline; }
.promo-cta-btn--fill {
  background: #ff5e00;
  color: #ffffff;
  border: 1px solid #ff5e00;
}
.promo-cta-btn--fill:hover {
  background: #e63900;
  border-color: #e63900;
  color: #ffffff;
  box-shadow: none;
  transform: none;
}
.promo-cta-btn--outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}
.promo-cta-btn--outline:hover {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  box-shadow: none;
  transform: none;
}
@media (max-width: 480px) {
  .promo-cta-btn { padding: 9px 18px; font-size: 11px; }
}
.suggestion-cat { height: 52px; }

/* ── Campus & Phones swipe: 5 cards visible on desktop ── */
#swipe-campus .swipe-card,
#swipe-phones .swipe-card { flex: 0 0 208px; }
#swipe-campus .swipe-card .product-card,
#swipe-phones .swipe-card .product-card { width: 208px; }
#swipe-campus .swipe-card .product-img-box,
#swipe-phones .swipe-card .product-img-box { height: 250px; }

/* ── Mobile Sort Sheet (bottom sheet) ───────────────────── */
.mobile-sort-overlay {
  position: fixed; inset: 0; z-index: 1800;
  visibility: hidden; pointer-events: none;
}
.mobile-sort-overlay.open { visibility: visible; pointer-events: all; }
.mobile-sort-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background .25s;
}
.mobile-sort-overlay.open .mobile-sort-backdrop { background: rgba(0,0,0,.42); }
.mobile-sort-panel {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #fff; border-radius: 20px 20px 0 0;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.32,.72,0,1);
}
.mobile-sort-overlay.open .mobile-sort-panel { transform: translateY(0); }
.mobile-sort-handle { width: 36px; height: 4px; background: #ddd; border-radius: 2px; margin: 12px auto 14px; }
.mobile-sort-title { font-size: 14px; font-weight: 700; color: #111; padding: 0 20px 14px; border-bottom: 1px solid #f0f0f0; }
.mobile-sort-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; font-size: 15px; color: #333;
  text-decoration: none; border-bottom: 1px solid #f7f7f7; transition: background .1s;
}
.mobile-sort-option:last-child { border-bottom: none; }
.mobile-sort-option.active { color: #e95004; font-weight: 700; }
.mobile-sort-option:hover { background: #fafafa; }

/* ── You May Also Like: swipeable on mobile ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .related-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .related-grid::-webkit-scrollbar { display: none; }
  .related-grid .product-card {
    flex: 0 0 165px;
    width: 165px;
    scroll-snap-align: start;
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding-bottom: 6px;
  }
  .related-grid .product-card .product-img-box { height: 205px; border-radius: 8px 8px 0 0; }
  .related-grid .product-card .product-title { font-size: 11.5px; padding: 4px 6px 0; }
  .related-grid .product-card .product-price-now { font-size: 13px; padding: 2px 6px 0; font-weight: 700; }
}

/* ============================================================
   ENHANCED CHECKOUT & RESPONSIVE MOBILE STYLES
   ============================================================ */

/* 1. Delivery Options */
.delivery-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.del-option-card {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.del-option-card.active {
  border: 2px solid #e95004 !important;
  background: #fffdfb;
}
.del-check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0c6f31;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(12,111,49,0.25);
  transition: all 0.2s ease;
}

/* 2. Payment Method Custom Single Radio */
.payment-method {
  border: 2px solid #eee;
  transition: border-color 0.15s;
}
.payment-method.active {
  border: 2px solid #e95004 !important;
  background: #fffdfb;
}
.payment-method__radio {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.payment-method.active .payment-method__radio {
  border-color: #e95004;
  background: #e95004;
  box-shadow: inset 0 0 0 3.5px #fff;
}

.pm-logo-mobile { display: none; }

/* 3. Simple & Sleek Bank Details */
.bank-details-simple {
  margin-top: 12px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 14px;
  font-size: 13px;
  max-width: 100%;
  box-sizing: border-box;
}
.bank-row-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 8px 12px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 8px;
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
}
.bank-row-simple:last-child { margin-bottom: 0; }
.bank-row-acct {
  border: 1.5px solid #e95004;
}
.copy-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile Responsiveness Rules */
@media (max-width: 576px) {
  .checkout-layout { gap: 12px; max-width: 100%; box-sizing: border-box; }
  .checkout-section {
    padding: 14px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: none;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .delivery-options-grid {
    grid-template-columns: 1fr !important;
  }
  .pm-text-desktop { display: none !important; }
  .pm-logo-desktop { display: none !important; }
  .pm-logo-mobile { display: block !important; }
  .payment-method__logo img, .pm-logo-mobile img {
    height: 22px;
    max-width: 100px;
  }
  .copy-text-desktop { display: none !important; }
  .copy-action-btn {
    padding: 7px 9px !important;
    min-width: 32px;
    justify-content: center;
  }
  .bank-details-simple {
    padding: 10px 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .bank-row-simple {
    padding: 8px 8px !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .bank-row-simple > div:first-child {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
}

/* Zero Border-Radius Joined Coupon Box */
.coupon-form-wrap {
  margin-top: 12px;
}
.coupon-input-group {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
}
.coupon-input {
  flex: 1 !important;
  height: 44px !important;
  border: 1.5px solid #0f172a !important;
  border-right: none !important;
  border-radius: 0 !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  color: #0f172a !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.coupon-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
}
.coupon-input:focus {
  border-color: #e95004 !important;
}
.coupon-btn {
  height: 44px !important;
  border: 1.5px solid #0f172a !important;
  border-radius: 0 !important;
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 0 22px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  margin: 0 !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.coupon-btn:hover {
  background: #e95004 !important;
  border-color: #e95004 !important;
  color: #ffffff !important;
}

/* Bodmart Trust Card */
.trust-icon-box {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 6px;
  background: #fff5ee;
  border: 1px solid #ffdecb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bodmart-trust-card {
  background: #fff !important;
  border: 2px solid #e95004 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(233, 80, 4, 0.06) !important;
}

/* Global Mobile Form Zoom Override (Cures Safari zooming on input focus) */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* 1. HIDE BACK-TO-TOP BUTTON COMPLETELY ON MOBILE PER USER REQUEST */
  .back-top,
  #back-top {
    display: none !important;
  }

  /* 2. EXACT SHEIN MOBILE SEARCH HEADER & STICKY PILL FORM */
  .mobile-search-sticky .mss-form {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 36px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #dcdcdc !important;
    padding: 2px 3px 2px 10px !important;
    box-sizing: border-box !important;
    gap: 4px !important;
  }

  .mobile-search-sticky .mss-form input {
    flex: 1 !important;
    min-width: 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 13px !important;
    padding: 0 !important;
    font-family: inherit !important;
  }

  .mobile-search-sticky .mss-form input::placeholder {
    color: #888888 !important;
  }

  /* AI Camera Visual Search Trigger Icon inside pill input */
  .mss-camera-btn {
    background: transparent !important;
    border: none !important;
    padding: 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #666666 !important;
    flex-shrink: 0 !important;
    transition: color 0.15s ease !important;
  }

  .mss-camera-btn:hover {
    color: #e95004 !important;
  }

  .mss-camera-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Dark Circular Search Submit Button inside pill input (matching SHEIN) */
  .mss-submit-btn {
    background: #111111 !important;
    border: none !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: background 0.15s ease !important;
  }

  .mss-submit-btn:hover {
    background: #e95004 !important;
  }

  .mss-submit-btn svg {
    width: 14px !important;
    height: 14px !important;
    stroke: #ffffff !important;
    stroke-width: 2.5 !important;
  }

  /* Bodie Chat launcher mobile positioning — resting right near the 56px bottom nav */
  .ai-chat-widget {
    bottom: 62px !important;
    right: 14px !important;
  }

  .ai-mini-launcher {
    width: 44px !important;
    height: 44px !important;
    box-shadow: 0 4px 18px rgba(233, 80, 4, 0.4) !important;
  }

  /* Perfect relaxation space at bottom of mobile pages (65px) so Ask Bodie rests over whitespace without an awkward gap */
  body,
  .main-content,
  main {
    padding-bottom: 65px !important;
  }
}

/* Desktop Header AI Camera Search Button (Transparent background inside white input) */
.header-camera-btn {
  background: transparent !important;
  border: none !important;
  width: 36px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #666666 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  transition: color 0.15s ease !important;
}
.header-camera-btn:hover {
  color: #e95004 !important;
}
.header-camera-btn svg {
  width: 19px !important;
  height: 19px !important;
  stroke: currentColor !important;
}

/* Unique & Signature BODMart Mobile Pill-Menu Button */
@media (max-width: 900px) {
  .mss-burger,
  .header-burger,
  #burger-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 5px 7px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .mss-burger:hover,
  .header-burger:hover {
    background: rgba(233, 80, 4, 0.2) !important;
    border-color: #e95004 !important;
  }

  .mss-burger span,
  .header-burger span {
    display: block !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.2s ease !important;
  }

  /* Signature 3-line layout: Top bar, middle bar with accent dot, bottom bar */
  .mss-burger span:nth-child(1),
  .header-burger span:nth-child(1) {
    width: 18px !important;
  }

  .mss-burger span:nth-child(2),
  .header-burger span:nth-child(2) {
    width: 11px !important;
    background: #e95004 !important; /* BODMart signature glowing orange dot bar */
    box-shadow: 0 0 6px rgba(233, 80, 4, 0.6) !important;
  }

  .mss-burger span:nth-child(3),
  .header-burger span:nth-child(3) {
    width: 15px !important;
  }
}

/* ============================================================
   BODMART SWEEPING SHIMMER LOADERS WITH OFFICIAL LOGO ICON
   ============================================================ */
@keyframes bodmartSweepingShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.product-img-box,
.product-card .product-img-box,
.slide-product-img,
.ai-product-img-box {
  position: relative !important;
  background: #f1f5f9 linear-gradient(110deg, #f1f5f9 25%, #ffffff 50%, #f1f5f9 75%) !important;
  background-size: 250% 100% !important;
  animation: bodmartSweepingShimmer 1.5s infinite ease-in-out !important;
  overflow: hidden !important;
}

/* Official Monochrome BODMart SVG Icon Watermark (Product Images ONLY) */
.product-img-box::before,
.ai-product-img-box::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 42px !important;
  height: 30px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16.3 11.29' fill='%2394a3b8'%3E%3Cpath fill='%2394a3b8' fill-opacity='0.32' d='M0.21 0l3.09 0.41 0.55 1.55 12.45 0.06 -0.8 2.49 -0.52 1.62 -0.73 2.28 -0.52 0.05 0 0 -8.55 0.91 0.04 0.28 8.23 -0.1 0.02 1.62 -9.67 0.11 -0.44 -3.36 0.84 -0.09 -1.19 -3.39 1.15 0.01 9.65 0.05 0.28 -0.87 -11.38 -0.06 -0.59 -1.69 -2.1 -0.28 0.21 -1.61 -0 -0zm8.14 6.1l-3.05 -0.02 0.53 1.51 7.21 -0.7 0.25 -0.77 -4.93 -0.03 0 0z'/%3E%3C/svg%3E") no-repeat center center / contain !important;
  opacity: 0.45 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Category Circle Shimmer (Clean Sweeping Gradient, NO logo watermark) */
.cat-circle,
.category-circle-box {
  background: #f1f5f9 linear-gradient(110deg, #f1f5f9 25%, #ffffff 50%, #f1f5f9 75%) !important;
  background-size: 250% 100% !important;
  animation: bodmartSweepingShimmer 1.5s infinite ease-in-out !important;
}

/* 1. Mobile Filter Drawer Clear & Apply Sticky Actions */
.sf-mobile-actions {
  display: none;
}
@media (max-width: 900px) {
  .sf-sidebar {
    padding-bottom: 70px !important;
  }
  .sf-mobile-actions {
    display: flex !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    border-top: 1px solid #ebebeb !important;
    position: sticky !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05) !important;
  }
  .sf-btn-reset {
    flex: 1 !important;
    text-align: center !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: #f8fafc !important;
  }
  .sf-btn-apply {
    flex: 1 !important;
    text-align: center !important;
    padding: 10px 14px !important;
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }

  /* 2. Mobile Nav Drawer Scroll to End (Sign In / Register Buttons) */
  .mobile-nav {
    padding-bottom: 110px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 3. msf-bar margin bottom rule */
  .msf-bar {
    display: flex !important;
    margin-bottom: 10px !important;
  }

  /* 4. Main product image 100% full width on mobile */
  .zp-gallery,
  .zp-main,
  #zp-main-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #main-product-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }
}


