/* ==========================================================================
   Fresh Anonna Sanitary Napkin — Website Template
   ========================================================================== */

:root {
  --teal: #00b0b3;
  --teal-dark: #00898c;
  --teal-light: #e6f9f9;
  --pink: #e10d79;
  --pink-dark: #b80a61;
  --pink-light: #ffe9f3;
  /* Button-specific pink from the reference design — deliberately a
     different shade from --pink, used only by .btn-pad. left_btn_part.png
     is recolored to match this exact value, so the tab/body/caps stay
     seamless. */
  --btn-pink: rgb(250, 0, 104);
  /* Coral-pink used for headings/copy on the Learn page, matching the
     reference design (web learn 2.psd) — a warmer, lighter shade than --pink. */
  --learn-pink: #ff476c;
  --dark: #26292b;
  --text: #4a4f52;
  --text-light: #7a8083;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --container: 1200px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-pink {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(225, 13, 121, 0.3);
}

.btn-pink:hover {
  background: var(--pink-dark);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 176, 179, 0.3);
}

.btn-teal:hover {
  background: var(--teal-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

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


/* Reusable dashed pill section title, mirrors the mockup's badge style */
.pill-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 50px;
  padding: 16px 46px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  border-radius: 50px;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  outline: 6px solid rgba(0, 176, 179, 0.12);
}

/* Metallic pink ribbon section title (Period Days) */
.ribbon-title {
  position: relative;
  display: inline-block;
  width: min(560px, 92%);
  aspect-ratio: 1012.09 / 144.39;
  margin: 0 auto 50px;
}

.ribbon-title-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.ribbon-title span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-head {
  text-align: center;
}

/* A bordered pill badge + a subtitle line underneath — reused for any
   section heading that needs this look (Product Range's "Choose Your
   Comfort", TVC's "Our Stories"), instead of the shared ".ribbon-title"
   banner used by other sections. */
.comfort-badge {
  position: relative;
  display: inline-block;
  min-width: 250px;
  padding: 14px 44px;
  border-radius: 100px;
  background: var(--white);
  color: var(--pink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
}

/* Border that fades out toward the bottom edge. */
.comfort-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--teal);
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(0deg, transparent 3px, #000);
  mask-image: linear-gradient(0deg, transparent 3px, #000);
}

/* Curved shadow sitting under the pill. */
.comfort-badge::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: calc(100% - 37px);
  height: 10px;
  transform: translateX(-50%);
  background: url('../images/headline_bottom_gred.png') no-repeat center / 100% 100%;
  pointer-events: none;
}

.comfort-subtitle {
  margin: 14px 0 0;
  color: var(--teal-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}

/* Subtitle + a "View All" link share one row so they can be centered
   against each other directly — the badge sits on its own centered row
   above, unrelated to this row's height. Shared by any section using the
   ".comfort-badge" heading (Product Range, TVC, …). */
.section-cta-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.section-cta-row .comfort-subtitle {
  grid-column: 2;
  margin: 0;
}

.section-cta-link {
  grid-column: 3;
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .section-cta-row {
    grid-template-columns: 1fr;
  }

  .section-cta-row .comfort-subtitle {
    grid-column: 1;
  }

  .section-cta-link {
    grid-column: 1;
    justify-self: center;
    margin-top: 12px;
  }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-light);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}

/* ==========================================================================
   Top utility bar
   ========================================================================== */

.top-bar {
  background: var(--dark);
  color: #cfd3d4;
  font-size: 12px;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.top-bar a:hover {
  color: var(--white);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
}

.header-wave {
  position: relative;
  padding: 22px 0 44px;
  background-image: url('../images/header.svg?v=2');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
}

.nav-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.logo {
  position: relative;
  z-index: 2;
}

.logo img {
  height: 102px;
  width: auto;
  margin-top: -28px;
  margin-bottom: -14px;
}

.nav-container>nav {
  margin-top: 10px;
  margin-bottom: -13px;
}

.nav-utility {
  position: absolute;
  top: 0;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 8px;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li:not(:last-child)::after {
  content: '|';
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  margin: 0 5px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--white);
  text-transform: uppercase;
  padding: 8px 7px;
  margin: 0;
  border-radius: 20px;
  transition: color 0.2s ease, background-color 0.2s ease, padding 0.2s ease, margin 0.2s ease;
}

.nav-links a:hover {
  color: var(--dark);
  background-color: var(--white);
  /* A box-shadow "halo" here left a faint seam where its rounded corners
     didn't quite line up with the pill's own — actually growing the box
     (padding) with a matching negative margin avoids that, and keeps the
     rendered pill perfectly seamless while the item's layout footprint
     stays effectively the same size, so neighbours don't shift. */
  padding: 14px 13px;
  margin: -6px;
}

/* "Products" dropdown — real product categories, only ones that actually
   have a product (see the header view composer), shown on hover. */
.nav-has-dropdown {
  position: relative;
}

/* On desktop this wrapper must not affect layout at all — "a" and the
   mobile-only toggle button need to behave exactly as if they were direct
   children of the li, same as every other nav item. */
.nav-item-row {
  display: contents;
}

.nav-dropdown-toggle {
  display: none;
}

.nav-dropdown {
  position: absolute;
  /* Sits flush against the link (no margin gap) so the dropdown's own
     box is contiguous with it — the extra top padding below gives the
     same visual breathing room without ever leaving the hoverable area
     while the mouse travels down from the link into the menu. */
  top: 100%;
  /* Left edge lines up with the "Products" hover pill (the link grows by
     6px each side on hover — see ".nav-links a:hover"), and the items use
     the same 13px inset, so the category names start in the same column
     as the "PRODUCTS" label. Centering on the li doesn't work: the li also
     holds the "|" separator, which pushed the box off to the right. */
  left: -6px;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 20px 0 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 20;
}

/* Small caret connecting the box visually to its trigger. */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 2px 0 0 0;
  transform: rotate(45deg);
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown,
.nav-has-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  /* ".nav-links li" (equal specificity, declared earlier) makes every li
     a flex row — including these, since they're still descendants of
     .nav-links. As a flex item with no grow, the <a> inside only sized
     itself to its own text instead of filling the row, so the :hover
     background stopped short of the box edges. Plain block layout lets
     its display:block anchor fill the full width again. */
  display: block;
  width: 100%;
}

.nav-dropdown li::after {
  content: none !important;
}

.nav-dropdown a {
  display: block;
  padding: 9px 13px;
  color: var(--dark);
  text-transform: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  /* ".nav-links a" (equal specificity, but declared earlier) now sets a
     pill border-radius for the top-level nav items — reset it here so it
     doesn't leak onto these full-width category rows. */
  border-radius: 0;
}

.nav-dropdown a:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.nav-search {
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 50px;
  padding: 0;
  width: 34px;
  max-width: 100%;
  overflow: hidden;
  transition: width 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.nav-search.active,
.nav-search:focus-within {
  background: var(--white);
  width: 240px;
  padding: 4px 4px 4px 18px;
}

.nav-search input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
  width: 0;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}

.nav-search.active input,
.nav-search:focus-within input {
  width: auto;
  opacity: 1;
}

.nav-search button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(160deg, #21c4c1 0%, var(--teal) 55%, var(--teal-dark) 100%);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-search button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.28),
    0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    inset 0 -2px 3px rgba(0, 0, 0, 0.18);
}

.nav-search button:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.25),
    inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.nav-search button svg {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.nav-cart {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(160deg, #21c4c1 0%, var(--teal) 55%, var(--teal-dark) 100%);
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease;
}

.nav-cart:hover {
  transform: translateY(-1px);
}

.nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--dark);
}

.nav-cart-item {
  display: none !important;
}

/* The hidden mobile cart item is the real last child, so the visible last
   link would otherwise get a trailing "|" on desktop. */
.nav-links li:nth-last-child(2)::after {
  content: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
}

/* ==========================================================================
   Hero banner
   ========================================================================== */

.hero {
  background: var(--dark);
}

.hero-media {
  position: relative;
  margin-top: -48px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: auto;
}

.hero-track {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  margin-top: 0;
  z-index: 5;
}

.hero-dots button {
  background: rgba(255, 255, 255, 0.55);
}

.hero-dots button.active {
  background: var(--white);
}

/* ==========================================================================
   Intro / 2X protection section
   ========================================================================== */

.intro-sec {
  position: relative;
  padding: 70px 0 40px;
  text-align: center;
  overflow: hidden;
}

.intro-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/pattern-leaves.svg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

.intro-sec>.container {
  position: relative;
  z-index: 1;
}

.intro-sec .comfort-badge {
  margin-bottom: 24px;
}

