/* ==========================================================
   RS FASHION - SINGLE STYLESHEET FOR ALL PAGES
   Mobile-first. Full-width. One file, page-scoped blocks.
   ----------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Layout, typography & utilities
   4.  Buttons & form controls
   5.  Common header      (markup: js/common.js)
   6.  Common footer      (markup: js/common.js)
   7.  Cart drawer        (markup: js/cart.js)
   8.  Floating actions   (markup: js/common.js)
   9.  Home page          -> body.page-home
   10. Listing page       -> body.page-listing
   11. Product details    -> body.page-details
   12. Contact page       -> body.page-contact
   13. Modals             -> lightbox & size chart
   14. Motion & print

   HOW THIS FILE WORKS
   - Every base rule targets the smallest screen. Larger screens
     only ever ADD via `@media (min-width: …)`. Never write a
     max-width query here.
   - Breakpoints: 480 / 640 / 768 / 1024 / 1280 / 1600.
   - Page specific rules are scoped with the body class so the
     same class name can mean different things on different pages.
   - Site width is one variable: --wrap. Change it in one place.
   ========================================================== */

/* ==========================================================
   1. DESIGN TOKENS
   ========================================================== */
:root {
  /* --- Brand --- */
  --primary: #c2185b;
  --primary-hover: #9c0d43;
  --primary-deep: #7d0834;
  --primary-light: #fce4ec;
  --primary-soft: #fff5f8;
  --primary-tint: #fdeef3;
  --footer-bg: #fdeef3;
  --green: #25d366;
  --green-hover: #1ebd56;

  /* --- Ink & surfaces --- */
  --text-dark: #1d1418;
  --text-body: #55494e;
  --text-muted: #857b7f;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-alt: #fdf8fa;
  --surface-sunken: #faf6f7;

  --border-color: #f3dae4;
  --border-light: #ececec;
  --border-hair: rgba(194, 24, 91, 0.12);

  /* --- Elevation --- */
  --shadow-xs: 0 1px 2px rgba(29, 20, 24, 0.05);
  --shadow-sm: 0 2px 10px rgba(194, 24, 91, 0.07);
  --shadow-md: 0 8px 24px rgba(29, 20, 24, 0.08);
  --shadow-lg: 0 18px 48px rgba(29, 20, 24, 0.12);
  --shadow-primary: 0 8px 22px rgba(194, 24, 91, 0.24);

  /* --- Radius --- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* --- Type --- */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs:   clamp(10.5px, 0.28vw + 10px, 12px);
  --fs-sm:   clamp(12px,  0.25vw + 11.4px, 13.5px);
  --fs-base: clamp(13.5px, 0.3vw + 12.8px, 15.5px);
  --fs-md:   clamp(15px,  0.4vw + 14px, 17px);
  --fs-lg:   clamp(17px,  0.7vw + 15.5px, 21px);
  --fs-xl:   clamp(21px,  1.4vw + 17px, 30px);
  --fs-2xl:  clamp(26px,  2.4vw + 19px, 44px);
  --fs-3xl:  clamp(31px,  3.6vw + 20px, 60px);

  /* --- Space --- */
  --gap-xs: 6px;
  --gap-sm: 10px;
  --gap-md: 16px;
  --gap-lg: clamp(18px, 2vw, 28px);
  --gap-xl: clamp(26px, 3vw, 44px);
  --section-y: clamp(38px, 5.2vw, 84px);

  /* --- Layout --- */
  --wrap: 1760px;                        /* full-width cap: raise/lower here */
  --gutter: clamp(16px, 3.2vw, 56px);
  --header-h: 56px;                      /* sticky nav bar height */
  --tap: 44px;                           /* minimum touch target */

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Aliases kept so older rules / snippets keep reading the same */
  --primary-pink: var(--primary);
  --dark-pink: var(--primary-hover);
  --maroon-bar: var(--primary-hover);
  --dark-pink-bar: var(--primary-hover);
  --light-pink: var(--primary-soft);
  --light-pink-bg: var(--primary-soft);
  --light-bg: var(--surface-alt);
  --green-whatsapp: var(--green);
  --whatsapp-green: var(--green);
  --whatsapp-hover: var(--green-hover);
}

/* ==========================================================
   2. RESET & BASE
   ========================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--white);
  /* full-bleed art must never scroll the page sideways.
     `clip` wins where supported — unlike `hidden` it can't turn <body>
     into a scroll container and break the sticky nav. */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  line-height: 1.22;
  color: var(--text-dark);
  font-weight: 600;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              opacity 0.25s var(--ease);
}

ul { list-style: none; }

img,
svg,
video,
iframe {
  max-width: 100%;
  display: block;
}

img { height: auto; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: none; }

/* One consistent focus ring across the whole site */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

/* ==========================================================
   3. LAYOUT, TYPOGRAPHY & UTILITIES
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Edge-to-edge child inside a .container parent */
.full-bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.text-center { text-align: center; }
.mt-4 { margin-top: clamp(22px, 3vw, 38px); }

.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;
}

/* --- Section heading + flourish --- */
.section-header {
  margin-bottom: var(--gap-xl);
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text-dark);
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  height: 1px;
  width: clamp(38px, 8vw, 76px);
  background: linear-gradient(90deg, transparent, var(--primary));
}

.section-divider::after {
  background: linear-gradient(90deg, var(--primary), transparent);
}

.section-divider span {
  color: var(--primary);
  font-size: 11px;
  line-height: 1;
}

