/* ═══════════════════════════════════════════════════════
   LAYERED — style.css
═══════════════════════════════════════════════════════ */

/* ─── FONT FACES ──────────────────────────────────────── */
@font-face {
  font-family: 'Brodaers';
  src: url('../fonts/Brodaers-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: 'Brodaers';
  src: url('../fonts/Brodaers-Rough.otf') format('opentype');
  font-weight: 700; font-style: normal;
}
@font-face {
  font-family: 'Brodaers';
  src: url('../fonts/Brodaers-RoughOblique.otf') format('opentype');
  font-weight: 700; font-style: oblique;
}
@font-face {
  font-family: 'Brodaers';
  src: url('../fonts/Brodaers-Round.otf') format('opentype');
  font-weight: 300; font-style: normal;
}
@font-face {
  font-family: 'Brodaers';
  src: url('../fonts/Brodaers-RoundOblique.otf') format('opentype');
  font-weight: 300; font-style: oblique;
}
@font-face {
  font-family: 'Sansilk';
  src: url('../fonts/Sansilk.otf') format('opentype'),
       url('../fonts/Sansilk.ttf') format('truetype');
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: 'Digital Numbers';
  src: url('../fonts/DigitalNumbers-Regular.woff') format('woff'),
       url('../fonts/DigitalNumbers-Regular.ttf') format('truetype'),
       url('../fonts/DigitalNumbers-Regular.eot') format('embedded-opentype');
  font-weight: 400; font-style: normal;
}

/* ─── TOKENS ──────────────────────────────────────────── */
:root {
  --color-nav-bg:     #6E142A;
  --color-btn-face:   #FEFBF3;
  --color-btn-base:   #FDF4DD;
  --color-btn-border: #25070E;
  --color-bar:        #F48486;
  --color-tagline:    #FEF6F6;

  --nav-top:      24px;
  --nav-width:    90%;
  --nav-padding:  16px 20px;
  --nav-radius:   20px;

  --btn-radius:   12px;
  --btn-border:   0.5px solid var(--color-btn-border);
  --btn-size:     48px;
  --btn-gap:      4px;

  --font-display: 'Brodaers', sans-serif;
  --font-script:  'Sansilk', cursive;

  --tagline-size:   44px;
  --tagline-bottom: 20px;
}

/* ─── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; min-height: 100%; overflow-x: hidden; }
body { font-family: var(--font-display); background: #FEF7E8; }
img  { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; padding: 0; }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%; height: 100vh; min-height: 500px;
  background-image: url('../assets/images/layered-hero-img.png');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  opacity: 0;
}

/* ─── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: absolute;
  top: var(--nav-top);
  left: 50%; transform: translateX(-50%);
  width: var(--nav-width); max-width: 1400px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--color-nav-bg);
  padding: var(--nav-padding);
  border-radius: var(--nav-radius);
  opacity: 0;
}

/* ─── LOGO ────────────────────────────────────────────── */
.navbar__logo { display: flex; align-items: center; justify-content: center; }
.logo-full    { display: block; height: 36px; width: auto; object-fit: contain; }
.logo-icon    { display: none;  height: 32px; width: auto; object-fit: contain; }

/* ─── NAV BUTTON ──────────────────────────────────────── */
.nav-btn {
  position: relative;
  width: var(--btn-size);
  height: calc(var(--btn-size) + var(--btn-gap));
  flex-shrink: 0;
}

.nav-btn__face {
  position: absolute; top: 0; left: 0;
  width: var(--btn-size); height: var(--btn-size);
  background: var(--color-btn-face);
  border: var(--btn-border);
  border-radius: var(--btn-radius);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  will-change: transform;
}

.nav-btn__base {
  position: absolute; bottom: 0; left: 0;
  width: var(--btn-size); height: var(--btn-size);
  background: var(--color-btn-base);
  border: var(--btn-border);
  border-radius: var(--btn-radius);
  z-index: 1;
}

/* ─── HAMBURGER ───────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  width: 22px;
}

.bar {
  display: block;
  height: 2.5px;
  background: var(--color-bar);
  border-radius: 99px;
  transition: width 0.25s ease;
  flex-shrink: 0;
}

/* rest state */
.bar--1 { width: 50%; }
.bar--2 { width: 100%; align-self: center; }
.bar--3 { width: 50%; align-self: flex-end; }

/* hover: outer bars grow to full width */
.hamburger.is-hovered .bar--1,
.hamburger.is-hovered .bar--3 { width: 100%; }

/* ─── CART ICON ───────────────────────────────────────── */
.cart-icon { width: 22px; height: 22px; object-fit: contain; }

/* ─── BADGE ───────────────────────────────────────────── */
.hero__badge {
  position: absolute;
  right: 7%; top: 50%; transform: translateY(-50%);
  width: clamp(100px, 205vw, 160px);
  opacity: 0; will-change: transform, opacity;
}
.hero__badge img { width: 100%; height: auto; }

/* ─── TAGLINE ─────────────────────────────────────────── */
.hero__tagline {
  position: absolute;
  bottom: var(--tagline-bottom);
  left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: var(--tagline-size);
  color: var(--color-tagline);
  letter-spacing: 0.01em;
  opacity: 0;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --tagline-size: 28px; --btn-size: 42px; }
  .logo-full { display: none; }
  .logo-icon { display: block; }
  .hero { height: 375px; min-height: 375px; }
  .hero__badge { right: 4%; top: auto; bottom: 140px; transform: none; width: 125px; }
  .hero__tagline { white-space: normal; text-align: center; width: 90%; font-size: clamp(22px, 6vw, 32px); }
}
@media (max-width: 480px) {
  :root { --nav-padding: 12px 16px; --nav-radius: 16px; }
}