.intro-title {
  color: var(--pink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  max-width: 820px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.intro-subheading {
  color: var(--teal-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

.intro-sec p.sub {
  color: var(--teal-dark);
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
}

@media (max-width: 767px) {
  .intro-title {
    font-size: 28px;
  }

  .intro-subheading {
    font-size: 15px;
  }
}

/* Feature pill cards (ADL & Airlaid / Cottony Soft / Odor Control / UV) */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 74px 40px;
  max-width: 880px;
  margin: 56px auto 0;
}

.feature-card {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.feature-card .icon {
  position: relative;
  z-index: 3;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  margin-top: -40px;
  margin-right: -22px;
}

.icon-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
}

.icon-circle img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.feature-card .copy {
  position: relative;
  z-index: 1;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 22px 18px 60px;
  flex: 1;
}

.feature-tag {
  position: absolute;
  top: -32px;
  left: 71px;
  z-index: 2;
  margin: 0;
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(225, 13, 121, 0.35);
}

.feature-card .copy p {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Video section
   ========================================================================== */

.video-sec {
  padding: 60px 0 40px;
}

.video-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}

.video-text h3 {
  color: var(--pink);
  font-size: 26px;
  margin-bottom: 16px;
}

.video-text p {
  margin-bottom: 26px;
  font-size: 15px;
}

.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-frame img {
  width: 100%;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play span {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: transform 0.25s ease;
}

.video-frame:hover .video-play span {
  transform: scale(1.1);
}

/* ==========================================================================
   Product Range carousel
   ========================================================================== */

.products-sec {
  padding: 70px 0 40px;
  background: linear-gradient(180deg, #e9fbfb 0%, #ffffff 100%);
}

.product-carousel {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

/* Coverflow — every product is an absolutely-positioned sibling; JS gives
   each one a class for its distance from whichever is active (prev-1 /
   active / next-1), and this transform/opacity/z-index per distance is
   what produces the "center item large, one item peeking each side" look,
   matching carousel-slider.uiinitiative.com. Anything beyond that (no
   class) sits scaled down at center with opacity 0 and gets clipped by
   the wrap's overflow:hidden, so exactly 3 cards are ever visible. Only
   transform/opacity change between renders, so the 0.5s transition
   animates smoothly. */
.coverflow-wrap {
  position: relative;
  height: 360px;
  margin-bottom: 10px;
  overflow: hidden;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.coverflow-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  margin-left: -150px;
  background: none;
  box-shadow: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.5s ease, left 0.5s ease;
  transform: translate(0, -50%) scale(0.6);
}

.coverflow-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.coverflow-item .cf-media {
  background: none;
  padding: 22px 22px 0;
}

.coverflow-item img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.coverflow-item h4 {
  margin: 0;
  padding: 0 12px;
  background: none;
  color: var(--dark);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coverflow-item.active {
  left: 50%;
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1.35);
}

.coverflow-item.prev-1,
.coverflow-item.next-1 {
  opacity: 0.6;
  z-index: 4;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(0, -50%) scale(0.7);
}

.coverflow-item.prev-1 {
  left: 17%;
}

.coverflow-item.next-1 {
  left: 83%;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  z-index: 5;
}

.carousel-arrow:hover {
  background: var(--pink);
}

.carousel-arrow.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.carousel-arrow.prev {
  left: -10px;
}

.carousel-arrow.next {
  right: -10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #cfeceb;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active {
  background: var(--teal);
  width: 22px;
  border-radius: 6px;
}

/* ==========================================================================
   Campaigns
   ========================================================================== */

.campaigns-sec {
  padding: 60px 0 50px;
  background: linear-gradient(180deg, #fff, #ffe3ef 60%, #ffe3ef 100%);
}

.campaign-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 15px 0 35px;
}

.campaign-carousel {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
}

.campaign-track-wrap {
  overflow: hidden;
}

.campaign-track {
  display: flex;
  gap: 30px;
  padding: 10px 0 20px;
  transition: transform 0.45s ease;
}

.campaign-track .campaign-card {
  flex: 0 0 calc(50% - 15px);
  min-width: 0;
}

.campaign-card {
  background: var(--white);
  border: 1.5px solid var(--teal);
  border-radius: 36px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
}

.campaign-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.campaign-card .thumb {
  background: var(--white);
  padding: 16px 16px 6px;
  border-radius: 36px 36px 0 0;
}

.campaign-card .thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

.campaign-card .tag-wrap {
  padding: 4px 20px 2px;
}

.campaign-card .tag {
  display: inline-block;
  color: #009396;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-head);
}

.campaign-card .title-strip {
  background: var(--teal);
  padding: 11px 20px;
  margin-top: 4px;
  margin-left: -10px;
  margin-right: -10px;
  width: calc(100% + 20px);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  border-radius: 4px;
}

.campaign-card .title-strip h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-head);
}

.campaign-card .body {
  padding: 14px 20px 45px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.campaign-card .body p {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.campaign-card .pad-btn-wrapper {
  position: absolute;
  bottom: -15px;
  left: -12px;
  margin: 0;
  z-index: 5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.campaign-card .pad-btn-wrapper:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 14px rgba(250, 0, 104, 0.4));
}

/* Wing / Central tab extending top and bottom */
.campaign-card .pad-btn-wrapper::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 44% !important;
  transform: translate(-50%, -50%) !important;
  width: 52px !important;
  height: calc(100% + 14px) !important;
  background-color: rgb(250, 0, 104) !important;
  border-radius: 9px !important;
  z-index: 1 !important;
}

.campaign-card .pad-btn-wrapper .pad-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 30px;
  padding: 0 32px 0 14px;
  background-color: rgb(250, 0, 104);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  min-width: 108px;
  box-shadow: 0 3px 10px rgba(250, 0, 104, 0.25);
}

.campaign-card .pad-btn-wrapper .pad-btn::before,
.campaign-card .pad-btn-wrapper .pad-btn::after {
  display: none !important;
}

.campaign-card .pad-btn-wrapper .pad-btn .text-element {
  position: relative;
  z-index: 3;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.2px;
}

.campaign-card .pad-btn-wrapper .plus-element {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.campaign-card .pad-btn-wrapper .plus-element::before,
.campaign-card .pad-btn-wrapper .plus-element::after {
  content: '';
  position: absolute;
  background: #ffffff;
  border-radius: 1px;
}

.campaign-card .pad-btn-wrapper .plus-element::before {
  width: 9px;
  height: 2px;
}

.campaign-card .pad-btn-wrapper .plus-element::after {
  width: 2px;
  height: 9px;
}

.campaign-card .pad-btn-wrapper .plus-element .plus-icon {
  display: none;
}

/* ==========================================================================
   Doctor's guide
   ========================================================================== */

.doctors-sec {
  padding: 70px 0 40px;
}

.doctor-carousel {
  position: relative;
}

.doctor-track-wrap {
  overflow: hidden;
}

.doctor-track {
  display: flex;
  gap: 20px;
  padding: 10px 0 20px;
  transition: transform 0.45s ease;
}

.doctor-track .doctor-card {
  flex: 0 0 calc(20% - 16px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--teal);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #fafafa;
}

.doctor-card .photo {
  position: relative;
}

.doctor-card .photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.doctor-card .views {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.doctor-card .caption {
  flex: 1 0 auto;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 16px;
  line-height: 1.45;
}

/* ==========================================================================
   Our Branded TVCs (homepage video carousel)
   ========================================================================== */

.tvc-sec {
  padding: 70px 0 50px;
}

.tvc-header {
  text-align: center;
  margin-bottom: 36px;
}

.tvc-carousel {
  position: relative;
}

.tvc-track-wrap {
  overflow: hidden;
}

.tvc-track {
  display: flex;
  gap: 20px;
  padding: 4px 44px 10px;
  transition: transform 0.45s ease;
}

.tvc-track .video-catalog-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
}

@media (max-width: 1100px) {
  .tvc-track .video-catalog-card {
    flex-basis: calc(50% - 10px);
  }
}

@media (max-width: 560px) {
  .tvc-track {
    padding: 4px 30px 10px;
  }

  .tvc-track .video-catalog-card {
    flex-basis: 100%;
  }
}

/* ==========================================================================
   Period tracker
   ========================================================================== */

.tracker-sec {
  background: var(--teal);
  margin-top: 50px;
  padding: 40px 0;
  color: var(--white);
}

.tracker-sec .section-head {
  margin-top: -92px;
}

.tracker-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.tracker-text h2 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 16px;
}

.tracker-text p {
  color: #ffe1ef;
  margin-bottom: 26px;
  max-width: 480px;
}

.tracker-calendar {
  width: 280px;
  margin: 0 auto;
  color: var(--dark);
}

.tracker-calendar-head {
  background: var(--pink);
  color: var(--white);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tracker-calendar-head button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
}

.cal-body {
  background: var(--white);
  padding: 16px 14px 22px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.cal-grid .dow {
  display: none;
}

.cal-grid .day {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--pink);
  cursor: default;
}

.cal-grid .day.empty {
  background: var(--pink);
}

.cal-grid .day.period {
  background: var(--pink-dark);
  color: var(--white);
}

.cal-grid .day.fertile {
  background: #ff9fc7;
  color: var(--white);
}

.cal-grid .day.today {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.tracker-btn-wrap {
  position: relative;
  z-index: 2;
  margin-top: -18px;
  text-align: center;
  margin-top: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--teal);
  color: var(--white);
  margin-top: 40px;
  padding-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-brand img {
  height: 46px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: #d9f5f4;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #d9f5f4;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 14px;
  color: #d9f5f4;
  margin-bottom: 6px;
}

/* MGI logo to the left of the contact details, split by a thin line. The
   heading stays on the top row so it lines up with the other columns'. */
.footer-contact {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    ".    head"
    "logo details";
  column-gap: 18px;
  align-items: center;
  /* The footer grid stretches every column to the tallest one; keep the
     rows packed at the top instead of spreading that extra height. */
  align-content: start;
}

.footer-contact h4 {
  grid-area: head;
}

.footer-contact .footer-mgi-logo {
  grid-area: logo;
}

.footer-contact .footer-contact-details {
  grid-area: details;
}

.footer-mgi-logo {
  flex-shrink: 0;
  width: 80px;
  height: auto;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  box-sizing: content-box;
}

.footer-contact-details {
  min-width: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  font-size: 13px;
  color: #d9f5f4;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
  .header-wave {
    height: 96px;
  }

  .nav-container {
    align-items: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal-dark);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 460px;
    padding: 10px 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li:not(:last-child)::after {
    content: none;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-radius: 0;
  }

  /* ".nav-links li" is display:flex (row) by default (see base rule
     above), which is fine while the dropdown is absolutely positioned on
     desktop — but here it becomes position:static, so without this it
     lays out side-by-side with the "Products" link instead of stacking
     underneath it as a proper submenu. */
  .nav-has-dropdown {
    flex-direction: column;
    align-items: stretch;
  }

  /* Undo the desktop "display:contents" — on mobile this needs to be a
     real row so the label and the toggle arrow sit side by side. Width
     is explicit rather than relying on the parent's align-items:stretch,
     which doesn't reliably stretch a flex item that also happens to be a
     flex container itself. */
  .nav-item-row {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
  }

  .nav-item-row a {
    flex: 1;
  }

  .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .nav-has-dropdown.open .nav-dropdown-toggle {
    transform: translateY(-50%) rotate(180deg);
  }

  /* No hover on touch — the category list is a collapsible block that
     expands under "Products" when the arrow is tapped, instead of a
     hover flyout. */
  .nav-dropdown {
    position: static;
    max-height: 0;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.08);
    width: 100%;
    margin: 0;
    padding: 0;
    transition: max-height 0.25s ease;
  }

  .nav-has-dropdown.open .nav-dropdown {
    max-height: 260px;
    margin: 4px 0 0;
    padding: 4px 0;
    /* The base ".open" rule (used for the desktop touch tap-to-open case)
       sets transform: translateY(0) at equal specificity — without
       repeating it here, that rule would win by source order. */
    transform: none;
  }

  .nav-dropdown::before {
    content: none;
  }

  .nav-dropdown a {
    color: var(--white);
    text-align: center;
    padding: 8px 0;
  }

  .nav-dropdown a:hover {
    background: transparent;
    color: var(--dark);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-search {
    display: none;
  }

  .nav-utility .nav-cart {
    display: none;
  }

  .nav-cart-item {
    display: flex !important;
  }

  .nav-cart-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .nav-cart-item .nav-cart-badge {
    position: static;
    box-shadow: none;
  }

  .video-inner,
  .tracker-inner {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Needs the same ".doctor-track .doctor-card" specificity as the base
     rule — plain ".doctor-card" never won, so phones got 5 slivers. */
  .doctor-track .doctor-card {
    flex: 0 0 calc(33.333% - 14px);
  }
}

@media (max-width: 991px) {
  .campaign-home-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .campaign-home-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .campaign-track {
    padding: 10px 0 20px;
  }

  .campaign-track .campaign-card {
    flex-basis: 100%;
  }

  .product-slide .side-item {
    display: none;
  }

  .doctor-track .doctor-card {
    flex: 0 0 calc(50% - 10px);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .pill-title {
    font-size: 17px;
    padding: 13px 30px;
  }

  /* Two per view on phones — a full-width card made the photo ~440px tall. */
  .doctor-track {
    gap: 12px;
  }

  .doctor-track .doctor-card {
    flex: 0 0 calc(50% - 6px);
  }

  .doctor-card .caption {
    font-size: 12px;
    padding: 10px 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .carousel-arrow.prev {
    left: 0;
  }

  .carousel-arrow.next {
    right: 0;
  }
}

/* ==========================================================================
   Generic content page (About / CSR / Learn / Top News etc. — pages managed
   from the Admin Panel's Pages module have no dedicated section in the
   original one-page template, so this reuses the same tokens/spacing as the
   rest of the site).
   ========================================================================== */

.page-sec {
  padding: 60px 0 90px;
}

/* Pages that open straight with a breadcrumb (no hero banner above them)
   don't need the standard 60px top gap — it stacks on top of the header's
   own bottom whitespace and reads as too much dead space. */
.page-sec-tight {
  padding-top: 20px;
}

.page-sec .page-content {
  max-width: 860px;
  margin: 40px auto 0;
  font-size: 16px;
  color: var(--text);
}

.page-sec .page-content h2,
.page-sec .page-content h3 {
  font-family: var(--font-head);
  color: var(--dark);
  margin: 28px 0 14px;
}

.page-sec .page-content p {
  margin-bottom: 16px;
}

.page-sec .page-content ul,
.page-sec .page-content ol {
  margin: 0 0 16px 22px;
  list-style: disc;
}

.page-sec .page-content img {
  border-radius: var(--radius-md);
  margin: 20px 0;
}

/* ==========================================================================
   Products catalog page (/products, /products/{slug}) — a full listing +
   detail view beyond the homepage's teaser carousel. No equivalent section
   in the original one-page template, so this mirrors .campaign-card's
   look (border/shadow/radius tokens) for visual consistency.
   ========================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.product-catalog-card {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease;
}

.product-catalog-card:hover {
  transform: translateY(-4px);
}

.product-catalog-card .thumb {
  background: var(--white);
  padding: 18px;
}

.product-catalog-card .thumb img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.product-catalog-card .body {
  padding: 0 20px 24px;
  text-align: center;
}

.product-catalog-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-catalog-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.product-detail .thumb {
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.product-detail .thumb img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

/* Product image gallery — thumbnail strip on the left, big preview on the
   right; clicking a thumbnail swaps the preview, and the preview itself
   opens a zoomable lightbox (BigPicture) on click/tap. */
.product-detail .thumb.product-gallery {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 92px;
  max-height: 420px;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding-right: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) transparent;
}

.gallery-thumbs::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 10px;
}

.gallery-thumbs::-webkit-scrollbar-thumb:hover {
  background: var(--teal-dark);
}

.gallery-thumb-btn {
  display: block;
  width: 76px;
  height: 76px;
  padding: 4px;
  flex-shrink: 0;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb-btn:hover,
.gallery-thumb-btn.active {
  border-color: var(--teal);
}

.gallery-main {
  position: relative;
  flex: 1;
  min-width: 0;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

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

.wishlist-btn:hover {
  transform: scale(1.08);
}

.wishlist-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.wishlist-btn.active {
  color: var(--pink);
}

.wishlist-btn.active svg {
  fill: var(--pink);
  stroke: var(--pink);
}

.product-detail .info h1 {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 12px;
}

.product-detail .info .price {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 16px;
}

.product-rating-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-light);
}

.product-rating-line .stars {
  color: #e2e8f0;
  font-size: 15px;
  letter-spacing: 1px;
}

.product-rating-line .stars .filled {
  color: #f4b400;
}

.product-rating-line strong {
  color: var(--dark);
  font-weight: 700;
}

.product-rating-line:hover {
  text-decoration: underline;
}

.product-detail .info .spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.product-detail .info .spec-list li {
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 14px;
  color: var(--dark);
}

.product-detail .info .spec-list li strong {
  color: var(--teal-dark);
  font-weight: 700;
}

/* Breadcrumb trail (Home / Products / Product name) */
.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 12px 18px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-light);
}

.breadcrumb-trail a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal-dark);
  font-weight: 600;
  transition: color 0.2s ease;
}

.breadcrumb-trail a svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.breadcrumb-trail a:hover {
  color: var(--pink);
}

.breadcrumb-trail .sep {
  color: #b7d9d9;
  font-size: 15px;
}

.breadcrumb-trail .current {
  color: var(--dark);
  font-weight: 600;
}

.breadcrumb-trail .current,
.breadcrumb-trail a.truncate {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .breadcrumb-trail .current,
  .breadcrumb-trail a.truncate {
    max-width: 140px;
  }
}

/* Feature icons row — reuses the brand's own ADL / cottony / odour / UV
   icons and messaging (same claims already used in the product copy), so
   nothing here is a fabricated selling point. */
.feature-icons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 40px 0;
  padding: 24px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
}

