/* ============================================================
   BAKESTERI — Main Stylesheet
   Mobile-first, CSS Custom Properties, no frameworks
============================================================ */


/* ============================================================
   1. CSS CUSTOM PROPERTIES
============================================================ */

:root {
  /* Colors */
  --color-bg:           #F8E9E2;
  --color-bg-alt:       #FFF7F3;
  --color-accent-peach: #EFC5B5;
  --color-accent-rose:  #DFAEAA;
  --color-text:         #5A3E36;
  --color-text-soft:    #8A6A63;
  --color-border:       #E8D7D0;
  --color-white:        #FFFFFF;
  --color-rose-dark:    #c4948d;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Montserrat', system-ui, -apple-system, sans-serif;

  /* Font sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: var(--space-6);
  --section-py:    var(--space-20);
  --nav-height:    72px;

  /* Border radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(90, 62, 54, 0.06), 0 1px 2px rgba(90, 62, 54, 0.04);
  --shadow-md:  0 4px 16px rgba(90, 62, 54, 0.10), 0 2px 6px rgba(90, 62, 54, 0.06);
  --shadow-lg:  0 10px 40px rgba(90, 62, 54, 0.14), 0 4px 12px rgba(90, 62, 54, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}


/* ============================================================
   2. RESET & BASE
============================================================ */

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}


/* ============================================================
   3. TYPOGRAPHY
============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

p {
  color: var(--color-text-soft);
  line-height: 1.75;
}

p + p {
  margin-top: var(--space-4);
}

strong {
  font-weight: 600;
  color: var(--color-text);
}

a:focus-visible {
  outline: 2px solid var(--color-accent-rose);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   4. LAYOUT UTILITIES
============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

section {
  padding-block: var(--section-py);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-rose);
  display: block;
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-soft);
  max-width: 520px;
  margin-inline: auto;
}


/* ============================================================
   5. REUSABLE COMPONENTS
============================================================ */

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--color-accent-rose);
  color: var(--color-white);
  border: 2px solid var(--color-accent-rose);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background-color: var(--color-rose-dark);
  border-color: var(--color-rose-dark);
  box-shadow: var(--shadow-md);
}

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

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

.btn--outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-accent-rose);
}

.btn--outline:hover {
  background-color: var(--color-accent-rose);
  color: var(--color-white);
  border-color: var(--color-accent-rose);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}


/* ============================================================
   6. HEADER / NAVIGATION
============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: rgba(248, 233, 226, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo__image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.nav-logo__tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-soft);
  letter-spacing: 0.05em;
  margin-top: 1px;
}

/* Mobile nav menu */

.nav-menu {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
  box-shadow: var(--shadow-md);
}

.nav-menu.is-open {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-inline: var(--container-pad);
}

.nav-link {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}

.nav-link:last-child {
  border-bottom: none;
}

.nav-link:hover,
.nav-link--active {
  color: var(--color-accent-rose);
}

/* Hamburger toggle */

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
  background-color: var(--color-accent-peach);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop nav */

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

  .nav-menu {
    display: flex !important;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
    padding-inline: 0;
  }

  .nav-link {
    padding: var(--space-1) 0;
    border-bottom: none;
    font-size: var(--text-sm);
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1.5px;
    background-color: var(--color-accent-rose);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
  }

  .nav-link:hover::after,
  .nav-link--active::after {
    transform: scaleX(1);
  }
}


/* ============================================================
   7. HERO
============================================================ */

.hero {
  background-color: var(--color-bg);
  padding-block: var(--space-16) var(--space-20);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
}

.hero__text {
  text-align: center;
  max-width: 600px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-rose);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-size: clamp(var(--text-4xl), 7vw, var(--text-6xl));
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent-rose);
}

.hero__desc {
  font-size: var(--text-base);
  color: var(--color-text-soft);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 520px;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.hero__image-wrap {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent-peach) 0%, var(--color-bg) 100%);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

@media (min-width: 1024px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-16);
  }

  .hero__text {
    text-align: left;
    flex: 1;
    max-width: 560px;
  }

  .hero__desc {
    margin-inline: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__image-wrap {
    flex: 0 0 480px;
    max-width: 480px;
  }
}

