/* Shop components (grid, product, cart, checkout, order) — DTFPrint.hr design tokens. */
:root {
    --sh-navy: #00193B; --sh-teal: #00b7ad; --sh-orange: #f37032;
    --sh-line: #e5e7eb; --sh-muted: #6b7280; --sh-bg: #f9fafb;
}
.muted { color: var(--sh-muted); }
.right { text-align: right; }
.nowrap { white-space: nowrap; }

.btn-add { display: inline-block; background: var(--sh-orange); color: #fff !important; font-weight: 600; border: 0;
    padding: 12px 26px; border-radius: 8px; cursor: pointer; text-decoration: none !important; font-size: 16px; }
.btn-add:hover { filter: brightness(1.07); }
.btn-add:disabled { opacity: .45; cursor: not-allowed; }
.btn-2 { display: inline-block; background: #fff; color: var(--sh-navy); border: 1px solid var(--sh-line);
    padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.btn-add-ico { height: 20px; width: auto; vertical-align: -4px; margin-right: 6px; }

/* gangsheet designer: video tutorial button + modal */
.gs-video-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; padding: 8px 16px; }
.gs-video-btn .ico { width: 17px; height: 17px; }
.gs-video-btn:hover { border-color: var(--sh-teal); color: var(--sh-teal); }
.gs-video-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(0, 25, 59, .7);
    display: flex; align-items: center; justify-content: center; padding: 20px; }
.gs-video-overlay[hidden] { display: none; }
.gs-video-modal { position: relative; width: min(900px, 100%); }
.gs-video-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.gs-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.gs-video-close { position: absolute; right: 0; bottom: 100%; margin-bottom: 8px; width: 38px; height: 38px;
    border: 0; border-radius: 50%; background: #fff; color: var(--sh-navy); font-size: 24px; line-height: 1;
    cursor: pointer; }
.gs-video-close:hover { background: var(--sh-teal); color: #fff; }

/* ---------- shop grid ---------- */
.shop-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 36px; max-width: 1220px; margin: 30px auto 60px; padding: 0 20px; }
/* categories stay in view while the product grid scrolls (sticky header ≈ 80px) */
.shop-side { position: sticky; top: 100px; align-self: start;
    max-height: calc(100vh - 120px); overflow-y: auto; }
body.has-adminbar .shop-side { top: 136px; max-height: calc(100vh - 156px); }
.shop-side-title { margin: 0 0 10px; }
.shop-side-toggle { display: none; }
.shop-cats { list-style: none; margin: 0; padding: 0; }
.shop-cats > li { margin: 0 0 2px; }
.shop-cats a { display: block; padding: 8px 11px; border-radius: 9px; color: var(--sh-navy);
    text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3;
    transition: background .12s, color .12s; }
.shop-cats a:hover { background: #f0fdfa; color: var(--sh-teal); }
.shop-cats li.on > a { background: var(--sh-teal); color: #fff; }
.shop-cats ul { list-style: none; margin: 2px 0 8px 15px; padding: 0 0 0 10px; border-left: 2px solid var(--sh-line); }
.shop-cats ul li { margin: 0 0 1px; }
.shop-cats ul a { font-weight: 500; font-size: 14px; padding: 6px 10px; }
.shop-main h1 { margin: 0 0 14px; }
.shop-cat-desc { margin: 0 0 18px; color: var(--sh-muted); max-width: 760px; }

.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sh-line); border-radius: 12px;
    overflow: hidden; text-decoration: none; color: var(--sh-navy); transition: box-shadow .18s, transform .18s; }