/* ═══════════════════════════════════════════════════════
   MENU SECTION
═══════════════════════════════════════════════════════ */

/* ─── SECTION LAYOUT ──────────────────────────────────── */
.menu {
  background: #FEF7E8;
  padding: 36px 5% 60px;
  font-family: 'Montserrat', sans-serif;
}

/* ─── HEADER ──────────────────────────────────────────── */
.menu__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.menu__title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  color: #F48486;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.menu__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 170%;
  color: #F48486;
}

/* ─── ITEMS LIST ──────────────────────────────────────── */
.menu__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── SINGLE MENU ITEM ────────────────────────────────── */
.menu-item {
  display: flex;
  align-items: stretch;
  gap: 20px;
  background: #fef7e8;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0px 0px 20px 0px #00000014;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.menu-item:hover {
  box-shadow: 0px 4px 24px 0px #00000022;
}

/* Product image */
.menu-item__img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
}

/* Body: data + qty side by side */
.menu-item__body {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 80px;
  flex: 1;
}

/* Data column: info + tags */
.menu-item__data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* Info: name + description */
.menu-item__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Side column: price on top, qty controls at the bottom */
.menu-item__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
}

.menu-item__name {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.menu-item__price {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  color: #6E142A;
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item__desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 170%;
  color: #6E142A;
}

.menu-item__desc strong {
  font-weight: 700;
}

/* ─── TAGS ────────────────────────────────────────────── */
.menu-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FEF7E8;
  border-radius: 12px;
  padding: 8px 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #6E142A;
  white-space: nowrap;
  border: 1px solid #6E142A;
  border-radius: 12px;
}

.tag__icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ─── QUANTITY CONTROL ────────────────────────────────── */
.menu-item__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Qty buttons: same 3D press-button construction as the navbar buttons */
.qty-btn {
  position: relative;
  width: 32px;
  height: 34px;
  flex-shrink: 0;
}

.qty-btn__face {
  position: absolute; top: 0; left: 0;
  width: 32px; height: 32px;
  background: var(--color-btn-face);
  border: var(--btn-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  will-change: transform;
}

.qty-btn__base {
  position: absolute; bottom: 0; left: 0;
  width: 32px; height: 32px;
  background: var(--color-btn-base);
  border: var(--btn-border);
  border-radius: 10px;
  z-index: 1;
}

.qty-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.qty-icon::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 14px; height: 2.5px;
  background: var(--color-bar);
  border-radius: 99px;
  transform: translateY(-50%);
}

.qty-icon--plus::after {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 2.5px; height: 14px;
  background: var(--color-bar);
  border-radius: 99px;
  transform: translateX(-50%);
}

.qty-value {
  font-family: 'Brodaers', sans-serif;
  font-size: 20px;
  color: #6E142A;
  min-width: 20px;
  text-align: center;
}

/* ─── MENU RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .menu-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-item__img {
    width: 100%;
    height: 200px;
  }

  .menu-item__body {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 28px;
  }

  .menu-item__data {
    justify-content: flex-start;
    gap: 16px;
  }

  .menu-item__side {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .menu-item__name,
  .menu-item__price {
    font-size: 22px;
  }

  .menu-item__tags {
    column-gap: 8px;
    row-gap: 12px;
  }

  .tag--wide {
    order: 99;
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  width: var(--nav-width);
  max-width: 1400px;
  margin: 0 auto 24px;
  background: var(--color-nav-bg);
  border-radius: 30px;
  padding: 40px 5% 24px;
  overflow: hidden;
}

/* ─── TOP: 3 COLUMNS ──────────────────────────────────── */
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 46px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.footer__col--center { align-items: center; text-align: center; }
.footer__col--right  { align-items: flex-end; text-align: right; }

.footer__title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: #FEF7E8;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer__title-em {
  font-style: oblique;
  font-weight: 700;
}

.footer__link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #FEF7E8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #FEF7E8;
}

/* ─── SOCIAL ICONS ─────────────────────────────────────── */
.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F9DEE0;
  color: var(--color-bar);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

/* ─── DIVIDER ──────────────────────────────────────────── */
.footer__divider {
  height: 1px;
  background: rgba(254, 247, 232, 0.15);
}

/* ─── LOGO MARQUEE ─────────────────────────────────────── */
.footer__marquee {
  overflow: hidden;
  padding: 45px 0 16px;
}

.footer__marquee-track {
  display: flex;
  width: max-content;
  animation: footer-marquee 48s linear infinite;
}

.footer__marquee-set {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
}

.footer__marquee-logo {
  width: 525px;
  height: auto;
  flex-shrink: 0;
}

