/* Ami Flower Studio — soft botanical boutique */

html {
  touch-action: manipulation;
  -ms-touch-action: manipulation;
}

.page-site {
  --ink: #2a332e;
  --soft: #5f6d64;
  --leaf: #4f6b5a;
  --leaf-deep: #3a5244;
  --blush: #c97b84;
  --blush-soft: #e8c4c8;
  --foam: #f4f7f4;
  --mist: #e3ebe4;
  --line: rgba(42, 51, 46, 0.1);
  --white: #ffffff;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Nunito Sans", "Helvetica Neue", sans-serif;
  --header-h: 4.4rem;
  --page-x: clamp(1.2rem, 4.5vw, 3.75rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0.35rem;

  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(232, 196, 200, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(79, 107, 90, 0.08), transparent 50%),
    linear-gradient(180deg, #f8faf7 0%, var(--foam) 40%, var(--mist) 100%);
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  overscroll-behavior-y: none;
  touch-action: manipulation;
}

.page-site *,
.page-site *::before,
.page-site *::after {
  box-sizing: border-box;
}

.page-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-site a {
  color: inherit;
  text-decoration: none;
}

.page-site ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-site h1,
.page-site h2,
.page-site h3,
.page-site p {
  margin: 0;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 var(--page-x);
  padding-top: env(safe-area-inset-top);
  background: transparent;
  color: var(--ink);
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.site-header .logo-wordmark {
  height: 17px;
  width: auto;
  max-width: none;
  /* по умолчанию тёмный логотип для светлых страниц */
  filter: invert(1);
  mix-blend-mode: multiply;
}

.site-header[data-logo="light"] .logo-wordmark {
  filter: none;
  mix-blend-mode: screen;
}

.site-header[data-logo="dark"] .logo-wordmark {
  filter: invert(1);
  mix-blend-mode: multiply;
}

.site-header[data-logo="light"] {
  color: #fff;
}

.site-header[data-logo="dark"] {
  color: var(--ink);
}

.site-header[data-logo="light"] .site-nav,
.site-header[data-logo="light"] .site-nav a,
.site-header[data-logo="light"] .nav-login,
.site-header[data-logo="light"] .nav-register,
.site-header[data-logo="light"] .nav-toggle {
  color: #fff;
}

.site-header[data-logo="dark"] .site-nav,
.site-header[data-logo="dark"] .site-nav a,
.site-header[data-logo="dark"] .nav-login,
.site-header[data-logo="dark"] .nav-register,
.site-header[data-logo="dark"] .nav-toggle {
  color: var(--ink);
}

.site-header[data-logo="light"] .nav-register {
  border-color: #fff;
}

.site-header[data-logo="light"] .nav-register:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.site-header[data-logo="dark"] .nav-register:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav ul {
  display: flex;
  gap: 1.35rem;
}

.site-nav a {
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
  transition: color 0.35s var(--ease), opacity 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-login,
.nav-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0 0.95rem;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.nav-register {
  border: 1px solid currentColor;
  background: transparent;
}

.nav-register:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.3rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.site-header.menu-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blush);
  color: var(--white);
}

.btn-primary:hover {
  background: #b86b74;
}

.btn-soft {
  background: var(--leaf);
  color: var(--white);
}

.btn-soft:hover {
  background: var(--leaf-deep);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--blush);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
  transition: gap 0.3s var(--ease), color 0.25s var(--ease);
}

.text-link:hover {
  gap: 0.65rem;
  color: #b86b74;
}

.text-link-arrow {
  margin-top: 0;
}

.text-link svg {
  transition: transform 0.3s var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* Hero */

.hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: block;
  color: var(--ink);
  overflow: hidden;
  background: #d9cfc3;
}

.hero-spacer {
  height: 100vh;
  height: 100svh;
  height: var(--app-height, 100svh);
  pointer-events: none;
  visibility: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  transform: scale(1.06);
  opacity: 0;
  transition:
    opacity 0.85s var(--ease),
    transform 1.1s var(--ease);
  transition-delay: 0s;
}

.hero-media.is-visible {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0s;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: right center;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: min(100%, 40rem);
  min-height: 100vh;
  min-height: 100svh;
  min-height: var(--app-height, 100svh);
  padding: calc(var(--header-h) + 18svh) var(--page-x) 4rem;
  box-sizing: border-box;
}

.hero-title {
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: clamp(1.7rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0 0 1.25rem;
  color: #fff;
}

.hero-text {
  max-width: 36ch;
  margin: 0;
  padding-top: 0.35rem;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 3.5rem;
}

.hero-title.reveal,
.hero-text.reveal,
.hero-actions.reveal {
  transform: translate3d(0, 28px, 0);
}

.hero-title.reveal.is-visible,
.hero-text.reveal.is-visible,
.hero-actions.reveal.is-visible {
  transform: none;
}

.hero-actions .btn {
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0.2rem;
}

.hero-actions .btn-primary {
  background: #fff;
  color: #3a342e;
  border-color: #fff;
}

.hero-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #2a251f;
}

.hero-actions .btn-soft {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-actions .btn-soft:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */

.section {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-x);
  background: var(--foam);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 0.7rem;
}

.section-head {
  max-width: 34rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head h1,
.section-head h2,
.about-copy h2 {
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

#catalog-title {
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-weight: 600;
}

.section-head p,
.about-copy p {
  color: var(--soft);
  max-width: 38ch;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
}

/* Bouquet grid */

.bouquet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.bouquet-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bouquet-card-link,
.bouquet-grid a {
  display: block;
}

.bouquet-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.85rem;
  transition: transform 0.6s var(--ease);
}

.bouquet-card-link:hover img,
.bouquet-grid a:hover img {
  transform: scale(1.03);
}

.bouquet-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-top: 0.85rem;
}