/* Reusable scroll-snap row — cheap, native, works everywhere */
.scroll-row {
  display: flex;
  gap: var(--gap-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row > * { scroll-snap-align: start; flex: 0 0 auto; }

/* ==========================================================
   4. BUTTONS & FORM CONTROLS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 11px 22px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 1.2;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.25s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

.btn-large {
  padding: 14px 38px;
  font-size: var(--fs-base);
  border-radius: var(--r-md);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-outline-full {
  display: flex;
  width: 100%;
  border-color: var(--border-color);
  color: var(--primary);
  background: transparent;
  min-height: 38px;
  padding: 9px 12px;
  margin-bottom: 8px;
  border-radius: var(--r-xs);
}

.btn-outline-full:hover {
  border-color: var(--primary);
  background-color: var(--primary-soft);
}

.btn-whatsapp {
  background-color: var(--green);
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: var(--green-hover);
  color: var(--white);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary);
  font-weight: 700;
}

.btn-light:hover { background-color: var(--primary-light); }

/* --- Quick view trigger, sits over every product card image --- */
.card-media { position: relative; }

.quickview-btn {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.quickview-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.product-card:hover .quickview-btn,
.quickview-btn:focus-visible {
  opacity: 1;
  transform: none;
}

/* Touch devices never hover - show a compact icon that is always there */
@media (hover: none) {
  .quickview-btn {
    opacity: 1;
    transform: none;
    left: auto;
    width: 38px;
    padding: 0;
    border-radius: 50%;
    font-size: 14px;
  }

  .quickview-btn .qv-text { display: none; }
}

/* Inputs are 16px on small screens so iOS never zooms the page on focus */
input,
select,
textarea {
  font-size: 16px;
  border-radius: var(--r-xs);
}

@media (min-width: 768px) {
  input,
  select,
  textarea { font-size: var(--fs-sm); }
}

/* ==========================================================
   5. COMMON HEADER  (markup: js/common.js)
   ========================================================== */

/* --- Brand logo --- */
.rs-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.rs-logo img {
  height: 42px;
  width: auto;
  /* the artwork is a JPG on white — multiply drops the box on tinted panels */
  mix-blend-mode: multiply;
}

@media (min-width: 640px) { .rs-logo img { height: 52px; } }
@media (min-width: 1024px) { .rs-logo img { height: 62px; } }

/* --- Top info bar --- */
.top-bar {
  background: linear-gradient(90deg, var(--primary-hover) 0%, var(--primary) 60%, #d42a72 100%);
  color: var(--white);
  font-size: var(--fs-xs);
  padding: 8px 0;
}

.top-bar a { color: var(--white); }
.top-bar a:hover { opacity: 0.82; }
.top-bar i { margin-right: 6px; }

.top-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  text-align: center;
}

.top-phone {
  white-space: nowrap;
  font-weight: 600;
}

.top-address,
.top-mails { display: none; }

.top-mails {
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.top-mails .divider { opacity: 0.5; }

@media (min-width: 768px) {
  .top-bar-container { justify-content: space-between; text-align: left; }
  .top-mails { display: flex; }
}

@media (min-width: 1280px) {
  .top-address {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* --- Main header --- */
.main-header {
  background-color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid #f6eef1;
}

.main-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.main-header .search-box {
  position: relative;
  display: flex;
  order: 3;                              /* mobile: search drops to its own row */
  flex: 1 1 100%;
}

.main-header .search-box input {
  width: 100%;
  /* type="search" - strip the WebKit inner shadow and rounded chrome */
  -webkit-appearance: none;
          appearance: none;
  padding: 11px 52px 11px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--surface-alt);
  outline: none;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.main-header .search-box input::placeholder { color: #b3a8ac; }

.main-header .search-box input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.08);
}

.main-header .search-box button {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  width: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}

.main-header .search-box button:hover { background-color: var(--primary-hover); }

/* --- Search auto-suggest (markup: js/common.js) --- */
.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 70;                           /* over the sticky nav bar (50) */
  display: none;
  max-height: min(62vh, 460px);
  overflow-y: auto;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  -webkit-overflow-scrolling: touch;
}

.search-suggest.open { display: block; }

.ss-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--r-xs);
  color: var(--text-dark);
  font-size: var(--fs-sm);
}

.ss-item:hover,
.ss-item.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.ss-item mark {
  background: transparent;
  color: var(--primary);
  font-weight: 700;
}

.ss-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ss-category .ss-text,
.ss-all .ss-text {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.ss-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-meta {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
}

.ss-product img {
  width: 40px;
  height: 50px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 5px;
  background: var(--surface-sunken);
}

.ss-category i,
.ss-all i {
  width: 26px;
  flex-shrink: 0;
  text-align: center;
  color: var(--primary);
  font-size: 13px;
}

.ss-tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 1px 7px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.ss-all {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #f4eef0;
  font-weight: 600;
}

.ss-empty {
  padding: 18px 12px;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.main-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-header .cart-btn,
.main-header .enquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.main-header .cart-btn:hover,
.main-header .enquiry-btn:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.main-header .cart-btn > span:last-child,
.main-header .enquiry-btn span { display: none; }

.main-header .cart-icon-wrapper {
  position: relative;
  display: inline-flex;
  font-size: 20px;
  color: var(--text-dark);
}

.main-header .cart-icon-wrapper .badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background-color: var(--primary);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--white);
}

.main-header .enquiry-btn i {
  color: var(--green);
  font-size: 23px;
}

@media (min-width: 640px) {
  .main-header .cart-btn > span:last-child,
  .main-header .enquiry-btn span { display: inline; }

  .main-header .header-actions { gap: 14px; }
}

@media (min-width: 1024px) {
  .main-header { padding: 16px 0; }

  .main-header-content { flex-wrap: nowrap; gap: 28px; }

  .main-header .search-box {
    order: 0;
    flex: 0 1 560px;
  }

  .main-header .header-actions { gap: 22px; }
}

/* --- Navigation (sticky on every screen) --- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.6) blur(10px);
  -webkit-backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--border-hair);
  box-shadow: 0 4px 18px rgba(194, 24, 91, 0.06);
}

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: var(--header-h);
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  cursor: pointer;
}

.nav-toggle i { margin: 0; font-size: 15px; }

.nav-toggle[aria-expanded="true"] i::before { content: '\f00d'; }   /* bars -> xmark */

.nav-bar .nav-links {
  display: none;
  flex-direction: column;
  align-items: stretch;
  max-height: calc(100dvh - var(--header-h) - 20px);
  overflow-y: auto;
  padding-bottom: 10px;
}

.nav-bar .nav-links.open { display: flex; }

.nav-bar .nav-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: var(--tap);
  padding: 10px 12px;
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--text-dark);
}

.nav-bar .nav-links li a i { font-size: 10px; }

.nav-bar .nav-links li a:hover,
.nav-bar .nav-links li.active a {
  color: var(--primary);
  background-color: var(--primary-soft);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .nav-bar .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 1.9vw, 38px);
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-bar .nav-links li a {
    position: relative;
    min-height: 0;
    padding: 17px 2px;
    border-radius: 0;
    font-size: var(--fs-xs);
    letter-spacing: 0.9px;
    background: none;
  }

  .nav-bar .nav-links li a:hover,
  .nav-bar .nav-links li.active a { background: none; }

  .nav-bar .nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s var(--ease);
  }

  .nav-bar .nav-links li a:hover::after,
  .nav-bar .nav-links li.active a::after { transform: scaleX(1); }
}

/* ==========================================================
   6. COMMON FOOTER  (markup: js/common.js)
   ========================================================== */
.footer {
  position: relative;
  background: linear-gradient(180deg, #fdeef3 0%, #fbe4ed 100%);
  padding-top: clamp(36px, 5vw, 64px);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, #f06a9e 45%, var(--green) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  padding-bottom: clamp(30px, 4vw, 50px);
}

.footer .rs-logo { margin-bottom: 14px; }
.footer .rs-logo img { height: 54px; }

.footer .brand-desc {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 16px;
  max-width: 46ch;
}

.footer .est-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-hair);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

.footer .est-text::before {
  content: '\f091';                      /* trophy */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
}

.footer .social-links { display: flex; gap: 11px; }

.footer .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 3px 10px rgba(194, 24, 91, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease);
}

.footer .social-links a.wa {
  background-color: var(--green);
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.28);
}

.footer .social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(194, 24, 91, 0.26);
}

.footer .social-links a.wa:hover { background-color: var(--green-hover); }

.footer-col h3 {
  position: relative;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.7px;
  margin-bottom: 22px;
  padding-bottom: 12px;
}

.footer-col h3::before,
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
}

.footer-col h3::before {
  left: 0;
  width: 34px;
  background: var(--primary);
}

.footer-col h3::after {
  left: 38px;
  width: 12px;
  background: rgba(194, 24, 91, 0.3);
}

.footer-col ul li { margin-bottom: 4px; }

.footer-col ul li a {
  position: relative;
  display: inline-block;
  padding: 6px 0 6px 18px;
  font-size: var(--fs-sm);
  color: var(--text-body);
}

.footer-col ul li a::before {
  content: '\f105';                      /* angle-right */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 12px;
  color: var(--primary);
  opacity: 0.6;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 23px;
}

.footer-col ul li a:hover::before {
  opacity: 1;
  transform: translateX(3px);
}

/* Contact column: icon chips instead of bare icons */
.footer .contact-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 16px;
}

.footer .contact-col ul li a { padding: 0; }
.footer .contact-col ul li a::before { content: none; }
.footer .contact-col ul li a:hover { padding-left: 0; }
.footer .contact-col a:hover { color: var(--primary); }

.footer .contact-col ul li i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(194, 24, 91, 0.12);
}