@keyframes footer-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .footer__marquee-track { animation: none; }
}

/* ─── BOTTOM BAR ───────────────────────────────────────── */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
}

.footer__copy,
.footer__credit {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(254, 247, 232, 0.6);
}

/* ─── FOOTER RESPONSIVE ────────────────────────────────── */
@media (max-width: 768px) {
  .footer__top {
    flex-direction: column;
  }

  .footer__col--center,
  .footer__col--right {
    align-items: flex-start;
    text-align: left;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 4px;
  }
}

/* ═══════════════════════════════════════════════════════
   PRODUCT PAGE
═══════════════════════════════════════════════════════ */

/* ─── STATIC NAVBAR (pages with no hero) ──────────────── */
.page-nav {
  padding-top: var(--nav-top);
}

.page-nav .navbar {
  position: static;
  left: auto;
  transform: none;
  margin: 0 auto;
  opacity: 1;
}

/* ─── BREADCRUMB ───────────────────────────────────────── */
.breadcrumb {
  width: var(--nav-width);
  max-width: 1400px;
  margin: 20px auto 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(110, 20, 42, 0.5);
}

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

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb__current {
  color: #6E142A;
  font-weight: 700;
}

/* ─── PRODUCT HERO ─────────────────────────────────────── */
.product-hero {
  display: flex;
  gap: 24px;
  width: var(--nav-width);
  max-width: 1400px;
  margin: 20px auto 0;
  background: #fef7e8;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0px 0px 20px 0px #00000014;
}

.product-hero__img {
  width: 390px;
  height: 390px;
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
}

.product-hero__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.product-hero__name {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 36px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.product-hero__desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 170%;
  color: #6E142A;
}

.product-hero__desc strong { font-weight: 700; }

.product-hero__allergens {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #6E142A;
}

.product-hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 24px;
}

.product-hero__price {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 36px;
  color: #6E142A;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .product-hero {
    flex-direction: column;
  }

  .product-hero__img {
    width: 100%;
    height: 220px;
  }

  .product-hero__name { font-size: 26px; }
  .product-hero__price { font-size: 26px; }
}

/* ─── TABS ─────────────────────────────────────────────── */
.product-tabs {
  width: var(--nav-width);
  max-width: 1400px;
  margin: 32px auto 0;
}

.product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.product-tabs__btn {
  position: relative;
  display: inline-block;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.product-tabs__btn-face {
  position: relative;
  z-index: 2;
  display: block;
  padding: 12px 24px;
  background: #FEFBF3;
  border: 0.5px solid #25070E;
  border-radius: 15px;
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #F48486;
  white-space: nowrap;
  transform: translateY(-5px);
  transition: transform 0.2s ease;
}

.product-tabs__btn-base {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #FDF4DD;
  border: 0.5px solid #25070E;
  border-radius: 15px;
}

.product-tabs__btn.is-active .product-tabs__btn-face {
  transform: translateY(0);
}

.product-tabs__panel { display: none; }
.product-tabs__panel.is-active { display: block; }

.product-tabs__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 170%;
  color: #6E142A;
}

.product-tabs__item:last-child { margin-bottom: 0; }

.product-tabs__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--color-bar);
}

.product-tabs__item strong { font-weight: 700; }

.product-tabs__sublist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: -8px 0 20px 26px;
}

.product-tabs__subitem {
  position: relative;
  padding-left: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 170%;
  color: #6E142A;
}

.product-tabs__subitem::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-bar);
}

.product-tabs__subitem strong { font-weight: 700; }

/* ─── RELATED PRODUCTS ─────────────────────────────────── */
.related {
  width: var(--nav-width);
  max-width: 1400px;
  margin: 48px auto 0;
}

.related__title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #F48486;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

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

/* Reuse the .menu-item card, always rendered in its "stacked" form */
.related__grid .menu-item {
  flex-direction: column;
  align-items: flex-start;
}

.related__grid .menu-item__img {
  width: 100%;
  height: 200px;
}

.related__grid .menu-item__body {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
}

.related__grid .menu-item__data {
  justify-content: flex-start;
  gap: 12px;
}

.related__grid .menu-item__side {
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.related__grid .menu-item__name,
.related__grid .menu-item__price {
  font-size: 22px;
}

.related__grid .menu-item__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related__grid .menu-item__tags {
  column-gap: 8px;
  row-gap: 12px;
}

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

.footer--product {
  margin-top: 48px;
}

/* ═══════════════════════════════════════════════════════
   CART
═══════════════════════════════════════════════════════ */

/* ─── CART BADGE (on the navbar cart button) ──────────── */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-bar);
  color: #FEF7E8;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10px;
  z-index: 3;
}

.cart-badge.is-empty { display: none; }

/* ─── PANEL ────────────────────────────────────────────── */
.cart-panel {
  position: fixed;
  top: 90px;
  right: 5%;
  width: min(650px, 90vw);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #FEF7E8;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  z-index: 200;
  opacity: 0;
  transform: scale(0.95) translateY(-8px);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
}

.cart-panel__title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #F48486;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cart-panel__count {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #F48486;
}