.bouquet-meta h2,
.bouquet-meta h3 {
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
}

.bouquet-meta span {
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  color: var(--soft);
  font-weight: 600;
  white-space: nowrap;
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.85rem;
  margin-top: 0.15rem;
  padding: 0.65rem 1rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(42, 51, 46, 0.18);
  border-radius: 0.25rem;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(42, 51, 46, 0.04);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-cart::before {
  content: "+";
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
}

.btn-cart:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.btn-cart.is-added {
  background: #c1b5a2;
  border-color: #c1b5a2;
  color: #fff;
}

.btn-cart.is-added::before {
  content: "✓";
  font-size: 0.9rem;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.btn-catalog {
  gap: 0.65rem;
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-catalog svg {
  transition: transform 0.3s var(--ease);
}

.btn-catalog:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-catalog:hover svg {
  transform: translateX(4px);
}

.catalog-categories {
  --cat-bg: #c1b5a2;
  padding:
    calc(var(--header-h) + clamp(0.65rem, 1.5vw, 1.1rem))
    clamp(1.25rem, 5.5vw, 6.75rem)
    clamp(2.5rem, 5vw, 3.75rem);
  background: var(--cat-bg);
}

.catalog-categories-title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.category-bento {
  display: grid;
  grid-template-columns: 1.29fr 1fr 1.35fr;
  grid-template-rows: 1.33fr 1fr;
  gap: clamp(0.9rem, 1.5vw, 1.25rem);
  align-items: stretch;
  max-width: 76rem;
  margin: 0 auto;
  height: min(66vh, 40rem);
  min-height: 30rem;
}

.category-tile {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 1.85rem;
  background: rgba(42, 51, 46, 0.08);
  color: #fff;
}

.category-tile--round {
  grid-column: 1;
  grid-row: 1 / -1;
}

.category-tile--spreading {
  grid-column: 2;
  grid-row: 1;
}

.category-tile--boxes {
  grid-column: 2;
  grid-row: 2;
}

.category-tile--baskets {
  grid-column: 3;
  grid-row: 1 / -1;
}

.category-tile-media {
  position: absolute;
  inset: 0;
  display: block;
}

.category-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.category-tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 2.75rem 1.15rem 1.05rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(20, 24, 22, 0.15) 35%,
    rgba(20, 24, 22, 0.72) 100%
  );
  color: #fff;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.category-tile:hover .category-tile-media img,
.category-tile:focus-visible .category-tile-media img {
  transform: scale(1.04);
}

.category-tile:focus-visible {
  outline: 3px solid rgba(42, 51, 46, 0.35);
  outline-offset: 3px;
}

.catalog-page {
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
}

.catalog-root {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.75rem);
}

.catalog-category {
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.catalog-category-title {
  margin: 0 0 1.25rem;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.catalog-empty {
  margin: 0;
  color: var(--soft);
}

.catalog-page .bouquet-meta h2,
.catalog-page .bouquet-meta h3 {
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-weight: 600;
}

.page-site .site-nav a,
.page-site .nav-login,
.page-site .nav-register {
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
}

/* About */

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
  background: #fff;
}

.about-visual {
  justify-self: end;
  width: 100%;
  max-width: 22rem;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.85rem;
}

/* Delivery */

.delivery {
  background: #fff;
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.68fr) minmax(22rem, 1.32fr);
  gap: clamp(1.25rem, 2.8vw, 2.25rem);
  align-items: stretch;
  max-width: 84rem;
  margin: 0 auto;
}

.delivery-visual {
  min-height: 100%;
}

.delivery-visual img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  border-radius: 1.85rem;
}

