/* ==========================================================================
   Galaxy Star - premium footwear store
   The brand colour is pink, set once as a custom property so the admin theme
   picker only has to overwrite these six values.
   ========================================================================== */

/* ------------------------------------------------------------------ icons
   Everything that used to be an emoji is now an inline SVG from
   includes/icons.php. It inherits currentColor, so these are the only rules
   the shapes need. */

.ico {
  display: inline-block;
  vertical-align: -0.18em;
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
}

.stars { color: #f5a623; letter-spacing: 0; display: inline-flex; gap: 1px; align-items: center; }
.stars .ico { width: 13px; height: 13px; }
.stars__count { color: var(--ink-faint); margin-inline-start: 4px; letter-spacing: 0; }

/* a heading-sized icon, for empty states and the big admin slots */
.empty-state__icon { font-size: 52px; line-height: 1; color: var(--pink-accent); }
.empty-state__icon .ico { width: 1em; height: 1em; stroke-width: 1.4; }

/* icons sitting inside a coloured pill or circle */
.flag .ico, .pill .ico { width: 1em; height: 1em; vertical-align: -0.15em; }
.wa-float .ico { width: 26px; height: 26px; }
.icon-btn .ico { width: 20px; height: 20px; }
.logo__mark .ico { width: 22px; height: 22px; }
.mbnav__icon .ico { width: 20px; height: 20px; }
.to-top .ico { width: 16px; height: 16px; }
.notice__icon .ico { width: 18px; height: 18px; }
.trust__icon .ico { width: 20px; height: 20px; color: var(--pink); }
.tabs__btn .ico { width: 16px; height: 16px; }
.crumbs__sep { font-size: 0; }
.crumbs__sep .ico { width: 13px; height: 13px; color: var(--ink-faint); opacity: .6; }

:root {
  --pink:        #d6246e;
  --pink-dark:   #a81757;
  --pink-light:  #fde7ef;
  --pink-soft:   #fff5f8;
  --pink-accent: #ff8fb1;

  --ink:         #2b0a1b;
  --ink-soft:    #6d4257;
  /* Was #9c7a8c, which measured 3.5:1 on the page background and failed AA for
     body text. This is the same hue darkened to the point where it clears 4.5:1
     on the page, card and pale pink backgrounds alike - the three it is used
     against. */
  --ink-faint:   #856877;
  --line:        #f3d5e2;
  --line-soft:   #fbe9f0;

  --white:       #ffffff;
  --bg:          #fffafc;
  /* Was #128a5a, at 4.37:1 on white - just under AA for the small bold text it
     is used on. One step darker clears it. */
  --ok:          #0f7a4f;
  --warn:        #b26a00;
  --bad:         #c0272d;

  --radius:      14px;
  --radius-sm:   9px;
  --radius-lg:   22px;
  --shadow:      0 2px 8px rgba(214, 36, 110, .07);
  --shadow-md:   0 8px 28px rgba(214, 36, 110, .12);
  --shadow-lg:   0 18px 48px rgba(214, 36, 110, .18);

  --font: "Segoe UI", Roboto, "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --header-h: 68px;
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /*
   * overflow-x: hidden belongs on html, not on body.
   *
   * When one axis of overflow is not visible, the other computes to auto, so
   * putting this on body made body itself a scroll container. A sticky header
   * then sticks to body's scrollport rather than the viewport - and since body
   * is not what the page scrolls, the header simply scrolled away with the
   * content. On html it does what was wanted, and position: sticky works.
   */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(26px, 4vw, 38px); }
h2 { font-size: clamp(21px, 3vw, 28px); }
h3 { font-size: 18px; }
p  { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--ink-faint); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
[dir="rtl"] .right { text-align: left; }
.flex { display: flex; gap: 10px; align-items: center; }
.flex-between { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.hidden { display: none !important; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 8px; } .mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; } .mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 26px; } .mb-3 { margin-bottom: 26px; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 14.5px; line-height: 1.2;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 4px 14px rgba(214,36,110,.28); }
.btn--primary:hover { background: var(--pink-dark); color: #fff; box-shadow: 0 6px 20px rgba(214,36,110,.36); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn--ghost:hover { background: var(--pink-light); color: var(--pink-dark); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--light:hover { border-color: var(--pink); color: var(--pink); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1da851; color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 7px 14px; font-size: 13px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* ---------------------------------------------------------------- header */

.topbar {
  background: var(--ink); color: #fff; font-size: 12.5px;
  padding: 7px 0; text-align: center;
}
.topbar a { color: var(--pink-accent); }
.topbar__inner { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }

/*
 * The offer strip and the main bar stick together, so the shop keeps its
 * navigation, search and free-delivery message in view no matter how far down
 * the page someone is. Wrapping them is what makes this work: pinning each one
 * separately would need the second to know the height of the first, and that
 * height changes with the width - one line on a desktop, two on a phone.
 */
/* The class is only there when the owner has sticky switched on, so the shop
   scrolls normally the rest of the time. */
.header-stack { position: relative; z-index: 100; }
.header-stack.is-sticky { position: sticky; top: 0; }

.header {
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__main { display: flex; align-items: center; gap: 18px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; color: var(--ink); flex: 0 0 auto; }
.logo:hover { color: var(--pink); }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--pink-accent));
  color: #fff; font-size: 20px; box-shadow: 0 3px 10px rgba(214,36,110,.3);
}
.logo__text small { display: block; font-size: 10px; font-weight: 500; color: var(--ink-faint); letter-spacing: .06em; text-transform: uppercase; }
/* The owner's uploaded logo, sized to the box the glyph used to fill. */
.logo__img { width: auto; max-width: 150px; height: 38px; object-fit: contain; }
.footer__logo .logo__img { height: 34px; max-width: 130px; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  padding: 8px 13px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: 14.5px;
}
.nav a:hover { background: var(--pink-light); color: var(--pink); }
.nav a.is-active { background: var(--pink); color: #fff; }

.header__actions { display: flex; gap: 6px; align-items: center; margin-inline-start: auto; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: transparent; border: 0; color: var(--ink);
  font-size: 17px; transition: background .15s;
  /* Never let a flex parent squeeze these. They are square touch targets, and a
     narrow phone squeezed them to 28px, which is below the comfortable minimum
     and put the icons off-centre. */
  flex: 0 0 auto;
}
.icon-btn:hover { background: var(--pink-light); color: var(--pink); }
.icon-btn__badge {
  position: absolute; top: 2px; inset-inline-end: 2px; min-width: 18px; height: 18px;
  border-radius: 9px; background: var(--pink); color: #fff; font-size: 10.5px; font-weight: 700;
  display: grid; place-items: center; padding: 0 4px; line-height: 1;
}

/* search */
.search { position: relative; flex: 1 1 auto; max-width: 460px; }
.header__searchrow { display: none; }
/*
 * The attribute is in the selector on purpose. A later rule further down
 * styles every input[type="search"] with a flat padding, and it was winning -
 * which quietly removed the room on the left that the magnifier icon sits in,
 * so the icon drew on top of the placeholder text at every screen size.
 * Matching the type here raises this above that rule whatever order they end
 * up in.
 */
.search input[type="search"] {
  width: 100%; padding: 10px 16px 10px 42px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--pink-soft); font-size: 14px;
}
[dir="rtl"] .search input[type="search"] { padding: 10px 42px 10px 16px; }
.search input:focus { outline: 0; border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px var(--pink-light); }
.search__icon { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); font-size: 15px; pointer-events: none; }
.suggest {
  position: absolute; top: calc(100% + 8px); inset-inline: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  overflow: hidden; z-index: 60; display: none;
}
.suggest.is-open { display: block; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 9px 14px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover { background: var(--pink-light); }
.suggest img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; }