.sub-footer {
  background: linear-gradient(90deg, var(--primary-hover) 0%, var(--primary) 55%, #d42a72 100%);
  color: var(--white);
  font-size: var(--fs-xs);
  padding: 14px 0;
}

.sub-footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.sub-footer i { color: #ff9ec1; }

.sub-footer .credit a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sub-footer .credit a:hover { color: #ffd6e6; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-footer-content { flex-direction: row; text-align: left; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.5fr; }
}

/* ==========================================================
   7. CART DRAWER  (markup: js/cart.js)
   ========================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 20, 0.5);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 90;
  backdrop-filter: blur(2px);
}

.cart-overlay.show { opacity: 1; }

body.cart-open { overflow: hidden; }

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  background: var(--white);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s var(--ease);
  box-shadow: 6px 0 34px rgba(0, 0, 0, 0.2);
}

.cart-drawer.open { transform: translateX(0); }

@media (min-width: 480px) {
  .cart-drawer { width: 420px; max-width: 92vw; }
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--primary);
  color: var(--white);
  flex-shrink: 0;
}

.cart-head h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 9px;
}

.cart-head-count { font-weight: 400; opacity: 0.85; }

.cart-close {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}

.cart-close:hover { background: rgba(255, 255, 255, 0.3); }

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

.cart-list { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  display: flex;
  gap: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f4eef0;
}

.cart-item img {
  width: 76px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--r-xs);
  background: var(--surface-sunken);
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-info h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 9px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--r-xs);
  overflow: hidden;
}

.cart-qty button {
  width: 32px;
  height: 32px;
  background: var(--primary-soft);
  color: var(--text-dark);
  font-size: 15px;
  cursor: pointer;
}

.cart-qty button:hover { background: var(--primary-light); }

.cart-qty span {
  min-width: 32px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-remove {
  color: #c3b8bc;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
}

.cart-remove:hover { color: var(--primary); }

.cart-line-total {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.cart-empty {
  text-align: center;
  padding: 56px 20px;
  color: var(--text-muted);
}

.cart-empty i { font-size: 42px; color: var(--primary-light); margin-bottom: 14px; }
.cart-empty p { margin-bottom: 20px; }

.cart-form-intro {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 18px;
}

.cart-field { margin-bottom: 15px; }

.cart-field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cart-field input,
.cart-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-light);
  font-family: var(--font-body);
  color: var(--text-dark);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cart-field input:focus,
.cart-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.08);
}

.cart-field input.invalid,
.cart-field textarea.invalid { border-color: #e03c5a; background: #fff7f8; }

.cart-error {
  display: block;
  font-size: var(--fs-xs);
  color: #e03c5a;
  margin-top: 4px;
}

.cart-done { text-align: center; padding: 34px 6px; }

.cart-done-tick {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e8f8ec;
  color: #2fa84f;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-done h4 {
  font-size: var(--fs-lg);
  margin-bottom: 10px;
}

.cart-done p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 22px;
}

.cart-done .btn { width: 100%; margin-bottom: 10px; }

.cart-foot {
  flex-shrink: 0;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid #f2ecee;
  background: var(--white);
}

.cart-foot:empty { display: none; }

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 13px;
}

.cart-total strong {
  font-size: var(--fs-lg);
  color: var(--text-dark);
}

.cart-cta {
  width: 100%;
  min-height: var(--tap);
  padding: 13px;
  border-radius: var(--r-sm);
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
}

.cart-cta:hover { background: var(--primary-hover); }

.cart-back {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  cursor: pointer;
  padding: 6px 0 10px;
}

.cart-back:hover { color: var(--primary); }

/* ==========================================================
   8. FLOATING ACTIONS  (markup: js/common.js)
   ========================================================== */
.floating-actions {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 21px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease);
}

.float-btn:hover {
  color: var(--white);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.float-call { background-color: var(--primary); }
.float-call:hover { background-color: var(--primary-hover); }

.float-wa { background-color: var(--green); }
.float-wa:hover { background-color: var(--green-hover); }

.float-wa::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: rs-float-pulse 2.4s ease-out infinite;
}

@keyframes rs-float-pulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.float-label {
  position: absolute;
  right: 62px;
  white-space: nowrap;
  background: #2b2b2b;
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-xs);
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.float-label::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -4px;
  width: 8px;
  height: 8px;
  background: #2b2b2b;
  transform: translateY(-50%) rotate(45deg);
}

.float-btn:hover .float-label,
.float-btn:focus-visible .float-label {
  opacity: 1;
  transform: translateX(0);
}

@media (hover: none) {
  .float-label { display: none; }
}

@media (min-width: 768px) {
  .floating-actions { right: 22px; bottom: 22px; gap: 12px; }
  .float-btn { width: 54px; height: 54px; font-size: 23px; }
}

/* ==========================================================
   9. HOME PAGE
   ========================================================== */
.page-home .section { padding: var(--section-y) 0; }

/* --- Hero carousel --- */
.page-home .hero-banner {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #fffafc 0%, #fdebf2 100%);
  overflow: hidden;
  height: clamp(340px, 54vh, 440px);
}

.page-home .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s var(--ease), visibility 0.75s var(--ease);
}

.page-home .hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.page-home .hero-slide.active .hero-bg { animation: rs-hero-zoom 9s ease-out forwards; }

@keyframes rs-hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.page-home .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

/* Mobile: the artwork sits behind a soft scrim so the copy stays legible */
.page-home .hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(255, 244, 248, 0.95) 0%,
              rgba(255, 242, 247, 0.86) 52%,
              rgba(255, 240, 246, 0.32) 100%);
}

.page-home .slide-photo {
  background: linear-gradient(120deg, #fff6f9 0%, #fce4ee 100%);
}

.page-home .slide-photo .hero-bg { object-position: center 10%; }

.page-home .hero-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
}

.page-home .hero-content { width: 100%; }

.page-home .hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--primary);
  margin-bottom: 6px;
}

.page-home .hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.1;
  color: #150d10;
}

.page-home .hero-title .highlight { color: var(--primary); }

.page-home .title-divider {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 16px;
}

.page-home .title-divider .line {
  height: 2px;
  width: clamp(52px, 8vw, 110px);
  background: linear-gradient(90deg, var(--primary) 0%, rgba(194, 24, 91, 0.15) 100%);
  border-radius: 2px;
}

.page-home .title-divider .line.dark {
  background: linear-gradient(90deg, #1a1a1a 0%, #1a1a1a 70%, var(--primary) 100%);
  width: clamp(62px, 9.5vw, 130px);
}

.page-home .title-divider .ornament {
  color: var(--primary);
  font-size: 13px;
  line-height: 1;
}

.page-home .hero-subtitle {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: #3f3238;
  margin-bottom: clamp(16px, 2.6vw, 34px);
  max-width: 46ch;
}

.page-home .hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(10px, 1.6vw, 24px);
  margin-bottom: clamp(18px, 3vw, 40px);
}

.page-home .badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #3f3238;
}

.page-home .badge-item i {
  width: clamp(26px, 2.4vw, 34px);
  height: clamp(26px, 2.4vw, 34px);
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(10px, 1vw, 13px);
}

.page-home .btn-hero {
  padding: clamp(11px, 1.2vw, 15px) clamp(20px, 2.2vw, 34px);
  letter-spacing: 1px;
  border-radius: var(--r-md);
}

/* Floating "Comfort Meets Style" tag — decorative, so phones skip it
   rather than let it crowd the headline */
.page-home .hero-tag {
  display: none;
  position: absolute;
  top: 8px;
  right: var(--gutter);
  width: clamp(76px, 9vw, 130px);
  height: clamp(76px, 9vw, 130px);
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(226, 74, 143, 0.94) 0%, rgba(194, 24, 91, 0.94) 100%);
  color: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  box-shadow: 0 8px 22px rgba(194, 24, 91, 0.28);
}

.page-home .hero-tag .tag-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(11px, 1.15vw, 17px);
}

