:root {
  --forest-950: #071d19;
  --forest-900: #0b2823;
  --forest-800: #143b33;
  --forest-700: #245347;
  --ivory: #f7f2e9;
  --ivory-2: #eee6da;
  --paper: #fffdf9;
  --ink: #132924;
  --muted: #6d7771;
  --blush: #e7a1ad;
  --blush-light: #f5d9dc;
  --wine: #7d2035;
  --gold: #c7a370;
  --line: rgba(22, 52, 45, .13);
  --shadow: 0 24px 70px rgba(12, 36, 31, .12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --header-height: 82px;
  --container: 1360px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  background: var(--ivory);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

body.has-open-panel { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { color: transparent; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #f3b7c1;
  outline-offset: 4px;
}

button:disabled { cursor: not-allowed; opacity: .52; }
[hidden] { display: none !important; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section { padding: clamp(76px, 9vw, 138px) 0; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  inset: 12px auto auto 12px;
  transform: translateY(-150%);
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--forest-950);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 25px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.35;
  transition: transform .22s ease, box-shadow .22s ease, color .22s ease, background .22s ease, border-color .22s ease;
}
.button--accent { background: var(--blush); color: var(--forest-950); box-shadow: 0 14px 34px rgba(231, 161, 173, .23); }
.button--dark { background: var(--forest-900); color: white; box-shadow: 0 14px 32px rgba(7, 29, 25, .2); }
.button--outline { border-color: rgba(19, 41, 36, .28); background: transparent; }
.button--wide { width: 100%; }
.button:active { transform: translateY(1px) scale(.985); }

.text-link, .text-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 4px 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
}
.text-link::after, .text-button::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(.28);
  transform-origin: right;
  transition: transform .25s ease;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease, color .3s ease, border-color .3s ease;
}
.site-header.is-scrolled,
.site-header.scrolled {
  color: var(--ink);
  background: rgba(250, 247, 240, .88);
  border-color: rgba(19, 41, 36, .08);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 12px 36px rgba(8, 32, 27, .08);
}
.header-inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; line-height: 1.25; }
.brand-mark { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand span { display: grid; }
.brand strong { font-size: 1.22rem; }
.brand small { margin-top: 3px; font-size: .62rem; opacity: .72; font-weight: 400; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.8vw, 42px); }
.desktop-nav a { position: relative; padding: 9px 0; font-size: .9rem; font-weight: 700; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0; bottom: 1px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--blush);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .24s ease;
}
.header-actions { display: flex; align-items: center; gap: 7px; }
.icon-button {
  position: relative;
  width: 43px; height: 43px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute;
  inset: -5px -3px auto auto;
  min-width: 19px; height: 19px;
  display: grid; place-items: center;
  padding: 0 4px;
  border-radius: 20px;
  background: var(--blush);
  color: var(--forest-950);
  font-size: .66rem;
  font-weight: 800;
}
.menu-toggle { display: none; }
.search-panel {
  color: var(--ink);
  background: rgba(250, 247, 240, .97);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(9, 33, 28, .12);
}
.search-panel__inner { display: flex; align-items: center; gap: 28px; padding-block: 17px; }
.search-panel label { font-weight: 700; white-space: nowrap; }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(19, 41, 36, .25); }
.search-field svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.search-field input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: inherit; }
.search-field button { border: 0; background: none; cursor: pointer; color: var(--wine); }
.mobile-nav {
  padding: 14px 24px 22px;
  display: grid;
  gap: 2px;
  color: var(--ink);
  background: rgba(250, 247, 240, .98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 45px rgba(8, 31, 27, .12);
}
.mobile-nav a { padding: 10px 4px; border-bottom: 1px solid rgba(19, 41, 36, .08); }

/* Hero */
.hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--forest-950);
}
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transform: scale(1.035) translate(calc(var(--pointer-x, 0) * -8px), calc(var(--pointer-y, 0) * -7px)); transition: transform .5s ease-out; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 22, 19, .15) 0%, rgba(5, 22, 19, .42) 46%, rgba(5, 22, 19, .93) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, rgba(5, 22, 19, .38)); pointer-events: none; }
.hero__line { position: absolute; border: 1px solid rgba(242, 207, 210, .2); border-radius: 50%; pointer-events: none; }
.hero__line--one { width: 520px; height: 520px; right: -310px; top: 16%; }
.hero__line--two { width: 340px; height: 340px; right: -210px; top: 28%; }
.hero__inner { position: relative; z-index: 2; min-height: inherit; display: flex; align-items: center; }
.hero__content { width: min(620px, 51%); margin: 0; padding-top: var(--header-height); }
.hero .eyebrow { color: var(--blush-light); }
.hero h1 { margin: 18px 0 24px; font-size: clamp(3.1rem, 6.7vw, 7.2rem); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.hero h1 em { color: var(--blush-light); font-style: normal; }
.hero__content > p { max-width: 570px; margin: 0 0 32px; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.25vw, 1.18rem); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero__note { position: absolute; left: 8px; bottom: 35px; margin: 0; font-size: .74rem; writing-mode: vertical-rl; opacity: .7; }

/* Trust strip and common headings */
.trust-strip { position: relative; z-index: 3; margin-top: -1px; background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 138px; display: flex; align-items: center; gap: 16px; padding: 26px clamp(18px, 2.3vw, 34px); border-left: 1px solid var(--line); }
.trust-item:last-child { border-left: 0; }
.trust-item svg { flex: 0 0 38px; width: 38px; height: 38px; fill: none; stroke: var(--forest-800); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.trust-item h2 { margin: 0; font-size: .98rem; }
.trust-item p { margin: 2px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.section-heading { max-width: 790px; margin-bottom: clamp(34px, 5vw, 68px); }
.section-heading h2, .about-section h2, .contact-section h2 { margin: 9px 0 12px; font-size: clamp(2rem, 4.2vw, 4.4rem); line-height: 1.2; letter-spacing: -.035em; }
.section-heading p, .contact-intro p { margin: 0; max-width: 660px; color: var(--muted); }
.section-heading--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 70px; }
.section-heading--split > p { max-width: 470px; }

/* Live bouquet atelier */
.builder-section { position: relative; overflow: clip; background: #eee6da; }
.builder-section::before, .builder-section::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(2px); }
.builder-section::before { width: 560px; height: 560px; top: -250px; left: -220px; background: rgba(231,161,173,.23); }
.builder-section::after { width: 420px; height: 420px; right: -260px; bottom: 9%; background: rgba(109,139,112,.12); }
.builder-workshop { position: relative; z-index: 1; }
.builder-layout { display: grid; grid-template-columns: minmax(390px,.92fr) minmax(500px,1.08fr); grid-template-areas: "controls stage"; gap: 20px; align-items: start; direction: rtl; }
.builder-controls, .builder-stage, .builder-accordion--occasion { min-width: 0; border: 1px solid rgba(20,59,51,.11); border-radius: var(--radius-xl); box-shadow: 0 24px 60px rgba(20,47,41,.09); }
.builder-controls { grid-area: controls; overflow: hidden; background: rgba(255,253,249,.9); backdrop-filter: blur(14px); }
.builder-controls__head { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.builder-controls__head span { color: var(--wine); font-size: .7rem; font-weight: 700; }
.builder-controls__head h3 { margin: 2px 0 0; font-size: 1.25rem; }
.builder-controls__head .text-button { flex: 0 0 auto; color: var(--wine); font-size: .73rem; }
.builder-controls .builder-accordion--occasion { margin: 0; overflow: visible; border-radius: 0; box-shadow: none; background: rgba(237,229,217,.48); backdrop-filter: none; }
.builder-accordion { border-bottom: 1px solid var(--line); }
.builder-accordion:last-child { border-bottom: 0; }
.builder-accordion > h3 { margin: 0; }
.builder-accordion__trigger { width: 100%; min-height: 72px; display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 12px; border: 0; padding: 13px 20px; color: var(--ink); background: transparent; text-align: right; cursor: pointer; }
.builder-accordion__trigger > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.builder-accordion__trigger strong { font-size: .86rem; }
.builder-accordion__trigger small { overflow: hidden; color: var(--muted); font-size: .64rem; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.builder-accordion__number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--wine); background: rgba(147,43,64,.09); font-size: .74rem; font-weight: 800; }
.builder-accordion__trigger i { position: relative; width: 16px; height: 16px; }
.builder-accordion__trigger i::before, .builder-accordion__trigger i::after { content: ""; position: absolute; top: 7px; left: 2px; width: 12px; height: 1px; background: currentColor; transition: transform .25s ease; }
.builder-accordion__trigger i::after { transform: rotate(90deg); }
.builder-accordion__trigger[aria-expanded="true"] i::after { transform: rotate(0); }
.builder-accordion__trigger:focus-visible { outline: 2px solid var(--wine); outline-offset: -4px; }
.builder-accordion__panel { padding: 2px 20px 22px; animation: accordion-in .24s ease both; }
.builder-accordion__panel[hidden] { display: none; }
@keyframes accordion-in { from { opacity: 0; transform: translateY(-6px); } }
.builder-accordion--occasion .builder-accordion__trigger { min-height: 68px; padding-inline: 20px; }
.builder-accordion--occasion .builder-accordion__trigger strong { font-size: .86rem; }
.occasion-select-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .67rem; }
.occasion-select { width: 100%; min-height: 43px; appearance: auto; border: 1px solid rgba(20,59,51,.16); border-radius: 12px; padding: 8px 12px; color: var(--ink); background: rgba(255,255,255,.78); font: inherit; font-size: .73rem; cursor: pointer; }
.occasion-select:focus-visible { outline: 2px solid rgba(142,40,62,.25); border-color: var(--wine); }
.builder-occasion-grid { display: grid; grid-template-columns: repeat(7,minmax(120px,1fr)); gap: 10px; overflow-x: auto; padding: 3px 2px 12px; scrollbar-width: thin; scroll-snap-type: inline proximity; }
.builder-occasion-card, .occasion-preset { position: relative; min-width: 120px; min-height: 150px; overflow: hidden; border: 1px solid rgba(20,59,51,.12); border-radius: 18px; padding: 0; color: white; background: var(--forest-900); text-align: right; cursor: pointer; scroll-snap-align: start; isolation: isolate; }
.builder-occasion-card img, .occasion-preset img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s ease; }
.builder-occasion-card::after, .occasion-preset::after { content: ""; position: absolute; z-index: 1; inset: 35% 0 0; background: linear-gradient(transparent,rgba(5,25,21,.88)); }
.builder-occasion-card span, .occasion-preset span { position: absolute; z-index: 2; right: 11px; left: 11px; bottom: 10px; font-size: .7rem; font-weight: 800; line-height: 1.5; }
.builder-occasion-card.is-selected, .occasion-preset.is-selected, .builder-occasion-card[aria-selected="true"], .occasion-preset[aria-selected="true"] { border-color: var(--blush); box-shadow: 0 0 0 3px rgba(204,112,132,.25); }
.builder-occasion-card.is-selected::before, .occasion-preset.is-selected::before { content: "✓"; position: absolute; z-index: 3; top: 9px; left: 9px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--forest-900); background: white; font-size: .7rem; font-weight: 900; }
.occasion-recommendation { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 9px; padding: 10px 12px; border: 1px solid rgba(20,59,51,.1); border-radius: 13px; background: rgba(255,255,255,.48); }
.occasion-recommendation > div { min-width: 0; }
.occasion-recommendation span { color: var(--wine); font-size: .65rem; font-weight: 800; }
.occasion-recommendation p { margin: 2px 0 0; color: var(--muted); font-size: .65rem; line-height: 1.65; }
.builder-occasion-content { display: grid; gap: 12px; }
.builder-occasion-description { margin: 0; padding: 12px 14px; border-radius: 14px; color: var(--muted); background: rgba(237,229,217,.58); font-size: .72rem; line-height: 1.75; }
.button--small { min-height: 40px; flex: 0 0 auto; padding: 8px 15px; font-size: .68rem; }
.builder-hint { margin: 3px 0 13px; color: var(--muted); font-size: .7rem; line-height: 1.75; }
.flower-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flower-picker__group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flower-choice { min-width: 0; min-height: 82px; display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 9px; align-items: center; padding: 7px; border: 1px solid rgba(20,59,51,.09); border-radius: 17px; background: rgba(255,255,255,.68); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.flower-choice.is-selected { border-color: rgba(142,40,62,.4); background: rgba(229,174,186,.11); }
.flower-choice > img { width: 58px; height: 66px; object-fit: contain; border-radius: 13px; background: radial-gradient(circle,#e9e4d9 0%,rgba(233,228,217,.2) 66%,transparent 68%); pointer-events: none; }
.flower-choice__body { min-width: 0; display: grid; grid-template-columns: 1fr; gap: 3px; }
.flower-choice h3 { min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .75rem; }
.flower-choice p { margin: 0; color: var(--muted); font-size: .59rem; white-space: nowrap; }
.flower-choice .stepper { margin-top: 4px; }
.stepper { width: max-content; display: inline-grid; grid-template-columns: 28px 32px 28px; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); direction: ltr; }
.stepper button { width: 28px; height: 30px; border: 0; color: var(--forest-900); background: none; cursor: pointer; font-size: 1rem; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { text-align: center; color: var(--forest-900); font-size: .73rem; font-weight: 700; direction: rtl; }
.flower-count-summary { display: flex; flex-wrap: wrap; gap: 7px; }
.flower-count-summary p { margin: 0; color: var(--muted); font-size: .72rem; }
.flower-count-chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 999px; color: var(--forest-900); background: #eee6da; font-size: .65rem; }
.selected-flower-counts { display: grid; gap: 7px; }
.selected-flower-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 13px; background: rgba(237,229,217,.6); }
.selected-flower-row > img { width: 42px; height: 48px; object-fit: contain; }
.selected-flower-row > span { min-width: 0; overflow: hidden; font-size: .69rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.builder-empty-selection { margin: 0; color: var(--muted); font-size: .72rem; }
.builder-options__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.builder-options__grid--media { grid-template-columns: repeat(3,minmax(0,1fr)); }
.builder-option { min-width: 0; min-height: 62px; display: grid; grid-template-columns: 38px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; gap: 1px 8px; padding: 7px; border: 1px solid rgba(20,59,51,.12); border-radius: 14px; background: rgba(255,255,255,.68); text-align: right; cursor: pointer; transition: border-color .2s ease,background .2s ease,transform .2s ease; }
.builder-options__grid--media .builder-option { min-height: 102px; grid-template-columns: 1fr; grid-template-rows: 62px auto auto; text-align: center; }
.builder-option img, .builder-option__image { grid-row: 1; width: 100%; height: 62px; border-radius: 10px; object-fit: contain; background: radial-gradient(circle,#fff 0%,#e8e1d7 100%); }
.builder-option__swatch { grid-row: 1 / span 2; width: 30px; height: 30px; border: 3px solid white; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(20,59,51,.16); }
.builder-option > span:not(.builder-option__swatch) { min-width: 0; overflow: hidden; font-size: .64rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.builder-option small { color: var(--muted); font-size: .54rem; white-space: nowrap; }
.builder-option.is-selected, .builder-option[aria-checked="true"] { border-color: var(--forest-700); background: rgba(20,59,51,.08); box-shadow: inset 0 0 0 1px var(--forest-700); }
.builder-notes { display: grid; gap: 7px; margin-top: 15px; }
.builder-notes > span { font-size: .75rem; font-weight: 700; }
.builder-notes > span small { color: var(--muted); font-weight: 400; }
.builder-notes textarea { width: 100%; min-height: 108px; resize: vertical; border: 1px solid rgba(20,59,51,.16); border-radius: 15px; padding: 12px 14px; color: var(--ink); background: rgba(255,255,255,.72); font: inherit; font-size: .72rem; line-height: 1.8; }
.builder-notes textarea:focus { outline: 2px solid rgba(142,40,62,.22); border-color: var(--wine); }
.builder-notes > small { color: var(--muted); text-align: left; font-size: .58rem; }
.builder-extras { display: grid; gap: 12px; }
.builder-notes__label { font-size: .72rem; font-weight: 700; }
.builder-extras > textarea.builder-notes { width: 100%; min-height: 108px; resize: vertical; border: 1px solid rgba(20,59,51,.16); border-radius: 15px; padding: 12px 14px; color: var(--ink); background: rgba(255,255,255,.72); font: inherit; font-size: .72rem; line-height: 1.8; }
.bouquet-order-summary { display: grid; gap: 7px; padding: 12px; border-radius: 14px; color: var(--muted); background: #f1eae0; font-size: .68rem; line-height: 1.7; }
.bouquet-order-summary p { margin: 0; }
.bouquet-order-summary ul { display: grid; gap: 4px; margin: 0; padding: 0 17px 0 0; }
.bouquet-order-summary__notes { padding-top: 7px; border-top: 1px dashed rgba(20,59,51,.18); color: var(--ink); overflow-wrap: anywhere; }
.builder-summary-content { display: grid; }
.builder-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 0 13px; }
.builder-total span { color: var(--muted); font-size: .73rem; }
.builder-total output { color: var(--forest-900); font-size: 1.02rem; font-weight: 800; }
.builder-total output.is-updating { animation: total-pop .28s ease; }
@keyframes total-pop { 50% { color: var(--wine); transform: scale(1.04); } }
.demo-note { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: .61rem; line-height: 1.65; }
.builder-stage { grid-area: stage; position: sticky; top: calc(var(--header-height) + 14px); overflow: hidden; padding: 15px; background: linear-gradient(155deg,#f9f5ed 0%,#e8ded1 100%); }
.builder-stage__top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; padding: 0 6px; color: var(--forest-800); font-size: .78rem; }
.builder-stage__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 11px; background: rgba(255,255,255,.78); box-shadow: 0 8px 20px rgba(20,47,41,.07); font-weight: 700; }
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #e65470; box-shadow: 0 0 0 5px rgba(230,84,112,.12); }
.download-bouquet { min-height: 32px; border: 1px solid var(--forest-800); border-radius: 999px; padding: 6px 12px; color: white; background: var(--forest-800); box-shadow: 0 7px 16px rgba(20,59,51,.15); cursor: pointer; font: inherit; font-size: .65rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.download-bouquet:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.bouquet-download-dialog { width: min(510px,calc(100% - 26px)); max-height: min(760px,calc(100dvh - 26px)); overflow: auto; border: 0; border-radius: 24px; padding: 16px; color: var(--ink); background: var(--paper); box-shadow: 0 28px 90px rgba(2,18,15,.42); }
.bouquet-download-dialog::backdrop { background: rgba(2,18,15,.6); backdrop-filter: blur(3px); }
.bouquet-download-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.bouquet-download-dialog__head h3 { margin: 0; font-size: 1rem; }
.bouquet-download-dialog__head .icon-button { width: 36px; height: 36px; border-color: var(--line); font-size: 1.45rem; }
.bouquet-download-dialog > img { width: 100%; height: auto; display: block; border-radius: 18px; background: radial-gradient(circle at 50% 30%,#fff,#e3d7c6); }
.bouquet-download-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.bouquet-download-dialog__actions .button { justify-content: center; min-height: 42px; font-size: .7rem; }
.bouquet-figure { margin: 0; }
.bouquet-canvas { position: relative; height: 650px; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.5); border-radius: 27px; background: radial-gradient(circle at 50% 33%,rgba(255,255,255,.98) 0,rgba(255,255,255,.4) 41%,transparent 67%),linear-gradient(180deg,#e7dfd2,#cfc2b1); touch-action: none; }
.bouquet-canvas::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(105deg,transparent 0 47%,rgba(255,255,255,.22) 47.2% 49%,transparent 49.2%); opacity: .65; }
.bouquet-canvas::after { content: ""; position: absolute; z-index: 1; left: 20%; right: 20%; bottom: 2.5%; height: 7%; border-radius: 50%; background: rgba(23,44,38,.18); filter: blur(16px); }
.bouquet-glow { position: absolute; inset: 8% 12% 16%; border-radius: 50%; background: rgba(255,255,255,.47); filter: blur(34px); }
.bouquet-empty { position: absolute; z-index: 2; inset: 0; display: grid; align-content: center; justify-items: center; gap: 5px; padding: 40px; text-align: center; color: rgba(20,59,51,.65); }
.bouquet-empty[hidden] { display: none; }
.bouquet-empty svg { width: 82px; margin-bottom: 8px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.bouquet-empty strong { font-size: 1.02rem; }
.bouquet-empty span { font-size: .75rem; }
.bouquet-stems { position: absolute; z-index: 20; inset: 0; }
.bouquet-stem { position: absolute; left: var(--stem-x); top: var(--stem-y); width: var(--stem-width,clamp(96px,25%,170px)); height: var(--stem-height,66%); object-fit: contain; transform: translate(-50%,-40%) rotate(var(--stem-rotate)) scale(var(--stem-scale)); transform-origin: 50% 82%; filter: drop-shadow(0 8px 6px rgba(11,40,35,.13)); cursor: grab; pointer-events: auto; touch-action: none; user-select: none; -webkit-user-drag: none; transition: filter .18s ease,opacity .18s ease; }
.bouquet-stem:active { cursor: grabbing; }
.bouquet-stem.is-selected { outline: 2px solid rgba(142,40,62,.5); outline-offset: -16px; filter: drop-shadow(0 10px 8px rgba(11,40,35,.2)); }
.bouquet-stem.is-dragging { cursor: grabbing; filter: drop-shadow(0 16px 12px rgba(11,40,35,.24)); }
.bouquet-stem.is-entering { animation: stem-in .42s cubic-bezier(.2,.75,.25,1.18) both; }
@keyframes stem-in { from { opacity: 0; transform: translate(-50%,-32%) rotate(var(--stem-rotate)) scale(calc(var(--stem-scale) * .78)); } }
.bouquet-wrap, .bouquet-ribbon { position: absolute; left: 50%; height: auto; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.bouquet-wrap { z-index: 190; bottom: -2%; width: min(76%,430px); max-height: 56%; transform: translateX(-50%); filter: drop-shadow(0 17px 16px rgba(12,38,32,.17)); }
.bouquet-ribbon { z-index: 220; bottom: 11.5%; width: min(37%,210px); max-height: 20%; transform: translateX(-50%); filter: drop-shadow(0 6px 5px rgba(12,38,32,.18)); }
.bouquet-wrap[hidden], .bouquet-ribbon[hidden] { display: none; }
.bouquet-figure figcaption { min-height: 41px; padding: 12px 8px 0; overflow: hidden; color: var(--muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.selected-stem-label { min-height: 20px; margin: 9px 3px 0; color: var(--wine); text-align: center; font-size: .64rem; font-weight: 700; }
.bouquet-layout-toolbar { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 7px; }
.bouquet-layout-toolbar button { min-height: 38px; border: 1px solid rgba(20,59,51,.12); border-radius: 11px; padding: 6px; color: var(--forest-900); background: rgba(255,255,255,.58); cursor: pointer; font-size: .61rem; }
.bouquet-layout-toolbar button:disabled { opacity: .4; cursor: not-allowed; }
.builder-drag-hint { margin: 9px 2px 1px; color: var(--muted); text-align: center; font-size: .62rem; }
.builder-layout-tools { display: grid; grid-template-columns: repeat(6,1fr); align-items: center; gap: 6px; margin: 5px 4px 10px; }
.builder-layout-tools__selection { grid-column: 1 / -1; color: var(--wine); text-align: center; font-size: .64rem; font-weight: 700; }
.builder-tool-button { min-height: 35px; border: 1px solid rgba(20,59,51,.12); border-radius: 10px; color: var(--forest-900); background: rgba(255,255,255,.58); cursor: pointer; }
.bouquet-addon-layer { position: absolute; z-index: 210; inset: 0; pointer-events: none; }

/* Categories */
.categories-section { background: var(--paper); }
.category-gallery { display: grid; grid-template-columns: 1.4fr .8fr .8fr; grid-auto-rows: 260px; gap: 14px; }
.category-tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: white; background: var(--forest-900); box-shadow: 0 15px 35px rgba(11,40,35,.12); }
.category-tile--wide { grid-row: span 2; }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.category-tile::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgba(3,18,15,.83)); }
.category-tile > span { position: absolute; z-index: 2; right: 22px; left: 22px; bottom: 19px; display: grid; }
.category-tile strong { font-size: 1.08rem; }
.category-tile small { color: rgba(255,255,255,.7); font-size: .72rem; }

/* Products */
.products-section { background: #f0e9de; }
.product-toolbar { margin-bottom: 25px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-chip { min-height: 42px; padding: 8px 18px; border: 1px solid rgba(20,59,51,.17); border-radius: 999px; background: transparent; cursor: pointer; font-size: .8rem; transition: .2s ease; }
.filter-chip.is-active, .filter-chip.active { border-color: var(--forest-900); background: var(--forest-900); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; perspective: 1200px; }
.product-card { overflow: hidden; border-radius: 28px; background: var(--paper); box-shadow: 0 14px 35px rgba(18,45,39,.08); transform: perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(0); transform-style: preserve-3d; transition: transform .24s ease, box-shadow .24s ease; }
.product-card__media { height: 380px; overflow: hidden; background: #ded5c8; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.product-card__content { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px 18px; padding: 19px 20px 21px; }
.product-card h3 { margin: 0; font-size: 1rem; }
.product-card__price { margin: 0; color: var(--wine); font-size: .82rem; font-weight: 700; }
.product-card__add { grid-column: 2; grid-row: 1 / span 2; min-height: 43px; padding: 9px 16px; background: var(--forest-900); color: white; font-size: .72rem; }
.empty-state { padding: 64px 22px; border: 1px dashed rgba(20,59,51,.25); border-radius: 28px; text-align: center; }
.empty-state h3 { margin: 0 0 6px; }
.empty-state p { margin: 0 0 22px; color: var(--muted); }

/* Occasions */
.occasions-section { background: var(--paper); }
.occasions-layout { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: clamp(35px,6vw,90px); align-items: center; }
.section-heading--side { margin: 0; }
.section-heading--side h2 { font-size: clamp(2.2rem,3.6vw,3.9rem); }
.section-heading--side .text-link { margin-top: 18px; }
.occasion-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.occasion-card { position: relative; min-width: 0; height: 330px; overflow: hidden; border: 0; border-radius: 46% 46% 24px 24px; padding: 0; background: #d9d0c4; cursor: pointer; box-shadow: 0 16px 38px rgba(18,45,39,.1); }
.occasion-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.occasion-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(4,25,21,.72)); }
.occasion-card span { position: absolute; z-index: 2; right: 14px; left: 14px; bottom: 15px; color: white; font-weight: 700; text-align: center; }

/* Gallery */
.gallery-section { position: relative; overflow: hidden; color: white; background: var(--forest-950); }
.gallery-section::before { content: ""; position: absolute; width: 500px; height: 500px; left: -220px; top: -240px; border: 1px solid rgba(231,161,173,.2); border-radius: 50%; box-shadow: 0 0 0 80px rgba(231,161,173,.025), 0 0 0 160px rgba(231,161,173,.018); }
.section-heading--light { position: relative; }
.section-heading--light .eyebrow { color: var(--blush-light); }
.section-heading--light p { color: rgba(255,255,255,.62); }
.gallery-grid { position: relative; display: grid; grid-template-columns: 1.35fr .8fr .8fr; grid-template-rows: 280px 280px; gap: 12px; }
.gallery-card { position: relative; overflow: hidden; border: 0; border-radius: 22px; padding: 0; background: #173831; color: white; cursor: zoom-in; }
.gallery-card:first-child { grid-row: span 2; }
.gallery-card:nth-child(4) { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s ease; }
.gallery-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(5,24,20,.7)); }
.gallery-card span { position: absolute; z-index: 2; right: 16px; left: 16px; bottom: 12px; font-size: .75rem; text-align: right; opacity: 0; transform: translateY(8px); transition: .25s ease; }

/* Services, about, contact */
.services-section { background: var(--ivory); }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { min-height: 245px; padding: 30px 27px; border-left: 1px solid var(--line); }
.service-card:last-child { border-left: 0; }
.service-card > span { color: var(--blush); font-size: 2.4rem; font-weight: 700; opacity: .8; }
.service-card h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .81rem; }
.about-section { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 670px; background: var(--paper); }
.about-section__visual { position: relative; min-height: 620px; overflow: hidden; border-radius: 0 0 0 120px; }
.about-section__visual img { width: 100%; height: 100%; object-fit: cover; }
.about-section__content { align-self: center; max-width: 640px; padding: clamp(60px,8vw,125px) clamp(35px,7vw,110px); }
.about-section__content > p { margin: 0; color: var(--muted); }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 34px 0; }
.about-stats div { padding-top: 14px; border-top: 1px solid var(--line); }
.about-stats dt { color: var(--wine); font-size: 1.55rem; font-weight: 800; }
.about-stats dd { margin: 3px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.contact-section { color: white; background: linear-gradient(135deg,var(--forest-900),#071c18); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: clamp(30px,5vw,80px); align-items: center; }
.contact-intro .eyebrow { color: var(--blush-light); }
.contact-intro p { color: rgba(255,255,255,.62); }
.contact-list { display: grid; gap: 0; margin: 0; }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list dt { color: rgba(255,255,255,.55); font-size: .76rem; }
.contact-list dd { margin: 0; font-weight: 700; }
.contact-map { min-height: 290px; display: grid; align-content: center; justify-items: center; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 30px; background: rgba(255,255,255,.055); text-align: center; }
.contact-map:has(iframe){display:block;padding:12px}.contact-map iframe{display:block;width:100%;height:240px;border:0;border-radius:19px}.contact-map a{display:inline-block;margin-top:10px;color:#fff;text-decoration:underline}.contact-list dd{overflow-wrap:anywhere}
.contact-map svg { width: 58px; height: 58px; margin-bottom: 14px; fill: none; stroke: var(--blush-light); stroke-width: 1.4; }
.contact-map span { margin-top: 5px; color: rgba(255,255,255,.58); font-size: .72rem; }

/* Footer */
.site-footer { position: relative; padding: 72px 0 22px; color: rgba(255,255,255,.82); background: #041511; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .95fr 1.25fr; gap: clamp(30px,5vw,76px); }
.brand--footer { color: white; }
.footer-brand-block p, .footer-note p, .newsletter p { color: rgba(255,255,255,.5); font-size: .77rem; }
.footer-nav { display: grid; align-content: start; gap: 7px; }
.footer-nav strong, .footer-note > strong, .newsletter > strong { color: white; margin-bottom: 7px; }
.footer-nav a { color: rgba(255,255,255,.58); font-size: .78rem; }
.newsletter-field { display: flex; border-bottom: 1px solid rgba(255,255,255,.28); }
.newsletter-field input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: white; }
.newsletter-field input::placeholder { color: rgba(255,255,255,.36); }
.newsletter-field button { width: 46px; border: 0; background: transparent; color: var(--blush-light); cursor: pointer; font-size: 1.3rem; }
.newsletter-message { margin: 8px 0 0 !important; color: var(--blush-light) !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: .7rem; }

/* Cart */
.panel-overlay { position: fixed; z-index: 1990; inset: 0; background: rgba(3,20,16,.58); opacity: 0; backdrop-filter: blur(3px); transition: opacity .26s ease; }
.panel-overlay.is-open { opacity: 1; }
.cart-drawer { position: fixed; z-index: 2000; inset: 0 auto 0 0; width: min(460px,100%); display: flex; flex-direction: column; border: 0; outline: 0; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 30px 0 90px rgba(2,18,15,.3); transform: translateX(-105%); transition: transform .3s cubic-bezier(.2,.75,.2,1); }
.cart-drawer.is-open { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 25px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { margin: 1px 0 0; font-size: 1.45rem; }
.cart-drawer__head .icon-button { border-color: var(--line); font-size: 1.55rem; }
.demo-alert { margin: 14px 20px 0; padding: 11px 14px; border-radius: 13px; background: #f5ece6; color: var(--wine); font-size: .68rem; line-height: 1.65; }
.cart-items { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 20px; }
.cart-empty { display: grid; place-items: center; min-height: 280px; text-align: center; }
.cart-item { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item > img { width: 96px; height: 112px; border-radius: 14px; object-fit: cover; background: var(--ivory-2); }
.cart-bouquet-preview { border: 1px solid rgba(20,59,51,.08); box-shadow: inset 0 0 20px rgba(255,255,255,.58); }
.cart-item__body { min-width: 0; }
.cart-item h3 { margin: 0; font-size: .85rem; }
.cart-item__details { display: -webkit-box; margin: 3px 0; overflow: hidden; color: var(--muted); font-size: .62rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.cart-item__price { color: var(--wine); font-size: .73rem; }
.cart-item__notes { display: -webkit-box; margin: 5px 0; overflow: hidden; color: var(--ink); font-size: .61rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.cart-item__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cart-item__remove { border: 0; background: none; color: var(--wine); cursor: pointer; font-size: .67rem; }
.cart-item__custom-actions { flex: 1 0 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.cart-item__custom-action { min-height: 30px; border: 1px solid rgba(20,59,51,.13); border-radius: 9px; color: var(--forest-800); background: #f0e9de; cursor: pointer; font-size: .6rem; }
.cart-drawer__footer { padding: 18px 22px 23px; border-top: 1px solid var(--line); background: #f7f2e9; }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.checkout-message { margin: 10px 0 0; color: var(--wine); font-size: .68rem; line-height: 1.55; }

/* Gallery dialog */
.gallery-dialog { width: min(1000px,calc(100% - 30px)); max-width: none; border: 0; border-radius: 28px; padding: 0; color: white; background: #061d18; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.gallery-dialog::backdrop { background: rgba(2,15,12,.82); backdrop-filter: blur(6px); }
.gallery-dialog__frame { position: relative; padding: 16px; }
.gallery-dialog__close { position: absolute; z-index: 4; top: 25px; left: 25px; color: white; background: rgba(5,25,21,.62); font-size: 1.45rem; }
.gallery-dialog figure { margin: 0; }
.gallery-dialog img { width: 100%; max-height: 72vh; border-radius: 19px; object-fit: contain; background: #020c0a; }
.gallery-dialog figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 13px 4px 1px; }
.gallery-dialog figcaption small { color: rgba(255,255,255,.54); }
.gallery-dialog__controls { position: absolute; inset: 50% 26px auto; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.gallery-dialog__controls button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(5,25,21,.6); color: white; cursor: pointer; pointer-events: auto; }

.back-top { position: fixed; z-index: 900; left: 22px; bottom: 22px; width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: white; background: var(--forest-900); box-shadow: 0 12px 30px rgba(5,25,21,.2); opacity: 0; pointer-events: none; transform: translateY(14px); transition: .25s ease; }
.back-top.is-visible, .back-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.toast { position: fixed; z-index: 3000; right: 50%; bottom: 25px; max-width: min(420px,calc(100% - 30px)); padding: 12px 19px; border-radius: 999px; background: var(--forest-950); color: white; box-shadow: var(--shadow); font-size: .78rem; opacity: 0; pointer-events: none; transform: translate(50%,18px); transition: .25s ease; }
.toast.is-visible, .toast.show { opacity: 1; transform: translate(50%,0); }
.noscript-message { position: fixed; z-index: 4000; inset: auto 12px 12px; padding: 12px; border-radius: 12px; background: #fff1d8; color: #5b3215; text-align: center; }

/* Motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .62s ease var(--reveal-delay,0ms), transform .62s cubic-bezier(.2,.72,.2,1) var(--reveal-delay,0ms); }
.reveal.is-visible, .reveal.in-view { opacity: 1; transform: none; }

@media (hover:hover) and (pointer:fine) {
  .button:hover { transform: translateY(-3px); box-shadow: 0 17px 38px rgba(8,35,29,.18); }
  .text-link:hover::after, .text-button:hover::after, .desktop-nav a:hover::after { transform: scaleX(1); }
  .icon-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
  .site-header.is-scrolled .icon-button:hover { background: var(--forest-900); color: white; }
  .flower-choice:hover { border-color: rgba(20,59,51,.25); background: rgba(255,255,255,.9); }
  .builder-option:hover { transform: translateY(-2px); border-color: rgba(20,59,51,.32); }
  .builder-occasion-card:hover img, .occasion-preset:hover img { transform: scale(1.055); }
  .builder-accordion__trigger:hover { background: rgba(255,255,255,.45); }
  .category-tile:hover img, .occasion-card:hover img { transform: scale(1.055); }
  .product-card:hover { transform: perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-7px); box-shadow: 0 25px 58px rgba(18,45,39,.16); }
  .product-card:hover img { transform: scale(1.055); }
  .gallery-card:hover img { transform: scale(1.045); filter: saturate(1.08); }
  .gallery-card:hover span { opacity: 1; transform: none; }
  .footer-nav a:hover { color: white; }
}

@media (max-width: 1160px) {
  :root { --container: 1050px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: .78rem; }
  .builder-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "stage" "controls"; }
  .builder-stage { position: relative; top: auto; }
  .bouquet-canvas { height: 620px; }
  .builder-occasion-grid { grid-template-columns: repeat(7,minmax(132px,1fr)); }
  .flower-picker { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .occasion-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .occasion-card { height: 290px; }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .brand small { display: none; }
  .hero { min-height: 780px; }
  .hero__image { object-position: 36% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(4,20,17,.24), rgba(4,20,17,.88) 78%); }
  .hero__inner { align-items: end; padding-bottom: 78px; }
  .hero__content { width: min(680px,100%); margin: 0; }
  .hero__note { display: none; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-left: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading--split { display: block; }
  .section-heading--split > p { margin-top: 14px; }
  .builder-accordion--occasion .builder-accordion__panel { padding-inline: 14px; }
  .flower-picker { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 250px; }
  .category-tile--wide { grid-row: span 1; }
  .category-tile:first-child { grid-column: span 2; }
  .occasions-layout { grid-template-columns: 1fr; }
  .section-heading--side { max-width: 620px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 220px 220px; }
  .gallery-card:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-card:nth-child(4) { grid-column: span 1; }
  .gallery-card:last-child { grid-column: span 2; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card:nth-child(2) { border-left: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-section { grid-template-columns: 1fr; }
  .about-section__visual { min-height: 480px; border-radius: 0 0 70px 70px; }
  .about-section__content { max-width: 760px; padding-inline: max(32px,8vw); }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .contact-map { grid-column: span 2; min-height: 230px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 72px 0; }
  .site-header .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 1rem; }
  .header-actions { gap: 4px; }
  .icon-button { width: 39px; height: 39px; }
  .header-actions .icon-button svg { width: 18px; }
  .search-panel__inner { display: grid; gap: 5px; padding-block: 12px; }
  .search-panel label { font-size: .74rem; }
  .hero { min-height: 720px; }
  .hero__image { object-position: 27% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(4,20,17,.22) 0%, rgba(4,20,17,.48) 45%, rgba(4,20,17,.94) 100%); }
  .hero__inner { padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.8rem,14vw,4.6rem); }
  .hero__content > p { font-size: .9rem; }
  .hero__actions { gap: 17px; }
  .hero__actions .button { width: 100%; }
  .hero__actions .text-link { margin-inline: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 104px; border-left: 0; border-bottom: 1px solid var(--line); padding: 19px 12px; }
  .trust-item:last-child { border-bottom: 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .about-section h2, .contact-section h2 { font-size: 2.15rem; }
  .builder-section .container { width: min(calc(100% - 16px), var(--container)); }
  .builder-layout { grid-template-columns: 1fr; grid-template-areas: "stage" "controls"; gap: 12px; }
  .builder-stage { min-height: 0; padding: 10px; border-radius: 24px; }
  .bouquet-canvas { height: 500px; border-radius: 19px; }
  .bouquet-stem { width: var(--stem-width,clamp(76px,28%,128px)); height: var(--stem-height,68%); }
  .builder-controls, .builder-accordion--occasion { border-radius: 24px; }
  .builder-controls__head { padding: 19px 15px 15px; }
  .builder-accordion__trigger { min-height: 68px; padding-inline: 14px; }
  .builder-accordion__panel { padding-inline: 14px; }
  .builder-accordion--occasion .builder-accordion__trigger { padding-inline: 14px; }
  .builder-occasion-grid { grid-template-columns: repeat(14,132px); margin-inline: -2px; }
  .occasion-recommendation { align-items: stretch; flex-direction: column; gap: 10px; }
  .occasion-recommendation .button { width: 100%; }
  .flower-picker { grid-template-columns: 1fr 1fr; }
  .builder-options__grid, .builder-options__grid--media { grid-template-columns: 1fr 1fr; }
  .bouquet-wrap { width: min(80%,390px); }
  .bouquet-ribbon { bottom: 12%; width: min(40%,190px); }
  .bouquet-layout-toolbar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bouquet-figure figcaption { font-size: .66rem; }
  .category-gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .category-tile:first-child { grid-column: auto; }
  .category-tile:nth-child(odd) { border-radius: 70px 22px 22px 22px; }
  .category-tile:nth-child(even) { border-radius: 22px 22px 70px 22px; }
  .category-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .category-filters::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card__media { height: 360px; }
  .occasion-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .occasion-card { height: 245px; border-radius: 46% 46% 18px 18px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5,260px); }
  .gallery-card, .gallery-card:first-child, .gallery-card:nth-child(4), .gallery-card:last-child { grid-column: auto; grid-row: auto; }
  .gallery-card span { opacity: 1; transform: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 190px; border-left: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-card h3 { margin-top: 12px; }
  .about-section__visual { min-height: 380px; }
  .about-section__content { padding: 60px 22px 75px; }
  .about-stats { gap: 8px; }
  .about-stats dd { font-size: .62rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map { grid-column: auto; }
  .contact-list div { grid-template-columns: 85px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; gap: 7px; }
  .cart-drawer { width: 100%; }
  .gallery-dialog { width: calc(100% - 16px); border-radius: 20px; }
  .gallery-dialog__frame { padding: 8px; }
  .gallery-dialog__close { top: 16px; left: 16px; }
  .gallery-dialog__controls { inset-inline: 15px; }
  .back-top { left: 13px; bottom: 13px; }
}

@media (max-width: 390px) {
  .header-inner { gap: 8px; }
  .brand { gap: 4px; }
  .brand-mark { width: 32px !important; }
  .header-actions .icon-button { width: 36px; height: 36px; }
  .hero h1 { font-size: 2.8rem; }
  .bouquet-canvas { height: 440px; }
  .flower-picker { grid-template-columns: 1fr; }
  .builder-options__grid { grid-template-columns: 1fr 1fr; }
  .builder-options__grid:not(.builder-options__grid--media) { grid-template-columns: 1fr; }
  .bouquet-wrap { width: 84%; }
  .bouquet-ribbon { width: 42%; }
  .occasion-card { height: 225px; }
  .product-card__media { height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__image { transform: none; }
}