@media (min-width: 1280px) {
  .hero__image-wrap {
    flex: 0 0 540px;
    max-width: 540px;
  }
}


/* ============================================================
   8. ABOUT
============================================================ */

.about__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
}

.about__image-wrap {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent-peach) 0%, var(--color-bg-alt) 100%);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__text {
  max-width: 560px;
}

.about__text .section-title {
  margin-bottom: var(--space-6);
}

.about__text p {
  margin-bottom: var(--space-4);
}

@media (min-width: 1024px) {
  .about__inner {
    flex-direction: row;
    gap: var(--space-16);
    align-items: center;
  }

  .about__image-wrap {
    flex: 0 0 380px;
    max-width: 380px;
  }

  .about__text {
    flex: 1;
  }
}


/* ============================================================
   8b. ORDER PAGE & FORM
============================================================ */

.order-page {
  padding-block: var(--section-py);
}

.order-page__inner {
  max-width: 640px;
  margin-inline: auto;
}

.order-page__thankyou {
  margin-bottom: var(--space-8);
}

.order-page__intro a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.order-page__intro a:hover {
  color: var(--color-rose-dark);
}

.order-form {
  margin-top: var(--space-10);
  padding: var(--space-8);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.order-form__layout {
  display: grid;
  gap: var(--space-6);
}

.order-form__group-title {
  grid-column: 1 / -1;
  margin: 0;
  margin-top: var(--space-4);
  padding-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.order-form__group-title--first {
  margin-top: 0;
}

/* Kakkupohja vasemmalla, täytteet oikealla (kahdeessa palstassa). */
.order-form__pair {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

@media (min-width: 640px) {
  .order-form__pair--sponge-fillings {
    grid-template-columns: 1fr 1fr;
  }

  .order-form__pair--sponge-fillings.is-single {
    grid-template-columns: 1fr;
  }
}

.order-product-locked {
  padding: var(--space-4);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.order-product-locked__text {
  margin: 0 0 var(--space-1);
  font-size: var(--text-base);
}

@media (min-width: 640px) {
  .order-form__layout {
    grid-template-columns: repeat(2, 1fr);
  }

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.form-field.is-size-locked > select,
.form-field.is-size-locked > .custom-select {
  display: none !important;
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-optional {
  font-weight: 400;
  color: var(--color-text-soft);
}

.form-hint {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: 1.5;
}

.treat-box {
  display: grid;
  gap: var(--space-5);
  padding-block: 0;
}

.treat-box__intro {
  display: grid;
  gap: var(--space-3);
}

.treat-box__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}

.treat-box__rules {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-1);
}

.treat-box__rules-title,
.treat-box__rules-list {
  margin: 0;
}

.treat-box__rules-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.treat-box__rules-list {
  display: grid;
  gap: var(--space-1);
  padding-left: 1.2rem;
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

.treat-box__items {
  display: grid;
  gap: var(--space-3);
}

.treat-box__sections {
  display: grid;
  gap: var(--space-3);
}

.treat-box__option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.treat-box__option:hover,
.treat-box__option:focus-within {
  border-color: var(--color-accent-rose);
  box-shadow: 0 0 0 3px rgba(223, 174, 170, 0.22);
}

.treat-box__option:has(.treat-box__option-input:checked) {
  background: var(--color-white);
  border-color: var(--color-rose-dark);
  box-shadow: 0 0 0 3px rgba(196, 148, 141, 0.2);
}

.treat-box__option-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--color-rose-dark);
}

.treat-box__option-body {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.treat-box__option-head {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  justify-content: space-between;
}

.treat-box__option-name,
.treat-box__option-price {
  font-weight: 600;
  color: var(--color-text);
}

.treat-box__option-items {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-soft);
}

.treat-box__option-quantity {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-1);
}

.treat-box__option-quantity-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.treat-box__section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  overflow: hidden;
}

.treat-box__section-summary {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.treat-box__section-summary::marker {
  color: var(--color-text-soft);
}

.treat-box__section-count {
  flex: 0 0 auto;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-soft);
}

.treat-box__section-body {
  display: grid;
  gap: var(--space-3);
  padding: 0 var(--space-4) var(--space-4);
}

.treat-box__item {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.treat-box__item:first-child {
  border-top: 1px solid var(--color-border);
}

.treat-box__item-name {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.treat-box__item-meta {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 2.75rem minmax(3.5rem, 4.5rem) 2.75rem;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
}

.quantity-stepper__button,
.quantity-stepper__input {
  min-height: 2.65rem;
  border: 0;
  color: var(--color-text);
  background: transparent;
}

.quantity-stepper__button {
  font-size: var(--text-xl);
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.quantity-stepper__button:hover,
.quantity-stepper__button:focus-visible {
  outline: none;
  background: var(--color-accent-peach);
  box-shadow: inset 0 0 0 2px rgba(223, 174, 170, 0.25);
}

.quantity-stepper__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  border-inline: 1px solid var(--color-border);
}

.quantity-stepper__input:focus {
  outline: none;
}

.treat-box__status {
  display: grid;
  gap: var(--space-2);
  padding: 0 var(--space-4) var(--space-4);
}

.treat-box__status p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--color-text);
}

.treat-box__total {
  font-weight: 600;
}

.treat-box__summary-lines {
  display: grid;
  gap: var(--space-3);
}

.treat-box__summary-group {
  display: grid;
  gap: var(--space-1);
}

.treat-box__summary-title {
  font-weight: 600;
}

.treat-box__summary-item,
.treat-box__summary-empty {
  color: var(--color-text-soft);
}

@media (min-width: 640px) {
  .treat-box__item {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.form-check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  cursor: pointer;
}

.form-check__input {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--color-accent-rose);
  cursor: pointer;
}

.form-check__text {
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
}

input.form-control--date {
  min-height: 2.875rem;
}

.date-picker {
  position: relative;
}

.date-picker__input {
  padding-right: 3.25rem;
}

.date-picker__toggle {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-peach);
  border: 1px solid var(--color-accent-rose);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.date-picker__toggle::before {
  width: 0.95rem;
  height: 0.9rem;
  content: "";
  border: 2px solid var(--color-text);
  border-top-width: 4px;
  border-radius: 3px;
  box-shadow: inset 0 3px 0 rgba(255, 247, 243, 0.75);
}

.date-picker__toggle:hover,
.date-picker__toggle:focus-visible {
  background: var(--color-accent-rose);
  box-shadow: 0 0 0 3px rgba(223, 174, 170, 0.28);
}

.date-picker__toggle:active {
  transform: translateY(1px);
}

.date-picker__calendar {
  position: absolute;
  z-index: 20;
  top: calc(100% + var(--space-2));
  left: 0;
  width: min(100%, 22rem);
  padding: var(--space-4);
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.date-picker__header {
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-3);
}

.date-picker__month {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
}

.date-picker__nav {
  position: relative;
  width: 2rem;
  height: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.date-picker__nav::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  border-top: 2px solid var(--color-text);
  border-right: 2px solid var(--color-text);
}

.date-picker__nav[data-date-picker-prev]::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.date-picker__nav[data-date-picker-next]::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.date-picker__nav:hover:not(:disabled),
.date-picker__nav:focus-visible:not(:disabled) {
  background: var(--color-accent-peach);
  border-color: var(--color-accent-rose);
  box-shadow: 0 0 0 3px rgba(223, 174, 170, 0.2);
}

.date-picker__nav:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.date-picker__weekdays,
.date-picker__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.date-picker__weekdays {
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-soft);
  text-align: center;
  text-transform: uppercase;
}