.page-home .hero-tag .tag-sub {
  font-family: var(--font-heading);
  font-size: clamp(9px, 0.95vw, 14px);
}

.page-home .hero-tag i {
  font-size: clamp(8px, 0.8vw, 12px);
  margin-top: 4px;
}

@media (min-width: 640px) {
  .page-home .hero-tag { display: flex; }
}

/* Arrows: pointer devices only — touch users swipe (js/main.js) */
.page-home .hero-arrow { display: none; }

.page-home .hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.page-home .hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(194, 24, 91, 0.32);
  cursor: pointer;
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.page-home .hero-dots button.active {
  width: 28px;
  border-radius: 6px;
  background: var(--primary);
}

@media (min-width: 1024px) {
  /* Never pair `aspect-ratio` with `max-height` here. Once the height is
     capped the browser derives the WIDTH back from the ratio, so the banner
     stops filling the viewport and leaves white space down the right side.
     Plain fluid heights + object-fit: cover instead. */
  .page-home .hero-banner {
    height: clamp(430px, 40vw, 600px);
  }

  .page-home .hero-slide::after { content: none; }
  .page-home .hero-bg { object-position: center; }

  .page-home .slide-photo .hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 47%;
    height: 100%;
    object-position: center 12%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  }

  .page-home .hero-content { width: min(48%, 640px); }
  .page-home .hero-tag { top: 9%; right: 0; }
  .page-home .hero-dots { bottom: 22px; }

  .page-home .hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-size: 15px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: opacity 0.3s var(--ease), background-color 0.3s var(--ease);
  }

  .page-home .hero-banner:hover .hero-arrow,
  .page-home .hero-arrow:focus-visible { opacity: 1; }

  .page-home .hero-arrow:hover { background: var(--primary); color: var(--white); }

  .page-home .hero-prev { left: 22px; }
  .page-home .hero-next { right: 22px; }
}

/* --- Features panel --- */
.page-home .features-bar {
  padding: clamp(18px, 2.4vw, 30px) 0 0;
  background-color: var(--white);
}

.page-home .features-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  background: linear-gradient(135deg, #fdeef3 0%, #fce6ef 100%);
  border: 1px solid var(--border-hair);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
}

.page-home .feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-home .feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(194, 24, 91, 0.12);
}

.page-home .feature-text h4 {
  font-size: var(--fs-base);
  margin-bottom: 2px;
}

.page-home .feature-text p {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-muted);
}

@media (min-width: 560px) {
  .page-home .features-panel { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .page-home .features-panel { grid-template-columns: repeat(4, 1fr); }
}

/* --- Shop by category (js/main.js turns the grid into a snap scroller) --- */
.page-home .categories-section {
  background: linear-gradient(180deg, #ffffff 0%, #fdf6f9 100%);
}

.page-home .categories-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.page-home .categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--gap-lg);
  width: 100%;
}

.page-home .category-card {
  display: block;
  text-align: center;
}

.page-home .cat-img-box {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #fdeef3 0%, #fbe0ea 100%);
  border: 2px solid #f3c9db;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.page-home .category-card:hover .cat-img-box {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.page-home .cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .category-card h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.page-home .category-card:hover h4 { color: var(--primary); }

.page-home .slider-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-size: 12px;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow-primary);
  transition: background-color 0.25s var(--ease);
}

.page-home .slider-btn:hover { background-color: var(--primary-hover); }
.page-home .prev-btn { left: -8px; }
.page-home .next-btn { right: -8px; }

.page-home .slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

/* js/main.js sets this when every category already fits on screen */
.page-home .categories-slider-wrapper.no-scroll .slider-btn { display: none; }

@media (min-width: 1024px) {
  .page-home .prev-btn { left: -16px; }
  .page-home .next-btn { right: -16px; }
}

/* --- Product cards (trending) --- */
.page-home .products-section { background-color: var(--surface-alt); }

.page-home .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: var(--gap-md);
}

.page-home .product-card {
  background: var(--white);
  border: 1px solid #f4eaee;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease),
              border-color 0.3s var(--ease);
}

.page-home .product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
  transform: translateY(-4px);
}

.page-home .product-img {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--surface-sunken);
}

.page-home .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.page-home .product-card:hover .product-img img { transform: scale(1.06); }

.page-home .product-info {
  padding: 14px 12px 16px;
  text-align: center;
}

.page-home .product-info h3 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 6px;
}

.page-home .product-info h3 a:hover { color: var(--primary); }

.page-home .product-info .price {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.page-home .product-info .sizes {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.page-home .action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.page-home .action-buttons .btn {
  min-height: 36px;
  font-size: 10px;
  padding: 7px 4px;
  border-radius: var(--r-xs);
  gap: 4px;
  letter-spacing: 0.3px;
}

@media (min-width: 640px) {
  .page-home .product-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (min-width: 1280px) {
  .page-home .product-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* --- Promo banner --- */
.page-home .promo-banner-section { padding: 0 0 var(--section-y); }

.page-home .promo-banner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-home .promo-bg {
  width: 100%;
  height: clamp(180px, 34vw, 260px);
  object-fit: cover;
  object-position: 75% center;
}

.page-home .promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #d62d78 0%, var(--primary) 100%);
  padding: clamp(22px, 4vw, 30px);
  color: var(--white);
}

.page-home .promo-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--fs-lg);
  margin-bottom: 6px;
}

.page-home .promo-content h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}

.page-home .promo-rule {
  display: block;
  width: clamp(60px, 12vw, 170px);
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  margin: clamp(10px, 1.4vw, 20px) 0;
}

.page-home .promo-tagline {
  font-size: var(--fs-md);
  margin-bottom: clamp(14px, 1.8vw, 26px);
}

.page-home .btn-light { align-self: flex-start; }

@media (min-width: 768px) {
  .page-home .promo-bg { height: auto; object-position: center; }

  .page-home .promo-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 48%;
    height: 100%;
    background: none;
    padding: 0 clamp(24px, 4vw, 64px);
  }
}

/* --- Why choose us --- */
.page-home .why-us-section { background-color: var(--white); }

.page-home .why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--gap-lg);
  text-align: center;
}

.page-home .why-card {
  padding: clamp(18px, 2.4vw, 28px) 18px;
  border: 1px solid #f6ecf0;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--white) 0%, var(--primary-soft) 100%);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.page-home .icon-circle {
  width: 64px;
  height: 64px;
  background: linear-gradient(150deg, #e2478f 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-primary);
}

.page-home .why-card h3 {
  font-size: var(--fs-md);
  margin-bottom: 8px;
}

.page-home .why-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* --- Instagram feed --- */
.page-home .instagram-section { background-color: var(--white); }

.page-home .insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--gap-sm);
}

.page-home .insta-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--r-sm);
  overflow: hidden;
  background-color: var(--surface-sunken);
}

.page-home .insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.page-home .insta-item i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 1;
}

.page-home .insta-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(194, 24, 91, 0.42);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.page-home .insta-item:hover img { transform: scale(1.08); }
.page-home .insta-item:hover::after,
.page-home .insta-item:hover i { opacity: 1; }

@media (min-width: 768px) {
  .page-home .insta-grid { gap: var(--gap-md); }
}

/* ==========================================================
   10. LISTING PAGE
   ========================================================== */
