/* ═══════════════════════════════════════════════
   THE MIMZI - style.css
   Color Palette from logo:
     Hot Pink:    #E8006F
     Magenta:     #C0006A
     Orange:      #F5820D
     Warm Yellow: #F5C842
     Peach/Cream: #FAE8D0
     Dark Berry:  #8B1245
   ═══════════════════════════════════════════════ */

:root {
  --pink: #E70070;
  /* Exact Logo Hot Pink */
  --pink-deep: #B5004F;
  /* Exact Logo Crimson/Magenta */
  --magenta: #9D0044;
  /* Slightly darker for depth */
  --orange: #F48325;
  /* Exact Logo Tangerine */
  --yellow: #F3C93B;
  /* Exact Logo Golden Yellow */
  --peach: #FCEEF3;
  /* Exact Logo Light Pink Wave */
  --cream: #FFF5F9;
  /* Softest Brand Pink */
  --berry: #8A1245;
  /* Exact Logo Dark Border */
  --white: #FFFFFF;
  --dark: #1A0A10;
  /* Footer: palette gradient (magenta → berry → dark), not flat black */
  --footer-gradient: linear-gradient(
    165deg,
    #6b2a4a 0%,
    #5a2240 22%,
    var(--magenta) 48%,
    #542038 78%,
    var(--dark) 100%
  );
  --gray: #6B5762;
  --gray-light: #F3EAEA;
  --light-orange: #FFE2BB;
  /* Further deepened light orange */
  --collections-gradient: linear-gradient(180deg, #fffdf8 0%, #faf4ea 50%, #f7efe4 100%);
  --collections-beige: #faf0dc;
  /* Header on white sections: magenta → coral → orange (richer than pastel, not full neon) */
  --header-light-section-gradient: linear-gradient(
    90deg,
    #b61357 0%,
    #be1f5f 14%,
    #c92c6b 28%,
    #d43d76 42%,
    #df4f6f 56%,
    #e86555 70%,
    #f07e2d 84%,
    #f79324 100%
  );

  /* Sticky header bar on Collections, Story, Crafted to Delight (features), Reviews, Gallery, Contact */
  --header-brand-bar-gradient: linear-gradient(90deg, #e4175c 0%, #ea4870 41%, #ee6f26 77%, #f5911c 100%);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-fun: 'Pacifico', cursive;
  /* Bespoke steps & sharp UI headings: geometric, professional */
  --font-accent: 'Outfit', 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 12px rgba(184, 0, 79, 0.1);
  --shadow-md: 0 8px 32px rgba(184, 0, 79, 0.15);
  --shadow-lg: 0 20px 60px rgba(184, 0, 79, 0.2);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Toast: same palette as .bestsellers (pink → orange → yellow), deepened so it reads
     clearly on --cream / --gray-light without blending into the page */
  --toast-gradient: linear-gradient(
    135deg,
    #c41062 0%,
    #d94a8a 18%,
    #e05a1a 52%,
    #e8a215 78%,
    #ecc132 100%
  );
}

/* ─── RESET ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Shop page: keep one background (match Our Collections) */
.page--shop {
  background: var(--gray-light);
}

.page--shop .bestsellers {
  background: var(--gray-light);
}

.page--shop .bestsellers::before {
  display: none;
}

/* Shop page: Best Sellers sections should use normal (dark) typography */
.page--shop .bestsellers .section-title {
  color: var(--dark);
}

.page--shop .bestsellers .section-sub {
  color: var(--gray);
}

/* Cart page (inspired layout; keep brand palette) */
.page--cart {
  background: var(--gray-light);
}

.page--order {
  background: var(--gray-light);
}

/* Wishlist / favourites page */
.page--wishlist {
  background: var(--gray-light);
}

.wishlist-page {
  padding: 110px 0 90px;
  background: var(--gray-light);
}

.wishlist-page__container {
  max-width: 1160px;
}

.wishlist-page__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.wishlist-page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  margin: 0;
}

.wishlist-page__back {
  font-weight: 700;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wishlist-page__sub {
  margin: 0 0 18px;
  color: var(--gray);
  font-weight: 600;
}

.wishlist-empty {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 0, 111, 0.08);
  padding: 22px;
  margin: 16px 0 22px;
}

.wishlist-empty h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  color: var(--dark);
  font-size: 1.4rem;
}

.wishlist-empty p {
  margin: 0;
  color: var(--gray);
  font-weight: 600;
}

.wishlist-empty__cta {
  margin-top: 14px;
}

.order-page {
  padding: 110px 0 90px;
  background: var(--gray-light);
}

.order-page__container {
  max-width: 1160px;
}

.order-page__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.order-page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  margin: 0;
}

.order-page__back {
  font-weight: 700;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── CUSTOMIZE BRIDGE PAGE (static wrapper for Next app) ───────────── */
.customize-bridge {
  padding: 110px 0 90px;
  background: var(--gray-light);
}

.customize-bridge__container {
  max-width: 1160px;
}

.customize-bridge__head {
  margin-bottom: 18px;
}

.customize-bridge__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  margin: 0 0 6px;
}

.customize-bridge__sub {
  margin: 0;
  color: var(--gray);
  font-weight: 600;
}

.customize-bridge__panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 0, 111, 0.08);
  overflow: hidden;
}

.customize-bridge__frame {
  width: 100%;
  height: min(82vh, 860px);
  border: 0;
  display: block;
  background: var(--white);
}

.customize-bridge__status {
  padding: 22px;
}

.customize-bridge__status h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  color: var(--dark);
  font-size: 1.4rem;
}

.customize-bridge__status p {
  margin: 0 0 12px;
  color: var(--gray);
  font-weight: 600;
}

.customize-bridge__cmd {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(26, 10, 16, 0.04);
  border: 1px solid rgba(26, 10, 16, 0.08);
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88rem;
  color: var(--dark);
}

.customize-bridge__fine {
  margin-top: -4px;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .customize-bridge__frame {
    height: 78vh;
  }
}

.order-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 26px;
  align-items: start;
}

/* Narrow viewports: single column + show cart summary above the checkout form */
@media (max-width: 680px) {
  .order-page__grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    order: -1;
  }
}

.order-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 0, 111, 0.08);
  padding: 20px;
  margin-bottom: 18px;
  min-width: 0;
}

.order-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 14px;
  color: var(--dark);
}

.order-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--gray);
}

.field span {
  font-weight: 700;
  color: var(--dark);
}

/* Required field marker (order form, etc.) */
.field .field__required {
  color: #d93025;
  font-weight: 700;
  margin-left: 0.2em;
  vertical-align: super;
  font-size: 0.88em;
  line-height: 0;
  position: relative;
  top: -0.05em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(26, 10, 16, 0.12);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
  transition: var(--transition);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(232, 0, 111, 0.5);
  box-shadow: 0 0 0 4px rgba(232, 0, 111, 0.12);
}

.field--full {
  grid-column: 1 / -1;
}

.pay {
  display: grid;
  gap: 12px;
}

.pay__opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 10, 16, 0.08);
  background: rgba(232, 0, 111, 0.03);
  cursor: pointer;
}

.pay__opt input {
  margin-top: 3px;
}

.pay__opt strong {
  display: block;
  color: var(--dark);
}

.pay__opt small {
  display: block;
  color: var(--gray);
  margin-top: 2px;
}

.pay__prepaid {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 0, 111, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.pay__hint {
  margin: 0 0 10px;
  color: var(--gray);
  font-weight: 700;
}

.pay__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.pay__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(26, 10, 16, 0.12);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
  color: var(--dark);
}

.pay__pill input {
  accent-color: var(--pink);
}

.pay__details {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(232, 0, 111, 0.25);
  background: rgba(252, 238, 243, 0.7);
  color: var(--dark);
  min-width: 0;
}

.pay-upload {
  margin-top: 12px;
}

.upload {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(26, 10, 16, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.upload__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 0, 111, 0.25);
  background: rgba(232, 0, 111, 0.07);
  color: var(--dark);
  font-weight: 900;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.upload:hover .upload__btn {
  background: rgba(232, 0, 111, 0.12);
  border-color: rgba(232, 0, 111, 0.35);
}

.upload__meta {
  color: var(--gray);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pay__detail {
  margin: 0;
  color: var(--dark);
  font-weight: 600;
}

.pay-bank__intro {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--dark);
  font-weight: 600;
}

.pay-bank__list {
  margin: 0;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.pay-bank,
.pay-bank--from-api,
.pay-bank--empty {
  min-width: 0;
}

.pay-bank__row {
  display: grid;
  /* Label column capped; value column must shrink (minmax 0) inside nested grids — fixes 1-ch-wide “vertical” digits on mobile */
  grid-template-columns: minmax(0, min(110px, 32%)) minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  font-size: 0.9rem;
}

.pay-bank__row dt {
  margin: 0;
  color: var(--gray);
  font-weight: 700;
  font-size: 0.82rem;
  min-width: 0;
}

.pay-bank__row dd {
  margin: 0;
  color: var(--dark);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.pay-bank__mono {
  display: block;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(26, 10, 16, 0.08);
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-all;
}

@media (min-width: 561px) {
  .pay-bank__mono {
    display: inline-block;
    width: auto;
    max-width: 100%;
  }
}

.pay-bank-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pay-bank-card {
  border: 1px solid var(--color-border, #e8e4ef);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: #faf9fc;
  min-width: 0;
}

/* Narrow viewports: stack label above value so account / IBAN use full row width */
@media (max-width: 560px) {
  .pay-bank__list {
    gap: 14px;
  }

  .pay-bank__row {
    grid-template-columns: 1fr;
    gap: 4px 0;
    align-items: stretch;
  }

  .pay-bank__row dt {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .pay-bank__row dd {
    margin: 0;
    padding: 0;
  }

  .pay-bank__mono {
    display: block;
    width: 100%;
    max-width: none;
  }

  .pay-bank-card {
    padding: 0.85rem 0.75rem;
  }
}

.pay-bank-card__title {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-ink, #1a1523);
}

.pay-bank__notes {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border, #e8e4ef);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-muted, #5c5568);
}

.pay-bank__notes p {
  margin: 0;
}

.pay-bank--empty .pay-bank__intro {
  margin-bottom: 0.5rem;
}

.pay-bank__fine {
  margin: 12px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--gray);
  font-weight: 600;
}

.order-card__note {
  margin: 10px 0 0;
  color: var(--gray);
  font-size: 0.9rem;
}

.order-card--sticky-actions {
  position: sticky;
  top: 110px;
}

.order-summary {
  position: static;
}

.order-sum-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 0, 111, 0.08);
  padding: 20px;
}

.order-sum-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: var(--dark);
}

.order-sum-list {
  --order-sum-item-gap: 12px;
  /* One row ≈ 52px image + 12px top + 12px bottom padding */
  --order-sum-item-row: calc(52px + 24px);
  display: grid;
  gap: var(--order-sum-item-gap);
  margin: 0 0 14px;
  max-height: calc(
    5 * var(--order-sum-item-row) + 4 * var(--order-sum-item-gap)
  );
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable both-edges;
  padding-right: 12px;
  min-height: 0;
}

.order-sum-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(26, 10, 16, 0.08);
  background: transparent;
}

.order-sum-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-sum-item img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--gray-light);
}

.order-sum-item__thumb-missing {
  width: 52px;
  min-height: 52px;
  border-radius: 12px;
  background: var(--gray-light);
  color: var(--gray);
  font-size: 0.62rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  padding: 4px;
}

.order-sum-item strong {
  color: var(--dark);
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

.order-sum-item small {
  color: var(--gray);
  display: block;
  margin-top: 3px;
}

.order-sum-item span {
  color: var(--berry);
  font-weight: 900;
}

.order-sum-item--custom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  grid-template-columns: unset;
}

.order-sum-item--custom > .order-sum-visuals {
  width: 100%;
}

.order-sum-item__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  width: 100%;
}