.p-card:hover { box-shadow: 0 8px 22px rgba(0, 25, 59, .10); transform: translateY(-2px); }
.p-card-img { aspect-ratio: 1; display: block; background: #fff; }
.p-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.p-card-name { padding: 12px 14px 4px; font-weight: 600; font-size: 15px; line-height: 1.35; flex: 1; }
.p-card-price { padding: 0 14px 14px; color: var(--sh-teal); font-weight: 700; }
.p-card-price del { color: var(--sh-muted); font-weight: 400; margin-right: 6px; }
.p-card-price small { color: var(--sh-muted); font-weight: 400; }

/* ---------- product page ---------- */
/* breadcrumb trail (product pages) */
.crumbs { max-width: 1220px; margin: 22px auto 0; padding: 0 20px; font-size: 13.5px; color: var(--sh-muted);
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.crumbs a { color: var(--sh-muted); text-decoration: none; }
.crumbs a:hover { color: var(--sh-teal); text-decoration: underline; }
.crumbs a:last-child { color: var(--sh-navy); font-weight: 600; }
.crumbs-sep { color: var(--sh-muted); }

.prod-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; max-width: 1220px; margin: 34px auto 0; padding: 0 20px; }
.prod-main-img { border: 1px solid var(--sh-line); border-radius: 12px; background: #fff; }
.prod-main-img img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.prod-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.prod-thumbs img { width: 68px; height: 68px; object-fit: contain; background: #fff; border: 1px solid var(--sh-line);
    border-radius: 8px; cursor: pointer; }
.prod-thumbs img.on { border-color: var(--sh-teal); }
.prod-brand { width: 200px; max-width: 100%; height: auto; margin: 0 0 8px; }
.prod-info h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.15; }
.prod-short { color: var(--sh-muted); margin: 0 0 12px; }
.prod-price { font-size: 28px; font-weight: 700; color: var(--sh-teal); margin: 14px 0 2px; }
.prod-price del { color: var(--sh-muted); font-weight: 400; font-size: 20px; margin-right: 8px; }
.prod-price small { font-size: 14px; color: var(--sh-muted); font-weight: 400; }
.prod-add { display: flex; gap: 10px; margin: 20px 0; align-items: center; flex-wrap: wrap; }
.prod-add input[type=number] { width: 84px; padding: 11px 10px; border: 1px solid var(--sh-line); border-radius: 8px; font: inherit; }
.prod-add select { padding: 11px 10px; border: 1px solid var(--sh-line); border-radius: 8px; font: inherit; max-width: 100%; }

.utt-picker { margin-top: 18px; }
.utt-lbl { font-size: 14px; color: var(--sh-muted); margin: 14px 0 6px; }
.utt-lbl b { color: var(--sh-navy); }
.utt-swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.utt-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; outline: 1px solid #c9ced6;
    cursor: pointer; padding: 0; }
.utt-swatch.on { outline: 3px solid var(--sh-teal); }
.utt-swatch.oos { opacity: .35; }
.utt-sizes { display: flex; flex-wrap: wrap; gap: 7px; }
.utt-size { min-width: 46px; padding: 8px 10px; background: #fff; border: 1px solid var(--sh-line); border-radius: 8px;
    font: inherit; font-weight: 600; cursor: pointer; }
.utt-size.on { border-color: var(--sh-teal); color: var(--sh-teal); box-shadow: inset 0 0 0 1px var(--sh-teal); }
.utt-size.oos { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.utt-stock { margin: 8px 0 0; font-size: 14px; }

.prod-desc { max-width: 1220px; margin: 40px auto 70px; padding: 0 20px; line-height: 1.65; }
.prod-desc h2 { margin-top: 30px; }
.prod-desc img { max-width: 100%; height: auto; }
.prod-specs { border-collapse: collapse; min-width: min(560px, 100%); }
.prod-specs th { text-align: left; padding: 8px 18px 8px 0; color: var(--sh-muted); font-weight: 600; vertical-align: top; white-space: nowrap; }
.prod-specs td { padding: 8px 0; }
.prod-specs tr { border-bottom: 1px solid var(--sh-line); }
.prod-care { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.prod-care img { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--sh-line); border-radius: 6px; background: #fff; }

/* ---------- cart ---------- */
.cart-wrap, .ord-wrap { max-width: 1000px; margin: 34px auto 70px; padding: 0 20px; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--sh-line); border-radius: 12px; overflow: hidden; }
.cart-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--sh-muted);
    padding: 12px 14px; border-bottom: 2px solid var(--sh-line); background: #fafbfd; }