/* ─── EMPTY STATE ──────────────────────────────────────── */
.cart-panel__empty {
  display: none;
  padding: 32px 24px 40px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #6E142A;
}

.cart-panel__empty.is-visible { display: block; }

/* ─── ITEMS ────────────────────────────────────────────── */
.cart-panel__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px;
}

.cart-panel__items.is-hidden { display: none; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
  background: #FEF7E8;
  box-shadow: 0px 0px 20px 0px #00000014;
}

.cart-item__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item__name {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cart-item__price {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
  color: #6E142A;
}

/* ─── COUNTDOWN ────────────────────────────────────────── */
.cart-panel__timer {
  margin: 24px;
  padding: 20px;
  border-radius: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='20' ry='20' stroke='%23F48486' stroke-width='2' stroke-dasharray='9 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  text-align: center;
}

.cart-panel__timer.is-hidden { display: none; }

.cart-panel__countdown {
  font-family: 'Digital Numbers', monospace;
  font-weight: 400;
  font-size: 40px;
  letter-spacing: 0.05em;
  color: #6E142A;
}

.cart-panel__timer-title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #F48486;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.cart-panel__timer-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 170%;
  color: rgba(110, 20, 42, 0.7);
  margin-top: 4px;
}

/* ─── FOOTER (total + checkout) ────────────────────────── */
.cart-panel__footer {
  background: var(--color-nav-bg);
  border-radius: 0 0 24px 24px;
  padding: 20px 24px 24px;
  margin-top: 24px;
}

.cart-panel__footer.is-hidden { display: none; }

.cart-panel__total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.cart-panel__total-label {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #FEF7E8;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cart-panel__total-value {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #FEF7E8;
}

.cart-panel__shipping-note {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(254, 247, 232, 0.7);
  margin-top: 4px;
}

.cart-panel__checkout {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 16px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

/* Same face + base 3D press-button construction as the tabs */
.cart-panel__checkout .product-tabs__btn-face {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 16px;
}

/* ─── CART RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .cart-panel {
    top: 80px;
    right: 4%;
    left: 4%;
    width: auto;
  }
}

/* ═══════════════════════════════════════════════════════
   CHECKOUT PAGE
═══════════════════════════════════════════════════════ */
.checkout {
  width: var(--nav-width);
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.checkout__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 20px 0 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-bar);
  text-decoration: none;
}

.checkout__back.is-hidden { display: none; }
.checkout__grid.is-hidden { display: none; }

@media (max-width: 900px) {
  .checkout__back { display: none; }
}

/* ─── GRID: form / summary / place-order button ───────── */
.checkout__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  grid-template-areas:
    "form    summary"
    "place   summary";
  gap: 32px;
  align-items: start;
}

.checkout__form       { grid-area: form; }
.checkout__summary-col { grid-area: summary; position: sticky; top: 24px; }
.checkout__place-col   { grid-area: place; }

@media (max-width: 900px) {
  .checkout__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "form"
      "summary"
      "place";
  }
  .checkout__summary-col { position: static; }
}

/* ─── FORM SECTIONS ────────────────────────────────────── */
.checkout__section { margin-bottom: 32px; }

.checkout__section-title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.checkout__required { color: var(--color-bar); }

.checkout__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout__row {
  display: flex;
  gap: 12px;
}

.checkout__row > * { flex: 1; min-width: 0; }

@media (max-width: 600px) {
  .checkout__row { flex-direction: column; }
}

/* ─── INPUTS ───────────────────────────────────────────── */
.form-input,
.form-select,
.form-date input[type="date"] {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(110, 20, 42, 0.25);
  border-radius: 16px;
  background: #FEFBF3;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6E142A;
}

.form-input::placeholder { color: rgba(110, 20, 42, 0.4); }

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E142A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}

.form-select:invalid { color: rgba(110, 20, 42, 0.4); }

.form-date input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(19%) sepia(80%) saturate(1500%) hue-rotate(316deg);
  cursor: pointer;
}

/* ─── STATIC ROW (Shipping Fees display) ──────────────── */
.form-static-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid rgba(110, 20, 42, 0.25);
  border-radius: 16px;
  background: #FEFBF3;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6E142A;
}

.form-static-row strong { font-weight: 700; }

/* ─── CHECKBOX ─────────────────────────────────────────── */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #6E142A;
}

.form-checkbox input { display: none; }

.form-checkbox__box {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--color-bar);
  border-radius: 5px;
}

.form-checkbox input:checked + .form-checkbox__box {
  background: var(--color-bar);
}

.form-checkbox input:checked + .form-checkbox__box::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 9px;
  border: solid #FEF7E8;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ─── PAYMENT OPTION ───────────────────────────────────── */
.checkout__payment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(110, 20, 42, 0.25);
  border-radius: 16px;
  background: #FEFBF3;
  cursor: pointer;
}

.checkout__payment input { display: none; }

.checkout__payment-radio {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--color-bar);
  border-radius: 50%;
}

.checkout__payment input:checked + .checkout__payment-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--color-bar);
}

.checkout__payment-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #6E142A;
}

.checkout__payment-note {
  margin-left: auto;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--color-bar);
}

@media (max-width: 600px) {
  .checkout__payment-note { margin-left: 28px; }
}