.delivery-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.75rem, 4vw, 3rem);
  min-width: 0;
  padding-top: 0.35rem;
}

.delivery .section-head {
  margin-bottom: 0;
  max-width: 36rem;
}

.delivery .eyebrow {
  color: #c1b5a2;
}

.delivery #delivery-title {
  color: #1e1e1e;
}

.delivery .section-head p {
  color: #1e1e1e;
  max-width: 42ch;
  opacity: 0.85;
}

.delivery-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.5rem);
  align-items: stretch;
}

.delivery-list li {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
  min-width: 0;
  aspect-ratio: 250 / 271;
  min-height: 13.5rem;
  padding: 1.35rem 1rem 1.2rem;
  background: #c1b5a2;
  border: 0;
  border-radius: 1.85rem;
  color: #fff;
}

.delivery-icon {
  display: grid;
  place-items: center;
  align-self: center;
  width: 100%;
  min-height: 3.75rem;
}

.delivery-icon img {
  width: clamp(2.6rem, 4.5vw, 3.4rem);
  height: auto;
  max-height: 3.6rem;
  object-fit: contain;
}

.delivery-card-text {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  text-align: left;
}

.delivery-list strong {
  display: block;
  margin: 0;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  overflow-wrap: break-word;
}

.delivery-list .delivery-card-text span {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  line-height: 1.35;
}

/* Contacts */

.contacts-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.contacts-row p {
  display: grid;
  gap: 0.35rem;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
}

.contacts-row span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blush);
}

.contacts-row a:hover {
  color: var(--blush);
}

/* Order */

.order-page {
  padding-top: calc(var(--header-h) + 2.5rem);
}

.order-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  max-width: 64rem;
}

.order-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.order-aside .section-head {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.shop-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.shop-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--soft);
}

.shop-form .full {
  grid-column: 1 / -1;
}

.shop-form input,
.shop-form textarea,
.shop-form select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 5.5rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  border: 0;
  border-radius: calc(var(--radius) - 0.05rem);
  background: transparent;
  color: var(--soft);
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(42, 51, 46, 0.06);
}

.shop-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.shop-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%232a332e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

.shop-form input:focus,
.shop-form textarea:focus,
.shop-form select:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(79, 107, 90, 0.12);
}

.shop-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.2rem;
}

/* Auth */

.page-auth {
  --auth-foam: rgba(255, 248, 246, 0.94);
  --auth-blush: rgba(201, 123, 132, 0.55);
  --auth-leaf: rgba(79, 107, 90, 0.45);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  color: #fff;
  background: #000;
}

.page-auth .site-footer.auth-footer {
  position: relative;
  z-index: 3;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.72);
}

.page-auth .site-footer.auth-footer a {
  color: #fff;
}

.auth-main {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.auth-screen {
  position: relative;
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
}

.auth-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #000;
  pointer-events: none;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 70% at 75% 50%, transparent 20%, rgba(0, 0, 0, 0.35) 70%),
    linear-gradient(
      90deg,
      #000 0%,
      #000 26%,
      rgba(0, 0, 0, 0.78) 46%,
      rgba(0, 0, 0, 0.2) 70%,
      transparent 100%
    );
  pointer-events: none;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    transparent 18%,
    transparent 82%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

.auth-video {
  width: auto;
  height: 115%;
  max-width: none;
  max-height: none;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: right center;
  transform-origin: right center;
  transform: scale(1.04);
  opacity: 0;
  transition: transform 8s var(--ease), opacity 1.4s var(--ease);
  will-change: transform;
}