.cart-table td { padding: 12px 14px; border-bottom: 1px solid var(--sh-line); vertical-align: middle; }
.cart-img img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--sh-line); border-radius: 8px; background: #fff; }
.cart-qty { width: 74px; padding: 8px; border: 1px solid var(--sh-line); border-radius: 8px; font: inherit; }
.cart-x { background: none; border: 0; font-size: 20px; color: var(--sh-muted); cursor: pointer; }
.cart-x:hover { color: #ef4444; }
.cart-oos { color: #b91c1c; font-size: 13px; }
.cart-total td { background: #fafbfd; font-size: 17px; }
.cart-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- checkout ---------- */
.co-wrap { max-width: 1220px; margin: 34px auto 70px; padding: 0 20px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 40px; align-items: start; }
.co-form h2 { margin: 26px 0 12px; font-size: 28px; }
.co-form h2:first-child { margin-top: 0; }
.co-form label { display: block; margin: 0 0 12px; font-size: 13.5px; color: var(--sh-muted); }
.co-form input, .co-form select, .co-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--sh-line);
    border-radius: 8px; font: inherit; color: var(--sh-navy); margin-top: 4px; background: #fff; }
.co-form textarea { min-height: 80px; }
.co-row { display: flex; gap: 14px; }
.co-row > label { flex: 1; }
.co-vies { align-items: end; }
.co-vies button { margin-bottom: 12px; white-space: nowrap; }
.co-vies-ok { color: #047857; font-size: 14px; margin: 2px 0 10px; }
.co-vies-bad { color: #b91c1c; font-size: 14px; margin: 2px 0 10px; }
.co-pay { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--sh-line); border-radius: 10px;
    padding: 14px 16px; margin: 0 0 10px; cursor: pointer; background: #fff; }
.co-pay:has(input:checked) { border-color: var(--sh-teal); box-shadow: inset 0 0 0 1px var(--sh-teal); }
.co-pay input { margin-top: 4px; }
.co-pay-off { opacity: .55; }
.badge-test { background: #fef3c7; color: #b45309; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 12px; }
.co-summary { background: #fff; border: 1px solid var(--sh-line); border-radius: 12px; padding: 20px 22px; position: sticky; top: 20px; }
.co-summary h2 { margin: 0 0 12px; font-size: 28px; }
.co-items { width: 100%; border-collapse: collapse; }
.co-items td { padding: 8px 0; border-bottom: 1px solid var(--sh-line); font-size: 14.5px; vertical-align: top; }
.co-items .co-total td { border-bottom: 0; font-size: 17px; padding-top: 12px; }
.co-submit { width: 100%; margin-top: 16px; text-align: center; }
.co-err { background: #fee2e2; color: #b91c1c; border-radius: 8px; padding: 10px 14px; margin: 0 0 12px; }

/* ---------- order confirmation ---------- */
.ord-ok { background: #d1fae5; color: #047857; border-radius: 10px; padding: 14px 18px; margin: 0 0 22px; font-size: 16px; }
.ord-pay { background: #fff; border: 1px solid var(--sh-line); border-radius: 12px; padding: 22px 24px; margin: 0 0 26px; }
.ord-pay h2 { margin: 0 0 10px; }
.ord-hub3 { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; margin: 16px 0; }
.ord-hub3 img { max-width: 320px; width: 100%; border: 1px solid var(--sh-line); border-radius: 8px; padding: 10px; background: #fff; }
.ord-bank { border-collapse: collapse; }
.ord-bank th { text-align: left; padding: 7px 16px 7px 0; color: var(--sh-muted); white-space: nowrap; vertical-align: top; }
.ord-bank td { padding: 7px 0; font-weight: 600; }

/* ---------- CMS pages ---------- */
.cms-page { min-height: 40vh; }

@media (max-width: 900px) {
    .shop-wrap { grid-template-columns: 1fr; gap: 20px; }
    /* categories collapse into a tap-to-open panel so the grid starts near the top */
    .shop-side { position: static; max-height: none; overflow: visible;
        border: 1px solid var(--sh-line); border-radius: 12px; background: #fff; }
    .shop-side-title { display: none; }
    .shop-side-toggle { display: flex; width: 100%; align-items: center; gap: 10px;
        padding: 12px 15px; border: 0; background: none; font: inherit; font-weight: 700; font-size: 15px;
        color: var(--sh-navy); cursor: pointer; text-align: left; }
    .shop-side-toggle-cur { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        font-weight: 500; color: var(--sh-teal); }
    .shop-side-toggle .nav-caret { margin-left: auto; flex: none; transition: transform .15s; }
    .shop-side-toggle-cur + .nav-caret { margin-left: 0; }
    .shop-side.open .shop-side-toggle .nav-caret { transform: rotate(225deg) translateY(-2px); }
    .shop-cats { display: none; padding: 2px 8px 10px; }
    .shop-side.open .shop-cats { display: block; }
    .prod-wrap { grid-template-columns: 1fr; gap: 26px; }
    .co-grid { grid-template-columns: 1fr; }
    .co-summary { position: static; }
}

/* ---------- quantity tier pills ---------- */
.tier-heading { font-size: 22px; margin: 22px 0 12px; color: var(--sh-navy); }
.tier-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 6px; }
.tier-pill { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; background: #fff;
    border: 1px solid var(--sh-line); border-radius: 10px; padding: 12px 16px; font: inherit; cursor: pointer;
    text-align: left; transition: border-color .15s, box-shadow .15s; }
.tier-pill:hover { border-color: var(--sh-orange); }
.tier-pill.on { border-color: var(--sh-orange); box-shadow: inset 0 0 0 1px var(--sh-orange); }
.tier-pill-price { font-weight: 800; font-size: 17px; color: var(--sh-navy); white-space: nowrap; }
.tier-pill-price small { font-weight: 700; font-size: 13px; }
.tier-pill-range { color: var(--sh-navy); font-size: 14.5px; }

/* ---------- product info extras ---------- */
.prod-short-html { color: #33415c; line-height: 1.6; margin: 8px 0 14px; }
.prod-short-html p { margin: 0 0 10px; }
.prod-stockline { font-weight: 600; color: var(--sh-navy); margin: 0 0 6px; }

/* ---------- quantity stepper ---------- */
.qty-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--sh-line); border-radius: 10px;
    overflow: hidden; background: #fff; }
.qty-stepper .qty-btn { width: 42px; border: 0; background: #fff; font-size: 20px; color: var(--sh-navy);
    cursor: pointer; line-height: 1; }
.qty-stepper .qty-btn:hover { background: #f3f4f6; }
.qty-stepper input[type=number] { width: 58px; border: 0 !important; border-radius: 0 !important; text-align: center;
    font: inherit; font-weight: 600; -moz-appearance: textfield; padding: 12px 0 !important; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- size guide (configurator style) ---------- */
.pd-sg { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin-top: 30px; scroll-margin-top: 130px; }
.sg-img img { max-width: min(560px, 100%); height: auto; border: 1px solid var(--sh-line); border-radius: 10px; background: #fff; }
.sizeguide-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--sh-line); border-radius: 10px; max-width: 900px; }
table.sizeguide { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13.5px; background: #fff; margin: 0; }
table.sizeguide th, table.sizeguide td { padding: 9px 12px; text-align: center; white-space: nowrap; }
table.sizeguide thead th { background: var(--sh-navy); color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .02em; }
table.sizeguide thead th:first-child { text-align: left; }
table.sizeguide tbody th { text-align: left; font-weight: 700; color: var(--sh-navy); background: #fafbfd; }
table.sizeguide tbody tr:nth-child(even) td { background: #f8fafc; }
table.sizeguide tbody td { color: #33415c; }

.cart-edit { display: inline-block; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--sh-orange) !important; }

/* ---------- multistep checkout ---------- */
/* the hidden attribute must always win (btn-add/btn-2 set display themselves) */
.co-wrap [hidden] { display: none !important; }

/* step path: numbered circles joined by a line, labels always visible (incl. mobile) */
.co-steps { display: flex; margin: 0 0 22px; }
.co-step-dot { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--sh-muted); position: relative; }
.co-step-dot::before, .co-step-dot::after { content: ''; position: absolute; top: 16px; height: 2px;
    width: calc(50% - 24px); background: var(--sh-line); }
.co-step-dot::before { left: 0; }
.co-step-dot::after { right: 0; }
.co-step-dot:first-child::before, .co-step-dot:last-child::after { display: none; }
.co-step-dot.done::before, .co-step-dot.done::after, .co-step-dot.on::before { background: var(--sh-teal); }
.co-step-num { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    border-radius: 50%; background: #fff; border: 2px solid var(--sh-line); color: var(--sh-muted);
    font-weight: 700; font-size: 14px; z-index: 1; transition: all .15s; }
.co-step-dot.on { color: var(--sh-navy); }
.co-step-dot.on .co-step-num { background: var(--sh-teal); border-color: var(--sh-teal); color: #fff; }
.co-step-dot.done .co-step-num { border-color: var(--sh-teal); color: var(--sh-teal); }
.co-step-lbl { font-weight: 600; font-size: 13.5px; }
.co-nav { display: flex; gap: 12px; margin-top: 18px; border-top: 1px solid var(--sh-line); padding-top: 16px; align-items: center; }
.co-nav .co-submit { margin-top: 0; width: auto; flex: 1; max-width: 540px; }
.co-nav .btn-add, .co-nav .btn-2 { height: 48px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 28px; font-size: 15.5px; }
.co-nav-spacer { flex: 1; }
.co-form input.err, .co-form select.err { border-color: #b91c1c; background: #fef2f2; }
.co-check, .co-form .co-check { display: flex; gap: 10px; align-items: center; margin: 14px 0; font-weight: 600; cursor: pointer; }
.co-check input { appearance: none; -webkit-appearance: none; box-sizing: border-box; padding: 0; flex: none; margin: 0;
    width: 22px; height: 22px; min-width: 22px; min-height: 22px; max-width: 22px; max-height: 22px; aspect-ratio: 1;
    border: 2px solid var(--sh-line); border-radius: 6px; background: #fff; cursor: pointer; position: relative; transition: all .15s; }
.co-check input:hover { border-color: var(--sh-teal); }
.co-check input:checked { background: var(--sh-teal); border-color: var(--sh-teal); }
.co-check input:checked::after { content: ''; position: absolute; left: 50%; top: 47%; width: 5px; height: 10px;
    border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translate(-50%, -58%) rotate(45deg); }

.co-opt { border: 1px solid var(--sh-line); border-radius: 10px; padding: 14px 16px; margin: 0 0 12px; cursor: pointer; }
.co-opt.sel { border-color: var(--sh-teal); box-shadow: inset 0 0 0 1px var(--sh-teal); }
.co-opt.dis { opacity: .55; cursor: not-allowed; }
.co-opt-head { display: flex; align-items: center; gap: 10px; }
.co-opt-price { margin-left: auto; font-weight: 700; color: var(--sh-navy); white-space: nowrap; }
.co-opt-free { color: #047857; }
.co-opt-lines { margin: 8px 0 0; padding-left: 20px; color: var(--sh-muted); font-size: 14px; }
.co-opt-note { margin: 8px 0 0; font-size: 14px; }

.co-warn { border: 1px solid #f59e0b; background: #fffbeb; border-radius: 10px; padding: 14px 16px; margin: 14px 0; }
.co-warn p { margin: 0 0 10px; color: #92400e; font-weight: 600; }
.co-warn-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.co-ac { position: relative; }
.co-ac-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--sh-line);
    border-radius: 0 0 10px 10px; box-shadow: 0 8px 20px rgba(0, 25, 59, .12); max-height: 260px; overflow: auto; }
.co-ac-item { padding: 8px 12px; cursor: pointer; font-size: 14.5px; }
.co-ac-item b { color: var(--sh-navy); margin-right: 6px; }
.co-ac-item:hover, .co-ac-item.on { background: #f0fdfa; }

.co-review-row { display: grid; grid-template-columns: 160px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sh-line); }
.co-review-k { font-weight: 700; color: var(--sh-navy); }
.co-review-lines { margin: 6px 0 0; padding-left: 18px; color: var(--sh-muted); font-size: 14px; }
.co-shipline td { font-size: 14.5px; }
@media (max-width: 640px) {
    .co-review-row { grid-template-columns: 1fr; gap: 2px; }
    .co-steps { margin-bottom: 16px; }
    .co-step-num { width: 26px; height: 26px; font-size: 12.5px; }
    .co-step-dot::before, .co-step-dot::after { top: 13px; width: calc(50% - 18px); }
    .co-step-lbl { font-size: 10.5px; letter-spacing: -.01em; }
}

/* ---------- product-page delivery notice ---------- */
.prod-notice { display: block; border: 1px solid #f59e0b; background: #fffbeb; color: #92400e; border-radius: 10px;
    padding: 12px 14px; margin: 12px 0; font-size: 14.5px; text-decoration: none; }
.prod-notice:hover { border-color: #d97706; }
.prod-notice b { display: block; margin-bottom: 2px; }

/* ---------- shop grid sort ---------- */
.shop-toolbar { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.shop-toolbar .muted { font-size: 14px; }
.shop-sort { margin-left: auto; padding: 8px 10px; border: 1px solid var(--sh-line); border-radius: 8px; font: inherit; background: #fff; }

/* ---------- mono icons ---------- */
.ico { width: 1.25em; height: 1.25em; vertical-align: -0.25em; display: inline-block; }
.co-opt-head .ico { width: 22px; height: 22px; color: var(--sh-navy); margin-right: 2px; }
.prod-notice .ico { width: 18px; height: 18px; vertical-align: -0.2em; }

/* ---------- stock states ---------- */
.p-card-oos, .prod-oos { color: #b91c1c; font-style: italic; }
.p-card-oos { font-size: 13px; }
.prod-oos { font-size: 1.05rem; }
.prod-stockline--supplier { color: var(--sh-muted); font-style: italic; }
.prod-stockline--supplier .ico { color: var(--sh-teal); }

/* ---------- terms row (step 4) ---------- */
.co-check-terms, .co-form .co-check-terms { justify-content: center; gap: 14px; margin: 24px auto; padding: 16px 18px;
    max-width: 560px; line-height: 1.55; border: 1px solid var(--sh-line); border-radius: 10px; background: #fafbfd; }
.co-check-terms input { width: 24px; height: 24px; min-width: 24px; min-height: 24px; max-width: 24px; max-height: 24px; }
.co-check-terms span { align-self: center; }

/* ---------- contact page ---------- */
.ct-wrap { max-width: 1160px; margin: 0 auto; padding: 28px 18px 46px; }
.ct-wrap h1 { color: var(--sh-navy); }
.ct-lead { color: var(--sh-muted); max-width: 640px; margin: 4px 0 26px; font-size: 16px; }
.ct-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.ct-card { background: #fff; border: 1px solid var(--sh-line); border-radius: 14px; padding: 22px 24px; }
.ct-card h2, .ct-card h3 { margin: 0 0 12px; color: var(--sh-navy); display: flex; align-items: center; gap: 9px; }
.ct-card h3 { font-size: 16.5px; }
.ct-card h2 .ico, .ct-card h3 .ico { color: var(--sh-teal); width: 21px; height: 21px; flex: none; }
.ct-card p { margin: 0; line-height: 1.65; }
.ct-card a { color: var(--sh-navy); font-weight: 600; text-decoration: none; }
.ct-card a:hover { color: var(--sh-teal); }
.ct-side { display: flex; flex-direction: column; gap: 14px; }
.ct-chat-links { display: flex; gap: 10px; }
.ct-chat-links .btn-2:hover { border-color: var(--sh-teal); color: var(--sh-teal); }

.ct-form-card label { display: block; font-weight: 600; color: var(--sh-navy); font-size: 14.5px; margin: 0 0 12px; }
.ct-form-card input[type=text], .ct-form-card input[type=email], .ct-form-card textarea {
    display: block; width: 100%; box-sizing: border-box; margin-top: 5px; padding: 11px 13px;
    border: 1px solid var(--sh-line); border-radius: 9px; font: inherit; background: #fff; }
.ct-form-card input:focus, .ct-form-card textarea:focus { outline: none; border-color: var(--sh-teal); box-shadow: 0 0 0 3px rgba(0, 183, 173, .14); }
.ct-form-card input.err, .ct-form-card textarea.err { border-color: #b91c1c; background: #fef2f2; }
.ct-form-card textarea { resize: vertical; min-height: 130px; }
.ct-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.ct-captcha { display: flex; align-items: center; gap: 14px; background: #f0fdfa; border: 1px solid var(--sh-teal);
    border-radius: 10px; padding: 12px 16px; margin: 4px 0 6px; flex-wrap: wrap; }
.ct-captcha-q { display: flex; align-items: center; gap: 8px; color: var(--sh-navy); font-size: 15.5px; }
.ct-captcha-q .ico { color: var(--sh-teal); width: 20px; height: 20px; }
.ct-captcha input { width: 110px; padding: 9px 12px; border: 1px solid var(--sh-line); border-radius: 8px; font: inherit; }
.ct-note { font-size: 13px; margin: 0 0 14px; }
.ct-submit { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 30px; font-size: 15.5px; border: 0; cursor: pointer; }
.ct-submit .ico { width: 18px; height: 18px; }
.ct-submit:disabled { opacity: .6; cursor: wait; }

.ct-done { text-align: center; padding: 26px 10px; }
.ct-done-ico { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; background: #ecfdf5;
    border: 2px solid #047857; color: #047857; display: flex; align-items: center; justify-content: center; }
.ct-done-ico .ico { width: 28px; height: 28px; }
.ct-done h3 { color: #047857; margin: 0 0 8px; }
.ct-done p { color: var(--sh-muted); max-width: 460px; margin: 0 auto; }

.ct-map { margin-top: 22px; border-radius: 14px; overflow: hidden; border: 1px solid var(--sh-line); }
.ct-map iframe { display: block; width: 100%; height: 380px; border: 0; }

@media (max-width: 860px) {
    .ct-grid { grid-template-columns: 1fr; }
}

/* ---------- cart page: tier upsell + live qty ---------- */
.cart-tier { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 12px;
    background: #f0fdfa; border: 1px dashed var(--sh-teal); border-radius: 8px; font-size: 13px; color: #0f766e;
    max-width: 560px; flex-wrap: wrap; }
.cart-tier b { color: var(--sh-navy); }
.cart-tier-btn { margin-left: auto; flex: none; border: 0; background: var(--sh-teal); color: #fff; font-weight: 700;
    font-size: 12.5px; padding: 7px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.cart-tier-btn:hover { background: #009e95; }
.cart-tier[hidden] { display: none !important; }