.order-sum-item__price {
  color: var(--berry);
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.order-sum-studio-economics {
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(232, 0, 111, 0.06);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
}

.order-sum-studio-economics strong {
  color: var(--berry);
  font-weight: 900;
}

.order-sum-item__design {
  display: block;
  color: var(--pink);
  font-weight: 600;
  margin-top: 4px;
}

.order-sum-visuals {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  align-items: flex-start;
}

.order-sum-visuals__fig {
  margin: 0;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 10, 16, 0.08);
  text-align: center;
  width: 96px;
}

.order-sum-visuals__fig figcaption {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.2;
  min-height: 30px;
}

.order-sum-visuals__fig img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--gray-light);
}

.order-sum-visuals__fig--final img {
  width: 100%;
  object-fit: cover;
  background: transparent;
}

.order-sum-visuals__fig--design img,
.order-sum-visuals__fig--artwork img {
  width: 100%;
  object-fit: cover;
  background: transparent;
}

.order-sum-visuals__missing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  min-height: 64px;
  margin: 0 auto;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  padding: 6px;
  line-height: 1.25;
}

.toast-sum__api-design-name {
  font-size: 0.88rem;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.95);
}

.toast-sum__design-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin: 10px 0 4px;
}

.toast-sum__design-strip figure {
  margin: 0;
  text-align: center;
}

.toast-sum__design-strip figcaption {
  font-size: 0.65rem;
  opacity: 0.9;
  margin-bottom: 4px;
}

.toast-sum__design-strip img {
  width: 100%;
  max-height: 100px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
}

.order-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  color: var(--dark);
  font-weight: 900;
}

.order-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid rgba(26, 10, 16, 0.06);
  color: var(--dark);
  font-weight: 900;
}

.order-sum-fine {
  margin: 10px 0 0;
  color: var(--gray);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .order-card--sticky-actions {
    position: static;
  }
}

.cart-page {
  padding: 110px 0 90px;
  background: var(--gray-light);
}

.cart-page__container {
  max-width: 1160px;
}

.cart-page__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.cart-page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  margin: 0;
}

.cart-page__back {
  font-weight: 700;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 26px;
  align-items: start;
}

.cart-page__items {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 0, 111, 0.08);
  overflow: hidden;
}

.cart-page__empty {
  padding: 26px 22px;
  color: var(--gray);
}

.cart-page__list {
  display: flex;
  flex-direction: column;
}

.cart-line {
  display: grid;
  grid-template-columns: 176px 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(26, 10, 16, 0.06);
  align-items: center;
}

.cart-line__media {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line__img {
  width: 176px;
  height: 176px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-light);
}

.cart-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 176px;
}

.cart-line__thumbs img {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--gray-light);
  border: 1px solid rgba(26, 10, 16, 0.06);
}

.cart-line__name {
  font-family: var(--font-accent);
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--dark);
}

.cart-line__opt {
  margin: 0 0 6px;
  color: var(--gray);
  font-size: 0.86rem;
}

.cart-line__price {
  margin: 0;
  color: var(--berry);
  font-weight: 700;
}

.cart-line__controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.cart-qty {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--dark);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.cart-qty__btn {
  width: 34px;
  min-height: 32px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-weight: 700;
  font-family: var(--font-accent);
  font-size: 1rem;
  line-height: 1;
}

.cart-qty__btn:hover:not(:disabled) {
  background: var(--gray-light);
  color: var(--pink);
}

.cart-qty__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cart-qty__val {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 0 5px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-accent);
  color: var(--dark);
  font-size: 0.92rem;
  border-left: 1px solid rgba(26, 10, 16, 0.12);
  border-right: 1px solid rgba(26, 10, 16, 0.12);
}

.cart-line__remove {
  border: none;
  background: transparent;
  color: var(--pink);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-page__summary {
  position: sticky;
  top: 110px;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 0, 111, 0.08);
  padding: 20px 20px 18px;
  margin-bottom: 18px;
}

.cart-summary__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 14px;
  color: var(--dark);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(26, 10, 16, 0.06);
}

.cart-summary__row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.cart-summary__row--muted {
  color: var(--gray);
  font-size: 0.92rem;
}

.cart-summary__row--total {
  border-top: 1px solid rgba(26, 10, 16, 0.1);
  margin-top: 4px;
  padding-top: 14px;
  font-weight: 800;
  color: var(--dark);
}

.cart-summary__row--total strong {
  color: var(--berry);
  font-size: 1.05rem;
}

.cart-summary__note {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 12px 0 0;
  line-height: 1.5;
}

.cart-reco {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 0, 111, 0.08);
  padding: 18px;
}

.cart-reco__title {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 12px;
}

.cart-reco__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.cart-reco__card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 10, 16, 0.06);
  box-shadow: 0 2px 10px rgba(157, 0, 68, 0.08);
  transition: var(--transition);
}

.cart-reco__card:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 0, 111, 0.25);
}

.cart-reco__card img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-reco__card span {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .cart-page__summary {
    position: static;
  }
}

@media (max-width: 520px) {
  .cart-line {
    grid-template-columns: 72px 1fr;
    align-items: start;
  }

  .cart-line__media {
    width: 72px;
  }

  .cart-line__img {
    width: 72px;
    height: 72px;
  }

  .cart-line__thumbs {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 72px;
  }

  .cart-line__thumbs img {
    height: 24px;
  }

  .cart-line__controls {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

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

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* ─── CONTAINER ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 0, 111, 0.4);
}

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

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

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

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

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

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

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

.btn--white:hover {
  background: var(--peach);
  color: var(--pink-deep);
  transform: translateY(-2px);
}

/* 4. The "Shop Valentine's" Button */
.hero .btn--primary {
  background: #F5C842;
  /* Golden Yellow */
  color: #3D0D18;
  /* Deep Burgundy-Black */
  font-weight: 700;
  border-radius: 50px;
  padding: 16px 40px;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-color: #F5C842;
}

.hero .btn--primary:hover {
  background: #FFFFFF;
  color: #E8327A;
  /* Transitions to Hot Pink on hover */
  transform: translateY(-2px);
  border-color: #FFFFFF;
}

.hero .btn--white {
  color: var(--pink);
  font-weight: 700;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.82rem;
}

.btn--full {
  width: 100%;
}

/* ─── SECTION HEADERS ──────────────────────────── */
.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 60px;
}

.section-header--light .section-title,
.section-header--light .section-sub {
  color: var(--white);
}

.section-eyebrow {
  color: #E8327A;
  /* Hot Pink */
  background: rgba(232, 50, 122, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 14px;
}

.section-eyebrow--light {
  color: var(--peach);
  background: rgba(255, 255, 255, 0.15);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
}

.collection-page__switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  margin-top: 14px;
}

.collection-page__switcher a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.collection-page__switcher a:hover {
  color: #ffffff;
}

.collection-page__switcher-current {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.collection-page__switcher-break {
  flex-basis: 100%;
  width: 100%;
  height: 0;
}

/* ─── ANNOUNCEMENT BAR ─────────────────────────── */
.announcement-bar {
  text-align: center;
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(231, 0, 112, 0.1);
  transition: background 0.3s ease, color 0.3s ease;
}

.topbar--baby-pink {
  background: var(--peach);
  color: var(--pink);
}

.topbar--light-orange {
  background: var(--light-orange);
  color: var(--orange);
}

/* ─── HEADER ──────────────────────────────────── */
/* ─── HEADER ──────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 245, 236, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 0, 111, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(184, 0, 79, 0.12);
}

/* Dynamic Header States — same surface as light sections (--gray-light) */
.header--white {
  background: var(--gray-light);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header--colored {
  background: var(--gray-light);
  border-bottom-color: rgba(232, 0, 111, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header--gradient {
  background: var(--header-brand-bar-gradient);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header--gradient .nav__link {
  color: rgba(255, 255, 255, 0.95);
}

.header--gradient .nav__link:hover,
.header--gradient .nav__link.active {
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
}

.header--gradient .logo__text {
  color: var(--white);
}

.header--gradient .logo__img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.header--gradient .icon-btn {
  color: var(--white);
}

.header--gradient .icon-btn:hover {
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
}

.header--gradient .nav-toggle span {
  background: var(--white);
}

.header--gradient .explore-toggle span {
  background: rgba(255, 255, 255, 0.5);
}

.header--gradient .nav-toggle:hover span,
.header--gradient .nav-toggle[aria-expanded='true'] span {
  background: var(--white);
}

.header--gradient .explore-toggle:hover span,
.header--gradient .explore-toggle[aria-expanded='true'] span {
  background: rgba(255, 255, 255, 0.5);
}

.header--gradient .explore-toggle:hover,
.header--gradient .explore-toggle[aria-expanded='true'] {
  background: rgba(0, 0, 0, 0.09);
}

/* Header gradient: keep dark glass pill */
.header--gradient .btn--primary {
  background: rgba(0, 0, 0, 0.26);
  color: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: none;
  box-shadow:
    0 2px 14px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Browse All / Start your custom order: match "Our Collections" surface */
.btn--frost-gray {
  background: var(--gray-light);
  color: var(--dark);
  border-color: rgba(26, 10, 16, 0.22);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: none;
  box-shadow: var(--shadow-sm);
}

.header--gradient .btn--primary:hover {
  /* On "white" sections we use header--gradient; keep hover light like Our Collections */
  background: var(--gray-light);
  color: var(--dark);
  border-color: var(--pink);
  text-shadow: none;
  box-shadow: 0 6px 24px rgba(26, 10, 16, 0.18);
  transform: translateY(-2px);
}

/* No movement on hover; just a clearer brand outline */
.btn--frost-gray:hover {
  background: var(--gray-light);
  color: var(--dark);
  border-color: var(--pink);
  box-shadow: 0 6px 24px rgba(26, 10, 16, 0.18);
  transform: none;
}

.header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
  padding: 0 20px 0 16px;
  height: 90px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Explore mega menu (left of header) — flush to bar’s left when inner is centered */
.explore-wrap {
  position: relative;
  flex-shrink: 0;
  z-index: 1205;
  margin-left: min(0px, calc((1200px - 100vw) / 2));
  margin-right: 26px;
}

.explore-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 0;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 5px 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  box-sizing: border-box;
}

.explore-toggle span {
  display: block;
  width: 12px;
  height: 2px;
  flex-shrink: 0;
  background: rgba(26, 10, 16, 0.5);
  border-radius: 2px;
  transition: var(--transition);
}

.explore-toggle:hover,
.explore-toggle[aria-expanded='true'] {
  background: rgba(232, 0, 111, 0.05);
}

.explore-toggle:hover span,
.explore-toggle[aria-expanded='true'] span {
  background: rgba(231, 0, 112, 0.5);
}

.explore-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 90px;
  max-height: calc(100vh - 90px);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(26, 10, 16, 0.12);
  border-top: 1px solid rgba(26, 10, 16, 0.06);
  z-index: 1001;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.explore-panel.explore-panel--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .explore-panel {
    transition-duration: 0.01ms;
  }

  .explore-panel--open .explore-col__title {
    animation: none !important;
  }
}

.explore-panel[hidden] {
  display: none !important;
}

.explore-panel__scroller {
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  padding: 28px 0 36px;
  -webkit-overflow-scrolling: touch;
}

.explore-panel__container {
  max-width: 1200px;
}

.explore-panel__cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 28px 20px;
}

.explore-col__title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  color: var(--pink-deep);
}

.explore-col__title a {
  color: inherit;
  transition: color var(--transition);
}

.explore-col__title a:hover {
  color: var(--pink);
}

.explore-col__title--spaced {
  margin-top: 20px;
}

/* Explore: mobile shows “Get in touch” heading; desktop keeps “Contact” */
.explore-col__title--get-in-touch-mobile {
  display: none;
}

.explore-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.explore-col__list li {
  margin: 0;
}

.explore-col__list a {
  display: block;
  padding: 5px 0;
  font-size: 0.86rem;
  color: var(--gray);
  transition: color var(--transition);
}

.explore-col__list a:hover {
  color: var(--pink);
}

.header__center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Container for absolutely centered elements */
}

/* New Search Bar Wrap */
.header__search-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 0;
  max-width: 480px;
  background: var(--white);
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid rgba(232, 0, 111, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 5;
}

/* Avoid a stray pink dot from 1px border when width is 0 (closed) */
.header:not(.search-active) .header__search-wrap {
  border: none;
  box-shadow: none;
}

.header.search-active .header__search-wrap {
  width: 100%;
  padding: 4px 16px 4px 6px;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.header__search-input {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
}

.header__search-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  padding: 0 10px;
  transition: var(--transition);
}

.header__search-close:hover {
  color: var(--pink);
  transform: rotate(90deg);
}

/* Header storefront search (Supabase catalog + client filter) */
.header-search-results {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 6px);
  width: min(480px, calc(100vw - 32px));
  max-height: min(420px, 55vh);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(232, 0, 111, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  z-index: 20;
  text-align: left;
}

.header:not(.search-active) .header-search-results {
  display: none !important;
}

.header-search-results__inner {
  padding: 8px 0;
}

.header-search-results__section {
  padding-bottom: 6px;
}

.header-search-results__section + .header-search-results__section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 8px;
}