.feature-icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.feature-icon-item img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.feature-icon-item strong {
  display: block;
  font-size: 13px;
  color: var(--dark);
}

.feature-icon-item span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

/* Quick buy row — quantity + total + Buy Now, submitting the same guest
   checkout form that sits lower on the page (via the `form` attribute), so
   there's no duplicate quantity state. */
.quick-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.btn-buy-now {
  flex: 1;
  min-width: 160px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-buy-now:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 160px;
  justify-content: center;
  background: var(--white);
  color: var(--teal-dark);
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-add-cart svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-add-cart:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid #eef1f2;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 150px;
  padding: 0 16px;
  border-left: 1px solid #eef1f2;
}

.trust-badge:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-badge svg {
  flex-shrink: 0;
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-badge span {
  display: flex;
  flex-direction: column;
}

.trust-badge strong {
  font-size: 13px;
  color: var(--dark);
}

.trust-badge small {
  font-size: 11.5px;
  color: var(--text-light);
}

@media (max-width: 560px) {
  .trust-badge {
    border-left: none;
    padding-left: 0;
    flex: 1 1 100%;
  }
}

/* Bottom product highlights band (full width, below the container) */
.product-highlights {
  margin-top: 60px;
  padding: 40px 0;
  background: var(--pink-light);
}

.product-highlights .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-highlight-item {
  text-align: center;
}

.product-highlight-item img {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
}

.product-highlight-item h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.product-highlight-item p {
  font-size: 13px;
  color: var(--text-light);
}

@media (max-width: 900px) {
  .feature-icons-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-highlights .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-icons-row {
    grid-template-columns: 1fr;
  }

  .product-highlights .container {
    grid-template-columns: 1fr;
  }
}

/* "About the Product" — image + tagline/description + a checklist built
   from the admin-entered specifications (real, per-product data; no
   checklist is shown if none were entered, rather than inventing one). */
.about-product-sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 60px 0;
  padding: 40px;
  background: var(--teal-light);
  border-radius: var(--radius-lg);
}