.date-picker__day {
  min-width: 0;
  aspect-ratio: 1;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.date-picker__day:hover:not(:disabled),
.date-picker__day:focus-visible:not(:disabled) {
  background: var(--color-accent-peach);
  border-color: var(--color-accent-rose);
  box-shadow: 0 0 0 3px rgba(223, 174, 170, 0.18);
}

.date-picker__day.is-today {
  border-color: var(--color-accent-rose);
  font-weight: 600;
}

.date-picker__day.is-selected {
  color: var(--color-white);
  background: var(--color-rose-dark);
  border-color: var(--color-rose-dark);
}

.date-picker__day:disabled {
  color: rgba(90, 62, 54, 0.38);
  background: rgba(232, 215, 208, 0.36);
  cursor: not-allowed;
}

.date-picker__day-placeholder {
  min-width: 0;
  aspect-ratio: 1;
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:hover {
  border-color: var(--color-accent-peach);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-rose);
  box-shadow: 0 0 0 3px rgba(223, 174, 170, 0.35);
}

.form-control::placeholder {
  color: var(--color-text-soft);
  opacity: 0.85;
}

select.form-control {
  max-width: 100%;
  cursor: pointer;
  appearance: auto;
}

select.form-control:required:invalid {
  color: var(--color-text-soft);
}

select.form-control option:not([disabled]) {
  color: var(--color-text);
}

.custom-select {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.custom-select.is-open {
  z-index: 60;
}

.custom-select__button,
.custom-select__list {
  display: none;
}

.form-control--textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.6;
}

.order-form__note {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

.order-form__note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.order-form__note a:hover {
  color: var(--color-rose-dark);
}

.order-summary {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.order-summary__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}

.order-summary__list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}

.order-summary__row {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.order-summary__row dt,
.order-summary__row dd {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
}

.order-summary__row dt {
  color: var(--color-text-soft);
}

.order-summary__row dd {
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}

.order-summary__row--total {
  margin-top: var(--space-1);
  padding-top: var(--space-2);
  border-bottom: 0;
}

.order-summary__row--total dt,
.order-summary__row--total dd {
  font-size: var(--text-base);
  color: var(--color-text);
}

.order-summary__pickup,
.order-summary__note {
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-soft);
}

.order-summary__pickup {
  font-weight: 600;
  color: var(--color-text);
}

.order-form__actions {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (max-width: 639px) {
  .order-page {
    padding-block: var(--space-8) var(--space-12);
  }

  .order-page__inner {
    padding-inline: var(--space-3);
  }

  .order-page .section-header {
    margin-bottom: var(--space-6);
  }

  .order-page .section-eyebrow {
    margin-bottom: var(--space-2);
    font-size: var(--text-xs);
  }

  .order-page .section-title {
    margin-bottom: 0;
    font-size: var(--text-2xl);
  }

  .order-form {
    margin-top: var(--space-6);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .order-form__layout {
    gap: var(--space-4);
  }

  .order-form__group-title {
    margin-top: var(--space-2);
    padding-bottom: var(--space-1);
    font-size: var(--text-lg);
  }

  .order-form__pair {
    gap: var(--space-4);
  }

  .form-field {
    gap: var(--space-1);
  }

  .form-control {
    min-height: 2.625rem;
    padding: 0.625rem var(--space-3);
  }

  select.form-control {
    font-size: var(--text-sm);
    line-height: 1.25;
    padding-right: var(--space-8);
  }

  select.form-control option {
    font-size: var(--text-sm);
    line-height: 1.25;
  }

  .custom-select {
    isolation: isolate;
  }

  select.custom-select__native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
  }

  .custom-select__button {
    display: flex;
    width: 100%;
    min-height: 2.625rem;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 0.625rem var(--space-8) 0.625rem var(--space-3);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: 1.25;
    color: var(--color-text);
    text-align: left;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  }

  .custom-select__button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: var(--space-3);
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    opacity: 0.8;
  }

  .custom-select__button:hover {
    border-color: var(--color-accent-peach);
  }

  .custom-select__button:focus,
  select.custom-select__native:focus + .custom-select__button {
    outline: none;
    border-color: var(--color-accent-rose);
    box-shadow: 0 0 0 3px rgba(223, 174, 170, 0.35);
  }

  .custom-select__button.is-placeholder {
    color: var(--color-text-soft);
  }

  .custom-select__button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
  }

  .custom-select__list {
    position: absolute;
    z-index: 70;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(22rem, 70vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
  }

  .custom-select.is-open .custom-select__list {
    display: block;
  }

  .custom-select__option {
    display: block;
    width: 100%;
    min-height: 2.25rem;
    padding: 0.5rem var(--space-3);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: 1.25;
    color: var(--color-text);
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .custom-select__option:hover,
  .custom-select__option:focus {
    outline: none;
    background: rgba(239, 197, 181, 0.35);
  }

  .custom-select__option.is-selected {
    color: var(--color-white);
    background: var(--color-rose-dark);
    font-weight: 600;
  }

  .custom-select__option:disabled {
    color: var(--color-text-soft);
    cursor: not-allowed;
    opacity: 0.75;
  }

  .form-control--textarea {
    min-height: 4.75rem;
    font-size: var(--text-sm);
  }

  .form-hint {
    font-size: var(--text-xs);
    line-height: 1.45;
  }

  .form-check {
    gap: var(--space-2);
  }

  .form-check__text {
    font-size: var(--text-sm);
  }

  .order-product-locked {
    padding: var(--space-3);
    border-radius: var(--radius-sm);
  }

  .date-picker__input {
    padding-right: 3rem;
  }

  .date-picker__toggle {
    top: 0.375rem;
    right: 0.375rem;
    width: 1.875rem;
    height: 1.875rem;
  }

  .date-picker__calendar {
    width: 100%;
    padding: var(--space-3);
    border-radius: var(--radius-sm);
  }

  .date-picker__header {
    margin-bottom: var(--space-2);
  }

  .date-picker__month {
    font-size: var(--text-base);
  }

  .date-picker__day {
    font-size: var(--text-xs);
  }

  .order-form__note {
    margin-top: var(--space-5);
  }

  .order-summary {
    margin-top: var(--space-5);
    padding: var(--space-4);
  }

  .order-summary__title {
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
  }

  .order-summary__row {
    gap: var(--space-2);
  }

  .order-summary__row dt,
  .order-summary__row dd,
  .order-summary__pickup,
  .order-summary__note {
    font-size: var(--text-xs);
  }

  .order-summary__row--total dt,
  .order-summary__row--total dd {
    font-size: var(--text-sm);
  }

  .order-form__actions {
    margin-top: var(--space-5);
    gap: var(--space-3);
  }

  .order-form__actions .btn {
    width: 100%;
    padding-inline: var(--space-4);
  }
}

@media (min-width: 480px) {
  .order-form__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.form-feedback {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

.form-feedback--success {
  background: rgba(239, 197, 181, 0.35);
  border: 1px solid var(--color-accent-peach);
  color: var(--color-text);
}

.form-feedback--error {
  background: rgba(223, 174, 170, 0.25);
  border: 1px solid var(--color-accent-rose);
  color: var(--color-text);
}


/* ============================================================
   9. PRODUCTS
============================================================ */

.products .section-title {
  font-size: var(--text-base);
  font-weight: 600;
}

.products .section-intro {
  font-size: var(--text-sm);
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.product-card__image-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent-peach) 0%, var(--color-bg) 100%);
  flex-shrink: 0;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image {
  transform: scale(1.04);
}

.product-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.product-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: 1.65;
  flex: 1;
}

.product-card__price {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.product-card__body .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}


/* ============================================================
   10. ORDERING
============================================================ */

.ordering .section-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-rose);
}