.header-search-results__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 4px 14px 6px;
}

.header-search-results__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.header-search-results__row:hover,
.header-search-results__row:focus-visible {
  background: rgba(232, 0, 111, 0.06);
  outline: none;
}

.header-search-results__thumb-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-light);
}

.header-search-results__thumb-wrap--empty {
  background: linear-gradient(135deg, rgba(232, 0, 111, 0.08), rgba(255, 200, 220, 0.35));
}

.header-search-results__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-search-results__main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-search-results__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.header-search-results__badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pink);
  flex-shrink: 0;
}

.header-search-results__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search-results__sub {
  font-size: 0.78rem;
  color: var(--gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search-results__empty {
  margin: 0;
  padding: 16px 14px;
  font-size: 0.88rem;
  color: var(--gray);
  text-align: center;
}

/* Adjust Nav Visibility */
.header.search-active .nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header.search-active .search-toggle {
  opacity: 0;
  visibility: hidden;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.logo__img {
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo__img--circle {
  height: 56px;
}

.logo__img--text {
  height: auto;
  width: auto;
  max-width: min(520px, 32vw);
  max-height: min(84px, 11vw);
  object-fit: contain;
  object-position: left center;
  transition: none;
  pointer-events: none;
}

.logo:hover .logo__img {
  transform: scale(1.05);
}

.logo__name {
  height: 75px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  transition: none;
  pointer-events: none;
}

.logo__img--sm {
  width: 36px;
  height: 36px;
}

.logo__text {
  font-family: var(--font-fun);
  font-size: 1.4rem;
  color: var(--pink);
  line-height: 1;
}

/* Mobile / tablet search — align with hamburger nav breakpoint */
@media (max-width: 1024px) {
  .header__search-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    max-width: none;
    height: 56px;
    border-radius: 0;
    background: var(--white);
    padding: 0 16px;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 2005;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .header.search-active .header__search-wrap {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /*
   * Mobile: .header__center is width 0 (flex collapse). Absolute + left:50% on results
   * would center on a zero-width box → translateX(-50%) pulls the panel off the left edge.
   * Pin the dropdown to the viewport under the fixed search bar instead.
   */
  .header.search-active .header-search-results {
    position: fixed;
    left: max(16px, env(safe-area-inset-left, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    width: auto;
    max-width: none;
    transform: none;
    top: calc(56px + 8px);
    z-index: 2010;
  }

  .search-toggle {
    width: 34px;
    height: 34px;
  }

  .explore-toggle {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 3px 0;
  }

  .explore-toggle span {
    width: 10px;
    height: 1.75px;
  }
}





/* Nav — overflow must stay visible so dropdown panels are not clipped */
.nav {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px 8px;
  list-style: none;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: visible;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav__list::-webkit-scrollbar {
  display: none;
}

/*
 * Desktop / wide tablet: centering .nav in .header__center pulls the link row left and right
 * from the middle — the left half overlaps the logo. Start links after the logo instead.
 */
@media (min-width: 1025px) {
  .header__center {
    justify-content: flex-start;
    /* Space before utility icons so “Contact” never runs under search / wishlist */
    padding-right: clamp(12px, 2vw, 28px);
  }

  .nav {
    justify-content: flex-start;
    min-width: 0;
    max-width: 100%;
    /* Keep links inside the middle column — overflow was drawing under .header__actions */
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    /* No visible scrollbar — pink thumb looked like a stray dot between links and icons */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .nav__list {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  .logo {
    flex-shrink: 0;
    margin-right: clamp(12px, 1.8vw, 28px);
  }

  .header__actions {
    flex-shrink: 0;
    position: relative;
    z-index: 25;
    padding-left: clamp(10px, 1.5vw, 20px);
    margin-left: 0;
  }
}

.nav__link {
  padding: 8px clamp(8px, 0.85vw, 14px);
  border-radius: 50px;
  font-size: clamp(0.8rem, 0.74rem + 0.38vw, 0.93rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__link:hover,
.nav__link.active {
  color: var(--pink);
  background: rgba(232, 0, 111, 0.07);
}

/* Collections dropdown (only this nav button owns a menu) */
.nav__item--collections {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.nav__dropdown-root {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
}

.nav__dropdown-root::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  top: 100%;
  height: 8px;
  pointer-events: none;
}

.nav__dropdown-root:hover::after,
.nav__dropdown-root:focus-within::after {
  pointer-events: auto;
}

.nav__link--collections-dropdown {
  position: relative;
  padding-right: 22px;
}

.nav__link--collections-dropdown::after {
  content: '▾';
  position: absolute;
  right: 7px;
  top: 50%;
  margin-top: -8px;
  font-size: 0.78rem;
  opacity: 0.75;
  pointer-events: none;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  max-width: min(280px, calc(100vw - 24px));
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 1250;
  background: #f3f3f3;
  border: 1px solid #dedede;
  border-radius: 2px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.2s;
}

.nav__dropdown-root:hover .nav__dropdown,
.nav__dropdown-root:focus-within .nav__dropdown,
.nav__dropdown-root .nav__link[aria-expanded='true']+.nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown-link,
.nav__subdropdown-link {
  display: block;
  text-decoration: none;
}

.nav__dropdown-link {
  padding: 7px 18px;
  color: #4f4f4f;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible {
  background: #e9e9e9;
  color: #222;
}

.nav__dropdown-item {
  position: relative;
}

.nav__dropdown-item--has-children>.nav__dropdown-link {
  padding-right: 34px;
}

.nav__dropdown-item--has-children>.nav__dropdown-link::after {
  content: '›';
  position: absolute;
  right: 10px;
  color: #888;
}

.nav__subdropdown {
  position: absolute;
  top: 0;
  left: calc(100% + 1px);
  min-width: 210px;
  max-width: min(260px, calc(100vw - 24px));
  background: #f3f3f3;
  border: 1px solid #dedede;
  border-radius: 2px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-3px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.18s;
}

.nav__dropdown-item--has-children:hover>.nav__subdropdown,
.nav__dropdown-item--has-children:focus-within>.nav__subdropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.nav__subdropdown-link {
  padding: 7px 16px;
  color: #555;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav__subdropdown-link:hover,
.nav__subdropdown-link:focus-visible {
  background: #e9e9e9;
  color: #222;
}

.nav__dropdown-status {
  padding: 8px 14px;
  color: #777;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav__link--collections-dropdown::after {
  display: none;
}

/* Header Actions */
.header__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.icon-btn:hover {
  background: rgba(232, 0, 111, 0.1);
  color: var(--pink);
}

.header__cart {
  position: relative;
}

.header__cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  pointer-events: none;
}

.header__cart-badge[hidden] {
  display: none !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 1. The Main Hero Background (The Gradient) */
.hero {
  min-height: 90vh;
  /* Multi-stop gradient from Deep Pink to Golden Yellow */
  background: linear-gradient(135deg, #C4185A 0%, #E8327A 35%, #E8621A 70%, #F5C842 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
}

/* 2. The Diagonal Stripes Pattern */
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.04) 40px,
      /* Subtle white stripes at 4% opacity */
      rgba(255, 255, 255, 0.04) 80px);
  pointer-events: none;
}

/* ─── HERO SLIDER ───────────────────────────────── */
.hero__slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__slide {
  position: absolute;
  /* Stack slides for crossfade */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  /* Only active slide takes physical space */
}

@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero__content {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 60px;
  align-items: center;
}

/* Text animates in from left */
.hero__slide.active .hero__text {
  animation: slideInLeft 0.8s 0.3s cubic-bezier(0.19, 1, 0.22, 1) both;
}

/* Reset animation for non-active slides */
.hero__slide:not(.active) .hero__text {
  animation: none;
  opacity: 0;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Image animates in from right */
.hero__slide.active .hero__visual {
  animation: slideInRight 0.7s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 3. Text Styling */
.hero__eyebrow {
  color: #F5C842;
  /* Golden Yellow */
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: inline-block;
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.hero__title {
  color: #FFFFFF;
  font-weight: 900;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: italic;
  color: #F5C842;
  /* Highlight color for "Love" and "Style" */
  letter-spacing: 0.03em;
  /* Added slight spacing to prevent character merging */
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  /* Reduced from 36px to move buttons upward */
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.trust-icon {
  font-size: 1rem;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image wrapper - the actual product photo frame */
.hero__img-wrapper {
  width: 100%;
  max-width: 500px;
  /* Resized to fit the blue box in screenshot */
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dot controls */
.hero__controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
  /* Moved lower as marked in green */
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(26, 10, 16, 0.2);
  /* Darker base */
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--dark);
  width: 32px;
  border-radius: 6px;
}

.hero__img-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.18);
  border: 2px dashed rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.placeholder__icon svg {
  width: 80px;
  opacity: 0.6;
}

.placeholder__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.placeholder__hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Floating cards */
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.floating-card--1 {
  bottom: 20%;
  left: -16%;
  transform: rotate(-2deg);
}

.floating-card--2 {
  top: 15%;
  right: -10%;
  transform: rotate(2deg);
  background: var(--yellow);
}

@keyframes floatCard1 {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes floatCard2 {

  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.mini-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}



/* ─── MARQUEE STRIP ────────────────────────────── */
.marquee-strip {
  background: var(--pink);
  color: var(--white);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 22s linear infinite;
  gap: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0 20px;
}

.marquee-track .dot {
  color: var(--yellow);
  padding: 0 4px;
  font-size: 1.1rem;
  /* Matched to previous star size */
  line-height: 1;
}

/* ─── LOGO TICKER ──────────────────────────────── */
.logo-ticker {
  background: var(--peach);
  /* Baby pink from the brand palette */
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 40;
  border-bottom: 1px solid rgba(231, 0, 112, 0.08);
}

/* Fade effects for the edges */
.logo-ticker::before,
.logo-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--peach), transparent);
}

.logo-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--peach), transparent);
}

.logo-ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 100px;
  animation: logo-scroll 45s linear infinite;
  padding-left: 100px;
}

.logo-ticker:hover .logo-ticker__track {
  animation-play-state: paused;
}

.logo-ticker__track img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: multiply;
  /* Ensuring the white/light backgrounds blend into the baby pink */
}

.logo-ticker__track img:hover {
  transform: scale(1.12);
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
    transform: none;
  }
}

/* ─── IMAGE PLACEHOLDERS ───────────────────────── */
.img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.img-placeholder--warm {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
}

.img-placeholder--accent {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
}

.img-placeholder--berry {
  background: linear-gradient(135deg, var(--berry) 0%, var(--magenta) 100%);
}

.img-placeholder--product {
  border-radius: var(--radius-md);
}

.img-placeholder--story {
  background: linear-gradient(135deg, var(--peach) 0%, var(--orange) 100%);
}

.img-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  z-index: 1;
  position: relative;
}

.img-placeholder__inner svg {
  width: 40px;
  opacity: 0.7;
  margin-bottom: 4px;
}

/* ─── COLLECTIONS SECTION ──────────────────────── */
.collections {
  padding: 100px 0;
  background: var(--gray-light);
}

.collections__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  justify-items: center;
  gap: 20px;
}

/* Image on top; white band below fits copy only (no full-bleed overlay) */
.collection-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 273px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s ease;
}

.collections .collection-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.32),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.collections a.collection-card {
  text-decoration: none;
  color: inherit;
}

.collections a.collection-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.collection-card__img-wrap {
  position: relative;
  flex-shrink: 0;
  height: 273px;
  overflow: hidden;
}

.collection-card__img {
  height: 100%;
}

.collection-card__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, rgba(231, 0, 112, 0.35) 0%, rgba(255, 165, 0, 0.45) 100%);
}