/* dropdown menus */
.menu { position: relative; }
.menu__panel {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.menu:hover .menu__panel, .menu:focus-within .menu__panel { opacity: 1; visibility: visible; transform: none; }
.menu__panel a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink); font-size: 14px; }
.menu__panel a:hover { background: var(--pink-light); color: var(--pink); }

/* mobile drawer - app style */
.drawer-toggle { display: none; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-start: 0; width: min(320px, 86vw);
  background: #fff; z-index: 200; transform: translateX(-100%);
  transition: transform .28s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: var(--shadow-lg);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
[dir="rtl"] .drawer { transform: translateX(100%); }
.drawer.is-open { transform: none; }

.drawer__profile-banner {
  background: linear-gradient(135deg, #2b0a1b 0%, #5c1035 50%, #9e144f 100%);
  color: #fff;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  box-shadow: 0 4px 18px rgba(43, 10, 27, 0.15);
}
.drawer__profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--pink, #d6246e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}
.drawer__profile-info {
  flex: 1;
  min-width: 0;
}
.drawer__profile-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer__profile-sub {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer__profile-links {
  font-size: 12px;
  margin-top: 2px;
}
.drawer__profile-links a {
  color: #ffccd5;
  text-decoration: underline;
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  font-weight: 600;
}
.drawer__close-circle {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background 0.15s;
}
.drawer__close-circle:active {
  background: rgba(255, 255, 255, 0.35);
}

.drawer__body { padding: 16px 16px 36px; }

/* Quick Navigation Grid in Drawer */
.drawer__quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.drawer__quick-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px !important;
  border-radius: 12px;
  background: #fbf5f8;
  border: 1px solid #f3ddeb !important;
  text-decoration: none;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  text-align: center;
  transition: all .15s ease;
}
.drawer__quick-card:active {
  background: #fce7f3;
  transform: scale(0.96);
}
.drawer__quick-icon {
  font-size: 18px;
  line-height: 1;
}

/* Partner Portal Cards in Drawer */
.drawer__portal-card {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px !important;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #fbcfe8 !important;
  box-shadow: 0 3px 10px rgba(214, 36, 110, 0.05);
  margin-bottom: 9px;
  text-decoration: none;
  transition: all .15s ease;
}
.drawer__portal-card:active {
  background: #fff5f8;
  transform: scale(0.98);
}
.drawer__portal-card strong {
  font-size: 13px;
  color: var(--ink);
}

/* Category Accordion */
.drawer__cat-acc {
  margin-bottom: 6px;
  border-radius: 10px;
  background: #faf6f8;
  overflow: hidden;
}
.drawer__cat-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.drawer__cat-summary::-webkit-details-marker { display: none; }
.drawer__cat-acc[open] .drawer__chevron {
  transform: rotate(180deg);
}
.drawer__chevron {
  transition: transform .2s ease;
  color: var(--ink-faint);
}
.drawer__cat-sub {
  padding: 6px 14px 10px 24px;
  background: #fff;
  border-top: 1px solid #f3e5ee;
}
.drawer__sub-link {
  display: block;
  padding: 7px 0 !important;
  font-size: 12.5px;
  color: var(--ink-soft) !important;
  border-bottom: 1px dashed #f5e8f0 !important;
  text-decoration: none;
}
.drawer__sub-link:last-child {
  border-bottom: 0 !important;
}

/* Drawer list items */
.drawer__link-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  border-radius: 10px;
  color: var(--ink) !important;
  font-size: 13.5px;
  font-weight: 600 !important;
  text-decoration: none;
  border-bottom: 0 !important;
  margin-bottom: 3px;
  transition: background .15s;
}
.drawer__link-item:active {
  background: #fdf2f7;
  color: var(--pink) !important;
}

.drawer__group { margin-bottom: 18px; }
.drawer__group h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-faint);
  margin: 0 0 8px 4px;
  font-weight: 700;
}
.overlay {
  position: fixed; inset: 0; background: rgba(43,10,27,.45); z-index: 150;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- banners */

.hero { position: relative; background: linear-gradient(120deg, var(--pink-light), #fff 60%); overflow: hidden; }
/* padding-block, not the padding shorthand: this element also carries .wrap,
   which supplies the horizontal padding, and a shorthand here was wiping it so
   the headline sat hard against both edges of the screen. */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 34px; align-items: center; padding-block: 44px; }
.hero__title { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.1; margin-bottom: 14px; }
.hero__title em { color: var(--pink); font-style: normal; }
.hero__text { font-size: 16px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 20px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.hero__badge { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.hero__badge b { color: var(--ink); }
.hero__art { position: relative; }
.hero__art img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.strip { background: var(--pink); color: #fff; padding: 10px 0; }
.strip__inner { display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.strip a { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------- sections */

.section { padding: 46px 0; }
.section--tight { padding: 30px 0; }
.section--pink { background: var(--pink-soft); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section__head h2 { margin: 0; }
.section__head p { margin: 4px 0 0; color: var(--ink-faint); font-size: 14px; }
.section__more { color: var(--pink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.section__more:hover { text-decoration: underline; }

/* ------------------------------------------------------------- countdown */

.countdown { display: flex; gap: 8px; }
.countdown__box {
  min-width: 52px; padding: 8px 6px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff; text-align: center;
}
.countdown__num { display: block; font-size: 21px; font-weight: 800; line-height: 1.1; }
.countdown__lbl { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }

/* ------------------------------------------------- advance payment block */
/*
 * The accounts and the upload appear when the advance method is chosen. The
 * styling is deliberately plain and large: this is a step where a customer is
 * reading a number off the screen and typing it into a banking app on the
 * phone, and the number has to be unambiguous.
 */
.pay-block { margin-top: 12px; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; }
.pay-block__title { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 12px; }

.pay-accounts { display: grid; gap: 8px; }
.pay-acct {
  display: flex; align-items: flex-start; gap: 11px;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; cursor: pointer; background: #fff;
  transition: border-color .15s, background .15s;
}
.pay-acct:hover { border-color: var(--pink); background: var(--pink-light); }
.pay-acct.is-on { border-color: var(--pink); background: var(--pink-light); }
.pay-acct input { margin-top: 3px; flex: 0 0 auto; }
.pay-acct b { display: block; font-size: 15px; color: var(--ink); }
.pay-acct__name { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.pay-acct__num {
  display: inline-block; margin-top: 6px;
  font-family: ui-monospace, Consolas, monospace; font-size: 16px; font-weight: 700;
  letter-spacing: .04em; color: var(--pink-dark);
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px;
  user-select: all;
}
.pay-acct__note { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 6px; }

.pay-proof { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.pay-proof__label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 2px; }

/* A drop area, but still a real file input underneath: the styling is for
   people who recognise it, and the input is for everyone else. */
.pay-drop {
  display: grid; place-items: center; gap: 4px; text-align: center;
  border: 2px dashed var(--line); border-radius: 12px;
  padding: 20px 16px; cursor: pointer; color: var(--ink-soft);
  background: var(--pink-soft);
  min-height: 108px;
}
.pay-drop:hover { border-color: var(--pink); color: var(--pink); }
.pay-drop span { font-weight: 600; font-size: 14.5px; }
.pay-drop small { color: var(--ink-faint); font-size: 12.5px; }
/* The real control is kept in the layout but not drawn, so it stays keyboard
   reachable and screen readers still find it. */
.pay-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.pay-drop.has-file { border-color: var(--ok); border-style: solid; color: var(--ok); }

.err-text { color: var(--bad); font-size: 14px; }

@media (max-width: 560px) {
  .pay-block { padding: 14px; }
  /* The account number is the thing being copied, so it stays on one line and
     is allowed to be a little smaller rather than wrapping mid-number. */
  .pay-acct__num { font-size: 15px; letter-spacing: .02em; }
}

/* ------------------------------------------------------------ category tiles */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
  gap: 16px;
  justify-content: flex-start;
}
.cat-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f3ddeb;
  box-shadow: 0 4px 16px rgba(43, 10, 27, 0.04);
  transition: transform .22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
  max-width: 240px;
  width: 100%;
}
.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(214, 36, 110, 0.12);
  border-color: #f0c3d9;
}
.cat-tile__img {
  width: 100%;
  height: 170px;
  max-height: 180px;
  background: linear-gradient(135deg, #fdf2f7 0%, #fae6f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cat-tile__img img {
  max-width: 82%;
  max-height: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .35s ease;
}
.cat-tile:hover .cat-tile__img img {
  transform: scale(1.08);
}
.cat-tile__art {
  display: grid;
  place-items: center;
  color: var(--pink);
}
.cat-tile__body {
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid rgba(214, 36, 110, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cat-tile__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cat-tile__count {
  font-size: 12px;
  color: var(--pink);
  font-weight: 500;
}
.cat-tile--pink {
  background: #2b0b1e;
  border-color: #4a1535;
}
.cat-tile--pink .cat-tile__img {
  background: linear-gradient(145deg, #3d0c27 0%, #200516 100%);
}
.cat-tile--pink .cat-tile__art {
  color: #ffb8d7;
}
.cat-tile--pink .cat-tile__body {
  background: #2b0b1e;
  border-top-color: rgba(255, 255, 255, 0.08);
}
.cat-tile--pink .cat-tile__name {
  color: #fff;
}
.cat-tile--pink .cat-tile__count {
  color: #ff9ec7;
}

/* ------------------------------------------------------------ product card */

/* ============================================================ */
/*  ULTRA-LUXURY 3D PRODUCT CARDS                               */
/* ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 22px;
  perspective: 1200px;
}
.product-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pcard {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(214, 36, 110, 0.12);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px -6px rgba(43, 10, 27, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}
.pcard:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 22px 48px -10px rgba(214, 36, 110, 0.20),
    0 0 0 1px rgba(212, 175, 55, 0.28);
  border-color: rgba(212, 175, 55, 0.40);
}
.pcard:active {
  transform: scale(0.985);
}

/* Light sheen reflection overlay */
.pcard__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pcard:hover .pcard__sheen {
  opacity: 1;
}

/* Studio Photography Stage */
.pcard__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 90%, #fcedf4 0%, #ffffff 82%);
  border-radius: 19px 19px 0 0;
  display: block;
  text-decoration: none;
}
.pcard__pedestal {
  position: absolute;
  bottom: 12px;
  left: 15%;
  right: 15%;
  height: 22px;
  background: radial-gradient(ellipse at 50% 50%, rgba(214, 36, 110, 0.16) 0%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(4px);
}
.pcard__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(12px);
  filter: drop-shadow(0 10px 22px rgba(43, 10, 27, 0.10));
}
.pcard__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.pcard:hover .pcard__img--main {
  transform: scale(1.08) translateZ(22px);
}
.pcard.pcard--has-flip:hover .pcard__img--main {
  opacity: 0;
}
.pcard.pcard--has-flip:hover .pcard__img--hover {
  opacity: 1;
  transform: scale(1.08) translateZ(22px);
}

/* Quick View floating pill */
.pcard__view-pill {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  pointer-events: none;
  background: rgba(26, 0, 16, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  z-index: 3;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.pcard:hover .pcard__view-pill {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Flags / Badges */
.pcard__flags {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
}
.flag {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.flag--sale {
  background: linear-gradient(135deg, #d6246e 0%, #8a1347 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(214,36,110,0.35);
}
.flag--ar {
  background: linear-gradient(135deg, #7928ca 0%, #d6246e 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(121, 40, 202, 0.35);
}
.flag--new {
  background: linear-gradient(135deg, #1a0010 0%, #3d0c27 100%);
  color: #f5e6c8;
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.flag--hot {
  background: linear-gradient(135deg, #ff6b35 0%, #d4af37 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(255,107,53,0.3);
}
.flag--oos {
  background: #666;
  color: #fff;
}

/* Wishlist Button */
.pcard__wish {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #888;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.pcard__wish:hover {
  color: #d6246e;
  transform: scale(1.15);
  background: #fff;
  box-shadow: 0 6px 18px rgba(214,36,110,0.22);
}
.pcard__wish.is-on {
  color: #d6246e;
  background: #fff;
}

/* Card Body */
.pcard__body {
  padding: 13px 15px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcard__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.pcard__brand {
  font-size: 10.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b8175b;
}
.pcard__rate {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #777;
}
.pcard__star {
  color: #e5a100;
  font-size: 12px;
}
.pcard__name {
  font-size: 14px;
  font-weight: 750;
  color: #1a0010;
  margin: 0 0 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}
.pcard__name a:hover {
  color: #d6246e;
}
.pcard__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}
.pcard__now {
  font-size: 17px;
  font-weight: 850;
  color: #800038;
  letter-spacing: -0.2px;
}
.pcard__was {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}
.pcard__save {
  font-size: 10px;
  font-weight: 700;
  color: #0e8038;
  background: #eaf8ed;
  padding: 2px 7px;
  border-radius: 99px;
}
.pcard__sizes {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.pcard__size {
  min-width: 27px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #fdf5f9;
  font-size: 10.5px;
  color: #444;
  text-align: center;
  border: 1px solid #fae2ee;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.16s ease;
}
.pcard__size:hover {
  background: #d6246e;
  color: #fff;
  border-color: #d6246e;
  transform: translateY(-1px);
}
.pcard__size.is-oos {
  opacity: 0.35;
  text-decoration: line-through;
}
.pcard__foot {
  margin-top: 12px;
}
.pcard__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, #d6246e 0%, #b8175b 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(214, 36, 110, 0.25);
  border: 0;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcard__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 36, 110, 0.38);
  background: linear-gradient(135deg, #1a0010 0%, #3d0c27 100%);
}
.pcard__btn:active {
  transform: scale(0.97);
}



/* ------------------------------------------------------------- shop page */

.shop { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 26px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 12px); }
.fgroup { border-bottom: 1px solid var(--line); padding: 15px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup__head { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.fgroup__head::after { content: "−"; color: var(--ink-faint); font-size: 16px; }
.fgroup.is-closed .fgroup__head::after { content: "+"; }
.fgroup.is-closed .fgroup__body { display: none; }
.fgroup__body { padding-top: 11px; }
.fcheck { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; cursor: pointer; }
.fcheck input { width: 16px; height: 16px; accent-color: var(--pink); }
.fcheck__n { margin-inline-start: auto; color: var(--ink-faint); font-size: 12px; }
.sizes-row { display: flex; gap: 7px; flex-wrap: wrap; }
.size-pill {
  min-width: 40px; padding: 6px 8px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: #fff; font-size: 12.5px; text-align: center; color: var(--ink);
}
.size-pill:hover { border-color: var(--pink); }
.size-pill.is-on { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 600; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; cursor: pointer;
  box-shadow: 0 0 0 1.5px var(--line); position: relative; padding: 0;
}
.swatch.is-on { box-shadow: 0 0 0 2.5px var(--pink); }
/* The tick on a chosen colour swatch is drawn as an SVG, not the U+2713
   character this used to put in content:"". A glyph in content cannot be
   styled, scales badly on a high density screen, and is invisible to anything
   that reads the sheet as text. */
.swatch.is-on::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 62%;
}
.price-row { display: flex; gap: 8px; align-items: center; }
.price-row input { width: 100%; }
.rating-row { display: flex; flex-direction: column; gap: 3px; }
.rating-row a { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-soft); }
.rating-row a:hover, .rating-row a.is-on { color: var(--pink); font-weight: 600; }

.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.shop__count { font-size: 14px; color: var(--ink-soft); }
.select {
  padding: 9px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: #fff; font-size: 14px; min-width: 175px;
}
.select:focus { outline: 0; border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-light); }

.chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--pink-light); color: var(--pink-dark); font-size: 12.5px; font-weight: 600;
}
.chip button { background: none; border: 0; color: inherit; font-size: 15px; line-height: 1; padding: 0; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state__icon { font-size: 52px; margin-bottom: 12px; }
.empty-state h3 { margin-bottom: 6px; }

/* ------------------------------------------------------------ pagination */

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 11px; border-radius: var(--radius-sm);
  display: grid; place-items: center; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font-size: 14px;
}
.pager a:hover { border-color: var(--pink); color: var(--pink); }
.pager .is-on { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 700; }
.pager .is-gap { border: 0; background: none; color: var(--ink-faint); }

/* ---------------------------------------------------------- breadcrumb */

.crumbs { display: flex; gap: 7px; align-items: center; font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; padding: 15px 0; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--pink); }
.crumbs__sep { opacity: .5; }

/* --------------------------------------------------------- product page */

.pdp { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 36px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 12px); }
.gallery__main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--pink-soft); aspect-ratio: 1; border: 1px solid var(--line);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__main.is-zoom img { transform: scale(2.1); transform-origin: center; cursor: zoom-out; }
.gallery__zoomhint { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(255,255,255,.94); padding: 5px 11px; border-radius: 999px; font-size: 11.5px; color: var(--ink-soft); box-shadow: var(--shadow); }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); box-shadow: var(--shadow-md); display: grid; place-items: center; font-size: 16px; }
.gallery__nav--prev { inset-inline-start: 12px; }
.gallery__nav--next { inset-inline-end: 12px; }
.gallery__thumbs { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumb {
  width: 70px; height: 70px; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--line); background: var(--pink-soft); padding: 0; cursor: pointer;
}
.gallery__thumb.is-on { border-color: var(--pink); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp__brand { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--pink); font-weight: 700; }
.pdp__title { font-size: clamp(22px, 3vw, 31px); margin: 6px 0 8px; line-height: 1.2; }
.pdp__meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-faint); margin-bottom: 14px; }
.pdp__price { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; margin-bottom: 6px; }
.pdp__now { font-size: 29px; font-weight: 800; color: var(--pink); }
.pdp__was { font-size: 17px; color: var(--ink-faint); text-decoration: line-through; }
.pdp__tax { font-size: 12.5px; color: var(--ink-faint); }

.opt { margin: 20px 0; }
.opt__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.opt__label { font-weight: 600; font-size: 14.5px; }
.opt__chosen { color: var(--pink); font-weight: 600; }
.opt__sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 52px; padding: 9px 12px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500;
  color: var(--ink); position: relative;
}
.size-btn:hover:not(.is-oos) { border-color: var(--pink); color: var(--pink); }
.size-btn.is-on { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 700; }
.size-btn.is-oos { color: var(--ink-faint); cursor: not-allowed; background: var(--pink-soft); }
.size-btn.is-oos::after {
  content: ""; position: absolute; inset-inline-start: 6px; inset-inline-end: 6px; top: 50%;
  height: 1.5px; background: var(--ink-faint); transform: rotate(-12deg);
}
.color-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.color-dot {
  display: flex; align-items: center; gap: 8px; padding: 6px 13px 6px 7px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13.5px; color: var(--ink);
}
[dir="rtl"] .color-dot { padding: 6px 7px 6px 13px; }
.color-dot.is-on { border-color: var(--pink); background: var(--pink-light); font-weight: 600; }
.color-dot__chip { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.color-dot.is-oos { opacity: .42; }

.stock-line { display: flex; align-items: center; gap: 7px; font-size: 13.5px; margin: 4px 0 0; }
.stock-line__dot { width: 9px; height: 9px; border-radius: 50%; }
.stock-in  { color: var(--ok); }  .stock-in .stock-line__dot  { background: var(--ok); }
.stock-low { color: var(--warn); } .stock-low .stock-line__dot { background: var(--warn); }
.stock-out { color: var(--bad); }  .stock-out .stock-line__dot { background: var(--bad); }

/* The size/colour picker's own prompt, and the nudge when a choice is missing. */
.picker-hint {
  display: none; margin: 10px 0 0; padding: 9px 13px; border-radius: var(--radius-sm);
  background: #fff6e5; border: 1px solid #f5dcae; color: #8a5200; font-size: 13.5px; font-weight: 600;
}
.picker-hint.is-on { display: block; }

.opt.needs-attention { animation: nudge .5s ease; border-radius: var(--radius-sm); }
@keyframes nudge {
  0%, 100% { transform: none; }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.opt.needs-attention .opt__label { color: var(--bad); }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.qty button { width: 38px; height: 40px; border: 0; background: var(--pink-soft); color: var(--ink); font-size: 17px; }
.qty button:hover { background: var(--pink-light); color: var(--pink); }
.qty input { width: 50px; height: 40px; border: 0; text-align: center; font-weight: 600; }

.pdp__actions { display: flex; gap: 11px; flex-wrap: wrap; margin: 22px 0; }
.pdp__actions .btn { flex: 1 1 180px; }
.pdp__trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 22px 0; padding: 16px; background: var(--pink-soft); border-radius: var(--radius); }
.trust { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.trust__icon { font-size: 19px; }
.trust b { display: block; font-size: 13.5px; margin-bottom: 1px; }
.trust span { color: var(--ink-soft); }

.tabs { margin-top: 34px; }
.tabs__nav { display: flex; gap: 3px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.tabs__btn { padding: 11px 19px; border: 0; background: none; font-size: 14.5px; font-weight: 600; color: var(--ink-faint); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tabs__btn.is-on { color: var(--pink); border-bottom-color: var(--pink); }
.tabs__panel { padding: 22px 0; }
.tabs__panel p:last-child { margin-bottom: 0; }
.prose { max-width: 78ch; }
.prose h3 { margin-top: 20px; }
.prose ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 5px; }

/* reviews */
.review-summary { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 26px; align-items: center; margin-bottom: 26px; }
.review-score { text-align: center; }
.review-score__n { font-size: 44px; font-weight: 800; color: var(--pink); line-height: 1; }
.review-score__stars { font-size: 17px; color: #f5a623; margin: 7px 0; }
.review-bars { display: grid; gap: 6px; }
.review-bar { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.review-bar__track { flex: 1; height: 8px; background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.review-bar__fill { height: 100%; background: #f5a623; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.review__head { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; flex-wrap: wrap; }
.review__who { font-weight: 600; }
.review__when { color: var(--ink-faint); font-size: 12.5px; }
.verified { font-size: 11.5px; color: var(--ok); background: #e8f7f0; padding: 2px 8px; border-radius: 999px; }

/* size guide table */
.gtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.gtable th, .gtable td { padding: 9px 12px; border: 1px solid var(--line); text-align: center; }
.gtable th { background: var(--pink-light); color: var(--pink-dark); font-weight: 600; }
.gtable tbody tr:hover { background: var(--pink-soft); }

/* ------------------------------------------------------------ cart page */

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 28px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: start; padding: 10px 12px; border-bottom: 2px solid var(--line); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); }
.cart-table td { padding: 15px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cart-prod { display: flex; gap: 13px; align-items: center; }
.cart-prod img { width: 74px; height: 74px; object-fit: cover; border-radius: var(--radius-sm); background: var(--pink-soft); }
.cart-prod b { display: block; font-size: 14.5px; }
.cart-prod .var { font-size: 12.5px; color: var(--ink-faint); }
/*
  A flex child will not shrink below its own content unless it is told to, so
  the name used to keep its full width and spill over the price beside it - 46px
  of overlap on a 320px phone. min-width: 0 lets the text wrap inside the cell,
  and overflow-wrap: anywhere does the same for a name with no spaces in it.
*/
.cart-prod > div { min-width: 0; }
.cart-prod b, .cart-prod .var { overflow-wrap: anywhere; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(var(--header-h) + 12px); }
.summary h3 { margin-bottom: 15px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.sum-row--total { border-top: 2px solid var(--line); margin-top: 9px; padding-top: 14px; font-size: 19px; font-weight: 800; }
.sum-row--total span:last-child { color: var(--pink); }
.sum-row.is-discount { color: var(--ok); }
.ship-meter { background: var(--pink-soft); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 13px; margin: 11px 0; }
.ship-meter__track { height: 6px; background: var(--line); border-radius: 3px; margin-top: 7px; overflow: hidden; }
.ship-meter__fill { height: 100%; background: var(--ok); border-radius: 3px; }
.coupon-row { display: flex; gap: 8px; margin: 15px 0; }
.coupon-row input { flex: 1; }

/* ---------------------------------------------------------- form controls */

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .req { color: var(--bad); }
.input, input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], input[type="date"], input[type="search"],
input[type="url"], input[type="datetime-local"], select, textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; font-size: 14.5px;
}
.input:focus, input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-light);
}
textarea { min-height: 108px; resize: vertical; }
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23d6246e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 11px; padding-inline-end: 38px; }
[dir="rtl"] select { background-position: left 14px center; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; margin-bottom: 10px; background: #fff; }
.radio-card:hover { border-color: var(--pink-accent); }
.radio-card.is-on { border-color: var(--pink); background: var(--pink-light); }
.radio-card input { margin-top: 3px; accent-color: var(--pink); width: 17px; height: 17px; }
.radio-card b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.radio-card span { font-size: 13px; color: var(--ink-soft); }

/* ------------------------------------------------------------- notices */

.notice { padding: 13px 17px; border-radius: var(--radius-sm); margin-bottom: 17px; font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.notice--ok   { background: #e8f7f0; color: #0d6b47; border: 1px solid #b9e6d2; }
.notice--err  { background: #fdecec; color: #a01f24; border: 1px solid #f5c9c9; }
.notice--info { background: var(--pink-light); color: var(--pink-dark); border: 1px solid var(--line); }
.notice--warn { background: #fff6e5; color: #8a5200; border: 1px solid #f5dcae; }
.notice__icon { font-size: 17px; flex: 0 0 auto; }

/* -------------------------------------------------------------- footer */

.footer { background: var(--ink); color: #cfc0c9; margin-top: 60px; padding: 44px 0 0; }
.footer a { color: #e6d7de; }
.footer a:hover { color: var(--pink-accent); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; padding-bottom: 34px; }
.footer h4 { color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; font-size: 14px; }
/*
 * Footer links are inline by default, which makes them a 19px tall strip of
 * text. Padding turns each one into a proper tap target without changing how
 * the list looks, since the list is a stack either way.
 */
.footer li a { display: inline-block; padding: 9px 0; }
.footer li { margin-bottom: 0; }
.footer li + li { margin-top: 2px; }
.footer__logo { color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.footer__logo .logo__mark { width: 34px; height: 34px; font-size: 18px; }
.footer__about { font-size: 13.5px; line-height: 1.7; max-width: 34ch; }
.socials { display: flex; gap: 9px; margin-top: 15px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.09); display: grid; place-items: center; font-size: 15px; flex: 0 0 auto; }
.socials a:hover { background: var(--pink); transform: translateY(-2px); }
.pay-methods { display: flex; gap: 8px; margin-top: 15px; flex-wrap: wrap; }
.pay-methods span { padding: 5px 11px; border-radius: 6px; background: rgba(255,255,255,.09); font-size: 11.5px; font-weight: 600; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }

/* Legacy wa-float removed — managed in .wa-float-wrap */

/* -------------------------------------------------- mobile bottom nav */

.mbnav {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 99; display: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(214, 36, 110, 0.14);
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 24px rgba(43, 10, 27, 0.08);
}
.mbnav__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
}
.mbnav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px;
  color: #856877; font-size: 10.5px; font-weight: 600; position: relative;
  min-width: 0; overflow: visible; text-decoration: none;
  transition: all .18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mbnav a:active {
  transform: scale(0.92);
}
.mbnav a .mbnav__icon {
  font-size: 19px; line-height: 1; transition: transform .2s ease, color .2s ease;
}
.mbnav a.is-active {
  color: var(--pink);
  font-weight: 750;
}
.mbnav a.is-active .mbnav__icon {
  transform: translateY(-2px);
  color: var(--pink);
}
.mbnav a.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 16px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), #ff8fb1);
  border-radius: 99px;
  box-shadow: 0 1px 6px rgba(214,36,110,0.5);
}
.mbnav__badge {
  position: absolute; top: -1px; inset-inline-end: 20%;
  background: linear-gradient(135deg, #d6246e, #ff2d87);
  color: #fff; font-size: 9.5px; font-weight: 800; min-width: 17px; height: 17px;
  border-radius: 999px; display: grid; place-items: center; padding: 0 4px;
  border: 1.5px solid #fff; box-shadow: 0 2px 8px rgba(214,36,110,0.4);
  animation: badgePop .3s ease;
}
@keyframes badgePop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ------------------------------------------------------------- floating */

/* Sits above the WhatsApp button on the same side, so it cannot land on top of
   it. Both are hidden on phones, where the bottom nav already has the space. */
.to-top { position: fixed; left: 24px; bottom: 96px; z-index: 90; width: 42px; height: 42px;
  border-radius: 50%; background: var(--pink); color: #fff; border: 0; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.to-top.is-on { opacity: 1; visibility: visible; }
body { padding-bottom: 0; }

/* ------------------------------------------------------------ RESPONSIVE ARCHITECTURE (DESKTOP, TABLET, MOBILE) */

/* Universal Responsive Utilities */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}
.table-responsive table {
  width: 100%;
  min-width: 580px;
}
img, video {
  max-width: 100%;
  height: auto;
}
button, a, input, select, textarea {
  touch-action: manipulation;
}

/* Integrated Desktop Search (> 1024px) */
.search--desktop {
  display: block;
  position: relative;
  flex: 1 1 240px;
  max-width: 360px;
  margin: 0 16px;
}
.search--desktop input[type="search"] {
  width: 100%;
  padding: 9px 16px 9px 40px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--pink-soft);
  font-size: 13.5px;
  transition: all .2s ease;
}
.search--desktop input[type="search"]:focus {
  outline: 0;
  border-color: var(--pink);
  background: #fff;
  box-shadow: 0 0 0 3px var(--pink-light);
}
.search--desktop .search__icon {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  pointer-events: none;
}

/* TABLET & MOBILE (<= 1024px) */
@media (max-width: 1024px) {
  .nav { display: none !important; }
  .drawer-toggle { display: grid !important; place-items: center; }
  .search--desktop { display: none !important; }
  .header__searchrow { display: block !important; padding-bottom: 10px; }
  .header__searchrow .search { max-width: none; width: 100%; }

  .header__main { gap: 10px; }
  .header__actions { flex-wrap: nowrap; margin-inline-start: auto; }

  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; }
  .product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .gallery { position: static; }
  .pdp__trust { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px; }
  .hero__art img { max-height: 320px; width: 100%; object-fit: cover; }
}

/* SMARTPHONES & SMALL TABLETS (<= 768px) */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on input tap */
  input, select, textarea, .input {
    font-size: 16px !important;
  }

  body {
    font-size: 15px;
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Safe container horizontal padding */
  .wrap {
    padding: 0 14px;
  }

  /* Horizontal Topbar with smooth swipe, zero page blowout */
  .topbar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 0;
  }
  .topbar::-webkit-scrollbar { display: none; }
  .topbar__inner {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0 14px;
    width: max-content;
    margin: 0 auto;
  }
  .topbar__inner > * {
    white-space: nowrap;
  }
  .topbar__long { display: none; }

  /* Mobile Bottom Navigation Bar */
  .mbnav {
    display: block !important;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 99;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 18px rgba(43,10,27,.09);
  }
  .mbnav a {
    font-size: 11px;
    padding: 6px 2px;
  }

  /* Floating WhatsApp button placed safely above mobile bottom nav */
  .wa-float-wrap {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    left: auto !important;
  }
  .to-top { display: none !important; }

  /* Product details sticky buy bar placement */
  .pdp-sticky-bar {
    bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* 2-Column Product Grids */
  .product-grid, .product-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .section { padding: 28px 0; }
  .section__head { flex-wrap: wrap; gap: 8px; }
  .countdown { flex: 1 1 100%; justify-content: flex-start; }
  .countdown__box { min-width: 44px; flex: 1 1 0; }
  .countdown__num { font-size: 18px; }
  .pcard__foot { flex-direction: column; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
  .review-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; gap: 8px; }
  .footer li a { display: block; padding: 9px 0; }
  .shop__bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .select { width: 100%; }

  /* Responsive Drawer */
  .drawer {
    width: min(320px, 86vw);
  }

  /* Cart table mobile optimization */
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
  .cart-prod img { width: 58px; height: 58px; }
  .pdp__actions .btn { flex-basis: 100%; }

  /* Logo scaling on phone */
  .logo { gap: 8px; font-size: 17px; }
  .logo__mark { width: 34px; height: 34px; border-radius: 9px; }
  .logo__text small { display: none; }
  .header__main { height: auto; padding-block: 8px; }
}

/* PHONES <= 560px */
@media (max-width: 560px) {
  .topbar a.topbar__call,
  .topbar .topbar__sep:last-of-type { display: none; }
}

/* PHONES <= 420px */
@media (max-width: 420px) {
  .product-grid, .product-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
  .pcard__body { padding: 9px 9px 11px; }
  .pcard__name { font-size: 13px; line-height: 1.3; }
  .pcard__now { font-size: 14.5px; }
  .pcard__foot .btn { padding: 8px 6px; font-size: 11.5px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .cat-tile { max-width: none !important; }
  .cat-tile__img { height: 130px !important; max-height: 140px !important; }
  .icon-btn--alt { display: none; }
}

/* ULTRA-COMPACT PHONES <= 360px */
@media (max-width: 360px) {
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  .cart-prod { gap: 8px; }
  .cart-prod img { width: 46px; height: 46px; }
  .logo { font-size: 15.5px; }
}


/* ============================================================ */
/*  HOMEPAGE & STOREFRONT UX ENHANCEMENTS                      */
/* ============================================================ */

/* Top Announcement Bar */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1.4;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 101;
}
.announcement-bar__track {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.announcement-bar__content span {
  display: inline-block;
  vertical-align: middle;
}

/* Category Story Circles */
.story-circles-wrap {
  padding: 16px 0 6px;
  background: transparent;
}
.story-circles {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.story-circles::-webkit-scrollbar {
  display: none;
}
@media (min-width: 900px) {
  .story-circles {
    justify-content: center;
    gap: 22px;
  }
}
.story-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 74px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .2s ease;
}
.story-item:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.story-item__ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #d4af37, #d6246e, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .25s ease, transform .25s ease;
  position: relative;
}
.story-item:hover .story-item__ring {
  box-shadow: 0 4px 14px rgba(214, 36, 110, .35);
  transform: scale(1.05);
}
.story-item__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-item__avatar .story-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--pink-soft, #fdf2f7);
  color: var(--pink, #d6246e);
}
.story-item__label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fg, #222);
  margin-top: 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 76px;
  letter-spacing: -.1px;
}

/* ============================================================ */
/*  PREMIUM FLOATING WHATSAPP BUTTON (Fixed on Left Corner)    */
/* ============================================================ */

@keyframes waPulseGlow {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(0.92);
    opacity: 0;
  }
}

@keyframes waLiveBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.wa-float-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  z-index: 998;
  pointer-events: auto;
  transition: bottom 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s ease;
}
@media (max-width: 768px) {
  .wa-float-wrap {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    left: auto !important;
  }
}

.wa-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(18, 140, 126, 0.22);
  border-radius: 999px;
  padding: 5px 16px 5px 6px;
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(37, 211, 102, 0.22);
  text-decoration: none !important;
  color: #1e1e1e !important;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  cursor: pointer;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.16), 0 6px 20px rgba(37, 211, 102, 0.35);
  border-color: rgba(37, 211, 102, 0.45);
  text-decoration: none !important;
}

/* Pulsing radar aura behind icon button */
.wa-float__pulse {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.55) 0%, rgba(18, 140, 126, 0) 70%);
  animation: waPulseGlow 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Green circular icon container */
.wa-float__btn {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(37, 211, 102, 0.38);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.wa-float:hover .wa-float__btn {
  transform: rotate(-6deg) scale(1.06);
}

.wa-float__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.wa-float__icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* Live badge dot on the icon button */
.wa-float__badge-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #ffffff;
  box-shadow: 0 0 6px #25d366;
  animation: waLiveBlink 1.8s ease-in-out infinite;
}

/* Content typography on desktop */
.wa-float__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
  text-align: left;
}
.wa-float__title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.1px;
}
.wa-float__subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #128c7e;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
}
.wa-float__live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  animation: waLiveBlink 1.8s ease-in-out infinite;
}

/* Mobile responsive optimization */
@media (max-width: 640px) {
  .wa-float {
    padding: 0;
    border-radius: 50%;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .wa-float__content {
    display: none;
  }
  .wa-float__pulse {
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
  }
  .wa-float__btn {
    width: 48px;
    height: 48px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  }
  .wa-float__btn svg {
    width: 26px;
    height: 26px;
  }
  .wa-float__badge-dot {
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
  }
}

/* WhatsApp Order Button on PDP */
.btn--wa {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}
.btn--wa:hover {
  background: #1eb857 !important;
  color: #fff !important;
  border-color: #1eb857 !important;
}

/* Free Shipping Progress Meter */
.free-ship-meter {
  background: linear-gradient(135deg, #fff2f7 0%, #ffffff 100%);
  border: 1px solid rgba(214, 36, 110, .22);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(214, 36, 110, .05);
}
.free-ship-meter__text {
  font-size: 13.5px;
  color: var(--fg, #222);
  line-height: 1.4;
}
.free-ship-meter__unlocked {
  color: var(--pink-dark, #b51c5b);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.free-ship-meter__bar {
  height: 9px;
  border-radius: 99px;
  background: #e8dee3;
  overflow: hidden;
  margin-top: 9px;
  position: relative;
}
.free-ship-meter__fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #d6246e 0%, #ff5c8a 50%, #d4af37 100%);
  transition: width .5s cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 1px 4px rgba(214, 36, 110, .3);
}

/* PDP City Delivery ETA Calculator */
.pdp-delivery-calc {
  border: 1px solid var(--line, #eee);
  border-radius: 10px;
  padding: 12px 14px;
  background: #faf8f9;
  margin-top: 16px;
}
.pdp-delivery-calc__head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  margin-bottom: 9px;
  color: var(--fg, #222);
}
.pdp-delivery-calc select {
  font-size: 13px;
}
.pdp-eta-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid rgba(214, 36, 110, .22);
  border-radius: 8px;
  padding: 7px 11px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--pink-dark, #b51c5b);
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}

/* Sticky Mobile Bottom Buy Bar */
.pdp-sticky-bar {
  display: none;
}
@media (max-width: 768px) {
  .pdp-sticky-bar {
    display: block;
    position: fixed;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(214, 36, 110, 0.14);
    box-shadow: 0 -6px 20px rgba(43, 10, 27, 0.08);
    padding: 8px 14px;
    z-index: 94;
    transform: translateY(140%);
    transition: transform .32s cubic-bezier(.22,.61,.36,1);
  }
  .pdp-sticky-bar.is-visible {
    transform: translateY(0);
  }
  .pdp-sticky-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
  }
  .pdp-sticky-bar__prod {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
  }
  .pdp-sticky-bar__img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--line, #eee);
    flex-shrink: 0;
  }
  .pdp-sticky-bar__meta {
    min-width: 0;
    flex: 1;
  }
  .pdp-sticky-bar__name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fg, #222);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }
  .pdp-sticky-bar__price {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--pink, #d6246e);
    margin-top: 2px;
  }
  .pdp-sticky-bar__price s {
    font-size: 11px;
    color: var(--muted, #888);
    margin-left: 4px;
    font-weight: 400;
  }
  .pdp-sticky-bar__btn-wrap {
    flex-shrink: 0;
  }
  .pdp-sticky-bar__btn {
    white-space: nowrap;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(214, 36, 110, .28);
  }
}

/* ==========================================================================
   Slide-Over Mini Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.cart-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--bg, #ffffff);
  color: var(--fg, #111111);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.22);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line, #eeeeee);
}
.cart-drawer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg, #111);
}
.cart-drawer__close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted, #666);
  cursor: pointer;
  padding: 4px;
}
.cart-drawer__close:hover {
  color: var(--fg, #000);
}

.cart-drawer__meter {
  padding: 12px 20px;
  background: #fdf2f7;
  border-bottom: 1px solid var(--line, #f9dbe8);
}
.cart-drawer__meter-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink, #d6246e);
  margin-bottom: 6px;
  text-align: center;
}
.cart-drawer__meter-track {
  height: 6px;
  background: #f0c9dd;
  border-radius: 3px;
  overflow: hidden;
}
.cart-drawer__meter-fill {
  height: 100%;
  background: var(--pink, #d6246e);
  transition: width 0.4s ease;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  overscroll-behavior: contain;
}
.cart-drawer__empty {
  text-align: center;
  padding: 60px 20px;
}

.cart-drawer__item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line, #f0f0f0);
  align-items: center;
}
.cart-drawer__item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line, #eee);
  flex-shrink: 0;
}
.cart-drawer__item-details {
  flex: 1;
  min-width: 0;
}
.cart-drawer__item-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--fg, #111);
}
.cart-drawer__item-title a {
  color: inherit;
  text-decoration: none;
}
.cart-drawer__item-meta {
  font-size: 12px;
  color: var(--muted, #777);
  margin-bottom: 6px;
}
.cart-drawer__item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer__qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line, #ccc);
  border-radius: 5px;
  overflow: hidden;
  height: 28px;
}
.cart-drawer__qty-btn {
  background: none;
  border: none;
  width: 26px;
  height: 100%;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg, #333);
}
.cart-drawer__qty-val {
  font-size: 13px;
  font-weight: 600;
  width: 24px;
  text-align: center;
}
.cart-drawer__item-price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fg, #111);
}
.cart-drawer__item-remove {
  background: none;
  border: none;
  color: var(--muted, #999);
  cursor: pointer;
  padding: 4px;
  margin-left: 6px;
  font-size: 16px;
}
.cart-drawer__item-remove:hover {
  color: #ef4444;
}

.cart-drawer__foot {
  padding: 16px 20px;
  background: var(--bg, #ffffff);
  border-top: 1px solid var(--line, #eee);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}

/* ==========================================================================
   Live Recent Sales Popup (Social Proof / FOMO)
   ========================================================================== */
.sales-popup {
  position: fixed;
  left: 24px;
  bottom: 24px;
  right: auto;
  z-index: 990;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 16px;
  box-shadow: 0 16px 36px -6px rgba(26, 0, 16, 0.18), 0 0 0 1px rgba(212, 175, 55, 0.12);
  padding: 10px 14px 10px 10px;
  max-width: 320px;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}
.sales-popup.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}
.sales-popup.hidden {
  display: none !important;
}
.sales-popup__link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.sales-popup__img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: #fdf2f7;
  border: 1px solid rgba(214, 36, 110, 0.12);
  flex-shrink: 0;
}
.sales-popup__info {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.sales-popup__buyer {
  font-size: 11px;
  color: #666;
}
.sales-popup__buyer b {
  color: #1a0010;
  font-weight: 700;
}
.sales-popup__prod {
  font-size: 13px;
  font-weight: 700;
  color: #1a0010;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 1px 0 2px;
}
.sales-popup__time {
  font-size: 10.5px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sales-popup__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}
.sales-popup__close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: #777;
  font-size: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: background 0.18s, color 0.18s;
}
.sales-popup__close:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #111;
}
@media (max-width: 768px) {
  .sales-popup {
    left: 12px !important;
    right: auto !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    max-width: calc(100vw - 90px) !important;
    padding: 7px 10px 7px 8px !important;
    border-radius: 12px !important;
  }
  .sales-popup__img {
    width: 38px !important;
    height: 38px !important;
  }
  .sales-popup__prod {
    font-size: 11.5px !important;
  }
}

/* Sticky Buy Bar on Product Page Lift */
@media (max-width: 768px) {
  body.has-pdp-sticky .wa-float-wrap,
  body.has-pdp-sticky .sales-popup {
    bottom: calc(126px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.has-pdp-sticky .ai-launcher {
    bottom: calc(182px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ==========================================================================
   Spin the Lucky Wheel
   ========================================================================== */
.wheel-trigger {
  position: fixed;
  right: 24px;
  bottom: 140px;
  z-index: 1010;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #111111;
  color: #e2c077;
  border: 1.5px solid #d4af37;
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s, box-shadow 0.25s;
}
.wheel-trigger:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}
@media (max-width: 768px) {
  .wheel-trigger {
    right: 16px;
    bottom: calc(186px + env(safe-area-inset-bottom, 0px));
    padding: 7px 12px;
    font-size: 11.5px;
  }
}

.wheel-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.wheel-modal.hidden {
  display: none !important;
}
.wheel-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
}
.wheel-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 10;
}
.wheel-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #888;
  z-index: 20;
}
.wheel-modal__content {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  padding: 30px;
  gap: 24px;
}
@media (max-width: 680px) {
  .wheel-modal__content {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 16px;
  }
}
.wheel-modal__wheel-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}
#wheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  transition: transform 4.5s cubic-bezier(0.15, 0.9, 0.25, 1);
}
.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid #111;
  z-index: 15;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #111;
  color: #e2c077;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #d4af37;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.wheel-modal__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}
.wheel-modal__desc {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: #666;
  line-height: 1.5;
}
.wheel-result {
  text-align: center;
  padding: 16px 0;
}
.wheel-result.hidden {
  display: none !important;
}
.wheel-result__icon {
  font-size: 38px;
  margin-bottom: 6px;
}
.wheel-result__msg {
  margin: 0 0 12px;
  font-size: 17px;
  color: #111;
}
.wheel-coupon-box {
  display: inline-flex;
  align-items: center;
  background: #f7f7f8;
  border: 1.5px dashed #d4af37;
  border-radius: 8px;
  padding: 6px 12px;
  gap: 12px;
}
.wheel-coupon-box code {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #111;
}

@media print {
  .header, .footer, .mbnav, .wa-float, .to-top, .drawer, .overlay, .topbar, .pdp-sticky-bar, .cart-drawer, .sales-popup, .wheel-trigger { display: none !important; }
  body { background: #fff; padding: 0; }
}