.page-auth.is-auth-ready .auth-video {
  transform: scale(1);
  opacity: 1;
}

.auth-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.auth-panel {
  position: relative;
  z-index: 3;
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 1.75rem) clamp(1.4rem, 5vw, 4rem) 3rem;
}

.auth-panel-inner {
  width: min(100%, 26rem);
  padding: clamp(1.55rem, 3.2vw, 2.35rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.15rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.035) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.auth-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.auth-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.15rem;
}

.auth-lead {
  margin: 0;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}

.auth-form.shop-form {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.auth-form.shop-form label {
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-form.shop-form .full {
  grid-column: 1 / -1;
}

.auth-form.shop-form input {
  color: #fff;
  caret-color: #fff;
  min-height: 3.05rem;
  border-radius: 0.7rem;
  background: rgba(8, 10, 9, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.auth-form.shop-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.auth-form.shop-form input:hover {
  background: rgba(8, 10, 9, 0.36);
  border-color: rgba(255, 255, 255, 0.3);
}

.auth-form.shop-form input:focus {
  background: rgba(8, 10, 9, 0.42);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 3px rgba(255, 255, 255, 0.1);
  outline: none;
}

.auth-form .password-toggle {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.auth-form .password-toggle:hover,
.auth-form .password-toggle[aria-pressed="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.auth-form.shop-form .btn {
  width: 100%;
  justify-self: stretch;
  margin-top: 0.65rem;
  min-height: 3.15rem;
  border-radius: 0.7rem;
}

.page-auth .auth-form .btn-primary {
  background: #fff;
  color: #171a18;
  border: 1px solid #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-auth .auth-form .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #171a18;
  border-color: rgba(255, 255, 255, 0.9);
}

.auth-switch {
  margin-top: 1.45rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  text-align: center;
}

.auth-switch a {
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.auth-switch a:hover {
  color: var(--blush-soft);
  border-bottom-color: var(--blush-soft);
}

@media (max-width: 980px) {
  .auth-screen {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .auth-visual {
    justify-content: center;
    position: fixed;
  }

  .auth-grain {
    position: fixed;
  }

  .auth-visual::before {
    background:
      radial-gradient(ellipse 70% 55% at 50% 35%, transparent 10%, rgba(0, 0, 0, 0.45) 70%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.78) 100%);
  }

  .auth-video {
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 30%;
    transform: none;
  }

  .page-auth.is-auth-ready .auth-video {
    transform: none;
  }

  .auth-panel {
    width: 100%;
    padding-top: calc(var(--header-h) + 1.35rem);
    padding-bottom: calc(2.75rem + env(safe-area-inset-bottom));
  }
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1.5rem var(--page-x) calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--foam);
  color: var(--soft);
  font-size: 0.92rem;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem clamp(1rem, 4vw, 2rem) calc(1rem + env(safe-area-inset-bottom));
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cookie-banner.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(42, 51, 46, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(42, 51, 46, 0.12);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.cookie-banner-copy {
  flex: 1 1 16rem;
  max-width: 42rem;
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.cookie-banner-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.cookie-btn-primary {
  background: var(--ink);
  color: #fff;
}

.cookie-btn-primary:hover {
  background: #1a211e;
}

.cookie-btn-ghost {
  background: transparent;
  border-color: rgba(42, 51, 46, 0.18);
  color: var(--ink);
}

.cookie-btn-ghost:hover {
  background: rgba(42, 51, 46, 0.05);
}

@media (max-width: 768px) {
  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1 1 auto;
  }
}

.site-footer a {
  font-weight: 700;
  color: var(--ink);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: 0s;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition-delay: var(--reveal-delay, 0s);
}

.delivery-visual.reveal {
  transform: translate3d(-40px, 18px, 0);
}

.delivery .section-head.reveal {
  transform: translate3d(28px, 20px, 0);
}

.delivery-list li.reveal {
  transform: translate3d(0, 36px, 0) scale(0.96);
  transition-duration: 0.7s;
}

.delivery-visual.reveal.is-visible,
.delivery .section-head.reveal.is-visible,
.delivery-list li.reveal.is-visible {
  opacity: 1;
  transform: none;
}

#catalog .section-head.reveal {
  transform: translate3d(0, 32px, 0);
}

#catalog .bouquet-grid .reveal:nth-child(1) {
  --reveal-delay: 0.08s;
  transform: translate3d(-24px, 28px, 0);
}

#catalog .bouquet-grid .reveal:nth-child(2) {
  --reveal-delay: 0.16s;
  transform: translate3d(0, 36px, 0);
}

#catalog .bouquet-grid .reveal:nth-child(3) {
  --reveal-delay: 0.24s;
  transform: translate3d(24px, 28px, 0);
}

#catalog .section-cta.reveal {
  --reveal-delay: 0.2s;
  transform: translate3d(0, 20px, 0);
}

#about .about-copy.reveal {
  transform: translate3d(-36px, 20px, 0);
}

#about .about-visual.reveal {
  --reveal-delay: 0.12s;
  transform: translate3d(36px, 20px, 0);
}