.about-product-media img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.about-product-copy .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}

.about-product-copy h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.about-product-copy > p {
  color: var(--text-light);
  margin-bottom: 18px;
}

.about-product-copy .check-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-product-copy .check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--dark);
}

.about-product-copy .check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

@media (max-width: 900px) {
  .about-product-sec {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

/* ==========================================================================
   Customer Reviews — real, admin-moderated data only. A review is never
   shown here until it's approved in Admin → Reviews.
   ========================================================================== */

.reviews-sec {
  margin: 60px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: stretch;
}

.reviews-summary {
  background: var(--white);
  border: 1px solid #eef1f2;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
}

.reviews-summary-standalone {
  max-width: 320px;
  margin: 0 auto 40px;
  text-align: center;
}

.rs-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}

.rs-average {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.rs-stars {
  color: #e2e8f0;
  font-size: 16px;
  letter-spacing: 2px;
  margin: 8px 0;
}

.rs-stars .filled {
  color: #f4b400;
}

.rs-count {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 18px;
}

.rs-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
}

.rs-bar-label {
  flex: 0 0 28px;
}

.rs-bar-track {
  flex: 1;
  height: 6px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
}

.rs-bar-fill {
  height: 100%;
  background: #f4b400;
  border-radius: 10px;
}

.rs-bar-pct {
  flex: 0 0 32px;
  text-align: right;
}

.rs-empty p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 10px;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reviews-list-standalone {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.review-card {
  position: relative;
  background: var(--white);
  border: 1px solid #eef1f2;
  border-radius: var(--radius-md);
  padding: 18px;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent #f4f6f7 transparent transparent;
}

.review-card-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
}

.review-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  position: relative;
}

.review-avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Review-card avatars get a varied pastel background (inline style, for
   visual variety) — switch to dark text so it stays readable on light fills. */
.review-card .review-avatar {
  color: var(--teal-dark);
}

.review-who {
  flex: 1;
  min-width: 0;
}

.review-who strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
}

.verified-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 1px 8px;
  border-radius: 10px;
  margin-top: 2px;
}

.review-date {
  font-size: 11px;
  color: var(--text-light);
  white-space: nowrap;
}

.review-stars {
  color: #e2e8f0;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.review-stars .filled {
  color: #f4b400;
}

.review-title {
  font-size: 14px;
  color: var(--dark);
  margin: 0 0 6px;
}

.review-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.5;
}

.reviews-view-all {
  text-align: center;
  margin-top: 24px;
}

.btn-teal-outline,
.btn-review-pink {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-teal-outline {
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  background: transparent;
  padding: 10px 28px;
}

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

.btn-review-pink {
  background: var(--pink);
  color: var(--white);
}

.btn-review-pink:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.btn-review-pink.btn-sm {
  padding: 8px 22px;
  font-size: 12.5px;
}

.reviews-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

/* Write a review */
.write-review-box {
  margin-top: 32px;
  background: #fafbfc;
  border: 1px solid #eef1f2;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.write-review-box h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.write-review-box .sub {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Single-row write-a-review form: avatar+name, rating, textarea and the
   submit button all sit side by side, wrapping only on narrow screens. */
.review-form-single-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-form-name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 220px;
}

.review-form-name .review-avatar {
  width: 38px;
  height: 38px;
  font-size: 15px;
}

.review-form-name input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
}

.review-form-rating {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.review-form-rating label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.review-form-rating label .req {
  color: var(--pink);
}

.review-form-name input[type="text"]:focus,
.review-form-single-row textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.review-form-single-row textarea {
  flex: 1;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  resize: vertical;
}

.review-form-single-row .btn-review-pink {
  flex-shrink: 0;
  padding: 14px 26px;
}

.star-rating-input {
  display: inline-flex;
  gap: 4px;
  cursor: pointer;
}

.star-rating-input .star-choice {
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.5px;
}

.star-rating-input .star-choice.filled {
  fill: var(--pink);
}

.form-alert.success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .reviews-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-list {
    grid-template-columns: 1fr;
  }

  .review-form-single-row {
    flex-wrap: wrap;
  }

  .review-form-name {
    flex: 1 1 100%;
  }

  .review-form-rating {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .review-form-single-row textarea {
    flex: 1 1 100%;
  }

  .review-form-single-row .btn-review-pink {
    flex: 1 1 100%;
  }
}

.related-products {
  margin-top: 70px;
}

.related-products-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related-card {
  display: block;
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.related-card-thumb img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.related-card-body h4 {
  font-size: 14px;
  color: var(--dark);
  margin: 10px 0 2px;
}

.related-card-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.related-card-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 6px;
}

.related-card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-light);
}

.related-card-rating .stars {
  color: #e2e8f0;
  font-size: 13px;
  letter-spacing: 1px;
}

.related-card-rating .stars .filled {
  color: #f4b400;
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Product order form (guest checkout — no login required)
   ========================================================================== */

.order-box {
  max-width: 640px;
  margin: 60px auto 0;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.order-box .section-head {
  margin-bottom: 24px;
}

.order-box-standalone {
  margin-top: 10px;
}

.order-product-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
}

.order-product-summary img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.order-product-summary-info h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.order-product-summary-info .price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--pink);
  font-size: 14px;
}

/* ==========================================================================
   Cart page
   ========================================================================== */

.cart-heading {
  font-size: 24px;
  margin-bottom: 24px;
}

.cart-heading span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 8px;
}

.cart-empty {
  text-align: center;
  padding: 70px 0;
  color: var(--text-light);
}

.cart-empty svg {
  fill: none;
  stroke: #d6dde0;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 16px;
}

.cart-empty p {
  margin-bottom: 20px;
  font-size: 15px;
}

.cart-empty .btn-buy-now {
  display: inline-flex;
  flex: none;
}

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

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid #eef1f2;
  border-radius: var(--radius-md);
  padding: 16px;
  transition: box-shadow 0.2s ease;
}

.cart-item-card:hover {
  box-shadow: var(--shadow-sm);
}

.cart-item-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 8px;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.cart-item-info h4 {
  font-size: 14.5px;
  color: var(--dark);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-size: 12.5px;
  color: var(--text-light);
}

.cart-item-qty {
  flex-shrink: 0;
}

.cart-qty-input {
  width: 46px;
  height: 36px;
  border: none;
  border-left: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
  text-align: center;
  font-weight: 700;
  color: var(--dark);
  -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item-subtotal {
  flex-shrink: 0;
  width: 90px;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--dark);
  font-size: 14.5px;
}

.cart-item-remove {
  flex-shrink: 0;
}

.cart-item-remove button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #fdecea;
  color: #c0392b;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-item-remove svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-item-remove button:hover {
  background: #fbd5d0;
}

.cart-summary-card {
  position: sticky;
  top: 20px;
  background: var(--white);
  border: 1px solid #eef1f2;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.cart-summary-card h3 {
  font-size: 16px;
  margin-bottom: 18px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-light);
  padding: 8px 0;
}

.cart-summary-row .free {
  color: var(--teal-dark);
  font-weight: 700;
}

.cart-summary-total {
  border-top: 1px solid #eef1f2;
  margin-top: 6px;
  padding-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--dark);
}

.cart-summary-total span:last-child {
  color: var(--pink);
}