.page-listing { background-color: #fdfcfc; }

/* --- Hero / breadcrumb banner --- */
.page-listing .hero-banner {
  position: relative;
  background: linear-gradient(120deg, #fff6f9 0%, #fdeaf1 100%);
  padding: clamp(26px, 4vw, 54px) 0;
  overflow: hidden;
}

.page-listing .hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.22;
  background: url('../images/banner/b2.jpg') no-repeat right center;
  background-size: cover;
}

.page-listing .hero-content {
  position: relative;
  z-index: 1;
}

.page-listing .breadcrumbs {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.page-listing .breadcrumbs a:hover { color: var(--primary); }
.page-listing .breadcrumbs span { color: var(--text-dark); font-weight: 500; }

.page-listing .hero-content h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.page-listing .hero-content p {
  max-width: 56ch;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.page-listing .decorative-divider,
.page-details .decorative-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

.page-listing .decorative-divider {
  justify-content: flex-start;
  margin: 12px 0 14px;
}

.page-listing .decorative-divider .line,
.page-details .decorative-line .line {
  width: 50px;
  height: 1px;
  background-color: var(--primary);
}

.page-listing .decorative-divider i,
.page-details .decorative-line i {
  color: var(--primary);
  font-size: 10px;
}

@media (min-width: 1024px) {
  .page-listing .hero-photo {
    width: 46%;
    opacity: 1;
    background-size: auto 190%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  }
}

/* --- Layout --- */
.page-listing .main-layout {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  margin-block: var(--gap-lg) var(--section-y);
}

.page-listing .sidebar { width: 100%; }

.page-listing .filter-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  margin-bottom: var(--gap-md);
  overflow: hidden;
}

.page-listing .pink-header {
  background-color: var(--primary-soft);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 12px 16px;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border-color);
}

/* Mobile: categories read as a swipeable chip row, not a tall list */
.page-listing .category-list {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-listing .category-list::-webkit-scrollbar { display: none; }

.page-listing .category-list li { flex: 0 0 auto; }

.page-listing .category-list li a {
  display: block;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  white-space: nowrap;
  color: var(--text-muted);
}

.page-listing .category-list li.active a {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.page-listing .filter-group {
  padding: 16px;
  border-bottom: 1px solid #f7f1f3;
}

.page-listing .filter-group:last-child { border-bottom: none; }

.page-listing .filter-group h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.page-listing .price-slider-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-listing .slider {
  width: 100%;
  height: 24px;
  accent-color: var(--primary);
}

.page-listing .price-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 600;
}

.page-listing .filter-btn {
  align-self: stretch;
  min-height: 40px;
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 18px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.6px;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}

.page-listing .filter-btn:hover { background-color: var(--primary-hover); }

.page-listing .checkbox-container {
  display: block;
  position: relative;
  padding: 7px 0 7px 24px;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--text-body);
  user-select: none;
}

.page-listing .checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.page-listing .checkmark {
  position: absolute;
  top: 10px;
  left: 0;
  height: 15px;
  width: 15px;
  border: 1px solid #d8ccd1;
  border-radius: 3px;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-listing .checkbox-container:hover .checkmark { border-color: var(--primary); }

.page-listing .checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.page-listing .checkbox-container input:checked ~ .checkmark::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.page-listing .checkbox-container input:focus-visible ~ .checkmark {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.page-listing .view-more {
  display: inline-block;
  font-size: var(--fs-xs);
  color: var(--primary);
  font-weight: 600;
  margin-top: 6px;
}

.page-listing .promo-box {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary-tint) 100%);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-listing .promo-icon { font-size: 26px; color: var(--primary); }

.page-listing .promo-box strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--primary);
}

.page-listing .promo-box p { font-size: var(--fs-xs); color: var(--text-muted); }

@media (min-width: 640px) {
  .page-listing .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: var(--gap-md);
  }

  .page-listing .filter-card,
  .page-listing .promo-box { margin-bottom: 0; }

  .page-listing .filter-card:first-child,
  .page-listing .promo-box { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .page-listing .main-layout { flex-direction: row; }

  .page-listing .sidebar {
    display: block;
    width: clamp(230px, 18vw, 290px);
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }

  .page-listing .filter-card { margin-bottom: var(--gap-md); }

  .page-listing .category-list {
    display: block;
    padding: 0;
    overflow: visible;
  }

  .page-listing .category-list li { border-bottom: 1px solid #f7f1f3; }
  .page-listing .category-list li:last-child { border-bottom: none; }

  .page-listing .category-list li a {
    padding: 10px 16px;
    border: none;
    border-radius: 0;
    font-size: var(--fs-sm);
  }

  .page-listing .category-list li a:hover { color: var(--primary); background: var(--primary-soft); }

  .page-listing .category-list li.active a {
    background: var(--primary-soft);
    border-left: 3px solid var(--primary);
    color: var(--primary);
  }
}

/* --- Toolbar --- */
.page-listing .products-section { flex-grow: 1; min-width: 0; }

.page-listing .products-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--gap-md);
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.page-listing .toolbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-listing .sort-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-listing .sort-wrapper select {
  border: 1px solid var(--border-color);
  padding: 7px 10px;
  border-radius: var(--r-xs);
  outline: none;
  background-color: var(--white);
  cursor: pointer;
}

.page-listing .view-mode {
  display: none;
  align-items: center;
  gap: 5px;
}

.page-listing .view-mode button {
  background: var(--white);
  border: 1px solid var(--border-color);
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  cursor: pointer;
  color: var(--text-muted);
}

.page-listing .view-mode button.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (min-width: 768px) {
  .page-listing .view-mode { display: flex; }
}

/* --- Product grid --- */
.page-listing .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: var(--gap-md);
}

.page-listing .product-card {
  background: var(--white);
  border: 1px solid #f2e9ec;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease),
              border-color 0.3s var(--ease);
}

.page-listing .product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
  transform: translateY(-4px);
}

.page-listing .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: var(--white);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  z-index: 2;
}

.page-listing .badge-new { background-color: var(--primary); }
.page-listing .badge-best { background-color: var(--primary-deep); }

.page-listing .wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  z-index: 2;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-listing .wishlist-btn:hover { color: var(--primary); transform: scale(1.08); }

.page-listing .img-wrapper {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--surface-sunken);
}

.page-listing .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.page-listing .product-card:hover .img-wrapper img { transform: scale(1.06); }