/* ─── PLACE ORDER BUTTON ───────────────────────────────── */
.checkout__place-btn {
  width: 100%;
  padding: 16px;
  border: 1.5px solid var(--color-bar);
  border-radius: 999px;
  background: #FEFBF3;
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-bar);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.checkout__place-btn:hover { transform: scale(1.01); }

/* ─── ORDER SUMMARY ────────────────────────────────────── */
.checkout__summary {
  background: #FEF7E8;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0px 0px 20px 0px #00000014;
}

.checkout__summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.checkout__summary-title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.checkout__summary-count {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--color-bar);
}

.checkout__summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-item__thumb {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.summary-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.summary-item__qty {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-bar);
  color: #FEF7E8;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-item__name {
  flex: 1;
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.summary-item__price {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
  color: #6E142A;
  white-space: nowrap;
}

.checkout__summary-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6E142A;
  margin-bottom: 8px;
}

.checkout__summary-divider {
  height: 1px;
  background: rgba(110, 20, 42, 0.12);
  margin: 12px 0;
}

.checkout__summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.checkout__summary-total-label {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.checkout__summary-total-value {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #6E142A;
}

.checkout__summary-note {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(110, 20, 42, 0.6);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   ORDER CONFIRMATION PAGE
═══════════════════════════════════════════════════════ */
.confirmation {
  width: var(--nav-width);
  max-width: 1400px;
  margin: 20px auto 0;
}

.confirmation__card {
  max-width: 560px;
  margin: 0 auto;
  background: #FEF7E8;
  border-radius: 24px;
  box-shadow: 0px 0px 20px 0px #00000014;
  padding: 64px 40px;
  text-align: center;
}

.confirmation__title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: #F48486;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.confirmation__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: #6E142A;
  max-width: 380px;
  margin: 0 auto 24px;
}

.confirmation__order-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6E142A;
  margin-bottom: 24px;
}

.confirmation__order-number strong { font-weight: 700; }

.confirmation__badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
  margin: 0 auto;
}

.confirmation__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 1px solid #E8B65A;
  border-radius: 999px;
  background: #FDF4DD;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #6E142A;
}

.confirmation__badge img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .confirmation__card { padding: 48px 24px; }
}

/* ═══════════════════════════════════════════════════════
   NAV MENU PANEL (hamburger button)
═══════════════════════════════════════════════════════ */
.nav-menu-panel {
  position: fixed;
  top: 90px;
  left: 5%;
  width: min(380px, 90vw);
  background: #FEF7E8;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  z-index: 200;
  padding: 24px;
  opacity: 0;
  transform: scale(0.95) translateY(-8px);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-menu-panel.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.nav-menu-panel__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-menu-panel__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-bar);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-menu-panel__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-bar);
}

.nav-menu-panel__divider {
  height: 1px;
  background: rgba(110, 20, 42, 0.12);
  margin: 20px 0;
}

.nav-menu-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ─── ACCOUNT: signed out ──────────────────────────────── */
.nav-menu-panel__signin {
  padding: 12px 24px;
  border: 1.5px solid var(--color-bar);
  border-radius: 999px;
  background: #FEFBF3;
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-bar);
  cursor: pointer;
}

/* ─── ACCOUNT: signed in ───────────────────────────────── */
.nav-menu-panel__profile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.nav-menu-panel__avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #F9DEE0;
  color: var(--color-bar);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu-panel__avatar svg { width: 20px; height: 20px; }

.nav-menu-panel__profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-menu-panel__profile-info strong {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav-menu-panel__badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-bar);
}

.nav-menu-panel__socials {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .nav-menu-panel { top: 80px; }
}

/* ═══════════════════════════════════════════════════════
   AUTH MODAL (sign in / create account)
═══════════════════════════════════════════════════════ */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 7, 14, 0.45);
}

.auth-modal__card {
  position: relative;
  width: min(360px, 90vw);
  background: #FEF7E8;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-modal.is-open .auth-modal__card {
  transform: scale(1);
}

.auth-modal__title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #F48486;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.auth-modal__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 150%;
  color: rgba(110, 20, 42, 0.7);
  margin-bottom: 20px;
}

.auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-modal__row {
  display: flex;
  gap: 12px;
}

.auth-modal__row .form-input {
  min-width: 0;
}

.auth-modal__submit {
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: var(--color-bar);
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #FEF7E8;
  cursor: pointer;
}

.auth-modal__error {
  display: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #C0334D;
  text-align: left;
}

.auth-modal__error.is-visible {
  display: block;
}