.cart-checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 18px;
}

.cart-trust-badges {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid #eef1f2;
  margin-top: 18px;
  padding-top: 16px;
  margin-bottom: 0;
}

.cart-trust-badges .trust-badge {
  font-size: 13px;
}

@media (max-width: 860px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .cart-item-card {
    flex-wrap: wrap;
  }

  .cart-item-info {
    flex: 1 1 100%;
    order: 1;
  }

  .cart-item-subtotal {
    text-align: left;
    order: 3;
  }
}

.form-alert {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #b42318;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
}

.form-alert ul {
  margin: 0;
  padding-left: 18px;
}

.order-form-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.order-form-row label {
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-stepper .qty-btn {
  background: var(--teal-light);
  border: none;
  width: 38px;
  height: 38px;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-dark);
  cursor: pointer;
}

.qty-stepper input {
  width: 56px;
  height: 38px;
  border: none;
  border-left: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
  text-align: center;
  font-weight: 700;
  color: var(--dark);
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.order-form input,
.order-form textarea {
  width: 100%;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--dark);
  transition: border-color 0.2s ease;
}

.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.order-form textarea {
  margin-bottom: 14px;
  resize: vertical;
}

.order-total {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 10px 0 20px;
}

.order-total span {
  color: var(--pink);
}

.btn-order-submit {
  width: 100%;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}

.btn-order-submit:hover {
  background: var(--teal-dark);
}

@media (max-width: 560px) {
  .order-box {
    padding: 22px;
  }

  .order-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Order confirmation page ---------- */

.order-confirm-box {
  max-width: 640px;
  margin: 20px auto 0;
  text-align: center;
}

.order-confirm-icon {
  width: 72px;
  height: 72px;
  line-height: 72px;
  margin: 0 auto 20px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-size: 32px;
  font-weight: 700;
}

.order-confirm-box h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.order-confirm-box .sub {
  color: var(--text-light);
  margin-bottom: 30px;
}

.order-confirm-card {
  text-align: left;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 30px;
}

.order-confirm-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  gap: 16px;
}

.order-confirm-card .row span {
  color: var(--text-light);
  font-size: 14px;
}

.order-confirm-card .row.total {
  border-bottom: none;
  padding-top: 16px;
  font-family: var(--font-head);
  font-size: 18px;
}

.order-confirm-card .row.total strong {
  color: var(--pink);
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.order-items-table th,
.order-items-table td {
  text-align: left;
  padding: 10px 8px;
  font-size: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.order-items-table th {
  color: var(--text-light);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.order-status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.order-status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.order-status-badge.processing {
  background: #dbeafe;
  color: #1e40af;
}

.order-status-badge.shipped {
  background: #e0e7ff;
  color: #3730a3;
}

.order-status-badge.delivered {
  background: #d1fae5;
  color: #065f46;
}

.order-status-badge.cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.order-action-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.order-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-action-btn:hover {
  transform: translateY(-2px);
}

.order-action-btn.download {
  background: var(--teal);
  color: var(--white);
}

.order-action-btn.download:hover {
  background: var(--teal-dark);
}

.order-action-btn.whatsapp {
  background: #25d366;
  color: var(--white);
}

.order-action-btn.whatsapp:hover {
  background: #1da851;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail .thumb.product-gallery {
    flex-direction: column-reverse;
  }

  .gallery-thumbs {
    flex-direction: row;
    flex: 0 0 auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding-right: 0;
    padding-bottom: 16px;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Campaigns catalog page (/campaigns, /campaigns/{slug}) — reuses the
   existing .campaign-card component from the homepage carousel, just in a
   plain responsive grid instead of a sliding track.
   ========================================================================== */

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.campaign-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.campaign-detail .thumb {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.campaign-detail .thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.campaign-detail .info .tag {
  display: block;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {

  .campaign-grid,
  .campaign-detail {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ page (/faq) — plain accordion, no equivalent section in the original
   template, styled with the same tokens as the rest of the site.
   ========================================================================== */

.faq-category {
  margin-top: 40px;
}

.faq-category h3 {
  font-family: var(--font-head);
  color: var(--pink);
  font-size: 18px;
  margin-bottom: 16px;
}

.faq-item {
  border: 2px solid var(--teal-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 22px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  color: var(--text);
  font-size: 15px;
}

/* ==========================================================================
   Videos page (/videos)
   ========================================================================== */

.videos-page {
  position: relative;
  overflow: hidden;
  padding-top: 24px;
}

.videos-page .ribbon-title {
  margin-bottom: 24px;
}

.videos-page .video-grid {
  margin-top: 24px;
}

.videos-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/pattern-leaves.svg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

.videos-page>.container {
  position: relative;
  z-index: 1;
}

#videoGrid {
  transition: opacity 0.2s ease;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.video-catalog-card {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.video-catalog-card .thumb {
  position: relative;
}

.video-catalog-card .thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-catalog-card .thumb .video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-size: 28px;
}

.video-catalog-card .body {
  padding: 16px 20px 20px;
}

.video-catalog-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 6px;
}

.video-catalog-card p {
  font-size: 14px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-light);
}

.video-meta .dot {
  color: #cbd5e1;
}

/* Category tabs + sort dropdown above the grid */
.video-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.video-tabs,
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-tab,
.category-tab {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid #eef1f2;
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-light);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.video-tab:hover,
.category-tab:hover {
  color: var(--pink);
}

.video-tab.active,
.category-tab.active {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

.category-tabs {
  margin-bottom: 30px;
}

.video-sort {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  cursor: pointer;
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* pad button start  */
.pad-btn-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px 9px;
  margin-right: 25px;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.pad-btn-wrapper:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 16px rgba(250, 0, 104, 0.35));
}


.pad-btn-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 105px);
  height: calc(100% + 31px);
  background-color: rgb(250 0 104);
  border-radius: 16px;
  z-index: 0;
}

.pad-btn-wrapper .pad-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 22px;
  background-color: rgb(250 0 104);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-top: 1px dashed white;
  border-bottom: 1px dashed white;
  cursor: pointer;
  white-space: nowrap;
  min-width: 180px;
}

.pad-btn-wrapper .pad-btn .text-element {
  position: relative;
  z-index: 2;
}


.pad-btn-wrapper .pad-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(100% - 80px);
  height: calc(100% + 18px);
  aspect-ratio: 227 / 144;
  background: url('../images/left_btn_part.png') no-repeat center / 100% 100%;
  transform: translateY(-50%);
}


.pad-btn-wrapper .pad-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% - 80px);
  height: calc(100% + 18px);
  aspect-ratio: 227 / 144;
  background: url('../images/left_btn_part.png') no-repeat center / 100% 100%;
  transform: translateY(-50%) scaleX(-1);
}

.pad-btn-wrapper .plus-element {
  position: absolute;
  right: -23px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background-color: rgb(2, 203, 156);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.pad-btn-wrapper .plus-element .plus-icon {
  display: block;
  width: 18px;
  height: 18px;
  background: url('../../images/plus_icon.png') no-repeat center / contain;
}

/* ===================== Products index (catalog) page ===================== */

.product-intro-sec {
  padding-bottom: 0;
}

.product-intro-inner {
  max-width: 780px;
  text-align: center;
}

.product-intro-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 10px 0 18px;
  line-height: 1.25;
}

.product-intro-heading span {
  color: var(--pink);
}

.product-intro-copy {
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 10px;
}

/* Standalone pill badges for this section only — the show-page's own
   ".feature-icons-row" (one big shared box) stays exactly as it is
   everywhere else; this override only fires inside ".product-intro-sec". */
.product-intro-sec .feature-icons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: none;
  padding: 0;
  margin: 30px 0 0;
  gap: 14px;
}

.product-intro-sec .feature-icon-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--pink);
  border-radius: 50px;
  padding: 6px 20px 6px 6px;
}

/* The circle background lives on this wrapper, separate from the <img>
   itself — applying "filter" directly to the <img> would also invert its
   own CSS background-color, turning the whole circle white and making
   the icon invisible against it. Filtering only the inner <img> keeps
   the circle's teal background intact behind the white icon glyph. */
.product-intro-sec .feature-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--teal);
  border-radius: 50%;
}

.product-intro-sec .feature-icon-circle img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  /* Icon art is teal-on-transparent; forcing it to a solid white
     silhouette keeps it visible against the teal circle behind it. */
  filter: brightness(0) invert(1);
}

.product-intro-sec .feature-icon-item span {
  display: none;
}

.product-intro-sec .feature-icon-item strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

/* Category badges — a scalloped/flower-edge shape (a rounded pill body
   with 3 round lobes bulging out on each side), built as a CSS mask from
   an inline SVG so any element can be colored per category just by
   setting its own background. Colors cycle by position, so a category
   added later in admin still gets a sensible color. */
.cat-ribbons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 8px 0 40px;
}

