/* ==========================================================================
   eee.md — page layouts (home, catalog, product, samples, checkout,
   confirmation, invoice, account, how-it-works, contact).
   ========================================================================== */

.section--top { padding-top: clamp(20px, 3vw, 34px); }
.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); line-height: 1.45; margin-top: 10px; }
.small { font-size: 0.875rem; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font-size: 0.9375rem; color: #cfcfd3; }
.crumbs i.fa-chevron-right { font-size: 0.65rem; color: var(--mute); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 700; }
.empty-note { margin-top: 18px; }

/* ── Home hero ───────────────────────────────── */
.home-hero, .how-hero { position: relative; overflow: hidden; min-height: clamp(520px, 72vh, 700px); display: flex; align-items: center; }
.home-hero-photo, .how-hero-photo { position: absolute; inset: 0 0 0 auto; width: min(66%, 1000px); }
.home-hero-photo img, .how-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-hero-photo::after, .how-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 11, 0.6) 30%, rgba(10, 10, 11, 0) 60%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 11, 0) 30%); }
.home-hero-inner, .how-hero-inner { position: relative; z-index: 1; padding-block: 56px; }
.home-hero h1, .how-hero h1 { margin: 20px 0 18px; max-width: 13ch; }
.home-hero-lead { max-width: 40ch; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: #e1e1e4; }
.home-hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 34px; }