.auth-modal__toggle {
  margin-top: 16px;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(110, 20, 42, 0.7);
  text-decoration: underline;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   OUR STORY PAGE
═══════════════════════════════════════════════════════ */
.story-hero {
  display: flex;
  align-items: center;
  gap: 70px;
  width: var(--nav-width);
  max-width: 1400px;
  margin: 48px auto 0;
}

/* ─── PHOTO COLLAGE ────────────────────────────────────── */
.story-hero__photos {
  position: relative;
  flex-shrink: 0;
  width: 580px;
  height: 580px;
}

.story-hero__card {
  position: absolute;
}

.story-hero__card--back {
  top: 0;
  left: 0;
  width: 414px;
  transform: rotate(-5deg);
  z-index: 1;
}

.story-hero__card--front {
  top: 150px;
  left: 240px;
  width: 324px;
  aspect-ratio: 224 / 270;
  transform: rotate(5deg);
  z-index: 2;
}

.story-hero__frame {
  display: block;
  width: 100%;
  height: auto;
}

.story-hero__card--back .story-hero__photo {
  position: absolute;
  top: 23px;
  left: 23px;
  right: 23px;
  width: calc(100% - 46px);
  height: auto;
  border-radius: 2px;
}

.story-hero__card--front .story-hero__photo {
  position: absolute;
  top: 26px;
  left: 28px;
  right: 16px;
  bottom: 16px;
  width: calc(100% - 60px);
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

.story-hero__patch {
  position: absolute;
  top: -18px;
  left: 30px;
  width: 140px;
  transform: rotate(-4deg);
  z-index: 3;
}

.story-hero__pin {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  z-index: 3;
}

.story-hero__rose {
  position: absolute;
  bottom: 46px;
  left: 400px;
  width: 74px;
  z-index: 3;
}

/* ─── CONTENT CARD ─────────────────────────────────────── */
.story-hero__content {
  flex: 1;
  background: #FEF7E8;
  border-radius: 24px;
  padding: 40px;
  margin-right: 32px;
  transform: rotate(8deg);
  box-shadow: 0px 0px 20px 0px #0000001A;
}

.story-hero__title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.story-hero__script {
  font-family: 'Sansilk', cursive;
  font-weight: 400;
  font-size: 42px;
  color: var(--color-bar);
  margin-bottom: 16px;
}

.story-hero__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: #6E142A;
  margin-bottom: 28px;
}

.story-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.story-hero__btn {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.story-hero__btn--menu .product-tabs__btn-face {
  background: #FFFFFF;
}

.story-hero__btn--contact .product-tabs__btn-face {
  background: #FCECC5;
}

/* ─── STORY HERO RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .story-hero {
    flex-direction: column;
    gap: 40px;
  }

  .story-hero__photos {
    width: 100%;
    max-width: 500px;
  }

  .story-hero__content {
    width: 100%;
    transform: none;
  }
}

@media (max-width: 600px) {
  .story-hero__photos {
    height: 460px;
  }

  .story-hero__card--back { width: 320px; }
  .story-hero__card--front { top: 110px; left: 160px; width: 230px; }
  .story-hero__rose { left: 270px; bottom: 30px; width: 56px; }
  .story-hero__patch { width: 110px; left: 16px; }

  .story-hero__title { font-size: 22px; }
  .story-hero__script { font-size: 32px; }
}

/* ═══════════════════════════════════════════════════════
   STORY SECTIONS (Mama / Lala)
═══════════════════════════════════════════════════════ */
.story-section {
  display: flex;
  align-items: stretch;
  gap: 40px;
  width: var(--nav-width);
  max-width: 1400px;
  margin: 60px auto 0;
}

.story-section--lala {
  flex-direction: row-reverse;
}

/* ─── PHOTO ────────────────────────────────────────────── */
.story-section__photo {
  position: relative;
  flex-shrink: 0;
  width: 460px;
  transform: rotate(-3deg);
}

.story-section--lala .story-section__photo {
  transform: rotate(3deg);
}

.story-section__frame {
  display: block;
  width: 100%;
  height: auto;
}

.story-section__img {
  position: absolute;
  top: 23px;
  left: 23px;
  right: 23px;
  width: calc(100% - 46px);
  height: auto;
  border-radius: 2px;
}

.story-section__pin {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  z-index: 2;
}

/* ─── CONTENT ──────────────────────────────────────────── */
.story-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 24px;
  padding: 48px;
  gap: 20px;
}

.story-section__content--mama { background: #FCECC5; }
.story-section__content--lala { background: #F6C9CB; }

.story-section__title {
  font-family: 'Sansilk', cursive;
  font-weight: 400;
  font-size: 36px;
  color: var(--color-bar);
}

.story-section__content--lala .story-section__title {
  color: #FEF7E8;
}

.story-section__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #6E142A;
  max-width: 560px;
}

.story-section__content--lala .story-section__text {
  color: #FEF7E8;
}

/* ─── STORY SECTION RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .story-section,
  .story-section--lala {
    flex-direction: column;
  }

  .story-section__photo {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .story-section__content { padding: 32px 24px; }
  .story-section__title { font-size: 28px; }
  .story-section__text { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════
   DELIVERY RIBBON — infinite diagonal marquee
═══════════════════════════════════════════════════════ */
.story-ribbon {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  margin: 70px 0;
}

.story-ribbon__band {
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  overflow: hidden;
  background: #FCF0D1;
  padding: 28px 0;
  transform: translateY(-50%) rotate(-8deg);
}

.story-ribbon__track {
  display: flex;
  width: max-content;
  animation: story-ribbon-scroll 26s linear infinite;
}

.story-ribbon__set {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
}

.story-ribbon__text {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 46px;
  color: #5C1123;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.story-ribbon__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

@keyframes story-ribbon-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .story-ribbon__track { animation: none; }
}

@media (max-width: 768px) {
  .story-ribbon { height: 180px; }
  .story-ribbon__text { font-size: 28px; }
  .story-ribbon__icon { width: 28px; height: 28px; }
}

/* ═══════════════════════════════════════════════════════
   THE WAY WE DO IT
═══════════════════════════════════════════════════════ */
.story-values {
  width: var(--nav-width);
  max-width: 1400px;
  margin: 70px auto 0;
  text-align: center;
}

.story-values__title {
  position: relative;
  z-index: 2;
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 48px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: -24px;
}

.story-values__card {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  background: #F7C6CB;
  border-radius: 40px;
  padding: 70px 48px 60px;
}

.story-values__inner-border {
  position: absolute;
  inset: 18px;
  border: 1.5px solid #F48486;
  border-radius: 26px;
  pointer-events: none;
}

.story-values__intro {
  position: relative;
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #F2939C;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 460px;
  margin: 0 auto 60px;
}

.story-values__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.story-values__item {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 34px;
  color: #FEF7E8;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.story-values__premium-badge {
  position: absolute;
  bottom: 40px;
  left: -60px;
  width: 170px;
  z-index: 3;
  transform: rotate(-6deg);
}

.story-values__sprinkles {
  position: absolute;
  top: 18%;
  right: -95px;
  width: 190px;
  height: 190px;
  z-index: 3;
}

.story-values__ellipse {
  display: block;
  width: 100%;
  height: 100%;
}

.story-values__curved-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
}

.story-values__sprinkle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  transform: translate(-50%, -50%);
}

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 768px) {
  .story-values__title { font-size: 32px; margin-bottom: -16px; }

  .story-values__card {
    max-width: 92%;
    padding: 56px 24px 44px;
    border-radius: 28px;
  }

  .story-values__inner-border { inset: 12px; border-radius: 18px; }

  .story-values__intro { font-size: 15px; margin-bottom: 40px; }
  .story-values__list { gap: 30px; }
  .story-values__item { font-size: 22px; }

  .story-values__premium-badge { width: 100px; left: -20px; bottom: -20px; }
  .story-values__sprinkles { width: 90px; height: 90px; right: -20px; top: 10%; }
  .story-values__sprinkle-icon { width: 22px; }
}

