@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-Medium.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-SemiBold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --surface: #ECECEC;
  --surface-strong: #ECECEC;
  --ink: #242321;
  --ink-dark: #242321;
  --muted: #929aa4;
  --accent: #242321;
  --line: #b8b8b5;
  --white: #f4f5f6;
  --radius: 0px;
  --content: 1200px;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); }
body.menu-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header { position: sticky; top: 0; z-index: 20; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 40px; border-bottom: 1px solid transparent; background: rgba(236, 236, 236, .94); backdrop-filter: blur(14px); transition: border-color .3s ease; }
.menu-button, .header-actions button { border: 0; background: none; color: var(--ink); cursor: pointer; }
.menu-button { display: flex; align-items: center; gap: 7px; width: max-content; font-size: 14px; }
.menu-button img { width: 24px; height: 24px; }
.header-logo-mark { width: 150px; height: 23px; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.header-logo-mark span { display: block; width: 150px; height: 34px; background: #242321; -webkit-mask: url("assets/images/august-logo.svg") left top / 150px auto no-repeat; mask: url("assets/images/august-logo.svg") left top / 150px auto no-repeat; }
.site-header.show-brand { border-bottom-color: var(--line); }
.site-header.show-brand .header-logo-mark { opacity: 1; pointer-events: auto; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.header-actions button { position: relative; padding: 4px; }
.header-actions img { width: auto; height: 22px; max-width: 26px; object-fit: contain; display: block; }
.cart-count, .saved-count { position: absolute; right: -5px; top: -4px; width: 16px; height: 16px; display: grid; place-items: center; background: var(--accent); color: var(--white); font-size: 9px; border-radius: 50%; }
.saved-count[hidden] { display: none; }

.menu-drawer { position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(440px, 88vw); padding: 100px 42px 40px; background: var(--surface); transform: translateX(-102%); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.menu-drawer.is-open { transform: translateX(0); }
.menu-drawer__close { position: absolute; top: 28px; right: 28px; width: 38px; height: 38px; padding: 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-drawer nav { display: grid; }
.menu-drawer nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(22px, 3vw, 34px); }
.menu-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(30, 32, 36, .36); }

.hero { position: relative; height: calc(100dvh - 64px); min-height: 460px; overflow: hidden; display: grid; place-items: center; background: #afa9bd; }
.hero__image, .hero__shade { z-index: 2; position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { z-index: 1; object-fit: cover; object-position: center 48%; }
.hero__image { filter: grayscale(0) saturate(.94); will-change: transform, filter, opacity; }
.hero__shade { background: linear-gradient(180deg, rgba(35, 33, 36, .16), rgba(35, 33, 36, .35)); }
.hero-intro { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; overflow: hidden; pointer-events: none; }
.hero-intro__panel { position: absolute; z-index: 1; left: 0; right: 0; height: calc(50% + 6px); background: #ECECEC; will-change: transform; }
.hero-intro__panel--top { top: 0; }
.hero-intro__panel--bottom { bottom: 0; }
.hero-intro__mark { position: relative; z-index: 2; width: 100vw; height: 12.4vw; overflow: visible; opacity: 0; transform: translateY(-88px); --motion-logo-size: 94vw; }
.hero-intro__slice { position: absolute; inset: 0; -webkit-mask: url("assets/images/august-logo.svg") center top / var(--motion-logo-size) auto no-repeat; mask: url("assets/images/august-logo.svg") center top / var(--motion-logo-size) auto no-repeat; will-change: transform, opacity, filter; }
.hero-intro__slice--left { z-index: 3; clip-path: inset(0 calc(50% + 30vw) 0 0); transform-origin: 20vw 50%; }
.hero-intro__slice--center { z-index: 2; clip-path: inset(0 calc(50% - 32.5vw) 0 calc(50% - 28.9vw)); }
.hero-intro__slice--right { z-index: 3; clip-path: inset(0 0 0 calc(50% + 32.5vw)); transform-origin: 82.5vw 50%; }
.hero-intro__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1) brightness(.58) saturate(.72); transform: scale(1.08); }
.hero__content { position: relative; z-index: 3; width: min(860px, 86vw); display: flex; flex-direction: column; align-items: center; color: var(--white); text-align: center; }
.hero__logo { width: min(805px, 86vw); display: grid; justify-items: center; gap: 18px; margin-bottom: 48px; }
.hero__logo img { width: 100%; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border: 1px solid transparent; font-size: 13px; letter-spacing: .04em; cursor: pointer; transition: transform .25s ease, background-color .25s ease, color .25s ease; white-space: nowrap; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button--light { --button-light-fill: var(--surface); position: relative; background: var(--button-light-fill); color: var(--ink); }
.button--light:hover { transform: none; }
.button--light__label { position: relative; z-index: 1; }
.button--light__border { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.button--light__border path { fill: none; stroke: url("#button-silver-gradient"); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 1; }
.button--light:hover .button--light__border, .button--light:focus-visible .button--light__border { opacity: 1; }
.button--light:hover .button--light__border path, .button--light:focus-visible .button--light__border path { animation: silver-border-draw 1.05s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes silver-border-draw { to { stroke-dashoffset: 0; } }
.button--solid { width: 100%; background: var(--ink-dark); color: var(--surface); }

.price-nav-dock { position: relative; z-index: 18; width: 100%; background: var(--surface); }
.price-nav-dock.is-fixed { position: fixed; left: 0; right: 0; bottom: 0; box-shadow: 0 -12px 32px rgba(55,60,66,.12); }
.price-nav-spacer { height: 0; }
.price-nav-spacer.is-active { height: 109px; }
.price-nav-trigger { width: 100%; height: 1px; margin-bottom: -1px; pointer-events: none; }
.price-nav { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 0; border-left: 1px solid var(--line); }
.price-nav::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #8f98a3 0%, #d8dee4 18%, #f8fafb 38%, #aeb6bf 58%, #edf1f4 78%, #8f98a3 100%); background-size: 220% 100%; box-shadow: inset 0 1px 0 rgba(255,255,255,.68); opacity: 0; pointer-events: none; transform: scaleX(0); transform-origin: left; }
.price-nav-dock.is-revealed .price-nav::before { opacity: 1; animation: category-rail-load .95s cubic-bezier(.16,1,.3,1) forwards; }
.price-nav:has(a:hover)::before, .price-nav:has(a:focus-visible)::before { opacity: 0; transform: scaleX(0); animation: none; }
@keyframes category-rail-load { from { transform: scaleX(0); background-position: 220% 0; } to { transform: scaleX(1); background-position: 0 0; } }
.price-nav a { position: relative; min-height: 109px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
@keyframes silver-line-sweep { to { background-position: -220% 0; } }
.price-nav a::before { content: ""; position: absolute; z-index: 3; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #8f98a3 0%, #d8dee4 18%, #f8fafb 38%, #aeb6bf 58%, #edf1f4 78%, #8f98a3 100%); background-size: 220% 100%; box-shadow: inset 0 1px 0 rgba(255,255,255,.68); transform: scaleX(0); transform-origin: center; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.price-nav a:hover, .price-nav a:focus-visible { background: #FBFAF7; }
.price-nav a:hover::before, .price-nav a:focus-visible::before { transform: scaleX(1); animation: silver-line-sweep 2.2s linear infinite; }
.price-nav strong { font-size: clamp(16px, 2vw, 24px); font-weight: 400; }
.price-nav small { font-family: "Montserrat", sans-serif; color: var(--muted); font-size: 11px; font-weight: 400; }

.section { max-width: var(--content); margin: 0 auto; padding: 92px 40px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.section-heading h2, .clients h2 { margin: 0 0 6px; color: var(--ink); font-size: clamp(34px, 5vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; text-transform: uppercase; }
.text-link { flex: 0 0 auto; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { min-width: 0; }
.product-card__image { position: relative; aspect-ratio: .84; overflow: hidden; background: var(--surface-strong); }
.product-card__image > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.product-card:hover .product-card__image > img:first-child { transform: scale(1.035); }
.product-card__badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border: 1px solid var(--accent); color: var(--accent); font-size: 12px; background: rgba(236,236,236,.72); }
.favorite-button { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: rgba(236,236,236,.7); cursor: pointer; }
.favorite-button img { width: 24px; }
.product-card__meta { padding: 15px 0 18px; }
.product-card h3, .product-card p { margin: 0; font-size: 16px; font-weight: 400; }
.product-card p { margin-top: 8px; }
.product-card__actions { display: grid; gap: 5px; }
.product-card__actions button, .product-card__actions a { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink-dark); font-size: 12px; cursor: pointer; }
.product-card__actions .add-button { background: var(--ink-dark); color: var(--surface); }

.catalog { padding-top: 110px; }
.catalog-collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, 300px); gap: 12px; }
.catalog-tile { position: relative; overflow: hidden; }
.catalog-tile--large { grid-row: 1 / span 2; }
.catalog-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76); transition: transform .8s cubic-bezier(.16,1,.3,1), filter .4s ease; }
.catalog-tile:hover img { transform: scale(1.035); filter: saturate(1); }
.catalog-tile span { position: absolute; left: 20px; bottom: 18px; color: var(--white); font-size: 15px; letter-spacing: .05em; text-shadow: 0 1px 14px rgba(0,0,0,.36); }

.custom-order { padding: 110px 40px; background: var(--surface-strong); }
.custom-order__intro { margin-bottom: 56px; text-align: center; }
.custom-order__intro > p { margin: 0 0 10px; color: var(--muted); font-size: clamp(25px, 4vw, 48px); }
.custom-order h2 { margin: 0; color: var(--ink-dark); font-size: clamp(32px, 5vw, 60px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.custom-order__body { max-width: none; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.custom-order__body > img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.request-form { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.request-form > p:first-child { max-width: 440px; margin: 0 0 8px; text-transform: uppercase; }
.request-form label:not(.consent) { display: grid; gap: 8px; color: var(--ink-dark); font-size: 13px; }
.request-form input, .request-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; background: transparent; color: var(--ink-dark); outline: none; }
.request-form input:focus, .request-form textarea:focus { border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.request-form input::placeholder, .request-form textarea::placeholder { color: var(--muted); }
.file-field input { border: 1px solid var(--line); padding: 12px; }
.consent { display: flex; align-items: start; gap: 10px; color: rgba(36,35,33,.7); font-family: "Montserrat", sans-serif; font-size: 10px; line-height: 1.45; cursor: pointer; }
.consent input { display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; margin: 0; padding: 0; appearance: none; border: 1px solid var(--ink); border-radius: 0; background: #fbfaf7; cursor: pointer; }
.consent input:checked::after { content: "✓"; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1; }
.consent input:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.consent a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.form-status { min-height: 20px; margin: 0; font-size: 13px; }

.about { display: grid; grid-template-columns: 1fr .7fr .9fr; gap: 42px; align-items: start; padding-top: 130px; padding-bottom: 130px; }
.about__title h2 { margin: 0; color: var(--ink-dark); font-size: clamp(34px, 4.6vw, 58px); font-weight: 500; line-height: 1.03; letter-spacing: -.045em; }
.about > img { width: 100%; aspect-ratio: .76; object-fit: cover; }
.about__copy { align-self: end; font-size: 16px; line-height: 1.45; }
.about__copy p { margin: 0 0 20px; }

.delivery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.delivery-card__media { position: relative; width: 100%; height: 0; overflow: hidden; padding-top: 133.333%; }
.delivery-card__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.delivery-card__media .delivery-card__image--basket { transform: scale(1.14); transform-origin: 50% 56%; }
.delivery-grid article img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.74); }
.delivery-grid h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 500; }
.delivery-grid p { margin: 0; font-size: 14px; }

.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--line); }
.clients__title p { max-width: 420px; text-transform: uppercase; }
.clients__links { display: grid; align-content: start; }
.clients__links p { margin: 0 0 28px; line-height: 1.45; }
.clients__links a { width: fit-content; margin-bottom: 14px; text-decoration: underline; text-underline-offset: 4px; }

footer { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 18px; padding: 60px 24px; background: var(--surface-strong); color: var(--ink-dark); text-align: center; }
.footer-logo { font-size: clamp(54px, 10vw, 120px); font-weight: 300; letter-spacing: -.06em; }
footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-intro { display: none; }
  .price-nav::before, .price-nav a::before { animation: none !important; background-position: 50% 0; }
  .price-nav-dock.is-revealed .price-nav::before { opacity: 1; transform: scaleX(1); }
  .button--light:hover .button--light__border path, .button--light:focus-visible .button--light__border path { animation: none !important; stroke-dashoffset: 0; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 900px) {
  .price-nav { grid-template-columns: repeat(3, minmax(210px, 1fr)); overflow-x: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
  .about { grid-template-columns: 1fr 1fr; }
  .about__title { grid-column: 1 / -1; }
  .custom-order__body { gap: 20px; }
}

@media (max-width: 767px) {
  .site-header { height: 58px; padding: 0 16px; grid-template-columns: 1fr auto 1fr; }
  .menu-button span { font-size: 12px; }
  .header-logo-mark { width: 108px; height: 17px; }
  .header-logo-mark span { width: 108px; height: 25px; -webkit-mask-size: 108px auto; mask-size: 108px auto; }
  .header-actions { gap: 12px; }
  .hero { height: calc(100dvh - 58px); min-height: 420px; }
  .hero__image { object-position: 54% center; }
  .hero__logo { width: 88vw; gap: 12px; margin-bottom: 34px; }
  .hero-intro__mark { width: 100vw; height: 12.4vw; transform: translateY(-58px); }
  .price-nav { grid-template-columns: repeat(3, 220px); overflow-x: auto; scroll-snap-type: x mandatory; }
  .price-nav a { scroll-snap-align: start; }
  .price-nav a { min-height: 96px; padding: 12px 5px; text-align: center; }
  .price-nav-spacer.is-active { height: 96px; }
  .price-nav strong { font-size: 14px; }
  .price-nav small { max-width: 150px; font-size: 9px; }
  .section { padding: 72px 16px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading h2, .clients h2 { font-size: 38px; }
  .section-heading .text-link { display: inline-block; margin-top: 20px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card__meta { padding: 12px 0; }
  .product-card h3, .product-card p { font-size: 14px; }
  .product-card__actions button, .product-card__actions a { padding: 6px; font-size: 10px; }
  .catalog-collage { grid-template-columns: 1fr; grid-template-rows: 480px 250px 250px; }
  .catalog-tile--large { grid-row: auto; }
  .custom-order { padding: 78px 16px; }
  .custom-order__intro { text-align: left; }
  .custom-order__intro > p { font-size: 24px; }
  .custom-order h2 { font-size: 36px; }
  .custom-order h2 br { display: none; }
  .custom-order__body { grid-template-columns: 1fr; }
  .custom-order__body > img { min-height: 420px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about__title { grid-column: auto; }
  .about > img { aspect-ratio: 1; }
  .delivery-grid { grid-template-columns: 1fr; gap: 36px; }
  .clients { grid-template-columns: 1fr; gap: 32px; }
}



/* AUGUST design system: one light, cool-grey theme, sharp geometry, Montserrat, restrained silver motion. */
:root { color-scheme: light; --august-surface: #ECECEC; --august-ink: #242321; --august-line: #b8b8b5; --august-focus: #66717d; }
.mega-menu-open { overflow: hidden; }
.mega-menu { position: fixed; z-index: 80; inset: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--august-surface); color: var(--august-ink); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .36s ease, visibility 0s linear .36s; }
.mega-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mega-menu__top { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 40px; border-bottom: 1px solid var(--august-line); }
.mega-menu__close { position: relative; width: 64px; height: 64px; justify-self: start; border: 0; padding: 0; background: transparent; color: var(--august-ink); cursor: pointer; }
.mega-menu__close::before, .mega-menu__close::after { content: ""; position: absolute; top: 31px; left: 7px; width: 50px; height: 1px; background: currentColor; transform: rotate(45deg) scaleX(0); transform-origin: center; transition: transform .48s cubic-bezier(.16,1,.3,1); }
.mega-menu__close::after { transform: rotate(-45deg) scaleX(0); }
.mega-menu.is-open .mega-menu__close::before { transform: rotate(45deg) scaleX(1); transition-delay: .1s; }
.mega-menu.is-open .mega-menu__close::after { transform: rotate(-45deg) scaleX(1); transition-delay: .14s; }
.mega-menu__close:focus-visible, .mega-menu__primary a:focus-visible, .mega-menu__category:focus-visible, .mega-menu__account:focus-visible { outline: 2px solid var(--august-focus); outline-offset: 4px; }
.mega-menu__brand { width: 178px; height: 30px; overflow: hidden; }
.mega-menu__brand span { display: block; width: 178px; height: 41px; background: var(--august-ink); -webkit-mask: url("assets/images/august-logo.svg") left top / 178px auto no-repeat; mask: url("assets/images/august-logo.svg") left top / 178px auto no-repeat; }
.mega-menu__account { justify-self: end; display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--august-ink); color: var(--august-ink); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-align: center; white-space: nowrap; transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.mega-menu__account:hover { background: var(--august-ink); color: var(--august-surface); }
.mega-menu__account:active { transform: scale(.98); }
.mega-menu__body { display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 2.12fr); min-height: 0; }
.mega-menu__primary { display: grid; align-content: start; border-right: 1px solid var(--august-line); padding: clamp(42px, 7vh, 92px) 40px 40px; }
.mega-menu__primary a { position: relative; display: flex; align-items: center; min-height: clamp(48px, 7vh, 72px); border-bottom: 1px solid var(--august-line); color: var(--august-ink); font-size: clamp(23px, 2.25vw, 38px); font-weight: 400; letter-spacing: -.045em; line-height: 1; transform: translateX(-18px); opacity: 0; transition: color .22s ease, padding-left .32s cubic-bezier(.16,1,.3,1), transform .52s cubic-bezier(.16,1,.3,1), opacity .36s ease; transition-delay: calc(.07s * var(--menu-index)); }
.mega-menu__primary a::after { content: ""; width: 0; height: 2px; margin-left: 14px; background: linear-gradient(90deg, #8f98a3, #f8fafb, #8f98a3); transition: width .35s cubic-bezier(.16,1,.3,1); }
.mega-menu.is-open .mega-menu__primary a { transform: translateX(0); opacity: 1; }
.mega-menu__primary a:hover { padding-left: 12px; }
.mega-menu__primary a:hover::after { width: 36px; }
.mega-menu__catalog { min-width: 0; padding: clamp(42px, 7vh, 92px) 40px 40px; }
.mega-menu__catalog-title { display: flex; align-items: baseline; gap: 24px; margin: 0 0 27px; padding-bottom: 13px; border-bottom: 1px solid var(--august-line); transform: translateY(-12px); opacity: 0; transition: transform .5s cubic-bezier(.16,1,.3,1) .14s, opacity .34s ease .14s; }
.mega-menu.is-open .mega-menu__catalog-title { transform: translateY(0); opacity: 1; }
.mega-menu__catalog-title p { margin: 0; font-size: clamp(21px, 2vw, 32px); font-weight: 400; letter-spacing: -.04em; }
.mega-menu__catalog-title span { color: #62615e; font-size: 12px; }
.mega-menu__category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.mega-menu__category { min-width: 0; color: var(--august-ink); transform: translateY(18px); opacity: 0; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s ease; transition-delay: calc(.05s * var(--menu-index) + .16s); }
.mega-menu.is-open .mega-menu__category { transform: translateY(0); opacity: 1; }
.mega-menu__category-image { position: relative; display: block; aspect-ratio: 1.08 / 1; overflow: hidden; background: #d9d9d7; }
.mega-menu__category-image::after { content: ""; position: absolute; inset: 0; background: rgba(36,35,33,0); transition: background-color .3s ease; }
.mega-menu__category img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) brightness(.92); transform: scale(1.001); transition: transform .7s cubic-bezier(.16,1,.3,1), filter .4s ease; }
.mega-menu__category-label { display: block; margin-top: 9px; font-size: clamp(11px, 1vw, 14px); font-weight: 500; line-height: 1.15; }
.mega-menu__category:hover img { transform: scale(1.055); filter: saturate(.92) brightness(1.02); }
.mega-menu__category:hover .mega-menu__category-image::after { background: rgba(36,35,33,.08); }
@media (max-width: 960px) { .mega-menu__body { grid-template-columns: minmax(246px, .72fr) minmax(0, 1.28fr); } .mega-menu__category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mega-menu__primary, .mega-menu__catalog { padding-left: 28px; padding-right: 28px; } }
@media (max-width: 767px) { .mega-menu { overflow-y: auto; } .mega-menu__top { position: sticky; top: 0; z-index: 2; min-height: 70px; padding: 0 16px; background: var(--august-surface); } .mega-menu__close { width: 46px; height: 46px; } .mega-menu__close::before, .mega-menu__close::after { top: 22px; left: 3px; width: 40px; } .mega-menu__brand { width: 122px; height: 21px; } .mega-menu__brand span { width: 122px; height: 29px; -webkit-mask-size: 122px auto; mask-size: 122px auto; } .mega-menu__account { min-height: 36px; max-width: 120px; padding: 0 9px; font-size: 8px; line-height: 1.1; white-space: normal; } .mega-menu__body { display: block; } .mega-menu__primary { padding: 22px 16px 12px; border-right: 0; } .mega-menu__primary a { min-height: 48px; font-size: 25px; } .mega-menu__catalog { padding: 24px 16px 38px; border-top: 1px solid var(--august-line); } .mega-menu__catalog-title { display: block; margin-bottom: 18px; } .mega-menu__catalog-title span { display: block; margin-top: 6px; } .mega-menu__category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } .mega-menu__category-label { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .mega-menu, .mega-menu *, .mega-menu *::before, .mega-menu *::after { transition-duration: .01ms !important; animation: none !important; } }


/* Full-width menu rows: Figma frame 4122:2 adapted to the AUGUST system. */
.mega-menu { overflow-y: auto; }
.mega-menu__top { position: sticky; top: 0; z-index: 4; background: var(--august-surface); }
.mega-menu__rows { width: 100%; align-self: start; padding: clamp(54px, 10vh, 126px) 0 54px; }
.mega-menu__row { width: 100%; border-bottom: 1px solid var(--august-line); transform: translateY(16px); opacity: 0; transition: transform .46s cubic-bezier(.16,1,.3,1), opacity .34s ease; transition-delay: calc(.055s * var(--menu-index) + .08s); }
.mega-menu__row:first-child { border-top: 1px solid var(--august-line); }
.mega-menu.is-open .mega-menu__row { transform: translateY(0); opacity: 1; }
.mega-menu__row-link { position: relative; display: grid; grid-template-columns: minmax(340px, 1.08fr) minmax(260px, .92fr) 76px; align-items: center; width: 100%; min-height: clamp(94px, 10vh, 120px); padding: 0 40px; color: var(--august-ink); }
.mega-menu__row-label { font-size: clamp(30px, 3.12vw, 45px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.mega-menu__row-description { max-width: 360px; color: rgba(36,35,33,.64); font-size: 13px; font-weight: 400; line-height: 1.35; text-transform: uppercase; transform: translateX(-10px); opacity: 0; transition: transform .32s cubic-bezier(.16,1,.3,1), opacity .2s ease; }
.mega-menu__row-arrow { justify-self: end; display: grid; place-items: center; width: 56px; color: var(--august-ink); font-family: "Montserrat", sans-serif; font-size: 31px; font-weight: 400; line-height: 1; transform: translateX(-10px); opacity: 0; transition: transform .32s cubic-bezier(.16,1,.3,1), opacity .2s ease; }
.mega-menu__row:hover .mega-menu__row-description, .mega-menu__row:focus-within .mega-menu__row-description, .mega-menu__row:hover .mega-menu__row-arrow, .mega-menu__row:focus-within .mega-menu__row-arrow { transform: translateX(0); opacity: 1; }
.mega-menu__row-link::after { content: ""; position: absolute; bottom: -1px; left: 40px; width: 0; height: 2px; background: linear-gradient(90deg, #8f98a3, #f8fafb, #8f98a3); transition: width .38s cubic-bezier(.16,1,.3,1); }
.mega-menu__row:hover .mega-menu__row-link::after, .mega-menu__row:focus-within .mega-menu__row-link::after { width: min(23vw, 360px); }
.mega-menu__catalog-expand { display: grid; grid-template-rows: 0fr; overflow: hidden; opacity: 0; transition: grid-template-rows .52s cubic-bezier(.16,1,.3,1), opacity .22s ease; }
.mega-menu__row--catalog.is-expanded .mega-menu__catalog-expand { grid-template-rows: 1fr; opacity: 1; }
.mega-menu__catalog-expand .mega-menu__category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: min(600px, 48vw); margin: 0 40px 0 auto; padding: 0 0 24px; }
.mega-menu__catalog-expand > .mega-menu__category-grid { min-height: 0; overflow: hidden; }
.mega-menu__catalog-expand .mega-menu__category { color: var(--august-ink); transform: translateY(10px); opacity: 0; transition: transform .34s cubic-bezier(.16,1,.3,1), opacity .24s ease; }
.mega-menu__row--catalog.is-expanded .mega-menu__category { transform: translateY(0); opacity: 1; transition-delay: calc(.025s * var(--menu-index)); }
.mega-menu__catalog-expand .mega-menu__category-image { aspect-ratio: 1 / 1; }
.mega-menu__catalog-expand .mega-menu__category-label { margin-top: 6px; font-size: 13px; font-weight: 500; line-height: 1.15; }
@media (max-width: 960px) { .mega-menu__row-link { grid-template-columns: minmax(270px, 1fr) minmax(190px, .8fr) 44px; padding: 0 28px; } .mega-menu__row-link::after { left: 28px; } .mega-menu__catalog-expand .mega-menu__category-grid { width: min(540px, 56vw); margin-right: 28px; } }
@media (max-width: 767px) { .mega-menu__top { min-height: 70px; } .mega-menu__rows { padding: 26px 0 38px; } .mega-menu__row-link { grid-template-columns: 1fr 36px; min-height: 74px; padding: 16px; } .mega-menu__row-label { font-size: 25px; } .mega-menu__row-description { grid-column: 1; margin-top: 8px; font-size: 10px; } .mega-menu__row-arrow { grid-column: 2; grid-row: 1 / span 2; width: 36px; font-size: 23px; } .mega-menu__row:hover .mega-menu__row-description, .mega-menu__row:focus-within .mega-menu__row-description { opacity: 1; transform: translateX(0); } .mega-menu__row-link::after { left: 16px; } .mega-menu__catalog-expand .mega-menu__category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; margin: 0 16px; padding-bottom: 18px; } .mega-menu__catalog-expand .mega-menu__category-label { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .mega-menu__row, .mega-menu__row-description, .mega-menu__row-arrow, .mega-menu__catalog-expand, .mega-menu__catalog-expand .mega-menu__category { transition: none !important; } }


/* Menu refinement: Radiotechnika labels, single dividers, full-row silver hover. */
@font-face { font-family: "Radiotechnika"; src: url("assets/fonts/Radiotechnika.woff") format("woff"), local("Radiotechnika"), local("RADIOTEHNIKA"), local("Radiotehnika"); font-style: normal; font-weight: 400; font-display: swap; }
.mega-menu__top { border-bottom: 0; }
.mega-menu__row:first-child { border-top: 0; }
.mega-menu__row { position: relative; }
.mega-menu__row::after { content: ""; position: absolute; z-index: 2; left: 0; bottom: -1px; width: 0; height: 2px; background: linear-gradient(90deg, #8f98a3 0%, #d8dee4 22%, #f8fafb 44%, #aeb6bf 64%, #edf1f4 82%, #8f98a3 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.62); pointer-events: none; transition: width .48s cubic-bezier(.16,1,.3,1); }
.mega-menu__row:hover::after, .mega-menu__row:focus-within::after { width: 100%; }
.mega-menu__row-link::after { display: none; }
.mega-menu__row-label { font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: 40px; font-weight: 400; letter-spacing: 0; }
.mega-menu__catalog-expand .mega-menu__category-grid { width: min(560px, 46vw); gap: 14px 12px; padding-bottom: 28px; }
.mega-menu__catalog-expand .mega-menu__category-image { aspect-ratio: 1.08 / 1; }
@media (max-width: 960px) { .mega-menu__row-label { font-size: 34px; } .mega-menu__catalog-expand .mega-menu__category-grid { width: min(520px, 58vw); } }
@media (max-width: 767px) { .mega-menu__row-label { font-size: 25px; } .mega-menu__catalog-expand .mega-menu__category-grid { width: auto; } }


/* Figma arrow geometry and catalog alignment. */
.mega-menu__row-arrow { width: 76px; height: 15px; background: url("assets/icons/menu-arrow.svg") center / 76px 15px no-repeat; font-size: 0; }
.mega-menu__catalog-expand .mega-menu__category-grid { margin-left: 40px; margin-right: auto; }
@media (max-width: 960px) { .mega-menu__row-link { grid-template-columns: minmax(270px, 1fr) minmax(190px, .8fr) 90px; } .mega-menu__catalog-expand .mega-menu__category-grid { margin-left: 28px; margin-right: auto; } }
@media (max-width: 767px) { .mega-menu__row-link { grid-template-columns: 1fr 58px; } .mega-menu__row-arrow { width: 52px; height: 11px; background-size: 52px 11px; } .mega-menu__catalog-expand .mega-menu__category-grid { margin-left: 16px; margin-right: 16px; } }


/* Catalog media aligns with the description column. */
.mega-menu__row-link { grid-template-columns: 51% minmax(0, 1fr) 76px; }
.mega-menu__row-description, .mega-menu__catalog-expand .mega-menu__category-label { font-family: "Montserrat", sans-serif; }
.mega-menu__catalog-expand .mega-menu__category-grid { width: min(560px, calc(49% - 40px)); margin-left: 51%; margin-right: 40px; }
@media (max-width: 960px) { .mega-menu__row-link { grid-template-columns: 52% minmax(0, 1fr) 90px; } .mega-menu__catalog-expand .mega-menu__category-grid { width: calc(48% - 28px); margin-left: 52%; margin-right: 28px; } }
@media (max-width: 767px) { .mega-menu__row-link { grid-template-columns: 1fr 58px; } .mega-menu__catalog-expand .mega-menu__category-grid { width: auto; margin-left: 16px; margin-right: 16px; } }

/* Stable desktop menu contract: always opens at the top and keeps the same
   readable hierarchy in Chromium, Yandex Browser and Safari. */
@media (min-width: 768px) {
  .mega-menu {
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  .mega-menu__rows {
    padding-top: clamp(42px, 7vh, 82px);
  }
  .mega-menu__row-link {
    min-height: clamp(88px, 9.2vh, 108px);
  }
  .mega-menu__row-description,
  .mega-menu__row-arrow {
    opacity: 1;
    transform: none;
  }
}

/* Main-page prototype 4119:179 adapted to the AUGUST palette. */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.showcase--prototype { width: 100%; min-height: 850px; padding: 94px 40px 72px; overflow: hidden; background: var(--surface); }
.showcase__heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; width: 100%; }
.showcase__heading h2 { margin: 0; color: var(--ink); font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: clamp(38px, 3.65vw, 52px); font-weight: 400; line-height: 1.08; letter-spacing: 0; }
.showcase__heading p { display: grid; gap: 1px; margin: 18px 0 0; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: clamp(13px, 1.25vw, 18px); font-weight: 400; line-height: 1.22; }
.showcase__all-link, .category-explorer__link { color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 500; line-height: 1.3; text-transform: uppercase; text-decoration: none; }
.showcase__all-link { margin-bottom: 5px; }
.showcase__all-link--hint { cursor: default; }
.showcase__all-link--hint::after { display: none; }
.showcase__all-link::after, .category-explorer__link::after { content: ""; display: block; width: 0; height: 1px; margin-top: 6px; background: linear-gradient(90deg, #8f98a3, #f8fafb, #8f98a3); transition: width .42s cubic-bezier(.16,1,.3,1); }
.showcase__all-link:hover::after, .showcase__all-link:focus-visible::after, .category-explorer__link:hover::after, .category-explorer__link:focus-visible::after { width: 100%; }

.showcase__carousel { position: relative; height: 690px; margin: 38px -40px 0; overflow: hidden; }
.showcase__empty { min-height: 320px; margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-content: center; justify-items: center; gap: 24px; padding: 48px 24px; text-align: center; }
.showcase__empty p { max-width: 620px; margin: 0; font-family: "Montserrat", sans-serif; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.35; }
.showcase__empty a { color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 14px; text-decoration: none; }
.showcase__rail { position: absolute; top: 28px; left: 50%; width: 1700px; display: grid; grid-template-columns: 280px 330px 400px 330px 280px; gap: 20px; align-items: center; transform: translateX(-50%); }
.showcase--prototype .product-card {
  width: 100%;
  min-width: 0;
  opacity: .9;
  transform-origin: left top;
  transition: opacity .52s cubic-bezier(.22,1,.36,1), transform .84s cubic-bezier(.22,1,.36,1);
}
.showcase--prototype .product-card.is-active { opacity: 1; }
.showcase--prototype .product-card__image { position: relative; width: 100%; overflow: hidden; border: 1px solid var(--line); background: #d9d9d7; }
.showcase--prototype .product-card--slot-0 .product-card__image,
.showcase--prototype .product-card--slot-4 .product-card__image { height: 305px; }
.showcase--prototype .product-card--slot-1 .product-card__image { height: 404px; }
.showcase--prototype .product-card--slot-2 .product-card__image { height: 496px; background: #dfdfdd; }
.showcase--prototype .product-card--slot-3 .product-card__image { height: 384px; }
.showcase--prototype .product-card__placeholder::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 46%, rgba(36,35,33,.025)); }
.showcase--prototype .product-card__photo,
.popular-bouquets .product-card__photo { width: 100%; height: 100%; display: block; object-fit: cover; }
.showcase--prototype .product-card__badge { position: absolute; z-index: 2; top: 19px; left: 19px; display: grid; place-items: center; min-width: 38px; height: 24px; padding: 0 7px; border: 1px solid var(--line); background: rgba(251,250,247,.78); color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: lowercase; }
.showcase--prototype .favorite-button { position: absolute; z-index: 2; top: 18px; right: 18px; width: 24px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; opacity: 0; transition: opacity .22s ease, transform .22s ease; }
.showcase--prototype .product-card.is-active .favorite-button { opacity: 1; }
.showcase--prototype .favorite-button img { width: 19px; height: 24px; object-fit: contain; transition: filter .22s ease; }
.showcase--prototype .favorite-button.is-selected img { filter: brightness(.25); }
.showcase--prototype .favorite-button:active { transform: scale(.94); }
.showcase--prototype .product-card__meta { padding: 10px 0 0; color: var(--ink); font-family: "Montserrat", sans-serif; text-transform: uppercase; }
.showcase--prototype .product-card__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 18px;
}
.showcase--prototype .product-card h3,
.showcase--prototype .product-card__line p { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.1; }
.showcase--prototype .product-card h3 {
  min-width: 0;
  min-height: 2.2em;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.showcase--prototype .product-card__line p {
  justify-self: end;
  white-space: nowrap;
}
.showcase--prototype .product-card__color { margin: 4px 0 0; font-size: 11px; font-weight: 400; letter-spacing: .08em; line-height: 1.5; text-transform: lowercase; }
.showcase__arrow { position: absolute; z-index: 5; top: 270px; width: 56px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.showcase__arrow--prev { left: calc(50% - 272px); }
.showcase__arrow--next { right: calc(50% - 272px); }
.showcase__arrow span { width: 40px; height: 8px; background: url("assets/icons/menu-arrow.svg") center / 40px 8px no-repeat; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.showcase__arrow--prev span { transform: rotate(180deg); }
.showcase__arrow--prev:hover span { transform: rotate(180deg) translateX(5px); }
.showcase__arrow--next:hover span { transform: translateX(5px); }
.showcase__arrow:focus-visible, .favorite-button:focus-visible, .category-explorer__item:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.category-explorer { width: 100%; min-height: 779px; padding: 68px 40px 54px; overflow: hidden; background: #FBFAF7; color: var(--ink); }
.category-explorer__link { display: block; width: max-content; margin: 0 auto; }
.category-explorer__stage { position: relative; min-height: 615px; margin-top: 28px; }
.category-explorer__list { position: relative; z-index: 2; width: min(920px, 76vw); min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; }
.category-explorer__item { display: block; padding: 7px 12px; color: rgba(36,35,33,.28); font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: clamp(24px, 2.08vw, 30px); font-weight: 400; line-height: 1.08; text-align: center; text-transform: uppercase; transition: color .32s ease, font-size .48s cubic-bezier(.16,1,.3,1), transform .42s cubic-bezier(.16,1,.3,1); }
.category-explorer__item:hover, .category-explorer__item:focus-visible, .category-explorer__item.is-active { color: var(--ink); font-size: clamp(36px, 3.48vw, 50px); transform: translateX(0); }
.category-explorer__placeholder { position: absolute; z-index: 1; background: #D9D9D7; opacity: 0; animation: category-placeholder-in .52s cubic-bezier(.16,1,.3,1) forwards; }
.category-explorer__placeholder::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(36,35,33,.08); }
.category-explorer__placeholder--primary { top: 18px; right: 7%; width: 272px; height: 326px; transform-origin: right top; }
.category-explorer__placeholder--secondary { left: 5.5%; bottom: 22px; width: 217px; height: 156px; transform-origin: left bottom; animation-delay: .06s; }
@keyframes category-placeholder-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

.clients--prototype { width: 100%; display: block; padding: 112px 40px 160px; border: 0; background: var(--surface); color: var(--ink); }
.clients__visual-placeholder { width: min(607px, 46vw); aspect-ratio: 607 / 425; background: #D9D9D7; border: 1px solid rgba(36,35,33,.08); }
.clients__content { width: min(740px, 66vw); margin-top: 88px; }
.clients--prototype h2 { margin: 0; font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: clamp(38px, 3.48vw, 50px); font-weight: 400; line-height: 1; letter-spacing: 0; }
.clients__tagline { margin: 18px 0 0; font-family: "Montserrat", sans-serif; font-size: clamp(15px, 1.8vw, 26px); font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.clients--prototype .clients__links { display: grid; justify-items: start; margin-top: 28px; font-family: "Montserrat", sans-serif; }
.clients--prototype .clients__links p { max-width: 700px; margin: 0 0 25px; font-size: 15px; font-weight: 400; line-height: 1.45; }
.clients--prototype .clients__links a { margin-bottom: 12px; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.25; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .showcase__carousel { height: 625px; }
  .showcase__rail { width: 1370px; grid-template-columns: 220px 270px 340px 270px 220px; gap: 12px; }
  .showcase--prototype .product-card--slot-0 .product-card__image,
  .showcase--prototype .product-card--slot-4 .product-card__image { height: 260px; }
  .showcase--prototype .product-card--slot-1 .product-card__image,
  .showcase--prototype .product-card--slot-3 .product-card__image { height: 350px; }
  .showcase--prototype .product-card--slot-2 .product-card__image { height: 440px; }
  .showcase__arrow--prev { left: calc(50% - 236px); }
  .showcase__arrow--next { right: calc(50% - 236px); }
  .category-explorer__placeholder--primary { right: 1%; width: 220px; height: 270px; }
  .category-explorer__placeholder--secondary { left: 1%; }
}

@media (max-width: 767px) {
  .showcase--prototype { min-height: 700px; padding: 72px 16px 46px; }
  .showcase__heading { display: block; }
  .showcase__heading h2 { font-size: 33px; }
  .showcase__heading p { margin-top: 12px; font-size: 12px; }
  .showcase__all-link { display: inline-block; margin-top: 20px; font-size: 10px; }
  .showcase__carousel { height: 485px; margin: 24px -16px 0; }
  .showcase__rail { top: 12px; width: 1096px; grid-template-columns: 180px 218px 276px 218px 180px; gap: 6px; }
  .showcase--prototype .product-card--slot-0 .product-card__image,
  .showcase--prototype .product-card--slot-4 .product-card__image { height: 215px; }
  .showcase--prototype .product-card--slot-1 .product-card__image,
  .showcase--prototype .product-card--slot-3 .product-card__image { height: 285px; }
  .showcase--prototype .product-card--slot-2 .product-card__image { height: 348px; }
  .showcase--prototype .product-card h3,
  .showcase--prototype .product-card__line p { font-size: 11px; }
  .showcase--prototype .product-card__color { font-size: 9px; }
  .showcase__arrow { top: 174px; width: 42px; }
  .showcase__arrow--prev { left: calc(50% - 184px); }
  .showcase__arrow--next { right: calc(50% - 184px); }
  .showcase__arrow span { width: 32px; background-size: 32px 7px; }
  .category-explorer { min-height: 650px; padding: 48px 16px 36px; }
  .category-explorer__link { font-size: 10px; }
  .category-explorer__stage { min-height: 540px; margin-top: 20px; }
  .category-explorer__list { width: 100%; min-height: 470px; }
  .category-explorer__item { padding: 8px 4px; font-size: 18px; line-height: 1.12; }
  .category-explorer__item:hover, .category-explorer__item:focus-visible, .category-explorer__item.is-active { font-size: 25px; }
  .category-explorer__placeholder--primary { top: 18px; right: -36px; width: 128px; height: 170px; }
  .category-explorer__placeholder--secondary { left: -24px; bottom: 26px; width: 112px; height: 82px; }
  .clients--prototype { padding: 82px 16px 100px; }
  .clients__visual-placeholder { width: 100%; max-width: 607px; }
  .clients__content { width: 100%; margin-top: 54px; }
  .clients--prototype h2 { font-size: 34px; }
  .clients__tagline { margin-top: 14px; font-size: 15px; }
  .clients--prototype .clients__links { margin-top: 22px; }
  .clients--prototype .clients__links p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase--prototype *, .category-explorer *, .clients--prototype * { transition: none !important; animation: none !important; }
  .category-explorer__placeholder { opacity: 1; }
}


/* Online showcase carousel mechanics. */
.showcase__rail { gap: 20px; cursor: grab; touch-action: pan-y; user-select: none; will-change: transform; }
.showcase__rail.is-dragging { cursor: grabbing; }
.showcase--prototype .product-card { cursor: pointer; will-change: transform; }
.showcase--prototype .product-card__image { transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .42s cubic-bezier(.22,1,.36,1); }
.showcase--prototype .product-card:not(.is-active):active .product-card__image { transform: scale(.985); opacity: .88; }
.showcase__arrow { top: 256px; width: 40px; height: 40px; }
.showcase__arrow--prev { left: calc(50% - 260px); }
.showcase__arrow--next { right: calc(50% - 260px); }
.showcase__arrow span { width: 20px; height: 6px; background-size: 20px 4px; }
@media (max-width: 900px) {
  .showcase__rail { width: 1400px; gap: 20px; }
  .showcase__arrow { top: 228px; }
  .showcase__arrow--prev { left: calc(50% - 230px); }
  .showcase__arrow--next { right: calc(50% - 230px); }
}
@media (max-width: 767px) {
  .showcase__rail { width: 1152px; gap: 20px; }
  .showcase__arrow { top: 166px; width: 40px; height: 40px; }
  .showcase__arrow--prev { left: calc(50% - 198px); }
  .showcase__arrow--next { right: calc(50% - 198px); }
  .showcase__arrow span { width: 20px; height: 6px; background-size: 20px 4px; }
}

/* Mobile carousel framing: keep the adjacent bouquets visible on first view. */
@media (max-width: 767px) {
  .showcase__rail { width: 1000px; grid-template-columns: 150px 190px 240px 190px 150px; }
  .showcase--prototype .product-card--slot-0 .product-card__image,
  .showcase--prototype .product-card--slot-1 .product-card__image,
  .showcase--prototype .product-card--slot-2 .product-card__image,
  .showcase--prototype .product-card--slot-3 .product-card__image,
  .showcase--prototype .product-card--slot-4 .product-card__image { height: auto; aspect-ratio: 3 / 4; }
  .showcase__arrow { top: 152px; }
  .showcase__arrow--prev { left: calc(50% - 180px); }
  .showcase__arrow--next { right: calc(50% - 180px); }
}

/* Carousel controls sit visually in the 20px card gaps on desktop. */
.showcase__arrow--prev { left: calc(50% - 230px); }
.showcase__arrow--next { right: calc(50% - 230px); }
@media (max-width: 900px) {
  .showcase__arrow--prev { left: calc(50% - 200px); }
  .showcase__arrow--next { right: calc(50% - 200px); }
}
@media (max-width: 767px) {
  .showcase__arrow { display: none; }
}

/* Desktop 3:4 cards with true 20px arrow clearances. */
@media (min-width: 901px) {
  .showcase__rail {
    --showcase-side-offset: 39px;
    --showcase-outer-offset: 67px;
    width: 1534px;
    grid-template-columns: 230px 272px 40px 330px 40px 272px 230px;
    gap: 20px;
  }
  .showcase--prototype .product-card--slot-0 { grid-column: 1; }
  .showcase--prototype .product-card--slot-1 { grid-column: 2; }
  .showcase--prototype .product-card--slot-2 { grid-column: 4; }
  .showcase--prototype .product-card--slot-3 { grid-column: 6; }
  .showcase--prototype .product-card--slot-4 { grid-column: 7; }
  .showcase--prototype .product-card--slot-0 .product-card__image,
  .showcase--prototype .product-card--slot-1 .product-card__image,
  .showcase--prototype .product-card--slot-2 .product-card__image,
  .showcase--prototype .product-card--slot-3 .product-card__image,
  .showcase--prototype .product-card--slot-4 .product-card__image { height: auto; aspect-ratio: 3 / 4; }
  .showcase__arrow { top: 228px; }
  .showcase__arrow--prev { left: calc(50% - 225px); }
  .showcase__arrow--next { right: calc(50% - 225px); }
}
@media (min-width: 768px) and (max-width: 900px) {
  .showcase__rail {
    --showcase-side-offset: 37px;
    --showcase-outer-offset: 63px;
    width: 1248px;
    grid-template-columns: 175px 214px 40px 270px 40px 214px 175px;
    gap: 20px;
  }
  .showcase--prototype .product-card--slot-0 { grid-column: 1; }
  .showcase--prototype .product-card--slot-1 { grid-column: 2; }
  .showcase--prototype .product-card--slot-2 { grid-column: 4; }
  .showcase--prototype .product-card--slot-3 { grid-column: 6; }
  .showcase--prototype .product-card--slot-4 { grid-column: 7; }
  .showcase--prototype .product-card--slot-0 .product-card__image,
  .showcase--prototype .product-card--slot-1 .product-card__image,
  .showcase--prototype .product-card--slot-2 .product-card__image,
  .showcase--prototype .product-card--slot-3 .product-card__image,
  .showcase--prototype .product-card--slot-4 .product-card__image { height: auto; aspect-ratio: 3 / 4; }
  .showcase__arrow { top: 188px; }
  .showcase__arrow--prev { left: calc(50% - 195px); }
  .showcase__arrow--next { right: calc(50% - 195px); }
}

/* Popular bouquets: the same product-card language as the online showcase. */
.popular-bouquets { width: 100%; padding: 112px 40px 120px; overflow: hidden; background: var(--surface); color: var(--ink); }
.popular-bouquets__heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.popular-bouquets h2 { margin: 0; font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: clamp(38px, 3.65vw, 52px); font-weight: 400; line-height: 1.08; }
.popular-bouquets__all-link { margin-bottom: 5px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 500; line-height: 1.3; text-transform: uppercase; text-decoration: none; }
.popular-bouquets__all-link::after { content: ""; display: block; width: 0; height: 1px; margin-top: 6px; background: linear-gradient(90deg, #8f98a3, #f8fafb, #8f98a3); transition: width .42s cubic-bezier(.16,1,.3,1); }
.popular-bouquets__all-link:hover::after, .popular-bouquets__all-link:focus-visible::after { width: 100%; }
.popular-bouquets__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; margin-top: 38px; }
.popular-bouquets__card { min-width: 0; }
.popular-bouquets .product-card__image { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); background: #d9d9d7; }
.popular-bouquets .product-card__placeholder::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 46%, rgba(36,35,33,.025)); }
.popular-bouquets .favorite-button { position: absolute; z-index: 2; top: 18px; right: 18px; width: 24px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; opacity: 1; transition: transform .22s ease; }
.popular-bouquets .favorite-button img { width: 19px; height: 24px; object-fit: contain; transition: filter .22s ease; }
.popular-bouquets .favorite-button.is-selected img { filter: brightness(.25); }
.popular-bouquets .favorite-button:active { transform: scale(.94); }
.popular-bouquets .product-card__meta { padding: 10px 0 0; color: var(--ink); font-family: "Montserrat", sans-serif; text-transform: uppercase; }
.popular-bouquets .product-card__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 18px;
}
.popular-bouquets .product-card h3, .popular-bouquets .product-card__line p { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.1; }
.popular-bouquets .product-card h3 {
  min-width: 0;
  min-height: 2.2em;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.popular-bouquets .product-card__line p {
  justify-self: end;
  white-space: nowrap;
}
.popular-bouquets .product-card__color { margin: 4px 0 0; font-size: 11px; font-weight: 400; letter-spacing: .08em; line-height: 1.5; text-transform: lowercase; }
.popular-bouquets .favorite-button:focus-visible, .popular-bouquets__all-link:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
@media (max-width: 1100px) and (min-width: 768px) {
  .popular-bouquets__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .popular-bouquets { padding: 36px 16px 40px; }
  .popular-bouquets__heading { display: block; }
  .popular-bouquets h2 { font-size: 33px; }
  .popular-bouquets__all-link { display: inline-block; margin-top: 20px; font-size: 10px; }
  .popular-bouquets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; margin-top: 24px; }
  .popular-bouquets .favorite-button { top: 12px; right: 12px; transform: scale(.84); transform-origin: top right; }
  .popular-bouquets .product-card h3, .popular-bouquets .product-card__line p { font-size: 11px; }
  .popular-bouquets .product-card__color { font-size: 9px; }
  .popular-bouquets .product-card__line { gap: 8px; }
}

/* Catalogue category switcher based on the saved catalogue frame. */
.category-explorer { min-height: 0; padding: 88px 40px 96px; background: #FBFAF7; }
.category-explorer__layout { position: relative; }
.category-explorer__list { position: relative; z-index: 1; width: 100%; min-height: 0; display: block; margin: 0; }
.category-explorer__item { min-height: 106px; display: flex; align-items: center; gap: 14px; padding: 22px 340px 22px 0; border-top: 1px solid rgba(36,35,33,.18); color: rgba(36,35,33,.2); font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: clamp(28px, 3.48vw, 50px); font-weight: 400; line-height: 1.02; text-align: left; text-transform: uppercase; transition: color .28s ease; }
.category-explorer__item:last-child { border-bottom: 1px solid rgba(36,35,33,.18); }
.category-explorer__item-label { display: block; max-width: min(720px, 100%); }
.category-explorer__item-count { align-self: flex-start; margin-top: .12em; color: inherit; font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .02em; }
.category-explorer__item:hover, .category-explorer__item:focus-visible, .category-explorer__item.is-active { color: var(--ink); font-size: clamp(28px, 3.48vw, 50px); transform: none; }
.category-explorer__photo-stage { position: absolute; z-index: 2; top: 52px; right: 0; width: min(280px, 21vw); aspect-ratio: 1 / 1; overflow: hidden; background: #d9d9d7; border: 1px solid rgba(36,35,33,.12); pointer-events: none; }
.category-explorer__photo-stage img { width: 100%; height: 100%; object-fit: cover; }
.category-explorer__cta { min-width: 324px; min-height: 60px; display: inline-flex; align-items: center; justify-content: center; margin-top: 48px; padding: 16px 30px; background: var(--ink); color: var(--surface); font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .04em; transition: background-color .25s ease, transform .25s ease; }
.category-explorer__cta:hover { background: #3a3936; transform: translateY(-2px); }
.category-explorer__cta:active { transform: scale(.985); }
.category-explorer__cta:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
@media (max-width: 767px) {
  .category-explorer { padding: 32px 16px 36px; }
  .category-explorer__item { min-height: 72px; gap: 8px; padding: 15px 0; font-size: clamp(23px, 7.2vw, 30px); line-height: 1.04; }
  .category-explorer__item:hover, .category-explorer__item:focus-visible, .category-explorer__item.is-active { font-size: clamp(23px, 7.2vw, 30px); }
  .category-explorer__item-label { max-width: 15ch; }
  .category-explorer__item-count { margin-top: .25em; font-size: 10px; }
  .category-explorer__photo-stage { position: relative; top: auto; right: auto; width: 100%; aspect-ratio: 1.75 / 1; margin-top: 28px; }
  .category-explorer__cta { width: 100%; min-width: 0; margin-top: 28px; font-size: 12px; }
}

/* Catalogue action aligns with the right edge of the final category row. */
@media (min-width: 768px) {
  .mega-menu__row-label { font-size: 44px; }
  .category-explorer__cta { display: flex; width: 324px; margin-left: 0; }
  .category-explorer__photo-stage {
    top: var(--catalog-photo-top, 0px);
    transition: top .42s cubic-bezier(.16, 1, .3, 1);
  }
}

/* Wide-screen heading scale, excluding the hero. */
@media (min-width: 768px) {
  .showcase__heading h2,
  .popular-bouquets h2,
  .clients--prototype h2,
  .section-heading h2,
  .clients h2,
  .custom-order h2,
  .about__title h2 { font-size: clamp(34px, 3.06vw, 44px); }
  .category-explorer__item,
  .category-explorer__item:hover,
  .category-explorer__item:focus-visible,
  .category-explorer__item.is-active { font-size: clamp(28px, 3.06vw, 44px); }
}


/* Individual bouquet request: restrained editorial form in the AUGUST system. */
.custom-order__intro { max-width: 980px; margin-left: auto; margin-right: auto; }
.custom-order__eyebrow { margin: 0 0 14px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.35; letter-spacing: .015em; text-transform: uppercase; }
.custom-order h2 { color: var(--ink); font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: clamp(32px, 3.06vw, 44px); font-weight: 400; line-height: 1.2; letter-spacing: 0; text-transform: uppercase; }
.request-form { font-family: "Montserrat", sans-serif; gap: 24px; }
.request-form__lead { max-width: 430px; margin: 0 0 12px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 500; line-height: 1.38; letter-spacing: .01em; text-transform: uppercase; }
.request-form .form-field { display: grid; gap: 10px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 400; line-height: 1.25; }
.request-form .form-field input, .request-form .form-field textarea { padding: 12px 0 11px; border-bottom-color: rgba(36,35,33,.35); }
.contact-method { margin: 0; padding: 0; border: 0; }
.contact-method legend { margin: 0 0 12px; padding: 0; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 400; line-height: 1.25; }
.contact-method__options { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-method__options label { position: relative; display: inline-flex; }
.contact-method__options input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.contact-method__options span { display: inline-flex; min-height: 34px; align-items: center; border: 1px solid rgba(36,35,33,.35); padding: 8px 13px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 12px; line-height: 1; cursor: pointer; transition: border-color .22s ease, background-color .22s ease, color .22s ease; }
.contact-method__options input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.contact-method__options input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.request-form label.file-field { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 10px; border-bottom: 0; padding: 0 0 12px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 13px; cursor: pointer; }
.request-form .file-field::before { content: "+"; font-size: 18px; font-weight: 400; line-height: .8; }
.request-form .file-field input { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; opacity: 0; }
.consent-copy { max-width: 410px; margin: -4px 0 0; color: rgba(36,35,33,.7); font-family: "Montserrat", sans-serif; font-size: 10px; line-height: 1.45; }
.consent-copy a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.request-form .button { width: 100%; max-width: 300px; }
.request-form__submit { display: grid; gap: 12px; margin-top: 40px; }
.request-form__submit .button { margin: 0; }
.request-form__submit .consent { max-width: 410px; }
.request-form__submit .form-status { margin: 0; }
@media (max-width: 767px) {
  .custom-order__intro { margin-bottom: 40px; }
  .custom-order__eyebrow, .request-form__lead { font-size: 12px; }
  .custom-order h2 { font-size: clamp(28px, 8vw, 36px); }
  .request-form { gap: 21px; }
  .request-form__submit { margin-top: 43px; }
}

@media (max-width: 767px) { .custom-order h2 br { display: block; } }

@media (min-width: 768px) {
  .custom-order__body { height: clamp(560px, 68dvh, 680px); align-items: stretch; }
  .custom-order__body > img { height: 100%; min-height: 0; object-fit: cover; }
  .request-form { align-self: stretch; justify-content: flex-start; }
}


/* About AUGUST: the established three-part composition with factual brand proof. */
.about { max-width: none; margin: 0; padding: 128px 40px; background: #FBFAF7; }
.about__title { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.about__title h2 { color: var(--ink); font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: 40px; font-weight: 400; line-height: 1.16; letter-spacing: 0; text-transform: uppercase; }
.about__stats { display: grid; gap: 0; margin: 48px 0 0; }
.about__stats > div { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 14px; align-items: baseline; border-top: 1px solid rgba(36,35,33,.28); padding: 12px 0; }
.about__stats > div:last-child { border-bottom: 1px solid rgba(36,35,33,.28); }
.about__stats dt, .about__stats dd { margin: 0; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 400; line-height: 1.25; }
.about__stats dt { white-space: nowrap; font-weight: 600; }
.about__stats b { font-weight: 600; }
.about__stats dd { text-transform: uppercase; }
.about__copy { align-self: stretch; display: flex; flex-direction: column; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 400; line-height: 1.45; }
.about__copy .about__eyebrow + p { margin-top: auto; }
.about__copy p { margin: 0 0 24px; }
.about__copy .about__eyebrow { margin: 0 0 38px; font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; }
@media (min-width: 768px) {
  .about__stats { grid-template-columns: max-content minmax(0, 1fr); }
  .about__stats > div { grid-column: 1 / -1; grid-template-columns: subgrid; }
  .about__copy p:last-child { margin-bottom: 0; }
}
@media (max-width: 767px) {
  .about { padding: 72px 16px; }
  .about__title { gap: 42px; }
  .about__title h2 { font-size: 32px; }
  .about__stats { margin: 0; }
  .about__stats > div { grid-template-columns: minmax(78px, auto) 1fr; gap: 10px; }
  .about__stats dt, .about__stats dd, .about__copy, .about__copy .about__eyebrow { font-size: 16px; }
  .about__copy .about__eyebrow { margin-bottom: 24px; }
}


/* Delivery: clear packaging guidance using AUGUST editorial type. */
.delivery { max-width: none; margin: 0; padding: 128px 40px; }
.delivery .section-heading { align-items: end; margin-bottom: 44px; }
.delivery .section-heading h2 { margin: 0 0 16px; color: var(--ink); font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: 44px; font-weight: 400; line-height: 1.08; letter-spacing: 0; }
.delivery .section-heading p { max-width: 560px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 400; line-height: 1.35; text-transform: uppercase; }
.delivery-grid { gap: 20px; }
.delivery-grid article { display: grid; grid-template-rows: auto auto; align-content: start; border-top: 1px solid rgba(36,35,33,.28); padding-top: 12px; }
.delivery-grid article img { filter: none; }
.delivery-grid h3 { margin: 16px 0 7px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 500; line-height: 1.25; text-transform: uppercase; }
.delivery-grid p, .delivery__note { color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.4; text-transform: uppercase; }
.delivery__note { margin: 28px 0 0; border-top: 1px solid rgba(36,35,33,.28); padding-top: 14px; }
.text-link, .showcase__all-link, .popular-bouquets__all-link, .category-explorer__link { display: inline-block; border-bottom: 0; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.3; letter-spacing: .01em; text-decoration: none; text-transform: uppercase; transition: font-weight .18s ease; }
.text-link:hover, .text-link:focus-visible, .showcase__all-link:hover, .showcase__all-link:focus-visible, .popular-bouquets__all-link:hover, .popular-bouquets__all-link:focus-visible, .category-explorer__link:hover, .category-explorer__link:focus-visible { font-weight: 700; }
.showcase__all-link::after, .category-explorer__link::after, .popular-bouquets__all-link::after { display: none; }
@media (max-width: 767px) {
  .delivery { padding: 72px 16px; }
  .delivery .section-heading h2 { font-size: 32px; }
  .delivery .section-heading p, .delivery-grid h3 { font-size: 16px; }
  .delivery-grid p, .delivery__note, .text-link, .showcase__all-link, .popular-bouquets__all-link, .category-explorer__link { font-size: 12px; }
}


/* Product markers: quiet at rest, decisive when saved. */
.product-card__badge, .showcase--prototype .product-card__badge {
  border: 1.5px solid var(--ink);
  background: #FBFAF7;
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.favorite-button__icon { display: block; width: 19px; height: 22px; background: url("assets/icons/bookmark.svg?v=130") center / contain no-repeat; transition: transform .2s ease; }
.favorite-button__icon::after { display: none; }
.favorite-button.is-selected .favorite-button__icon { background: var(--ink); -webkit-mask: url("assets/icons/bookmark.svg?v=130") center / contain no-repeat; mask: url("assets/icons/bookmark.svg?v=130") center / contain no-repeat; }
.favorite-button:hover .favorite-button__icon { transform: translateY(-1px); }
.showcase--prototype .favorite-button img, .popular-bouquets .favorite-button img { display: none; }


/* Black pearlescent rails replace the previous silver treatment. */
:root { --pearl-black: linear-gradient(90deg, #242321 0%, #4c4a47 18%, #11100f 38%, #5a5854 58%, #1b1a19 78%, #242321 100%); }
.button--light:hover, .button--light:focus-visible { background: var(--ink); color: var(--surface); }
.button--light:hover .button--light__border, .button--light:focus-visible .button--light__border { opacity: 0; }
.price-nav::before, .price-nav a::before, .mega-menu__primary a::after, .mega-menu__row::after { background: var(--pearl-black); box-shadow: inset 0 1px 0 rgba(236,236,236,.2); }


/* Carousel arrows share the 2px category-rail weight. */
.showcase__arrow span { position: relative; width: 40px; height: 12px; background: none; }
.showcase__arrow span::before { content: ""; position: absolute; top: 5px; left: 0; width: 40px; height: 2px; background: var(--pearl-black); }
.showcase__arrow span::after { content: ""; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }


/* Client guidance: full-width utility navigation in the AUGUST system. */
.clients--prototype { padding: 128px 40px; background: var(--surface); }
.clients__content { width: 100%; margin-top: 0; }
.clients--prototype h2 { color: var(--ink); font-family: "Radiotechnika", "Montserrat", sans-serif; font-size: 44px; font-weight: 400; line-height: 1.08; letter-spacing: 0; }
.clients__tagline { color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 400; line-height: 1.35; text-transform: uppercase; }
.clients--prototype .clients__links { display: grid; width: 100%; margin-top: 48px; font-family: "Montserrat", sans-serif; }
.clients--prototype .clients__links > p { max-width: 700px; margin: 0 0 32px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 400; line-height: 1.45; }
.clients--prototype .clients__links .clients__link-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 72px; margin: 0; border-top: 1px solid rgba(36,35,33,.28); color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 400; line-height: 1.25; letter-spacing: .01em; text-decoration: none; text-transform: uppercase; }
.clients--prototype .clients__links .clients__link-row:last-child { border-bottom: 1px solid rgba(36,35,33,.28); }
.clients__link-arrow, .mega-menu__row-arrow { position: relative; width: 40px; height: 12px; background: none; font-size: 0; }
.clients__link-arrow::before, .mega-menu__row-arrow::before { content: ""; position: absolute; top: 5px; left: 0; width: 40px; height: 2px; background: var(--pearl-black); }
.clients__link-arrow::after, .mega-menu__row-arrow::after { content: ""; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
@media (max-width: 767px) {
  .clients--prototype { padding: 72px 16px 90px; }
  .clients__content { margin-top: 0; }
  .clients--prototype h2 { font-size: 32px; }
  .clients__tagline, .clients--prototype .clients__links > p, .clients--prototype .clients__links .clients__link-row { font-size: 16px; }
  .clients--prototype .clients__links { margin-top: 32px; }
  .clients--prototype .clients__links .clients__link-row { min-height: 64px; }
}


/* Footer: readable final navigation above the fixed category rail. */
footer { min-height: 0; display: block; padding: 80px 40px calc(109px + 88px); border-top: 1px solid rgba(36,35,33,.28); background: #FBFAF7; color: var(--ink); text-align: left; }
.footer-logo { display: block; width: min(560px, 42vw); margin: 0 auto 80px; color: var(--ink); }
.footer-logo img { display: block; width: 100%; height: auto; filter: brightness(0) saturate(100%) invert(12%) sepia(6%) saturate(443%) hue-rotate(357deg) brightness(96%) contrast(91%); }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid rgba(36,35,33,.28); padding-top: 22px; }
.footer__column { display: grid; align-content: start; gap: 11px; }
.footer__label { margin: 0 0 14px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; }
.footer__column a, .footer__column > p:not(.footer__label) { color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.4; text-decoration: none; text-transform: uppercase; transition: font-weight .18s ease; }
.footer__column a:hover, .footer__column a:focus-visible { font-weight: 700; }
.footer__contacts { justify-items: center; text-align: center; }
.footer__legal { justify-items: end; text-align: right; }
.footer__copyright { margin: 68px 0 0; border-top: 1px solid rgba(36,35,33,.28); padding-top: 14px; color: rgba(36,35,33,.65); font-family: "Montserrat", sans-serif; font-size: 11px; font-weight: 400; line-height: 1.25; text-transform: uppercase; }
.footer__credit { display: inline-flex; width: max-content; margin-top: 32px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 11px; font-weight: 500; line-height: 1.25; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
.footer__credit:hover, .footer__credit:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  footer { padding: 64px 16px calc(96px + 64px); }
  .footer-logo { width: min(260px, 74vw); margin-bottom: 56px; }
  .footer__grid { grid-template-columns: 1fr; gap: 38px; }
  .footer__contacts, .footer__legal { justify-items: start; text-align: left; }
  .footer__grid, .footer__column, .footer__copyright, .footer__credit { justify-items: start; text-align: left; }
  .footer__credit { margin-top: 40px; font-size: 10px; }
  .footer__copyright { margin-top: 48px; }
}


/* AUGUST vertical rhythm: desktop 164 / 48 / 32; mobile stays on the 8px scale. */
:root { --section-space: 164px; --section-color-split: 82px; --heading-to-subtitle: 20px; --heading-to-content: 64px; }
@media (min-width: 768px) {
  .showcase--prototype, .popular-bouquets, .category-explorer, .custom-order, .about, .delivery, .clients--prototype { padding-top: 0; padding-bottom: 0; }
  .showcase__heading p, .clients__tagline { margin-top: var(--heading-to-subtitle); }
  .showcase__carousel, .popular-bouquets__grid { margin-top: var(--heading-to-content); }
  .custom-order__intro { margin-bottom: var(--heading-to-content); }
  .delivery .section-heading { margin-bottom: var(--heading-to-content); }
  .delivery .section-heading h2 { margin-bottom: var(--heading-to-subtitle); }
  .clients--prototype .clients__links { margin-top: var(--heading-to-content); }
}
@media (max-width: 767px) {
  .showcase--prototype { padding: 36px 16px; }
  .popular-bouquets { padding: 36px 16px 40px; }
  .category-explorer { padding: 32px 16px 36px; }
  .custom-order { padding: 36px 16px; }
  .about, .delivery { padding: 36px 16px; }
  .clients--prototype { padding: 36px 16px 44px; }
  .showcase__heading p, .clients__tagline { margin-top: 32px; }
  .showcase__carousel, .popular-bouquets__grid, .clients--prototype .clients__links { margin-top: 48px; }
  .custom-order__intro, .delivery .section-heading { margin-bottom: 48px; }
  .delivery .section-heading h2 { margin-bottom: 32px; }
}


/* Mobile type scale and four-tab price navigation. */
.price-nav__label--mobile { display: none; }
@media (max-width: 767px) {
  .showcase__heading h2, .popular-bouquets h2, .custom-order h2, .about__title h2, .delivery .section-heading h2, .clients--prototype h2 { font-size: 26px; }
  .showcase__heading p, .clients__tagline, .delivery .section-heading p, .request-form__lead, .about__copy .about__eyebrow { font-size: 12px; line-height: 1.35; text-transform: uppercase; }
  .footer__label { font-size: 10px; line-height: 1.35; text-transform: uppercase; }
  .text-link, .showcase__all-link, .popular-bouquets__all-link, .category-explorer__link, .clients--prototype .clients__links .clients__link-row, .footer__column a { font-size: 10px; text-transform: uppercase; }
  .about__copy, .about__stats dt, .about__stats dd, .delivery-grid p, .delivery__note, .clients--prototype .clients__links > p, .footer__column > p:not(.footer__label), .request-form .form-field, .contact-method legend, .contact-method__options span, .consent-copy { font-size: 12px; }
  .price-nav-dock { background: rgba(236,236,236,.98); box-shadow: 0 -10px 26px rgba(36,35,33,.12); }
  .price-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; scroll-snap-type: none; border-left: 1px solid rgba(36,35,33,.28); }
  .price-nav a { min-width: 0; min-height: 80px; padding: 10px 3px; gap: 0; scroll-snap-align: none; border-right-color: rgba(36,35,33,.28); border-bottom: 0; }
  .price-nav strong { color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 10px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
  .price-nav small, .price-nav__label--desktop { display: none; }
  .price-nav__label--mobile { display: inline; }
  .price-nav-dock.is-fixed .price-nav { padding-bottom: env(safe-area-inset-bottom); }
  .price-nav-spacer.is-active { height: calc(80px + env(safe-area-inset-bottom)); }
}

/* Desktop rhythm: 164px between sections. At a colour transition each section holds 82px of its own colour. */
@media (min-width: 768px) {
  .showcase--prototype { margin-top: calc(var(--section-space) - 109px); }
  .showcase--prototype + .popular-bouquets,
  .delivery + .clients--prototype {
    margin-top: var(--section-space);
  }

  .popular-bouquets { padding-bottom: var(--section-color-split); }
  .category-explorer,
  .custom-order,
  .about {
    padding-top: var(--section-color-split);
    padding-bottom: var(--section-color-split);
  }
  .delivery { padding-top: var(--section-color-split); }
  .clients--prototype { padding-bottom: var(--section-color-split); }
  footer { padding-top: var(--section-color-split); }
}


/* Mobile title scale: compact without changing the desktop system. */
@media (max-width: 767px) {
  .showcase__heading h2,
  .popular-bouquets h2,
  .custom-order h2,
  .about__title h2,
  .delivery .section-heading h2,
  .clients--prototype h2,
  .mega-menu__row-label,
  .category-explorer__item,
  .category-explorer__item:hover,
  .category-explorer__item:focus-visible,
  .category-explorer__item.is-active {
    font-size: 22px;
  }
}


/* Mobile-only title for the individual order section. */
.custom-order__title-mobile { display: none; }
@media (max-width: 767px) {
  .custom-order__title-desktop { display: none; }
  .custom-order__title-mobile { display: inline; }
}


/* Online showcase ends at the card baseline; the following 164px is the only section gap. */
@media (min-width: 768px) {
  .showcase--prototype { min-height: 0; }
  .showcase__carousel { height: 625px; }
}
@media (min-width: 901px) {
  .showcase__carousel { height: 690px; }
}


/* Align every side image to the centre of the active image, not its caption. */
@media (min-width: 768px) {
  .showcase__rail { align-items: start; }
  .showcase--prototype .product-card--slot-0,
  .showcase--prototype .product-card--slot-4 { transform: translateY(var(--showcase-outer-offset)); }
  .showcase--prototype .product-card--slot-1,
  .showcase--prototype .product-card--slot-3 { transform: translateY(var(--showcase-side-offset)); }
  .showcase--prototype .product-card--slot-2 { transform: translateY(0); }
}


/* Compact mobile product metadata: keep every price on one line. */
@media (max-width: 767px) {
  .showcase--prototype .product-card h3,
  .popular-bouquets .product-card h3 {
    font-size: 10px;
    font-weight: 500;
  }
  .showcase--prototype .product-card__line p,
  .popular-bouquets .product-card__line p {
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
  }
}


/* Footer wordmark stays balanced inside narrow mobile viewports. */
@media (max-width: 767px) {
  .footer-logo {
    max-width: 100%;
    margin-bottom: 40px;
    font-size: clamp(42px, 13vw, 52px);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }
}


/* Compact mobile header: burger, centred wordmark, account, saved, cart. */
@media (max-width: 767px) {
  .menu-button {
    width: 40px;
    height: 44px;
    justify-content: flex-start;
    padding: 0;
  }
  .menu-button span { display: none; }
  .menu-button img { width: 20px; height: 20px; }
  .header-actions { gap: 0; }
  .header-actions button {
    width: 38px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
  }
  .header-actions img { height: 17px; max-width: 20px; }
  .header-actions button:nth-child(1) { order: 2; }
  .header-actions button:nth-child(2) { order: 3; }
  .header-actions button:nth-child(3) { order: 1; }
  .cart-count, .saved-count { right: 1px; top: 5px; }
}


/* Place the account action below the mobile menu content. */
@media (max-width: 767px) {
  .mega-menu__account {
    position: fixed;
    z-index: 6;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    min-height: 48px;
    justify-content: center;
    padding: 0 16px;
    background: var(--august-surface);
    font-size: 10px;
    white-space: nowrap;
  }
  .mega-menu__rows { padding-bottom: 104px; }
}


/* One mobile heading rhythm across AUGUST. */
@media (max-width: 767px) {
  .showcase__heading h2,
  .popular-bouquets h2,
  .custom-order h2,
  .about__title h2,
  .delivery .section-heading h2,
  .clients--prototype h2,
  .mega-menu__row-label,
  .category-explorer__item {
    line-height: 1.15;
  }
}


/* Mobile rhythm: 80px between same-colour blocks, split 40px + 40px at colour transitions. */
@media (max-width: 767px) {
  :root { --mobile-section-space: 80px; --mobile-colour-split: 40px; }

  .showcase--prototype {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  .showcase__carousel { height: 490px; }

  .popular-bouquets {
    margin-top: var(--mobile-section-space);
    padding-top: 0;
    padding-bottom: var(--mobile-colour-split);
  }
  .category-explorer,
  .custom-order,
  .about {
    min-height: 0;
    padding-top: var(--mobile-colour-split);
    padding-bottom: var(--mobile-colour-split);
  }
  .category-explorer__stage { min-height: 0; }
  .delivery {
    padding-top: var(--mobile-colour-split);
    padding-bottom: 0;
  }
  .clients--prototype {
    margin-top: var(--mobile-section-space);
    padding-top: 0;
    padding-bottom: var(--mobile-colour-split);
  }
  footer { padding-top: var(--mobile-colour-split); }
}


/* Mobile header visual spacing with preserved touch targets. */
@media (max-width: 767px) {
  .menu-button img { width: 20px; height: 20px; }
  .header-actions { gap: 16px; }
  .header-actions button {
    width: 20px;
    height: 44px;
    overflow: visible;
  }
  .header-actions button::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -8px;
    right: -8px;
  }
  .cart-count, .saved-count { z-index: 1; }
}


/* Mobile brand aligns to the burger with a 16px interval. */
@media (max-width: 767px) {
  .site-header {
    grid-template-columns: 40px auto 1fr;
    column-gap: 16px;
  }
  .header-logo-mark { justify-self: start; }
}


/* Deterministic mobile header alignment. */
@media (max-width: 767px) {
  .site-header {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .menu-button { flex: 0 0 40px; }
  .header-logo-mark { flex: 0 0 108px; margin: 0; }
  .header-actions { margin-left: auto; }
}


/* One visual baseline for every mobile header mark. */
@media (max-width: 767px) {
  .menu-button {
    position: relative;
    flex: 0 0 17px;
    width: 17px;
    height: 44px;
    overflow: visible;
  }
  .menu-button img { width: 17px; height: 17px; }
  .menu-button::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    right: -10px;
  }
}


/* Mobile price dock: app-like, sharp, and contained. */
@keyframes mobile-price-dock-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
  .price-nav-dock,
  .price-nav-dock.is-fixed {
    background: transparent;
    box-shadow: none;
    padding: 0 16px calc(12px + env(safe-area-inset-bottom));
  }
  .price-nav-dock.is-fixed { animation: mobile-price-dock-in .5s cubic-bezier(.16, 1, .3, 1) both; }
  .price-nav {
    min-height: 56px;
    border: 1px solid rgba(36,35,33,.82);
    background: rgba(236,236,236,.98);
    box-shadow: 0 8px 24px rgba(36,35,33,.14);
  }
  .price-nav::before { height: 2px; opacity: 1; transform: scaleX(1); animation: none; }
  .price-nav a {
    min-height: 54px;
    padding: 8px 2px;
    border-right-color: rgba(36,35,33,.24);
    background: transparent;
    transition: background-color .28s ease, color .28s ease;
  }
  .price-nav a:last-child { border-right: 0; }
  .price-nav a::before { display: none; }
  .price-nav a.is-selected { background: var(--ink); }
  .price-nav a.is-selected strong { color: var(--surface); }
  .price-nav-dock.is-fixed .price-nav { padding-bottom: 0; }
  .price-nav-spacer.is-active { height: calc(68px + env(safe-area-inset-bottom)); }
}


/* Scroll title reveal: restrained vertical rise for AUGUST section headings. */
.scroll-reveal-title {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 620ms cubic-bezier(.16, 1, .3, 1), transform 720ms cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
.scroll-reveal-title.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-title {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Mobile carousel: keep the active product locked to the viewport centre. */
@media (max-width: 767px) {
  .showcase__rail {
    top: 12px;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    transform: none;
  }
  .showcase--prototype .product-card { position: absolute; }
  .showcase--prototype .product-card--slot-2 {
    top: 0;
    left: 50%;
    width: 218px;
    transform: translateX(-50%);
  }
  .showcase--prototype .product-card--slot-1 {
    top: 31px;
    right: calc(50% + 115px);
    width: 172px;
  }
  .showcase--prototype .product-card--slot-3 {
    top: 31px;
    left: calc(50% + 115px);
    width: 172px;
  }
  .showcase--prototype .product-card--slot-0 {
    top: 51px;
    right: calc(50% + 293px);
    width: 142px;
  }
  .showcase--prototype .product-card--slot-4 {
    top: 51px;
    left: calc(50% + 293px);
    width: 142px;
  }
}


/* Keep the fixed desktop price rail edge-to-edge, matching its initial state. */
@media (min-width: 768px) {
  .price-nav-dock.is-fixed {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(236,236,236,.98);
    box-shadow: 0 -12px 32px rgba(55,60,66,.12);
  }
  .price-nav-dock.is-fixed .price-nav {
    overflow: hidden;
    border-top: 1px solid rgba(36,35,33,.82);
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid rgba(36,35,33,.82);
    background: rgba(236,236,236,.98);
    box-shadow: none;
  }
  .price-nav-dock.is-fixed .price-nav a {
    min-height: 109px;
    border-bottom: 0;
  }
  .price-nav-dock.is-fixed .price-nav a:last-child { border-right: 0; }
  .price-nav-spacer.is-active { height: 109px; }
}


/* Mobile clients heading pair: compact and legible. */
@media (max-width: 767px) {
  .clients__tagline {
    margin-top: 16px;
    font-weight: 500;
  }
}


/* Desktop price navigation changes from an in-flow rail to a floating dock after the showcase. */
@keyframes desktop-price-dock-in {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (min-width: 768px) {
  .price-nav-dock.is-fixed {
    animation: desktop-price-dock-in 480ms cubic-bezier(.16, 1, .3, 1) both;
  }
  .price-nav-spacer.is-active { height: 109px; }
}
@media (prefers-reduced-motion: reduce) {
  .price-nav-dock.is-fixed { animation: none; }
}


/* Unified mobile heading and subtitle rhythm. */
@media (max-width: 767px) {
  :root { --mobile-heading-subtitle-gap: 10.67px; }
  .showcase__heading p,
  .clients__tagline {
    margin-top: var(--mobile-heading-subtitle-gap);
  }
  .delivery .section-heading h2 {
    margin-bottom: var(--mobile-heading-subtitle-gap);
  }
  .showcase__heading p,
  .delivery .section-heading p,
  .clients__tagline {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
  }
}

/* Keep key commerce sections inside the desktop space between header and price dock. */
@media (min-width: 768px) and (max-height: 949px) {
  .showcase__carousel {
    height: 620px;
  }

  .showcase__rail {
    top: 12px;
    --showcase-side-offset: 34px;
    --showcase-outer-offset: 59px;
    width: 1410px;
    grid-template-columns: 209px 247px 40px 298px 40px 247px 209px;
  }

  .showcase__arrow { top: 191px; }
  .showcase__arrow--prev { left: calc(50% - 209px); }
  .showcase__arrow--next { right: calc(50% - 209px); }

  .custom-order {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .custom-order__intro { margin-bottom: 32px; }
  .custom-order h2 {
    font-size: 36px;
    line-height: 1.12;
  }
  .request-form { gap: 12px; }
  .request-form__lead { margin-bottom: 4px; }
  .request-form .form-field { gap: 6px; }
  .request-form .form-field input,
  .request-form .form-field textarea {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .contact-method legend { margin-bottom: 8px; }
  .contact-method__options span {
    min-height: 30px;
    padding: 6px 12px;
  }
  .request-form label.file-field { padding-bottom: 8px; }
  .request-form__submit { margin-top: 52px; }

  .delivery {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .delivery .section-heading { margin-bottom: 32px; }
  .delivery-grid article img {
    display: block;
    width: 100%;
    height: clamp(260px, 38dvh, 360px);
    aspect-ratio: auto;
    object-fit: cover;
  }
  .delivery-grid h3 { margin-top: 12px; }
  .delivery__note {
    margin-top: 16px;
    padding-top: 10px;
  }
}

/* Desktop refinement: retain breathing room around the request form and show delivery photography in full. */
@media (min-width: 768px) {
  .custom-order {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .delivery-grid article img {
    display: block;
    width: 100%;
    height: 500px;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }
}

/* Delivery images: full-width natural ratio, without cropping. */
@media (min-width: 768px) {
  .delivery-grid article img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: left top;
    filter: none;
  }

  .delivery-grid article:nth-child(3) img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
  }
}

/* Mobile tap states and compact, shared arrow geometry. */
.category-explorer__item-arrow { display: none; }

@media (max-width: 767px) {
  .mega-menu__row.is-previewed .mega-menu__row-description {
    opacity: 1;
    transform: translateX(0);
  }

  .mega-menu__row-arrow {
    opacity: 1;
    transform: none;
  }

  .clients__link-arrow,
  .mega-menu__row-arrow,
  .category-explorer__item-arrow {
    position: relative;
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 8px;
    background: none;
    font-size: 0;
  }

  .clients__link-arrow::before,
  .mega-menu__row-arrow::before,
  .category-explorer__item-arrow::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 24px;
    height: 1px;
    background: var(--pearl-black);
  }

  .clients__link-arrow::after,
  .mega-menu__row-arrow::after,
  .category-explorer__item-arrow::after {
    content: "";
    position: absolute;
    top: 0;
    right: 1px;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--ink);
    border-right: 1px solid var(--ink);
    transform: rotate(45deg);
  }

  .category-explorer__item {
    position: relative;
    padding-right: 40px;
  }

  .category-explorer__item-arrow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .menu-button {
    gap: 0;
  }

  .menu-button span,
  .menu-button img {
    display: none;
  }

  .menu-button::before {
    content: "";
    display: block;
    width: 16px;
    height: 13px;
    background: var(--ink);
    -webkit-mask: url("Frame%20366.svg") center / 16px 13px no-repeat;
    mask: url("Frame%20366.svg") center / 16px 13px no-repeat;
  }
}

/* Mobile header baseline and progressive category affordance. */
@media (max-width: 767px) {
  .site-header {
    align-items: center;
  }

  .menu-button {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .menu-button::before {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 0;
    right: auto;
    transform: translateY(-50%);
  }

  .header-logo-mark,
  .header-actions {
    align-self: center;
  }

  .category-explorer__item-arrow {
    display: none;
  }

  .category-explorer__item.is-tapped .category-explorer__item-arrow {
    display: block;
  }
}

/* Mobile custom-order form reads as one cohesive form group. */
@media (max-width: 767px) {
  .custom-order__body {
    row-gap: 32px;
  }

  .request-form__lead {
    margin-bottom: 0;
    font-weight: 500;
  }

  .contact-method legend {
    font-weight: 400;
    text-transform: none;
  }
}


/* Authoritative desktop section rhythm: 82px per section edge, 164px between content groups. */
@media (min-width: 768px) {
  .showcase--prototype,
  .popular-bouquets,
  .category-explorer,
  .custom-order,
  .about,
  .delivery,
  .clients--prototype {
    padding-top: var(--section-color-split);
    padding-bottom: var(--section-color-split);
  }

  /* The 109px in-flow price rail already occupies part of the first 164px interval. */
  .showcase--prototype {
    margin-top: 0;
    padding-top: calc(var(--section-space) - 109px);
  }

  .showcase--prototype + .popular-bouquets,
  .delivery + .clients--prototype {
    margin-top: 0;
  }

  footer {
    padding-top: var(--section-color-split);
    padding-bottom: calc(109px + var(--section-color-split));
  }

  /* One heading rhythm across desktop sections. */
  .showcase__heading p,
  .clients__tagline {
    margin-top: var(--heading-to-subtitle);
  }

  .showcase__carousel,
  .popular-bouquets__grid,
  .clients--prototype .clients__links {
    margin-top: var(--heading-to-content);
  }

  .custom-order__intro,
  .delivery .section-heading {
    margin-bottom: var(--heading-to-content);
  }

  .delivery .section-heading h2 {
    margin-bottom: var(--heading-to-subtitle);
  }
}



/* Desktop links align with the top edge of their section subtitles. */
@media (min-width: 768px) {
  .showcase__heading,
  .delivery .section-heading {
    align-items: flex-start;
  }

  .showcase__all-link,
  .delivery .section-heading .text-link {
    margin-top: calc(clamp(36.72px, 3.3048vw, 47.52px) + var(--heading-to-subtitle));
    margin-bottom: 0;
  }
}


/* Shared breadcrumbs and technical pages. */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 64px; padding: 0 40px; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 400; line-height: 1.3; text-transform: uppercase; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible, .breadcrumbs__current { font-weight: 500; }
.breadcrumbs [hidden] { display: none; }
.technical-document { background: var(--surface); color: var(--ink); }
.technical-page { min-height: calc(100dvh - 64px); padding-top: 40px; }
.technical-hero { display: grid; max-width: 920px; gap: 24px; padding: 0 40px 128px; font-family: "Montserrat", sans-serif; }
.technical-hero__code, .technical-hero h1, .technical-hero p { margin: 0; }
.technical-hero__code { color: var(--muted); font-size: 14px; font-weight: 500; }
.technical-hero h1 { font-size: clamp(32px, 4vw, 56px); font-weight: 500; line-height: 1.08; }
.technical-hero p { max-width: 680px; font-size: 18px; font-weight: 400; line-height: 1.5; }
.technical-hero__signature { margin-top: 16px !important; font-family: "Radiotechnika", sans-serif !important; font-size: clamp(30px, 4vw, 52px) !important; line-height: 1.1 !important; }
.technical-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.technical-hero__actions a { display: grid; min-height: 52px; place-items: center; padding: 12px 24px; border: 1px solid var(--ink); font-size: 11px; font-weight: 500; }
.technical-hero__actions a:first-child { color: var(--surface); background: var(--ink); }
.technical-page--thanks .technical-hero { width: 100%; margin-inline: auto; justify-items: center; text-align: center; }
.technical-page--thanks .technical-hero p { margin-inline: auto; }
.technical-page--thanks .technical-hero__actions { justify-content: center; }
@media (max-width: 767px) { .breadcrumbs { padding-inline: 16px; font-size: 10px; } .technical-page { min-height: calc(100dvh - 58px); } .technical-hero { gap: 20px; padding: 0 16px 80px; } .technical-hero h1 { font-size: 22px; line-height: 1.15; } .technical-hero p { font-size: 12px; } .technical-hero__actions { display: grid; } }


/* Homepage commerce actions: one sharp, monochrome pattern for showcase and popular cards. */
.showcase--prototype .product-card__actions,
.popular-bouquets .product-card__actions,
.holiday-offer .product-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  border: 1px solid var(--ink);
}
.showcase--prototype .product-card__actions button,
.showcase--prototype .product-card__actions a,
.popular-bouquets .product-card__actions button,
.popular-bouquets .product-card__actions a,
.holiday-offer .product-card__actions button,
.holiday-offer .product-card__actions a {
  min-width: 0;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px 6px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.showcase--prototype .product-card__actions > :last-child,
.popular-bouquets .product-card__actions > :last-child,
.holiday-offer .product-card__actions > :last-child { border-right: 0; }
.showcase--prototype .product-card__actions .add-button:hover,
.showcase--prototype .product-card__actions .add-button:focus-visible,
.showcase--prototype .product-card__actions .add-button.is-added,
.popular-bouquets .product-card__actions .add-button:hover,
.popular-bouquets .product-card__actions .add-button:focus-visible,
.popular-bouquets .product-card__actions .add-button.is-added,
.holiday-offer .product-card__actions .add-button:hover,
.holiday-offer .product-card__actions .add-button:focus-visible,
.holiday-offer .product-card__actions .add-button.is-added {
  background: var(--ink);
  color: var(--surface);
}
.showcase--prototype .product-card__details:hover,
.showcase--prototype .product-card__details:focus-visible,
.popular-bouquets .product-card__details:hover,
.popular-bouquets .product-card__details:focus-visible,
.holiday-offer .product-card__details:hover,
.holiday-offer .product-card__details:focus-visible { background: #FBFAF7; }
.showcase--prototype .product-card__actions :focus-visible,
.popular-bouquets .product-card__actions :focus-visible,
.holiday-offer .product-card__actions :focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: -3px;
}
.showcase--prototype .product-card__actions :active,
.popular-bouquets .product-card__actions :active,
.holiday-offer .product-card__actions :active { transform: translateY(1px); }

@media (max-width: 767px) {
  .showcase--prototype .product-card__actions,
  .popular-bouquets .product-card__actions,
  .holiday-offer .product-card__actions { margin-top: 8px; }
  .showcase--prototype .product-card__actions button,
  .showcase--prototype .product-card__actions a,
  .popular-bouquets .product-card__actions button,
  .popular-bouquets .product-card__actions a,
  .holiday-offer .product-card__actions button,
  .holiday-offer .product-card__actions a {
    min-height: 38px;
    padding: 6px 3px;
    font-size: 9px;
  }
}

/* Curated event bouquets. The title stays fixed in the interface; square-
   bracket tags and composition are supplied by POSiFLORA product data. */
.holiday-offer {
  padding: 112px 40px 120px;
  border-top: 0;
  background: #dededc;
}
.holiday-offer__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.holiday-offer__note {
  display: grid;
  gap: 1px;
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
}
.holiday-offer h2 {
  max-width: 980px;
  margin: 0;
  font-family: "Radiotechnika", Montserrat, sans-serif;
  font-size: clamp(34px, 3.06vw, 44px);
  font-weight: 400;
  line-height: 1.08;
}
.holiday-offer__note { max-width: 760px; margin-top: var(--heading-to-subtitle, 20px); text-align: left; }
.holiday-offer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 20px;
}
.holiday-offer__card { display: flex; min-width: 0; flex-direction: column; }
.holiday-offer__card .product-card__image { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); background: #d7d7d4; }
.holiday-offer__card .product-card__photo { width: 100%; height: 100%; object-fit: cover; }
.holiday-offer .favorite-button {
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 28px;
  padding: 0;
  background: transparent;
}
.holiday-offer .product-card__meta { padding: 10px 0 0; color: var(--ink); font-family: "Montserrat", sans-serif; text-transform: uppercase; }
.holiday-offer .product-card__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 18px;
}
.holiday-offer .product-card h3,
.holiday-offer .product-card__line p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
}
.holiday-offer .product-card__line p { justify-self: end; white-space: nowrap; }
.holiday-offer .product-card h3 {
  min-width: 0;
  min-height: 2.2em;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.holiday-offer .product-card__color {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: lowercase;
}

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

@media (max-width: 767px) {
  .holiday-offer { padding: 56px 16px 64px; }
  .holiday-offer__heading { display: block; margin-bottom: 28px; }
  .holiday-offer h2 { font-size: 26px; line-height: 1.08; }
  .holiday-offer__note { margin-top: var(--mobile-heading-subtitle-gap, 10.67px); font-size: 12px; line-height: 1.35; text-align: left; text-transform: uppercase; }
  .holiday-offer__grid { gap: 30px 20px; }
  .holiday-offer__card .product-card__image { aspect-ratio: 3 / 4; }
  .holiday-offer .favorite-button { top: 12px; right: 12px; transform: scale(.84); transform-origin: top right; }
  .holiday-offer .product-card h3,
  .holiday-offer .product-card__line p { font-size: 11px; }
  .holiday-offer .product-card__color { font-size: 9px; }
  .holiday-offer .product-card__line { gap: 8px; }
}

/* The smaller showcase card needs less reserved carousel space. Together
   with halved section-edge padding this halves the visual gap to Popular. */
@media (min-width: 901px) {
  .showcase__carousel { height: 630px; }
}
@media (min-width: 768px) and (max-width: 900px) {
  .showcase__carousel { height: 556px; }
}
@media (min-width: 768px) {
  .showcase--prototype { padding-bottom: 41px; }
  .showcase--prototype + .popular-bouquets { padding-top: 41px; }
}
@media (min-width: 901px) and (max-height: 949px) {
  .showcase__carousel { height: 565px; }
}
@media (min-width: 768px) and (max-width: 900px) and (max-height: 949px) {
  .showcase__carousel { height: 520px; }
}
@media (max-width: 767px) {
  .showcase__carousel { height: 447px; }
  .showcase--prototype + .popular-bouquets { margin-top: 40px; }
}

/* Final mobile chrome contract: visible burger, a centred wordmark after the
   hero, and an edge-to-edge bottom price rail. */
@media (max-width: 767px) {
  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0;
    min-height: 58px;
    padding: 0 16px;
  }
  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 40px;
    height: 44px;
    flex: none;
    place-items: center start;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .menu-button span { display: none; }
  .menu-button img { display: block !important; width: 20px; height: 20px; }
  .menu-button::before { content: none !important; display: none !important; }
  .header-logo-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 108px;
    height: 18px;
    flex: none;
    margin: 0;
    opacity: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .site-header.show-brand .header-logo-mark { opacity: 1; pointer-events: auto; }
  .header-actions { grid-column: 3; justify-self: end; margin: 0; }

  .price-nav-dock,
  .price-nav-dock.is-fixed {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 0;
    background: rgba(236,236,236,.98);
    box-shadow: 0 -8px 24px rgba(36,35,33,.12);
  }
  .price-nav-dock.is-fixed { padding-bottom: env(safe-area-inset-bottom); }
  .price-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-height: 56px;
    overflow: hidden;
    border: 0;
    border-top: 1px solid rgba(36,35,33,.82);
    border-bottom: 1px solid rgba(36,35,33,.82);
    box-shadow: none;
  }
  .price-nav a,
  .price-nav-dock.is-fixed .price-nav a {
    min-width: 0;
    min-height: 56px;
    padding: 8px 2px;
    border-bottom: 0;
  }
  .price-nav strong { font-size: 11px; white-space: nowrap; }
  .price-nav small { display: none; }
  .price-nav-spacer.is-active { height: calc(56px + env(safe-area-inset-bottom)); }
}

/* Editorial category explorer: compact resting type and a floating,
   slightly rotated photo that overlaps several category rules. */
@media (min-width: 1100px) {
  .category-explorer__item {
    min-height: 92px;
    padding: 18px 430px 18px 0;
    font-size: clamp(20px, 2.04vw, 29px);
    transition:
      color .28s ease,
      font-size .52s cubic-bezier(.16, 1, .3, 1),
      letter-spacing .52s cubic-bezier(.16, 1, .3, 1);
  }

  .category-explorer__item:hover,
  .category-explorer__item:focus-visible,
  .category-explorer__item.is-active {
    color: var(--ink);
    font-size: clamp(30px, 3.06vw, 44px);
    letter-spacing: -.01em;
  }

  .category-explorer__photo-stage {
    top: calc(var(--catalog-photo-top, 0px) - 76px);
    right: auto;
    left: 72%;
    width: min(340px, 24vw);
    aspect-ratio: 4 / 5;
    border: 0;
    box-shadow: 0 22px 54px rgba(55, 49, 42, .16);
    transform: translateX(-50%) rotate(-4.25deg);
    transform-origin: 50% 50%;
    transition:
      top .62s cubic-bezier(.16, 1, .3, 1),
      transform .62s cubic-bezier(.16, 1, .3, 1),
      box-shadow .35s ease;
    will-change: top, transform;
  }

  .category-explorer__photo-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    pointer-events: none;
  }

  .category-explorer__photo-stage img {
    transform: scale(1.035);
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .category-explorer__item {
    min-height: 84px;
    padding-right: 280px;
    font-size: clamp(19px, 2.7vw, 26px);
  }

  .category-explorer__item:hover,
  .category-explorer__item:focus-visible,
  .category-explorer__item.is-active {
    font-size: clamp(27px, 3.8vw, 36px);
  }

  .category-explorer__photo-stage {
    top: calc(var(--catalog-photo-top, 0px) - 48px);
    right: 3%;
    width: min(240px, 24vw);
    aspect-ratio: 4 / 5;
    border: 0;
    box-shadow: 0 16px 38px rgba(55, 49, 42, .14);
    transform: rotate(-3.25deg);
    transition: top .58s cubic-bezier(.16, 1, .3, 1), transform .58s cubic-bezier(.16, 1, .3, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-explorer__item,
  .category-explorer__photo-stage {
    transition-duration: .01ms !important;
  }
}

/* Centred category typography with a smaller square image that changes
   position for each category instead of following one fixed right rail. */
@media (min-width: 1100px) {
  .category-explorer__item {
    justify-content: center;
    padding-left: clamp(260px, 20vw, 430px);
    padding-right: clamp(260px, 20vw, 430px);
    text-align: center;
  }

  .category-explorer__item-label {
    max-width: min(760px, 64vw);
    text-wrap: balance;
  }

  .category-explorer__photo-stage {
    top: calc(var(--catalog-photo-top, 0px) + var(--catalog-photo-y, -48px));
    right: auto;
    left: var(--catalog-photo-x, 82%);
    width: min(230px, 17vw);
    aspect-ratio: 1 / 1;
    transform: translateX(-50%) rotate(var(--catalog-photo-rotation, -3.5deg));
    transition:
      top .62s cubic-bezier(.16, 1, .3, 1),
      left .72s cubic-bezier(.16, 1, .3, 1),
      transform .62s cubic-bezier(.16, 1, .3, 1),
      box-shadow .35s ease;
  }

  .category-explorer__photo-stage.is-top-right {
    --catalog-photo-x: 82%;
    --catalog-photo-y: -58px;
    --catalog-photo-rotation: -4deg;
  }

  .category-explorer__photo-stage.is-lower-right {
    --catalog-photo-x: 79%;
    --catalog-photo-y: 24px;
    --catalog-photo-rotation: 3deg;
  }

  .category-explorer__photo-stage.is-left {
    --catalog-photo-x: 18%;
    --catalog-photo-y: -24px;
    --catalog-photo-rotation: -2.75deg;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .category-explorer__item {
    justify-content: center;
    padding-left: 190px;
    padding-right: 190px;
    text-align: center;
  }

  .category-explorer__photo-stage {
    top: calc(var(--catalog-photo-top, 0px) + var(--catalog-photo-y, -28px));
    right: auto;
    left: var(--catalog-photo-x, 78%);
    width: min(176px, 19vw);
    aspect-ratio: 1 / 1;
    transform: translateX(-50%) rotate(var(--catalog-photo-rotation, -3deg));
    transition:
      top .58s cubic-bezier(.16, 1, .3, 1),
      left .68s cubic-bezier(.16, 1, .3, 1),
      transform .58s cubic-bezier(.16, 1, .3, 1);
  }

  .category-explorer__photo-stage.is-top-right {
    --catalog-photo-x: 80%;
    --catalog-photo-y: -38px;
    --catalog-photo-rotation: -3.5deg;
  }

  .category-explorer__photo-stage.is-lower-right {
    --catalog-photo-x: 77%;
    --catalog-photo-y: 18px;
    --catalog-photo-rotation: 2.5deg;
  }

  .category-explorer__photo-stage.is-left {
    --catalog-photo-x: 20%;
    --catalog-photo-y: -16px;
    --catalog-photo-rotation: -2.25deg;
  }
}

/* On phones the selected category reserves a separate area for its photo
   above or below the label. The existing two-tap behaviour prevents
   accidental navigation. */
@media (max-width: 767px) {
  .category-explorer__layout {
    position: relative;
  }

  .category-explorer__item {
    min-height: 72px;
    justify-content: center;
    padding: 14px 24px;
    font-size: 17px;
    text-align: center;
    transition:
      min-height .48s cubic-bezier(.16, 1, .3, 1),
      padding .48s cubic-bezier(.16, 1, .3, 1),
      color .28s ease,
      font-size .42s cubic-bezier(.16, 1, .3, 1);
  }

  .category-explorer__item:hover,
  .category-explorer__item:focus-visible,
  .category-explorer__item.is-active {
    font-size: 22px;
  }

  .category-explorer__item-label {
    max-width: 100%;
    text-wrap: balance;
  }

  .category-explorer__item-arrow,
  .category-explorer__item.is-tapped .category-explorer__item-arrow {
    display: none;
  }

  .category-explorer__photo-stage {
    position: absolute;
    z-index: 2;
    top: calc(var(--catalog-photo-top, 0px) + 8px);
    right: auto;
    left: 50%;
    width: 68px;
    aspect-ratio: 1 / 1;
    margin: 0;
    border: 0;
    opacity: 0;
    box-shadow: 0 9px 22px rgba(55, 49, 42, .14);
    transform: translateX(-50%) rotate(3deg) scale(.92);
    transition:
      top .48s cubic-bezier(.16, 1, .3, 1),
      opacity .28s ease,
      transform .42s cubic-bezier(.16, 1, .3, 1);
  }

  .category-explorer__layout.has-category-selection .category-explorer__photo-stage {
    opacity: 1;
  }

  .category-explorer__layout.is-top-right .category-explorer__item.is-active,
  .category-explorer__layout.is-left .category-explorer__item.is-active {
    min-height: 154px;
    padding-top: 88px;
    padding-bottom: 14px;
  }

  .category-explorer__layout.is-top-right .category-explorer__photo-stage {
    top: calc(var(--catalog-photo-top, 0px) + 10px);
    transform: translateX(-50%) rotate(-3deg) scale(1);
  }

  .category-explorer__layout.is-left .category-explorer__photo-stage {
    top: calc(var(--catalog-photo-top, 0px) + 10px);
    transform: translateX(-50%) rotate(2.5deg) scale(1);
  }

  .category-explorer__layout.is-lower-right .category-explorer__item.is-active {
    min-height: 154px;
    padding-top: 14px;
    padding-bottom: 88px;
  }

  .category-explorer__layout.is-lower-right .category-explorer__photo-stage {
    top: calc(var(--catalog-photo-top, 0px) + 76px);
    transform: translateX(-50%) rotate(-2.5deg) scale(1);
  }
}

/* Every category title is optically centred independently of its line count
   and optional counter. */
.category-explorer__item {
  position: relative;
  justify-content: center;
  text-align: center;
}

.category-explorer__item-content {
  position: relative;
  display: block;
  width: fit-content;
  max-width: min(760px, 64vw);
  margin-inline: auto;
  text-align: center;
}

.category-explorer__item-label {
  display: block;
  width: 100%;
  max-width: none;
  text-align: center;
  text-wrap: balance;
}

.category-explorer__item-count {
  position: absolute;
  top: .12em;
  left: calc(100% + 10px);
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .category-explorer__item-content {
    max-width: min(100%, 19ch);
  }

  .category-explorer__item-count {
    left: calc(100% + 5px);
  }
}

/* Mobile navigation contract: permanent full-label price rail and a dedicated
   account action zone at the bottom of the full-screen menu. */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .price-nav-dock,
  .price-nav-dock.is-fixed {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 0 env(safe-area-inset-bottom);
    background: rgba(236, 236, 236, .98);
    border-top: 1px solid rgba(36, 35, 33, .72);
    box-shadow: 0 -10px 28px rgba(36, 35, 33, .08);
    backdrop-filter: blur(12px);
  }

  .price-nav {
    min-height: 56px;
    border: 0;
    box-shadow: none;
  }

  .price-nav a,
  .price-nav button {
    min-width: 0;
    min-height: 56px;
    padding: 8px 2px;
  }

  .price-nav strong {
    font-size: clamp(8px, 2.6vw, 10px);
    line-height: 1.15;
    white-space: nowrap;
  }

  .price-nav__label--desktop {
    display: inline;
  }

  .price-nav__label--mobile,
  .price-nav small {
    display: none;
  }

  .price-nav-spacer,
  .price-nav-spacer.is-active {
    display: none;
    height: 0;
  }

  .mega-menu {
    z-index: 200;
    grid-template-rows: 70px minmax(0, 1fr);
    overflow: hidden;
  }

  .mega-menu__top {
    min-height: 70px;
  }

  .mega-menu__rows {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mega-menu__account {
    position: fixed;
    z-index: 8;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    display: flex;
    width: auto;
    max-width: none;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid var(--august-ink);
    background: rgba(236, 236, 236, .98);
    box-shadow: 0 -18px 30px 16px rgba(236, 236, 236, .96);
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    backdrop-filter: blur(12px);
  }
}

/* Give the first content section a clear visual break from the mobile hero. */
@media (max-width: 767px) {
  .showcase--prototype {
    padding-top: 48px;
  }
}

/* Category photos switch discretely between protected edge zones. Only the
   new image fades in, so media never travels across the centred titles. */
@media (min-width: 1100px) {
  .category-explorer__item {
    padding-left: clamp(250px, 18vw, 370px);
    padding-right: clamp(250px, 18vw, 370px);
  }

  .category-explorer__item-content {
    max-width: min(760px, 58vw);
  }

  .category-explorer__photo-stage,
  .category-explorer__photo-stage.is-top-right,
  .category-explorer__photo-stage.is-lower-right,
  .category-explorer__photo-stage.is-left {
    top: calc(var(--catalog-photo-top, 0px) + var(--catalog-photo-y, -48px));
    width: min(210px, 14vw);
    transition: none;
    will-change: auto;
  }

  .category-explorer__photo-stage.is-top-right {
    --catalog-photo-x: 91%;
    --catalog-photo-y: -54px;
    --catalog-photo-rotation: -3.25deg;
  }

  .category-explorer__photo-stage.is-lower-right {
    --catalog-photo-x: 91%;
    --catalog-photo-y: 10px;
    --catalog-photo-rotation: 2.5deg;
  }

  .category-explorer__photo-stage.is-left {
    --catalog-photo-x: 9%;
    --catalog-photo-y: -28px;
    --catalog-photo-rotation: -2.25deg;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .category-explorer__item {
    padding-left: 155px;
    padding-right: 155px;
  }

  .category-explorer__item-content {
    max-width: min(590px, 62vw);
  }

  .category-explorer__photo-stage,
  .category-explorer__photo-stage.is-top-right,
  .category-explorer__photo-stage.is-lower-right,
  .category-explorer__photo-stage.is-left {
    width: min(142px, 15vw);
    transition: none;
    will-change: auto;
  }

  .category-explorer__photo-stage.is-top-right {
    --catalog-photo-x: 91%;
    --catalog-photo-y: -34px;
  }

  .category-explorer__photo-stage.is-lower-right {
    --catalog-photo-x: 91%;
    --catalog-photo-y: 8px;
  }

  .category-explorer__photo-stage.is-left {
    --catalog-photo-x: 9%;
    --catalog-photo-y: -18px;
  }
}

/* On phones the nearest category is selected while scrolling. Its square
   image occupies a real gap above or below the title and never overlaps it. */
@media (max-width: 767px) {
  .category-explorer__item {
    transition: color .24s ease, font-size .24s ease;
  }

  .category-explorer__photo-stage {
    width: 92px;
    opacity: 0;
    transition: opacity .22s ease;
    will-change: opacity;
  }

  .category-explorer__layout.has-category-selection .category-explorer__photo-stage {
    opacity: 1;
  }

  .category-explorer__layout.is-top-right .category-explorer__photo-stage {
    left: 61%;
    top: calc(var(--catalog-photo-top, 0px) + 10px);
    transform: translateX(-50%) rotate(-3deg);
  }

  .category-explorer__layout.is-left .category-explorer__photo-stage {
    left: 39%;
    top: calc(var(--catalog-photo-top, 0px) + 10px);
    transform: translateX(-50%) rotate(2.5deg);
  }

  .category-explorer__layout.is-lower-right .category-explorer__photo-stage {
    left: 58%;
    top: calc(var(--catalog-photo-top, 0px) + 84px);
    transform: translateX(-50%) rotate(-2.5deg);
  }

  .category-explorer__layout.is-top-right .category-explorer__item.is-active,
  .category-explorer__layout.is-left .category-explorer__item.is-active {
    min-height: 182px;
    padding-top: 116px;
    padding-bottom: 14px;
  }

  .category-explorer__layout.is-lower-right .category-explorer__item.is-active {
    min-height: 182px;
    padding-top: 14px;
    padding-bottom: 116px;
  }
}

.category-explorer__cta {
  margin-right: auto;
  margin-left: auto;
}