.collections__status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  margin: 24px 0;
  max-width: 36rem;
  justify-self: center;
}

.collection-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collections .collection-card:hover .collection-card__img-wrap img {
  transform: scale(1.14);
}

.collection-card__info {
  flex: 0 0 auto;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  background: var(--white);
}

.collection-card__info h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 2px;
}

.collection-card__info p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.45;
  margin: 0;
}

.collection-card__actions {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-top: 8px;
}

.collection-card__cta {
  width: 100%;
  justify-content: center;
}

.collections__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

/* ─── BEST SELLERS ──────────────────────────────── */
.bestsellers {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--pink) 0%, var(--orange) 50%, var(--yellow) 100%);
  position: relative;
  overflow: hidden;
}

.bestsellers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.04) 40px,
      rgba(255, 255, 255, 0.04) 80px);
  pointer-events: none;
}

.bestsellers .section-title {
  color: var(--white);
}

.bestsellers__empty,
.bestsellers__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  text-align: center;
  color: var(--white);
  font-weight: 600;
}

.bestsellers__error {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

/* Themed collection pages + all-collections catalog: 4 products per row (5th wraps to next row) */
section.bestsellers[id^='collection-'][id$='-shop'] .products__grid,
#collectionAllCatalogGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

section.bestsellers[id^='collection-'][id$='-shop'] .products__grid > .collections__status,
#collectionAllCatalogGrid > .collections__status {
  grid-column: 1 / -1;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

/* Stacked layout: photo area + white block for title, description, price (Crafted-style hover on image only) */
.bestsellers .product-card {
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s ease;
}

.bestsellers .product-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.32),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

/* Wishlist cards: match Best Sellers lift + image zoom */
.wishlist-page .product-card {
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s ease;
}

.wishlist-page .product-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.28),
    0 12px 24px rgba(0, 0, 0, 0.16);
}

.wishlist-page .product-card__img {
  flex-shrink: 0;
  height: 298px;
  position: relative;
  overflow: hidden;
}

.wishlist-page .product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wishlist-page .product-card:hover .product-card__img img {
  transform: scale(1.14);
}

.wishlist-page .product-card__info {
  flex: 0 0 auto;
  padding: 10px 14px 12px;
  background: var(--white);
}

.wishlist-page .product-card__name {
  font-size: 0.98rem;
  line-height: 1.2;
  margin-bottom: 2px;
  color: var(--dark);
}

.wishlist-page .product-card__desc {
  font-size: 0.76rem;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wishlist-page .product-card__footer {
  gap: 8px;
}

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--pink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 4;
}

.product-card__badge--new {
  background: var(--orange);
}

.product-card__badge--gift {
  background: var(--berry);
}

.product-card__badge--sale {
  background: var(--orange);
}

.product-card__img {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.bestsellers .product-card__img {
  flex-shrink: 0;
  height: 298px;
  position: relative;
  overflow: hidden;
}

.bestsellers .product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bestsellers .product-card:hover .product-card__img img {
  transform: scale(1.14);
}

.bestsellers .product-card__info {
  flex: 0 0 auto;
  padding: 10px 14px 12px;
  background: var(--white);
}

.bestsellers .product-card__name {
  font-size: 0.98rem;
  line-height: 1.2;
  margin-bottom: 2px;
  color: var(--dark);
}

.bestsellers .product-card__desc {
  font-size: 0.76rem;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bestsellers .product-card__footer {
  gap: 8px;
}

.bestsellers .product-card__price {
  font-size: 1rem;
  color: var(--pink);
}

.bestsellers .product-card .btn--sm {
  padding: 6px 14px;
  font-size: 0.76rem;
}

.product-card__wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card__wishlist svg {
  width: 16px;
  color: var(--gray);
  transition: var(--transition);
}

.product-card__wishlist:hover {
  background: var(--pink);
}

.product-card__wishlist:hover svg {
  color: var(--white);
  stroke: var(--white);
}

.product-card__wishlist.liked {
  background: var(--pink);
}

.product-card__wishlist.liked svg {
  color: var(--white);
  stroke: var(--white);
}

.product-card__info {
  padding: 18px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.product-card__desc {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 14px;
}

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

.product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink);
}

/* ─── STORY SECTION (Message from creator) ──────── */
.story {
  padding: 100px 0;
  background: linear-gradient(180deg, #fffdf8 0%, var(--gray-light) 45%, #fff8f6 100%);
  position: relative;
}

.story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 50, 122, 0.18), transparent);
  pointer-events: none;
}

.story__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.story__visual {
  width: 100%;
  min-width: 0;
}

.story__img-wrap {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  position: relative;
  border: 3px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid rgba(243, 201, 59, 0.4);
  outline-offset: 5px;
}

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

.story__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: clamp(22px, 3.5vw, 34px) clamp(22px, 3vw, 32px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 250, 252, 0.98) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(157, 0, 68, 0.1);
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.story__text .section-title {
  margin-bottom: 6px;
}

.story__footer {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.story__cta {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 600;
}

.story__text p {
  color: var(--gray);
  line-height: 1.8;
}

.story__text .story__message-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: none;
}

.story__text .story__message-block p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--gray);
}

.story__signature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding-top: 10px;
  margin-top: 0;
}

.story__signature-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 6px;
}

.story__signature-name {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
  display: inline-block;
  line-height: 0;
}

.story__signature-img {
  display: block;
  height: auto;
  max-height: 6rem;
  width: auto;
  max-width: min(380px, 100%);
  object-fit: contain;
  object-position: left center;
}

.story__signature-role {
  display: block;
  width: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  text-align: center;
}

.story__values {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0 6px;
}

.story .value-item {
  padding: 14px 16px 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(157, 0, 68, 0.08);
  border-left: 3px solid var(--orange);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.story .value-item:nth-child(2) {
  border-left-color: var(--yellow);
}

.story .value-item:nth-child(3) {
  border-left-color: var(--pink);
}

.story .value-item:hover {
  box-shadow: 0 4px 20px rgba(184, 0, 79, 0.08);
  border-color: rgba(157, 0, 68, 0.12);
}

.value-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.84rem;
  color: var(--gray);
  margin: 0;
}

/* ─── BESPOKE SECTION ───────────────────────────── */
.bespoke {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--pink) 0%, var(--orange) 50%, var(--yellow) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.bespoke__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.04) 40px,
      rgba(255, 255, 255, 0.04) 80px);
  pointer-events: none;
}

.bespoke__content {
  position: relative;
  z-index: 1;
}

.bespoke__sparkles {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 12px;
}

.sparkle--lg {
  font-size: 1.4rem;
}

.bespoke__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin: 16px 0;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* "Escape" animation (scoped to Customize heading only) */
.bespoke__title-escape {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
}

.bespoke__title-escape .bespoke__title-show,
.bespoke__title-escape .bespoke__title-reveal {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.bespoke__title-escape .bespoke__title-show::after {
  content: " ";
}

.bespoke__title-escape .bespoke__title-show {
  animation: bespokeShowup 7s infinite;
}

.bespoke__title-escape .bespoke__title-reveal {
  --reveal-w: 7.4ch;
  width: 0;
  animation: bespokeReveal 7s infinite;
}

.bespoke__title-escape .bespoke__title-reveal > span {
  display: inline-block;
  /* start hidden to the left; the reveal animation grows width */
  margin-left: calc(-1 * var(--reveal-w));
  animation: bespokeSlidein 7s infinite;
}

@keyframes bespokeShowup {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes bespokeSlidein {
  0% { margin-left: calc(-2 * var(--reveal-w)); }
  20% { margin-left: calc(-2 * var(--reveal-w)); }
  35% { margin-left: 0; }
  100% { margin-left: 0; }
}

@keyframes bespokeReveal {
  0% { opacity: 0; width: 0; }
  20% { opacity: 1; width: 0; }
  30% { width: var(--reveal-w); }
  80% { opacity: 1; }
  100% { opacity: 0; width: var(--reveal-w); }
}

@media (prefers-reduced-motion: reduce) {
  .bespoke__title-escape .bespoke__title-show,
  .bespoke__title-escape .bespoke__title-reveal,
  .bespoke__title-escape .bespoke__title-reveal > span {
    animation: none !important;
  }
  .bespoke__title-escape .bespoke__title-reveal {
    width: auto;
    opacity: 1;
  }
  .bespoke__title-escape .bespoke__title-show {
    opacity: 1;
  }
  .bespoke__title-escape .bespoke__title-reveal > span {
    margin-left: 0;
  }
}

.bespoke__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.bespoke__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.step {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  max-width: 170px;
  text-align: center;
  color: var(--white);
}

.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 8px;
}

/* Bespoke steps: numeral top / title vertically centered below */
.bespoke .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 158px;
  max-width: 200px;
  padding: 16px 18px 18px;
  position: relative;
  z-index: 0;
  cursor: default;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.25, 0.64, 1),
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.bespoke .step:hover {
  z-index: 2;
  transform: translateY(-10px) scale(1.04);
  background: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 18px 44px rgba(26, 10, 16, 0.22),
    0 4px 12px rgba(138, 18, 69, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Hierarchy numbers: plain pink numeral + double underline (no circle) */
.bespoke .step__num {
  flex-shrink: 0;
  font-family: var(--font-accent);
  font-size: clamp(1.25rem, 2.8vw, 1.5rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  width: auto;
  height: auto;
  display: block;
  text-align: center;
  color: var(--pink);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: static;
  isolation: auto;
  text-shadow: 0 1px 2px rgba(26, 10, 16, 0.18);
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-color: var(--pink);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.35em;
}

.step strong {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.78rem;
  opacity: 0.85;
  line-height: 1.5;
  margin: 0;
}

.step p + p {
  margin-top: 6px;
}

.bespoke .step strong {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  font-family: var(--font-accent);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--gray-light);
  transform: perspective(520px) translateY(0) rotateX(0deg);
  transform-origin: 50% 70%;
  will-change: transform, text-shadow, filter;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 2px 0 rgba(26, 10, 16, 0.28),
    0 6px 14px rgba(26, 10, 16, 0.45),
    0 18px 34px rgba(26, 10, 16, 0.25);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.14));
  animation: bespokeStepTextFloat 6.2s ease-in-out infinite;
}

.bespoke .step:nth-child(2) strong {
  animation-delay: 0.35s;
}

.bespoke .step:nth-child(3) strong {
  animation-delay: 0.7s;
}

.bespoke .step:nth-child(4) strong {
  animation-delay: 1.05s;
}

.bespoke .step:hover strong {
  transform: perspective(520px) translateY(-2px) rotateX(10deg);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 2px 0 rgba(26, 10, 16, 0.26),
    0 10px 22px rgba(26, 10, 16, 0.48),
    0 26px 48px rgba(26, 10, 16, 0.24);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.18));
}

@keyframes bespokeStepTextFloat {
  0%,
  100% {
    transform: perspective(520px) translateY(0) rotateX(0deg);
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.14));
  }
  50% {
    transform: perspective(520px) translateY(-1.5px) rotateX(7deg);
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.16));
  }
}

@media (prefers-reduced-motion: reduce) {
  .bespoke .step strong {
    animation: none !important;
    transform: none;
  }
}

.step__arrow {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  align-self: center;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .bespoke .step {
    transition: none;
  }

  .bespoke .step:hover {
    transform: none;
  }
}

/* ─── FEATURES (Why The Mimzi?) ─────────────────── */
.features {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf8 0%, var(--gray-light) 38%, #faf6f8 100%);
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 50, 122, 0.18), transparent);
  pointer-events: none;
}

.section-header--features .section-eyebrow {
  font-size: 0.72rem;
  padding: 3px 12px;
  margin-bottom: 10px;
}

.section-header--features .section-title {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
}

