/* Yangi yil sovğalari. Bahrom aka's palette (red, dark green, white, gold, 2026-11-19): burgundy carries the header
   and the hero, dark green the organisations and the builder's summary, gold the headings and the buttons.
   Headings in Playfair Display, text in Onest.
   Version 3 (his corrections of the same evening): three sections (children, loved ones, organisations), the filter
   panel on the left, the ready sets in three tier rows that scroll sideways. */
:root {
  --wine: #5c1020;
  --wine-2: #7a1a2c;
  --wine-3: #3d0a15;
  --green: #0f3d2e;
  --green-2: #15513d;
  --gold: #d4a94a;
  --gold-2: #f1d9a0;
  --gold-soft: #f7efdc;
  --paper: #ffffff;
  --mist: #f6f1ea;
  --text: #2b2320;
  --muted: #6f625b;
  --line: #e6ddd2;
  --serif: 'Playfair Display', Georgia, serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1360px;
  --gild: linear-gradient(180deg, #f6e3b0 0%, #d4a94a 55%, #b8862c 100%);
  --shadow: 0 1px 0 rgba(92, 16, 32, .06), 0 22px 44px -30px rgba(61, 10, 21, .45);
  --snow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d4a94a' stroke-opacity='.13' stroke-width='1.2'%3E%3Cpath d='M30 18v24M18 30h24M21.5 21.5l17 17M38.5 21.5l-17 17'/%3E%3Cpath d='M90 78v16M82 86h16M84.3 80.3l11.4 11.4M95.7 80.3L84.3 91.7'/%3E%3C/g%3E%3Ccircle cx='96' cy='26' r='1.6' fill='%23d4a94a' fill-opacity='.25'/%3E%3Ccircle cx='24' cy='92' r='1.2' fill='%23d4a94a' fill-opacity='.22'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--body); color: var(--text); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.12; }
h2 { font-size: clamp(28px, 4.4vw, 44px); color: var(--wine); }
h3 { font-size: 20px; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section-lead { max-width: 62ch; margin-top: 10px; color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 14px; background: var(--gold); color: var(--wine); font-weight: 600; border-radius: 10px; }
.skip:focus { top: 12px; }
.loading { color: var(--muted); list-style: none; }
.muted { color: var(--muted); font-size: 14px; }
.link-btn { border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-gold { background: var(--gild); color: #4a0d18; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 22px -12px rgba(184, 134, 44, .9); }
.btn-gold:hover { background: linear-gradient(180deg, #fbebc2 0%, #ddb456 55%, #c19133 100%); }
.btn-gold:disabled { opacity: .55; cursor: not-allowed; }
.btn-line { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn-line:hover { background: var(--gold-soft); }
.btn-wide { width: 100%; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--wine); font-size: 13px; font-weight: 700; }
.price { font-weight: 700; color: #6b4a0f; white-space: nowrap; padding: 2px 10px; border-radius: 999px; background: var(--gold-soft); }

/* Header: the three sections first, as on the hero */
.top { position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 8px; min-height: 62px; padding: 8px max(16px, (100% - var(--wrap)) / 2); background: var(--wine); color: #fff; border-bottom: 1px solid rgba(212, 169, 74, .35); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { position: relative; padding: 8px 0; text-decoration: none; color: var(--gold-2); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="true"] { color: #fff; }
.nav a[aria-current="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); }
/* O‘zb / Рус: the same page in the other language. */
.lang { display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; margin-left: auto; padding: 0 10px; border-radius: 999px; color: var(--gold-2); font-weight: 600; font-size: 15px; text-decoration: none; }
.lang:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--gold); border-radius: 999px; background: transparent; color: #fff; font-weight: 600; cursor: pointer; }
@media (min-width: 1100px) { .nav { display: flex; } .lang { margin-left: 6px; } .cart-btn { margin-left: 6px; } }

/* Search (the owner, 2026-11-20): at the top, as in the shops people know. On a phone it is the header's second row,
   from 760 px it sits in the header's one row, and from 1100 px it shares the row with the menu. */
.search { position: relative; order: 9; flex: 1 1 100%; min-width: 0; }
.search input { width: 100%; height: 42px; padding: 0 44px 0 42px; border: 1.5px solid rgba(212, 169, 74, .55); border-radius: 999px; background: #fff; color: var(--text); font-size: 16px; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: #8b7d75; opacity: 1; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search input:focus { border-color: var(--gold); outline: 3px solid rgba(212, 169, 74, .5); outline-offset: 0; }
.search-icon { position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; color: var(--wine); pointer-events: none; }
.search-clear { position: absolute; right: 3px; top: 3px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.search-clear:hover { background: var(--mist); color: var(--wine); }
.search-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; max-height: min(64vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 18px; background: var(--paper); color: var(--text); box-shadow: 0 0 0 1px var(--line), 0 28px 56px -24px rgba(43, 10, 18, .6); }
.search-group + .search-group { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.search-title { padding: 8px 10px 2px; color: var(--muted); font-size: 13px; font-weight: 600; }
.search-group ul { margin: 0; padding: 0; list-style: none; }
.search-hit { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; }
.search-hit:hover, .search-hit:focus-visible { background: var(--gold-soft); }
.search-hit:focus-visible { outline-offset: -3px; }
.search-hit img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: var(--mist); }
.search-hit b { display: block; font-weight: 600; line-height: 1.3; }
.search-hit small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.search-empty { padding: 14px 12px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* What a result opens is marked for a moment. */
.set-card.flash, .product.flash, .box-card.flash { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold), var(--shadow); }
@media (max-width: 759px) { html { scroll-padding-top: 122px; } }
@media (min-width: 760px) {
  .top { flex-wrap: nowrap; height: 62px; padding-block: 0; }
  .search { order: 0; flex: 1 1 auto; max-width: 560px; margin-left: auto; }
  .search input { height: 40px; }
  .search-icon { top: 10px; }
  .search-clear { top: 2px; }
  .search-panel { min-width: 380px; }
  .lang { margin-left: 0; }
}
@media (min-width: 1100px) {
  .search { flex: 0 1 300px; min-width: 190px; margin-left: 0; }
  .search-panel { left: auto; width: 440px; }
}
/* Until 1280 px the menu keeps the three sections; the sweets and the order status are in the footer too. */
@media (min-width: 1100px) and (max-width: 1279px) { .nav a:nth-child(n + 4) { display: none; } }

/* The shop: hero, filter, why-strip and the sets. Phones: one column, the filter under the hero.
   Wide screens: the filter is a sticky column on the left, beside the hero and the rows. */
.shop { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "side" "main" "why"; }
.hero { grid-area: hero; }
.filters { grid-area: side; }
.gifts { grid-area: main; }
.why { grid-area: why; }
@media (min-width: 1100px) {
  .shop { grid-template-columns: 276px minmax(0, 1fr); grid-template-areas: "side hero" "side why" "side main"; gap: 22px 28px; width: min(var(--wrap), 100% - 48px); margin: 26px auto 0; }
  .filters { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
}

/* Hero: the photo behind, the question and the three paths in front */
.hero { position: relative; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 26px; color: #fff; background: var(--snow), linear-gradient(160deg, var(--wine) 0%, var(--wine-3) 55%, var(--green) 100%); }
.hero-photo { margin-bottom: -40px; }
.hero-photo img { width: 100%; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hero-text { position: relative; padding: 0 20px; }
.hero h1 { max-width: 13ch; font-size: clamp(34px, 8.6vw, 60px); letter-spacing: -0.01em; background: var(--gild); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 14px; max-width: 48ch; color: #f3e6e0; font-size: 17px; }
.ask { margin-top: 22px; font-family: var(--serif); font-size: 22px; color: #fff; }
.paths { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 16px 0; }
.path { display: flex; flex-direction: column; gap: 8px; padding: 7px 7px 11px; border: 1px solid rgba(241, 217, 160, .35); border-radius: 16px; background: rgba(15, 61, 46, .82); text-decoration: none; color: #fff; transition: transform .2s, border-color .2s, box-shadow .2s; }
.path:hover { border-color: var(--gold); transform: translateY(-2px); }
.path.is-on { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 18px 36px -20px rgba(0, 0, 0, .8); }
.path img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.path b { display: block; font-family: var(--serif); font-size: 15px; line-height: 1.2; color: var(--gold-2); }
.path-text > span { display: none; }
@media (min-width: 640px) {
  .paths { gap: 14px; padding: 18px 20px 0; }
  .path { padding: 10px 10px 14px; }
  .path b { font-size: 21px; }
  .path-text > span { display: block; margin-top: 4px; color: #e9ded6; font-size: 14px; }
}
@media (min-width: 1100px) {
  .hero { display: grid; align-content: end; min-height: 620px; padding: 0; border-radius: 28px; box-shadow: 0 40px 80px -50px rgba(61, 10, 21, .9); }
  .hero-photo { position: absolute; inset: 0; margin: 0; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; -webkit-mask-image: none; mask-image: none; }
  .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(61, 10, 21, .96) 0%, rgba(61, 10, 21, .8) 38%, rgba(61, 10, 21, 0) 66%), linear-gradient(0deg, rgba(40, 8, 15, .6) 0%, rgba(40, 8, 15, 0) 42%); }
  .hero-text { padding: 54px 48px 0; max-width: 640px; }
  .hero h1 { font-size: clamp(44px, 4.2vw, 62px); }
  .paths { gap: 16px; padding: 28px 36px 36px; }
  .path img { aspect-ratio: auto; height: 150px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-text > *, .paths { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3), .paths { animation-delay: .16s; }
}
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }

/* Filter panel. Phones: chips that scroll sideways, toifa/narx/tarkib behind a button. Wide screens: a list. */
.filters { margin: 18px 16px 0; padding: 14px 14px 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.filters-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.filters-head h2 { font-size: 22px; }
.found { color: var(--muted); font-size: 14px; }
.fgroup { display: block; min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
.fgroup legend, .fgroup .legend { display: block; margin-bottom: 6px; padding: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.opts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.opts::-webkit-scrollbar { display: none; }
.opt { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--wine); font-weight: 500; cursor: pointer; white-space: nowrap; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt i { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--mist); color: var(--muted); font-size: 12px; font-style: normal; font-weight: 600; text-align: center; }
.opt:has(input:checked) { background: var(--wine); border-color: var(--wine); color: #fff; }
.opt:has(input:checked) i { background: rgba(255, 255, 255, .18); color: #fff; }
.opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt.none { opacity: .5; }
.more-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 0; border: 0; background: none; color: var(--wine); font-weight: 600; cursor: pointer; }
.more-btn::after { content: ''; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.more-btn[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.filters-more { display: none; }
.filters.is-open .filters-more { display: block; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.range label { display: grid; gap: 3px; font-size: 12px; color: var(--muted); }
.range input, .filters select { width: 100%; min-height: 42px; padding: 8px 10px; border: 1.5px solid #d9cfc3; border-radius: 12px; background: #fff; font-size: 15px; }
.range input:focus, .filters select:focus { border-color: var(--wine); outline: 3px solid rgba(212, 169, 74, .45); outline-offset: 0; }
.reset { display: block; margin-top: 8px; color: var(--wine); font-weight: 600; }
@media (min-width: 1100px) {
  .filters { margin: 0; padding: 20px 18px 16px; }
  .opts { flex-direction: column; gap: 2px; overflow: visible; padding: 0; }
  .opt { min-height: 40px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--text); white-space: normal; }
  .opt::before { content: ''; flex: none; width: 16px; height: 16px; border: 1.5px solid #c9bcae; border-radius: 50%; background: #fff; transition: border-width .15s, border-color .15s; }
  .opt:hover { background: var(--mist); }
  .opt i { margin-left: auto; }
  .opt:has(input:checked) { background: var(--gold-soft); color: var(--wine); font-weight: 600; }
  .opt:has(input:checked)::before { border: 5px solid var(--wine); }
  .opt:has(input:checked) i { background: #fff; color: var(--wine); }
  .fgroup { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
  .fgroup legend { float: left; width: 100%; }
  .fgroup legend + * { clear: both; }
  .more-btn { display: none; }
  .filters-more { display: block; }
}

/* Why-strip */
.why { background: var(--snow), var(--green); color: #fff; border-block: 1px solid rgba(212, 169, 74, .35); }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin: 0; padding: 22px 20px; list-style: none; }
.why-list b { display: block; font-family: var(--serif); font-size: 18px; color: var(--gold-2); }
.why-list b::before { content: '✦ '; color: var(--gold); }
.why-list span { font-size: 14px; color: #d8e6df; }
@media (min-width: 900px) { .why-list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .why { border: 1px solid rgba(212, 169, 74, .35); border-radius: 20px; } .why-list { padding: 20px 26px; } }

/* Ready sets: one row per tier, each row a ribbon that scrolls sideways with arrows */
.gifts { padding: 40px 16px 56px; }
@media (min-width: 1100px) { .gifts { padding: 14px 0 64px; } }
.gifts-head { display: grid; gap: 16px; align-items: end; }
@media (min-width: 760px) { .gifts-head { grid-template-columns: minmax(0, 1fr) auto; } }
.gifts h2::after, .catalog h2::after, .faq h2::after, .status h2::after, .company h2::after { content: ''; display: block; width: 72px; height: 2px; margin-top: 14px; background: linear-gradient(90deg, var(--gold), rgba(212, 169, 74, 0)); }
.tabs { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; color: var(--wine); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--wine); color: #fff; }
.panel { margin-top: 26px; }
.corp-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 26px; padding: 16px 18px; border: 1px solid rgba(212, 169, 74, .45); border-radius: 18px; background: var(--snow), var(--green); color: #fff; }
.corp-note p { display: grid; gap: 2px; }
.corp-note b { font-family: var(--serif); font-size: 19px; color: var(--gold-2); }
.corp-note span { color: #d8e6df; font-size: 15px; }
.rows { display: grid; gap: 30px; }
.tier-row { min-width: 0; }
/* The tier: a heading line on phones, a green tile on the left of its row on wider screens. Gold pips: 1, 2, 3. */
.tier-row { display: grid; gap: 10px; }
.tier-tile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; color: var(--muted); font-size: 14px; }
.tier-tile h3 { font-size: 28px; color: var(--wine); }
.tier-tile p:first-of-type { flex-basis: 100%; }
.tile-price { font-weight: 700; color: #6b4a0f; }
.pips { display: inline-flex; gap: 5px; align-self: center; }
.pips i { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
@media (min-width: 900px) {
  .tier-row { grid-template-columns: 196px minmax(0, 1fr); gap: 16px; }
  .tier-tile { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-end; gap: 6px; margin: 4px 0 18px; padding: 22px 20px; border: 1px solid rgba(212, 169, 74, .4); border-radius: 20px; background: var(--snow), linear-gradient(165deg, var(--green-2), var(--green)); color: #d8e6df; box-shadow: var(--shadow); }
  .tier-tile .pips { align-self: flex-start; margin-bottom: auto; }
  .tier-tile h3 { margin-top: 18px; font-size: 32px; color: var(--gold-2); }
  .tier-tile p:first-of-type { flex-basis: auto; }
  .tile-price { color: var(--gold-2); font-size: 16px; }
  .tier-premium .tier-tile { border-color: var(--gold); background: var(--snow), linear-gradient(165deg, var(--wine-2), var(--wine-3)); }
}
/* Arrows on the edges of the row, only where there is more to see. */
/* The cards per screen follow the room the row really has (the filter and the tile take some), not the window. */
.ribbon-wrap { position: relative; min-width: 0; container-type: inline-size; }
.arrow { position: absolute; top: calc(50% - 32px); z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1.5px solid var(--gold); border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--wine); cursor: pointer; box-shadow: 0 12px 26px -12px rgba(61, 10, 21, .55); transition: opacity .2s, transform .2s; }
.arrow.prev { left: -10px; }
.arrow.next { right: -10px; }
.arrow::before { content: ''; width: 11px; height: 11px; margin-left: -5px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); }
.arrow.prev::before { margin: 0 -5px 0 0; transform: rotate(-135deg); }
.arrow:hover { transform: scale(1.06); }
.arrow:disabled, .tier-row.fits .arrow { opacity: 0; pointer-events: none; }
.ribbon { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; margin: 0; padding: 4px 2px 18px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scrollbar-width: none; }
.ribbon::-webkit-scrollbar { display: none; }
.ribbon > li { scroll-snap-align: start; }
@container (min-width: 440px) { .ribbon { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; } }
@container (min-width: 780px) { .ribbon { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@container (min-width: 1080px) { .ribbon { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
.rows .empty { display: grid; justify-items: start; gap: 12px; }
.set-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.set-card:hover { transform: translateY(-3px); border-color: rgba(212, 169, 74, .7); }
.set-card.tier-premium { border: 1.5px solid var(--gold); }
.set-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.set-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.set-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; }
.set-top h4 { font-size: 23px; color: var(--wine); }
.set-card .desc { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 14px; }
.contents summary { cursor: pointer; font-weight: 600; color: var(--wine); font-size: 14px; }
.contents ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.set-buy { margin-top: auto; padding-top: 10px; }
.stepper { display: inline-grid; grid-template-columns: 40px 56px 40px; align-items: center; height: 42px; border-radius: 999px; background: var(--mist); }
.stepper button { height: 42px; border: 0; background: transparent; font-size: 22px; color: var(--wine); cursor: pointer; border-radius: 999px; }
.stepper .qty { width: 100%; height: 34px; border: 0; background: transparent; text-align: center; font-weight: 700; }

/* The builder */
.steps { display: flex; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); color: var(--muted); }
.steps li.step-on { color: var(--wine); }
.steps li.step-on::before { background: var(--wine); color: #fff; }
.box-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.box-card { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 14px; border: 2px solid var(--line); border-radius: 20px; background: var(--paper); cursor: pointer; text-align: left; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.box-card:hover, .box-card[aria-pressed="true"] { border-color: var(--gold); }
.box-card:hover { transform: translateY(-3px); }
.box-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.box-card .price { align-self: flex-start; white-space: normal; } /* "Цена коробки:" may wrap above the sum */
.tier { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--green); color: var(--gold-2); font-size: 12px; font-weight: 700; }
/* minmax(0, ...): a column never grows past the screen to fit a long row of cards or chips (it did on phones). */
.builder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 22px; }
@media (min-width: 960px) { .builder { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .summary { position: sticky; top: 80px; } }
.chips { display: flex; gap: 8px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; }
.chips button { flex: none; min-height: 38px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--wine); font-weight: 500; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.pick-grid, .product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .pick-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pick, .product { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.product:hover { transform: translateY(-3px); border-color: rgba(212, 169, 74, .7); }
.pick img, .product img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pick b, .product b { color: var(--text); font-size: 15px; }
.pick .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.pick .stepper { grid-template-columns: 34px 34px 34px; height: 36px; }
.pick .stepper button { height: 36px; font-size: 20px; }
.pick.full { opacity: .55; }
.summary { padding: 18px; border: 1px solid rgba(212, 169, 74, .35); border-radius: 20px; background: var(--green); color: #fff; box-shadow: 0 30px 60px -36px rgba(10, 42, 32, .9); }
.summary h3 { color: var(--gold-2); }
.summary .muted { color: #cfe0d8; }
.summary img { width: 100%; max-height: 160px; object-fit: contain; margin: 10px 0; background: #fff; border-radius: 12px; }
.summary ul { margin: 8px 0; padding: 0; list-style: none; font-size: 14px; color: #dfeae4; }
.summary li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dashed rgba(241, 217, 160, .25); }
.room { height: 8px; margin: 10px 0 4px; border-radius: 99px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.room i { display: block; height: 100%; background: var(--gold); transition: width .2s; }
.sum-line { display: flex; justify-content: space-between; margin-top: 6px; font-size: 15px; }
.sum-total { display: flex; justify-content: space-between; margin: 10px 0 14px; padding-top: 10px; border-top: 1px solid rgba(241, 217, 160, .4); font-family: var(--serif); font-size: 24px; color: var(--gold-2); }

/* Organisations */
.company { padding: 60px 0 68px; background: var(--snow), linear-gradient(180deg, var(--green) 0%, #0b3226 100%); color: #fff; }
.company h2 { color: var(--gold-2); }
.company .section-lead { color: #d8e6df; }
.tiers { margin-top: 14px; color: var(--gold-2); font-weight: 600; }
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 22px; }
@media (min-width: 980px) { .company-grid { grid-template-columns: minmax(0, 1fr) 480px; align-items: start; } .company-grid .card { position: sticky; top: 80px; } }
.corp-sets { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.corp-sets li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid rgba(241, 217, 160, .3); border-radius: 16px; background: rgba(255, 255, 255, .06); transition: border-color .3s, box-shadow .3s; }
.corp-sets li.flash { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 169, 74, .45); }
/* The tariffs above the organisations' sets (Bahrom aka, 2026-11-19). */
.corp-tier-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.tier-tab { display: grid; gap: 2px; justify-items: start; align-content: start; min-height: 64px; padding: 10px 14px; border: 1.5px solid rgba(241, 217, 160, .35); border-radius: 16px; background: rgba(255, 255, 255, .06); color: #fff; text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s; }
.tier-tab:hover { border-color: var(--gold); }
.tier-tab b { font-family: var(--serif); font-size: 19px; color: var(--gold-2); }
.tier-tab small { color: #d8e6df; font-size: 13px; }
.tier-tab .pips i { width: 7px; height: 7px; }
.tier-tab .chosen { margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--gold); color: #4a0d18; font-size: 12px; font-style: normal; font-weight: 700; }
.tier-tab[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.tier-tab[aria-pressed="true"] b { color: var(--wine); }
.tier-tab[aria-pressed="true"] small { color: var(--muted); }
/* An organisation's own designs under the ready sets, and the number of copies in the builder. */
.corp-list { display: grid; gap: 16px; align-content: start; }
.corp-custom { display: grid; gap: 10px; }
.corp-custom h3 { margin-top: 6px; color: var(--gold-2); font-size: 22px; }
.corp-custom .btn-line { border-color: var(--gold); color: var(--gold-2); }
.corp-custom .btn-line:hover { background: rgba(241, 217, 160, .1); }
.corp-sets .custom img { object-fit: contain; background: #fff; }
.row-actions { display: flex; gap: 14px; margin-top: 2px; color: var(--gold-2); font-size: 14px; }
.copies { display: grid; gap: 6px; margin: 4px 0 6px; color: #dfeae4; font-size: 14px; font-weight: 600; }
.copies .qty-input { width: 100%; min-height: 44px; padding: 6px 12px; border: 1.5px solid rgba(241, 217, 160, .5); border-radius: 12px; background: #fff; color: var(--text); font-weight: 700; font-size: 18px; }
#copies-total { margin: 0 0 12px; color: var(--gold-2); font-weight: 600; }
.summary .over { margin: 8px 0 4px; padding: 8px 10px; border-radius: 10px; background: rgba(161, 38, 15, .35); color: #ffe3dc; font-size: 14px; font-weight: 600; }
.corp-sets img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.corp-sets b { display: block; color: var(--gold-2); font-family: var(--serif); font-size: 18px; }
.corp-sets small { color: #d8e6df; }
.corp-sets .qty-input { width: 92px; min-height: 42px; padding: 6px 10px; border: 1.5px solid rgba(241, 217, 160, .5); border-radius: 12px; background: #fff; color: var(--text); text-align: center; font-weight: 700; }
.card { padding: 22px; border-radius: 22px; background: var(--paper); color: var(--text); box-shadow: var(--shadow); }
.card h3 { color: var(--wine); margin-bottom: 12px; }
.total-line { margin: 8px 0 12px; color: var(--green); font-weight: 700; }

/* Forms */
.form { display: grid; gap: 10px; }
.field { display: grid; gap: 5px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 600; font-size: 14px; color: var(--wine); padding: 0; }
.field i { color: var(--muted); font-style: normal; font-weight: 400; }
.form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #d9cfc3; border-radius: 12px; background: #fff; font-size: 16px; }
.form input[type="file"] { display: block; width: 100%; max-width: 100%; min-width: 0; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--wine); outline: 3px solid rgba(212, 169, 74, .45); outline-offset: 0; }
.row2 { display: grid; gap: 10px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.phone { display: flex; }
.phone > span { display: grid; place-items: center; padding: 0 10px; border: 1.5px solid #d9cfc3; border-right: 0; border-radius: 12px 0 0 12px; background: var(--mist); font-weight: 600; }
.form .phone input { border-radius: 0 12px 12px 0 !important; }
.segmented { display: flex; gap: 8px; flex-wrap: wrap; }
.segmented label { position: relative; flex: 1 1 auto; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 44px; padding: 0 12px; border: 1.5px solid #d9cfc3; border-radius: 12px; font-weight: 500; }
.segmented input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wine); }
.offer { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: var(--mist); }
.note { font-size: 14px; color: var(--muted); }
.error { color: #a1260f; font-size: 14px; font-weight: 500; }
.error:empty { display: none; }

/* Catalogue of sweets */
.catalog { padding: 56px 0 72px; background: var(--mist); }
.catalog .chips { margin-top: 20px; }
.product .meta { color: var(--muted); font-size: 13px; }
.product .desc { font-size: 13px; color: var(--muted); }
.product .price { align-self: flex-start; margin-top: auto; }

/* Questions and order status */
.faq { padding: 60px 0; background: var(--paper); }
.faq-wrap, .status-wrap { display: grid; gap: 22px; }
@media (min-width: 960px) { .faq-wrap, .status-wrap { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 4px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.faq-list details[open] { border-color: rgba(212, 169, 74, .8); }
.faq-list summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 19px; color: var(--wine); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--gold); font-family: var(--body); font-size: 24px; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { padding: 0 0 16px; color: var(--muted); }
.status { padding: 60px 0 72px; background: var(--mist); }
.status-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.status-steps li { padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--muted); font-size: 14px; font-weight: 600; }
.status-steps li.done { background: #e4efe9; color: var(--green); }
.status-steps li.now { background: var(--green); color: var(--gold-2); }
.status-note { margin-top: 12px; font-weight: 600; color: var(--wine); }

/* Footer */
.foot { padding: 44px 0 56px; background: var(--snow), linear-gradient(180deg, var(--wine-3), #2a0710); color: #fff; }
.foot-wrap { display: grid; gap: 22px; }
.foot h2 { color: var(--gold-2); font-size: 26px; }
.contacts { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 17px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.foot-nav a { color: var(--gold-2); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.credits { max-width: 62ch; color: #c9b3ab; font-size: 13px; }
@media (min-width: 900px) { .foot-wrap { grid-template-columns: 1fr 1fr 1fr; align-items: end; } }

/* Cart sheet and modals */
dialog { border: 0; padding: 0; color: var(--text); }
dialog::backdrop { background: rgba(40, 8, 15, .55); }
.sheet { width: min(560px, 100%); height: 100%; max-height: 100%; margin: 0 0 0 auto; padding: 18px 18px 28px; overflow-y: auto; background: var(--paper); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sheet h3 { margin: 18px 0 4px; color: var(--wine); }
.x { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--mist); font-size: 24px; cursor: pointer; }
.cart-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cart-item { padding: 12px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.cart-item .top-line { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.cart-item .small { font-size: 13px; color: var(--muted); }
.cart-item .actions { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.cart-total { display: flex; justify-content: space-between; margin: 14px 0 4px; font-family: var(--serif); font-size: 24px; color: var(--wine); }
.empty { padding: 18px; border-radius: 14px; background: var(--mist); color: var(--muted); }
.modal { width: min(440px, 100% - 32px); padding: 28px 24px; border-radius: 22px; text-align: center; }
.modal svg { width: 64px; height: 64px; margin: 0 auto 10px; }
.modal h2 { font-size: 26px; }
.modal p { margin-top: 8px; }
.modal-actions { display: grid; gap: 10px; margin-top: 18px; }
.modal .btn { margin-top: 16px; }
.track { display: flex; justify-content: center; gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.track li::before { content: ''; display: block; width: 14px; height: 14px; margin: 0 auto 6px; border-radius: 50%; background: var(--line); }
.track li.on { color: var(--green); font-weight: 700; }
.track li.on::before { background: var(--green); }
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 0 8px 0 18px; border: 1px solid rgba(212, 169, 74, .6); border-radius: 999px; background: var(--wine); color: #fff; font-size: 15px; box-shadow: 0 16px 34px -16px rgba(40, 8, 15, .8); cursor: pointer; }
.cart-bar b { padding: 10px 16px; border-radius: 999px; background: var(--gild); color: #4a0d18; }
@media (min-width: 1100px) { .cart-bar { display: none !important; } }
.leave-empty { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* The page that is not there (404.html), in both languages. */
.lost { display: grid; align-content: center; min-height: 72vh; padding: 60px 0; }
.lost h1 { font-size: clamp(32px, 6vw, 52px); color: var(--wine); }
.lost-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
