:root {
    --ink: #241009;
    --red: #cf201d;
    --red-dark: #8c1012;
    --orange: #f15a24;
    --yellow: #ffd323;
    --cream: #fff4c7;
    --paper: #fffaf0;
    --blue: #1683b8;
    --green: #247147;
    --shadow: 0 6px 0 rgba(36, 16, 9, .18);
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 211, 35, .55), transparent 24rem),
        linear-gradient(135deg, var(--paper), var(--cream));
    font-family: Inter, Arial, sans-serif;
}

[hidden] { display: none !important; }
.site-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem clamp(1rem, 4vw, 4rem);
    color: #fff;
    background: var(--red-dark);
    border-bottom: .55rem solid var(--yellow);
}
.brand-mark {
    display: grid;
    width: 4.3rem;
    height: 4.3rem;
    place-items: center;
    border: .25rem solid var(--yellow);
    border-radius: 50%;
    color: var(--yellow);
    font-weight: 900;
    letter-spacing: -.06em;
    transform: rotate(-4deg);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Arial Narrow", Impact, sans-serif; letter-spacing: .025em; }
h1 { margin-bottom: 0; font-size: clamp(1.6rem, 4vw, 2.65rem); }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
.eyebrow { margin-bottom: .2rem; color: var(--yellow); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.private-badge { margin-left: auto; padding: .55rem .9rem; border: 2px solid var(--yellow); border-radius: 999px; color: var(--yellow); font-weight: 800; }
main { width: min(72rem, calc(100% - 2rem)); margin: 2rem auto 4rem; }
.panel {
    margin-bottom: 1.5rem;
    padding: clamp(1.1rem, 3vw, 2rem);
    background: rgba(255, 250, 240, .96);
    border: 3px solid var(--ink);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}
.intro { border-top: .65rem solid var(--orange); }
.intro .eyebrow { color: var(--red); }
.locked { text-align: center; border-top: .65rem solid var(--yellow); }
.checkout-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; align-items: start; }
.product-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: .75rem;
}
.product-card + .product-card { margin-top: 1rem; }
.product-card h3 { margin-bottom: .35rem; }
.product-card > div { flex: 1; }
.price { margin-bottom: .1rem; color: var(--red-dark); font-size: 1.55rem; font-weight: 900; }
.price-detail { margin: 0 0 .55rem; color: var(--red-dark); font-size: .95rem; font-weight: 850; }
.stock { margin-bottom: 0; font-size: .9rem; }
.product-description { max-width: 44rem; margin: .55rem 0; line-height: 1.45; }
.led-kit-card { margin-top: 1rem; border-color: var(--green); border-width: 3px; }
label { display: grid; gap: .35rem; font-weight: 750; }
label span { font-weight: 400; }
input, select {
    width: 100%;
    min-height: 2.85rem;
    padding: .65rem .75rem;
    color: var(--ink);
    background: #fff;
    border: 2px solid #6d5045;
    border-radius: .45rem;
    font: inherit;
}
select { min-width: 5rem; }
input:focus, select:focus { outline: 3px solid rgba(22, 131, 184, .35); border-color: var(--blue); }
.fields { display: grid; grid-template-columns: 1fr 8rem; gap: 1rem; }
.wide { grid-column: 1 / -1; }
.terms { display: flex; grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: start; margin: 1.2rem 0; font-weight: 550; }
.terms input { width: 1.3rem; min-height: 1.3rem; margin-top: .1rem; accent-color: var(--red); }
.international-notice {
    margin-top: 1.2rem;
    padding: 1rem;
    background: #fff4c7;
    border: 2px solid var(--red-dark);
    border-radius: .7rem;
}
.international-notice p:last-of-type { margin-bottom: 0; }
.international-notice .terms { margin-bottom: 0; }
.compatibility-notice {
    margin-top: 1.2rem;
    padding: 1rem;
    background: #fff0d7;
    border: 3px solid var(--red-dark);
    border-radius: .7rem;
}
.compatibility-notice p:last-of-type { margin-bottom: 0; }
.compatibility-notice .terms { margin-bottom: 0; }
.action-button {
    width: 100%;
    padding: .9rem 1.2rem;
    color: #fff;
    background: var(--red);
    border: 3px solid var(--ink);
    border-radius: 999px;
    box-shadow: 0 4px 0 var(--ink);
    font: 900 1.15rem Inter, Arial, sans-serif;
    cursor: pointer;
}
.action-button:hover { background: var(--red-dark); }
.action-button:disabled { opacity: .55; cursor: wait; }
.summary { max-width: 38rem; margin-inline: auto; border-top: .65rem solid var(--yellow); }
.summary-line, .totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.totals { margin: 1rem 0; border-top: 2px solid var(--ink); }
.totals div { border-bottom: 1px solid rgba(36, 16, 9, .25); }
.totals dt, .totals dd { margin: 0; }
.grand-total { color: var(--red-dark); font-size: 1.35rem; font-weight: 900; }
.quote-note { font-size: .92rem; }
#paypal-button-container { min-height: 3rem; }
.notice { max-width: 46rem; margin: 1rem auto; padding: 1rem; border: 2px solid var(--ink); border-radius: .7rem; background: var(--yellow); font-weight: 700; }
.notice.error { color: #fff; background: var(--red-dark); }
.notice.success { color: #fff; background: var(--green); }
.shipping-window { margin-bottom: 0; font-weight: 750; }
footer { padding: 1.5rem; color: #fff; background: var(--ink); text-align: center; }

@media (max-width: 760px) {
    .site-header { align-items: flex-start; }
    .private-badge { display: none; }
    .checkout-grid { grid-template-columns: 1fr; }
    .fields { grid-template-columns: 1fr; }
    .fields label { grid-column: 1; }
}

.shipping-choice{display:flex;gap:12px;padding:16px;border:1px solid #c5b4a6;border-radius:8px;margin:12px 0;align-items:flex-start}.shipping-choice input{width:auto;margin-top:5px}.shipping-choice span{flex:1}.shipping-choice small{display:block;margin-top:5px}.address label:not(.terms){display:grid;gap:6px;margin:12px 0}.address input:not([type=checkbox]),.address select{padding:10px;font:inherit;width:100%;border:1px solid #9b8273;border-radius:6px}

/* Product selectors choose what to add; only Your cart is used at checkout. */
.product-card { display: block; }
.product-actions { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; align-items: end; margin-top: 1rem; }
.product-actions label { font-size: .9rem; }
.product-actions .action-button { font-size: 1rem; }
.cart { border-top: .65rem solid var(--yellow); }
#cart-count { font: 600 1rem Arial, sans-serif; white-space: nowrap; }
.cart-item { padding: 1rem 0; border-bottom: 1px solid #c5b4a6; }
.cart-item h3 { margin-bottom: .4rem; }
.cart-item-controls { display: flex; gap: 1rem; align-items: end; justify-content: space-between; }
.cart-item-controls label { max-width: 7rem; }
.remove-button { padding: .75rem .5rem; background: transparent; border: 0; color: var(--red-dark); text-decoration: underline; font: 700 1rem Arial, sans-serif; cursor: pointer; }
#cart-feedback { margin: 1rem 0 0; font-weight: 700; }
#cart-feedback:empty { display: none; }
.action-button:disabled { cursor: not-allowed; }
button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media(max-width: 400px) { .product-actions { grid-template-columns: 1fr; } }