.features__intro {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Visual marquee (3 cards) + summary column — fixed row height */
.features__grid--quad {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 22vw, 300px);
  grid-template-rows: 400px;
  gap: 24px;
  align-items: stretch;
}

.features__visual-marquee-wrap {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 3px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(145deg, rgba(231, 0, 112, 0.12) 0%, rgba(245, 200, 66, 0.18) 100%);
  box-shadow:
    0 16px 48px rgba(184, 0, 79, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.features__visual-marquee {
  flex: 1 1 auto;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.features__visual-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  height: 100%;
  min-height: 400px;
  animation: featuresVisualMarquee 34s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.features__visual-group {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  flex-shrink: 0;
  height: 100%;
  min-height: 400px;
}

.features__visual-group .feature-card--visual {
  flex: 0 0 clamp(220px, 22vw, 300px);
  width: clamp(220px, 22vw, 300px);
  min-height: 400px;
  height: 100%;
}

@keyframes featuresVisualMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    /* Two groups + 24px gap between groups */
    transform: translate3d(calc(-50% - 12px), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .features__visual-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .features__visual-track {
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    justify-content: center;
    gap: 20px;
  }

  .features__visual-group[aria-hidden='true'] {
    display: none !important;
  }

  .features__visual-group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 0;
    gap: 20px;
  }

  .features__visual-group .feature-card--visual {
    flex: 1 1 260px;
    max-width: 320px;
    width: auto !important;
    height: auto;
    min-height: 400px;
  }

  .features__visual-marquee-wrap {
    min-height: 0;
  }

  .features__visual-marquee {
    min-height: 0;
  }
}

/* ~same footprint as a bestsellers product card */
.feature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s ease;
}

.feature-card--visual {
  position: relative;
  isolation: isolate;
  padding: 0;
  border: none;
}

a.feature-card--visual {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.feature-card--visual:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
  z-index: 3;
}

.feature-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card--visual:hover .feature-card__photo {
  transform: scale(1.14);
}

/* Soft vignette only at bottom so most of the photo stays visible */
.feature-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(26, 10, 16, 0.75) 0%,
    rgba(26, 10, 16, 0.35) 38%,
    rgba(26, 10, 16, 0.08) 62%,
    transparent 100%
  );
}

.feature-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 16px 16px;
}

/* Legible type at bottom band; gradient keeps most of the photo visible */
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.65),
    0 2px 12px rgba(0, 0, 0, 0.45);
}

.feature-card__tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 0 10px rgba(0, 0, 0, 0.35);
}

.feature-card--visual:hover {
  transform: translateY(-10px);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.32),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

/* Fourth card — branded summary panel (width matches feature-card--visual) */
.feature-card--summary {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  padding: 24px 22px 20px;
  overflow: hidden;
  isolation: isolate;
  align-self: stretch;
  min-height: 400px;
  height: 100%;
  max-height: 100%;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(231, 0, 112, 0.11) 0%, transparent 60%),
    radial-gradient(130% 100% at 110% 0%, rgba(245, 200, 66, 0.16) 0%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 246, 250, 0.86) 42%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid rgba(231, 0, 112, 0.18);
  box-shadow:
    0 22px 56px rgba(26, 10, 16, 0.12),
    0 10px 26px rgba(184, 0, 79, 0.08),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.45s ease, border-color 0.45s ease, transform 0.35s ease, background 0.45s ease;
}

.feature-card--summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  background: linear-gradient(
    90deg,
    var(--pink-deep) 0%,
    var(--pink) 28%,
    var(--orange) 62%,
    var(--yellow) 100%
  );
  z-index: 1;
}

.feature-card--summary::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 85% 15%, rgba(243, 201, 59, 0.2) 0%, rgba(231, 0, 112, 0.05) 42%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.feature-card--summary .feature-card__summary-head,
.feature-card--summary .feature-card__summary-marquee-wrap {
  position: relative;
  z-index: 1;
}

.feature-card--summary:hover {
  box-shadow:
    0 26px 70px rgba(26, 10, 16, 0.14),
    0 14px 40px rgba(184, 0, 79, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.95) inset;
  border-color: rgba(231, 0, 112, 0.28);
  transform: translateY(-6px);
}

.feature-card__summary-head {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.feature-card__summary-kicker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 3px solid var(--pink);
}

.feature-card__summary-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 6px;
  flex-shrink: 0;
  color: var(--dark);
  padding-bottom: 0;
  letter-spacing: -0.02em;
}

.feature-card__summary-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray);
  line-height: 1.4;
  max-width: 32ch;
}

/*
  Top stays just under the heading (same 10px gap). Wrapper grows with the card so the
  list fills from heading down to the card bottom.
*/
.feature-card__summary-marquee-wrap {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  align-self: stretch;
  width: 100%;
  margin: 10px 0 0;
  padding: 0 2px 0 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.feature-card__summary-marquee-sizer {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Five highlights: numbered rows (01–05) */
.feature-card__summary-static-list {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 2px 4px 4px 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  counter-reset: mimzi-why;
}

.feature-card__summary-static-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.feature-card__summary-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px 6px 2px;
  margin: 0;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  cursor: default;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card__summary-list-item:hover {
  background: rgba(231, 0, 112, 0.08);
  border-color: rgba(231, 0, 112, 0.2);
  box-shadow: 0 4px 20px rgba(184, 0, 79, 0.12);
}

.feature-card__summary-list-item::before {
  counter-increment: mimzi-why;
  content: counter(mimzi-why, decimal-leading-zero);
  flex-shrink: 0;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: rgba(26, 10, 16, 0.86);
  font-size: 0.66rem;
  font-weight: 900;
  font-family: var(--font-accent);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.14em;
  line-height: 1;
  border: 1px solid rgba(231, 0, 112, 0.22);
  box-shadow:
    0 10px 18px rgba(26, 10, 16, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.3s ease;
}

.feature-card__summary-list-item:hover::before {
  color: var(--pink-deep);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(231, 0, 112, 0.32);
  box-shadow:
    0 10px 18px rgba(26, 10, 16, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.feature-card__summary-static-list .feature-card__summary-marquee-item {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  width: auto;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: left;
  transition: color 0.25s ease;
}

.feature-card__summary-list-item:hover .feature-card__summary-marquee-item {
  color: var(--pink-deep);
}

.feature-card__summary-static-list .feature-card__summary-marquee-item::before {
  content: none;
  display: none;
}

.feature-card__summary-marquee-item {
  display: block;
  position: relative;
  margin: 0;
  padding: 7px 0 7px 1.05rem;
  box-sizing: border-box;
}

.feature-card__summary-marquee-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.27em;
  height: 0.27em;
  min-width: 0.27em;
  border-radius: 50%;
  background: #000000;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card--summary:hover {
    transform: none;
  }
}

/* ─── TESTIMONIALS ──────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: var(--gray-light);
}

.testimonials__marquee-shell {
  width: 100%;
  max-width: 100vw;
  margin-top: 44px;
  overflow: hidden;
}

.testimonials__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.testimonials__row {
  overflow: hidden;
  margin-bottom: 0;
}

.testimonials__track {
  display: flex;
  width: max-content;
  gap: 24px;
  /* One full loop (half the duplicated track); lower = faster */
  animation: testimonialMarquee 48s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.testimonials__marquee-shell:hover .testimonials__track {
  animation-play-state: paused;
}

.testimonials__group {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
  align-items: stretch;
}

@keyframes testimonialMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 12px), 0, 0);
  }
}