/* ═══════════════════════════════════════════════════════
   FAQs PAGE
═══════════════════════════════════════════════════════ */
.faq {
  width: var(--nav-width);
  max-width: 1400px;
  margin: 48px auto 0;
  padding-bottom: 40px;
}

.faq__header {
  margin-bottom: 40px;
}

.faq__title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 40px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.faq__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #6E142A;
}

/* ─── COLLAGE ──────────────────────────────────────────── */
.faq__collage {
  position: relative;
  min-height: 1420px;
}

.faq__card {
  position: absolute;
}

.faq__card-bg {
  display: block;
  width: 100%;
  height: 100%;
}

.faq__card-content {
  position: absolute;
  inset: 20% 10% 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq__card-question {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 19px;
  color: #FEF7E8;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.faq__card-question--dark { color: #6E142A; }

.faq__card-answer {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #FEF7E8;
}

.faq__card-answer--dark { color: #6E142A; }

/* ─── CARD 1: How do I place an order? (maroon) ────────── */
.faq__card--1 {
  top: 0;
  left: 4%;
  width: 320px;
  aspect-ratio: 365 / 461;
  transform: rotate(6deg);
  z-index: 1;
}

.faq__card--1 .faq__card-tape {
  position: absolute;
  top: -22px;
  right: -30px;
  width: 150px;
  transform: rotate(28deg);
  z-index: 2;
}

/* ─── CARD 2: Same-day delivery? (cream, holes on left) ── */
.faq__card--2 {
  top: 0;
  left: 56%;
  width: 400px;
  aspect-ratio: 489 / 377;
  transform: rotate(-1.5deg);
  z-index: 1;
}

.faq__card--2 .faq__card-content {
  inset: 26% 10% 8% 16%;
}

.faq__card--2 .faq__card-pin {
  position: absolute;
  top: -20px;
  left: 40px;
  width: 34px;
  z-index: 2;
}

/* ─── CARD 3: Change/cancel order? (cream, flipped, holes on right) ── */
.faq__card--3 {
  top: 620px;
  left: 1%;
  width: 460px;
  aspect-ratio: 489 / 377;
  transform: rotate(-5deg);
  z-index: 1;
}

.faq__card--3 .faq__card-bg--flipped {
  transform: scaleX(-1);
}

.faq__card--3 .faq__card-content {
  inset: 14% 16% 8% 10%;
}

.faq__card--3 .faq__card-sparkle-tape {
  position: absolute;
  top: -34px;
  left: -20px;
  width: 90px;
  transform: rotate(-18deg);
  z-index: 2;
}

/* ─── CARD 4: Where do you deliver? (two-layer) ─────────── */
.faq__card--4 {
  top: 460px;
  left: 60%;
  width: 400px;
  aspect-ratio: 411 / 352;
  z-index: 1;
}

.faq__card--4 .faq__card-bg--back {
  position: absolute;
  inset: 0;
  transform: rotate(9deg) translate(16px, 6px);
  z-index: 1;
}

.faq__card--4 .faq__card-bg--front {
  position: absolute;
  inset: 0;
  transform: rotate(-3deg);
  z-index: 2;
}

.faq__card--4 .faq__card-clip {
  position: absolute;
  top: -34px;
  right: 70px;
  width: 42px;
  z-index: 3;
  transform: rotate(6deg);
}

.faq__card--4 .faq__card-content--front {
  position: absolute;
  inset: 34% 12% 10%;
  justify-content: flex-start;
  transform: rotate(-3deg);
  z-index: 3;
}

/* ─── CARD 5: Payment methods? (pink) ───────────────────── */
.faq__card--5 {
  top: 940px;
  left: 34%;
  width: 320px;
  aspect-ratio: 365 / 461;
  transform: rotate(4deg);
  z-index: 1;
}

.faq__card--5 .faq__card-content {
  justify-content: flex-start;
}

.faq__card--5 .faq__card-pin {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  z-index: 2;
}

/* ─── FAQ RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1100px) {
  .faq__collage { min-height: 0; }

  .faq__card,
  .faq__card--1, .faq__card--2, .faq__card--3, .faq__card--4, .faq__card--5 {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    max-width: 420px;
    margin: 0 auto 60px;
    transform: rotate(2deg);
  }

  .faq__card--3 { transform: rotate(-2deg); }

  .faq__card--4 { transform: none; }
  .faq__card--4 .faq__card-bg--back { transform: rotate(4deg) translate(10px, 4px); }
  .faq__card--4 .faq__card-bg--front,
  .faq__card--4 .faq__card-content--front { transform: rotate(-1.5deg); }

  .faq__card:last-child { margin-bottom: 0; }
}

@media (max-width: 480px) {
  .faq__title { font-size: 28px; }
  .faq__card-question { font-size: 17px; }
  .faq__card-answer { font-size: 13px; }
  .faq__card--3 .faq__card-content { inset: 16% 12% 8% 16%; }
}

/* ═══════════════════════════════════════════════════════
   PROFILE PAGE
═══════════════════════════════════════════════════════ */
.profile {
  width: var(--nav-width);
  max-width: 1400px;
  margin: 40px auto 0;
  padding-bottom: 40px;
}

/* ─── HEADER ───────────────────────────────────────────── */
.profile__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.profile__avatar {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-bar);
  border-radius: 16px;
  background: #FDF0EF;
  color: var(--color-bar);
}

.profile__avatar svg { width: 38px; height: 38px; }

.profile__header-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile__name {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 26px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.profile__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FCECC5;
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--color-bar);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.profile__signout-btn {
  margin-left: auto;
  padding: 10px 20px;
  border: 1.5px solid rgba(110, 20, 42, 0.3);
  border-radius: 999px;
  background: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #6E142A;
  cursor: pointer;
}

/* ─── SECTION ──────────────────────────────────────────── */
.profile__section { margin-bottom: 40px; }

.profile__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.profile__section-title {
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--color-bar);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.profile__edit-btn {
  padding: 10px 22px;
  border: 1.5px solid var(--color-bar);
  border-radius: 999px;
  background: #FEFBF3;
  font-family: 'Brodaers', sans-serif;
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-bar);
  cursor: pointer;
}

/* ─── DETAILS CARD ─────────────────────────────────────── */
.profile__details-card {
  background: #FDF4DD;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0px 0px 20px 0px #00000014;
}

.profile__details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

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

.profile__field-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #6E142A;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.profile__field-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6E142A;
}