.cat-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 22px 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-align: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100'%3E%3Crect x='34' y='10' width='172' height='80' rx='34' fill='%23fff'/%3E%3Ccircle cx='34' cy='27' r='17' fill='%23fff'/%3E%3Ccircle cx='34' cy='50' r='17' fill='%23fff'/%3E%3Ccircle cx='34' cy='73' r='17' fill='%23fff'/%3E%3Ccircle cx='206' cy='27' r='17' fill='%23fff'/%3E%3Ccircle cx='206' cy='50' r='17' fill='%23fff'/%3E%3Ccircle cx='206' cy='73' r='17' fill='%23fff'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100'%3E%3Crect x='34' y='10' width='172' height='80' rx='34' fill='%23fff'/%3E%3Ccircle cx='34' cy='27' r='17' fill='%23fff'/%3E%3Ccircle cx='34' cy='50' r='17' fill='%23fff'/%3E%3Ccircle cx='34' cy='73' r='17' fill='%23fff'/%3E%3Ccircle cx='206' cy='27' r='17' fill='%23fff'/%3E%3Ccircle cx='206' cy='50' r='17' fill='%23fff'/%3E%3Ccircle cx='206' cy='73' r='17' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: transform 0.2s ease, filter 0.2s ease;
  color: var(--white);
}

.cat-ribbon:hover {
  transform: translateY(-2px);
}

.cat-ribbon.active {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}

/* Only the active (currently viewed) category is filled solid with white
   text — every other one sits as a pale tint of its own color, so the
   selected category reads at a glance instead of every badge always
   looking equally "on". */
.cat-ribbon-teal { background: #cdeceb; color: var(--teal-dark); }
.cat-ribbon-teal.active { background: var(--teal); color: var(--white); }

.cat-ribbon-green { background: #dcefdd; color: #2f9e44; }
.cat-ribbon-green.active { background: #2f9e44; color: var(--white); }

.cat-ribbon-blue { background: #e6e9f2; color: #8b93ab; }
.cat-ribbon-blue.active { background: #aab8d6; color: var(--white); }

.cat-ribbon-pink { background: #fbdce8; color: var(--pink); }
.cat-ribbon-pink.active { background: var(--pink); color: var(--white); }

.cat-ribbon-purple { background: #e9e2f8; color: #8a63d2; }
.cat-ribbon-purple.active { background: #8a63d2; color: var(--white); }

/* One "variant group" = a real pack-size family (e.g. "Belt System (8
   Pads)" + "Belt System (15 Pads)") — text links on the left, real pack
   images side by side on the right (each with its own caption), with
   prev/next arrows only when there are more real pack sizes than fit in
   view at once (never fabricated placeholders). */
.variant-group {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 32px;
  align-items: center;
  padding: 44px 0;
}

.variant-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin: 0 0 14px;
}

.variant-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.variant-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.variant-link:hover {
  color: var(--teal-dark);
}

.variant-media {
  display: flex;
  align-items: center;
  gap: 10px;
}

.variant-image-track {
  display: flex;
  flex: 1;
  gap: 18px;
  overflow: hidden;
}

.variant-image-slot {
  display: none;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.variant-image-slot.visible {
  display: block;
}

.variant-image-slot .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 240px;
  margin: 0 auto;
  background: var(--teal-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.variant-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.variant-image-slot .variant-caption {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

.variant-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--pink);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.variant-arrow:hover {
  background: var(--pink-dark);
}

@media (max-width: 767px) {
  .product-intro-heading {
    font-size: 26px;
  }

  .cat-ribbon {
    min-width: 0;
    padding: 16px 34px;
  }

  .variant-group {
    grid-template-columns: 1fr;
  }

  .variant-media {
    margin-top: 14px;
  }
}

/* pad button end  */

/* ===================== Top News (homepage) ===================== */

.news-sec {
  padding: 60px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.news-card {
  display: block;
  color: inherit;
}

.news-card .thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--teal);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card h3 {
  margin: 14px 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .date {
  font-size: 12px;
  color: var(--text-light);
}

@media (max-width: 991px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== Campaigns Landing Page ===================== */

.camp-page-wrap {
  /* Light pink ribbon pattern behind every section below the hero (same
     as the Resource Hub / Stories pages) — the sections themselves are
     transparent so it shows through. */
  background-color: #fffafc;
  background-image: url('../images/pattern-ribbons.png');
  background-repeat: repeat;
  color: var(--text);
  overflow: hidden;
}

.camp-hero-sec {
  position: relative;
  text-align: center;
  background: transparent;
}

.camp-hero-banner {
  position: relative;
  width: 100%;
}

.camp-hero-bg {
  width: 100%;
  height: auto;
  display: block;
}

.camp-hero-content {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.camp-hero-btn {
  display: inline-block;
  background: var(--btn-pink);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 38px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(250, 0, 104, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.camp-hero-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(250, 0, 104, 0.5);
  color: #ffffff;
}

.camp-subnav-sec {
  padding: 40px 0 20px;
}

.camp-pills-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.camp-pill-btn {
  display: inline-block;
  background: var(--teal);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.camp-pill-btn:hover,
.camp-pill-btn.active {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 176, 179, 0.35);
  color: #ffffff;
}

.camp-intro-section {
  padding: 50px 0 70px;
}

.camp-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.camp-intro-text h2 {
  color: #7b1836;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
}

.camp-intro-text p {
  color: #4a4f52;
  font-size: 16px;
  line-height: 1.7;
}

.camp-intro-image {
  text-align: center;
}

.camp-intro-image img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 8px 20px rgba(225, 13, 121, 0.12));
}

.camp-badge-wrap {
  text-align: center;
  margin-bottom: 35px;
}

/* Leaf-shaped heading tag: square top-left / bottom-right corners, rounded
   top-right / bottom-left, soft shadow underneath. */
.camp-badge {
  display: inline-block;
  background: #ff3758;
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  padding: 11px 40px;
  border-radius: 0 28px 0 28px;
  box-shadow: -4px 8px 14px rgba(0, 0, 0, 0.14);
  letter-spacing: 0.2px;
}

.camp-summary-section {
  padding: 50px 0 70px;
  background: transparent;
}

.camp-timeline-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
}

.camp-timeline-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.camp-timeline-arrow:hover {
  background: var(--btn-pink);
  color: #ffffff;
  border-color: var(--btn-pink);
}

.camp-timeline-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  flex-wrap: nowrap;
}

.camp-stat-card {
  flex: 1 1 170px;
  max-width: 190px;
  background: #df588c;
  color: #ffffff;
  border-radius: 18px;
  padding: 20px 14px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(223, 88, 140, 0.2);
}

.camp-stat-card.active {
  background: #fa0068;
  padding: 30px 18px;
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(250, 0, 104, 0.38);
  z-index: 2;
}

.camp-stat-card .year {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.camp-stat-card.active .year {
  font-size: 26px;
  margin-bottom: 20px;
}

.camp-stat-card .metric-item {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.camp-stat-card .metric-item:last-child {
  margin-bottom: 0;
}

.camp-stat-card .metric-icon {
  font-size: 16px;
  margin-bottom: 2px;
}

.camp-stat-card .metric-val {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.camp-stat-card.active .metric-val {
  font-size: 21px;
}

.camp-stat-card .metric-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.95;
  margin-top: 2px;
}

.camp-stories-section {
  padding: 50px 0 70px;
  background: transparent;
}

.camp-video-placeholder {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #fa0068, #e10d79);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 12px 35px rgba(250, 0, 104, 0.25);
  cursor: pointer;
  overflow: hidden;
}

.camp-video-placeholder span.placeholder-label {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 1px;
}

.camp-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: #ffffff;
  color: #fa0068;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  padding-left: 5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.camp-video-placeholder:hover .camp-video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.camp-cta-section {
  padding: 50px 0 90px;
  background: transparent;
}

.camp-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 30px;
  flex-wrap: wrap;
}

.camp-cta-stat {
  display: flex;
  flex-direction: column;
}

.camp-cta-stat .stat-num {
  font-family: var(--font-head);
  font-size: 82px;
  font-weight: 900;
  color: #fa0068;
  line-height: 0.95;
  letter-spacing: -2px;
}

.camp-cta-stat .stat-text {
  font-size: 26px;
  font-weight: 600;
  color: #c43c68;
  margin-top: 6px;
}

.camp-cta-action .btn-teal-large {
  display: inline-block;
  background: var(--teal);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  padding: 15px 44px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 176, 179, 0.35);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.camp-cta-action .btn-teal-large:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 176, 179, 0.45);
  color: #ffffff;
}

@media (max-width: 991px) {
  .camp-intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .camp-intro-image {
    margin-top: 20px;
  }
  .camp-timeline-cards {
    flex-wrap: wrap;
  }
  .camp-stat-card.active {
    transform: none;
  }
  .camp-cta-box {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .camp-cta-stat .stat-num {
    font-size: 60px;
  }
  .camp-cta-stat .stat-text {
    font-size: 20px;
  }
  .camp-video-placeholder span.placeholder-label {
    font-size: 32px;
  }
}
/* ===================== Campaign registration page ===================== */

.campaign-register-sec {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
  background-color: var(--teal-light);
  background-image: url('../images/pattern-ribbons.png');
  background-repeat: repeat;
}

.campaign-register-sec > .container {
  position: relative;
  z-index: 1;
}

.reg-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border: 3px solid var(--pink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 50px;
}

.reg-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
}

.reg-stat {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  color: var(--pink);
}

.reg-stat-sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--dark);
  margin: 10px 0 30px;
  line-height: 1.3;
}

.reg-cta-btn {
  display: inline-block;
  align-self: flex-start;
  padding: 14px 32px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  transition: background 0.2s ease;
}

.reg-cta-btn:hover {
  background: var(--teal-dark);
}

.reg-hero-media {
  min-height: 260px;
}

.reg-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reg-question {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--dark);
  margin: 0 0 24px;
}

.reg-toggle {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.reg-toggle-btn {
  padding: 14px 34px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  background: var(--teal);
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}

.reg-toggle-btn.active {
  background: var(--pink);
  color: var(--white);
}

.reg-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
}

.reg-field {
  margin-bottom: 22px;
}

.reg-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.reg-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 8px;
}

.reg-field input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: #eef1f2;
  font-size: 14px;
  color: var(--dark);
}

.reg-field input:focus {
  outline: 2px solid var(--teal);
}

.reg-deadline {
  font-size: 13px;
  color: var(--text-light);
  margin: 10px 0 26px;
}

.reg-submit-btn {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  padding: 14px 0;
  border: none;
  border-radius: 50px;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.reg-submit-btn:hover {
  background: var(--pink-dark);
}

.reg-phone {
  display: flex;
  gap: 6px;
}

.reg-phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: #eef1f2;
  font-size: 14px;
  color: var(--dark);
}

.reg-phone .reg-phone-input {
  flex: 1;
  min-width: 0;
}

.reg-center-field {
  position: relative;
}

.reg-center-dropdown {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  margin-top: 6px;
  max-height: 290px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.reg-center-city {
  border-bottom: 1px solid #eef1f2;
}

.reg-center-city:last-child {
  border-bottom: none;
}

.reg-center-city-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  cursor: pointer;
}

.reg-center-city-btn small {
  font-weight: 400;
  color: var(--text-light);
}

.reg-center-city ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
}

.reg-center-city li {
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--dark);
  cursor: pointer;
}

