/* Flower Shop design system — «Цветы от Ромео». Desktop 1440 / mobile 390. */

:root {
  --forest: #2e4a27;
  --forest-dark: #24391f;
  --forest-soft: #e8efe3;
  --cream: #f7f6f2;
  --cream-dark: #f1efe9;
  --paper: #ffffff;
  --ink: #1b1f1a;
  --muted: #6f746b;
  --line: #e4e2dc;
  --line-strong: #cfd3c9;
  --pink: #fdeaee;
  --pink-strong: #f9d9e0;
  --rose: #d9536f;
  --gold: #f4c531;
  --danger: #b3261e;
  --success-bg: #e6f0e1;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --shadow: 0 18px 40px rgb(27 31 26 / .12);
  --shell: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}
body.has-dialog { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote, address { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
::placeholder { color: #9a9e95; }
:focus-visible { outline: 3px solid #c9a24c; outline-offset: 2px; }

.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.visually-hidden { position: absolute; 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; top: 10px; left: 10px; z-index: 60; padding: 12px 16px; background: var(--forest); color: #fff; border-radius: var(--radius-sm); transform: translateY(-160%); }
.skip-link:focus-visible { transform: translateY(0); }
.icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; }
.icon-sm { width: 18px; height: 18px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.centered { text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-family: var(--serif); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.text-link { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-link:hover { color: var(--forest); }
.muted-link { font-weight: 400; color: var(--muted); }
.danger-link { color: var(--danger); }
.required { color: var(--rose); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-badge { display: inline-block; padding: 5px 10px; border-radius: 20px; background: #fff3d6; color: #7a4d0b; font-size: 12px; font-weight: 700; }
.demo-notice { padding: 14px 16px; border-radius: 12px; background: #fff8ec; color: #6a4a12; font-size: 13px; line-height: 1.5; }

/* Buttons */
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.button:active { transform: translateY(1px); }
.button-primary { background: var(--forest); color: #fff; }
.button-primary:hover { background: var(--forest-dark); }
.button-secondary { border-color: var(--forest); color: var(--forest); background: #fff; }
.button-secondary:hover { background: var(--forest-soft); }
.button-light { background: #fff; color: var(--ink); border-color: #fff; }
.button-light:hover { background: var(--cream); }
.button-outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.button-outline:hover { border-color: var(--forest); }
.button-danger { background: var(--danger); color: #fff; }
.button-block { width: 100%; }
.button-lg { min-height: 52px; font-size: 16px; }
.button-sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.icon-button:hover { border-color: var(--forest); color: var(--forest); }
.icon-button.is-saved { color: var(--rose); border-color: var(--pink-strong); }
.icon-button-primary { background: var(--forest); color: #fff; border-color: var(--forest); border-radius: 50%; }
.icon-button-primary:hover { color: #fff; background: var(--forest-dark); }
.icon-button.is-copied { color: var(--forest); border-color: var(--forest); }

/* Forms */
.field { display: grid; gap: 7px; margin: 0 0 16px; min-width: 0; }
.field > label, .field-label, .field legend, fieldset.field legend { font-size: 14px; font-weight: 600; }
fieldset.field { border: 0; padding: 0; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, .field .field-value,
.form-grid input:not([type=checkbox]):not([type=radio]), .form-grid select, .form-grid textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  background: #fdfdfb;
  color: var(--ink);
}
.field .field-value { display: block; background: var(--cream); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); background: #fff; outline: none; box-shadow: 0 0 0 3px rgb(46 74 39 / .12); }
.field-error { display: block; color: var(--danger); font-size: 13px; }
.form-errors { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #fff0ed; color: #7a2b21; }
.form-errors ul { padding-left: 18px; list-style: disc; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .field-wide { grid-column: 1 / -1; }
.field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.field-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkbox { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: 0; accent-color: var(--forest); }
.choice { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0; }
.choice input { margin-top: 3px; accent-color: var(--forest); }
.choice-list { border: 0; padding: 0; margin: 0 0 14px; }
.choice-list legend { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
input[type=radio], input[type=checkbox] { accent-color: var(--forest); }

/* Messages */
.message-stack { display: grid; gap: 8px; padding-top: 16px; }
.message { padding: 12px 16px; border-radius: 10px; background: var(--success-bg); color: var(--forest); font-size: 14px; }
.message.error, .message.warning { background: #fff0ed; color: #7a2b21; }
.checkout-alert { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: #fff0ed; color: #7a2b21; }
.checkout-alert p { margin-top: 6px; }
.note-pink, .note-green { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--pink); font-size: 14px; line-height: 1.45; text-align: left; }
.note-green { background: var(--forest-soft); }
.note-pink .icon, .note-green .icon { color: var(--forest); }

/* Service bar */
.service-bar { background: var(--forest); color: #fff; font-size: 15px; }
.service-bar > .shell { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.service-hours { display: flex; align-items: center; gap: 12px; }
.service-hours strong { font-weight: 700; }
.service-contacts { display: flex; align-items: center; gap: 22px; }
.service-contacts a { display: inline-flex; align-items: center; gap: 10px; }
.service-contacts a:hover { color: #d7e3cf; }

/* Header */
.site-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { min-height: 92px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 184px; height: 86px; object-fit: contain; }
.city { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.mobile-disclosure { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-link { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; color: var(--ink); }
.icon-link:hover { color: var(--forest); background: var(--cream); }
.basket-count { position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--forest); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.partner-link { margin-left: 14px; }
.site-search { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: none; width: 360px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.site-search[data-open] { display: flex; }
.no-js .site-search { position: static; display: flex; width: 300px; padding: 0; border: 1px solid var(--line); box-shadow: none; }
.site-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 10px; }
.site-search button { border: 0; background: transparent; color: var(--forest); display: grid; place-items: center; width: 40px; }
.header-row { position: relative; }

/* Footer */
.site-footer { margin-top: 0; background: var(--cream); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1.1fr .9fr 1.5fr; gap: 32px; }
.footer-brand p { margin-top: 10px; max-width: 280px; font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.social-links { display: flex; gap: 12px; margin-top: 22px; }
.social-links a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); }
.social-links a:hover { color: var(--forest); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-family: var(--serif); font-size: 16px; }
.footer-col h2 { font-size: 16px; font-weight: 700; color: #4d5148; margin-bottom: 4px; }
.footer-col a:hover { color: var(--forest); }
.footer-contacts a, .footer-contacts p { display: inline-flex; align-items: center; gap: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-strong); font-family: var(--serif); font-size: 15px; }
.footer-bottom small { font: inherit; }

/* Benefits band */
.benefits { background: #f2f3ee; padding: 30px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit { display: flex; align-items: center; gap: 22px; }
.benefit .icon { width: 56px; height: 56px; color: #45663d; stroke-width: 1.2; }
.benefit h2 { font-size: 18px; font-weight: 700; }
.benefit p { margin-top: 6px; font-family: var(--serif); font-size: 15px; color: #444840; }

/* Mobile bottom nav */
.mobile-bottom-nav { display: none; }

/* Home: categories */
.category-section { padding: 28px 0 22px; }
.category-rail { display: flex; justify-content: space-between; gap: 20px; }
.category-circle { flex: 0 1 132px; text-align: center; min-width: 0; }
.category-circle a { display: grid; justify-items: center; gap: 8px; font-size: 16px; }
.category-image { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; }
.category-circle.is-active .category-image { border: 1.5px solid var(--forest); }
.category-image img { width: 92px; height: 92px; object-fit: contain; }
.category-circle:hover .category-name { color: var(--forest); }

/* Hero carousel */
.hero { position: relative; height: 376px; margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden; background: #ece8dd; }
.hero-slides { position: relative; height: 100%; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .5s; pointer-events: none; }
.hero-slide.is-active { position: relative; min-height: 100%; opacity: 1; pointer-events: auto; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-copy { position: relative; z-index: 1; max-width: 56%; padding: 40px 50px; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(238 233 220 / .96) 0%, rgb(238 233 220 / .92) 38%, rgb(238 233 220 / 0) 66%); }
.hero-slide-pink::before { background: linear-gradient(90deg, rgb(253 234 238 / .98) 0%, rgb(253 234 238 / .9) 40%, rgb(253 234 238 / 0) 68%); }
.hero h1, .hero h2 { font-size: 56px; line-height: 1.12; color: var(--forest); max-width: 560px; }
.hero h2 { font-size: 44px; }
.hero .eyebrow { margin-bottom: 10px; }
.hero-lead { margin: 22px 0 26px; max-width: 420px; font-size: 16px; line-height: 1.5; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: -18px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #c9ccc2; transition: width .2s, background .2s; }
.hero-dots button.is-active { width: 40px; background: var(--forest); }

/* Price shortcuts */
.price-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 46px; }
.price-shortcuts a { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 80px; padding: 16px 20px; border-radius: 12px; background: var(--pink); font-size: 20px; font-weight: 500; }
.price-shortcuts a:hover { background: var(--pink-strong); }
.price-shortcuts .icon { width: 28px; height: 28px; color: var(--forest); }

/* Sections */
.section { padding: 52px 0 0; }
.section-heading { margin: 0 0 26px; }
.section-heading h2 { font-size: 40px; color: var(--forest); }
.flower-rail { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 30px; overflow-x: auto; scrollbar-width: none; }
.flower-rail::-webkit-scrollbar { display: none; }
.flower-rail a { flex: 0 0 auto; display: grid; justify-items: center; gap: 8px; min-width: 100px; font-size: 16px; }
.flower-image { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%; }
.flower-rail a.is-active .flower-image { border: 1.5px solid var(--forest); }
.flower-rail img { width: 84px; height: 84px; object-fit: contain; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.product-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; container-type: inline-size; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-image { display: block; aspect-ratio: .86; background: var(--cream); }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wish-link { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgb(0 0 0 / .12); }
.wish-link button { width: 100%; height: 100%; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; color: inherit; padding: 0; }
.wish-link:hover, .wish-link.is-saved { color: var(--rose); }
.card-dimensions { position: absolute; right: 14px; top: 0; z-index: 2; display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgb(240 240 232 / .78); backdrop-filter: blur(8px); color: var(--forest); font-size: 13px; font-weight: 600; pointer-events: none; transform: translateY(-100%); margin-top: calc((100cqw - 2px) / .86 - 14px); }
.card-dimensions span { display: inline-flex; align-items: center; gap: 8px; }
.product-copy { display: flex; flex-direction: column; padding: 16px 14px 14px; }
.product-copy h3 { font-size: 20px; font-weight: 700; }
.product-copy h3 a:hover { color: var(--forest); }
.product-price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 12px; font-size: 20px; font-weight: 800; }
.old-price { color: var(--muted); font-size: 14px; font-weight: 500; }
.availability { margin: 0 0 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.availability.is-unavailable { color: var(--danger); }
.split-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.split-pay b { color: var(--forest); font-size: 13px; }
.split-pay-badge { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--gold); color: #1b1f1a; font-size: 12px; font-weight: 800; }
.product-card .button { border-radius: 30px; min-height: 40px; font-size: 14px; gap: 6px; }
.product-card .basket-form { margin: 0; }

/* Occasions */
.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.occasion-card { position: relative; min-height: 190px; overflow: hidden; border-radius: 20px; background: var(--cream); }
.occasion-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.occasion-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / .92), rgb(255 255 255 / .25)); }
.occasion-card > div { position: relative; z-index: 1; max-width: 68%; padding: 24px; }
.occasion-card h3 { font-size: 24px; }
.occasion-card p { margin: 8px 0 16px; font-size: 14px; color: #444840; }
.occasion-card .button { min-height: 38px; padding: 6px 16px; font-size: 14px; border-color: var(--line); }

/* Reviews */
.reviews-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { display: flex; gap: 18px; padding: 24px; border-radius: 16px; background: var(--cream); }
.review-avatar { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.review-avatar-placeholder { display: grid; place-items: center; background: #f4a2c8; color: #fff; }
.review figcaption { margin-bottom: 8px; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.review blockquote { font-size: 15px; line-height: 1.5; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 12px; background: var(--cream); padding: 18px 20px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.faq-item summary .icon { color: var(--ink); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* Loyalty banner */
.loyalty-section { padding-top: 40px; }
.loyalty-banner { position: relative; display: flex; align-items: center; min-height: 330px; padding: 40px 32px; border-radius: 20px; overflow: hidden; background: linear-gradient(90deg, #fdeaee 0%, #fdeaee 30%, #fbdfe4 100%); }
.loyalty-banner-media { position: absolute; right: 0; top: 0; width: 70%; height: 100%; object-fit: cover; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.loyalty-banner-copy { position: relative; z-index: 1; max-width: 400px; }
.loyalty-banner h2 { font-size: 36px; line-height: 1.2; }
.loyalty-banner p:not(.eyebrow) { margin: 16px 0 24px; font-family: var(--serif); font-size: 16px; line-height: 1.5; color: #3b3f39; }
.loyalty-banner .button { border-radius: 8px; }

/* Newsletter */
.newsletter-section { padding: 40px 0 70px; }
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; padding: 36px 40px; border-radius: 20px; background: var(--cream); }
.newsletter h2 { font-size: 30px; }
.newsletter > div > p:last-child { margin-top: 10px; color: var(--muted); }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff; }

/* Discovery (catalogue, search) */
.discovery-page, .commerce-page { padding: 34px 0 70px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--forest); }
.discovery-header { margin-bottom: 24px; }
.discovery-header h1, .page-title, .page-head h1 { font-size: 44px; color: var(--forest); }
.discovery-header > p { margin-top: 10px; color: var(--muted); }
.gift-notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--pink); }
.gift-notice .icon { color: var(--forest); }
.budget-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--forest); }
.chip.is-active { background: var(--pink); border-color: var(--pink); color: var(--rose); }
.chip-static { cursor: default; background: var(--pink); border-color: var(--pink); font-weight: 500; min-height: 30px; padding: 4px 12px; font-size: 13px; }
.chip-reset { color: var(--muted); }
.catalogue-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 24px; padding: 14px 18px; border-radius: 12px; background: var(--cream); }
.catalogue-toolbar label { font-size: 14px; }
.catalogue-toolbar input[type=search], .catalogue-toolbar select { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; }
.catalogue-toolbar input[type=search] { flex: 1 1 240px; }
.catalogue-toolbar .button { min-height: 42px; }
.catalogue-count { margin-right: auto; color: var(--muted); font-size: 14px; }
.discovery-product-grid { margin-bottom: 32px; }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 40px 28px; border: 1px solid var(--line); border-radius: 16px; background: #fbfaf7; text-align: center; }
.empty-state h1, .empty-state h2 { font-size: 20px; font-family: var(--sans); font-weight: 700; }
.empty-state h1 { font-size: 32px; font-family: var(--serif); font-weight: 500; }
.empty-state p { color: var(--muted); max-width: 520px; }
.empty-state .eyebrow { margin: 0; }
.error-page .empty-state { margin: 40px auto; max-width: 720px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.pagination .page-link { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; }
.pagination .disabled .page-link { color: var(--muted); border-color: transparent; }

/* Product detail */
.product-detail { padding: 30px 0 60px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); gap: 48px; align-items: start; }
.product-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 24px; align-items: start; }
.gallery-main img { display: block; width: 100%; aspect-ratio: .78; object-fit: cover; border-radius: 12px; background: var(--cream); }
.gallery-thumbs { display: grid; gap: 14px; }
.gallery-thumb { display: block; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--cream); }
.gallery-thumb.is-active { border-color: var(--forest); }
.gallery-thumb img { display: block; width: 100%; aspect-ratio: .87; object-fit: cover; }
.product-summary { padding-top: 4px; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.detail-head h1 { font-size: 36px; }
.detail-price { font-size: 26px; font-weight: 500; font-family: var(--serif); white-space: nowrap; }
.detail-lead { margin: 12px 0; max-width: 380px; color: var(--muted); font-size: 14px; }
.detail-availability { display: inline-flex; margin: 0 0 8px; padding: 5px 10px; border-radius: 99px; background: var(--success-bg); color: var(--forest); font-size: 12px; font-weight: 700; }
.detail-availability.is-unavailable { background: #fff0ed; color: #7a2b21; }
.detail-accordion { margin: 12px 0 20px; border-top: 1px solid var(--line); }
.detail-accordion details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.detail-accordion summary { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 17px; }
.detail-accordion details[open] summary .icon { transform: rotate(180deg); }
.detail-accordion p { margin-top: 8px; color: var(--muted); font-family: var(--serif); font-size: 14px; }
.product-attributes { display: grid; gap: 6px; margin-top: 8px; }
.product-attributes > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.product-attributes dt { color: var(--muted); }
.option-group { border: 0; padding: 0; margin: 0 0 20px; }
.option-group legend { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.size-options { display: flex; flex-wrap: wrap; gap: 12px; }
.size-option { position: relative; cursor: pointer; }
.size-option input { position: absolute; opacity: 0; inset: 0; }
.size-option span { display: grid; justify-items: center; gap: 2px; min-width: 76px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fdfbf7; }
.size-option b { font-size: 17px; }
.size-option small { color: var(--muted); font-size: 12px; }
.size-option input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.size-option input:checked + span small { color: #d9e2d3; }
.size-option input:focus-visible + span { outline: 3px solid #c9a24c; }
.wrap-options { display: flex; flex-wrap: wrap; gap: 14px; }
.wrap-option { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--swatch, #ddd); cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.wrap-option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.wrap-option:has(input:checked) { box-shadow: 0 0 0 2px var(--rose); }
.wrap-option:has(input:focus-visible) { outline: 3px solid #c9a24c; outline-offset: 2px; }
.postcard-toggle { margin: 4px 0 22px; }
.postcard-toggle .checkbox { color: var(--muted); }
.postcard-toggle .checkbox .icon { color: var(--forest); }
.postcard-editor { margin-top: 12px; }
.postcard-editor textarea { width: 100%; min-height: 90px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fdfdfb; resize: vertical; }
.postcard-editor-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 13px; }
.counter { color: var(--muted); font-size: 12px; }
.detail-actions { display: flex; align-items: center; gap: 12px; }
.detail-submit { flex: 1; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.qty-stepper button { width: 40px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); }
.qty-stepper input { width: 40px; height: 44px; border: 0; background: transparent; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wish-button { width: 52px; height: 52px; }
.wishlist-saved-state { display: grid; gap: 8px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--cream); font-size: 14px; }
.wishlist-saved-state p { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.wishlist-saved-state p .icon { color: var(--rose); }
.wishlist-saved-state > div { display: flex; flex-wrap: wrap; gap: 14px; }
.bonus-section { margin-top: 40px; }
.bonus-section h2 { font-size: 24px; margin-bottom: 18px; }
.bonus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bonus { display: flex; align-items: center; gap: 14px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf7; }
.bonus img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; }
.bonus p { font-size: 15px; font-weight: 600; }
.recommend-section { padding-top: 56px; }
.recommend-section .section-heading h2 { font-size: 36px; }

/* Basket */
.basket-page .page-title { margin-bottom: 30px; }
.basket-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 456px; gap: 44px; align-items: start; }
.basket-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted); }
.basket-form { display: grid; gap: 18px; }
.basket-lines { display: grid; gap: 18px; }
.basket-line { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 18px; background: var(--cream); }
.basket-line-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.basket-line-body { display: grid; gap: 12px; align-content: space-between; }
.basket-line-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.basket-line h2 { font-size: 20px; }
.basket-line-meta { margin-top: 6px; color: var(--muted); font-size: 14px; }
.basket-line-options { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.dimension-chip { display: inline-flex; gap: 14px; align-items: center; padding: 6px 12px; border-radius: 10px; background: #e7e9df; color: var(--forest); font-size: 13px; font-weight: 600; white-space: nowrap; }
.dimension-chip span { display: inline-flex; align-items: center; gap: 6px; }
.basket-line .availability { margin: 0; padding: 0; border: 0; }
.postcard-field { position: relative; }
.postcard-field textarea { display: block; width: 100%; min-height: 70px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; resize: vertical; font-size: 14px; }
.postcard-field-actions { display: flex; justify-content: flex-end; gap: 14px; align-items: center; margin-top: 6px; font-size: 12px; }
.basket-line-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.basket-line-price { margin-left: auto; font-size: 20px; font-weight: 800; }
.remove-line { cursor: pointer; }
.remove-line input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.remove-line:has(input:checked) { color: var(--danger); border-color: var(--danger); }
.order-summary { position: sticky; top: 24px; padding: 28px 24px; border-radius: 20px; background: var(--cream); }
.order-summary h2 { font-size: 26px; margin-bottom: 20px; }
.promo-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-bottom: 20px; }
.promo-form input { min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fbfaf7; }
.promo-applied { display: flex; justify-content: space-between; gap: 10px; margin: -8px 0 16px; font-size: 14px; }
.summary-rows { display: grid; gap: 14px; margin: 0; font-size: 16px; }
.summary-rows > div { display: flex; justify-content: space-between; gap: 16px; }
.summary-rows dt { color: var(--muted); }
.summary-rows dd { font-weight: 700; text-align: right; }
.summary-rows-left { margin: 18px 0 22px; text-align: left; }
.summary-total-row { padding-top: 12px; border-top: 1px solid var(--line-strong); font-size: 18px; }
.summary-total-row dt { color: var(--ink); font-weight: 700; }
.order-summary .split-pay { margin: 18px 0; padding: 18px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); font-size: 14px; }
.order-summary .split-pay b { font-size: 16px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0; font-size: 20px; font-weight: 800; }
.summary-total b { font-size: 26px; }
.secure-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.order-summary .button-block { margin-top: 4px; }

/* Checkout */
.checkout-steps { display: flex; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; counter-reset: step; font-size: 14px; color: var(--muted); }
.checkout-steps li { display: flex; align-items: center; gap: 8px; }
.checkout-steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; }
.checkout-steps li.is-current { color: var(--forest); font-weight: 700; }
.checkout-steps li.is-current::before, .checkout-steps li.is-done::before { background: var(--forest); border-color: var(--forest); color: #fff; }
.checkout-steps li + li::after { content: none; }
.checkout-steps li:not(:last-child) { padding-right: 16px; border-right: 1px solid var(--line); }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: 36px; }
.page-head p { margin-top: 8px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fbfaf7; }
.panel + .panel, .panel + .quick-links, .quick-links + .overview-grid, .promo-banner + .quick-links, .panel + .promo-banner, .order-filter + .order-list { margin-top: 24px; }
.panel-narrow { max-width: 620px; }
.panel-muted { background: var(--cream); }
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 24px; }
.panel-title .icon { color: var(--forest); }
.panel-subtitle { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.panel-head h2 { font-size: 26px; flex: 1; }
.panel-head p { margin-top: 4px; }
.panel-head > div { flex: 1; }
.panel-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: var(--rose); flex-shrink: 0; }
.checkout-form { padding: 24px; }
.address-choice, .address-new { padding-bottom: 18px; }
.choice-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 16px; font-weight: 700; cursor: pointer; }
.choice-head input { width: 22px; height: 22px; margin: 0; }
.choice-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: var(--rose); }
.choice-title { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.address-options { display: grid; gap: 12px; padding-left: 34px; }
.address-options.is-muted { opacity: .55; }
.address-option { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.address-option:has(input:checked) { border-color: var(--forest); background: #eef1e8; }
.address-option input { width: 20px; height: 20px; margin: 0; }
.address-option-icon { color: var(--ink); display: grid; place-items: center; }
.address-option-body { flex: 1; display: grid; gap: 2px; }
.address-option-body span { color: var(--muted); font-size: 14px; }
.address-new { border-top: 1px solid var(--line); padding-top: 18px; }
.new-address-fields { padding: 4px 0 0 0; }
.delivery-slots-block { padding: 18px 0 0; border-top: 1px solid var(--line); }
.delivery-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.slot { position: relative; display: block; cursor: pointer; }
.slot input { position: absolute; opacity: 0; inset: 0; }
.slot span { display: grid; place-items: center; min-height: 54px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; }
.slot input:checked + span { background: #e6e8dc; border-color: var(--forest); color: var(--forest); }
.slot input:focus-visible + span { outline: 3px solid #c9a24c; }
.free-delivery-note { display: flex; align-items: center; gap: 16px; margin: 16px 0 22px; padding: 16px 18px; border-radius: 12px; background: var(--pink); }
.free-delivery-note .icon { width: 30px; height: 30px; color: var(--forest); }
.free-delivery-note span { display: grid; }
.free-delivery-note small { color: var(--muted); font-size: 14px; }
.checkout-summary { position: sticky; top: 24px; }
.checkout-summary h2 { font-size: 36px; color: var(--forest); }
.checkout-summary > .muted { margin: 8px 0 20px; }
.summary-items { display: grid; gap: 14px; margin-bottom: 20px; }
.summary-item { display: flex; gap: 14px; padding: 12px; border-radius: 14px; background: var(--cream); }
.summary-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }
.summary-item h3 { font-size: 22px; }
.summary-item .muted { font-size: 14px; }
.summary-note { font-size: 13px; color: var(--forest); margin-top: 4px; }
.summary-price { margin-top: 8px; font-size: 18px; }
.checkout-summary .summary-rows { padding: 18px; border-radius: 14px; background: var(--cream); }
.checkout-summary .summary-total { margin: 14px 0 10px; }
.payment-options { display: grid; gap: 12px; }
.payment-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.payment-option:has(input:checked) { border-color: var(--forest); }
.payment-option input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; }
.payment-option-icon { color: var(--ink); }
.payment-option-body { display: grid; gap: 4px; }
.payment-option-body b { font-size: 16px; }
.payment-option-body small { color: var(--muted); font-size: 14px; }
.payment-amount { font-weight: 700; }
.pay-logos { display: flex; gap: 10px; align-items: center; }
.delivery-line { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; font-size: 14px; }
.preview-panel { display: grid; gap: 20px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row h2, .info-row h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.info-row .text-link { display: inline-block; margin-top: 6px; font-size: 13px; }
.info-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--ink); flex-shrink: 0; }
.preview-submit { margin-top: 6px; }
.guest-checkout { margin-top: 18px; text-align: left; }
.guest-checkout summary { display: block; text-align: center; margin-bottom: 14px; }
.guest-form { padding-top: 6px; }
.status-panel { position: relative; display: grid; justify-items: center; gap: 14px; width: min(100%, 560px); margin: 30px auto; padding: 44px 40px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.status-panel-wide { width: min(100%, 720px); }
.status-panel h1 { font-size: 34px; }
.status-panel > .muted { max-width: 380px; }
.status-illustration { width: 320px; max-width: 100%; }
.check-circle { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--forest); }
.check-circle .icon { width: 30px; height: 30px; }
.petals { position: absolute; pointer-events: none; }
.petals-left { left: 20px; top: 40px; width: 110px; }
.status-panel .note-pink { width: 100%; }
.status-panel .summary-rows { width: 100%; }
.status-panel .installment-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; list-style: none; }
.status-panel .installment-list li { padding: 12px; border-radius: 10px; background: var(--cream); font-weight: 700; }
.demo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.text-page .prose { max-width: 760px; }
.text-page .prose p + p { margin-top: 14px; }

/* Auth */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 800px; }
.auth-photo { width: 100%; height: 100%; min-height: 800px; max-height: 960px; object-fit: cover; object-position: center 30%; }
.auth-content { align-self: center; width: 100%; max-width: 560px; padding: 60px 50px; justify-self: center; }
.auth-content h1 { font-size: 44px; color: var(--forest); margin: 0 0 12px; }
.auth-intro { max-width: 360px; margin-bottom: 26px; color: var(--muted); }
.auth-tabs { display: flex; margin-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
.auth-tabs button, .auth-tabs a { flex: 1; padding: 12px 6px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; font-family: var(--serif); font-size: 17px; color: var(--muted); text-align: center; }
.auth-tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--forest); }
.auth-panel h2 { font-size: 20px; margin-bottom: 18px; }
.js .auth-panel h2 { display: none; }
.phone-field { display: flex; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.phone-prefix { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-right: 1px solid var(--line); background: var(--cream); font-weight: 600; }
.flag-ru { display: inline-block; width: 22px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, #fff 0 33%, #1c4fa1 33% 66%, #d52b1e 66%); box-shadow: 0 0 0 1px #d9d9d9; }
.phone-field input { flex: 1; min-width: 0; min-height: 46px; border: 0; padding: 10px 14px; background: transparent; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-help { margin: 12px 0 18px; color: var(--muted); font-size: 14px; }
.code-inputs { display: flex; gap: 10px; }
.code-inputs input { width: 100%; height: 54px; border: 1px solid var(--line); border-radius: 10px; background: #fdfdfb; text-align: center; font-size: 22px; font-weight: 700; }
.code-input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.resend-form { margin-top: 6px; }
.message + .message { margin-top: 8px; }
.auth-panel .message { margin-bottom: 16px; }

/* Account shell */
.account-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.account-sidebar { display: flex; flex-direction: column; gap: 22px; padding: 26px 16px; border-right: 1px solid var(--line); background: #fff; }
.account-sidebar .brand { padding: 0 8px; }
.account-nav { display: grid; gap: 6px; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 10px 18px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font-size: 16px; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--cream); }
.account-nav a.is-active { background: var(--forest); color: #fff; }
.help-panel { margin-top: auto; display: grid; grid-template-columns: 52px 1fr; gap: 6px 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf7; }
.help-panel img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.help-panel h2 { font-size: 18px; }
.help-panel p { color: var(--muted); font-size: 13px; }
.help-panel .button { grid-column: 1 / -1; margin-top: 8px; }
.account-main { min-width: 0; padding: 26px 26px 60px; }
.account-main .message-stack { padding-top: 0; margin-bottom: 18px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.account-head h1 { font-size: 34px; }
.account-head p { margin-top: 6px; max-width: 640px; }
.account-head-actions { display: flex; gap: 10px; flex-shrink: 0; }
.back-link { margin-bottom: 14px; font-weight: 600; }
.back-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); }
.link-list { display: grid; gap: 10px; font-size: 14px; }
.link-list a { text-decoration: underline; text-underline-offset: 3px; }

/* Loyalty card */
.loyalty-card { display: grid; grid-template-columns: 160px minmax(0, 1fr) 320px; align-items: center; gap: 20px; }
.loyalty-card-logo { justify-self: center; width: 138px; }
.loyalty-card-body { padding: 0 16px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.loyalty-card-body h2 { font-size: 26px; margin-bottom: 6px; }
.stamps { display: flex; justify-content: space-between; gap: 6px; margin-top: 16px; }
.stamp { display: grid; justify-items: center; gap: 6px; }
.stamp img { width: 40px; height: 60px; object-fit: contain; }
.stamp span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 12px; font-weight: 700; }
.stamp.is-done span { background: var(--forest); color: #fff; border-color: var(--forest); }
.gift-aside { display: grid; justify-items: start; gap: 8px; padding-left: 4px; }
.gift-aside img { width: 150px; }
.gift-aside h3 { font-size: 26px; line-height: 1.15; }
.gift-aside .button { margin-top: 6px; }
.promo-banner { position: relative; display: block; border-radius: 16px; overflow: hidden; }
.promo-banner img { display: block; width: 100%; }
.promo-banner .demo-badge { position: absolute; top: 12px; left: 12px; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick-link { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf7; }
.quick-link:hover { border-color: var(--forest); }
.quick-link > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.quick-link b { font-size: 17px; }
.quick-link small { color: var(--muted); font-size: 14px; }
.quick-link-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: var(--rose); flex-shrink: 0; overflow: hidden; }
.quick-link-icon img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.referral-panel, .status-level { position: relative; }
.referral-panel .demo-badge, .status-level .demo-badge { position: absolute; top: 14px; right: 14px; }
.referral-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.referral-head h2 { font-size: 26px; max-width: 260px; }
.referral-panel > .muted { max-width: 330px; }
.referral-media { position: absolute; right: 16px; top: 60px; width: 180px; }
.referral-link { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.referral-link input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 14px; }
.status-head { display: flex; align-items: center; gap: 14px; }
.status-head h2 { font-size: 26px; }
.status-petals { position: absolute; right: 24px; top: 30px; width: 90px; }
.progress-bar { height: 10px; margin: 26px 0 8px; border-radius: 5px; background: #e1e3da; overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: 5px; background: var(--forest); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.levels li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.levels li + li::before { content: "→"; color: var(--line-strong); margin-right: 4px; }
.levels b { display: block; font-family: var(--serif); font-size: 17px; }
.levels small { color: var(--muted); }

/* Settings */
.settings-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.settings-row:last-of-type { border-bottom: 0; }
.settings-row > div { display: grid; gap: 4px; }
.settings-row b { font-size: 16px; }
.settings-row-boxed { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; }
.password-dots { letter-spacing: .2em; color: var(--forest); font-size: 18px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.switch-label { color: var(--muted); font-size: 14px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; width: 48px; height: 28px; border-radius: 14px; background: #cfd3c9; transition: background .2s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked ~ .switch-track { background: var(--forest); }
.switch input:checked ~ .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible ~ .switch-track { outline: 3px solid #c9a24c; }
.settings-form .js-hidden { margin-top: 14px; }
.danger-zone { margin-top: 24px; font-size: 14px; }

/* Address list */
.address-list { display: grid; gap: 12px; }
.address-item { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.address-item-icon { color: var(--ink); }
.address-item-body { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.address-item-body > span.muted { flex-basis: 100%; font-size: 14px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-success { background: var(--success-bg); color: var(--forest); }
.address-item-actions { display: flex; align-items: center; gap: 12px; }
.address-item-actions .text-link { display: inline-flex; align-items: center; gap: 6px; }
.menu { position: relative; }
.menu summary { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.menu summary:hover { background: var(--cream); }
.menu-list { position: absolute; right: 0; top: 100%; z-index: 5; display: grid; min-width: 180px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.menu-list a { padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.menu-list a:hover { background: var(--cream); }

/* Orders */
.order-filter { margin-bottom: 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf7; }
.order-filter summary { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.order-filter-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; margin-top: 14px; }
.order-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.order-list { display: grid; gap: 16px; }
.order-item { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; border-radius: 16px; background: var(--cream); }
.order-item-image img { display: block; width: 132px; height: 132px; object-fit: cover; border-radius: 12px; }
.order-item-body { display: grid; gap: 6px; }
.order-item-body h2 { font-family: var(--sans); font-size: 22px; font-weight: 700; }
.order-item-side { display: grid; justify-items: end; gap: 12px; }
.order-item-price { font-size: 22px; }
.status-badge { display: inline-block; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; background: var(--forest-soft); color: var(--forest); }
.status-badge.is-danger { background: #fde5e5; color: var(--danger); }
.status-badge.is-progress { background: #fff3d6; color: #7a4d0b; }
.order-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 30px; align-items: start; }
.order-main { display: grid; gap: 20px; }
.order-detail-panel { display: grid; gap: 22px; }
.order-lines { display: grid; gap: 18px; }
.order-line { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 16px; }
.order-line-image img { display: block; width: 184px; height: 184px; object-fit: cover; border-radius: 12px; }
.order-line-body { display: grid; gap: 8px; align-content: start; }
.order-line h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; }
.order-line-price { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; font-size: 20px; }
.order-line-actions { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.order-postcard { padding-top: 18px; border-top: 1px solid var(--line); }
.order-postcard-head { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 20px; font-weight: 600; }
.order-postcard-body { display: flex; gap: 20px; align-items: flex-start; }
.order-postcard-body img { width: 210px; border-radius: 12px; }
.order-postcard-text { font-size: 18px; font-weight: 600; white-space: pre-line; }
.order-side { display: grid; gap: 16px; }
.status-note { display: flex; gap: 16px; align-items: flex-start; background: #e8f0e2; border-color: #d3e0cb; }
.status-note.is-danger { background: #fde5e5; border-color: #f6c9c9; }
.status-note.is-progress { background: #fff6e0; border-color: #f2dfae; }
.status-note-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: #fff; flex-shrink: 0; }
.status-note.is-danger .status-note-icon { background: var(--danger); }
.status-note h2 { font-family: var(--sans); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.status-note p + p { margin-top: 10px; }
.timeline { display: grid; gap: 0; position: relative; }
.timeline-step { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: -4px; width: 2px; background: var(--line); }
.timeline-step:last-child::before { display: none; }
.timeline-step.is-done::before { background: var(--forest); }
.timeline-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; color: #fff; flex-shrink: 0; }
.timeline-step.is-done .timeline-dot { background: var(--forest); border-color: var(--forest); }
.timeline-step div { display: grid; gap: 2px; }
.timeline-step .muted { font-size: 14px; }
.courier-row { display: flex; align-items: center; gap: 14px; }
.courier-row > div { flex: 1; display: grid; }

/* Special dates */
.date-list { display: grid; gap: 14px; }
.date-item { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.date-item-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); color: #fff; flex-shrink: 0; }
.date-item-body { flex: 1; display: grid; gap: 2px; font-size: 15px; }
.date-item-body > b { font-size: 17px; }
.date-item-actions { display: flex; gap: 8px; }
.reminders-log { margin-top: 18px; }
.reminders-log summary { font-weight: 600; }

/* Wishlist (account) */
.product-grid-account { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.wishlist-block + .wishlist-block { margin-top: 32px; }
.wishlist-block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.wishlist-block-head h2 { font-size: 24px; }
.wishlist-block-actions { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.wishlist-create-action { margin-top: 24px; }
.wishlist-create-action a { display: inline-flex; align-items: center; gap: 6px; }
.wishlist-product-list { display: grid; gap: 14px; }
.wishlist-product { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.wishlist-product-image img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; }
.wishlist-product-copy h2 { font-size: 22px; }
.wishlist-quantity { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.wishlist-quantity input { width: 90px; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.wishlist-product-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.wishlist-move-form { margin: 0; }
.wishlist-update-form + .wishlist-product-list { margin-bottom: 20px; }
.wishlist-shared { margin: 6px 0 18px; }
.wishlist-shared summary { font-weight: 600; margin-bottom: 8px; }
.claim-form { margin-top: 14px; }
.gift-summary-head { display: flex; align-items: center; gap: 12px; }
.gift-summary-media { display: block; width: 212px; margin: 10px auto; }
.gift-summary h3 { text-align: center; font-size: 26px; }
.gift-summary .note-green, .gift-summary .note-pink { margin-top: 12px; }
.demo-status { margin-bottom: 4px; }

/* Dialogs */
.dialog { padding: 0; border: 0; border-radius: 20px; background: transparent; max-width: min(96vw, 560px); width: 100%; }
.dialog-wide { max-width: min(96vw, 1240px); }
.dialog::backdrop { background: rgb(60 66 56 / .55); backdrop-filter: blur(6px); }
.dialog-panel { position: relative; padding: 32px; border-radius: 20px; background: #fff; }
.dialog-center { display: grid; justify-items: center; text-align: center; gap: 10px; }
.dialog-center h2 { font-size: 30px; }
.dialog-center .dialog-form { width: 100%; text-align: left; margin-top: 16px; }
.dialog-center > .text-link { margin-top: 8px; }
.dialog-center form { width: 100%; }
.dialog-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: #fff; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.dialog-head h2 { font-size: 30px; }
.dialog-head .muted { margin-top: 6px; }
.dialog-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); flex-shrink: 0; }
.dialog-close:hover { background: var(--line); }
.dialog-media { display: block; width: 100%; height: 140px; object-fit: cover; object-position: center 55%; border-radius: 12px; margin-bottom: 18px; }
.dialog-actions { display: flex; gap: 12px; margin-top: 8px; }
.dialog-actions .button { flex: 1; }
.dialog-form .field-grid, .dialog-form .form-grid { margin: 0; }
.loyalty-dialog { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 32px; border-radius: 20px; background: linear-gradient(90deg, #fff 0%, #fdf2f4 100%); overflow: hidden; }
.loyalty-dialog > .dialog-close { position: absolute; top: 16px; right: 16px; z-index: 2; background: #fff; }
.loyalty-dialog-copy h2 { font-size: 32px; line-height: 1.2; margin-bottom: 10px; }
.loyalty-dialog-copy h2 em { font-style: normal; color: var(--rose); }
.loyalty-dialog-copy h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; margin: 22px 0 12px; }
.loyalty-dialog-copy .note-pink { margin: 18px 0; }
.loyalty-dialog-copy .centered { display: block; margin-top: 16px; text-align: center; }
.loyalty-dialog-media { align-self: stretch; width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center; border-radius: 16px; }
.steps-list { display: grid; gap: 10px; }
.steps-list li { display: flex; align-items: center; gap: 12px; }
.steps-list span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); font-weight: 700; flex-shrink: 0; }
.postcard-dialog { padding: 32px; }
.postcard-dialog-body { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 28px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.chip-row .chip.is-active { background: var(--pink); color: #b21f3c; border-color: var(--pink); }
.postcard-variants { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 22px; }
.postcard-variant { position: relative; display: grid; gap: 6px; padding: 16px 40px 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf7; cursor: pointer; }
.postcard-variant input { position: absolute; opacity: 0; inset: 0; }
.postcard-variant:has(input:checked) { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.postcard-variant-radio { position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; border: 2px solid var(--line-strong); border-radius: 50%; }
.postcard-variant input:checked ~ .postcard-variant-radio { border-color: var(--forest); background: radial-gradient(circle, var(--forest) 45%, #fff 50%); }
.postcard-variant b { font-size: 15px; }
.postcard-variant small { color: var(--muted); font-size: 13px; }
.postcard-custom { padding-top: 22px; border-top: 1px solid var(--line); }
.postcard-custom h3 { font-size: 22px; margin-bottom: 12px; }
.postcard-custom textarea { width: 100%; min-height: 110px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fbfaf7; resize: vertical; }
.postcard-custom .counter { display: block; text-align: right; margin-top: 4px; }
.postcard-dialog .dialog-actions { justify-content: flex-end; margin-top: 18px; }
.postcard-dialog .dialog-actions .button { flex: 0 0 auto; }
.postcard-preview-frame { position: relative; border-radius: 16px; overflow: hidden; }
.postcard-preview-frame img { display: block; width: 100%; }
.postcard-preview-label { position: absolute; top: 14px; left: 14px; padding: 8px 14px; border-radius: 20px; background: #fff; font-weight: 600; font-size: 14px; }
.postcard-preview-text { position: absolute; left: 10%; right: 8%; top: 27%; min-height: 42%; display: grid; align-content: center; gap: 10px; padding: 22px 18px; border-radius: 6px; background: rgb(253 240 240 / .96); box-shadow: 0 6px 20px rgb(120 40 60 / .15); text-align: center; font-family: "Lora", Georgia, serif; font-style: italic; color: #a33b57; }
.postcard-preview-text b { font-size: 26px; }
.postcard-preview-text span { font-size: 17px; }
.postcard-preview .muted { margin-top: 12px; }

/* Responsive: tablet */
@media (max-width: 1100px) {
  .shell { width: calc(100% - 40px); }
  .hero h1 { font-size: 44px; }
  .hero h2 { font-size: 36px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-image { width: 88px; height: 88px; }
  .category-image img { width: 74px; height: 74px; }
  .flower-rail a { min-width: 82px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .basket-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
  .loyalty-card { grid-template-columns: 1fr; }
  .loyalty-card-body { border: 0; padding: 0; }
  .overview-grid { grid-template-columns: 1fr; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .account-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .postcard-dialog-body { grid-template-columns: 1fr; }
  .postcard-preview { max-width: 420px; }
  .loyalty-dialog { grid-template-columns: 1fr; padding: 28px; }
  .loyalty-dialog-media { display: none; }
  .partner-link { display: none; }
}

/* Responsive: mobile (design 390px) */
@media (max-width: 759px) {
  body { font-size: 15px; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .shell { width: calc(100% - 32px); }
  .service-bar { font-size: 14px; }
  .service-bar > .shell { min-height: 54px; justify-content: center; }
  .service-contacts { display: none; }
  .site-header { position: sticky; top: 0; z-index: 30; }
  .header-row { min-height: 84px; gap: 10px; }
  .brand-logo { width: 150px; height: 70px; }
  .city { margin-left: auto; font-size: 16px; }
  .mobile-disclosure { display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; }
  .js .site-search,.js .header-actions{display:none}
  .js .site-search[data-open], .js .header-actions[data-open] { display: flex; }
  .js .site-search[data-open] { position: absolute; left: 0; right: 0; top: 100%; width: auto; border-radius: 0 0 16px 16px; }
  .js .header-actions[data-open] { position: absolute; left: 0; right: 0; top: calc(100% + 66px); z-index: 30; justify-content: space-around; padding: 10px; background: #fff; border-bottom: 1px solid var(--line); }
  .no-js .header-row { flex-wrap: wrap; }
  .no-js .site-search { width: 100%; }
  .no-js .header-actions { width: 100%; justify-content: space-around; margin: 0; }
  .search-toggle, .partner-link { display: none; }
  .mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-around; padding: 10px 8px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .97); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .mobile-bottom-nav a { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 64px; color: #757b71; font-size: 13px; }
  .mobile-bottom-nav a[aria-current="page"] { color: var(--forest); font-weight: 700; }
  .mobile-bottom-nav .basket-count { top: -6px; right: 10px; }
  .category-section { padding: 16px 0 12px; }
  .category-rail { justify-content: flex-start; gap: 16px; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .category-rail::-webkit-scrollbar { display: none; }
  .category-circle { flex: 0 0 96px; }
  .category-circle a { font-size: 14px; }
  .category-image { width: 96px; height: 96px; }
  .category-image img { width: 82px; height: 82px; }
  .hero { height: auto; min-height: 200px; margin-top: 8px; border-radius: 18px; }
  .hero-slides { height: auto; }
  .hero-copy { max-width: 70%; padding: 18px 16px; }
  .hero h1 { font-size: 24px; }
  .hero h2 { font-size: 21px; }
  .hero .eyebrow { display: none; }
  .hero-lead { margin: 8px 0 12px; font-size: 13px; line-height: 1.35; }
  .hero .button { min-height: 40px; padding: 8px 16px; font-size: 14px; }
  .hero-media { object-position: 60% center; }
  .hero-slide::before { background: linear-gradient(90deg, rgb(238 233 220 / .92) 0%, rgb(238 233 220 / .82) 50%, rgb(238 233 220 / 0) 80%); }
  .hero-slide-pink::before { background: linear-gradient(90deg, rgb(253 234 238 / .95) 0%, rgb(253 234 238 / .85) 50%, rgb(253 234 238 / 0) 80%); }
  .hero-dots { bottom: -16px; }
  .price-shortcuts { gap: 10px; margin-top: 34px; }
  .price-shortcuts a { min-height: 46px; padding: 8px 6px; gap: 6px; font-size: 13px; }
  .price-shortcuts .icon { display: none; }
  .section { padding-top: 34px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: 30px; }
  .flower-rail { justify-content: flex-start; gap: 18px; margin-inline: -16px; padding: 0 16px 6px; }
  .flower-rail a { min-width: 74px; font-size: 13px; }
  .flower-image { width: 74px; height: 74px; }
  .flower-rail img { width: 62px; height: 62px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .product-card { border-radius: 16px; }
  .product-image { aspect-ratio: .82; }
  .product-copy { padding: 12px 10px 10px; }
  .product-copy h3 { font-size: 17px; }
  .product-price { font-size: 17px; margin: 6px 0 8px; }
  .old-price { font-size: 12px; }
  .split-pay { font-size: 12px; }
  .split-pay b { display: block; width: 100%; font-size: 15px; }
  .product-card .button { font-size: 14px; min-height: 40px; }
  .wish-link { width: 36px; height: 36px; top: 10px; right: 10px; }
  .card-dimensions { font-size: 11px; padding: 7px 8px; right: 10px; margin-top: calc((100cqw - 2px) / .82 - 10px); }
  .occasion-grid { display: flex; gap: 12px; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .occasion-card { flex: 0 0 84%; scroll-snap-align: start; }
  .reviews-rail { grid-template-columns: 1fr; gap: 14px; }
  .review { padding: 18px 16px; }
  .faq-item summary { font-size: 16px; }
  .faq-item { padding: 14px 16px; }
  .loyalty-section { padding-top: 30px; }
  .loyalty-banner { min-height: 0; padding: 28px 24px 30px; }
  .loyalty-banner-media { width: 60%; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
  .loyalty-banner-copy { max-width: 75%; }
  .loyalty-banner h2 { font-size: 28px; }
  .loyalty-banner p:not(.eyebrow) { font-size: 15px; }
  .newsletter-section { padding: 30px 0 40px; }
  .newsletter { grid-template-columns: 1fr; padding: 24px 20px; }
  .newsletter h2 { font-size: 26px; }
  .newsletter-form { flex-direction: column; }
  .benefits { padding: 26px 0; }
  .benefits-grid { grid-template-columns: 1fr; gap: 22px; }
  .site-footer { padding: 40px 0 24px; }
  .footer-grid { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
  .footer-brand { display: grid; justify-items: center; }
  .footer-brand .brand-logo { width: 220px; height: 100px; }
  .footer-brand p { max-width: 320px; font-size: 18px; }
  .footer-col:not(.footer-contacts) { display: none; }
  .footer-contacts { align-items: center; font-size: 18px; gap: 18px; }
  .footer-contacts h2 { font-size: 18px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; font-size: 16px; }
  .discovery-page, .commerce-page { padding: 24px 0 44px; }
  .discovery-header h1, .page-title, .page-head h1 { font-size: 34px; }
  .catalogue-toolbar { padding: 12px; }
  .catalogue-count { width: 100%; }
  .catalogue-toolbar select { flex: 1 1 100%; min-width: 0; }
  .catalogue-toolbar .button { width: 100%; }
  .product-detail { padding: 18px 0 40px; }
  .product-gallery { grid-template-columns: minmax(0, 1fr) 64px; gap: 12px; }
  .gallery-thumbs { gap: 8px; }
  .detail-head h1 { font-size: 26px; }
  .detail-price { font-size: 24px; }
  .detail-lead { max-width: none; }
  .size-options { display: grid; grid-template-columns: 1fr 1fr; }
  .size-option span { grid-auto-flow: column; justify-content: center; align-items: baseline; gap: 8px; }
  .detail-actions { flex-wrap: wrap; }
  .qty-stepper { order: 2; }
  .detail-submit { order: 1; flex: 1 1 60%; }
  .wish-button { order: 3; }
  .bonus-section h2 { font-size: 22px; }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bonus { flex-direction: column; align-items: flex-start; }
  .bonus img { width: 100%; height: 110px; }
  .bonus p { font-size: 14px; }
  .recommend-section { padding-top: 40px; }
  .recommend-section .section-heading h2 { font-size: 26px; }
  .basket-layout, .checkout-layout { grid-template-columns: 1fr; gap: 24px; }
  .basket-head { margin-bottom: 14px; }
  .basket-line { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .basket-line-image img { aspect-ratio: 1; }
  .basket-line-top { flex-direction: column; gap: 8px; }
  .basket-line h2 { font-size: 17px; }
  .basket-line-actions { gap: 8px; }
  .basket-line-price { width: 100%; margin-left: 0; }
  .order-summary, .checkout-summary { position: static; padding: 22px 18px; }
  .order-summary h2 { font-size: 24px; }
  .checkout-summary h2 { font-size: 30px; }
  .summary-item img { width: 100px; height: 100px; }
  .summary-item h3 { font-size: 18px; }
  .checkout-steps { font-size: 12px; gap: 6px; }
  .checkout-steps li:not(:last-child) { padding-right: 8px; }
  .checkout-form { padding: 18px 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field-grid, .field-grid-2 { grid-template-columns: 1fr; }
  .address-options { padding-left: 0; }
  .address-option { flex-wrap: wrap; }
  .address-option-icon { display: none; }
  .address-option-body { flex: 1 1 60%; }
  .address-option .text-link { margin-left: auto; }
  .delivery-slots { grid-template-columns: 1fr 1fr; }
  .status-panel { padding: 34px 20px; margin: 10px auto; }
  .status-panel h1 { font-size: 30px; }
  .petals-left { left: 8px; top: 24px; width: 80px; }
  .status-panel .installment-list { grid-template-columns: repeat(2, 1fr); }
  .auth-layout { grid-template-columns: 1fr; min-height: 0; }
  .auth-photo { height: 300px; min-height: 0; max-height: 300px; object-position: center 35%; }
  .auth-content { max-width: none; padding: 26px 16px 40px; }
  .auth-content h1 { font-size: 36px; }
  .account-shell { display: block; min-height: 0; }
  .account-sidebar { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .account-sidebar .brand { display: none; }
  .account-nav { width: 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav a, .account-nav button { flex: 0 0 auto; min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .account-nav .icon { width: 18px; height: 18px; }
  .help-panel { display: none; }
  .account-main { padding: 20px 16px 40px; }
  .account-head { flex-direction: column; gap: 12px; }
  .account-head h1 { font-size: 28px; }
  .panel { padding: 18px 16px; border-radius: 14px; }
  .panel-head { flex-wrap: wrap; }
  .panel-head h2 { font-size: 22px; }
  .panel-head .button { width: 100%; }
  .stamps { flex-wrap: wrap; gap: 8px 4px; justify-content: flex-start; }
  .stamp { flex: 0 0 18%; }
  .stamp img { width: 32px; height: 48px; }
  .loyalty-card-logo { width: 110px; }
  .gift-aside { justify-items: center; text-align: center; padding: 0; }
  .quick-links { grid-template-columns: 1fr; }
  .referral-media, .status-petals { display: none; }
  .referral-panel .demo-badge, .status-level .demo-badge { position: static; display: inline-block; margin-bottom: 12px; }
  .referral-head h2, .status-head h2 { font-size: 22px; }
  .levels { grid-template-columns: 1fr; }
  .levels li + li::before { content: none; }
  .settings-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .settings-row-boxed { flex-direction: row; align-items: center; }
  .address-item { flex-wrap: wrap; }
  .address-item-actions { width: 100%; justify-content: flex-end; }
  .order-filter-form { grid-template-columns: 1fr; }
  .order-item { grid-template-columns: 96px minmax(0, 1fr); }
  .order-item-image img { width: 96px; height: 96px; }
  .order-item-body h2 { font-size: 18px; }
  .order-item-side { grid-column: 1 / -1; grid-template-columns: 1fr auto; justify-items: start; align-items: center; }
  .order-item-side .button { grid-column: 1 / -1; width: 100%; }
  .order-line { grid-template-columns: 110px minmax(0, 1fr); }
  .order-line-image img { width: 110px; height: 110px; }
  .order-line h3 { font-size: 17px; }
  .order-postcard-body { flex-direction: column; }
  .order-postcard-body img { width: 100%; }
  .wishlist-product { grid-template-columns: 90px minmax(0, 1fr); }
  .wishlist-product-image img { width: 90px; height: 90px; }
  .wishlist-quantity { grid-column: 1 / -1; }
  .wishlist-quantity input { width: 100%; }
  .wishlist-product-actions { grid-column: 1 / -1; }
  .date-item { flex-wrap: wrap; }
  .date-item-actions { width: 100%; justify-content: flex-end; }
  .dialog { max-width: calc(100vw - 24px); }
  .dialog-panel { padding: 24px 18px; }
  .dialog-center h2, .dialog-head h2 { font-size: 26px; }
  .dialog-actions { flex-direction: column; }
  .postcard-dialog { padding: 22px 16px; }
  .postcard-variants { grid-template-columns: 1fr; }
  .postcard-preview-text b { font-size: 22px; }
  .postcard-preview-text span { font-size: 15px; }
  .loyalty-dialog { padding: 22px 18px; }
  .loyalty-dialog-copy h2 { font-size: 28px; }
  .code-inputs { gap: 6px; }
  .code-inputs input { height: 50px; font-size: 20px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 23px; }
  .price-shortcuts a { font-size: 12px; }
  .product-copy h3 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