.testimonials__marquee .testimonial-card {
  flex: 0 0 clamp(280px, 26vw, 360px);
  width: clamp(280px, 26vw, 360px);
  max-width: 360px;
  min-height: 230px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.testimonial-card:hover,
.testimonial-card:active {
  background: var(--peach);
  color: var(--dark);
}

.testimonial-card:hover p,
.testimonial-card:active p {
  color: rgba(26, 10, 16, 0.85);
}

/* Per-star fill so partials match reference (e.g. 4.5 = 4 full + half of 5th; 4.25 = + quarter). */
.testimonial-card__stars {
  --rating: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.testimonial-card__star {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  font-size: 1em;
}

.testimonial-card__star::before {
  content: "★";
  display: block;
  line-height: 1;
  color: rgba(26, 10, 16, 0.22);
}

.testimonial-card__star::after {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1;
  color: var(--yellow);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.testimonial-card__star:nth-child(1)::after {
  width: calc(100% * min(1, max(0, calc(var(--rating) - 0))));
}

.testimonial-card__star:nth-child(2)::after {
  width: calc(100% * min(1, max(0, calc(var(--rating) - 1))));
}

.testimonial-card__star:nth-child(3)::after {
  width: calc(100% * min(1, max(0, calc(var(--rating) - 2))));
}

.testimonial-card__star:nth-child(4)::after {
  width: calc(100% * min(1, max(0, calc(var(--rating) - 3))));
}

.testimonial-card__star:nth-child(5)::after {
  width: calc(100% * min(1, max(0, calc(var(--rating) - 4))));
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(231, 0, 112, 0.25);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.testimonial-card:hover .author-avatar,
.testimonial-card:active .author-avatar {
  box-shadow: 0 0 0 2px var(--pink), 0 4px 14px rgba(231, 0, 112, 0.3);
}

.testimonial-card__author strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  display: block;
  color: var(--dark);
}

.testimonial-card:hover .testimonial-card__author strong,
.testimonial-card:active .testimonial-card__author strong {
  color: var(--dark);
}

.testimonial-card__author span {
  font-size: 0.76rem;
  color: var(--gray);
}

.testimonial-card:hover .testimonial-card__author span,
.testimonial-card:active .testimonial-card__author span {
  color: rgba(26, 10, 16, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .testimonials__group[aria-hidden="true"] {
    display: none !important;
  }

  .testimonials__track {
    animation: none !important;
    transform: none !important;
    animation-delay: 0s !important;
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .testimonials__group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 20px;
  }

  .testimonials__marquee .testimonial-card {
    flex: 1 1 280px;
    width: auto;
    max-width: 360px;
  }

  .testimonials__marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ─── GALLERY ────────────────────────────────────── */
.gallery {
  padding: 100px 0;
  background: var(--gray-light);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  grid-auto-rows: 200px;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-item__hover {
  position: absolute;
  inset: 0;
  background: rgba(232, 0, 111, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item__hover svg {
  width: 32px;
}

.gallery-item:hover .gallery-item__hover {
  opacity: 1;
}

.gallery__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.gallery__social-wrap {
  display: flex;
  gap: 16px;
  align-items: center;
}

.gallery__social-wrap .social-btn {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.gallery__social-wrap .social-btn:hover {
  background: var(--pink-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ─── NEWSLETTER (same base as hero: gradient + diagonal stripes) ─ */
.newsletter {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c4185a 0%, #e8327a 35%, #e8621a 70%, #f5c842 100%);
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.04) 40px,
      rgba(255, 255, 255, 0.04) 80px);
  pointer-events: none;
}

.newsletter .container {
  position: relative;
  z-index: 1;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 60px;
  align-items: center;
}

.newsletter .section-eyebrow--light {
  color: #f5c842;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.newsletter__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #ffffff;
  margin: 8px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.newsletter__text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 34ch;
}

.newsletter__input-wrap {
  display: flex;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.newsletter__input-wrap input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  background: var(--white);
  font-size: 0.95rem;
  outline: none;
  color: var(--dark);
  min-width: 0;
}

.newsletter__input-wrap input::placeholder {
  color: #6b5a64;
  opacity: 1;
}

.newsletter__input-wrap .btn {
  border-radius: 0;
  flex-shrink: 0;
}

.newsletter__input-wrap .btn.btn--white {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
  font-weight: 700;
  font-size: 0.95rem;
}

.newsletter__input-wrap .btn.btn--white:hover {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
  color: var(--white);
}

.newsletter__disclaimer {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

/* ─── CONTACT ─────────────────────────────────────── */
.contact {
  padding: clamp(72px, 12vw, 120px) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #fff9fb 0%, var(--gray-light) 42%, #faf4f7 100%);
}

.contact::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  background: radial-gradient(circle at 40% 40%, rgba(231, 0, 112, 0.07) 0%, transparent 68%);
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact__info-card {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 249, 0.88) 100%);
  border: 1px solid rgba(231, 0, 112, 0.1);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 24px rgba(184, 0, 79, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.contact__heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact__title {
  margin-top: 0;
}

.contact__lead {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.65;
  max-width: 36ch;
}

.contact__info p {
  color: var(--gray);
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(243, 234, 234, 0.9);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-detail:hover {
  border-color: rgba(231, 0, 112, 0.22);
  box-shadow: 0 6px 20px rgba(184, 0, 79, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--pink);
  background: linear-gradient(145deg, rgba(255, 240, 248, 0.95) 0%, rgba(252, 238, 243, 0.9) 100%);
  box-shadow: 0 2px 10px rgba(184, 0, 79, 0.1);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail a {
  color: var(--pink);
  font-weight: 600;
}

.contact-detail a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  padding-top: 4px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.social-btn svg {
  width: 20px;
}

.social-btn:hover {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-3px);
}

.contact__social .social-btn {
  border-radius: 14px;
  border: 1px solid rgba(231, 0, 112, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #fff9fb 100%);
  box-shadow: 0 2px 12px rgba(184, 0, 79, 0.1);
}

.contact__social .social-btn:hover {
  background: linear-gradient(145deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(184, 0, 79, 0.28);
}

/* Contact Form */
.contact__form {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(243, 234, 234, 0.95);
  box-shadow:
    0 12px 48px rgba(184, 0, 79, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--orange) 50%, var(--yellow) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.contact__form-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
  padding-bottom: 4px;
}

.contact__form-title {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.contact__form-hint {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
}

.contact__form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__form .form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.contact__form .form-group input,
.contact__form .form-group select,
.contact__form .form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  background: var(--cream);
  resize: none;
  outline: none;
  width: 100%;
}

.contact__form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form .form-group input:focus,
.contact__form .form-group select:focus,
.contact__form .form-group textarea:focus {
  border-color: var(--pink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(231, 0, 112, 0.15);
}

.contact__form .btn--full {
  margin-top: 4px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .contact-detail,
  .contact__social .social-btn,
  .social-btn {
    transition: none;
  }

  .contact__social .social-btn:hover,
  .social-btn:hover {
    transform: none;
  }
}

/* ─── FOOTER (same base as hero: gradient + diagonal stripes) ─ */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c4185a 0%, #e8327a 35%, #e8621a 70%, #f5c842 100%);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.04) 40px,
    rgba(255, 255, 255, 0.04) 80px
  );
  pointer-events: none;
  z-index: 0;
}

.footer__top {
  position: relative;
  z-index: 1;
  padding: 70px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 40px;
}

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

.footer .logo__text {
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.footer .logo:hover .logo__text {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.footer__col h4 {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fffefb;
  margin: 0 0 20px;
  padding-bottom: 12px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 18px rgba(0, 0, 0, 0.35),
    0 0 1px rgba(0, 0, 0, 0.45);
}

.footer__col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 228, 180, 0.95) 100%);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Brand tagline + credit: same type as footer column links (no link underline, including on hover) */
.footer__brand p,
.footer__bottom p {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.48),
    0 2px 12px rgba(0, 0, 0, 0.22);
  transition: var(--transition);
  text-decoration: none;
  margin: 0;
}

.footer__brand p {
  display: block;
  line-height: 1.75;
  max-width: 28rem;
}

.footer__bottom .container {
  text-align: left;
}

.footer__bottom p {
  display: inline-block;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.48),
    0 2px 12px rgba(0, 0, 0, 0.22);
  transition: var(--transition);
}

.footer__col ul li a:hover {
  color: #fffef6;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 2px 16px rgba(0, 0, 0, 0.35);
}

.footer__detail-text {
  font-size: 0.87rem;
  color: rgba(255, 245, 249, 0.78);
  line-height: 1.5;
}

.footer__bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
}

.footer__bottom p a,
.footer__credit-link {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  position: relative;
  z-index: 3;
  cursor: pointer;
  pointer-events: auto;
}

/* Collection subpages: same footer layout as home, Our Collections surface (#F3EAEA) */
.footer.footer--collections {
  background: var(--gray-light);
}

.footer.footer--collections::before {
  display: none;
}

.footer.footer--collections .logo__text {
  color: var(--pink);
  text-shadow: none;
}

.footer.footer--collections .logo:hover .logo__text {
  color: var(--pink-deep);
  text-shadow: none;
}

.footer.footer--collections .footer__col h4 {
  color: var(--pink-deep);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98);
}

.footer.footer--collections .footer__col h4::after {
  background: linear-gradient(90deg, var(--pink) 0%, var(--pink-deep) 100%);
  box-shadow: 0 2px 8px rgba(181, 0, 79, 0.28);
}

.footer.footer--collections .footer__brand p,
.footer.footer--collections .footer__bottom p {
  color: #1a1216;
  font-weight: 600;
  text-shadow: none;
}

.footer.footer--collections .footer__col ul li a {
  color: #1a1216;
  font-weight: 600;
  text-shadow: none;
}

.footer.footer--collections .footer__col ul li a:hover {
  color: var(--pink-deep);
  text-shadow: none;
}

.footer.footer--collections .footer__detail-text {
  color: var(--gray);
}

.footer.footer--collections .footer__bottom {
  border-top-color: rgba(157, 0, 68, 0.12);
}

.footer.footer--collections .footer__bottom p a,
.footer.footer--collections .footer__credit-link {
  color: inherit;
}

/* ─── FABs ────────────────────────────────────────── */
.fab {
  position: fixed;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 999;
  text-decoration: none;
}

.fab svg {
  width: 22px;
}

.fab--top {
  bottom: 90px;
  background: var(--dark);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fab--top.visible {
  opacity: 1;
  pointer-events: auto;
}

.fab--top:hover {
  background: var(--pink);
  transform: translateY(-4px);
}

.fab--whatsapp {
  bottom: 24px;
  background: #25D366;
  color: var(--white);
}

.fab--whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
}

.fab--whatsapp[hidden] {
  display: none !important;
}

/* ─── TOAST (centered card + check) ───────── */
/* Above cart drawer (10050), product modal (10000), header (1000) */
.toast-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10059;
  background: rgba(74, 20, 40, 0.22);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.toast-backdrop.show {
  opacity: 1;
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10060;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: min(280px, calc(100vw - 48px));
  max-width: min(92vw, 380px);
  padding: 28px 32px 30px;
  background: var(--toast-gradient);
  color: var(--white);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 28px 64px rgba(139, 18, 69, 0.38),
    0 10px 28px rgba(184, 0, 79, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
  transition:
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.42s cubic-bezier(0.34, 1.2, 0.64, 1);
  pointer-events: none;
}

/* Same subtle diagonal stripe as .bestsellers::before */
.toast::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.06) 40px,
    rgba(255, 255, 255, 0.06) 80px
  );
  pointer-events: none;
  z-index: 0;
}

.toast > * {
  position: relative;
  z-index: 1;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.toast__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast--no-icon .toast__icon {
  display: none !important;
}

.toast__check-svg {
  width: 48px;
  height: 48px;
  display: block;
}

.toast__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(26, 10, 16, 0.12);
}

.toast__detail {
  margin: 0;
  margin-top: -6px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  max-width: 100%;
  text-shadow: 0 1px 2px rgba(26, 10, 16, 0.1);
}

.toast__detail[hidden] {
  display: none !important;
}

.toast--order {
  max-width: min(92vw, 420px);
  max-height: min(88vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 26px 22px 20px;
  gap: 12px;
  align-items: stretch;
  text-align: left;
}

.toast--order .toast__icon,
.toast--order .toast__title,
.toast--order .toast__detail {
  align-self: center;
  text-align: center;
  width: 100%;
}

.toast--order .toast__title {
  font-size: 1.28rem;
  font-weight: 800;
  font-family: var(--font-accent);
  letter-spacing: 0.01em;
}

/* Order summary toast: content-only (no duplicate title row + tick above .toast__summary) */
.toast--order.toast--no-icon .toast__title:empty {
  display: none;
}

.toast--order .toast__detail {
  margin-top: -2px;
  font-size: 0.9rem;
}

.toast__summary {
  width: 100%;
  margin-top: 2px;
}

.toast__summary[hidden] {
  display: none !important;
}

.toast-sum {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.toast-sum__ref {
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
  margin: 0 0 10px;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
  letter-spacing: 0.02em;
  text-transform: none;
  background: none;
  border: none;
  text-shadow: 0 1px 2px rgba(26, 10, 16, 0.25);
}

.toast-sum__ref strong {
  display: inline;
  margin-top: 0;
  margin-left: 0.35em;
  font-weight: 900;
  font-size: inherit;
  letter-spacing: 0.04em;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

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

.toast-sum__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 3px rgba(26, 10, 16, 0.28);
}

.toast-sum__line:first-child {
  padding-top: 0;
}

.toast-sum__line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.toast-sum__line-main {
  flex: 1 1 55%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.toast-sum__name {
  font-weight: 800;
  font-family: var(--font-accent);
  letter-spacing: 0.01em;
}

.toast-sum__qty {
  opacity: 0.95;
  font-size: 0.88em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.toast-sum__amt {
  font-weight: 900;
  font-family: var(--font-accent);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  white-space: nowrap;
  color: #fff;
  text-shadow:
    0 1px 3px rgba(26, 10, 16, 0.35),
    0 0 12px rgba(255, 255, 255, 0.2);
}

.toast-sum__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0;
  padding: 10px 0 0;
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
  background: none;
}

.toast-sum__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(26, 10, 16, 0.25);
}

.toast-sum__row span:first-child {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  text-transform: uppercase;
  opacity: 0.92;
}

.toast-sum__row span:last-child {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.toast-sum__row--total {
  font-weight: 900;
  font-size: 1.12rem;
  margin-top: 4px;
  padding: 8px 0 0;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
}

.toast-sum__row--total span:first-child {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 1;
}

.toast-sum__row--total span:last-child {
  font-weight: 900;
  font-size: 1.12rem;
}

.toast-sum__pay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 8px 0 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.86rem;
  font-weight: 800;
  font-family: var(--font-accent);
  color: #fff;
  background: none;
  text-shadow: 0 1px 2px rgba(26, 10, 16, 0.3);
}

.toast-sum__pay span:first-child {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.95;
}

.toast-sum__pay span:last-child {
  font-weight: 800;
  font-size: 0.9rem;
  text-align: right;
}

/* Delivery row: backend-sourced hint (cart drawer, cart page, order summary) */
.cart-delivery-hint {
  display: block;
  font-size: 0.72em;
  font-weight: 400;
  opacity: 0.88;
  margin-top: 4px;
  line-height: 1.35;
}

.toast-sum-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: min(58vh, 400px);
  overflow-y: auto;
  text-align: left;
}

.toast-sum--api-line {
  margin: 0;
}

.toast-sum__api-product {
  font-size: 0.88rem;
  margin: 6px 0 0;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.toast__close {
  align-self: center;
  margin-top: 4px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform 0.2s ease;
}

.toast__close:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.55);
}

.toast__close[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .toast,
  .toast-backdrop {
    transition-duration: 0.01ms !important;
  }
}

/* ─── CART DRAWER ─────────────────────────────────── */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  justify-content: flex-end;
}

.cart-drawer[hidden] {
  display: none !important;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 10, 16, 0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cart-drawer__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: linear-gradient(165deg, var(--cream) 0%, var(--white) 45%, #fdeef4 100%);
  box-shadow: -16px 0 56px rgba(139, 18, 69, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-drawer:not([hidden]) .cart-drawer__panel {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(232, 0, 111, 0.12);
  background: rgba(255, 255, 255, 0.65);
}

.cart-drawer__head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--berry);
  margin: 0;
}

.cart-drawer__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(232, 0, 111, 0.08);
  color: var(--berry);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.cart-drawer__close:hover {
  background: rgba(232, 0, 111, 0.18);
  color: var(--pink);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 24px;
  position: relative;
}

.cart-drawer__empty {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  padding: 48px 16px;
}

.cart-drawer__empty[hidden] {
  display: none !important;
}

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

.cart-drawer__item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 0, 111, 0.08);
}

.cart-drawer__item-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-light);
}

.cart-drawer__item-img img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.cart-drawer__item-name {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  margin: 0 0 4px;
  line-height: 1.35;
}

.cart-drawer__item-opt {
  font-size: 0.78rem;
  color: var(--gray);
  margin: 0 0 6px;
  line-height: 1.4;
}

.cart-drawer__item-meta {
  font-size: 0.82rem;
  color: var(--berry);
  font-weight: 500;
  margin: 0;
}

.cart-drawer__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 2px;
}

/* Pill qty (matches product modal / reference: white, black outline) */
.cart-drawer__qty {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  border: 2px solid var(--dark);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.cart-drawer__qty-btn {
  width: 32px;
  min-height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--dark);
  cursor: pointer;
  font-family: var(--font-accent);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.cart-drawer__qty-btn:hover:not(:disabled) {
  background: var(--gray-light);
  color: var(--pink);
}

.cart-drawer__qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cart-drawer__qty-val {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 0 3px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
  border-left: 1px solid rgba(26, 10, 16, 0.12);
  border-right: 1px solid rgba(26, 10, 16, 0.12);
}

.cart-drawer__remove {
  border: none;
  background: transparent;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
  align-self: center;
  white-space: nowrap;
}

.cart-drawer__remove:hover {
  color: var(--magenta);
}

.cart-drawer__footer {
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(232, 0, 111, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.cart-drawer__totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.cart-drawer__totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
}

.cart-drawer__totals-row span:last-child {
  color: var(--berry);
  font-weight: 700;
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(26, 10, 16, 0.08);
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
}

.cart-drawer__subtotal span:last-child {
  color: var(--berry);
}

.cart-drawer__checkout {
  width: 100%;
}

@media (max-width: 480px) {
  .cart-drawer__panel {
    max-width: 100%;
  }

  .cart-drawer__item {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
  }

  .cart-drawer__remove {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

/* ─── ANIMATIONS ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE STYLES
   ═══════════════════════════════════════════════════ */

/* ─── TABLET (≤ 1024px) ────────────────────────── */
@media (max-width: 1024px) {
  .hero__content {
    text-align: center;
    gap: 40px;
  }

  .hero__ctas,
  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .story__grid {
    gap: 40px;
  }

  .story__visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .story__text {
    aspect-ratio: auto;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    overflow: visible;
  }

  .story__text .story__message-block {
    max-width: 48ch;
  }

  .story__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .story__cta {
    align-self: flex-start;
  }

  .story__cta {
    margin-top: 4px;
  }

  .features__grid--quad {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .features__visual-group .feature-card--visual {
    flex: 0 0 clamp(240px, 42vw, 300px);
    width: clamp(240px, 42vw, 300px);
  }

  .testimonials__marquee .testimonial-card {
    flex: 0 0 clamp(260px, 40vw, 340px);
    width: clamp(260px, 40vw, 340px);
  }

  .newsletter__inner {
    gap: 28px;
    text-align: center;
  }

  .contact__grid {
    gap: 40px;
  }

  .footer__grid {
    gap: 32px;
  }
}

/* ─── MOBILE & TABLET NAV (≤ 1024px) — explore opens panel; hamburger hidden (nav via Explore) ─ */
@media (max-width: 1024px) {
  /* Home: main scroll = hero, collections, bestsellers, story, testimonials, bespoke only;
     marquee + lower sections appear after jump via Explore / in-page # (see script.js). */
  body.page--home .marquee-strip,
  body.page--home section#features,
  body.page--home section#gallery,
  body.page--home section#newsletter,
  body.page--home section#contact {
    display: none !important;
  }

  body.page--home section#features.index-mobile-reveal,
  body.page--home section#gallery.index-mobile-reveal,
  body.page--home section#newsletter.index-mobile-reveal,
  body.page--home section#contact.index-mobile-reveal {
    display: block !important;
  }

  /* Hamburger hidden on small screens — primary nav via Explore; avoids extra icon past cart */
  .nav-toggle {
    display: none !important;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-toggle.open span {
    background: var(--white) !important;
  }

  .nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    /* Match Best Sellers section palette + vibe (mobile menu / “explore” nav) */
    background: linear-gradient(135deg, var(--pink) 0%, var(--orange) 50%, var(--yellow) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    /* Slide from right for more natural feel */
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1100;
    visibility: hidden;
    padding: 0;
    overflow-x: visible;
    overflow-y: auto;
    max-width: none;
    flex: none;
    min-width: 0;
  }

  /* Same subtle diagonal stripe as .bestsellers::before */
  .nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.04) 40px,
        rgba(255, 255, 255, 0.04) 80px);
    pointer-events: none;
    z-index: 0;
  }

  .nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__list {
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .nav__item {
    width: auto;
  }

  .nav__item--collections {
    position: static;
  }

  .nav__dropdown-root {
    display: block;
    width: 100%;
  }

  .nav__link {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    padding: 12px 40px;
    transition: var(--transition);
    border-radius: 50px;
    /* Pill shape */
  }

  /* Specific style for Home button as a Pink Capsule in the menu */
  .nav__item:first-child .nav__link {
    background: #470D21;
    /* Subtle deep highlight for the container */
    color: var(--pink);
    border: 1px solid rgba(231, 0, 112, 0.2);
    margin-bottom: 20px;
    /* Space it out */
  }

  .nav__item:first-child .nav__link:hover {
    background: var(--pink);
    color: var(--white);
    transform: scale(1.05);
  }

  .nav__link:hover {
    color: var(--pink);
    transform: scale(1.05);
  }

  .nav__dropdown,
  .nav__subdropdown {
    display: none !important;
  }

  .header__actions .btn {
    display: none;
  }

  .header__inner {
    justify-content: flex-start;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    height: 56px;
    gap: 6px;
    flex-wrap: nowrap;
  }

  /* Middle column only holds the off-canvas nav + search chrome — no width in the bar */
  .header__center {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    max-width: 0;
    overflow: visible;
    height: 56px;
    align-self: stretch;
  }

  .header__center .nav {
    /* Fixed overlay; keep out of header flex layout */
    top: 0;
    left: 0;
  }

  /* Explore (section links) + hamburger — compact on small screens */
  .explore-wrap {
    display: block;
    margin-right: 4px;
    margin-left: 0;
  }

  .explore-toggle {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    padding: 2px 0;
  }

  .explore-toggle span {
    width: 9px;
    height: 1.5px;
    border-radius: 1px;
  }

  .explore-panel {
    top: 56px;
    max-height: calc(100vh - 56px);
  }

  .explore-panel__scroller {
    max-height: calc(100vh - 56px);
  }

  /* Explore mega menu: headings only (pink); hide grey sub-links on small screens */
  .explore-col__list {
    display: none;
  }

  .explore-col__title {
    margin-bottom: 0;
  }

  .explore-col--contact .explore-col__title--contact-desktop {
    display: none !important;
  }

  .explore-col--contact .explore-col__title--get-in-touch-mobile {
    display: block;
    margin: 0;
  }

  @keyframes exploreHeadingIn {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .explore-panel--open .explore-col__title {
    animation: exploreHeadingIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .explore-panel__cols .explore-col:nth-child(1) .explore-col__title {
    animation-delay: 0.04s;
  }

  .explore-panel__cols .explore-col:nth-child(2) .explore-col__title {
    animation-delay: 0.08s;
  }

  .explore-panel__cols .explore-col:nth-child(3) .explore-col__title {
    animation-delay: 0.12s;
  }

  .explore-panel__cols .explore-col:nth-child(4) .explore-col__title {
    animation-delay: 0.16s;
  }

  .explore-panel__cols .explore-col:nth-child(5) .explore-col__title {
    animation-delay: 0.2s;
  }

  .explore-panel__cols .explore-col:nth-child(6) .explore-col__title {
    animation-delay: 0.24s;
  }

  .explore-panel__cols .explore-col:nth-child(7) .explore-col__title {
    animation-delay: 0.28s;
  }

  .explore-panel__cols .explore-col:nth-child(8) .explore-col__title {
    animation-delay: 0.32s;
  }

  .explore-panel__cols .explore-col:nth-child(9) .explore-col__title {
    animation-delay: 0.36s;
  }

  .explore-panel__cols .explore-col:nth-child(10) .explore-col__title {
    animation-delay: 0.4s;
  }

  .explore-panel__cols .explore-col:nth-child(11) .explore-col__title {
    animation-delay: 0.44s;
  }

  .explore-panel__cols .explore-col:nth-child(12) .explore-col__title {
    animation-delay: 0.48s;
  }

  /* Logo stays left (after explore menu), never centered or pushed toward the right */
  .logo {
    flex: 0 1 auto;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
    max-width: min(200px, 46vw);
    margin: 0;
  }

  .header .logo__img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .logo__name {
    height: 56px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: none;
    pointer-events: none;
  }

  /* Push icons + cart to the right edge */
  .header__actions {
    margin-left: auto;
    flex-shrink: 0;
    gap: 4px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .icon-btn svg {
    width: 17px;
    height: 17px;
  }

  .hero {
    padding: 80px 20px 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 320px;
    background: var(--yellow) !important;
    color: var(--dark) !important;
    border-color: var(--yellow) !important;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .products__grid {
    gap: 16px;
  }

  /* Collection cards: same image band as best-seller hero tile (mobile) */
  .collection-card__img-wrap,
  .collection-card--large .collection-card__img-wrap {
    height: clamp(210px, 58vw, 298px);
    max-height: 298px;
  }

  /* All product cards: price left, compact Add to Cart on the right */
  .product-card__footer {
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .product-card__footer .product-card__price {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
  }

  .product-card__footer .btn.btn--primary.btn--sm {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 6px 10px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    white-space: nowrap;
  }

  /* Home “Our Collections” + home/shop Best Sellers: horizontal peek carousel (not catalog grids) */
  #collections .collections__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    margin-left: -24px;
    margin-right: -24px;
    padding: 0 20px 10px;
    width: calc(100% + 48px);
    max-width: none;
    box-sizing: border-box;
  }

  #collections .collections__grid::-webkit-scrollbar {
    display: none;
  }

  #collections .collections__grid > .collections__status {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: none;
    text-align: center;
  }

  #collections .collections__grid > a.collection-card,
  #collections .collections__grid > .collection-card {
    flex: 0 0 min(72vw, 238px);
    width: min(72vw, 238px);
    max-width: none;
    margin: 0;
    scroll-snap-align: center;
  }

  /* Home Our Collections carousel: same image band + img fill as Best Sellers tiles */
  #collections .collections__grid .collection-card__img-wrap {
    height: clamp(210px, 58vw, 298px);
    max-height: 298px;
    background: var(--gray-light);
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
  }

  #collections .collections__grid .collection-card__img {
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
  }

  #collections .collections__grid .collection-card__img-wrap img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 18px;
    flex: 1 1 auto;
    align-self: stretch;
  }

  #collections .collections__grid .collection-card__img-placeholder {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    align-self: stretch;
    border-radius: 18px;
  }

  #collections .collections__grid .collection-card:hover .collection-card__img-wrap img {
    transform: none;
  }

  #homeBestsellersGrid,
  #shopBestsellersGrid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    margin-left: -24px;
    margin-right: -24px;
    padding: 0 20px 10px;
    width: calc(100% + 48px);
    max-width: none;
    box-sizing: border-box;
  }

  #homeBestsellersGrid::-webkit-scrollbar,
  #shopBestsellersGrid::-webkit-scrollbar {
    display: none;
  }

  #homeBestsellersGrid > .bestsellers__empty,
  #homeBestsellersGrid > .bestsellers__error,
  #shopBestsellersGrid > .bestsellers__empty,
  #shopBestsellersGrid > .bestsellers__error {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: none;
  }

  #homeBestsellersGrid > .product-card,
  #shopBestsellersGrid > .product-card {
    flex: 0 0 min(72vw, 238px);
    width: min(72vw, 238px);
    max-width: none;
    margin: 0;
    scroll-snap-align: center;
  }

  /* Same tile + image band as best-sellers lead card: home/shop, shop-all, collection shops, catalog, favourites */
  #homeBestsellersGrid .product-card__img,
  #shopBestsellersGrid .product-card__img,
  #shopAllCollectionsGrid .product-card__img,
  #wishlistGrid .product-card__img,
  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid .product-card__img,
  #collectionAllCatalogGrid .product-card__img {
    height: clamp(210px, 58vw, 298px);
    max-height: 298px;
    background: var(--gray-light);
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
  }

  #homeBestsellersGrid .product-card__img img,
  #shopBestsellersGrid .product-card__img img,
  #shopAllCollectionsGrid .product-card__img img,
  #wishlistGrid .product-card__img img,
  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid .product-card__img img,
  #collectionAllCatalogGrid .product-card__img img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 18px;
    flex: 1 1 auto;
    align-self: stretch;
  }

  #homeBestsellersGrid .product-card:hover .product-card__img img,
  #shopBestsellersGrid .product-card:hover .product-card__img img,
  #shopAllCollectionsGrid .product-card:hover .product-card__img img,
  #wishlistGrid .product-card:hover .product-card__img img,
  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid .product-card:hover .product-card__img img,
  #collectionAllCatalogGrid .product-card:hover .product-card__img img {
    transform: none;
  }

  #homeBestsellersGrid .product-card__info,
  #shopBestsellersGrid .product-card__info,
  #wishlistGrid .product-card__info,
  #shopAllCollectionsGrid .product-card__info,
  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid .product-card__info,
  #collectionAllCatalogGrid .product-card__info {
    padding: 8px 10px 10px;
    text-align: center;
    align-items: center;
  }

  /* Favourites page: horizontal swipe row (same pattern as home Best Sellers) */
  #wishlistGrid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    margin-left: -24px;
    margin-right: -24px;
    padding: 0 20px 10px;
    width: calc(100% + 48px);
    max-width: none;
    box-sizing: border-box;
  }

  #wishlistGrid::-webkit-scrollbar {
    display: none;
  }

  #wishlistGrid > .product-card {
    flex: 0 0 min(72vw, 238px);
    width: min(72vw, 238px);
    max-width: none;
    margin: 0;
    scroll-snap-align: center;
  }

  #wishlistGrid .product-card__info {
    padding: 8px 10px 10px;
    text-align: center;
    align-items: center;
  }

  /* Collection shop + shop “all collections” + all-catalog: horizontal peek carousel (same as home Best Sellers) */
  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid,
  #collectionAllCatalogGrid,
  #shopAllCollectionsGrid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    margin-left: -24px;
    margin-right: -24px;
    padding: 0 20px 10px;
    width: calc(100% + 48px);
    max-width: none;
    box-sizing: border-box;
  }

  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid::-webkit-scrollbar,
  #collectionAllCatalogGrid::-webkit-scrollbar,
  #shopAllCollectionsGrid::-webkit-scrollbar {
    display: none;
  }

  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid > .collections__status,
  #collectionAllCatalogGrid > .collections__status,
  #shopAllCollectionsGrid > .collections__status {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: none;
    text-align: center;
  }

  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid > .bestsellers__empty,
  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid > .bestsellers__error,
  #collectionAllCatalogGrid > .bestsellers__empty,
  #collectionAllCatalogGrid > .bestsellers__error,
  #shopAllCollectionsGrid > .bestsellers__empty,
  #shopAllCollectionsGrid > .bestsellers__error {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: none;
  }

  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid > .product-card,
  #collectionAllCatalogGrid > .product-card,
  #shopAllCollectionsGrid > .product-card {
    flex: 0 0 min(72vw, 238px);
    width: min(72vw, 238px);
    max-width: none;
    margin: 0;
    scroll-snap-align: center;
  }

  /* Bespoke “Customize your cup” steps: horizontal swipe row on mobile */
  #bespoke .bespoke__steps {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    margin-left: -24px;
    margin-right: -24px;
    padding: 0 20px 12px;
    width: calc(100% + 48px);
    max-width: none;
    box-sizing: border-box;
    margin-bottom: 40px;
  }

  #bespoke .bespoke__steps::-webkit-scrollbar {
    display: none;
  }

  #bespoke .bespoke__steps .step {
    flex: 0 0 min(76vw, 210px);
    width: min(76vw, 210px);
    max-width: none;
    min-height: 118px;
    scroll-snap-align: center;
    padding: 12px 12px 14px;
  }

  #bespoke .bespoke__steps .step__num {
    font-size: clamp(1.05rem, 3.4vw, 1.28rem);
    margin-bottom: 8px;
  }

  #bespoke .bespoke__steps .step strong {
    font-size: clamp(0.82rem, 2.6vw, 0.98rem);
    line-height: 1.28;
  }

  .bespoke__steps .step__arrow {
    transform: rotate(90deg);
  }

  .feature-card {
    min-height: 360px;
  }

  .testimonials__marquee .testimonial-card {
    flex: 0 0 min(292px, 86vw);
    width: min(292px, 86vw);
  }

  .testimonials__track {
    animation-duration: 34s;
  }

  /* Social gallery: row height from aspect-ratio so images aren’t squashed/cropped on narrow screens */
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 8px;
  }

  .gallery-item {
    aspect-ratio: 1 / 1;
    min-height: 160px;
  }

  .newsletter__input-wrap {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .newsletter__input-wrap input {
    border-radius: var(--radius-sm);
  }

  .newsletter__input-wrap .btn {
    border-radius: var(--radius-sm);
  }

  .announcement-bar {
    font-size: 0.72rem;
  }

  .fab--top,
  .fab--whatsapp {
    right: 16px;
  }

  .fab--top {
    bottom: 80px;
  }

  .fab--whatsapp {
    bottom: 20px;
  }

  .contact__form {
    padding: 28px 20px;
  }
}