.page-listing .card-details {
  padding: 13px 12px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-listing .product-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-listing .price {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.page-listing .price .mrp {
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 5px;
}

.page-listing .sizes {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.page-listing .sizes span { margin: 0 3px; }

.page-listing .card-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.page-listing .btn-add-cart,
.page-listing .btn-enquiry {
  flex: 1;
  min-height: 36px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 8px 4px;
  border-radius: var(--r-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.page-listing .btn-add-cart {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.page-listing .btn-add-cart:hover { background: var(--primary); color: var(--white); }

.page-listing .btn-enquiry {
  background: var(--green);
  border: 1px solid var(--green);
  color: var(--white);
}

.page-listing .btn-enquiry:hover { background: var(--green-hover); border-color: var(--green-hover); }

.page-listing .no-results {
  grid-column: 1 / -1;
  padding: 54px 20px;
  text-align: center;
  font-size: var(--fs-base);
  color: var(--text-muted);
  background: var(--primary-soft);
  border-radius: var(--r-md);
}

@media (min-width: 640px) {
  .page-listing .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (min-width: 1280px) {
  .page-listing .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}

/* List view (toolbar toggle — pointer screens only) */
@media (min-width: 768px) {
  .page-listing .product-grid.list-view { grid-template-columns: 1fr; }

  .page-listing .product-grid.list-view .product-card { flex-direction: row; }

  .page-listing .product-grid.list-view .card-media {
    width: 220px;
    flex-shrink: 0;
  }

  .page-listing .product-grid.list-view .img-wrapper {
    width: 100%;
    aspect-ratio: auto;
    height: 250px;
  }

  .page-listing .product-grid.list-view .card-details {
    text-align: left;
    justify-content: center;
    padding: 20px 24px;
  }

  .page-listing .product-grid.list-view .product-title { font-size: var(--fs-lg); }
  .page-listing .product-grid.list-view .price { font-size: var(--fs-lg); }
  .page-listing .product-grid.list-view .card-actions { margin-top: 14px; max-width: 320px; }
}

/* --- Pagination --- */
.page-listing .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--gap-xl);
}

.page-listing .page-link {
  width: var(--tap);
  height: var(--tap);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.page-listing .page-link:hover { background-color: var(--primary-soft); color: var(--primary); }

.page-listing .page-link.nav-arrow { color: var(--primary); }

.page-listing .page-link[aria-disabled="true"] {
  opacity: 0.35;
  pointer-events: none;
}

.page-listing .page-link.active,
.page-listing .page-link.active:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* --- Value props strip --- */
.page-listing .features-section {
  background-color: var(--white);
  padding: clamp(28px, 4vw, 46px) 0;
  border-top: 1px solid #f6eef1;
}

.page-listing .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap-lg);
}

.page-listing .feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-listing .feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-tint);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.page-listing .feature-text h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: 2px;
}

.page-listing .feature-text p {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-muted);
}

/* ==========================================================
   11. PRODUCT DETAILS PAGE
   ========================================================== */
.page-details .breadcrumb-container { padding-block: 14px; }

.page-details .breadcrumbs {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.page-details .breadcrumbs a:hover { color: var(--primary); }
.page-details .breadcrumbs span { color: var(--text-dark); font-weight: 500; }

/* --- Detail layout --- */
.page-details .product-detail-section {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
  margin-bottom: var(--section-y);
}

/* Mobile: big image first, thumbnails as a swipeable strip underneath */
.page-details .product-gallery {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  width: 100%;
}

.page-details .thumbnail-column {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-details .thumb-nav { display: none; }

.page-details .thumbnail-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-details .thumbnail-list::-webkit-scrollbar { display: none; }

.page-details .thumb {
  width: 68px;
  height: 84px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid var(--border-light);
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}

.page-details .thumb:hover { border-color: var(--primary); }

.page-details .thumb.active {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.1);
}

.page-details .main-image-wrapper {
  position: relative;
  flex-grow: 1;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  background-color: var(--surface-sunken);
}

.page-details .main-image-wrapper img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  cursor: zoom-in;                       /* opens the lightbox (js/details.js) */
}

.page-details .badge-bestseller {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary-deep);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

.page-details .zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.page-details .zoom-btn:hover { color: var(--primary); }

.page-details .product-info-column { width: 100%; }

.page-details .product-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: 10px;
}

.page-details .rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  margin-bottom: 16px;
}

.page-details .stars { color: var(--primary); }
.page-details .reviews-count,
.page-details .sold-count { color: var(--text-muted); }
.page-details .divider { color: #d8ccd1; }

/* --- Price --- */
.page-details .price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.page-details .current-price {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.page-details .original-price {
  font-size: var(--fs-md);
  color: var(--text-muted);
  text-decoration: line-through;
}

.page-details .discount-tag {
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

.page-details .tax-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 18px;
}

.page-details .info-rule {
  border: 0;
  border-top: 1px solid #f0e9eb;
  margin: 0 0 20px;
}

/* --- Options --- */
.page-details .option-group { margin-bottom: 20px; }

.page-details .option-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.page-details .option-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.page-details .color-swatches { display: flex; flex-wrap: wrap; gap: 10px; }

.page-details .swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.page-details .swatch.active {
  border-color: var(--primary);
  outline: 1px solid var(--primary);
  outline-offset: 1px;
}

.page-details .size-chart-link {
  margin-left: auto;
  font-size: var(--fs-sm);
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-details .size-buttons { display: flex; flex-wrap: wrap; gap: 8px; }

.page-details .size-btn {
  background: var(--white);
  border: 1px solid var(--border-light);
  min-width: 48px;
  min-height: 40px;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  border-radius: var(--r-xs);
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              background-color 0.2s var(--ease);
}

.page-details .size-btn:hover { border-color: var(--primary); color: var(--primary); }

.page-details .size-btn.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

/* --- Highlights --- */
.page-details .highlights-box { margin: 22px 0; }

.page-details .highlights-box h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-details .highlights-box ul li {
  font-size: var(--fs-sm);
  color: var(--text-body);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-details .highlights-box ul li i {
  color: var(--primary);
  font-size: 11px;
}

/* --- Purchase actions --- */
.page-details .purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.page-details .quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--r-xs);
  overflow: hidden;
}

.page-details .qty-btn {
  background: var(--primary-soft);
  width: 40px;
  height: var(--tap);
  cursor: pointer;
  font-size: 16px;
  color: var(--text-dark);
}

.page-details .qty-btn:hover { background: var(--primary-light); }

.page-details .quantity-selector input {
  width: 44px;
  height: var(--tap);
  text-align: center;
  border: none;
  outline: none;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.page-details .btn-add-to-cart,
.page-details .btn-whatsapp-enquiry {
  flex: 1 1 190px;
  min-height: var(--tap);
  color: var(--white);
  padding: 0 18px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--r-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.25s var(--ease);
}

.page-details .btn-add-to-cart { background-color: var(--primary); }
.page-details .btn-add-to-cart:hover { background-color: var(--primary-hover); }

.page-details .btn-whatsapp-enquiry { background-color: var(--green); color: var(--white); }
.page-details .btn-whatsapp-enquiry:hover { background-color: var(--green-hover); color: var(--white); }

/* --- Security banner --- */
.page-details .security-banner {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary-tint) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-details .shield-icon { font-size: 22px; color: var(--primary); }

.page-details .security-text strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-dark);
}

.page-details .security-text p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .page-details .product-detail-section { flex-direction: row; gap: 40px; }

  .page-details .product-gallery {
    flex-direction: row;
    width: 54%;
    gap: 15px;
  }

  .page-details .thumbnail-column {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .page-details .thumb-nav {
    display: block;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    padding: 4px;
  }

  .page-details .thumb-nav:hover { color: var(--primary); }

  .page-details .thumbnail-list {
    flex-direction: column;
    max-height: 620px;
    overflow: hidden;
  }

  .page-details .thumb { width: 78px; height: 96px; }

  .page-details .main-image-wrapper img { aspect-ratio: 4 / 5; }

  .page-details .product-info-column { width: 46%; }
}

/* --- Tabs & side features --- */
.page-details .tabs-features-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  margin-bottom: var(--section-y);
}

