:root {
  --bg: #f3f5f9;
  --ink: #1c2330;
  --muted: #6e7787;
  --line: #e4e9f1;
  --blue: #2f67f6;
  --blue-d: #2456d8;
  --blue-s: #eaf0ff;
  --yellow: #ffc400;
  --green: #1fa85a;
  --red: #e11d2e;
  --card: #fff;
  --max: 1240px;
  --font: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: 34px; letter-spacing: -0.03em; }
h2 { font-size: 22px; letter-spacing: -0.02em; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.container.page { padding: 28px 0 64px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 13px; line-height: 1.5; }
.err { color: var(--red); font-size: 13px; margin: 6px 0 0; }
.ok { color: #0f8a46; font-size: 14px; }
.req, .field i { color: var(--red); font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.site-header { position: static; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.topbar { background: #f7f8fb; font-size: 13px; color: #5d6776; }
.top-row, .midbar, .navrow, .checkout-bar { display: flex; align-items: center; gap: 16px; }
.top-row { min-height: 38px; justify-content: space-between; }
.top-links, .top-actions, .tools, .footer-grid a, .sub, .mega-grid a { display: flex; }
.top-links, .top-actions { align-items: center; gap: 14px; }
.topbar button, .text-btn { background: none; border: 0; color: var(--blue); padding: 0; }
.status-btn { background: #ece9fb; color: #2c2a4a; border: 0; border-radius: 6px; padding: 6px 10px; font-weight: 700; }
.lang-btn, .lang-light { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px 8px; font-weight: 800; }
.midbar { min-height: 78px; }
.logo, .logo-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; }
.logo svg { width: 34px; height: 34px; }
.search-wrap { position: relative; flex: 1; min-width: 0; max-width: 100%; }
form.search { flex: 1; display: flex; width: 100%; min-width: 0; max-width: 100%; background: #f2f5fb; border-radius: 10px; overflow: hidden; }
form.search input { flex: 1 1 0; width: auto; min-width: 0; border: 0; background: transparent; padding: 12px 14px; outline: none; }
.search-drop { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 36px rgba(22, 34, 58, 0.12); max-height: 280px; overflow: auto; }
.search-drop a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 14px; line-height: 1.35; }
.search-drop a b { font-weight: 800; }
.search-drop a:hover, .search-drop a:focus-visible { background: var(--blue-s); color: var(--blue); }
form.search button, .icon-btn, .cart-btn { border: 0; background: transparent; display: grid; place-items: center; position: relative; }
form.search button { width: 46px; color: var(--blue); }
.tools { gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; color: #314056; }
.icon-btn:hover { background: var(--blue-s); }
.cart-btn { width: 46px; height: 46px; border-radius: 12px; background: var(--yellow); color: #1c2330; }
.count { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.count.dark { background: #1c2330; color: #fff; }
.navrow { min-height: 58px; gap: 22px; font-weight: 800; letter-spacing: 0.04em; }
.navrow a { text-decoration: none; font-size: 14px; }
.navrow a.active { color: var(--blue); }
.catalog-btn { background: var(--blue); color: #fff; border: 0; border-radius: 8px; min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; white-space: nowrap; flex: none; }
.catalog-btn:hover { background: var(--blue-d); }
.nav-wrap { position: relative; }
.cat-strip-wrap { border-top: 1px solid var(--line); background: #fff; }
.cat-strip { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding: 10px 0 12px; scrollbar-width: none; -ms-overflow-style: none; }
.cat-strip::-webkit-scrollbar { display: none; height: 0; }
.cat-strip a { flex: none; text-decoration: none; font-weight: 800; font-size: 14px; background: #f3f6fb; border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
.cat-strip a.active { background: var(--blue); color: #fff; }
.mega { position: absolute; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 18px 40px rgba(22, 34, 58, 0.08); padding: 18px 0 22px; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px; }
.mega-grid div, .sub { display: grid; gap: 8px; }
.mega-grid a:first-child { font-weight: 800; text-decoration: none; }
.mega-grid a { text-decoration: none; color: #3c4656; font-size: 14px; font-weight: 600; }

.container.home { padding-top: 18px; overflow-x: clip; }
body.home, body.page, body.search { display: block; width: auto; max-width: none; margin: 0; padding: 0; background: var(--bg); border-radius: 0; overflow-x: clip; }
.home-top { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; width: 100%; max-width: 100%; }
.home-side, .step-card, .summary, .pcard, .pay-box, .modal, .info-cards article { background: #fff; }
.home-side { border-radius: 16px; padding: 8px; }
.cat-list { display: grid; }
.cat-item { position: relative; }
.cat-item > a, .sub a { display: flex; gap: 8px; align-items: center; text-decoration: none; padding: 9px 10px; border-radius: 8px; font-weight: 650; }
.cat-item > a:hover, .sub a:hover, .mega-grid a:hover { background: var(--blue-s); color: var(--blue); }
.sub { display: none; position: absolute; left: calc(100% - 8px); top: 0; width: 230px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 12px 40px rgba(22, 34, 58, 0.12); z-index: 5; }
.cat-item:hover .sub, .cat-item:focus-within .sub { display: grid; }
.banner-slider { --gap: 8px; --per: 4; --index: 0; position: relative; min-width: 0; }
.banner-viewport { overflow: hidden; min-width: 0; }
.banner-track { display: flex; align-items: flex-start; gap: var(--gap); width: 100%; transition: transform 500ms ease; transform: translate3d(calc(var(--index) * -1 * (100% + var(--gap)) / var(--per)), 0, 0); }
.banner-track .photo-banner { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; display: block; padding: 0; height: auto; line-height: 0; background: transparent; border-radius: 5px; overflow: hidden; }
.banner-track .photo-banner img { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; object-fit: contain; border-radius: 5px; }
.banner-arrow { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; padding: 0; }
.banner-arrow.prev { left: 6px; }
.banner-arrow.next { right: 6px; }
.banner-arrow:disabled { opacity: 0.35; cursor: default; }
.banner { border-radius: 16px; padding: 22px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 148px; }
.banner strong { font-size: 22px; letter-spacing: -0.03em; }
.banner em { font-style: normal; font-weight: 800; }
.b1 { grid-row: 1 / span 2; background: radial-gradient(circle at 80% 20%, #8eb0ff, transparent 40%), linear-gradient(160deg, #163a9a, #2f67f6 60%, #79a0ff); }
.b2 { background: linear-gradient(160deg, #142033, #35507a); }
.b3 { background: linear-gradient(160deg, #7a1d12, #ef7a45); }
.home-hero { min-width: 0; }
.brand-carousel { display: flex; align-items: center; gap: 0; margin-top: 8px; background: #fff; min-width: 0; }
.brand-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.brand-track { display: flex; width: 100%; transition: transform 200ms cubic-bezier(0.55, 0, 0.1, 1); transform: translate3d(calc(var(--index) * -100% / var(--per)), 0, 0); }
.brand-card { flex: 0 0 calc(100% / var(--per)); aspect-ratio: 1; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 15px; background: #fff; text-decoration: none; box-sizing: border-box; }
.brand-card img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0.65; }
.brand-card:hover img, .brand-card:focus-visible img { opacity: 1; }
.brand-card:focus-visible { outline: 1px solid #306bf5; outline-offset: -1px; }
.brand-nav { flex: 0 0 110px; width: 110px; display: flex; align-items: center; justify-content: center; gap: 4px; background: #fff; align-self: stretch; }
.brand-nav button { width: 46px; height: 46px; border: 0; border-radius: 4px; background: #306bf5; color: #fff; display: grid; place-items: center; padding: 0; }
.brand-nav button svg { width: 16px; height: 16px; }
.brand-nav button:disabled { background: #f5f7fa; color: #c2cbd2; cursor: default; }
.home-benefits { margin: 8px 0 18px; }
.chip-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip-tabs button, .chip-tabs a { border: 0; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; text-decoration: none; }
.chip-tabs button.on, .chip-tabs a.on { background: var(--blue); color: #fff; }
.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 28px; }
.promo-card { border-radius: 16px; min-height: 150px; padding: 20px; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.promo-card strong { font-size: 22px; letter-spacing: -0.03em; }
.p-yellow { background: linear-gradient(160deg, #f5a623, #ffc400); color: #1c2330; }
.p-blue { background: linear-gradient(160deg, #163a9a, #2f67f6); color: #fff; }
.p-dark { background: linear-gradient(160deg, #1c2330, #3d4d66); color: #fff; }
.cat-jump { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.cat-jump a { background: #fff; border-radius: 999px; padding: 8px 12px; text-decoration: none; font-weight: 800; font-size: 14px; }
.cat-jump a.on { background: var(--blue); color: #fff; }
.store-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; margin: 0; padding: 0; }
.store-list li { background: #fff; border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.store-list span, .store-list em { color: var(--muted); font-style: normal; font-size: 13px; }
.pay-row { color: var(--muted); font-size: 13px; }
.benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 10px 0 24px; }
.benefits div { background: #fff; border-radius: 16px; padding: 16px; display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 750; min-width: 0; overflow: visible; flex: 0 1 260px; }
.benefits div span { min-width: 0; white-space: normal; overflow: visible; line-height: 1.35; }
.benefits svg { color: var(--blue); flex: none; }
.rail { margin: 10px 0 28px; }
.rail-head, .page-head, .row-actions, .buy-row, .pay-line, .gift-row, .status-form { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-actions { justify-content: flex-start; flex-wrap: wrap; }
.rail-head { margin-bottom: 12px; }
.rail-head a { color: var(--blue); font-weight: 800; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.browse .products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pcard { border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; position: relative; min-height: 100%; min-width: 0; }
.pcard-art { position: relative; height: 220px; min-height: 220px; max-height: 220px; display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.pcard.listing .sale-tag { position: absolute; top: 8px; left: 8px; z-index: 1; }
.pcard-art .photo, .pcard-art .art { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: center; }
.art, .photo { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.pcard-sku { color: var(--muted); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
.chips span { background: #f4f6fa; color: #526074; border-radius: 6px; padding: 2px 6px; font-size: 12px; max-width: 100%; line-height: 1.35; }
.card-stock { color: var(--green); font-size: 12px; font-weight: 800; }
.filters-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; min-height: 44px; padding: 0 14px; font-weight: 800; margin-bottom: 12px; }
.pcard-cat { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; }
.pcard-title { text-decoration: none; font-weight: 800; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
.pcard.listing .pcard-title { -webkit-line-clamp: 3; min-height: 0; }
.price, .price-xl { font-weight: 800; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price-line .price { flex-basis: 100%; }
.pcard.listing .price-line { margin-top: auto; gap: 2px 8px; }
.pcard.listing .price-line .old,
.pcard.listing .price-line .price { flex: 0 1 auto; flex-basis: auto; max-width: 100%; white-space: nowrap; }
.pcard.listing .price-line .old { order: 1; font-size: 14px; }
.pcard.listing .price-line .price { order: 2; font-size: 20px; letter-spacing: -0.03em; }
.pcard.listing .card-actions { margin-top: 8px; }
.price-xl { font-size: 34px; letter-spacing: -0.04em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.price-xl .price { order: 1; flex-basis: auto; }
.price-xl .sale-tag { order: 2; }
.price-xl .old { order: 3; flex-basis: auto; font-size: 16px; }
.old { color: #9aa3b2; text-decoration: line-through; font-weight: 700; }
.sale-tag { background: var(--red); color: #fff; border-radius: 6px; font-size: 12px; font-weight: 800; padding: 2px 6px; flex: none; align-self: baseline; }
.month, .stars, .rating { color: var(--muted); font-size: 13px; }
.stars-off { color: #d5dbe3; }
.icon-abs { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e6ebf2; background: #fff; color: #667; box-shadow: 0 1px 4px rgba(22, 34, 58, 0.12); }
.icon-abs.on, .ghost.on, .icon-row .on { color: var(--red); }
.card-actions { margin-top: auto; display: grid; gap: 6px; }
.card-actions .btn-yellow { width: 100%; }
.btn-yellow, .btn-green, .btn-blue, .btn-ghost { border: 0; border-radius: 10px; min-height: 44px; padding: 0 16px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-yellow { background: var(--yellow); color: #1c2330; }
.btn-yellow:hover { filter: brightness(1.05); }
.btn-green { background: var(--green); color: #fff; flex: 1; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { background: #fff; border: 1px solid var(--line); }
.full { width: 100%; }
button:disabled { opacity: 0.55; cursor: not-allowed; }
.ghost { background: transparent; border: 0; color: var(--blue); font-weight: 800; }

.page-head { align-items: flex-end; margin: 8px 0 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.crumbs a { color: var(--blue); }
.sep { margin: 0 4px; }
.browse { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; }
@media (min-width: 1001px) {
  .spec-layout .specs dt { flex-basis: 400px; width: 400px; }
}
.filters { background: #fff; border-radius: 14px; padding: 16px; height: max-content; display: grid; gap: 8px; }
.filters h2 { font-size: 16px; }
.filters h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.filters .check small { color: var(--muted); font-weight: 700; margin-left: 4px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; min-width: 0; }
.check span { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.facet { display: grid; gap: 8px; min-width: 0; }
.facet h3 { overflow-wrap: anywhere; }
.price-filter, .fields, .del-grid, .pay-grid { display: grid; gap: 10px; }
.price-filter { grid-template-columns: 1fr 1fr; }
.sort select, .field input, .field select, .field textarea, .price-filter input, .gift-row input, .news input[type="email"] {
  width: 100%; border: 1px solid #d5dbe6; border-radius: 10px; background: #fff; padding: 12px 14px;
}
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.field.bad input, .field.bad select, .bad-card { border-color: var(--red); }
.bad-text { color: var(--red); }
.sort { display: grid; gap: 6px; font-size: 13px; font-weight: 700; min-width: 220px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 100%; }
.pager button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.pager button.on { background: var(--blue); color: #fff; border-color: var(--blue); }

.product { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; }
.siblings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.siblings a { background: #fff; border-radius: 10px; padding: 6px; text-decoration: none; font-size: 11px; border: 1px solid transparent; }
.siblings a.on { border-color: var(--blue); }
.siblings .art { height: 72px; }
.gallery, .cart-art, .siblings a { background: #fff; overflow: hidden; }
.gallery { position: relative; border-radius: 16px; min-height: 320px; display: grid; place-items: center; }
.gallery .art, .gallery .photo { width: 100%; height: 460px; max-height: 70vh; object-fit: contain; object-position: center; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; z-index: 1; font-size: 22px; line-height: 1; }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.shots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; max-width: 100%; }
.shots button { flex: none; width: 70px; height: 70px; border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 4px; }
.shots button.on { border-color: var(--blue); }
.shots img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cart-art { display: grid; height: 140px; border-radius: 12px; }
.siblings .photo, .siblings .art { height: 72px; }
.buybox { display: grid; gap: 10px; align-content: start; }
.authorized { color: var(--muted); font-size: 13px; }
.swatches, .seg, .icon-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button, .seg button, .icon-row button, .points button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 10px; display: inline-flex; gap: 8px; align-items: center; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #d0d5dd; display: block; }
.swatches button.on, .seg button.on, .points button.on, .del-card.on, .person-tabs .on, .tabs .on { border-color: var(--blue); background: var(--blue-s); }
.tabs button.on { background: var(--blue); color: #fff; }
.option-block { display: grid; gap: 6px; }
.stock-ok { color: var(--green); font-weight: 800; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plans div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.plans span { display: block; color: var(--muted); font-size: 13px; }
.receive { list-style: none; margin: 0; padding: 2px 14px; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 14px; line-height: 1.35; overflow: visible; }
.receive li { display: grid; grid-template-columns: minmax(0, 1fr) max-content; grid-template-areas: "name price" "when price"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); min-width: 0; }
.receive li:first-child { border-top: 0; }
.receive-name { grid-area: name; min-width: 0; color: var(--ink); font-weight: 650; overflow-wrap: anywhere; white-space: normal; }
.receive-when { grid-area: when; min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.receive-price { grid-area: price; justify-self: end; align-self: center; max-width: none; min-width: max-content; font-weight: 800; text-align: right; white-space: nowrap; }
.product-tabs { margin: 8px 0 22px; }
.product-tabs .tabs { flex-wrap: wrap; margin-bottom: 14px; }
.product-tabs .tabs button { text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; font-weight: 800; }
.spec-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 32px; align-items: start; background: #fff; border-radius: 12px; padding: 18px 20px 8px; }
.spec-layout:not(:has(.product-desc)) { grid-template-columns: minmax(0, 1fr); }
.product-desc { background: #fff; border-radius: 12px; padding: 16px 18px; line-height: 1.55; min-width: 0; max-width: none; }
.spec-layout .product-desc { background: transparent; border-radius: 0; padding: 0; font-size: 16px; line-height: 1.3125; }
.product-desc p { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.store-filter { max-width: 280px; margin-bottom: 12px; }
.specs { width: 100%; background: transparent; border-radius: 0; padding: 0; margin: 0; min-width: 0; }
.specs div { display: flex; align-items: flex-start; gap: 10px; margin: 0.9rem 0; padding: 0; border: 0; min-width: 0; }
.specs dt { flex: 0 0 240px; width: 240px; color: #6d7378; font-weight: 500; min-width: 0; }
.specs dt span, .specs dd { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.specs dd { margin: 0; font-weight: 500; }
.data-table { width: 100%; border-collapse: collapse; border-spacing: 0; }
.data-table th, .data-table td { font-weight: 500; text-align: left; border-top: 1px solid #edeeef; padding: 17px 20px 17px 20px; vertical-align: top; }
.data-table th { color: var(--ink); }
.data-table td { color: #6d7378; }
.data-table td b { display: block; color: var(--ink); font-weight: 700; }
.data-table td span { display: block; margin-top: 2px; }
.store-pick { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.store-pick li { background: #fff; border-radius: 12px; padding: 12px 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; min-width: 0; }
.store-pick-name { min-width: 0; flex: 1 1 220px; display: grid; gap: 2px; }
.store-pick-name b, .store-pick-name span { min-width: 0; overflow-wrap: anywhere; }
.store-pick-name span, .store-pick-when { color: var(--muted); font-size: 13px; }
.store-pick-when { color: var(--ink); font-size: 14px; font-weight: 800; flex: none; white-space: nowrap; }
.compare-table th, .compare-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 36px; height: 40px; border: 0; background: #fff; font-size: 18px; }
.qty input { width: 42px; border: 0; text-align: center; font-weight: 800; }

.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.cart-page, .cart-layout, .cart-items, .cart-item, .cart-item > div, .summary, .empty-page { min-width: 0; max-width: 100%; }
.cart-item { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 14px; background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.cart-art .art, .cart-art .photo { height: 120px; max-width: 100%; object-fit: contain; }
.cart-item h2 { font-size: 18px; }
.cart-item h2, .cart-item h2 a, .cart-item p, .summary h2, .summary-notes, .sum-row span { overflow-wrap: anywhere; }
.cart-item h2 a { text-decoration: none; }
.cart-side { display: grid; justify-items: end; gap: 8px; align-content: start; }
.mini-del { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 8px 0; list-style: none; color: var(--muted); font-size: 13px; }
.mini-del li { flex: 1 1 7rem; min-width: 0; max-width: 100%; }
.mini-del b { display: block; color: var(--ink); overflow-wrap: anywhere; }
.summary { border-radius: 14px; padding: 16px; display: grid; gap: 10px; background: #f7f8fb; border: 1px solid var(--line); }
.summary-notes { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; display: grid; gap: 6px; }
.sum-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 4px 0; }
.sum-row span { min-width: 0; flex: 1 1 8rem; }
.sum-row b { margin-left: auto; white-space: nowrap; }
.sum-row.total { font-size: 18px; }
.summary .btn-yellow.full { white-space: normal; text-align: center; line-height: 1.2; padding-block: 10px; }
.empty-page .pcard-title { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; min-height: 0; }
.store-list li, .store-list b, .store-list span, .store-list em, .info-cards article, .info-cards h2, .info-cards p, .prose, .prose h1, .prose h2, .prose p { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

.checkout { min-height: 100vh; background: var(--bg); }
.checkout-top { background: var(--blue); color: #fff; }
.checkout-bar { min-height: 64px; }
.checkout-bar a, .lang-light { color: #fff; text-decoration: none; }
.lang-light { background: transparent; }
.checkout-top .logo { color: #fff; }
.checkout-top .logo svg circle { fill: #fff; }
.checkout-top .logo svg text { fill: #2f67f6; }
.checkout-body { padding: 28px 0 70px; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 8px; }
.step-no { color: #f0b429; font-size: 30px; font-weight: 800; padding-top: 16px; }
.step-card { border-radius: 8px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 8px 24px rgba(28, 39, 64, 0.04); }
.step-head { display: flex; justify-content: space-between; gap: 12px; }
.step-head h2, .step-card h2 { font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.person-tabs, .tabs { display: flex; gap: 0; }
.person-tabs button, .tabs button { border: 1px solid var(--line); background: #fff; min-height: 42px; padding: 0 16px; }
.person-tabs button:first-child, .tabs button:first-child { border-radius: 10px 0 0 10px; }
.person-tabs button:last-child, .tabs button:last-child { border-radius: 0 10px 10px 0; }
.fields { grid-template-columns: 1fr 1fr; }
.field.wide { grid-column: 1 / -1; }
.field.narrow { max-width: 420px; }
.del-grid, .pay-grid { grid-template-columns: repeat(3, 1fr); }
.pay-method { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; align-content: space-between; min-height: 96px; }
.pay-method.on { border-color: var(--blue); background: var(--blue-s); box-shadow: inset 0 0 0 1px var(--blue); }
.pay-method span { color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.3; }
.pay-mark { height: 32px; width: auto; max-width: 100%; display: block; }
.bank-screen { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.bank-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: #fff; min-height: 84px; }
.bank-head strong { display: block; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.bank-head span { display: block; margin-top: 4px; font-size: 13px; opacity: 0.92; }
.bank-swedbank .bank-head { background: #ff5a00; }
.bank-seb .bank-head { background: #0b8a3d; }
.bank-citadele .bank-head { background: #e23d12; }
.bank-luminor .bank-head { background: #5b2c83; }
.bank-screen .stack { padding: 0 18px 18px; }
.pay-facts { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; background: #fff; }
.pay-box > .pay-facts { padding: 0 0 4px; background: transparent; }
.status-payment_incomplete { color: #b45309; }
.status-payment_failed { color: var(--red); }
.pay-facts span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.pay-facts strong { display: block; font-size: 26px; letter-spacing: -0.03em; }
.wallet-hero { border-radius: 16px; padding: 18px; color: #fff; display: grid; gap: 6px; }
.wallet-apple { background: #111; }
.wallet-revolut { background: #1b1f24; }
.wallet-hero .wallet-amount { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.wallet-hero .wallet-order { font-size: 16px; }
.wallet-hero .pay-mark { height: 36px; }
.del-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; color: var(--blue); min-height: 128px; }
.del-card strong { color: var(--ink); }
.del-card span, .del-card em { color: var(--muted); font-style: normal; font-size: 13px; }
.points { display: grid; gap: 8px; }
.points button { text-align: left; display: grid; }
.credit-box, .gift-row { display: grid; gap: 8px; }
.order-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 10px 0 0 44px; }
.order-lines { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.order-lines li, .account-orders li { display: flex; justify-content: space-between; gap: 12px; }
.pay-line { align-items: flex-end; margin-top: 14px; }
.pay-line strong { display: block; font-size: 28px; }
.pay-box, .order-view, .info-cards article { border-radius: 14px; padding: 18px; display: grid; gap: 8px; }
.pay-card { background: linear-gradient(135deg, #1c2330, #2f67f6); color: #fff; border-radius: 16px; padding: 18px; min-height: 168px; display: grid; align-content: space-between; gap: 18px; }
.pay-card.brand-visa { background: linear-gradient(135deg, #0a2a6b, #1a4db3); }
.pay-card.brand-mastercard { background: linear-gradient(135deg, #3a1218, #8a2a22); }
.pay-card.brand-maestro { background: linear-gradient(135deg, #062a44, #0b6ea8); }
.pay-card.brand-amex { background: linear-gradient(135deg, #0c3d66, #1677b8); }
.pay-card strong { letter-spacing: 0.12em; font-size: 18px; font-weight: 700; }
.pay-chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #e6d39a, #b9974a 45%, #f3e2ae); }
.pay-card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.card-brands { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-brands span { display: grid; place-items: center; height: 42px; min-width: 68px; padding: 0 8px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.card-brands span.on { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-s); }
.brand-mark { width: 46px; height: 28px; display: block; }
.brand-word { font-weight: 800; letter-spacing: 0.04em; font-size: 15px; line-height: 1; }
.brand-word.visa { color: #1a1f71; font-style: italic; font-size: 20px; }
.pay-card .brand-mark { width: 58px; height: 36px; }
.pay-card .brand-word.visa { font-size: 28px; }
.brand-word.amex { color: #fff; background: #1677b8; border-radius: 4px; padding: 3px 5px; font-size: 11px; }
.pay-card .brand-word.visa, .pay-card .brand-word.amex { color: #fff; background: transparent; padding: 0; }
.pay-window-back { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: rgba(18, 24, 38, 0.48); }
.pay-window { position: relative; width: min(560px, 100%); max-height: min(92vh, 900px); overflow: auto; background: #fff; border-radius: 16px; padding: 22px; display: grid; gap: 12px; box-shadow: 0 18px 40px rgba(22, 34, 58, 0.16); }
.pay-window-bar { display: flex; align-items: center; gap: 12px; padding-right: 36px; }
.pay-window h1 { flex: 1; font-size: 22px; }
.demo-note { background: #fff7d6; border-radius: 10px; padding: 10px 12px; }
.sms-inbox { background: #e7edf5; border-radius: 18px; padding: 14px; display: grid; gap: 8px; }
.sms-from { font-size: 12px; font-weight: 800; color: var(--muted); }
.sms-bubble { background: #fff; border-radius: 4px 16px 16px 16px; padding: 12px 14px; display: grid; gap: 6px; box-shadow: 0 6px 16px rgba(28, 39, 64, 0.06); }
.sms-code { font-size: 32px; letter-spacing: 0.22em; font-weight: 800; }
.pay-result { border-radius: 14px; padding: 4px 2px; display: grid; gap: 8px; }
.pay-result.bad h2 { color: var(--red); }
.pay-result.good h2 { color: #0f8a46; }
.account-orders a.btn-yellow { background: var(--yellow); padding: 0 14px; }
.empty, .empty-page { padding: 28px 0; display: grid; gap: 12px; justify-items: start; }
.table-wrap { overflow: auto; background: #fff; border-radius: 14px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.prose { display: grid; gap: 12px; max-width: 980px; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stack { display: grid; gap: 10px; }
.account-orders { list-style: none; padding: 0; display: grid; gap: 8px; }
.account-orders li, .account-orders a { background: #fff; border-radius: 10px; padding: 12px; text-decoration: none; }
.timeline { display: flex; gap: 8px; padding: 0; margin: 8px 0; list-style: none; }
.timeline li { flex: 1; background: #fff; border-radius: 10px; padding: 10px; font-size: 13px; color: var(--muted); }
.timeline .done { background: #e8f8ee; color: #0f8a46; font-weight: 800; }
.status { font-weight: 800; }
.order-id { font-size: 18px; }
.footer { margin-top: 20px; }
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: #fff; border-radius: 16px; padding: 18px; }
.news form { display: grid; gap: 8px; justify-items: start; }
.news label { display: flex; justify-content: flex-start; align-items: flex-start; gap: 8px; width: 100%; max-width: 100%; text-align: left; font-size: 13px; line-height: 1.35; }
.news label span { flex: 1; min-width: 0; }
.news label input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; margin: 1px 0 0; padding: 0; flex: 0 0 auto; accent-color: var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 18px; padding: 28px 0; }
.footer-grid div { display: grid; align-content: start; gap: 8px; }
.footer-grid a { text-decoration: none; }
.legal { color: var(--muted); font-size: 13px; padding-bottom: 28px; }
.modal-back { position: fixed; inset: 0; background: rgba(18, 24, 38, 0.48); display: grid; place-items: center; z-index: 60; padding: 18px; }
.modal { width: min(520px, 100%); border-radius: 16px; padding: 22px; max-height: min(90vh, 760px); overflow: auto; position: relative; }
.modal-wide { width: min(860px, 100%); }
.modal-x { position: absolute; top: 12px; right: 12px; border: 0; background: transparent; }
.login-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
.reg-benefits { background: #f6f8fc; border-radius: 12px; padding: 16px; display: grid; gap: 6px; }
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: #1c2330; color: #fff; border-radius: 999px; padding: 12px 16px; z-index: 70; }
.cookie-bar[hidden] { display: none !important; }
.cookie-bar { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 12px; width: min(1100px, calc(100% - 32px)); margin: 0 auto; display: flex; align-items: center; gap: 16px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 12px 32px rgba(22, 34, 58, 0.16); padding: 12px 14px; }
.cookie-bar p { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.cookie-actions { display: flex; flex-wrap: nowrap; gap: 8px; flex: none; }
.cookie-actions .btn-ghost, .cookie-actions .btn-blue { min-height: 40px; white-space: nowrap; }
body:has(.cookie-bar:not([hidden])) { padding-bottom: 88px; }
body:has(.cookie-bar:not([hidden])) .toast { bottom: 104px; }

@media (max-width: 1000px) {
  .products, .footer-grid, .info-cards, .promo-row, .store-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-top, .browse, .product, .cart-layout, .order-foot, .news, .login-grid { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .home-top { width: 100%; max-width: none; margin-inline: 0; }
  .browse > *, .home-top > *, .product > *, .cart-layout > * { min-width: 0; }
  .home-side { display: none; }
  .banner-slider.is-single { width: min(100%, 280px); margin-inline: auto; }
  .benefits { justify-content: center; }
  .benefits div { flex: 0 1 260px; padding: 10px 12px; }
  .b1 { grid-row: auto; min-height: 0; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; bottom: auto; max-height: min(70vh, 480px); z-index: 45; overflow: auto; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .gallery .art, .gallery .photo { height: 300px; }
  .spec-layout { grid-template-columns: minmax(0, 1fr); }
  .specs dt { flex-basis: auto; width: auto; }
  .filters { display: none; }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  h1 { font-size: 28px; }
  .products, .footer-grid, .info-cards, .fields, .del-grid, .plans, .promo-row, .store-list { grid-template-columns: minmax(0, 1fr); }
  .benefits div { flex-basis: 100%; max-width: 100%; }
  .pay-grid { grid-template-columns: 1fr; }
  .pay-facts strong, .wallet-hero .wallet-amount { font-size: 28px; }
  .top-row { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  .top-links { flex: 1 1 auto; flex-wrap: wrap; min-width: 0; max-width: 100%; gap: 6px 12px; }
  .top-actions { flex: none; flex-wrap: wrap; max-width: 100%; row-gap: 6px; }
  .navrow { flex-wrap: nowrap; overflow-x: auto; min-width: 0; scrollbar-width: none; -ms-overflow-style: none; }
  .navrow::-webkit-scrollbar { display: none; height: 0; }
  .navrow a { flex: none; }
  .page-head, .rail-head { flex-direction: column; align-items: flex-start; }
  .sort { min-width: 0; width: 100%; }
  .receive li { align-items: center; }
  .specs div { flex-direction: column; gap: 2px; }
  .specs dt { flex-basis: auto; width: auto; }
  .cookie-bar { flex-wrap: wrap; align-items: stretch; gap: 10px; padding: 10px 12px; }
  .cookie-actions { flex-wrap: nowrap; width: 100%; }
  .cookie-actions .btn-blue, .cookie-actions .btn-ghost { flex: 1 1 0; min-width: 0; white-space: normal; line-height: 1.15; padding: 8px; }
  body:has(.cookie-bar:not([hidden])) { padding-bottom: 176px; }
  body:has(.cookie-bar:not([hidden])) .toast { bottom: 188px; }
  html { scroll-padding-bottom: 176px; }
  .checkout-bar { flex-wrap: wrap; row-gap: 8px; }
  .midbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo tools" "search search"; align-items: center; column-gap: 12px; row-gap: 10px; min-height: 0; }
  .midbar .logo-link { grid-area: logo; }
  .midbar .tools { grid-area: tools; justify-self: end; }
  .midbar .search-wrap { grid-area: search; width: 100%; min-width: 0; max-width: 100%; }
  .midbar form.search { order: 0; flex-basis: auto; width: 100%; min-width: 0; max-width: 100%; }
  .cart-item { grid-template-columns: minmax(0, 1fr); }
  .cart-side { justify-items: start; }
  .step { grid-template-columns: 1fr; }
  .step-no { padding-top: 0; }
  .order-foot { padding-left: 0; }
  .timeline { flex-direction: column; }
  .siblings { grid-template-columns: repeat(3, 1fr); }
  .mega-grid { grid-template-columns: 1fr; }
  .pay-line, .buy-row { flex-direction: column; align-items: stretch; }
  .buy-row .qty { align-self: flex-start; width: auto; }
  .buy-row .btn-green, .buy-row .btn-blue, .pay-line .btn-yellow { width: 100%; }
  .gallery { min-height: 0; }
  .gallery .art, .gallery .photo { height: 220px; }
  .data-table th, .data-table td { padding: 12px 10px; }
  input, select, textarea { font-size: 16px; }
  .status-btn, .catalog-btn { white-space: nowrap; }
  .nav-wrap, .navrow, .catalog-btn { max-width: 100%; min-width: 0; }
  .cart-item { padding: 12px; }
  .price-xl { font-size: 28px; }
  body { overflow-x: hidden; }
}

@media (max-width: 390px) {
  .site-header, .midbar, .nav-wrap, .navrow, .search-wrap, form.search { max-width: 100%; min-width: 0; }
  .catalog-btn { max-width: 100%; padding: 0 10px; overflow: hidden; }
  form.search input { padding: 10px 8px; }
  .navrow { gap: 10px; }
}



/* Product cards follow the React ProductCard, not Storefront. */
.pcard .sale-tag { position: static !important; top: auto !important; left: auto !important; z-index: auto; }
.pcard .price-line .sale-tag { order: 1; }
.pcard .price-line .old { order: 2; flex: 0 1 auto; flex-basis: auto; }
.pcard .price-line .price { order: 3; flex: 1 0 100%; font-size: 20px; letter-spacing: -0.03em; }
.pcard-art { height: 220px; min-height: 220px; max-height: 220px; }
.pcard-art .photo,
.pcard-art img.photo { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: center; background: #fff; }
.woocommerce span.onsale,
.wc-block-components-product-sale-badge { display: none !important; }
ul.products { list-style: none; margin: 0; padding: 0; }
ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.woocommerce-pagination a,
.woocommerce-pagination span { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; text-decoration: none; padding: 0 8px; }
.woocommerce-pagination span.current { background: var(--blue); color: #fff; border-color: var(--blue); }
.buybox form.cart { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.buybox .quantity { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.buybox .quantity .qty { width: 52px; min-height: 40px; border: 0; text-align: center; font-weight: 800; }
.buybox .single_add_to_cart_button { background: var(--green); color: #fff; border: 0; border-radius: 10px; min-height: 44px; padding: 0 16px; font-weight: 800; }
.woocommerce form .form-row { margin: 0 0 12px; }
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea { width: 100%; border: 1px solid #d5dbe6; border-radius: 10px; background: #fff; padding: 12px 14px; }
.woocommerce #place_order,
.woocommerce button.button.alt,
.woocommerce a.button.alt { background: var(--yellow); color: #1c2330; border: 0; border-radius: 10px; min-height: 44px; padding: 0 16px; font-weight: 800; }
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review { background: #fff; }
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review { border-radius: 14px; padding: 16px; }
.woocommerce-error, .woocommerce-info, .woocommerce-message { background: #fff; border-radius: 10px; padding: 12px 14px; list-style: none; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}
img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: auto none; }
html { margin-top: 0 !important; }
#wpadminbar { display: none !important; }
.pcard-art, .gallery, .cart-art { contain: layout; }
.buybox h1, .buybox p, .crumbs, .crumbs span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.cart-item { align-items: start; }
.buybox form.cart .qty input,
.cart-side .qty input {
  width: 42px;
  min-width: 0;
  max-width: 42px;
  padding: 0;
  border: 0;
  flex: none;
}

.cart-side .qty input {
  width: 42px;
  min-width: 0;
  max-width: 42px;
  padding: 0;
  border: 0;
}

@media (max-width: 390px) {
  .cart-page,
  .cart-layout,
  .cart-items,
  .cart-item,
  .cart-item > div,
  .cart-item h2,
  .cart-item h2 a,
  .cart-item p,
  .empty-page,
  .empty-page p,
  .summary,
  .summary h2,
  .summary-notes,
  .sum-row,
  .sum-row span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .cart-art,
  .cart-art .photo {
    max-width: 100%;
  }
  .cart-side .qty {
    max-width: 100%;
  }
  .summary .btn-yellow.full,
  .empty-page .btn-yellow {
    max-width: 100%;
    white-space: normal;
    height: auto;
  }
}

/* Checkout page only. WooCommerce layout CSS is not loaded. */
body.woocommerce-checkout form.checkout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 720px;
  min-height: 0;
  margin: 0 auto;
  float: none;
  clear: both;
}
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #order_review_heading {
  float: none;
  width: 100%;
  max-width: 100%;
  clear: both;
  min-width: 0;
}
body.woocommerce-checkout #customer_details .col-2 {
  display: none;
}
body.woocommerce-checkout .col2-set {
  display: flex;
  flex-direction: column;
  width: 100%;
  float: none;
}
body.woocommerce-checkout .form-row,
body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last,
body.woocommerce-checkout .form-row-wide {
  float: none;
  width: 100%;
  max-width: 100%;
  clear: both;
  margin: 0 0 12px;
}
body.woocommerce-checkout .form-row label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
body.woocommerce-checkout form .input-text,
body.woocommerce-checkout form select,
body.woocommerce-checkout form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout form.woocommerce-form-login,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_comments_field,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout #ship-to-different-address,
body.woocommerce-checkout .woocommerce-account-fields,
body.woocommerce-checkout .create-account,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout .woocommerce-privacy-policy-text {
  display: none !important;
}
body.woocommerce-checkout #payment ul.wc_payment_methods {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
body.woocommerce-checkout #payment ul.wc_payment_methods li,
body.woocommerce-checkout #payment ul.wc_payment_methods label {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body.woocommerce-checkout .shop_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
body.woocommerce-checkout .shop_table th,
body.woocommerce-checkout .shop_table td {
  padding: 8px 0;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
body.woocommerce-checkout .shop_table .product-total,
body.woocommerce-checkout .shop_table tfoot td {
  width: 38%;
  text-align: right;
}
body.woocommerce-checkout #place_order {
  width: 100%;
  max-width: 100%;
  height: auto;
  white-space: normal;
  line-height: 1.2;
  padding: 12px 16px;
}
body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 390px) {
  body.woocommerce-checkout .container.page,
  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout .form-row,
  body.woocommerce-checkout .form-row label,
  body.woocommerce-checkout .input-text,
  body.woocommerce-checkout #place_order,
  body.woocommerce-checkout #payment,
  body.woocommerce-checkout .shop_table,
  body.woocommerce-checkout .shop_table th,
  body.woocommerce-checkout .shop_table td,
  body.woocommerce-checkout .product-name {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}
