:root {
  --bg: #f7f7f4;
  --card: #fff;
  --ink: #111111;
  --muted: #686868;
  --line: #d8d8d2;
  --brand: #111111;
  --brand-dark: #000000;
  --accent: #111111;
  --ok: #111111;
  --soft: #efefeb;
  --shadow: 0 18px 50px rgba(0, 0, 0, .10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: #111; color: #fff; font-size: 14px; }
.topbar__inner { min-height: 38px; display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }
.nav { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav__inner { min-height: 86px; display: grid; grid-template-columns: minmax(240px, 390px) 1fr auto auto; gap: 18px; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 360px; max-width: 100%; height: auto; display: block; }
.logo small { display: block; color: var(--muted); margin-top: 2px; }
.search { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.language-select { display: grid; gap: 6px; color: var(--muted); font-size: 13px; min-width: 92px; }
.language-select select { font-weight: 900; }
.search input, .checkout input, .checkout textarea, select { border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: #fff; color: var(--ink); }
.cart-button, .button { border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); padding: 13px 18px; cursor: pointer; font-weight: 750; }
.cart-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.cart-button__icon { display: none; }
.cart-button strong { background: var(--ink); color: white; border-radius: 99px; padding: 3px 8px; margin-left: 6px; }
.button--primary { background: var(--brand); border-color: var(--brand); color: white; }
.button:hover, .cart-button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31, 41, 51, .08); }
.hero { background: #fff; color: var(--ink); padding: 64px 0; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: center; }
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 800; }
.hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: .98; margin: 12px 0; max-width: 900px; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 760px; }
.hero__actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-card { background: #f5f5f0; border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.pill-list, .filter-list { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; }
.pill, .filter-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 13px; cursor: pointer; color: var(--ink); }
.hero .pill { background: white; color: var(--ink); border-color: var(--line); }
.pill.is-active, .filter-chip.is-active { background: var(--brand); color: white; border-color: var(--brand); }
.strip { margin-top: -22px; background: var(--card); box-shadow: var(--shadow); border-radius: 18px; padding: 18px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; position: relative; z-index: 2; }
.strip div { padding: 12px; background: var(--soft); border-radius: 14px; text-align: center; font-weight: 700; }
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 44px 0; align-items: start; }
.filters, .catalog__header, .product-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.filters { padding: 22px; position: sticky; top: 110px; }
.catalog__header { padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.catalog__header h2, .filters h2 { margin: 0; }
#resultInfo { color: var(--muted); margin: 6px 0 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(0, 0, 0, .16); border-color: #bdbdb7; }
.product-card:focus-visible { outline: 3px solid rgba(0, 0, 0, .25); outline-offset: 4px; }
.product-card__image { width: 100%; border: 0; aspect-ratio: 1 / .86; background: var(--soft); display: block; cursor: pointer; overflow: hidden; padding: 0; position: relative; }
.product-card, .product-card__body h3 { cursor: pointer; }
.product-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; margin: 0; transform: scale(1.01); transition: transform .22s ease, filter .22s ease; }
.product-card:hover .product-card__image img { transform: scale(1.07); filter: contrast(1.04) saturate(1.03); }
.product-card__body { padding: 16px; display: grid; gap: 10px; flex: 1; }
.badge { width: fit-content; border-radius: 999px; padding: 5px 9px; background: var(--soft); color: var(--ink); font-size: 12px; font-weight: 800; border: 1px solid var(--line); }
.product-card h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.rating-mini, .rating-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rating-mini { color: var(--muted); font-size: 13px; }
.rating-mini strong { color: var(--ink); }
.star { color: #c8c8c2; letter-spacing: -1px; }
.star.is-filled { color: #111; }
.rating-stars { color: #111; font-size: 20px; letter-spacing: -1px; white-space: nowrap; }
.muted { color: var(--muted); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { font-size: 22px; font-weight: 900; }
.stock { color: var(--ok); font-weight: 800; font-size: 13px; }
.drawer { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 50; display: none; justify-content: end; }
.drawer.is-open { display: flex; }
.drawer__panel { width: min(460px, 100%); height: 100%; background: white; padding: 22px; overflow: auto; box-shadow: var(--shadow); }
.drawer__header { display: flex; justify-content: space-between; align-items: center; }
.icon-button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; font-size: 24px; }
.cart-items { display: grid; gap: 12px; margin: 18px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.cart-item img { width: 64px; height: 64px; object-fit: contain; background: var(--soft); border-radius: 10px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: white; cursor: pointer; }
.cart-summary { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; font-size: 20px; }
.checkout { display: grid; gap: 10px; margin-top: 20px; }
.checkout textarea { min-height: 90px; resize: vertical; }
.delivery-box { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--soft); }
.delivery-box h3 { margin: 0 0 4px; }
.delivery-option { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: white; cursor: pointer; }
.delivery-option input { margin-top: 4px; }
.delivery-option span { display: grid; gap: 2px; }
.delivery-option small { color: var(--muted); }
.selected-point { border-radius: 12px; background: white; color: var(--ink); border: 1px solid var(--line); padding: 10px 12px; font-weight: 750; }
.inpost-panel { border: 1px solid var(--line); border-radius: 16px; background: white; overflow: hidden; }
.inpost-panel__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); }
.notice { margin: 12px; border-radius: 12px; background: var(--soft); color: var(--ink); border: 1px solid var(--line); padding: 12px; font-weight: 750; }
.inpost-widget-host { height: min(560px, 70vh); }
.inpost-widget-host inpost-geowidget { display: block; width: 100%; height: 100%; }
.product-dialog { border: 0; border-radius: 24px; padding: 0; width: min(980px, calc(100% - 24px)); box-shadow: var(--shadow); }
.product-dialog::backdrop { background: rgba(15,23,42,.55); }
.dialog-close { position: absolute; right: 16px; top: 16px; z-index: 2; }
.preview { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 28px; }
.preview img { display: block; width: 100%; max-height: 560px; object-fit: cover; object-position: center center; background: var(--soft); border-radius: 18px; padding: 0; }
.preview h2 { margin-top: 0; }
.preview li { margin: 8px 0; }
.product-page { padding: 34px 0 56px; }
.back-link { display: inline-flex; align-items: center; margin-bottom: 18px; color: var(--brand-dark); font-weight: 800; }
.product-detail { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.product-detail__gallery, .product-detail__summary, .product-tabs, .reviews, .add-review { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 8px 30px rgba(31, 41, 51, .06); }
.product-detail__gallery { padding: 24px; position: sticky; top: 112px; }
.product-detail__gallery img { display: block; width: 100%; max-height: 620px; object-fit: cover; object-position: center center; background: var(--soft); border-radius: 18px; padding: 0; }
.product-detail__summary { padding: 28px; }
.product-detail__summary h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.05; margin: 14px 0 12px; }
.rating-row a { color: var(--brand-dark); font-weight: 800; }
.product-detail__price { font-size: 38px; line-height: 1; font-weight: 950; margin: 22px 0; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.product-params { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.product-params div { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--soft); }
.product-params dt { color: var(--muted); font-size: 13px; margin-bottom: 5px; }
.product-params dd { margin: 0; font-weight: 850; }
.product-tabs { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; padding: 26px; margin-top: 24px; }
.product-tabs h2, .reviews h2 { margin-top: 0; }
.product-tabs li { margin: 8px 0; }
.reviews { display: grid; grid-template-columns: 320px 1fr; gap: 22px; padding: 26px; margin-top: 24px; }
.reviews__score { font-size: 58px; line-height: 1; font-weight: 950; margin: 12px 0 8px; }
.reviews__list { display: grid; gap: 12px; }
.review { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--soft); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review p { margin-bottom: 0; }
.add-review { padding: 26px; margin-top: 24px; }
.add-review h2 { margin-top: 0; }
.review-form { display: grid; grid-template-columns: 1fr 220px auto; gap: 14px; align-items: end; }
.review-form label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 800; }
.review-form input, .review-form select, .review-form textarea { border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: #fff; color: var(--ink); }
.review-form__text { grid-column: 1 / -1; }
.review-form textarea { min-height: 96px; resize: vertical; }
.review-form .muted { grid-column: 1 / -1; margin: 0; }
.info-page { padding: 34px 0 56px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.info-card .eyebrow { color: var(--brand-dark); }
.info-card h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1; margin: 10px 0 14px; }
.info-card__intro { color: var(--muted); font-size: 19px; max-width: 820px; }
.info-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.info-sections section { border: 1px solid var(--line); border-radius: 18px; background: var(--soft); padding: 20px; }
.info-sections h2 { margin: 0 0 8px; }
.info-sections p { color: var(--muted); margin-bottom: 0; }
.footer { background: #111; color: white; padding: 34px 0; margin-top: 30px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; color: #eeeeea; }
.footer-links { display: flex; gap: 10px 16px; flex-wrap: wrap; margin-top: 10px; }
.footer-links a { color: #e7ecf5; font-weight: 800; border-bottom: 1px solid rgba(231, 236, 245, .4); }
.footer-links a:hover { color: white; border-color: white; }
@media (max-width: 980px) {
  .nav__inner, .hero__grid, .layout, .preview, .footer__grid { grid-template-columns: 1fr; }
  .product-detail, .product-tabs, .reviews { grid-template-columns: 1fr; }
  .review-form { grid-template-columns: 1fr; }
  .info-sections { grid-template-columns: 1fr; }
  .product-detail__gallery { position: static; }
  .strip { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .filters { position: static; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1240px); }
  .topbar { display: none; }
  .nav { top: 0; }
  .nav__inner {
    min-height: auto;
    padding: 12px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "logo lang cart"
      "search search search";
    gap: 12px 10px;
    align-items: center;
  }
  .logo { grid-area: logo; min-width: 0; }
  .logo img { width: min(100%, 315px); }
  .search { grid-area: search; }
  .search span { font-size: 18px; }
  .search input { width: 100%; min-height: 54px; border-radius: 14px; font-size: 16px; }
  .language-select {
    grid-area: lang;
    position: relative;
    display: block;
    min-width: 0;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
  }
  .language-select span { display: none; }
  .language-select::before {
    content: "🌐";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 22px;
    pointer-events: none;
  }
  .language-select select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }
  .cart-button {
    grid-area: cart;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 14px;
    position: relative;
  }
  .cart-button__icon { display: inline; font-size: 21px; line-height: 1; }
  .cart-button__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cart-button strong {
    position: absolute;
    right: -7px;
    top: -7px;
    min-width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    margin: 0;
    border: 2px solid #fff;
  }
  body.is-scrolled .nav__inner {
    grid-template-areas: "search lang cart";
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 8px 0;
  }
  body.is-scrolled .logo { display: none; }
  body.is-scrolled .search { align-self: center; }
  body.is-scrolled .search span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  body.is-scrolled .search input { min-height: 46px; padding: 10px 12px; }
  body.is-scrolled .language-select,
  body.is-scrolled .cart-button {
    width: 46px;
    height: 46px;
  }
  .product-grid, .strip { grid-template-columns: 1fr; }
  .catalog__header { align-items: stretch; flex-direction: column; }
  .product-params { grid-template-columns: 1fr; }
}

/* Hero removed: catalog starts directly under navigation. */
.layout { margin-top: 28px; }

.contact-widget { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; justify-items: end; gap: 10px; }
.contact-widget__button { border: 2px solid #111; background: #111; color: #fff; border-radius: 999px; padding: 15px 20px; font-weight: 950; box-shadow: 0 18px 45px rgba(0,0,0,.18); cursor: pointer; }
.contact-widget__panel { width: min(380px, calc(100vw - 28px)); background: #fff; border: 2px solid #111; border-radius: 22px; box-shadow: 0 24px 70px rgba(0,0,0,.22); padding: 18px; }
.contact-widget__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.contact-widget__top strong { font-size: 22px; }
.contact-form { display: grid; gap: 10px; }
.contact-form input, .contact-form textarea { border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: #fff; color: var(--ink); font: inherit; }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-status { border-radius: 12px; padding: 11px 12px; font-weight: 850; }
.contact-status.is-ok { background: #e8ffe9; color: #126018; border: 1px solid #aee2b2; }
.contact-status.is-error { background: #ffe8e8; color: #8a1111; border: 1px solid #f4b3b3; }
@media (max-width: 620px) { .contact-widget { right: 14px; bottom: 14px; } }

.cookie-banner { position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; color: #111; border: 2px solid #111; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.18); padding: 16px 18px; }
.cookie-banner p { margin: 4px 0 0; color: var(--muted); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) { .cookie-banner { flex-direction: column; align-items: stretch; } }

.cookie-banner[hidden] { display: none !important; }

.footer-company { color: #d7d7d2; line-height: 1.55; margin-top: 12px; font-weight: 700; }

.idea-banner { position: fixed; left: 22px; right: 22px; top: 22px; z-index: 70; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; background: #111; color: #fff; border: 2px solid #111; border-radius: 22px; box-shadow: 0 26px 80px rgba(0,0,0,.25); padding: 20px 58px 20px 22px; }
.idea-banner[hidden] { display: none !important; }
.idea-banner__eyebrow { display: block; color: #d8d8d2; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; margin-bottom: 5px; }
.idea-banner strong { display: block; font-size: clamp(22px, 3vw, 34px); line-height: 1.05; }
.idea-banner p { margin: 7px 0 0; color: #eeeeea; max-width: 900px; }
.idea-banner__close { position: absolute; right: 14px; top: 12px; border: 0; background: transparent; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.idea-dialog { width: min(680px, calc(100vw - 28px)); border: 2px solid #111; border-radius: 24px; padding: 0; box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.idea-dialog::backdrop { background: rgba(0,0,0,.45); }
.idea-form { display: grid; gap: 12px; padding: 28px; }
.idea-form h2 { margin: 0; font-size: 32px; }
.idea-form input, .idea-form textarea { border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: #fff; color: var(--ink); font: inherit; }
.idea-form textarea { min-height: 110px; resize: vertical; }
@media (max-width: 720px) { .idea-banner { grid-template-columns: 1fr; top: 10px; left: 10px; right: 10px; padding: 18px 52px 18px 18px; } }
.product-gallery { display: grid; gap: 12px; width: 100%; }
.product-gallery__main { display: block; width: 100%; max-height: 620px; object-fit: cover; object-position: center center; background: var(--soft); border-radius: 18px; padding: 0; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.gallery-thumb { border: 2px solid var(--line); border-radius: 12px; padding: 0; background: #fff; overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; }
.gallery-thumb.is-active { border-color: #111; box-shadow: 0 0 0 2px #111 inset; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-gallery--preview .product-gallery__main { max-height: 420px; }
.product-gallery--preview .product-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); }

.review time { display: block; color: var(--muted); font-size: 13px; font-weight: 800; margin-top: 4px; }

.footer-link-button { appearance: none; border: 0; background: transparent; padding: 0; color: #e7ecf5; font: inherit; font-weight: 800; border-bottom: 1px solid rgba(231, 236, 245, .4); cursor: pointer; }
.footer-link-button:hover { color: white; border-color: white; }

.payment-box { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--soft); display: grid; gap: 10px; }
.payment-box h3 { margin: 0 0 4px; }
.payment-option--stripe {
  border: 2px solid #111;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.payment-option--stripe strong::after {
  content: "  REAL";
  display: inline-flex;
  margin-left: 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  padding: 3px 7px;
  vertical-align: middle;
}

.admin-product-form { display: grid; gap: 14px; }
.admin-product-form label { display: grid; gap: 7px; font-weight: 850; }
.admin-product-form input, .admin-product-form textarea { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; }
.admin-product-form textarea { resize: vertical; }

.checkout-summary { border: 2px solid #111; border-radius: 18px; padding: 16px; background: #fff; display: grid; gap: 10px; margin: 12px 0 16px; }
.checkout-summary h3 { margin: 0 0 4px; }
.summary-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.summary-line--total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 20px; }
.summary-note { margin: 0; color: var(--muted); font-weight: 800; }

.checkout-drawer {
  background: rgba(255,255,255,.96);
}
.checkout-drawer.is-open {
  justify-content: center;
}
.checkout-panel {
  width: min(1380px, 100%);
  background: #fff;
  padding: 0;
}
.checkout-panel .drawer__header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
}
.checkout-panel .drawer__header h2 {
  margin: 0;
  font-size: 34px;
}
.checkout-panel .drawer__header p {
  margin: 4px 0 0;
}
.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  min-height: calc(100vh - 86px);
}
.checkout-main {
  max-width: 720px;
  justify-self: end;
  width: 100%;
  padding: clamp(24px, 5vw, 58px);
  margin: 0;
}
.checkout-sidebar {
  border-left: 1px solid var(--line);
  background: #f5f5f2;
  padding: clamp(24px, 5vw, 58px);
}
.checkout-sidebar .checkout-summary {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 18px 0 0;
}
.checkout-section {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.checkout-section h3 {
  margin: 0;
  font-size: 24px;
}
.checkout-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.checkout-grid {
  display: grid;
  gap: 12px;
}
.checkout-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.checkout-main input,
.checkout-main select,
.checkout-main textarea,
.discount-row input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 14px 16px;
  font: inherit;
  font-weight: 650;
}
.checkout-main textarea {
  min-height: 104px;
}
.checkout-hidden-name {
  display: none;
}
.checkout-express h3 {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}
.express-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.express-button {
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 950;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,0,0,.10);
  transition: transform .15s ease, box-shadow .15s ease;
}
.express-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0,0,0,.14);
}
.express-button--card { background: #111; }
.express-button--blik { background: #fff; color: #111; border: 2px solid #111; }
.express-button--shop { background: #5a31f4; }
.express-button--paypal { background: #ffc43a; color: #003087; }
.express-button--apple,
.express-button--google { background: #000; }
.checkout-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 850;
  margin-top: 12px;
}
.checkout-divider::before,
.checkout-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.discount-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 22px 0;
}
.discount-row .button {
  min-height: 56px;
  padding-inline: 24px;
}
.checkout-cart-items {
  margin: 0;
}
.checkout-cart-items .cart-item {
  grid-template-columns: 70px 1fr auto;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 0;
}
.checkout-cart-items .cart-item img {
  width: 70px;
  height: 70px;
  background: #fff;
  border: 1px solid var(--line);
}
.checkout-submit {
  min-height: 58px;
  font-size: 18px;
}
.manual-point {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
}
.manual-point label {
  font-weight: 900;
}
.manual-point__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.manual-point__row input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 850;
  text-transform: uppercase;
}
.manual-point p {
  margin: 0;
}

@media (max-width: 980px) {
  .checkout-shell {
    grid-template-columns: 1fr;
  }
  .checkout-main {
    max-width: none;
    justify-self: stretch;
  }
  .checkout-sidebar {
    border-left: 0;
    border-top: 1px solid var(--line);
    order: -1;
  }
}

@media (max-width: 620px) {
  .checkout-panel .drawer__header {
    padding: 14px;
  }
  .checkout-panel .drawer__header h2 {
    font-size: 26px;
  }
  .checkout-main,
  .checkout-sidebar {
    padding: 18px 14px;
  }
  .express-buttons,
  .checkout-grid--2,
  .discount-row,
  .manual-point__row {
    grid-template-columns: 1fr;
  }
}

.google-side-ad {
  display: none;
}

@media (min-width: 1560px) {
  #produkty {
    position: relative;
  }
  .google-side-ad {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    display: block;
    width: clamp(130px, 9vw, 190px);
    pointer-events: none;
  }
  .google-side-ad--left {
    right: calc(100% + 46px);
  }
  .google-side-ad--right {
    left: calc(100% + 46px);
  }
  .google-side-ad__box {
    position: sticky;
    top: 132px;
    width: 100%;
    height: min(720px, calc(100vh - 166px));
    max-height: calc(100vh - 166px);
    border: 1px dashed #d2d2cc;
    border-radius: 22px;
    background: rgba(255,255,255,.62);
    color: #9a9a92;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 34px rgba(0,0,0,.05);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
}