.ordering__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.ordering__step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.ordering__step-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-accent-peach);
  line-height: 1;
  min-width: 2.5rem;
  flex-shrink: 0;
  user-select: none;
}

.ordering__step-content {
  padding-top: var(--space-1);
}

.ordering__step-content h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.ordering__step-content p {
  font-size: var(--text-sm);
}

.ordering__step-content a {
  color: var(--color-accent-rose);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.ordering__step-content a:hover {
  color: var(--color-rose-dark);
}

.ordering__note {
  max-width: 560px;
  margin-inline: auto;
  padding: var(--space-6) var(--space-8);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.ordering__note p {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  font-style: italic;
}


/* ============================================================
   11. GALLERY
============================================================ */

.gallery .section-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-rose);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

.gallery__item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent-peach) 0%, var(--color-bg) 100%);
  box-shadow: var(--shadow-sm);
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover .gallery__image {
  transform: scale(1.05);
}

.gallery__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.gallery__page-info {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-soft);
  min-width: 3rem;
  text-align: center;
}

.gallery__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent-rose);
  background: transparent;
  color: var(--color-text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.gallery__nav-btn:hover:not(:disabled) {
  background-color: var(--color-accent-rose);
  color: var(--color-white);
}

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


/* ============================================================
   12. CONTACT
============================================================ */

.contact .section-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-rose);
}