/* ─── SMALL MOBILE (≤ 480px) ───────────────────── */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  #collections .collections__grid {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    width: calc(100% + 32px);
    scroll-padding-inline: 16px;
  }

  #homeBestsellersGrid,
  #shopBestsellersGrid {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    width: calc(100% + 32px);
    scroll-padding-inline: 16px;
  }

  section.bestsellers[id^='collection-'][id$='-shop'] .products__grid,
  #collectionAllCatalogGrid,
  #shopAllCollectionsGrid {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    width: calc(100% + 32px);
    scroll-padding-inline: 16px;
  }

  #bespoke .bespoke__steps {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    width: calc(100% + 32px);
    scroll-padding-inline: 16px;
  }

  #wishlistGrid {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    width: calc(100% + 32px);
    scroll-padding-inline: 16px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .bespoke__title {
    font-size: 2rem;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: 4 / 5;
    min-height: 220px;
  }
}

/* ─── BEST SELLER PRODUCT MODAL ───────────────── */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.product-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 10, 16, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  /* Lighter version of the Hero gradient (soft + readable) */
  background: linear-gradient(
    135deg,
    #fff5f9 0%,
    #ffe8f2 32%,
    #fff0e3 68%,
    #fff7db 100%
  );
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(231, 0, 112, 0.12);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition);
}