/* ─── ORDERS CARD ──────────────────────────────────────── */
.profile__orders-card {
  background: #FDF4DD;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0px 0px 20px 0px #00000014;
  overflow-x: auto;
}

.profile__orders-table {
  min-width: 700px;
}

.profile__orders-table.is-hidden {
  display: none;
}

.profile__orders-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(110, 20, 42, 0.1);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #6E142A;
}

.profile__orders-row:last-child { border-bottom: none; }

.profile__orders-row--head {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-bottom: 12px;
}

.profile__orders-number { font-weight: 700; }

.profile__orders-empty {
  display: none;
  padding: 24px 0 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #6E142A;
}

.profile__orders-empty.is-visible { display: block; }

.profile__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
}

.profile__status--delivered {
  background: #E4F5EA;
  border-color: #6EC98B;
  color: #2C8351;
}

.profile__status--preparing {
  background: #FDF0D4;
  border-color: #E8B65A;
  color: #A9721E;
}

.profile__status--cancelled {
  background: #FBE3E5;
  border-color: #E58C96;
  color: #B23A4A;
}

/* ─── PROFILE RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .profile__details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .profile__header { gap: 12px; }
  .profile__avatar { width: 56px; height: 56px; border-radius: 12px; }
  .profile__avatar svg { width: 30px; height: 30px; }
  .profile__name { font-size: 20px; }

  .profile__details-card,
  .profile__orders-card { padding: 20px; }

  .profile__details-grid { grid-template-columns: 1fr; gap: 16px; }
}