.page-details .tabs-and-content {
  width: 100%;
  background: var(--white);
  border: 1px solid #f2ebee;
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-details .tab-header {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #f0e9eb;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-details .tab-header::-webkit-scrollbar { display: none; }

.page-details .tab-btn {
  flex: 0 0 auto;
  padding: 14px 16px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.4px;
  white-space: nowrap;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-details .tab-btn:hover { color: var(--primary); }

.page-details .tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.page-details .tab-body { padding: 20px 18px; }

.page-details .desc-intro {
  font-size: var(--fs-sm);
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 15px;
}

.page-details .spec-list {
  list-style: disc;
  padding-left: 20px;
}

.page-details .spec-list li {
  font-size: var(--fs-sm);
  color: var(--text-body);
  margin-bottom: 8px;
}

.page-details .spec-list li strong { color: var(--text-dark); font-weight: 600; }

.page-details .side-features-grid {
  background-color: var(--surface-alt);
  border: 1px solid #f2ebee;
  border-radius: var(--r-md);
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px 20px;
  align-content: center;
  align-self: flex-start;
  width: 100%;
}

.page-details .feature-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.page-details .feature-box i {
  font-size: 21px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.page-details .feature-box h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 2px;
}

.page-details .feature-box p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .page-details .tabs-features-container { flex-direction: row; gap: 28px; }
  .page-details .tabs-and-content { flex: 0 0 56%; max-width: 56%; }
  .page-details .side-features-grid { flex: 1; grid-template-columns: 1fr 1fr; }
}

/* --- Related products --- */
.page-details .related-products-section { margin-bottom: var(--section-y); }

.page-details .section-title {
  text-align: center;
  margin-bottom: var(--gap-lg);
}

.page-details .section-title h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.page-details .carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.page-details .carousel-arrow {
  position: absolute;
  top: 38%;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  color: var(--primary);
}

.page-details .carousel-arrow:hover { background: var(--primary); color: var(--white); }
.page-details .carousel-arrow.prev { left: -14px; }
.page-details .carousel-arrow.next { right: -14px; }

.page-details .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: var(--gap-md);
  width: 100%;
}

.page-details .related-grid::-webkit-scrollbar { display: none; }

.page-details .product-card {
  border: 1px solid #f2e9ec;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-details .product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.page-details .img-container {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--surface-sunken);
}

.page-details .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.page-details .product-card:hover .img-container img { transform: scale(1.06); }

.page-details .card-info {
  padding: 12px 10px 14px;
  text-align: center;
}

.page-details .card-info .title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-details .card-info .price {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.page-details .card-info .sizes {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 11px;
}

.page-details .card-buttons { display: flex; gap: 6px; }

.page-details .btn-card-cart {
  flex-grow: 1;
  min-height: 36px;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  padding: 7px 0;
  border-radius: var(--r-xs);
  cursor: pointer;
}

.page-details .btn-card-cart:hover { background: var(--primary); color: var(--white); }

.page-details .btn-card-wa {
  min-height: 36px;
  background: var(--green);
  color: var(--white);
  padding: 7px 12px;
  border-radius: var(--r-xs);
  cursor: pointer;
  font-size: 13px;
}

.page-details .btn-card-wa:hover { background: var(--green-hover); }

@media (min-width: 640px) {
  .page-details .related-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (min-width: 1024px) {
  .page-details .carousel-arrow { display: flex; }
}

/* ==========================================================
   12. CONTACT PAGE
   ========================================================== */
.page-contact .hero-banner {
  background: linear-gradient(135deg, #fff2f5 0%, #fde8ed 100%);
  padding: clamp(30px, 4.5vw, 58px) 0 clamp(56px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}

.page-contact .hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.2;
  background: url('../images/banner/b2.jpg') no-repeat right 18%;
  background-size: cover;
}

.page-contact .hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-contact .hero-text-content { max-width: 100%; }

.page-contact .breadcrumbs {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-contact .breadcrumbs a:hover { color: var(--primary); }
.page-contact .breadcrumbs span { color: var(--text-dark); font-weight: 500; }

.page-contact .hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  line-height: 1.18;
  font-weight: 700;
}

.page-contact .hero-title .highlight { color: var(--primary); }

.page-contact .decorative-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}

.page-contact .decorative-divider .line {
  width: 40px;
  height: 1px;
  background-color: var(--primary);
}

.page-contact .decorative-divider i {
  color: var(--primary);
  font-size: 10px;
}

.page-contact .hero-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .page-contact .hero-photo {
    width: 50%;
    opacity: 1;
    background-size: auto 155%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  }

  .page-contact .hero-container { flex-direction: row; align-items: center; justify-content: space-between; }
  .page-contact .hero-text-content { max-width: 560px; }
}

/* --- Info cards --- */
.page-contact .info-cards-section {
  margin-top: clamp(-40px, -4vw, -30px);
  position: relative;
  z-index: 10;
  margin-bottom: var(--section-y);
}

.page-contact .info-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  background: var(--white);
  padding: clamp(18px, 2.4vw, 28px) clamp(6px, 1vw, 12px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.page-contact .info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
}

.page-contact .info-card + .info-card {
  border-top: 1px solid #f7ecf0;
}

.page-contact .icon-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(150deg, #e2478f 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(194, 24, 91, 0.24);
}

.page-contact .card-text h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 4px;
}

.page-contact .card-text p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.page-contact .card-text .bold-text {
  font-weight: 600;
  color: var(--text-dark);
}

.page-contact .card-text .sub-text {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  opacity: 0.85;
}

@media (min-width: 640px) {
  .page-contact .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .page-contact .info-card + .info-card { border-top: none; }
  .page-contact .info-card:nth-child(n + 3) { border-top: 1px solid #f7ecf0; padding-top: 20px; }
  .page-contact .info-card:nth-child(even) { border-left: 1px solid #f7ecf0; }
}

@media (min-width: 1024px) {
  .page-contact .info-cards-grid { grid-template-columns: repeat(4, 1fr); }
  .page-contact .info-card:nth-child(n + 3) { border-top: none; padding-top: 14px; }
  .page-contact .info-card + .info-card { border-left: 1px solid #f7ecf0; }
}

/* --- Form + map --- */
.page-contact .main-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  margin-bottom: var(--section-y);
}

.page-contact .section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-contact .title-flourish {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.page-contact .title-flourish::before,
.page-contact .title-flourish::after {
  content: '';
  height: 1px;
  width: 46px;
  background-color: var(--primary);
  opacity: 0.55;
}

.page-contact .title-flourish span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary);
}

.page-contact .contact-form-box {
  background: linear-gradient(160deg, #fdf1f5 0%, #fce8ef 100%);
  border: 1px solid var(--border-color);
  padding: clamp(20px, 3.4vw, 40px);
  border-radius: var(--r-lg);
}

.page-contact .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-contact .form-group { margin-bottom: 15px; }

.page-contact .form-group input,
.page-contact .form-group select,
.page-contact .form-group textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xs);
  outline: none;
  font-family: inherit;
  background-color: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-contact .form-group input:focus,
.page-contact .form-group select:focus,
.page-contact .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.09);
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder { color: #b3a8ac; }

.page-contact .form-group select { color: var(--text-dark); }
.page-contact .form-group textarea { resize: vertical; }

.page-contact .submit-btn {
  width: 100%;
  min-height: var(--tap);
  background-color: var(--primary);
  color: var(--white);
  padding: 14px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.6px;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-primary);
  transition: background-color 0.25s var(--ease);
}

.page-contact .submit-btn:hover { background-color: var(--primary-hover); }

.page-contact .map-box {
  display: flex;
  flex-direction: column;
}

.page-contact .map-container {
  position: relative;
  flex-grow: 1;
  min-height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-contact .map-container iframe { height: 100%; min-height: 320px; }

.page-contact .map-info-card {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  background: var(--white);
  padding: 13px 15px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-xs);
}

.page-contact .map-info-card strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.page-contact .map-info-card p {
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 6px;
}

.page-contact .map-info-card a {
  color: var(--primary);
  font-weight: 600;
}

@media (min-width: 560px) {
  .page-contact .form-row { grid-template-columns: 1fr 1fr; gap: 15px; }
  .page-contact .map-info-card { right: auto; max-width: 240px; }
}

@media (min-width: 1024px) {
  .page-contact .main-contact-layout { grid-template-columns: 1fr 1fr; }
  .page-contact .map-box { padding-top: 34px; }
  .page-contact .map-container,
  .page-contact .map-container iframe { min-height: 420px; }
}

/* --- Trust bar --- */
.page-contact .trust-bar-section {
  background: linear-gradient(180deg, #fdf1f5 0%, #fce8ef 100%);
  padding: clamp(26px, 3.6vw, 44px) 0;
}

.page-contact .trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4px;
}

.page-contact .trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 20px;
}

.page-contact .trust-item + .trust-item { border-top: 1px solid #f4dfe7; }

.page-contact .trust-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(150deg, #e2478f 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(194, 24, 91, 0.24);
}

.page-contact .trust-text h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: 3px;
}

.page-contact .trust-text p {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-muted);
}