#contacts .section-head.reveal {
  transform: translate3d(0, 28px, 0);
}

#contacts .contacts-row.reveal {
  --reveal-delay: 0.12s;
  transform: translate3d(0, 32px, 0);
}

#catalog .bouquet-grid .reveal.is-visible,
#catalog .section-head.reveal.is-visible,
#catalog .section-cta.reveal.is-visible,
#about .about-copy.reveal.is-visible,
#about .about-visual.reveal.is-visible,
#contacts .section-head.reveal.is-visible,
#contacts .contacts-row.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 960px) {
  .bouquet-grid,
  .contacts-row {
    grid-template-columns: 1fr 1fr;
  }

  .about,
  .order-layout,
  .delivery-layout {
    grid-template-columns: 1fr;
  }

  .about-visual {
    justify-self: start;
    max-width: 22rem;
  }

  .delivery-visual img {
    min-height: 20rem;
    max-height: 26rem;
  }

  .delivery-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .delivery-list li {
    aspect-ratio: auto;
    min-height: 12.5rem;
  }

  .category-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
  }

  .category-tile--round {
    grid-column: 1;
    grid-row: 1;
  }

  .category-tile--spreading {
    grid-column: 2;
    grid-row: 1;
  }

  .category-tile--boxes {
    grid-column: 2;
    grid-row: 2;
  }

  .category-tile--baskets {
    grid-column: 1;
    grid-row: 2;
  }

  .category-tile {
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 768px) {
  .page-site {
    --header-h: 4rem;
  }

  /* Prevent iOS auto-zoom on input focus */
  .page-site input,
  .page-site textarea,
  .page-site select {
    font-size: 16px;
  }

  .hero-content {
    padding-top: calc(var(--header-h) + 12svh);
  }

  .catalog-categories {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
  }

  .catalog-categories-title {
    margin-bottom: 1.35rem;
  }

  .category-bento {
    gap: 0.7rem;
  }

  .category-tile {
    border-radius: 1.25rem;
  }

  .category-tile-label {
    padding: 2.1rem 0.85rem 0.85rem;
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: calc(var(--header-h) + 1.5rem) var(--page-x) 2rem;
    background: var(--foam);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }

  .site-header.menu-open {
    color: var(--ink);
  }

  .site-header.menu-open .logo-wordmark {
    filter: invert(1);
    mix-blend-mode: multiply;
  }

  .site-header.menu-open .site-nav,
  .site-header.menu-open .site-nav a,
  .site-header.menu-open .nav-login,
  .site-header.menu-open .nav-register,
  .site-header.menu-open .nav-toggle {
    color: var(--ink);
  }

  .site-header.menu-open .nav-register {
    border-color: var(--ink);
  }

  .site-header.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
    width: 100%;
  }

  .site-nav ul a {
    display: block;
    padding: 0.7rem;
    font-size: 1.3rem;
    font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
  }

  .nav-auth {
    flex-direction: column;
    width: min(100%, 16rem);
  }

  .nav-login,
  .nav-register {
    width: 100%;
    min-height: 3rem;
  }

  .nav-register {
    background: var(--leaf);
    border-color: var(--leaf);
    color: var(--white);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media img {
    object-position: center 30%;
  }

  /* Catalog — mobile layout from Group 6 */
  .section-bouquets {
    background: #c1b5a2;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: pan-y;
    transform: none;
  }

  .section-bouquets .section-head,
  .section-bouquets .section-cta {
    touch-action: pan-y;
    user-select: none;
  }

  /* Keep cards from "floating"/shifting with leftover reveal transforms */
  .section-bouquets .reveal,
  .section-bouquets .reveal.is-visible,
  #catalog.section-bouquets .section-head.reveal,
  #catalog.section-bouquets .section-cta.reveal,
  #catalog.section-bouquets .bouquet-grid .reveal,
  #catalog.section-bouquets .bouquet-grid .reveal:nth-child(1),
  #catalog.section-bouquets .bouquet-grid .reveal:nth-child(2),
  #catalog.section-bouquets .bouquet-grid .reveal:nth-child(3) {
    opacity: 1;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .section-bouquets .section-head {
    padding: 0 var(--page-x);
    margin-bottom: 1.5rem;
  }

  .section-bouquets .section-head h2 {
    font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
    font-weight: 600;
    color: #fff;
  }

  .section-bouquets .section-head p {
    color: rgba(255, 255, 255, 0.82);
  }

  .section-bouquets .bouquet-grid {
    display: flex;
    grid-template-columns: none;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
    touch-action: pan-x;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14vw;
    padding: 0 14vw 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none;
  }

  .section-bouquets .bouquet-grid::-webkit-scrollbar {
    display: none;
  }

  .section-bouquets .bouquet-grid li {
    flex: 0 0 72vw;
    max-width: 20rem;
    scroll-snap-align: center;
    touch-action: pan-x;
  }

  .section-bouquets .bouquet-grid a,
  .section-bouquets .bouquet-grid img {
    touch-action: pan-x;
    -webkit-user-drag: none;
    user-select: none;
  }

  .section-bouquets .bouquet-grid a:hover img,
  .section-bouquets .bouquet-grid a:active img {
    transform: none;
  }

  .section-bouquets .bouquet-grid img {
    aspect-ratio: 417 / 474;
    border-radius: 1.85rem;
    pointer-events: none;
  }

  .section-bouquets .bouquet-meta {
    margin-top: 0.75rem;
  }

  .section-bouquets .bouquet-meta h3 {
    font-family: "Montserrat Alternates", "Helvetica Neue", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
  }

  .section-bouquets .bouquet-meta span {
    color: rgba(255, 255, 255, 0.82);
  }

  .section-bouquets .section-cta {
    margin-top: 1.75rem;
    padding: 0 var(--page-x);
  }

  .section-bouquets .section-cta .text-link {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.7);
  }

  .section-bouquets .section-cta .text-link:hover {
    color: #fff;
    border-bottom-color: #fff;
  }

  .section-bouquets .section-cta .text-link svg {
    color: #fff;
  }

  .bouquet-grid,
  .delivery-list,
  .contacts-row,
  .shop-form {
    grid-template-columns: 1fr;
  }

  .delivery-list li {
    aspect-ratio: auto;
    min-height: 0;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    align-items: center;
    gap: 0.9rem 1rem;
    padding: 1.1rem 1.05rem;
  }

  .delivery-icon {
    width: 2.75rem;
    min-height: 2.75rem;
  }

  .delivery-icon img {
    width: 2.5rem;
    max-height: 2.5rem;
  }

  .delivery-card-text {
    text-align: left;
  }

  .shop-form .btn {
    width: 100%;
    justify-self: stretch;
  }

  .auth-panel {
    align-items: flex-start;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .auth-form.shop-form {
    grid-template-columns: 1fr;
  }

  .auth-panel-inner {
    padding: 1.35rem 1.2rem 1.45rem;
    border-radius: 1rem;
  }

  .auth-head {
    margin-bottom: 1.45rem;
    padding-bottom: 1.15rem;
  }

  .auth-title {
    margin-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-text,
  .hero-actions,
  .hero-media,
  .reveal,
  .auth-video {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none !important;
    will-change: auto;
  }

  .delivery-visual.reveal,
  .delivery .section-head.reveal,
  .delivery-list li.reveal,
  #catalog .bouquet-grid .reveal,
  #catalog .section-head.reveal,
  #catalog .section-cta.reveal,
  #about .about-copy.reveal,
  #about .about-visual.reveal,
  #contacts .section-head.reveal,
  #contacts .contacts-row.reveal {
    transform: none;
    transition: none;
  }

  .category-tile-media img {
    transition: none;
  }
}

@media (hover: none) {
  .btn:hover,
  .bouquet-grid a:hover img,
  .category-tile:hover .category-tile-media img {
    transform: none;
  }
}