.contact__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .contact__cards {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8) var(--space-8);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  gap: var(--space-3);
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  margin-inline: auto;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

@media (min-width: 640px) {
  .contact-card {
    margin-inline: 0;
  }
}

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

.contact-card__icon {
  width: 52px;
  height: 52px;
  background-color: var(--color-bg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-rose);
  flex-shrink: 0;
}

.contact-card__platform {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.contact-card__link {
  font-size: var(--text-sm);
  color: var(--color-accent-rose);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a.contact-card__link:hover {
  color: var(--color-rose-dark);
}

p.contact-card__link {
  text-decoration: none;
  color: var(--color-text-soft);
}

.contact-card__sub {
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  margin-top: calc(-1 * var(--space-2));
}

.contact__cta {
  text-align: center;
}


/* ============================================================
   13. FOOTER
============================================================ */

.site-footer {
  background-color: var(--color-text);
  padding-block: var(--space-10);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.footer__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent-peach);
  letter-spacing: 0.01em;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-accent-peach);
  opacity: 0.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(239, 197, 181, 0.3);
  color: var(--color-accent-peach);
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base);
}

.footer__social-link:hover {
  background-color: var(--color-accent-rose);
  color: var(--color-white);
  border-color: var(--color-accent-rose);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-accent-peach);
  opacity: 0.5;
}