@media (min-width: 560px) {
  .page-contact .trust-item + .trust-item { border-top: none; border-left: 1px solid #f4dfe7; }
  .page-contact .trust-item:nth-child(odd) { border-left: none; }
}

@media (min-width: 1120px) {
  .page-contact .trust-item:nth-child(odd) { border-left: 1px solid #f4dfe7; }
  .page-contact .trust-item:first-child { border-left: none; }
}

/* ==========================================================
   13. MODALS - image lightbox & size chart  (markup: js/details.js)
   ========================================================== */
body.rs-modal-open { overflow: hidden; }

.rs-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 3vw, 34px);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.rs-modal.open { opacity: 1; }

.rs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 8, 13, 0.84);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.rs-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.26s var(--ease);
}

.rs-modal.open .rs-modal-panel { transform: none; }

.rs-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.rs-modal-close:hover { background: rgba(255, 255, 255, 0.32); }

/* --- Lightbox --- */
.rs-lightbox .rs-modal-panel {
  max-width: min(1120px, 100%);
  height: 100%;
  align-items: center;
}

.rs-lightbox .rs-modal-close { top: -2px; right: -2px; }

.rs-lb-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rs-lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-sm);
  cursor: zoom-in;
  transition: transform 0.3s var(--ease);
  touch-action: pan-x pan-y pinch-zoom;
}

.rs-lb-img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

.rs-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.rs-lb-nav:hover { background: var(--primary); }
.rs-lb-prev { left: 0; }
.rs-lb-next { right: 0; }

.rs-lb-bar {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  width: 100%;
}

.rs-lb-count {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
}

.rs-lb-thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rs-lb-thumbs::-webkit-scrollbar { display: none; }

.rs-lb-thumb {
  width: 46px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--r-xs);
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.rs-lb-thumb:hover { opacity: 0.85; }

.rs-lb-thumb.active {
  opacity: 1;
  border-color: var(--primary);
}

@media (min-width: 768px) {
  .rs-lightbox .rs-modal-close { top: -6px; right: -6px; }
  .rs-lb-prev { left: -6px; }
  .rs-lb-next { right: -6px; }
  .rs-lb-thumb { width: 56px; height: 70px; }
}

/* --- Quick view popup --- */
.rs-quickview .rs-modal-panel {
  max-width: 960px;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.rs-quickview .rs-modal-close {
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.rs-quickview .rs-modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

/* Swapped out wholesale when you page to another product (js/quickview.js) */
.qv-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.qv-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.qv-media { background: var(--surface-sunken); }

.qv-main { position: relative; }

.qv-img {
  width: 100%;
  height: clamp(230px, 38vh, 340px);
  object-fit: cover;
}

.qv-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

/* Chevrons on the photo step through that product's images */
.qv-img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  font-size: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.qv-img-nav:hover {
  background: var(--primary);
  color: var(--white);
}

.qv-img-prev { left: 10px; }
.qv-img-next { right: 10px; }

.qv-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.qv-thumbs::-webkit-scrollbar { display: none; }

.qv-thumb {
  width: 52px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--r-xs);
  border: 2px solid transparent;
  opacity: 0.62;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.qv-thumb:hover { opacity: 0.9; }

.qv-thumb.active {
  opacity: 1;
  border-color: var(--primary);
}

.qv-info { padding: clamp(18px, 3vw, 32px); }

.qv-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin-bottom: 8px;
  padding-right: 44px;
}

.qv-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.qv-stars { color: var(--primary); letter-spacing: 1px; }
.qv-dot { opacity: 0.5; }

.qv-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.qv-mrp {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
}

.qv-off {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.qv-desc {
  font-size: var(--fs-sm);
  color: var(--text-body);
  margin-bottom: 18px;
}

.qv-opt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.qv-opt-label {
  min-width: 54px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-dark);
}

.qv-colors { display: flex; flex-wrap: wrap; gap: 8px; }

.qv-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.qv-color.active {
  border-color: var(--primary);
  outline: 1px solid var(--primary);
  outline-offset: 1px;
}

.qv-sizes { display: flex; flex-wrap: wrap; gap: 8px; }

.qv-size {
  min-width: 46px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--r-xs);
  background: var(--white);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              background-color 0.2s var(--ease);
}

.qv-size:hover { border-color: var(--primary); color: var(--primary); }

.qv-size.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.qv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 16px;
}

.qv-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--r-xs);
  overflow: hidden;
}

.qv-qty button {
  width: 38px;
  height: var(--tap);
  background: var(--primary-soft);
  color: var(--text-dark);
  font-size: 16px;
  cursor: pointer;
}

.qv-qty button:hover { background: var(--primary-light); }

.qv-qty-val {
  min-width: 42px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.qv-add,
.qv-wa {
  flex: 1 1 150px;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-xs);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}

.qv-add { background: var(--primary); }
.qv-add:hover { background: var(--primary-hover); }

.qv-wa { background: var(--green); }
.qv-wa:hover { background: var(--green-hover); color: var(--white); }

.qv-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qv-more:hover { color: var(--primary-hover); }
.qv-more i { transition: transform 0.25s var(--ease); }
.qv-more:hover i { transform: translateX(4px); }

/* Footer arrows step through the products shown on the page behind */
.qv-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f2ebee;
}

.qv-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xs);
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              background-color 0.2s var(--ease);
}

.qv-nav-btn:hover:not(:disabled) {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.qv-nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.qv-nav-pos {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (min-width: 860px) {
  .qv-grid { grid-template-columns: 1fr 1fr; }
  .qv-img { height: clamp(420px, 52vh, 520px); }
  .qv-thumb { width: 58px; height: 72px; }
}

/* --- Size chart --- */
.rs-sizechart .rs-modal-panel {
  max-width: 580px;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.rs-sizechart .rs-modal-close {
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.2);
}

.rs-sc-head {
  flex-shrink: 0;
  background: linear-gradient(120deg, var(--primary-hover) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 18px clamp(18px, 3vw, 28px);
}

.rs-sc-head h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--white);
}

.rs-sc-head p {
  font-size: var(--fs-xs);
  opacity: 0.85;
  margin-top: 2px;
}

.rs-sc-body {
  overflow-y: auto;
  padding: clamp(16px, 3vw, 26px);
  -webkit-overflow-scrolling: touch;
}

.rs-sc-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--r-sm);
}

.rs-sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

.rs-sc-table th,
.rs-sc-table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid #f4eef0;
}

.rs-sc-table thead th {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.rs-sc-table tbody th {
  font-weight: 700;
  color: var(--text-dark);
}

.rs-sc-table tbody tr:last-child th,
.rs-sc-table tbody tr:last-child td { border-bottom: none; }

/* Sizes this product actually stocks read as the primary rows */
.rs-sc-table tr.stocked { background: rgba(194, 24, 91, 0.05); }
.rs-sc-table tr.stocked th { color: var(--primary); }
.rs-sc-table tr.not-stocked { color: var(--text-muted); opacity: 0.72; }

.rs-sc-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 14px;
}

.rs-sc-legend .dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
  background: rgba(194, 24, 91, 0.14);
  border: 1px solid var(--border-color);
}

.rs-sc-notes {
  margin-top: 12px;
  padding-left: 18px;
  list-style: disc;
}

.rs-sc-notes li {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 5px;
}

/* ==========================================================
   14. MOTION & PRINT
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .page-home .hero-slide.active .hero-bg { animation: none; }
  .float-wa::after { animation: none; }
  .float-btn:hover { transform: none; }
}

@media print {
  .top-bar,
  .nav-bar,
  .floating-actions,
  .cart-drawer,
  .cart-overlay,
  .hero-arrow,
  .slider-btn { display: none !important; }

  body { background: #fff; color: #000; }
  .container { max-width: 100%; padding: 0; }
}