.reg-center-city li small {
  font-size: 13px;
  color: var(--text-light);
}

.reg-center-city-btn:hover,
.reg-center-city li:hover {
  background: #fdf0f6;
}

.reg-center-city li.empty {
  cursor: default;
  color: var(--text-light);
}

.reg-center-city li.empty:hover {
  background: transparent;
}

/* Registration success / PDF slip */
.reg-success-sec {
  padding: 50px 0 70px;
}

.reg-success-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0 40px 40px;
  text-align: center;
  color: var(--dark);
}

/* Teal band across the top of the slip — the logo is white. */
.reg-success-brand {
  margin: 0 -40px 28px;
  padding: 22px 20px;
  background: #00b2ad;
}

.reg-success-logo {
  display: block;
  height: 64px;
  width: auto;
  margin: 0 auto;
}

.reg-success-code {
  font-size: 16px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 10px;
}

.reg-success-code strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: 0.5px;
}

.reg-success-title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: var(--pink);
  margin: 0 0 20px;
}

.reg-success-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.reg-success-name span,
.reg-success-location span {
  font-weight: 700;
}

.reg-success-text {
  font-size: 17px;
  margin: 16px 0 20px;
}

.reg-success-location {
  text-align: left;
  background: #fdf0f6;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 15px;
  margin-bottom: 16px;
}

.reg-success-location > div + div {
  margin-top: 6px;
}

.reg-success-note {
  text-align: left;
  border: 1px dashed #f3a6c8;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 16px;
}

.reg-success-note strong {
  color: var(--pink);
}

.reg-success-note p {
  margin: 4px 0 0;
  font-weight: 700;
  line-height: 1.7;
}

.reg-success-deadline {
  background: #fff8e1;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
}

/* PDF only (html2canvas's cloned copy): move 9px of padding from the top
   to the bottom of each box to cancel the renderer's downward text shift,
   so the text comes out vertically centred in the PDF. */
.pdf-capture .reg-success-location {
  padding-top: 7px;
  padding-bottom: 25px;
}

.pdf-capture .reg-success-note {
  padding-top: 5px;
  padding-bottom: 23px;
}

.pdf-capture .reg-success-deadline {
  padding-top: 5px;
  padding-bottom: 23px;
}

.reg-success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.reg-success-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.reg-success-btn.light {
  background: #eef1f2;
  color: var(--dark);
}

.reg-success-btn.outline {
  border-color: var(--pink);
  background: var(--white);
  color: var(--pink);
}

.reg-success-btn.primary {
  background: var(--pink);
  color: var(--white);
}

.reg-success-btn.primary:hover {
  background: var(--pink-dark);
}

.reg-success-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 767px) {
  .reg-success-card {
    padding: 0 20px 26px;
  }

  .reg-success-brand {
    margin: 0 -20px 22px;
  }

  .reg-success-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .reg-hero {
    grid-template-columns: 1fr;
  }

  .reg-hero-text {
    padding: 34px 26px;
  }

  .reg-stat {
    font-size: 56px;
  }

  .reg-stat-sub {
    font-size: 20px;
  }

  .reg-hero-media {
    min-height: 200px;
  }

  .reg-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .reg-form {
    padding: 26px;
  }
}

/* ===================== Learn — Breast Self-Exam guide page ===================== */

.learn-hero {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
  background-color: var(--white);
}

.learn-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  min-height: 380px;
  background: linear-gradient(120deg, var(--pink-light) 0%, #ffd7e8 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.learn-hero-text {
  max-width: 420px;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.learn-hero-media {
  min-height: 260px;
}

.learn-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.learn-hero-stat {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--pink);
}

.learn-hero-sub {
  /* Bangla text: Poppins has no Bengali glyphs, and the system fallback
     (e.g. Windows' Nirmala UI) split "হয়" apart in bold — use a real
     Bangla web font here. */
  font-family: 'Hind Siliguri', var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--dark);
  margin: 10px 0 26px;
  line-height: 1.3;
}

.learn-cta-btn {
  display: inline-block;
  padding: 13px 30px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  transition: background 0.2s ease;
}

.learn-cta-btn:hover {
  background: var(--teal-dark);
}

.learn-sec {
  position: relative;
  padding: 60px 0 20px;
  background-color: var(--white);
  background-image: url('../images/pattern-ribbons.png');
  background-repeat: repeat;
}

.learn-guide-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}

.learn-guide-row .learn-topic-media img {
  aspect-ratio: 1 / 1;
}

.learn-guide-copy h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--learn-pink);
  margin: 0 0 10px;
}

.learn-guide-copy p {
  color: var(--learn-pink);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 520px;
}

.learn-toggle-btn {
  display: inline-block;
  padding: 11px 28px;
  border: none;
  border-radius: 50px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.learn-toggle-btn:hover {
  background: var(--teal-dark);
}

.learn-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-height: 900px;
  overflow: hidden;
  /* overflow: hidden (needed for the See More/Less animation) clipped the
     step numbers, which sit 14px above each card — this top padding keeps
     them inside the grid's box. */
  padding-top: 16px;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease, padding 0.4s ease;
  margin-bottom: 60px;
  opacity: 1;
}

.learn-steps-grid.collapsed {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  padding-top: 0;
}

.learn-step-card {
  position: relative;
  background: var(--pink-light);
  border-radius: var(--radius-lg);
  padding: 30px 22px 24px;
  text-align: center;
}

.learn-step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-step-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  margin: 6px 0 14px;
}

.learn-step-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-step-icon img {
  width: 125px;
  height: 125px;
  max-width: none;
  object-fit: cover;
  flex-shrink: 0;
}

.learn-step-card p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.learn-topic-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.learn-topic-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.learn-topic-row.reverse .learn-topic-copy {
  order: 2;
}

.learn-topic-row.reverse .learn-topic-media {
  order: 1;
}

.learn-topic-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  contain: paint;
  transform: translateZ(0);
}

.learn-topic-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.learn-topic-copy h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--learn-pink);
  margin: 0 0 12px;
}

.learn-topic-copy > p {
  color: var(--learn-pink);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.learn-topic-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
}

.learn-topic-more.open {
  max-height: 300px;
  opacity: 1;
  margin-bottom: 16px;
}

.learn-topic-more p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.learn-cta-sec {
  padding: 0 0 60px;
}

.learn-cta-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.learn-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.learn-cta-register-btn {
  position: relative;
  z-index: 1;
  margin-right: 60px;
  padding: 15px 36px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  transition: background 0.2s ease;
}

.learn-cta-register-btn:hover {
  background: var(--teal-dark);
}