/* ============================================================
   14. LAZY IMAGES & ANIMATIONS
============================================================ */

/* Lazy image fade-in */

.lazy {
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.lazy.loaded {
  opacity: 1;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lazy {
    opacity: 1;
    transition: none;
  }
}


/* ============================================================
   15. DESKTOP TYPOGRAPHY SCALE (min-width: 1024px)
============================================================ */

@media (min-width: 1024px) {
  .section-eyebrow,
  .ordering .section-title,
  .gallery .section-title,
  .contact .section-title {
    font-size: var(--text-base);
  }

  .section-title {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  }

  .products .section-title {
    font-size: var(--text-xl);
  }

  .section-intro,
  .products .section-intro {
    font-size: var(--text-base);
  }

  .hero__desc {
    font-size: var(--text-lg);
  }

  .ordering__step-number {
    font-size: var(--text-3xl);
  }

  .ordering__step-content h3 {
    font-size: var(--text-lg);
  }

  .ordering__step-content p {
    font-size: var(--text-base);
  }

  .product-card__title {
    font-size: var(--text-lg);
  }

  .product-card__desc {
    font-size: var(--text-base);
  }

  .contact-card__platform {
    font-size: var(--text-base);
  }
}


/* ============================================================
   16. PRODUCT POPUP
============================================================ */

.product-popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(60, 30, 20, 0.45);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product-popup__overlay.is-visible {
  opacity: 1;
}

.product-popup {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  max-width: 360px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform 0.2s ease;
}

.product-popup__overlay.is-visible .product-popup {
  transform: translateY(0);
}

.product-popup__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-text-soft);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.product-popup__close:hover {
  color: var(--color-text);
}

.product-popup__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-rose);
  margin-bottom: var(--space-2);
}

.product-popup__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.product-popup__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-popup__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-6);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.product-popup__option:hover {
  border-color: var(--color-accent-rose);
  background-color: var(--color-bg);
}

.product-popup__option-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.product-popup__option-desc {
  font-size: var(--text-xs);
  color: var(--color-text-soft);
}

/* ============================================================
   SECTION 17 — LIGHTBOX
============================================================ */

.gallery__image {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 5, 0.92);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox.is-visible {
  opacity: 1;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  transform: scale(0.96);
  transition: transform 0.2s ease;
}

.lightbox.is-visible .lightbox__figure {
  transform: scale(1);
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  display: block;
}

.lightbox__counter {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  font-family: var(--font-body);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
}

.lightbox__close {
  top: var(--space-3);
  right: var(--space-3);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  z-index: 1200;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  padding: var(--space-3);
  min-width: 48px;
  min-height: 48px;
}

.lightbox__prev {
  left: var(--space-2);
}

.lightbox__next {
  right: var(--space-2);
}

@media (max-width: 600px) {
  .lightbox__img {
    max-height: 70vh;
  }
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: var(--space-4);
    transform: none;
    font-size: 2.5rem;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .lightbox__prev {
    left: 50%;
    margin-left: -64px;
  }
  .lightbox__next {
    right: 50%;
    margin-right: -64px;
  }
}

.lightbox__prev:disabled,
.lightbox__next:disabled {
  opacity: 0.2;
  cursor: default;
}