/* product strip */
.cat-strip { padding: 22px 0; background: linear-gradient(180deg, #121214, #0b0b0c); border-radius: 28px 28px 0 0; }
.cat-track { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.ctile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, #1c1c20, #131315); text-align: center; font-size: 0.8125rem; font-weight: 600; line-height: 1.2; transition: border-color 0.2s, transform 0.25s var(--ease); }
.ctile img { height: 64px; width: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.5)); }
.ctile:hover { border-color: var(--red); transform: translateY(-3px); }

/* samples banner + box illustration */
.samples-banner { padding: clamp(30px, 4.4vw, 52px) 0; background: radial-gradient(60% 80% at 20% 60%, rgba(232, 39, 42, 0.22), transparent 70%), linear-gradient(180deg, #0f0f10, #0a0a0b); }
.samples-banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.samples-banner .btn { margin-top: 24px; }
.features--split { margin-top: 22px; }
.features--split .feature + .feature { padding-left: 24px; border-left: 1px solid var(--line-2); }
.sbox { position: relative; aspect-ratio: 16 / 10; width: 100%; max-width: 600px; margin: 0 auto; perspective: 1100px; }
.sbox-lid { position: absolute; left: 0; top: 16%; width: 50%; height: 74%; border-radius: 10px; background: linear-gradient(145deg, #222226, #0b0b0c 70%); box-shadow: -14px 24px 50px rgba(0, 0, 0, 0.7), 10px 0 0 -2px var(--red); transform: rotateX(16deg) rotateZ(-14deg) skewX(6deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; z-index: 2; }
.sbox-lid img { width: 26%; }
.sbox-lid b { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; }
.sbox-lid b span { color: var(--red); }
.sbox-lid small { color: #d5d5d8; font-size: clamp(0.8rem, 0.7rem + 0.4vw, 1rem); }
.sbox-tray { position: absolute; right: 0; top: 4%; width: 62%; height: 80%; padding: 6%; border-radius: 12px; background: #141416; box-shadow: inset 0 0 0 10px #1e1e21, inset 0 0 40px rgba(0, 0, 0, 0.9), 0 30px 60px rgba(0, 0, 0, 0.7), 0 10px 40px -10px var(--red-glow); transform: rotateX(16deg) rotateZ(-6deg); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6%; }
.sbox-tray img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.6)); }

/* product grid + cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, #19191c, #111113); overflow: hidden; transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s; }
.pcard:hover { border-color: rgba(232, 39, 42, 0.55); transform: translateY(-3px); box-shadow: 0 24px 40px -24px var(--red-glow); }
.pcard[hidden] { display: none; }
.pcard-media { position: relative; aspect-ratio: 1 / 0.85; background: radial-gradient(70% 50% at 50% 85%, rgba(232, 39, 42, 0.16), transparent 70%), radial-gradient(circle at 50% 35%, #26262a, #141416 70%); }
.pcard-media img { position: absolute; left: 14%; top: 10%; width: 72%; height: 80%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.55)); transition: transform 0.5s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.pcard-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price b { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.03em; }
.price span { font-size: 0.875rem; color: #d0d0d4; }

/* chips */
.chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); color: #e7e7ea; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 20px -6px var(--red-glow); }

/* ── Product page ────────────────────────────── */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
.pdp-thumbs { display: grid; gap: 12px; align-content: start; }
.thumb { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line-2); background: #18181b; overflow: hidden; cursor: pointer; padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:first-child img { object-fit: contain; padding: 8px; }
.thumb[aria-pressed="true"] { border: 2px solid var(--red); box-shadow: 0 0 16px -4px var(--red-glow); }
.pdp-main { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; background: radial-gradient(70% 45% at 50% 90%, rgba(232, 39, 42, 0.22), transparent 70%), radial-gradient(circle at 50% 35%, #2a2a2e, #121214 70%); }
.pdp-main img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, 0.6)); transition: opacity 0.3s; }
.pdp-main img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.pdp-code { position: absolute; right: 16px; bottom: 14px; font-size: 0.8125rem; font-weight: 700; color: #cfcfd3; letter-spacing: 0.08em; }
.pdp-type { display: flex; align-items: center; gap: 14px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.18em; color: #d9d9dc; }
.pdp-type::before { content: ""; width: 30px; height: 4px; border-radius: 2px; background: var(--red); }
.pdp-title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); margin: 10px 0 12px; }
.pdp-desc { color: #e1e1e4; font-size: 1.05rem; max-width: 50ch; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px; }
.pdp-price span { font-weight: 700; font-size: 1.05rem; }
.pdp-price b { font-size: clamp(3rem, 2.2rem + 2.4vw, 4.2rem); line-height: 1; font-weight: 800; color: var(--red); letter-spacing: -0.04em; text-shadow: 0 0 30px var(--red-glow); }
.pdp-price small { font-size: 1.3rem; color: #d0d0d4; }
.pdp-qty { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; }
.pdp-qty label { font-weight: 600; }
.pdp-sub { margin-left: auto; text-align: right; }
.pdp-sub small { display: block; color: var(--mute); }
.pdp-sub b { font-size: 1.8rem; font-weight: 800; }
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.pdp-actions .btn { min-height: 58px; font-size: 1.05rem; }
.pdp-features { margin-top: 26px; justify-content: space-between; }
.pdp-more { padding: clamp(32px, 4vw, 48px) 0; margin-top: clamp(28px, 4vw, 44px); }
.pdp-more-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.pdp-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.pdp-photo img { width: 100%; height: 100%; object-fit: cover; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.tab { flex-shrink: 0; padding: 12px clamp(14px, 2vw, 24px); border: 0; border-radius: 10px 10px 0 0; background: none; color: #e7e7ea; font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { background: linear-gradient(180deg, var(--red), var(--red-dark)); color: #fff; box-shadow: 0 6px 20px -8px var(--red-glow); }
.tab-panel { padding: 24px 0 0; }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 9px 0; font-size: 1.02rem; }
.checks i { color: var(--red); font-size: 1.15rem; margin-top: 2px; }
.checks--sm li { font-size: 0.9375rem; padding: 6px 0; }
.section-drawing { background: #fff; border-radius: 12px; padding: 12px; }
.section-drawing figcaption { color: #555; font-size: 0.75rem; margin-top: 6px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { color: var(--mute); font-weight: 500; width: 46%; }
.apply-steps { display: grid; gap: 12px; counter-reset: a; margin-bottom: 14px; }
.apply-steps li { counter-increment: a; display: flex; gap: 12px; }
.apply-steps li::before { content: counter(a); flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-weight: 800; font-size: 0.875rem; }
.docs li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.docs i { color: var(--red); font-size: 1.3rem; }
.docs .link { margin-left: auto; }

/* ── Cart, checkout, summary ─────────────────── */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.summary { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 16px; }
.cart-list li { display: grid; grid-template-columns: 80px 1fr auto auto 40px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-list li:first-child { padding-top: 0; }
.cart-thumb { position: relative; width: 80px; height: 80px; border-radius: 12px; border: 1px solid var(--line); background: #1a1a1d; overflow: hidden; }
.cart-thumb img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.cart-name b { display: block; }
.cart-name small { color: var(--mute); }
.cart-line { font-weight: 800; font-size: 1.1rem; min-width: 96px; text-align: right; }
.remove { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: none; cursor: pointer; color: #cfcfd3; }
.remove:hover { border-color: var(--red); color: #fff; }
.mini-list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
/* thumbs: the image is absolutely placed so tall products can't stretch the box */
.mini-list .mt { position: relative; width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--line); background: #1a1a1d; overflow: hidden; }
.mini-list .mt img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.mini-list b { display: block; font-size: 0.95rem; }
.mini-list small { color: var(--mute); }
.mini-list .q { color: #d0d0d4; font-size: 0.9rem; white-space: nowrap; }
.mini-list--lg .mt { width: 72px; height: 64px; }
.mini-list--lg li { grid-template-columns: 72px 1fr auto; }
.sum-rows { display: grid; gap: 10px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 14px; }
.sum-rows dt { color: #d0d0d4; }
.sum-rows dd { font-weight: 700; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.sum-total > span { font-weight: 700; font-size: 1.1rem; }
.sum-total b { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.secure { display: flex; gap: 10px; align-items: flex-start; justify-content: center; color: #cfcfd3; font-size: 0.875rem; text-align: center; }
.note-box { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(232, 39, 42, 0.6); background: rgba(232, 39, 42, 0.06); font-size: 0.9rem; }
.note-box i { color: var(--red-2); }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 40px 20px; text-align: center; }
.empty-state > i { font-size: 2.6rem; color: var(--red); }

.stepper { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 30px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 12px; color: #cfcfd3; font-weight: 600; }
.stepper li:not(:last-child)::after { content: ""; width: clamp(24px, 7vw, 110px); height: 2px; background: var(--line-2); margin-left: 4px; }
.stepper li.is-done:not(:last-child)::after { background: var(--red); }
.stepper .dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1f1f23; border: 1px solid var(--line-2); font-weight: 800; }
.stepper .is-current { color: #fff; }
.stepper .is-current .dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 22px var(--red-glow); }
.stepper .is-done .lbl::after { content: " \2713"; color: #fff; }

.co-step { display: grid; gap: 18px; }
.co-title { display: flex; align-items: center; gap: 14px; font-size: 1.6rem; font-weight: 800; }
.co-title > i { font-size: 1.3rem; color: #fff; }
.co-title--sm { font-size: 1.25rem; margin-top: 8px; }
.co-title--plain { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.choice-list { display: grid; gap: 12px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.check input { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 1px solid var(--line-2); background: #1c1c20; -webkit-appearance: none; appearance: none; cursor: pointer; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.check input::after { content: ""; width: 6px; height: 11px; margin-top: -3px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.15s; }
.check input:checked { background: var(--red); border-color: var(--red); box-shadow: 0 0 18px -4px var(--red-glow); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }
.check:hover input:not(:checked) { border-color: #4a4a52; }

/* samples page */
.samples-hero { padding: clamp(18px, 2.4vw, 28px) 0; background: radial-gradient(50% 90% at 85% 60%, rgba(232, 39, 42, 0.25), transparent 70%), linear-gradient(180deg, #111113, #0a0a0b); border-bottom: 1px solid var(--line); }
.samples-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 30px; align-items: center; }
.samples-hero .sbox { max-width: 400px; }
.samples-hero + .section { padding-top: clamp(26px, 3.2vw, 40px); }
.samples-title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.samples-hero .features { margin-top: 18px; }
.set-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.set-choice { align-items: flex-start; padding: 22px; }
.set-choice > i { color: #fff; margin-top: 8px; }
.set-choice .tick { margin-left: auto; }
.set-price { display: block; margin-top: 10px; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.set-price small { display: inline; font-size: 1rem; color: #d0d0d4; }
.set-badge { position: absolute; right: 18px; bottom: 18px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.slots--full { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.slot-card { position: relative; aspect-ratio: 1 / 1.15; border-radius: 14px; border: 1px solid var(--line-2); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.slot-img { position: relative; flex: 1 1 0; min-height: 0; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #2a2a2f, transparent 70%); }
.slot-img img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5)); }
.slot-card b { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 0.95rem; line-height: 1.2; min-height: 2.4em; }
.slot-card b i { color: #fff; background: var(--red); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.65rem; flex-shrink: 0; }
.slot-card .slot-remove { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.4); cursor: pointer; color: #ddd; }
.slot-card .slot-remove:hover { border-color: var(--red); color: #fff; }
.slot-card.is-empty { border-style: dashed; align-items: center; justify-content: center; color: var(--mute); text-align: center; gap: 8px; background: transparent; }
.slots--full .slot-card { aspect-ratio: 1 / 1.25; padding: 8px; gap: 6px; }
.slots--full .slot-card b { font-size: 0.75rem; justify-content: center; text-align: center; }
.slots--full .slot-card b i { display: none; }
.picker { margin-top: 30px; }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.pick { position: relative; display: grid; justify-items: center; gap: 6px; padding: 10px 8px; border-radius: 12px; border: 1px solid var(--line-2); background: #151517; cursor: pointer; text-align: center; font-size: 0.8125rem; font-weight: 600; }
.pick img { height: 64px; width: 100%; object-fit: contain; }
.pick[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); background: rgba(232, 39, 42, 0.07); }
.pick[aria-pressed="true"]::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 0.6rem; display: grid; place-items: center; }
.pick:disabled { opacity: 0.4; cursor: not-allowed; }

/* schedule */
.schedule-head { display: flex; gap: 20px; align-items: flex-start; }
.icon-box--lg { width: 72px; height: 72px; font-size: 1.8rem; border-radius: 16px; }
.schedule-head .pill { margin-top: 10px; font-size: 0.9375rem; padding: 8px 14px; }
.schedule-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; }
.schedule-panel > div + div { border-left: 1px solid var(--line); padding-left: 26px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; border: 1px solid var(--line-2); border-radius: 12px; margin: 14px 0 14px; }
.cal-head b { font-size: 1.15rem; }
.cal-nav { width: 38px; height: 38px; border-radius: 10px; border: 0; background: none; cursor: pointer; color: #fff; }
.cal-nav:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.cal-wd { text-align: center; font-size: 0.85rem; font-weight: 700; color: #d6d6da; padding-bottom: 4px; }
.cal-wd.is-weekend { color: var(--red-2); }
.cal-day { aspect-ratio: 1.25; border-radius: 9px; border: 1px solid transparent; background: none; color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
.cal-day.is-out { color: #4e4e55; }
.cal-day.is-free { border-color: rgba(255, 255, 255, 0.5); }
.cal-day.is-free:hover { border-color: var(--red); background: rgba(232, 39, 42, 0.1); }
.cal-day.is-busy { background: #1e1e22; color: #6a6a72; }
.cal-day.is-weekend.is-busy, .cal-day.is-weekend:disabled:not(.is-out) { background: rgba(232, 39, 42, 0.08); color: #9b5a5c; }
.cal-day.is-selected { background: var(--red); border-color: var(--red); box-shadow: 0 0 18px var(--red-glow); }
.cal-day:disabled { cursor: default; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 0.8125rem; color: #cfcfd3; }
.legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 18px; height: 18px; border-radius: 5px; display: inline-block; }
.lg-free { border: 1px solid rgba(255, 255, 255, 0.6); }
.lg-busy { background: #2a2a2f; }
.lg-sel { background: var(--red); }
.slots-list { display: grid; gap: 10px; margin-top: 14px; }
.slot { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.55); background: none; color: #fff; font-weight: 700; font-size: 1.05rem; cursor: pointer; position: relative; }
.slot .tick { position: absolute; left: 14px; width: 24px; height: 24px; border-radius: 50%; display: none; place-items: center; background: #fff; color: var(--red); font-size: 0.7rem; }
.slot small { color: var(--mute); font-weight: 500; }
.slot:hover:not(:disabled) { border-color: var(--red); }
.slot.is-selected { background: linear-gradient(180deg, rgba(232, 39, 42, 0.35), rgba(232, 39, 42, 0.18)); border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 24px -8px var(--red-glow); }
.slot.is-selected .tick { display: grid; }
.slot:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hours { display: grid; gap: 4px; margin-top: 8px; font-size: 0.9375rem; }
.hours li { display: flex; justify-content: space-between; gap: 14px; color: #d0d0d4; }
.map-card { background: radial-gradient(circle at 80% 70%, rgba(232, 39, 42, 0.18), transparent 50%), repeating-linear-gradient(35deg, transparent 0 34px, rgba(255, 255, 255, 0.03) 34px 36px), linear-gradient(180deg, var(--panel-2), var(--panel)); }

/* confirmation */
.confirm-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-bottom: 26px; }
.ok-badge { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: radial-gradient(circle at 50% 30%, var(--red-2), var(--red-dark)); box-shadow: 0 0 0 8px rgba(232, 39, 42, 0.15), 0 0 40px var(--red-glow); font-size: 2.2rem; }
.order-no { display: inline-flex; align-items: center; gap: 18px; margin-top: 22px; padding: 10px 12px 10px 22px; border-radius: 14px; border: 1px solid var(--line-2); }
.order-no b { font-size: 1.8rem; letter-spacing: 0.02em; }
.confirm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: stretch; }
.confirm-items { display: flex; flex-direction: column; gap: 14px; }
/* height: 0 + flex-grow keeps the list out of the row-height calculation,
   so the panel takes the right column's height and the list scrolls */
.confirm-items .mini-list { flex: 1 1 0; height: 0; min-height: 180px; overflow-y: auto; margin-right: -10px; padding-right: 10px; }
.confirm-items .mini-list li:last-child { border-bottom: 0; }
.confirm-side { display: grid; gap: 18px; }
.info-rows { display: grid; gap: 14px; margin-top: 14px; }
.info-rows li { display: flex; gap: 14px; }
.info-rows i { color: var(--red-2); font-size: 1.2rem; margin-top: 4px; width: 20px; }
.pay-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 10px; flex-wrap: wrap; }
.pay-row b { font-size: 1.5rem; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.confirm-actions .btn { flex: 1 1 260px; min-height: 58px; }

/* invoice (light paper, printable) */
.invoice-bar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.invoice { position: relative; overflow: hidden; background: #fff; color: #111; border-radius: 12px; padding: clamp(22px, 4vw, 48px); max-width: 900px; margin: 0 auto; }
.invoice-demo { position: absolute; right: -56px; top: 22px; transform: rotate(35deg); background: #ffe066; color: #111; font-weight: 800; letter-spacing: 0.3em; padding: 6px 70px; font-size: 0.8rem; }
.inv-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 2px solid #111; }
.inv-brand { display: flex; gap: 12px; align-items: center; }
.inv-brand b { font-size: 1.6rem; display: block; }
.inv-brand small { font-size: 0.65rem; letter-spacing: 0.2em; color: #555; }
.inv-meta { text-align: right; padding-right: 56px; }
.inv-meta h1 { font-size: 1.6rem; margin-bottom: 6px; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0; }
.inv-parties h2 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: #777; margin-bottom: 6px; }
.inv-parties p { font-size: 0.9375rem; line-height: 1.5; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.inv-table th, .inv-table td { padding: 10px 8px; border-bottom: 1px solid #ddd; text-align: left; }
.inv-table thead th { background: #f3f3f3; font-size: 0.8125rem; }
.inv-table .num { text-align: right; white-space: nowrap; }
.inv-table tfoot th { font-size: 1.05rem; border-bottom: 0; }
.inv-purpose { margin-top: 18px; }
.inv-note { margin-top: 14px; font-size: 0.8rem; color: #777; }

/* account */
.orders { display: grid; gap: 16px; }
.order-card { display: grid; gap: 16px; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-top h2 { font-size: 1.3rem; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.timeline li { position: relative; padding-top: 18px; font-size: 0.8125rem; color: var(--mute); }
.timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 4px; border-radius: 2px; background: #2a2a2f; }
.timeline li.is-on { color: #fff; }
.timeline li.is-on::before { background: var(--red); box-shadow: 0 0 10px var(--red-glow); }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* step cards (home, how it works, samples) */
.step-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 0; border-radius: var(--radius); overflow: hidden; transition: transform 0.3s var(--ease); }
.step-card:hover { transform: translateY(-4px); }
.step-card.is-hot { box-shadow: 0 0 44px -16px var(--red-glow); }
.step-no { align-self: flex-start; padding: 4px 10px; border-radius: 8px; background: linear-gradient(145deg, var(--red-2), var(--red-dark)); font-weight: 800; box-shadow: 0 8px 20px -8px var(--red-glow); }
.step-card h3 { font-size: 1.3rem; margin-top: 4px; }
.step-card p { color: #d4d4d9; font-size: 0.95rem; }
.step-visual { margin-top: auto; height: 150px; display: grid; place-items: end center; }
.step-visual img { max-height: 140px; width: auto; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.6)); }
.step-visual--icon { place-items: center; font-size: 4rem; color: var(--red); }
.step-visual--icon i { background: linear-gradient(180deg, #ff6467, var(--red-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px var(--red-glow)); }
.step-visual--photo { margin: 6px -22px 0; height: 156px; }
.step-visual--photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
.step-cards--icons .step-visual { height: 120px; }
.benefits { border-block: 1px solid var(--line); padding: 26px 0; }
.benefit-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.benefit-row .feature + .feature { border-left: 1px solid var(--line); padding-left: 18px; }
.benefit-row .fa-xl { color: #fff; width: 52px; text-align: center; }
.terms-grid { display: grid; grid-template-columns: 0.9fr 1.2fr 1fr; gap: 22px; align-items: center; }
.terms-visual { display: grid; gap: 10px; justify-items: center; }
.terms-visual img { max-height: 160px; width: auto; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.7)); }
.terms { width: 100%; border-collapse: collapse; margin: 12px 0; }
.terms th, .terms td { padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.terms th { font-weight: 500; }
.terms th i { width: 28px; color: #cfcfd3; vertical-align: middle; }
.terms th span { display: inline-block; vertical-align: middle; line-height: 1.3; }
.terms th small { color: var(--mute, #9a9aa3); font-size: 0.85em; }
.terms td { text-align: right; font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.cta-card { display: grid; gap: 14px; border-color: rgba(232, 39, 42, 0.35); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 22px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: center; }
.contact-card b { display: block; font-size: 1.05rem; white-space: nowrap; }
.contact-card--mail { grid-column: 1 / -1; }
.contact-card--wide { grid-column: 1 / -1; align-items: flex-start; }
a.contact-card:hover { border-color: var(--red); }
#contact-form { display: grid; gap: 16px; }
.form-ok { display: flex; gap: 10px; align-items: center; color: #6ee7a6; font-weight: 600; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--mute); transition: transform 0.3s var(--ease); margin-top: 4px; }
.faq details[open] summary i { transform: rotate(45deg); color: var(--red-2); }
.faq details p { padding: 0 0 18px; color: #d0d0d4; max-width: 80ch; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1180px) {
  .pgrid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-track { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 980px) {
  .home-hero-photo, .how-hero-photo { width: 100%; opacity: 0.55; }
  .samples-banner-grid, .samples-hero-grid, .pdp, .pdp-more-grid, .checkout-grid, .confirm-hero, .confirm-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .confirm-items .mini-list { flex: none; height: auto; max-height: 360px; }
  .pgrid--4, .pgrid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step-cards { grid-template-columns: 1fr 1fr; }
  .benefit-row { grid-template-columns: repeat(3, 1fr); }
  .benefit-row .feature:nth-child(4) { border-left: 0; padding-left: 0; }
  .terms-grid { grid-template-columns: 1fr 1fr; }
  .terms-visual { display: none; }
  .schedule-panel { grid-template-columns: 1fr; }
  .schedule-panel > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
}
@media (max-width: 640px) {
  .home-hero, .how-hero { min-height: 0; }
  .home-hero-inner, .how-hero-inner { padding-block: 40px 30px; }
  .home-hero-photo::after, .how-hero-photo::after { background: linear-gradient(180deg, rgba(10, 10, 11, 0.35), rgba(10, 10, 11, 0.85) 70%, var(--bg)); }
  .home-hero-cta .btn { flex: 1 1 100%; }
  .features { gap: 14px 20px; }
  .cat-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .cat-track::-webkit-scrollbar { display: none; }
  .ctile { flex: 0 0 104px; scroll-snap-align: start; }
  .features--split .feature + .feature { padding-left: 14px; }
  .pgrid, .pgrid--4, .pgrid--5 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-body { padding: 10px 12px 12px; }
  .pcard-title { font-size: 0.95rem; }
  .price b { font-size: 1.3rem; }
  .price span { font-size: 0.75rem; }
  .icon-btn { width: 40px; height: 40px; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { grid-auto-flow: column; grid-template-columns: repeat(4, 1fr); order: 2; }
  .pdp-actions { grid-template-columns: 1fr; }
  .pdp-features { justify-content: flex-start; }
  .detail-grid { grid-template-columns: 1fr; }
  .cart-list li { grid-template-columns: 64px 1fr auto; grid-template-areas: "t n r" "t q l"; gap: 8px 12px; }
  .cart-thumb { grid-area: t; width: 64px; height: 64px; }
  .cart-name { grid-area: n; }
  .cart-list .qty { grid-area: q; justify-self: start; }
  .cart-line { grid-area: l; min-width: 0; }
  .remove { grid-area: r; }
  .set-choices { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .slots--full { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .slot-card b { font-size: 0.75rem; }
  .stepper { gap: 6px; flex-wrap: nowrap; }
  .stepper li { gap: 6px; font-size: 0.875rem; }
  .stepper li:not(:last-child)::after { width: 14px; margin-left: 0; }
  .stepper .lbl { display: none; }
  .stepper .is-current .lbl { display: inline; }
  .stepper .dot { width: 36px; height: 36px; }
  .info-grid, .step-cards, .benefit-row, .terms-grid, .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .step-cards { gap: 12px; }
  .step-card { display: grid; grid-template-columns: minmax(0, 1fr) 92px; grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 6px; padding: 16px; }
  .step-card > :not(.step-visual) { grid-column: 1; }
  .step-card h3 { font-size: 1.1rem; margin: 0; }
  .step-card p { font-size: 0.875rem; }
  .step-visual, .step-cards--icons .step-visual { grid-column: 2; grid-row: 1 / -1; align-self: center; width: 92px; height: 92px; margin: 0; border-radius: 12px; place-items: center; background: radial-gradient(circle at 50% 40%, #26262b, #121214); }
  .step-visual img { max-height: 76px; max-width: 80px; }
  .step-visual--icon { font-size: 2.4rem; }
  .step-visual--photo { overflow: hidden; }
  .step-visual--photo img { width: 100%; height: 100%; max-width: none; max-height: none; -webkit-mask-image: none; mask-image: none; }
  .step-no { justify-self: start; }
  .benefit-row .feature + .feature { border-left: 0; padding-left: 0; }
  .order-no b { font-size: 1.3rem; }
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); font-size: 0.7rem; }
  .inv-parties { grid-template-columns: 1fr; }
  .inv-meta { text-align: left; }
}

@media print {
  .header, .footer, .no-print, .drawer, .search, .toast, .skip-link { display: none !important; }
  body, html { background: #fff; }
  .section { padding: 0; }
  .invoice { border-radius: 0; padding: 0; max-width: none; }
}
