
    :root {
    --ink: #1E1A16;
    --ink-muted: #6B6259;
    --ink-faint: #8C8176;
    --bg: #FBF6EE;
    --surface: #ffffff;
    --border: #E8DFD2;
    --accent: #CC4A1A;
    --accent-dark: #A83A12;
    --accent-tint: #FFE7DB;
    --topbar-bg: #1F6B3A;
    --topbar-fg: #E8F5E9;
    --hero-bg: #1F6B3A;
    --footer-bg: #17532C;
    --badge-sale-bg: #F2B233;
  }
  body { margin: 0; font-family: 'Manrope', sans-serif; background: var(--bg); color: var(--ink); }
  h1, h2, h3 { font-family: 'Unbounded', sans-serif; margin: 0; }
  a { color: inherit; }
  button { font-family: inherit; }

    .text-muted { color: var(--ink-muted); }
  .text-center { text-align: center; }
  .mt-16 { margin-top: 16px; }
  .mt-24 { margin-top: 24px; }
    .is-hidden { display: none !important; }

    .placeholder { width: 100%; height: 100%; background: var(--bg); display: flex; flex-direction: column;
                 align-items: center; justify-content: center; gap: 8px; padding: 10px; box-sizing: border-box;
                 text-align: center; }
  .placeholder svg { width: 32%; height: 32%; max-width: 56px; max-height: 56px; color: var(--ink-faint); flex-shrink: 0; }
  .placeholder-text { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-muted); max-width: 160px;
                      text-decoration: none; }

  /* Заглушка стоит внутри ссылки-обложки: убираем наследуемое подчёркивание */
  .product-card .thumb { text-decoration: none; }

  /* В миниатюрах (44–128 px) подпись не помещается — оставляем только иконку */
  .hero-order-thumb .placeholder-text,
  .order-icon .placeholder-text,
  .order-item-thumb .placeholder-text,
  .checkout-summary-thumb .placeholder-text,
  .product-gallery-thumb .placeholder-text,
  .partner-card .logo .placeholder-text,
  .cart-row-image .placeholder-text,
  .bundle-tile .thumb .placeholder-text { display: none; }

  /* Крупная галерея товара: иконка и подпись заметнее */
  .product-gallery-main .placeholder { gap: 12px; }
  .product-gallery-main .placeholder svg { width: 72px; height: 72px; max-width: 72px; max-height: 72px; }
  .product-gallery-main .placeholder-text { font-size: 15px; line-height: 21px; max-width: 240px; }

  .wrap { width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; }
    .flash-wrap { padding-top: 16px; }
  .flash { padding: 10px 14px; border-radius: 8px; background: #d7f5df; color: #14532d; }
  .flash-error { background: #fde2e1; color: #7a1712; }
    .flash-warning { background: #fdf0d5; color: #7a5a12; }
  .flash a { color: inherit; font-weight: 700; text-decoration: underline; }
    .loyalty-card .desc { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-muted);
                          display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  /* «Тестовый режим» домена (см. фидбек): невысокая, но заметная плашка сверху.
     position: sticky, а не fixed — плашка занимает место в потоке (не перекрывает
     шапку и не требует подгонять padding-top под её высоту), но при прокрутке
     остаётся прижатой к верху экрана. z-index выше выпадающего меню топбара (50),
     но ниже модалок/лайтбокса (1000+). */
  .test-mode-banner { position: sticky; top: 0; z-index: 950; padding: 10px 16px;
                      background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
                      line-height: 18px; text-align: center; }
  @media (max-width: 560px) {
    .test-mode-banner { font-size: 12px; line-height: 16px; padding: 8px 12px; }
  }

    .topbar { height: 40px; background: var(--topbar-bg); color: var(--topbar-fg); font-size: 13px; position: relative; }
  .topbar .wrap { height: 40px; display: flex; align-items: center; gap: 28px; }
  .topbar .grow { flex-grow: 1; }
  .topbar a { text-decoration: none; color: var(--topbar-fg); }
  .topbar a:hover { text-decoration: underline; }
  .topbar .phone { font-weight: 700; color: #fff; }
  .topbar-links { display: flex; align-items: center; gap: 28px; }
    .topbar-menu-toggle { display: none; width: 28px; height: 28px; flex-shrink: 0; border: 0; background: none;
                         color: var(--topbar-fg); cursor: pointer; align-items: center; justify-content: center; padding: 0; }

  .site-header { background: var(--surface); }
  .site-header .wrap { height: 88px; display: flex; align-items: center; gap: 24px; }
  .site-header .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
  .site-header .logo img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
  .site-header .logo .brand { display: flex; flex-direction: column; line-height: 1; }
  .site-header .logo .brand-name { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 0.01em; color: var(--accent); }
  .site-header .logo .brand-sub { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 10px; letter-spacing: 0.22em; color: #2D7A1F; margin-top: 5px; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
         border-radius: 12px; font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none;
         cursor: pointer; box-sizing: border-box; white-space: nowrap; border: 0; background: var(--accent); color: #fff; }
  .btn:hover { background: var(--accent-dark); }
  .btn.secondary { background: none; border: 1.5px solid var(--border); color: var(--ink); }
  .btn.secondary:hover { background: var(--bg); }
  .btn.on-dark { border: 1.5px solid rgba(255,255,255,.7); background: none; color: #fff; }
  .btn.on-dark:hover { background: rgba(255,255,255,.12); }
  .btn.small { height: 40px; padding: 0 12px; font-size: 14px; }
    .btn.in-cart, .btn.in-cart:hover { background: #2D7A1F; }
  .btn:disabled, .btn[disabled], .btn.is-disabled { background: var(--border); color: var(--ink-muted); cursor: not-allowed; opacity: .8; }
  .btn:disabled:hover, .btn[disabled]:hover { background: var(--border); }
  .btn svg { flex-shrink: 0; }

  .search-form { flex-grow: 1; min-width: 0; display: flex; align-items: center; height: 48px; border: 1.5px solid var(--accent);
                 border-radius: 12px; padding: 0 4px 0 16px; gap: 10px; background: var(--surface); box-sizing: border-box; }
  .search-form input { border: 0; outline: none; flex-grow: 1; font-family: 'Manrope', sans-serif; font-size: 15px;
                        color: var(--ink); background: none; min-width: 0; }
  .search-form input::placeholder { color: var(--ink-faint); }
  .search-form button { width: 40px; height: 40px; border: 0; border-radius: 9px; background: var(--accent); color: #fff;
                         display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
  .search-form button:hover { background: var(--accent-dark); }

  .header-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; flex-shrink: 0; }
  .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 800;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
  .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .cart-icon-wrap { position: relative; display: flex; }
  .cart-badge { position: absolute; top: -4px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box;
                border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: flex;
                align-items: center; justify-content: center; border: 2px solid #fff; }

    main { display: block; }

    .hero-section { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .hero-main { grid-column: span 2; background: var(--hero-bg); border-radius: 28px; padding: 48px; box-sizing: border-box;
               color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column;
               justify-content: space-between; min-height: 284px; }
  .hero-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
  .hero-blob-1 { right: -20px; top: -30px; width: 240px; height: 240px; }
  .hero-blob-2 { right: 120px; bottom: -60px; width: 150px; height: 150px; background: rgba(255,255,255,.06); }
  .hero-text { display: flex; flex-direction: column; gap: 16px; max-width: 380px; position: relative; }
  .hero-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #A6F27A; }
  .hero-eyebrow.accent { color: var(--accent); }
  .hero-text h1 { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
  .hero-text p { margin: 0; font-size: 17px; line-height: 26px; color: #DDF0E0; }
  .hero-cta-row { display: flex; gap: 12px; position: relative; }
  .hero-side { display: flex; flex-direction: column; gap: 24px; }
    .hero-side-card { flex-grow: 1; flex-basis: 0; border-radius: 24px; padding: 24px 28px; box-sizing: border-box;
                     display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
  .hero-side-card.bordered { background: var(--surface); border: 1px solid var(--border); }
  .hero-promo-card { background: #FDF1D6; padding: 28px; justify-content: space-between; }
  .hero-promo-card .title { font-family: 'Unbounded', sans-serif; font-size: 24px; font-weight: 600; }
  .hero-promo-card .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
  .hero-promo-card .desc { font-size: 15px; line-height: 22px; }
  .hero-promo-card .arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
                             display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .hero-last-order-card { justify-content: space-between; gap: 16px; }
  .hero-card-title { font-size: 17px; font-weight: 800; }
  .hero-order-head { display: flex; flex-direction: column; gap: 4px; }
  .hero-order-meta { font-size: 13px; color: var(--ink-muted); }
  .hero-order-row { display: flex; align-items: center; justify-content: space-between; }
  .hero-order-thumbs { display: flex; gap: 6px; }
  .hero-order-thumb { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; overflow: hidden;
                       background: var(--bg); display: block; }
  .hero-order-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hero-repeat-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--accent); color: #fff;
                      display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
  .hero-noorders-card { justify-content: center; gap: 8px; }
  .hero-noorders-card .desc { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
  .section { width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; padding: 28px 0; display: flex; flex-direction: column; gap: 56px; }
    .section.gap-32 { gap: 32px; }
  .section.gap-40 { gap: 40px; }
  .section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .section-head-title { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
  .section-head h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
  .section-head .hint { font-size: 14px; color: var(--ink-muted); font-weight: 500; }
  .section-head .ad-label { font-size: 12px; color: var(--ink-muted); }
  .section-head .see-all { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .section-head .see-all:hover { color: var(--accent); }
    .section-block { display: flex; flex-direction: column; gap: 20px; overflow-x: hidden; }
    .link-btn-muted { border: 0; background: none; padding: 0; font-family: 'Manrope', sans-serif; font-size: 15px;
                     font-weight: 600; color: var(--ink-muted); cursor: pointer; text-decoration: underline;
                     text-underline-offset: 3px; }

    .products-row { display: flex; gap: 16px; }
    .product-card { width: 222px; flex-shrink: 0; box-sizing: border-box; padding: 12px; background: var(--surface);
                  border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
  .product-card .thumb { position: relative; aspect-ratio: 1 / 1; flex-shrink: 0; border-radius: 12px; overflow: hidden;
                          background: var(--bg); display: block; margin-bottom: 4px; }
  .product-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .product-card .badge-sale { position: absolute; top: 8px; left: 8px; height: 24px; padding: 0 8px; border-radius: 8px;
                               background: var(--badge-sale-bg); color: var(--ink); font-size: 12px; font-weight: 800;
                               display: flex; align-items: center; text-decoration: none; }
  .product-card .price { font-size: 20px; font-weight: 800; color: var(--ink); }
  .product-card .price-unit { font-size: 11px; font-weight: 600; color: var(--ink-muted); }
  .product-card .name { font-size: 14px; line-height: 19px; height: 38px; overflow: hidden; color: var(--ink); text-decoration: none; font-weight: 500; }
  .product-card .unit { font-size: 12px; color: var(--ink-muted); }
  .product-card .btn { margin-top: auto; width: 100%; }
    .product-card .atc-widget { margin-top: auto; width: 100%; }
  .product-card .atc-widget .btn { margin-top: 0; }
  .product-card .qty-stepper { width: 100%; box-sizing: border-box; justify-content: space-between; }
  .product-card .qty-stepper input { flex-grow: 1; min-width: 0; }
  .product-card.is-out-of-stock .thumb img { filter: grayscale(.45); opacity: .75; }
  .badge-oos { position: absolute; top: 8px; right: 8px; height: 24px; padding: 0 8px; border-radius: 8px;
               background: rgba(30, 26, 22, .82); color: #fff; font-size: 12px; font-weight: 800;
               display: flex; align-items: center; }
  .product-gallery-main .badge-oos { top: 16px; right: 16px; height: 28px; padding: 0 10px; border-radius: 8px; font-size: 13px; }

    .category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .category-card { min-height: 128px; border-radius: 20px; padding: 20px; box-sizing: border-box; text-decoration: none;
                    color: var(--ink); display: flex; justify-content: space-between; align-items: flex-end; }

  .category-card .label { font-size: 17px; font-weight: 800; line-height: 1.2; max-width: 150px; }
    .category-card .icon { width: 44px; height: 44px; flex-shrink: 0; align-self: flex-start; border-radius: 12px; overflow: hidden; }
  .category-card .icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .catalog-head { display: flex; flex-direction: column; gap: 16px; }
  .title-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  .catalog-title { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
  .catalog-count { font-size: 15px; color: var(--ink-muted); }
  .catalog-products-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
  .filters-aside-head { display: flex; align-items: center; justify-content: space-between; }
  .pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
  .pill { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); color: var(--ink);
          border: 1px solid var(--border); font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600;
          white-space: nowrap; cursor: pointer; flex-shrink: 0; text-decoration: none; display: inline-flex; align-items: center; }
  .pill:hover { border-color: var(--ink-faint); }
  .pill.active { background: var(--hero-bg); color: #fff; border-color: var(--hero-bg); }

  .catalog-layout { display: flex; gap: 32px; align-items: flex-start; }
    .filters-aside { width: 264px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--border);
                    border-radius: 20px; box-sizing: border-box; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
  .filters-aside h2 { margin: 0; font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 600; }
  .filters-aside > form { display: flex; flex-direction: column; gap: 24px; }
    .filters-fields { display: flex; flex-direction: column; gap: 24px; }
  .filters-close-btn { display: none; }
  .filters-aside fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
  .filters-aside legend { font-size: 14px; font-weight: 800; padding: 0; margin-bottom: 8px; }
  .price-range { display: flex; gap: 8px; }
  .price-range input { height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px;
                        background: var(--surface); font-family: 'Manrope', sans-serif; font-size: 15px; color: var(--ink);
                        box-sizing: border-box; width: 100%; }
  .filter-check { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 32px; cursor: pointer; }
  .filter-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }

    .cat-tree { display: flex; flex-direction: column; gap: 2px; }
  .cat-tree-row { display: flex; align-items: center; gap: 4px; }
  .cat-tree-row .filter-check { flex: 1; min-width: 0; }
  .cat-tree-children { margin-left: 24px; padding-top: 2px; display: flex; flex-direction: column; gap: 2px; }
  .cat-tree-children.is-collapsed { display: none; }
  .cat-tree-spacer { width: 20px; height: 20px; flex-shrink: 0; }
  .cat-tree-toggle { width: 20px; height: 20px; flex-shrink: 0; border: none; background: none; padding: 0;
                      cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .cat-tree-toggle::before { content: ''; width: 7px; height: 7px; flex-shrink: 0;
                              border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted);
                              transform: rotate(-45deg); transition: transform .15s; }
  .cat-tree-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }

    #catalog-menu-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1300; }
  #catalog-menu-backdrop.open { display: block; }
  #catalog-menu-panel { position: fixed; top: 0; left: 0; bottom: 0; width: 360px; max-width: 86vw;
                         background: var(--surface); box-shadow: 4px 0 24px rgba(0,0,0,.18);
                         display: flex; flex-direction: column;
                         transform: translateX(-100%); transition: transform .2s ease; }
  #catalog-menu-backdrop.open #catalog-menu-panel { transform: translateX(0); }
  .catalog-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
                        padding: 20px 20px 12px; flex-shrink: 0; }
  .catalog-menu-head h2 { margin: 0; font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 600; }
  #catalog-menu-close { width: 32px; height: 32px; flex-shrink: 0; border: none; background: none; font-size: 16px;
                         cursor: pointer; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
  #catalog-menu-close:hover { background: var(--bg); }
  #catalog-menu-tree { flex: 1; min-height: 0; overflow-y: auto; padding: 0 20px 20px; }
  .cat-menu-link { flex: 1; min-width: 0; padding: 9px 0; font-size: 15px; color: var(--ink); text-decoration: none; }
  .cat-menu-link:hover { color: var(--accent); }
  #catalog-menu-tree > .cat-tree-item > .cat-tree-row .cat-menu-link { font-weight: 700; }
  .filters-actions { display: flex; flex-direction: column; gap: 8px; }
  .filters-actions .btn.text { background: none; color: var(--ink-muted); height: 40px; padding: 0; }
  .filters-actions .btn.text:hover { color: var(--ink); background: none; }

  .filter-toggle-btn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px;
                        border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-family: 'Manrope', sans-serif;
                        font-size: 14px; font-weight: 600; cursor: pointer; flex-shrink: 0; }
  .filter-toggle-btn .count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent); color: #fff;
                               font-size: 11px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

  .sort-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 44px; }
  .sort-bar label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-muted); }
  .sort-bar select { height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 12px;
                      background: var(--surface); font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); }

  .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .product-grid .product-card { width: auto; }
    @media (min-width: 801px) {
    .products-row.spread { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .products-row.spread .product-card { width: auto; }
  }

  .guest-prompt { border-radius: 20px; background: #E5F6D8; padding: 0 32px; min-height: 104px; box-sizing: border-box;
                   display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  .guest-prompt .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); color: #2D7A1F;
                         display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .guest-prompt .text { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
  .guest-prompt .text .title { font-size: 18px; font-weight: 800; }
  .guest-prompt .text .desc { font-size: 15px; }

    #load-more.loading { color: transparent; pointer-events: none; position: relative; }
  #load-more.loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px;
                               margin: -9px 0 0 -9px; border: 2px solid var(--border); border-top-color: var(--accent);
                               border-radius: 50%; animation: spin 0.8s linear infinite; }

    .product-top { display: flex; gap: 48px; align-items: flex-start; }
  .product-gallery { display: flex; gap: 16px; width: 600px; flex-shrink: 0; }
  .product-gallery-thumbs { display: flex; flex-direction: column; gap: 12px; }
  .product-gallery-thumb { width: 88px; height: 88px; padding: 0; border-radius: 14px; border: 1px solid var(--border);
                            background: #FDF1D6; cursor: pointer; overflow: hidden; flex-shrink: 0; }
  .product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .product-gallery-thumb.active { border: 2px solid var(--accent); }
  .product-gallery-main { position: relative; flex-grow: 1; aspect-ratio: 1 / 1; border-radius: 24px; background: #FDF1D6; overflow: hidden; }
  .product-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
  .product-gallery-main .badge-sale { position: absolute; top: 16px; left: 16px; height: 28px; padding: 0 10px; border-radius: 8px;
                                       background: var(--badge-sale-bg); color: var(--ink); font-size: 13px; font-weight: 800;
                                       display: flex; align-items: center; text-decoration: none; }
  .product-gallery-dots { display: none; gap: 6px; justify-content: center; }
  .product-gallery-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: var(--border); cursor: pointer; }
  .product-gallery-dots button.active { width: 18px; background: var(--accent); }

  .product-info { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
  .product-info h1 { font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
  .product-info .sku { font-size: 14px; color: var(--ink-muted); }

  .product-price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                         padding: 24px; display: flex; flex-direction: column; gap: 16px; }
  .product-price-card .price { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
  .product-price-card .price-unit { font-size: 18px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0; }
  .product-price-card .unit { font-size: 13px; color: var(--ink-muted); }
  .product-buy-row { display: flex; gap: 12px; }
  .qty-stepper { display: flex; align-items: center; height: 48px; border: 1px solid var(--border); border-radius: 12px;
                 background: var(--surface); box-sizing: border-box; flex-shrink: 0; }
  .qty-stepper button { width: 44px; height: 46px; border: 0; background: none; cursor: pointer; color: var(--ink);
                         display: flex; align-items: center; justify-content: center; }
  /* Ширина рассчитана на 4 знака («1,24» / «100»): у весовых товаров шаг 0.1 кг, */
  /* и количество вроде 0.3 или 1.2 не должно обрезаться. */
  .qty-stepper input { width: 52px; border: 0; text-align: center; font-family: 'Manrope', sans-serif; font-size: 15px;
                        font-weight: 700; color: var(--ink); background: none; outline: none; }
  .product-buy-row .btn { flex-grow: 1; }

  .product-bundle { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                     padding: 24px 28px; display: flex; align-items: flex-start; justify-content: space-around; gap: 10px; flex-wrap: wrap; }
  .bundle-tile { display: flex; flex-direction: column; gap: 8px; cursor: pointer; position: relative; }
  .bundle-tile input { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
  .bundle-tile .thumb { width: 128px; height: 128px; flex-shrink: 0; border-radius: 16px; background: #FDF1D6; overflow: hidden; }
  .bundle-tile .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .bundle-tile .name-col { display: flex; flex-direction: column; gap: 2px; }
  .bundle-tile .tag { font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: 0.06em; height: 14px; display: block; }
  .bundle-tile .name { font-size: 14px; line-height: 19px; height: 38px; overflow: hidden; font-weight: 500; color: var(--ink); text-decoration: none; }
  .bundle-tile .price { font-size: 17px; font-weight: 800; }
  .bundle-tile .price-unit { font-size: 10px; font-weight: 600; color: var(--ink-muted); }
  .bundle-sep { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: flex; align-items: center;
                justify-content: center; font-size: 22px; font-weight: 700; color: var(--ink-muted); flex-shrink: 0; margin-top: 44px; }
  .bundle-total { flex-grow: 1; max-width: 300px; align-self: stretch; border-radius: 16px; background: var(--bg); padding: 24px;
                   display: flex; flex-direction: column; justify-content: center; gap: 10px; }
  .bundle-total .label { font-size: 14px; color: var(--ink-muted); }
  .bundle-total .sum { font-family: 'Unbounded', sans-serif; font-size: 32px; font-weight: 700; }
  .bundle-total .btn { width: 100%; }

  .product-description { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                          padding: 28px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
                          font-size: 15px; line-height: 24px; }
  .product-description .text { grid-column: span 2; margin: 0; }

    .cart-count-hint { font-size: 15px; color: var(--ink-muted); }
  .cart-empty { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 64px 24px;
                text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .cart-empty p { margin: 0; font-size: 17px; color: var(--ink-muted); max-width: 320px; }
  .cart-empty svg { color: var(--ink-faint); }

  .cart-layout { display: flex; gap: 32px; align-items: flex-start; }
  .cart-list { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; flex-grow: 1; padding: 5px 0; width: 100%; }
  .cart-row { display: flex; align-items: center; gap: 20px; padding: 10px 24px; border-bottom: 1px solid var(--border);
              box-sizing: border-box; }
  .cart-row:last-child { border-bottom: 0; }
  .cart-row-image { position: relative; width: 88px; height: 88px; flex-shrink: 0; border-radius: 12px; background: var(--accent-tint);
                     display: block; overflow: hidden; }
  .cart-row-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .cart-row-image .badge-sale { position: absolute; top: 6px; left: 6px; height: 20px; padding: 0 6px; border-radius: 6px;
                                 background: var(--badge-sale-bg); color: var(--ink); font-size: 11px; font-weight: 800;
                                 display: flex; align-items: center; }
  .cart-row-info { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; min-width: 0; }
  .cart-row-title-row { display: flex; gap: 8px; align-items: flex-start; }
  .cart-row-name { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; flex-grow: 1; }
  .cart-row-name:hover { color: var(--accent); }
  .cart-row-remove { width: 40px; height: 40px; border: 0; background: none; color: var(--ink-muted); display: flex;
                      align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; flex-shrink: 0; }
  .cart-row-remove:hover { background: var(--bg); color: var(--accent); }
  .cart-row-unit { font-size: 13px; color: var(--ink-muted); }
    .cart-row-loyalty { font-size: 12px; font-weight: 600; color: var(--accent); text-decoration: none; }
  .cart-row-loyalty:hover { text-decoration: underline; }
  .cart-row-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; }
  .cart-row-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
  .cart-row-price .final { font-size: 19px; font-weight: 800; }
  .cart-row-price .regular { font-size: 13px; color: var(--ink-muted); text-decoration: line-through; }

  .cart-alert { box-sizing: border-box; padding: 16px 18px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
  .cart-alert strong { display: block; margin-bottom: 6px; }
  .cart-alert-error { background: #FDECEA; border: 1px solid #F3C2BC; color: #8A1C13; }
  .cart-alert-warning { background: #FFF6E0; border: 1px solid #F2D79B; color: #7A5310; }
  .cart-alert-note { margin: 8px 0 0; font-size: 13px; opacity: .85; }
  .cart-unavailable-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
  .cart-unavailable-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .cart-unavailable-name { font-weight: 700; }
  .cart-unavailable-reason { font-size: 13px; opacity: .85; }
  .cart-unavailable-remove { margin-left: auto; border: 0; background: none; padding: 4px 0; font-family: 'Manrope', sans-serif;
                             font-size: 13px; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }
  .cart-row-warning { font-size: 12px; font-weight: 600; color: #8A5A00; }

  .cart-summary { width: 384px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
                  box-sizing: border-box; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-self: flex-start;
                  position: sticky; top: 24px; }
  .cart-summary h2 { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
  .cart-summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; min-height: 28px;
                       align-items: center; color: var(--ink-muted); }
  .cart-summary-row span:last-child { font-weight: 600; color: var(--ink); }
  .cart-summary-row.discount span:last-child { color: var(--accent); }
  .cart-summary-divider { height: 1px; background: var(--border); margin: 4px 0; }
  .cart-summary-total { display: flex; justify-content: space-between; align-items: baseline; }
  .cart-summary-total span:first-child { font-size: 17px; font-weight: 800; }
  .cart-summary-total span:last-child { font-family: 'Unbounded', sans-serif; font-size: 28px; font-weight: 700; }
  .cart-checkout-btn { height: 52px; font-size: 16px; width: 100%; }
  .cart-summary-note { font-size: 13px; line-height: 18px; color: var(--ink-muted); }

    .partner-slider { position: relative; }
    .partner-viewport { overflow: hidden; }
    .partner-track { display: flex; gap: 16px; position: relative; touch-action: pan-y; }
  .partner-card { width: 384px; flex-shrink: 0; box-sizing: border-box; padding: 24px; border-radius: 16px; text-decoration: none;
                  display: flex; align-items: center; gap: 16px; position: relative; }
  .partner-card .body { display: flex; flex-direction: column; gap: 6px; flex-grow: 1; min-width: 0; }
  .partner-card .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: .8; }
  .partner-card .title { font-family: 'Unbounded', sans-serif; font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--ink); }
  .partner-card .desc { font-size: 13px; line-height: 18px; color: var(--ink); }
  .partner-card .logo { width: 76px; height: 76px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center;
                         justify-content: center; overflow: hidden; background: rgba(255,255,255,.5); }
  .partner-card .logo img { width: 100%; height: 100%; object-fit: contain; }

  .slider-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
  .slider-dots .slider-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: var(--border); cursor: pointer; }
  .slider-dots .slider-dot.active { width: 18px; background: var(--accent); }

    .site-footer { margin-top: auto; background: var(--footer-bg); padding: 56px 0 32px; color: #E8F5E9; }
  .site-footer .wrap { display: flex; flex-direction: column; gap: 44px; }
    .site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
  .site-footer .brand-col { display: flex; flex-direction: column; gap: 14px; flex-basis: 100%; }
  .site-footer .brand-col .logo-row { display: flex; align-items: center; gap: 12px; }
  .site-footer .brand-col .logo-row .brand { display: flex; flex-direction: column; line-height: 1; }
  .site-footer .brand-col .logo-circle { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: flex;
                                          align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
  .site-footer .brand-col .logo-circle img { width: 54px; height: 54px; object-fit: contain; }
  .site-footer .brand-col .brand-name { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 22px; color: #FF8A5C; }
  .site-footer .brand-col .brand-sub { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 10px; letter-spacing: 0.22em; color: #A6F27A; margin-top: 5px; }
  .site-footer .brand-col p { margin: 0; font-size: 14px; line-height: 21px; color: #CFE6D3; max-width: 480px; }
  .site-footer .link-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; flex: 1 1 100%; }
  .site-footer .link-col { display: flex; flex-direction: column; gap: 12px; }
  .site-footer .link-col .heading { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #B5D6BC; }
  .site-footer .link-col a, .site-footer .link-col span { color: #E8F5E9; text-decoration: none; font-size: 14px; }
  .site-footer .link-col a:hover { text-decoration: underline; }
  .site-footer .link-col .phone { font-family: 'Unbounded', sans-serif; font-size: 18px; color: #fff; }
  .site-footer .bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px;
                          color: #B5D6BC; border-top: 1px solid #2C6E40; padding-top: 20px; }
  .site-footer .bottom a { color: #B5D6BC; }

    .field { margin-bottom: 14px; }
  .field label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
  input[type=text], input[type=number], input[type=email], input[type=password],
  input[type=date], input[type=time], input[type=tel], input[type=search], input[type=url],
  select, textarea {
    box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 14px; font-family: inherit; background: #fff;
  }
  .field input[type=text], .field input[type=number], .field input[type=email], .field input[type=password],
  .field input[type=date], .field input[type=time], .field input[type=tel], .field input[type=search],
  .field input[type=url], .field select, .field textarea {
    width: 100%;
  }
  .field textarea { min-height: 80px; }
    .breadcrumbs { width: 1200px; max-width: calc(100% - 40px); margin: 20px auto 12px; font-size: 13px; color: var(--ink-muted); padding: 0 0; }
  .breadcrumbs a { text-decoration: none; }

  #modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; }
  #modal-backdrop.open { display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
  #modal-box { background: #fff; border-radius: 12px; max-width: 480px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 24px; position: relative; }
  #modal-close { position: absolute; top: 12px; right: 16px; border: none; background: none; font-size: 20px; cursor: pointer; }
    .sms-code-modal h2 { margin: 0 0 4px; }
  .sms-code-modal .hint { margin: 0 0 20px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
  .sms-code-error { margin: -8px 0 12px; font-size: 13px; color: #C0392B; }
  .sms-code-attempts { margin: 8px 0 0; font-size: 13px; color: var(--ink-muted); }

  #lightbox-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 1100; align-items: center; justify-content: center; }
  #lightbox-backdrop.open { display: flex; }
  #lightbox-backdrop img { max-width: 90vw; max-height: 80vh; }
  #lightbox-backdrop .nav { position: absolute; top: 50%; font-size: 32px; color: #fff; cursor: pointer; padding: 0 20px; user-select: none; }
  #lightbox-prev { left: 0; }
  #lightbox-next { right: 0; }
  #lightbox-close { position: absolute; top: 16px; right: 24px; font-size: 28px; color: #fff; cursor: pointer; }

  #spinner-overlay { display: none; position: fixed; inset: 0; background: rgba(255,255,255,.5); z-index: 2000; align-items: center; justify-content: center; }
  #spinner-overlay.open { display: flex; }
  .gear-spinner { width: 48px; height: 48px; border: 5px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  #confirm-backdrop, #error-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1500; align-items: center; justify-content: center; }
  #confirm-backdrop.open, #error-backdrop.open { display: flex; }
  #confirm-box, #error-box { background: #fff; border-radius: 12px; padding: 20px 24px; max-width: 380px; }
  #confirm-box .actions, #error-box .actions { margin-top: 16px; display: flex; gap: 8px; justify-content: flex-end; }

  #cookie-banner { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; background: var(--ink); color: #fff;
                   padding: 12px 16px; border-radius: 12px; font-size: 13px; z-index: 900; align-items: center; gap: 12px; flex-wrap: wrap; }
  #cookie-banner.open { display: flex; }
  #cookie-banner a { color: #9cf; }

    .checkout-head { width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; padding: 28px 0 0; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
  .checkout-head h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
  .checkout-layout { width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; padding: 24px 0 56px; display: flex; gap: 32px; align-items: flex-start; box-sizing: border-box; }
  .checkout-extra-section { width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; padding: 0 0 40px; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; }
  .checkout-main { flex-grow: 1; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
  .checkout-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                    padding: 28px; display: flex; flex-direction: column; gap: 20px; }
  .checkout-card-head { display: flex; align-items: center; gap: 12px; height: 32px; }
  .checkout-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--hero-bg); color: #fff; font-weight: 800;
                        font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .checkout-card-head h2 { font-size: 20px; font-weight: 600; flex-grow: 1; }
  .checkout-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .checkout-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .ck-stack { display: flex; flex-direction: column; gap: 16px; }
  .ck-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; position: relative; }
  .ck-field input, .ck-field select, .ck-field textarea {
    height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
    font-family: 'Manrope', sans-serif; font-size: 15px; color: var(--ink); box-sizing: border-box; width: 100%; font-weight: 500;
  }
  .ck-field textarea { height: 80px; padding: 12px 16px; resize: none; }
  .ck-suggestions { position: absolute; z-index: 10; top: 100%; left: 0; right: 0; margin-top: 4px; background: var(--surface);
                     border: 1px solid var(--border); border-radius: 12px; max-height: 220px; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .ck-suggestions div { padding: 10px 14px; cursor: pointer; font-size: 14px; }
  .ck-suggestions div:hover, .ck-suggestions div.is-active { background: var(--bg); }
  .ck-option-row { display: flex; gap: 16px; }
  .ck-option-card { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 0 18px; border: 1px solid var(--border);
                     border-radius: 16px; background: var(--surface); box-sizing: border-box; cursor: pointer; flex-grow: 1; flex-basis: 0; }
  .ck-option-card.active { border: 2px solid var(--accent); background: var(--accent-tint); padding: 0 17px; }
  .ck-option-card input[type=radio] { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
  .ck-payment-card { min-height: 64px; }
  .ck-option-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
                     display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
  .ck-option-text { display: flex; flex-direction: column; gap: 3px; }
  .ck-option-text strong { font-size: 15px; font-weight: 700; }
  .ck-option-text span { font-size: 13px; color: var(--ink-muted); }
  .ck-pill-group { display: flex; flex-direction: column; gap: 8px; }
  .ck-pill-label { font-size: 13px; font-weight: 600; }
  .ck-pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .ck-pill { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1px solid var(--border);
             font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; flex-shrink: 0; }
  .ck-pill.active { background: var(--hero-bg); color: #fff; border-color: var(--hero-bg); }
  .ck-pill-note { font-size: 13px; color: var(--ink-muted); }
  .checkout-summary { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                       padding: 28px; display: flex; flex-direction: column; gap: 12px; width: 384px; flex-shrink: 0; align-self: flex-start; }
  .checkout-summary-head { display: flex; justify-content: space-between; align-items: center; }
  .checkout-summary-head h2 { font-size: 20px; font-weight: 600; }
  .checkout-summary-head a { font-size: 14px; font-weight: 700; text-decoration: none; }
  .checkout-summary-items { display: flex; flex-direction: column; gap: 4px; }
  .checkout-summary-item { display: flex; align-items: center; gap: 12px; min-height: 56px; }
  .checkout-summary-thumb { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; background: var(--bg); overflow: hidden; }
  .checkout-summary-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .checkout-summary-name { flex-grow: 1; font-size: 13px; line-height: 17px; }
  .checkout-summary-name .muted { color: var(--ink-muted); }
  .checkout-summary-price { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
  .checkout-summary-price .now { font-size: 14px; font-weight: 700; white-space: nowrap; }
  .checkout-summary-price .was { font-size: 12px; font-weight: 500; color: var(--ink-muted); text-decoration: line-through; }
  .checkout-summary-divider { height: 1px; background: var(--border); }
  .checkout-summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; min-height: 24px; align-items: center; color: var(--ink-muted); }
  .checkout-summary-row span:last-child { font-weight: 600; color: var(--ink); }
  .checkout-summary-row.accent span:last-child { color: var(--accent); }
  .checkout-summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
  .checkout-summary-total span:first-child { font-size: 17px; font-weight: 800; }
  .checkout-summary-total span:last-child { font-family: 'Unbounded', sans-serif; font-size: 26px; font-weight: 700; }
  .checkout-summary .btn { height: 52px; font-size: 16px; width: 100%; }
  .checkout-legal { font-size: 12px; line-height: 17px; color: var(--ink-muted); }
  .checkout-legal a { color: inherit; }

    .login-mobile-title { display: none; }
  .login-hero { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 24px 40px;
                min-height: 520px; box-sizing: border-box; border-radius: 32px; background: #F6EBD3; }
  .login-intro { display: flex; flex-direction: column; gap: 20px; max-width: 520px; }
  .login-intro h1 { font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
  .login-intro > p { margin: 0; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
  .login-perks { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
  .login-perk { display: flex; gap: 14px; align-items: center; min-height: 56px; }
  .login-perk .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-tint); color: var(--accent);
                       display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .login-perk .text { display: flex; flex-direction: column; gap: 2px; }
  .login-perk .title { font-size: 16px; font-weight: 800; }
  .login-perk .desc { font-size: 14px; color: var(--ink-muted); }
  .login-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px;
                box-sizing: border-box; width: 480px; flex-shrink: 0; }
  .login-card h2 { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
  .login-card .hint { margin: 0 0 20px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
  .login-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
  .login-phone-input { height: 56px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
                        font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 600; color: var(--ink); box-sizing: border-box; width: 100%; }
  .login-submit { height: 56px; font-size: 16px; width: 100%; }
  .legal-note { display: block; margin-top: 16px; font-size: 12px; line-height: 17px; color: var(--ink-muted); }
  .legal-note a { color: inherit; }
  .code-inputs { display: flex; gap: 10px; margin-bottom: 20px; justify-content: space-between; }
  .code-digit { width: 52px; height: 64px; border: 1.5px solid var(--border); border-radius: 14px; text-align: center;
                font-family: 'Unbounded', sans-serif; font-size: 24px; font-weight: 600; color: var(--ink); background: var(--surface); box-sizing: border-box; }
  .code-digit:focus { border-color: var(--accent); outline: none; }
    .login-resend { display: block; margin-top: 16px; border: 0; background: none; padding: 0;
                  font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: underline; cursor: pointer; }
  .login-resend:disabled { color: var(--ink-muted); text-decoration: none; font-weight: 500; cursor: default; }

    .account-page-head h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
  .account-layout { display: flex; gap: 32px; align-items: flex-start; }
  .account-aside { width: 280px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
                    box-sizing: border-box; padding: 24px; display: flex; flex-direction: column; gap: 20px; align-self: flex-start; }
  .account-profile { display: flex; flex-direction: column; gap: 12px; }
  .account-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); color: var(--accent);
                     font-family: 'Unbounded', sans-serif; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
  .account-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .account-profile-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .account-profile-info .name { font-size: 19px; font-weight: 800; }
  .account-profile-info .phone { font-size: 14px; color: var(--ink-muted); }

    .account-avatar-field { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
  .account-avatar-lg { width: 80px; height: 80px; font-size: 30px; }
  .account-avatar-controls { display: flex; flex-direction: column; gap: 10px; }
  .account-avatar-controls input[type=file] { font-size: 13px; }
  .account-avatar-remove { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-muted); cursor: pointer; }
  .account-edit-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); flex-shrink: 0;
                       align-items: center; justify-content: center; color: var(--ink); }
  .account-nav { display: flex; flex-direction: column; gap: 4px; }
  .account-nav-link { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-radius: 12px;
                       text-decoration: none; font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
  .account-nav-link:hover { background: var(--bg); }
  .account-nav-link.active { color: var(--accent); background: var(--accent-tint); }
  .account-nav-link svg { flex-shrink: 0; }
  .account-orders, .account-content { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
    .account-order-filter { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-muted); flex-shrink: 0; }
  .account-order-filter select { height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 12px;
                                  background: var(--surface); font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); }
    .account-phone-view { display: flex; align-items: center; gap: 10px; height: 48px; }
  .account-phone-view span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .account-phone-view .btn { flex-shrink: 0; }
  .account-phone-edit { display: flex; flex-direction: column; gap: 8px; }
  .account-phone-edit-actions { display: flex; gap: 8px; }
  .account-phone-error { margin: 0; font-size: 13px; color: #C0392B; }
    .account-addresses-list { display: flex; flex-direction: column; gap: 12px; }
  .account-address-card { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--surface);
                           border: 1px solid var(--border); border-radius: 16px; }
  .account-address-card svg { flex-shrink: 0; color: var(--ink-muted); }
  .account-address-text { flex-grow: 1; font-size: 15px; font-weight: 600; }
  .account-address-remove { width: 36px; height: 36px; border: 0; background: none; color: var(--ink-muted); border-radius: 10px;
                             display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
  .account-address-remove:hover { background: var(--bg); color: var(--accent); }
  .order-list { display: flex; flex-direction: column; gap: 16px; }
  .order-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; }
  .order-card-head { display: flex; align-items: center; gap: 14px; }
  .order-card-number { font-family: 'Unbounded', sans-serif; font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
  .order-card-number:hover { color: var(--accent); }
  .order-card-date { font-size: 14px; color: var(--ink-muted); flex-grow: 1; }
  .order-card-date-qty { display: none; }
  .order-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
  .order-badge-pending { background: var(--accent-tint); color: #9A2E10; }
  .order-badge-processing { background: #FDF1D6; color: #6E4A00; }
  .order-badge-done { background: #E5F6D8; color: #2D7A1F; }
  .order-badge-cancelled { background: #EFE9E2; color: var(--ink-muted); }
  .order-card-body { display: flex; align-items: center; gap: 20px; }
  .order-card-icons { display: flex; gap: 8px; flex-shrink: 0; }
    .order-icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--bg); }
  .order-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .order-card-meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; min-width: 0; }
  .order-card-meta b { font-weight: 700; }
  .order-card-delivery { color: var(--ink-muted); }
  .order-card-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; flex-wrap: wrap; }
  .order-card-total { font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 700; flex-grow: 1; white-space: nowrap; }
  .order-card .btn.small { height: 44px; padding: 0 18px; font-size: 15px; }
  .order-pay-btn { background: var(--accent); color: #fff; border: 0; }
  .order-pay-btn:hover { background: var(--accent-dark); }

    .order-detail-head { display: flex; align-items: center; gap: 16px; }
  .order-detail-head h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
  .order-detail-date { font-size: 15px; color: var(--ink-muted); flex-grow: 1; }
  .order-status-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                        padding: 28px; display: flex; align-items: center; gap: 20px; }
  .order-status-info { display: flex; align-items: center; gap: 16px; flex-grow: 1; }
  .order-status-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .order-status-icon.done { background: #E5F6D8; color: #2D7A1F; }
  .order-status-icon.pay { background: var(--accent-tint); color: var(--accent); }
  .order-status-icon.progress { background: #FDF1D6; color: #6E4A00; }
  .order-status-icon.cancelled { background: #EFE9E2; color: var(--ink-muted); }
  .order-status-text { display: flex; flex-direction: column; gap: 4px; }
  .order-status-text .label { font-size: 13px; color: var(--ink-muted); font-weight: 600; }
  .order-status-text .value { font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 600; }
  .order-status-text .value.done { color: #2D7A1F; }
  .order-status-text .value.pay { color: var(--accent); }
  .order-status-text .value.progress { color: #6E4A00; }
  .order-status-text .value.cancelled { color: var(--ink-muted); }
  .order-status-text .hint { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
  .order-status-card .btn.pay-cta { height: 52px; font-size: 16px; flex-shrink: 0; }

  .order-detail-layout { display: flex; gap: 32px; align-items: flex-start; }
  .order-detail-main { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                        overflow: hidden; flex-grow: 1; }
  .order-detail-main-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 28px; }
  .order-detail-main-head h2 { font-size: 20px; font-weight: 600; }
  .order-detail-main-head .hint { font-size: 14px; color: var(--ink-muted); }
  .order-item-row { display: flex; align-items: center; gap: 18px; height: 88px; padding: 0 28px; border-top: 1px solid var(--border); box-sizing: border-box; }
  .order-detail-main .order-item-row:first-child { border-top: 0; }
  .order-item-thumb { width: 60px; height: 60px; flex-shrink: 0; border-radius: 12px; background: var(--bg); overflow: hidden; display: block; }
  .order-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .order-item-info { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
  .order-item-info a, .order-item-info span:first-child { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
  .order-item-info a:hover { color: var(--accent); }
  .order-item-unit { font-size: 13px; color: var(--ink-muted); }
  .order-item-qty { width: 120px; font-size: 14px; color: var(--ink-muted); flex-shrink: 0; }
  .order-item-total { width: 100px; text-align: right; font-size: 17px; font-weight: 800; flex-shrink: 0; }

  .order-detail-aside { width: 384px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
  .order-aside-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                       padding: 24px; display: flex; flex-direction: column; gap: 10px; }
  .order-aside-card h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; }
  .order-aside-card h2 svg { color: var(--accent); flex-shrink: 0; }
  .order-aside-card .muted { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
  .order-aside-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
  .pay-status-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .pay-status-badge.paid { background: #E5F6D8; color: #2D7A1F; }
  .pay-status-badge.unpaid { background: var(--accent-tint); color: #9A2E10; }
  .order-totals-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; min-height: 28px; align-items: center; color: var(--ink-muted); }
  .order-totals-row span:last-child { font-weight: 600; color: var(--ink); }
  .order-totals-divider { height: 1px; background: var(--border); }
  .order-totals-total { display: flex; justify-content: space-between; align-items: baseline; }
  .order-totals-total span:first-child { font-size: 17px; font-weight: 800; }
  .order-totals-total span:last-child { font-family: 'Unbounded', sans-serif; font-size: 26px; font-weight: 700; }
  .order-aside-card .btn.pay-cta { width: 100%; height: 48px; font-size: 15px; }

    .content-head { display: flex; flex-direction: column; gap: 16px; }
  .content-head h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
  .content-head p { margin: 0; font-size: 17px; line-height: 26px; color: var(--ink-muted); max-width: 720px; }

  .legal-content { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                    padding: 32px 40px; font-size: 15px; line-height: 24px; }
  .legal-content h1 { margin: 40px 0 16px; font-family: 'Unbounded', sans-serif; font-size: 24px; font-weight: 600; line-height: 1.3; }
  .legal-content h1:first-child { margin-top: 0; }
  .legal-content h2 { margin: 32px 0 12px; font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 600; }
  .legal-content h2:first-child { margin-top: 0; }
  .legal-content h3 { margin: 24px 0 10px; font-size: 16px; font-weight: 700; }
  .legal-content p { margin: 0 0 16px; color: var(--ink-muted); }
  .legal-content p:last-child { margin-bottom: 0; }
  .legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-muted); }
  .legal-content li { margin-bottom: 6px; }
  .legal-content a { color: var(--accent); text-decoration: underline; }
  .legal-content strong { color: var(--ink); }
  .legal-content table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
  .legal-content table td, .legal-content table th { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }

  .method-grid, .payment-grid { display: flex; gap: 24px; }
  .method-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                 padding: 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; flex-basis: 0; }
  .method-card .icon { width: 52px; height: 52px; border-radius: 16px; background: var(--accent-tint); color: var(--accent);
                        display: flex; align-items: center; justify-content: center; }
  .method-card h3 { margin: 4px 0 0; font-family: 'Unbounded', sans-serif; font-size: 19px; font-weight: 600; }
  .method-card p { margin: 0 0 4px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
  .method-card .row { display: flex; justify-content: space-between; font-size: 14px; height: 30px; align-items: center; border-top: 1px solid var(--border); }
  .method-card .row span:first-child { color: var(--ink-muted); }

  .payment-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                   padding: 24px; display: flex; align-items: center; gap: 14px; flex-grow: 1; flex-basis: 0; }
  .payment-card .icon { width: 44px; height: 44px; border-radius: 12px; background: #E5F6D8; color: #2D7A1F;
                         display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .payment-card .text { display: flex; flex-direction: column; gap: 4px; }
  .payment-card .text strong { font-size: 16px; font-weight: 800; }
  .payment-card .text span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

  .slots-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                 padding: 32px; display: flex; gap: 48px; align-items: center; }
  .slots-panel .info { display: flex; flex-direction: column; gap: 8px; width: 380px; flex-shrink: 0; }
  .slots-panel .info h2 { font-size: 22px; font-weight: 600; }
  .slots-panel .info p { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
  .slots-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .slot-chip { height: 40px; padding: 0 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border);
               display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; }

    .faq-section { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
  .faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
  .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-sizing: border-box; padding: 0 24px; }
  .faq-item summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
                       cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; padding: 10px 0; box-sizing: border-box; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary .chev { display: flex; color: var(--ink-muted); flex-shrink: 0; }
  .faq-item p { margin: 0 0 20px; font-size: 15px; line-height: 23px; color: var(--ink-muted); }

    .contacts-layout { display: flex; gap: 24px; }
  .contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                  padding: 32px; display: flex; flex-direction: column; gap: 12px; width: 440px; flex-shrink: 0; }
  .contact-row { display: flex; gap: 14px; align-items: center; min-height: 56px; }
  .contact-row .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent);
                        display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .contact-row .text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .contact-row .label { font-size: 13px; color: var(--ink-muted); }
  .contact-row .value { font-size: 17px; font-weight: 700; }
  .contacts-map { flex-grow: 1; height: 408px; border-radius: 24px; overflow: hidden; background: #ECE4D6; }
    .contacts-map.empty { display: flex; align-items: center; justify-content: center; color: var(--ink-muted); font-size: 14px; }

  .outlet-grid { display: flex; flex-wrap: wrap; gap: 24px; }
  .outlet-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                 padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; flex-shrink: 1; flex-basis: 240px; }
  .outlet-card .head { display: flex; align-items: center; gap: 10px; }
  .outlet-card .head .icon { color: var(--accent); display: flex; flex-shrink: 0; }
  .outlet-card h3 { margin: 0; font-size: 16px; font-weight: 800; }
  .outlet-card .address { font-size: 14px; }
  .outlet-card .hours { font-size: 14px; color: var(--ink-muted); }
  .outlet-card a { font-size: 14px; font-weight: 700; text-decoration: none; margin-top: auto; }

  .feedback-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-sizing: border-box;
                    padding: 32px; display: flex; gap: 48px; }
  .feedback-intro { display: flex; flex-direction: column; gap: 10px; width: 360px; flex-shrink: 0; }
  .feedback-intro h2 { font-size: 24px; font-weight: 600; }
  .feedback-intro p { margin: 0; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
  .feedback-form { display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
  /* Honeypot: невидимое человеку поле, которое заполняют простые боты (см. FeedbackGuard) */
  .feedback-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .feedback-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .feedback-form textarea { height: 110px; padding: 12px 16px; resize: none; }
  .feedback-submit-row { display: flex; align-items: center; gap: 16px; }
  .feedback-submit-row .legal-note { flex-shrink: 1; margin: 0; }

  @media (max-width: 1100px) {
    .product-grid, .products-row.spread { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  }

  @media (max-width: 950px) {
    .product-grid, .products-row.spread { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  }

    @media (max-width: 1000px) {
    .product-top { flex-direction: column; gap: 20px; }
    .product-gallery { width: 100%; }
    .product-info { width: 100%; }
    .catalog-btn .btn-label, .cart-link .btn-label { display: none; }
    .header-link .btn-label { display: none; }
  }

    @media (max-width: 900px) {
        .wrap, .section, .breadcrumbs { width: 720px; max-width: calc(100% - 40px); padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
    .topbar span.grow { display: none; }
    .topbar .wrap { justify-content: end; }

    .site-header .wrap { height: 72px; gap: 10px; }
    .site-header .logo img { width: 40px; height: 40px; }
    .site-header .logo .brand-name { font-size: 17px; }
    .site-header .logo .brand-sub { font-size: 8px; }
    .catalog-btn { width: 48px; padding: 0; }
    .header-link { height: 44px; }

        #catalog-menu-panel { width: 100%; max-width: 100%; }

    .hero-section { display: block; }
    .hero-main { border-radius: 24px; padding: 24px; min-height: 300px; height: 300px; gap: 12px; }
    .hero-text { max-width: none; gap: 8px; }
    .hero-text h1 { font-size: 28px; }
    .hero-text p { font-size: 15px; line-height: 22px; }
    .hero-cta-row { margin-top: auto; }
    .hero-cta-row .btn.on-dark { display: none; }
    .hero-cta-row .btn:not(.on-dark) { width: 100%; }
    .hero-side { display: none; }

    .category-grid { gap: 10px; }
    .category-card { height: 92px; padding: 10px 6px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
    .category-card .label { font-size: 11px; max-width: none; }
    .category-card .icon { align-self: center; }

    .product-card { width: 196px; }

    .partner-card { width: 100%; }

        .filter-toggle-btn { display: inline-flex; }
    .filters-aside { display: none; }
        .filters-aside.js-open { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 1000; margin: 0;
                              border-radius: 0; width: 100%; max-width: none; overflow: hidden; box-sizing: border-box; padding: 20px 24px; }
    .filters-aside.js-open > form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
    .filters-aside.js-open .filters-fields { flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; }
    .filters-aside.js-open .filters-actions { flex-shrink: 0; }
    .filters-close-btn { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center;
                          border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; padding: 0; }
    .filters-close-btn:hover { background: var(--bg); }

        .product-gallery-thumbs { display: none; }
    .product-gallery-dots { display: flex; }
    .product-description { grid-template-columns: 1fr; padding: 24px; }
    .product-description .text { grid-column: span 1; }
    .bundle-tile { width: 160px; }
    .bundle-tile .thumb { width: 100px; height: 100px; }

    .cart-layout { flex-direction: column; }
    .cart-summary { width: 100%; position: static; }

        .checkout-head, .checkout-layout, .checkout-extra-section { width: 720px; max-width: calc(100% - 40px); padding-left: 24px; padding-right: 24px; }
    .checkout-layout { flex-direction: column; }
    .checkout-summary { width: 100%; }
    .checkout-card { padding: 20px; }

        .order-detail-layout { flex-direction: column; }
    .order-detail-aside { width: 100%; }
    .order-status-card { flex-wrap: wrap; padding: 20px; }
    .order-status-card .btn.pay-cta { width: 100%; }

        .method-grid, .payment-grid, .outlet-grid { flex-direction: column; }
    .slots-panel { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px; }
    .slots-panel .info { width: auto; }
    .contacts-layout { flex-direction: column; }
    .contact-card { width: 100%; }
    .feedback-card { flex-direction: column; gap: 20px; }
    .feedback-intro { width: auto; }

        .login-mobile-title { display: block; font-family: 'Unbounded', sans-serif; font-size: 24px; font-weight: 600; margin: 0 0 16px; }
    .login-hero { background: none; padding: 0; min-height: auto; justify-content: center; }
    .login-intro { display: none; }
    .login-card { padding: 24px; }
    .login-card h2 { font-size: 22px; }

        .account-breadcrumbs, .account-page-head { display: none; }
    .account-layout { display: block; }
    .account-aside { width: auto; padding: 18px; flex-direction: row; align-items: center; gap: 14px; box-sizing: border-box; margin-bottom: 16px; }
    .account-avatar { width: 56px; height: 56px; font-size: 22px; }
    .account-profile { flex-direction: row; align-items: center; gap: 14px; flex-grow: 1; min-width: 0; }
    .account-edit-btn { display: flex; }
    .account-nav { gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 0 24px 2px; }
    .account-nav-link { flex-shrink: 0; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
    .account-nav-link.active { background: var(--hero-bg); color: #fff; border-color: var(--hero-bg); }
    .account-nav-link svg { display: none; }
    .account-orders h2 { font-size: 22px; }
    .account-orders .section-head { flex-direction: column; align-items: stretch; gap: 12px; }
    .account-order-filter select { flex-grow: 1; }
    .order-card { padding: 20px; }
    .order-card-foot { flex-wrap: wrap; }
  }
  @media (max-width: 800px) {
        .products-row.spread { display: flex; flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 0 24px; justify-content: flex-start; }
  }

    @media (max-width: 680px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-card { width: 220px; }
  }

  @media (max-width: 640px) {
    .product-bundle { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
    .bundle-tile { width: 100%; flex-direction: row; align-items: center; gap: 12px; height: 76px;
      border-bottom: 1px solid var(--border); padding: 0; }
    .bundle-tile input { position: static; flex-shrink: 0; }
    .bundle-tile .thumb { width: 56px; height: 56px; margin: 0; }
    .bundle-tile .name-col { flex-grow: 1; min-width: 0; }
    .bundle-tile .name { height: auto; white-space: nowrap; text-overflow: ellipsis; }
    .bundle-tile .price { white-space: nowrap; }
    .bundle-sep { display: none; }
    .bundle-total { margin-top: 12px; padding: 16px 4px 4px; background: none; max-width: 100%; }

    .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; gap: 8px; row-gap: 8px; justify-content: space-between; }
    .search-form { order: 3; flex-basis: 100%; }
  }

  @media (max-width: 560px) {
        .wrap, .section, .breadcrumbs { width: 390px; max-width: calc(100% - 32px); padding-left: 16px; padding-right: 16px; }

        .topbar-menu-toggle { display: flex; }
    .topbar .wrap { justify-content: space-between; }
    .topbar-links { display: none; position: absolute; top: 40px; left: 0; z-index: 50; flex-direction: column;
                     align-items: stretch; gap: 0; min-width: 220px; padding: 8px 0; background: var(--surface);
                     border: 1px solid var(--border); border-radius: 0 0 14px 14px; box-shadow: 0 12px 24px rgba(0,0,0,.18); }
    .topbar-links.open { display: flex; }
    .topbar-links a { color: var(--ink); padding: 10px 16px; }
    .topbar-links a:hover { background: var(--bg); text-decoration: none; }

        .section-head { flex-wrap: wrap; row-gap: 6px; }
    .section-head h2 { font-size: 19px; white-space: normal; }
    .section-head-title { flex-wrap: wrap; row-gap: 2px; }
    .section-head-title .hint { flex-basis: 100%; }
    .site-header .logo .brand-name { font-size: 12px; }

    .site-header .wrap { padding: 8px 0 12px; }

        .category-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
    .category-card { width: 104px; flex-shrink: 0; }
    .products-row.spread { margin: 0 -16px; padding: 0 16px; }
        .partner-card { width: 100%; padding: 16px; gap: 12px; }
    .partner-card .logo { width: 56px; height: 56px; }
    .partner-card .title { font-size: 16px; }
    .partner-card .desc { font-size: 12px; line-height: 16px; }

        .site-footer .link-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

    .section { gap: 40px; }

        .product-grid { grid-template-columns: 1fr; gap: 10px; }
    .product-card { width: 100%; }
        .guest-prompt { flex-direction: column; align-items: flex-start; padding: 20px; min-height: auto; gap: 10px; }
    .guest-prompt .icon { display: none; }
    .sort-bar { gap: 10px; }
    .sort-bar select { flex-grow: 1; }

        .product-top { gap: 16px; }
    .product-info h1 { font-size: 22px; }
    .product-price-card .price { font-size: 32px; }
    .product-buy-row { flex-wrap: wrap; }

        .cart-row { height: auto; padding: 16px; gap: 12px; align-items: flex-start; }
    .cart-row-image { width: 72px; height: 72px; }
    .cart-row-name { font-size: 14px; line-height: 18px; }
    .cart-row-price .final { font-size: 17px; }
    .cart-row-bottom { margin-top: 8px; }
    .qty-stepper { height: 36px; }
    .qty-stepper button { width: 32px; height: 34px; }
    .cart-summary { padding: 20px; }

        .checkout-head, .checkout-layout, .checkout-extra-section { width: 390px; max-width: calc(100% - 32px); padding-left: 16px; padding-right: 16px; }
    .checkout-head h1 { font-size: 24px; }
    .checkout-card { padding: 16px; gap: 16px; }
    .checkout-grid-3 { grid-template-columns: 1fr; }
    .checkout-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ck-option-row { flex-direction: column; }
    .checkout-summary { padding: 20px; }

        .order-detail-head { flex-wrap: wrap; }
    .order-detail-head h1 { font-size: 24px; }
    .order-detail-date { flex-basis: 100%; order: 1; }
    .order-detail-head .btn { flex-basis: 100%; order: 2; justify-content: center; }
    .order-status-info { flex-wrap: wrap; }
    .order-detail-main-head { height: auto; flex-wrap: wrap; gap: 4px; padding: 16px; }
    .order-item-row { height: auto; padding: 14px 16px; flex-wrap: wrap; }
    .order-item-info { flex-basis: 100%; order: 1; }
    .order-item-qty { width: auto; order: 2; }
    .order-item-total { order: 3; }
    .order-aside-card { padding: 18px; }

        .content-head h1 { font-size: 24px; }
    .method-card, .outlet-card, .contact-card, .feedback-card { padding: 20px; }
    .legal-content { padding: 20px; }
    .contacts-map { height: 260px; }
    .feedback-grid { grid-template-columns: 1fr; }
    .feedback-submit-row { flex-direction: column; align-items: stretch; gap: 10px; }

        .login-card { width: 100%; }
    .code-inputs { gap: 6px; }
    .code-digit { width: 44px; height: 52px; font-size: 18px; }

        .account-aside { flex-wrap: wrap; height: auto; }
    .account-nav { margin: 0 -16px; padding: 0 16px 2px; width: 100%; }
    .order-card-number-prefix { display: none; }
    .order-card-date-qty { display: inline; }
    .order-card-qty { display: none; }
    .order-card-body { flex-direction: column; align-items: flex-start; gap: 10px; }
    .order-icon { width: 48px; height: 48px; }
    .order-card-foot { flex-wrap: wrap; gap: 8px; }
    .order-card-total { width: 100%; order: 1; font-size: 18px; }
    .order-pay-btn { width: 100%; order: 2; }
    .order-card-foot > .btn.secondary { flex: 1 1 calc(50% - 4px); order: 3; }
  }