@media (max-width: 900px) {
  .learn-hero-inner {
    grid-template-columns: 1fr;
  }

  .learn-hero-text {
    max-width: none;
    text-align: center;
    align-items: center;
  }

  .learn-guide-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .learn-guide-row .learn-topic-media img {
    max-width: 220px;
    margin: 0 auto;
  }

  .learn-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learn-topic-row,
  .learn-topic-row.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .learn-topic-row.reverse .learn-topic-copy,
  .learn-topic-row.reverse .learn-topic-media {
    order: initial;
  }

  .learn-topic-media {
    order: -1;
  }

  .learn-cta-inner {
    justify-content: center;
    padding: 40px 20px;
  }

  .learn-cta-register-btn {
    margin-right: 0;
  }
}

@media (max-width: 560px) {
  .learn-hero-stat {
    font-size: 48px;
  }

  .learn-steps-grid {
    grid-template-columns: 1fr;
    /* 5 stacked cards run well past the desktop 900px cap. */
    max-height: 2400px;
  }
}


/* ===================== Campaign Resource Hub page ===================== */

.hub-sec {
  background-color: #fffafc;
  padding-top: 40px;
}

.hub-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}

.hub-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
}

.hub-badge {
  position: relative;
  margin: 0;
  font-size: 20px;
  padding: 10px 36px;
  border-radius: 14px 50px 50px 14px;
  box-shadow: -6px 6px 0 rgba(184, 10, 97, 0.85), 0 8px 18px rgba(250, 0, 104, 0.2);
}

.hub-finder {
  max-width: 400px;
  margin: 10px auto 70px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px 56px 50px;
}

.hub-field {
  margin-bottom: 20px;
}

.hub-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 6px;
}

.hub-field select {
  width: 100%;
  height: 42px;
  padding: 0 40px 0 14px;
  border: 1.5px solid var(--pink);
  border-radius: var(--radius-sm);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e10d79' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 14px;
  color: var(--dark);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.hub-field select:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.hub-field select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.hub-finder .select2-container--default .select2-selection--single {
  height: 42px;
  border: 1.5px solid var(--pink);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.hub-finder .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 39px;
  padding-left: 14px;
  padding-right: 40px;
  font-size: 14px;
  color: var(--dark);
}

.hub-finder .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #9aa0a3;
}

.hub-finder .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 39px;
  width: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e10d79' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.2s ease;
}

.hub-finder .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.hub-finder .select2-container--open .select2-selection--single .select2-selection__arrow {
  transform: rotate(180deg);
}

.hub-finder .select2-container--default.select2-container--focus .select2-selection--single,
.hub-finder .select2-container--default.select2-container--open .select2-selection--single {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.hub-finder .select2-container--default.select2-container--disabled .select2-selection--single {
  background: var(--white);
  opacity: 0.6;
  cursor: not-allowed;
}

.hub-finder .select2-dropdown {
  border: 1.5px solid var(--pink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 14px;
}

.hub-finder .select2-search--dropdown .select2-search__field {
  border: 1px solid #e2e5e7;
  border-radius: 6px;
  padding: 6px 10px;
  outline: none;
}

.hub-finder .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--pink);
  color: var(--white);
}

.hub-finder .select2-container--default .select2-results__option--selected {
  background: #fdf0f6;
  color: var(--dark);
}

.hub-btn {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 11px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hub-btn:hover {
  background: var(--teal-dark);
}

.hub-group {
  margin-bottom: 60px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.hub-card {
  display: flex;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px 22px;
}

.hub-card.is-hidden {
  display: none;
}

.hub-pin {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--pink);
  border-radius: 50%;
  color: var(--pink);
}

.hub-card-body p {
  margin: 0;
  font-family: var(--font-head);
  font-size: 14px;
  line-height: 1.5;
  color: var(--dark);
}

.hub-card-mobile {
  font-weight: 600;
}

.hub-more-wrap {
  text-align: center;
  margin-top: 34px;
}

.hub-more-btn {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 12px 34px;
  font-size: 18px;
}

@media (max-width: 767px) {
  .hub-hero img {
    height: 180px;
    object-position: 70% center;
  }

  .hub-badge {
    font-size: 17px;
    padding: 9px 24px;
  }

  .hub-finder {
    padding: 30px 24px 34px;
    margin-bottom: 50px;
  }

  .hub-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===================== Campaign Stories page ===================== */

.stories-sec {
  background-color: #fffafc;
  padding-top: 40px;
}

.stories-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: var(--radius-lg);
  background: #ff4a6e;
  margin-bottom: 50px;
}

.stories-hero h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 96px;
  line-height: 0.98;
  letter-spacing: 2px;
  text-align: center;
  color: var(--white);
}

.stories-group {
  margin-bottom: 60px;
}

.stories-heading {
  margin: 0 0 40px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 32px;
  text-align: center;
  color: #ff4a6e;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.story-tile,
.story-tile.video-catalog-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ff4a6e;
  box-shadow: none;
  cursor: pointer;
}

.story-tile.is-hidden {
  display: none;
}

.story-tile.is-placeholder {
  cursor: default;
}

.story-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.story-tile:hover img {
  transform: scale(1.04);
}

.story-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #ff4a6e;
  font-size: 22px;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.story-tile:hover .story-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.story-tile.stories-feature {
  aspect-ratio: auto;
  height: 320px;
}

.stories-feature .story-play {
  width: 80px;
  height: 80px;
  font-size: 30px;
}

.stories-more-wrap {
  text-align: center;
  margin-top: 44px;
}

.stories-more-btn {
  padding: 10px 40px;
  border-radius: 50px;
  font-size: 22px;
}

@media (max-width: 991px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .stories-hero {
    min-height: 200px;
  }

  .stories-hero h1 {
    font-size: 60px;
  }

  .stories-heading {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .stories-grid {
    gap: 14px;
  }

  .story-tile,
  .story-tile.video-catalog-card {
    border-radius: var(--radius-sm);
  }

  .story-tile.stories-feature {
    height: 200px;
  }

  .stories-more-btn {
    font-size: 18px;
  }
}

/* CMS pages (/page/{slug}) — pill heading, same as the home page badges. */
.page-head {
  margin-bottom: 50px;
}

.page-head .comfort-badge {
  margin: 0;
}

/* White leaf edge along the bottom of a hero banner — add "hero-leaf-edge"
   to the <section class="hero">. The PNG is one transparent 94×36 tile cut
   from the 3840px-wide design, repeated across; sized in vw so it keeps the
   design's proportion (≈13px tall at 1440px, 18px at 1920px). The banner's
   own colours show through between the leaves. */
.hero-leaf-edge .hero-media::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: max(0.9375vw, 10px);
  background: url('../images/leaf_strip_white.png') repeat-x left bottom / auto 100%;
  pointer-events: none;
  z-index: 4;
}

/* Registration closed (past the deadline) — replaces the form. */
.reg-closed {
  text-align: center;
}

.reg-closed-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--pink);
  margin: 0 0 14px;
}

.reg-closed p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  margin: 0 0 26px;
}

.reg-closed-btn {
  display: inline-block;
  max-width: none;
  width: auto;
  padding: 14px 32px;
  text-decoration: none;
}

/* ---------- Campaigns page — mobile ---------- */
@media (max-width: 767px) {
  /* Hero: the banner was only ~160px tall at 375px, with the header wave
     over its top and a big button sitting on the artwork's text. */
  .camp-hero-bg {
    min-height: 280px;
    object-fit: cover;
    object-position: center 30%;
  }

  .camp-hero-content {
    bottom: 22px;
  }

  .camp-hero-btn {
    font-size: 14px;
    padding: 9px 26px;
    box-shadow: 0 6px 16px rgba(250, 0, 104, 0.35);
  }

  .camp-subnav-sec {
    padding: 28px 0 10px;
  }

  /* Campaign Summary: one swipeable row instead of five stacked cards. */
  .camp-timeline-wrap {
    gap: 6px;
    padding: 0 6px;
  }

  .camp-timeline-arrow {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .camp-timeline-cards {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 16px 4px;
    scrollbar-width: none;
  }

  .camp-timeline-cards::-webkit-scrollbar {
    display: none;
  }

  .camp-stat-card,
  .camp-stat-card.active {
    flex: 0 0 72%;
    max-width: none;
    scroll-snap-align: center;
    transform: none;
  }
}

/* ---------- Hero banners — mobile ---------- */
@media (max-width: 767px) {
  /* On desktop the banner tucks 48px under the header's curve. On a phone
     the (wide) banner is only ~140px tall, so that hid a third of it. The
     mobile header's curve dips ~15px at 375px and a little more on wider
     phones (the header SVG scales with the width) — 22px covers every
     width up to 767px (22px leaves a 1px margin), so no white shows. */
  .hero-media {
    margin-top: -22px;
  }

  .hero-media picture,
  .hero-slide img {
    display: block;
    width: 100%;
  }

  .hero-dots {
    bottom: 14px;
  }
}

/* Pill headings ("Bangladesh's first ever", "Our Stories", …) wrapped onto
   two lines inside the pill at phone width. */
@media (max-width: 480px) {
  .comfort-badge {
    min-width: 0;
    padding: 12px 26px;
    font-size: 16px;
  }
}
