/* Full Pot Wholesale Shop. Layout and look follow the Holland webshop Full Pot customers
   already use: white two-row header, category columns, promo tiles, filters on the left,
   dense product cards with stacked price tiers and blue quantity buttons. */
:root {
  --bg: #FFFFFF;
  --ink: #222222;
  --ink-2: #4A4A4A;
  --muted: #8A8A8A;
  --line: #E6E6E6;
  --line-2: #D9D9D9;
  --band: #F2F1EE;
  --tile: #ECEBE8;
  --blue: #4F98BD;
  --blue-deep: #3B7FA3;
  --blue-soft: #E3EEF3;
  --blue-line: #CFE3EE;
  --green: #2E7D32;
  --green-bg: #E6F4E2;
  --green-line: #C9E6C0;
  --danger: #B3261E;
  --danger-bg: #FCECEA;
  --font: "Roboto", "Segoe UI", Arial, sans-serif;
  --serif: "Roboto Slab", Georgia, serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 13px; line-height: 1.45; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 60; background: #fff; padding: 8px 12px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1336px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.grow { flex: 1; }
.link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 16px; border: 1px solid var(--blue); border-radius: 2px; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-decoration: none; white-space: nowrap; background: #fff; color: var(--blue); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-sm { min-height: 30px; padding: 4px 10px; font-size: 11px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-outline[aria-pressed="true"] svg { fill: var(--blue); }

/* ---------- Header ---------- */
.demo-bar { background: var(--band); color: var(--ink-2); font-size: 11px; text-align: center; padding: 4px 16px; }
.head-top { background: #fff; }
.head-top-row { display: flex; align-items: center; justify-content: space-between; min-height: 80px; padding-top: 8px; padding-bottom: 8px; }
.logo { display: block; margin-left: 74px; }
.logo img { height: 65px; width: auto; }
.head-tools { display: flex; align-items: center; gap: 14px; }
.fav-link { color: var(--blue); display: inline-flex; }
.fav-link svg { width: 24px; height: 24px; fill: var(--blue); stroke: var(--blue); }
.account { position: relative; }
.account summary { list-style: none; display: inline-flex; align-items: center; gap: 2px; cursor: pointer; padding: 4px; }
.account summary::-webkit-details-marker { display: none; }
.account summary svg { width: 22px; height: 22px; }
.account summary .chev { width: 14px; height: 14px; stroke-width: 2.4; }
.account-menu { position: absolute; right: 0; top: 100%; z-index: 40; min-width: 200px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.08); padding: 8px 0; }
.account-menu p { padding: 6px 16px 8px; font-weight: 700; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.account-menu a { display: block; padding: 7px 16px; }
.account-menu a:hover { background: var(--band); }
.signout { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--blue); background: #fff; color: var(--blue); font-size: 12px; font-weight: 700; border-radius: 2px; }
.signout svg { width: 14px; height: 14px; stroke-width: 2.2; }
.signout:hover { background: var(--blue-soft); }

.head-nav { position: sticky; top: 0; z-index: 30; background: #fff; border-top: 1px solid #F0F0F0; border-bottom: 1px solid var(--line); }
.head-nav-row { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.cats { display: flex; align-items: stretch; gap: 28px; align-self: stretch; margin-right: auto; }
.cats a { position: relative; display: flex; align-items: center; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cats a:hover { color: var(--blue); }
.cats a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue-line); }
.search { position: relative; flex: 0 1 430px; }
.search svg { position: absolute; left: 12px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); stroke-width: 2; }
.search input { width: 100%; height: 40px; padding: 0 12px 0 40px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font-size: 14px; }
.search input::placeholder { color: #9A9A9A; }
.search input:focus { outline: none; border-color: var(--blue); }
.cart-chip { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.cart-meta { display: flex; flex-direction: column; font-size: 11px; line-height: 1.75; color: var(--ink); }
.cart-icon { position: relative; display: inline-flex; }
.cart-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.cart-icon b { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 10px; line-height: 18px; text-align: center; }
.order-ov { display: flex; align-items: center; gap: 8px; padding-left: 16px; border-left: 1px solid var(--line); align-self: stretch; font-size: 12px; font-weight: 700; line-height: 1.05; text-align: center; }
.order-ov svg { width: 22px; height: 22px; }
.order-ov:hover, .cart-chip:hover { color: var(--blue); }
[data-mode="login"] .shop-only, [data-mode="loading"] .shop-only { display: none; }

/* ---------- Breadcrumb, subcategories, promo tiles ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; padding-bottom: 8px; font-size: 12px; color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs b { color: var(--ink); font-weight: 700; }
.subcats { columns: 7 180px; column-gap: 24px; padding: 12px 32px 16px; font-size: 13px; }
.subcats a { display: block; padding: 2px 0; break-inside: avoid; color: var(--ink); }
.subcats a:hover { color: var(--blue); text-decoration: underline; }
.subcats .more { color: var(--blue); font-weight: 700; text-decoration: underline; }
.promos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0 32px 16px; }
.promo { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 114px; padding: 12px 12px 18px; background: var(--tile); overflow: hidden; }
.promo-word { font-family: "Arial Black", "Roboto", sans-serif; font-weight: 900; font-size: clamp(26px, 3vw, 44px); letter-spacing: .01em; line-height: 1; color: var(--tint); background: var(--img) center 40% / 260% auto, var(--tint); background-blend-mode: multiply; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.promo-script { font-family: var(--script); font-size: clamp(22px, 2.3vw, 34px); line-height: .8; color: #1E1E1E; margin-top: -2px; }
.round-arrow { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; border: 0; }
.round-arrow svg { width: 17px; height: 17px; stroke-width: 2.4; }
.promo .round-arrow { position: absolute; right: 10px; bottom: 10px; }
.promo:hover .round-arrow { background: var(--blue-deep); }

/* ---------- Home ---------- */
.hero { position: relative; margin-top: 16px; }
.slide { display: none; position: relative; height: 243px; overflow: hidden; background: linear-gradient(90deg, #F7F3EE, #EFE8E0); }
.slide.is-active { display: block; }
.slide-imgs { position: absolute; inset: 0 0 0 46%; display: grid; grid-template-columns: repeat(4, 1fr); }
.slide-imgs img { width: 100%; height: 100%; object-fit: cover; }
.slide-text { position: absolute; left: 4%; top: 18%; bottom: 18%; display: flex; flex-direction: column; justify-content: center; padding: 0 40px; background: rgba(196, 64, 46, .78); color: #fff; max-width: 40%; }
.slide-text strong { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 50px); font-weight: 700; line-height: 1.05; }
.slide-text em { font-style: normal; font-size: 15px; margin-top: 6px; opacity: .95; }
.hero-next { position: absolute; right: 30px; bottom: 12px; }
.quick { display: flex; justify-content: center; gap: 4px; margin-top: 32px; margin-bottom: 24px; padding-top: 10px; padding-bottom: 10px; background: #F8F7F5; }
.quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 146px; height: 62px; background: #fff; border: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.quick a svg { width: 22px; height: 22px; }
.quick a:hover { color: var(--blue); }

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: 196px 1fr; gap: 12px; padding: 0 32px 40px; }
.catalog.is-collapsed { grid-template-columns: 24px 1fr; }
.filters { position: relative; border-right: 2px solid var(--blue-line); padding-right: 18px; }
.catalog.is-collapsed .filters-inner { display: none; }
.catalog.is-collapsed .filters { padding-right: 0; }
.collapse { position: absolute; top: 0; right: -13px; z-index: 2; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--blue); background: #fff; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.collapse svg { width: 14px; height: 14px; stroke-width: 2.4; }
.catalog.is-collapsed .collapse svg { transform: rotate(180deg); }
.filters-inner { position: sticky; top: 64px; padding-top: 2px; }
.behalf { font-size: 11px; line-height: 1.5; margin-bottom: 18px; }
.behalf b { color: var(--green); }
.clear { font-size: 12px; margin-bottom: 12px; }
.facet { margin-bottom: 18px; }
.facet summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding-bottom: 4px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); cursor: default; pointer-events: none; }
.facet.is-fold summary { cursor: pointer; pointer-events: auto; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary svg { width: 15px; height: 15px; stroke-width: 2.2; transition: transform .15s; }
.facet[open] summary svg { transform: rotate(180deg); }
.facet-body label { position: relative; display: flex; align-items: center; gap: 8px; padding: 2px 0; font-size: 11.5px; cursor: pointer; }
.facet-body input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.facet-body .box { width: 13px; height: 13px; flex: none; border: 1px solid #B9B9B9; border-radius: 2px; background: #fff; }
.facet-body input:checked + .box { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--blue); }
.facet-body input:focus-visible + .box, .facet-body input:focus-visible + .swatch { outline: 2px solid var(--blue); outline-offset: 2px; }
.facet-body input:checked ~ span:last-child { font-weight: 700; }
.facet.is-colors .facet-body { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
.swatch { display: inline-block; width: 13px; height: 13px; flex: none; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.facet-body input:checked + .swatch { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--blue); }
.flag { display: inline-block; width: 12px; height: 12px; flex: none; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }

.results { min-width: 0; }
.results-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.results-title h1 { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.count { color: var(--muted); font-size: 12px; }
.toolbar { position: sticky; top: 57px; z-index: 20; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 4px 0 6px; background: #fff; }
.view-btns { display: flex; gap: 4px; }
.view-btns button, .tool-btn { height: 36px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 2px; padding: 0 8px; }
.view-btns svg { width: 18px; height: 18px; }
.view-btns [aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.view-btns [aria-pressed="true"] svg rect { fill: #fff; }
.sort-box, .date-box { position: relative; display: inline-flex; align-items: center; }
.sort-box select, .date-box select { appearance: none; -webkit-appearance: none; height: 36px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.sort-box select { width: 185px; padding: 0 30px 0 12px; }
.sort-box svg { position: absolute; right: 10px; width: 15px; height: 15px; pointer-events: none; stroke-width: 2.2; }
.date-box select { width: 138px; padding: 0 34px 0 10px; }
.date-box svg { position: absolute; right: 8px; width: 20px; height: 20px; pointer-events: none; }
.loc-box { display: inline-flex; align-items: center; gap: 6px; height: 36px; min-width: 185px; padding: 0 12px; border: 1px solid var(--green-line); background: var(--green-bg); color: var(--green); font-weight: 700; font-size: 13px; }
.loc-box svg { width: 15px; height: 15px; }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 6px; }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; min-width: 0; }
.card:hover { border-color: #CFCFCF; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.tag { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 1px 6px; background: var(--blue-soft); color: var(--ink); font-size: 11px; font-weight: 500; border-radius: 1px; }
.tag-special { background: #FBE3EC; }
.tag-new { background: #EDE6F5; }
.tag-bargain { background: #FDE7D9; }
.tag-inline { position: static; display: inline-block; }
.fav { position: absolute; top: 8px; right: 8px; z-index: 1; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 1px solid #C9C9C9; background: rgba(255,255,255,.9); color: #8F8F8F; display: inline-flex; align-items: center; justify-content: center; }
.fav svg { width: 13px; height: 13px; stroke-width: 2; }
.fav[aria-pressed="true"] { color: var(--blue); border-color: var(--blue); }
.fav[aria-pressed="true"] svg { fill: var(--blue); }
.card-img { display: block; aspect-ratio: 1; overflow: hidden; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-name { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 6px 8px; text-align: center; font-weight: 700; font-size: 13px; line-height: 1.25; }
.card-name:hover { color: var(--blue); }
.card-size { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 40px; background: var(--band); font-size: 11px; font-weight: 700; line-height: 1.1; }
.card-size svg { width: 13px; height: 13px; stroke-width: 2; margin-bottom: 2px; }
.card-color { padding: 6px 8px 2px; }
.card-color .swatch { width: 11px; height: 11px; }
.card-buy { display: flex; gap: 4px; padding: 4px 6px 8px; flex: 1; }
.card-meta { display: flex; flex-direction: column; gap: 2px; min-width: 48px; font-size: 10.5px; color: var(--ink); }
.meta-line { display: flex; align-items: center; gap: 3px; }
.meta-line svg { width: 12px; height: 12px; }
.meta-pack { color: var(--muted); }
.card-tiers { flex: 1; display: flex; flex-direction: column; gap: 3px; align-items: flex-end; min-width: 0; }
.tier { display: flex; align-items: center; gap: 0; }
.tier-price { font-size: 11.5px; font-weight: 700; margin-right: 6px; white-space: nowrap; }
.tier input { width: 24px; height: 22px; padding: 0 2px; border: 1px solid var(--line-2); border-right: 0; text-align: center; font-size: 11px; -moz-appearance: textfield; }
.tier input::-webkit-outer-spin-button, .tier input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tier input::placeholder { color: #BDBDBD; }
.tier button { height: 22px; min-width: 40px; padding: 0 5px; border: 0; background: var(--blue); color: #fff; font-size: 11px; font-weight: 500; white-space: nowrap; }
.tier button:hover { background: var(--blue-deep); }
.tier button[disabled] { background: #B9D3E1; cursor: not-allowed; }
.unavail { font-size: 11px; color: var(--muted); text-align: right; }
.card-tiers .link { font-size: 11px; text-align: right; }
.in-cart { display: block; padding: 4px 8px 6px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--blue); text-align: center; }

/* List layout */
.grid.is-list { grid-template-columns: 1fr; gap: 4px; }
.grid.is-list .card { display: grid; grid-template-columns: 96px minmax(160px, 1.4fr) 90px 30px minmax(250px, 1.6fr); grid-template-areas: "img name size color buy" "img cart cart cart cart"; align-items: center; }
.grid.is-list .card-img { grid-area: img; width: 96px; height: 96px; grid-row: 1 / span 2; }
.grid.is-list .card-name { grid-area: name; justify-content: flex-start; text-align: left; min-height: 0; padding-left: 14px; }
.grid.is-list .card-size { grid-area: size; }
.grid.is-list .card-color { grid-area: color; }
.grid.is-list .card-buy { grid-area: buy; }
.grid.is-list .in-cart { grid-area: cart; border-top: 0; text-align: right; }
.grid.is-list .tag { left: 104px; }
.grid.is-list .fav { right: auto; left: 70px; }

/* ---------- Product page ---------- */
.pdp-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; margin-bottom: 24px; }
.pdp-bar .btn[aria-pressed="true"] { background: var(--blue-soft); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pdp-media { display: flex; justify-content: center; }
.pdp-media img { width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; }
.pdp-info h1 { font-size: 28px; font-weight: 700; margin: 12px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips > span { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: var(--band); font-size: 12px; font-weight: 700; }
.chips svg { width: 14px; height: 14px; }
.pdp-offer { margin-bottom: 26px; }
.pdp-offer h2 { font-size: 15px; font-weight: 500; color: var(--blue); }
.pdp-pack { font-size: 11px; color: var(--muted); margin: 4px 0 8px; }
.pdp-tiers { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.tier-pdp .tier-price { order: 3; }
.tier-pdp .tier-price { margin: 0 0 0 8px; font-size: 12px; }
.tier-pdp input { width: 56px; height: 38px; border-right: 0; font-size: 13px; }
.tier-pdp button { height: 38px; min-width: 44px; font-size: 12px; }
.pdp-offer .in-cart { border-top: 0; text-align: left; padding: 8px 0 0; }
.pdp-offer .unavail { text-align: left; font-size: 13px; margin-bottom: 10px; }
.specs-wrap { margin-top: 40px; margin-bottom: 48px; }
.specs-wrap h2 { font-size: 14px; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.specs { margin: 0; max-width: 720px; }
.specs div { display: grid; grid-template-columns: 260px 1fr; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-weight: 500; }

/* ---------- Pages: cart, checkout, orders, FAQ ---------- */
.page { padding-bottom: 48px; }
.page-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.page-head h1 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-right: auto; }
.cart-page { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; padding-bottom: 48px; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 88px; height: 88px; object-fit: cover; border: 1px solid var(--line); }
.line.has-problem { background: var(--danger-bg); }
.line-name { font-weight: 700; font-size: 14px; }
.line-name:hover { color: var(--blue); }
.line-attrs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 4px 0 8px; font-size: 12px; color: var(--ink-2); }
.line-attrs span { display: inline-flex; align-items: center; gap: 4px; }
.problem { color: var(--danger); font-weight: 500; margin-bottom: 6px; }
.comment input { width: 100%; max-width: 360px; height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 12px; }
.line-qty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.line-qty small { color: var(--muted); font-size: 11px; }
.qty { display: inline-flex; border: 1px solid var(--line-2); }
.qty input { width: 46px; height: 34px; border: 0; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step { width: 32px; border: 0; background: var(--band); font-size: 16px; }
.step:hover { background: var(--blue-soft); }
.line-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 96px; }
.line-price strong { font-size: 15px; }
.line-price small { color: var(--muted); font-size: 11px; }
.icon-btn { margin-top: 6px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 2px; }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }
.summary { position: sticky; top: 72px; padding: 20px; background: #F8F7F5; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.summary h2 { font-size: 15px; font-weight: 700; }
.summary dl { margin: 0; }
.summary dl div { display: flex; justify-content: space-between; padding: 5px 0; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 500; }
.summary .total { border-top: 1px solid var(--line-2); margin-top: 4px; padding-top: 10px; font-size: 16px; font-weight: 700; }
.hold { font-size: 12px; font-weight: 500; color: var(--blue-deep); }
.fine { font-size: 11px; color: var(--muted); }
.alert { padding: 10px 14px; background: var(--danger-bg); color: var(--danger); border: 1px solid #F3C7C2; margin-bottom: 12px; }
.ok-note { color: var(--green); font-weight: 500; margin-bottom: 12px; }
.panel { border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 12px; }
.panel h2 { font-size: 14px; font-weight: 700; }
.kv { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.kv dt { font-size: 11px; color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font-size: 13px; }
.field input:disabled { background: var(--band); }
.table-wrap { overflow-x: auto; }
.review, .orders { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.review th, .orders th { text-align: left; font-size: 11px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; padding: 8px 10px; border-bottom: 2px solid var(--line); }
.review td, .orders td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.review small, .orders small { display: block; color: var(--muted); font-size: 11px; }
.review .has-problem td { color: var(--danger); }
.done { max-width: 720px; padding-top: 32px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 10px; }
.done h1 { font-family: var(--serif); font-size: 26px; }
.demo-flag { padding: 8px 12px; background: var(--band); font-size: 12px; align-self: flex-start; }
.done-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.empty { padding: 48px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty h1, .empty h2 { font-family: var(--serif); font-size: 20px; }
.empty p { color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); max-width: 860px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 700; font-size: 14px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 16px; height: 16px; flex: none; transition: transform .15s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 16px; color: var(--ink-2); max-width: 720px; }

/* ---------- Sign in ---------- */
.login { max-width: 980px; margin: 40px auto 64px; padding: 0 16px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.login-copy img { width: 140px; height: auto; margin-bottom: 18px; }
.login-copy h1 { font-family: var(--serif); font-size: 30px; margin-bottom: 12px; }
.login-copy p { color: var(--ink-2); font-size: 14px; max-width: 46ch; }
.login-card { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.login-card h2 { font-size: 18px; font-weight: 700; }
.note { font-size: 12px; color: var(--ink-2); background: var(--band); padding: 8px 10px; }

/* ---------- Footer, toast ---------- */
.site-foot { border-top: 1px solid var(--line); background: #F8F7F5; margin-top: 24px; }
.foot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 28px; font-size: 12px; }
.foot-row strong { display: block; margin-bottom: 4px; font-size: 13px; }
.foot-row p { color: var(--ink-2); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; max-width: min(92vw, 460px); padding: 10px 16px; background: #2B2B2B; color: #fff; font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.only-mobile { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .logo { margin-left: 0; }
  .cats { gap: 18px; }
  .cats a { font-size: 13px; }
  .search { flex-basis: 300px; }
  .promos, .subcats, .catalog { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 960px) {
  .head-nav-row { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .cats { order: 3; width: 100%; overflow-x: auto; gap: 20px; padding: 6px 0 4px; }
  .cats a[aria-current]::after { bottom: -4px; }
  .search { flex: 1 1 auto; }
  .order-ov span { display: none; }
  .order-ov { padding-left: 10px; }
  .promos { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; }
  .catalog, .catalog.is-collapsed { grid-template-columns: 1fr; }
  .filters { border-right: 0; padding-right: 0; display: none; }
  .filters.is-open { display: block; border: 1px solid var(--line); padding: 14px; }
  .catalog.is-collapsed .filters-inner { display: block; }
  .collapse { display: none; }
  .filters-inner { position: static; }
  .only-mobile { display: inline-flex; }
  .toolbar { top: 106px; justify-content: flex-start; }
  .loc-box { min-width: 0; }
  .pdp { grid-template-columns: 1fr; gap: 16px; }
  .cart-page { grid-template-columns: 1fr; }
  .summary { position: static; }
  .login { grid-template-columns: 1fr; gap: 24px; }
  .slide-text { left: 16px; max-width: 70%; padding: 0 20px; }
  .slide-imgs { inset: 0 0 0 30%; grid-template-columns: repeat(2, 1fr); }
  .grid.is-list .card { grid-template-columns: 80px 1fr; grid-template-areas: "img name" "img size" "color color" "buy buy" "cart cart"; }
  .grid.is-list .card-img { width: 80px; height: 80px; grid-row: 1 / span 2; }
}
@media (max-width: 560px) {
  .head-top-row { min-height: 64px; }
  .logo img { height: 48px; }
  .signout { padding: 0 8px; font-size: 11px; }
  .cart-meta { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subcats { columns: 2; }
  .slide { height: 190px; }
  .slide-text strong { font-size: 26px; }
  .quick a { width: 31%; }
  .line { grid-template-columns: 64px 1fr; }
  .line img { width: 64px; height: 64px; }
  .line-qty, .line-price { grid-column: 2; align-items: flex-start; }
  .kv { grid-template-columns: 1fr; }
  .foot-row { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; }
  .tier input { width: 22px; }
  .tier button { min-width: 36px; }
  .card-buy { flex-direction: column; gap: 6px; }
  .card-meta { flex-direction: row; flex-wrap: wrap; gap: 2px 8px; }
}
