:root {
    color-scheme: light;
    --ink: #182230;
    --muted: #687386;
    --line: #e4e8ee;
    --surface: #ffffff;
    --soft: #f5f7fa;
    --brand: #e85d2a;
    --brand-dark: #bf3f15;
    --accent: #173f5f;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--soft); line-height: 1.55; }
a { color: inherit; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.nav { max-width: 1120px; margin: auto; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { color: var(--accent); font-size: 1.25rem; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 1rem; align-items: center; color: var(--muted); font-weight: 600; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--brand); }
.container { max-width: 1120px; margin: auto; padding: 3rem 1.25rem; }
.hero { background: linear-gradient(120deg, #173f5f, #286b78); color: white; border-radius: 1.5rem; padding: clamp(2rem, 6vw, 5rem); margin-bottom: 3rem; overflow: hidden; }
.hero h1 { max-width: 650px; margin: 0 0 1rem; font-size: clamp(2.3rem, 7vw, 4.8rem); line-height: 1.02; letter-spacing: -.06em; }
.hero p { max-width: 560px; color: #dceaf0; font-size: 1.15rem; }
.eyebrow { color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #ffb08f; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: .7rem; padding: .75rem 1.1rem; background: var(--brand); color: white; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--brand-dark); }
.button.secondary { background: var(--surface); color: var(--accent); border: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.03em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-top: 0; }
.muted { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.product-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .7rem; margin-bottom: 1rem; }
.product-placeholder { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: .7rem; margin-bottom: 1rem; background: linear-gradient(135deg, #e8eef2, #c8d9df); color: var(--accent); font-weight: 800; letter-spacing: .1em; }
.detail-image, .detail-placeholder { max-height: 520px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1.35rem; box-shadow: 0 8px 24px rgb(24 34 48 / 5%); }
.card h2 { margin: .5rem 0; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { color: var(--brand); }
.price { color: var(--accent); font-size: 1.25rem; font-weight: 800; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 2rem; align-items: start; }
.detail-copy, .summary, .form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.25rem, 4vw, 2.25rem); }
.summary { position: sticky; top: 1rem; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.quantity { display: inline-flex; align-items: center; gap: .6rem; }
.icon-button { border: 1px solid var(--line); background: white; border-radius: .5rem; min-width: 2rem; min-height: 2rem; cursor: pointer; }
.text-button { color: var(--brand-dark); background: none; border: 0; cursor: pointer; font: inherit; }
.total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 800; padding-top: 1.25rem; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid #cbd3df; border-radius: .6rem; padding: .75rem; font: inherit; background: white; }
textarea { min-height: 110px; resize: vertical; }
.alert { border-radius: .7rem; padding: .8rem 1rem; background: #fff0ed; color: #9b2c17; }
.site-footer { color: var(--muted); text-align: center; padding: 2rem 1.25rem; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .nav { align-items: flex-start; flex-direction: column; } .nav-links { width: 100%; justify-content: space-between; } .detail { grid-template-columns: 1fr; } .summary { position: static; } .cart-item { grid-template-columns: 1fr; gap: .5rem; } }