.product-modal:not([hidden]) .product-modal__panel {
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .product-modal,
  .product-modal__panel {
    transition: none;
  }
}

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.product-modal__close:hover {
  background: var(--pink);
  color: var(--white);
}

.product-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 36px) 32px;
  padding-top: clamp(48px, 6vw, 56px);
}

.product-modal__gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-modal__img-wrap {
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: clamp(16px, 3vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.product-modal__img-wrap img {
  max-width: 100%;
  max-height: min(52vh, 520px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-modal__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.product-modal__carousel--single {
  display: none;
}

.product-modal__carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.product-modal__carousel-btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

.product-modal__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.product-modal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--gray);
  opacity: 0.35;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.product-modal__dot:hover {
  opacity: 0.6;
}

.product-modal__dot.is-active {
  opacity: 1;
  background: var(--dark);
  transform: scale(1.15);
}

.product-modal__detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-body);
  color: var(--dark);
}

.product-modal__title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 40px;
  width: 100%;
  min-width: 0;
}

.product-modal__logo-wrap {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #fff5f9;
  box-shadow: 0 3px 6px rgba(26, 10, 16, 0.12);
  isolation: isolate;
}

.product-modal__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Light/gray “checker” pixels in the file blend into the pink base instead of reading as a grid */
  mix-blend-mode: multiply;
}

.product-modal__title {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin: 0;
  flex: 1;
  min-width: 0;
}

@media (max-width: 520px) {
  .product-modal__logo-wrap {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

.product-modal__tagline {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.45;
}

.product-modal__desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.55;
}

.product-modal__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-modal__stars {
  letter-spacing: 2px;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1;
}

.product-modal__reviews {
  font-size: 0.9rem;
  color: var(--gray);
}

.product-modal__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-modal__label {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.product-modal__color-current {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: -4px;
}

.product-modal__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-modal__pill {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--gray-light);
  color: var(--dark);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.product-modal__pill:hover {
  border-color: rgba(231, 0, 112, 0.35);
}

.product-modal__pill.is-selected {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.product-modal__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-modal__swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--dark);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-modal__swatch:hover:not(:disabled) {
  transform: scale(1.06);
  box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px rgba(231, 0, 112, 0.35);
}

.product-modal__swatch.is-selected {
  box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px var(--pink);
}

.product-modal__swatch:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.product-modal__swatch:disabled::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(
    to bottom left,
    transparent calc(50% - 2px),
    var(--dark) calc(50% - 2px),
    var(--dark) calc(50% + 2px),
    transparent calc(50% + 2px)
  );
  pointer-events: none;
}

.product-modal__price {
  font-family: var(--font-accent);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 4px;
}

.product-modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.product-modal__add {
  flex: 1 1 200px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-accent);
  font-weight: 600;
}

.product-modal__qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--dark);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.product-modal__qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--dark);
  cursor: pointer;
  font-family: var(--font-accent);
  transition: background var(--transition), color var(--transition);
}

.product-modal__qty-btn:hover {
  background: var(--gray-light);
  color: var(--pink);
}

.product-modal__qty-val {
  min-width: 36px;
  text-align: center;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1rem;
}

.product-modal__fineprint {
  font-size: 0.82rem;
  margin-top: 8px;
}

.product-modal__fineprint a {
  color: var(--magenta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-modal__fineprint a:hover {
  color: var(--pink);
}

.product-modal__fineprint-sep {
  margin: 0 6px;
  color: var(--gray);
  text-decoration: none;
}

.product-modal__paynote {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.45;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .product-modal__grid {
    padding-top: 52px;
  }

  .product-modal__img-wrap {
    min-height: 220px;
  }
}

/* ─── PRODUCT DETAIL PAGE (API-driven) ───────────────── */
.page--product-detail .product-detail-section {
  padding-top: clamp(24px, 5vw, 48px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.product-detail-section__header {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.product-detail-back {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  margin-bottom: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  /* Same surface as home “Our Collections” (.collections) */
  background: var(--gray-light);
  border: 1px solid rgba(26, 10, 16, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.product-detail-back:hover {
  background: var(--white);
  color: var(--pink);
  border-color: rgba(231, 0, 112, 0.2);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.product-detail-root {
  min-height: 200px;
}

/* Badge overlay on product photo (same pill as product cards) */
.product-detail-page__img-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}

.product-detail-page__img-frame .product-detail-page__badge {
  pointer-events: none;
}

.product-detail-panel {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    #fff5f9 0%,
    #ffe8f2 32%,
    #fff0e3 68%,
    #fff7db 100%
  );
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(231, 0, 112, 0.12);
  overflow: hidden;
}

.product-detail-page__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0 0 20px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(231, 0, 112, 0.12);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.product-detail-page__meta dt {
  margin: 0;
  color: var(--gray);
  font-weight: 500;
}

.product-detail-page__meta dd {
  margin: 0;
  color: var(--dark);
}

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

.product-detail-page__msg {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  text-align: center;
  padding: 48px 16px;
}

.product-detail-page__msg a {
  color: var(--pink);
  font-weight: 600;
}

.product-card--clickable {
  cursor: pointer;
}

.product-card--clickable .product-card__name {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition);
}

.product-card--clickable:hover .product-card__name {
  text-decoration-color: rgba(232, 0, 111, 0.45);
}