:root {
    --paper: #fffaf5;
    --surface: #ffffff;
    --ink: #251815;
    --muted: #6f625d;
    --line: #eadfd6;
    --coral: #ef4f2f;
    --orange: #f47b20;
    --gold: #f2c14e;
    --teal: #0f8b8d;
    --soft-teal: #e8f6f5;
    --shadow: 0 16px 40px rgba(76, 38, 16, 0.10);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px clamp(18px, 4vw, 56px);
    background: rgba(255, 250, 245, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--coral);
    color: #fff;
}
.brand-text { font-size: 19px; letter-spacing: 0; }
.brand-text strong { color: var(--coral); }
.top-nav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.top-nav a:hover { color: var(--coral); }
.account-link {
    padding: 9px 14px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
}
.site-main { min-height: 70vh; }

.home-workbench {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(22px, 5vw, 60px);
    align-items: center;
    padding: clamp(28px, 6vw, 76px) clamp(18px, 4vw, 56px) 24px;
}
.eyebrow {
    margin: 0 0 8px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
    margin: 0;
    font-size: 76px;
    line-height: 0.94;
    letter-spacing: 0;
}
.lead {
    max-width: 660px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 20px;
}
.search-panel {
    display: grid;
    gap: 14px;
    padding: clamp(18px, 3vw, 28px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.search-panel label { font-size: 13px; font-weight: 800; color: var(--muted); }
.search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}
.search-row input, .mini-form input, .newsletter-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 0 14px;
    outline: none;
}
.search-row input:focus, .mini-form input:focus, .newsletter-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.16);
}
.search-row button, .mini-form button, .newsletter-form button, .primary-action {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--coral);
    color: #fff;
    padding: 0 18px;
    font-weight: 800;
    cursor: pointer;
}
.condition-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    padding: 8px 12px;
    cursor: pointer;
}
.filter-chip.is-active { border-color: var(--teal); background: var(--soft-teal); color: #0b5d5f; font-weight: 800; }

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 10px clamp(18px, 4vw, 56px) 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
}
.trust-strip div { background: #fff; padding: 16px; }
.trust-strip strong { display: block; }
.trust-strip span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.content-section, .radar-section, .newsletter-section {
    padding: 34px clamp(18px, 4vw, 56px);
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.section-heading h2, .radar-section h2, .newsletter-section h2 { margin: 0; font-size: 40px; line-height: 1.05; }
.quiet-link { color: var(--teal); font-weight: 800; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(76, 38, 16, 0.07);
}
.product-media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f4ece5;
    color: var(--muted);
    font-size: 13px;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 14px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.hot-badge, .discount-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 9px;
    font-size: 12px;
    font-weight: 800;
}
.hot-badge { background: #fff0e6; color: #c43b17; }
.discount-badge { background: var(--ink); color: #fff; }
.product-card h3 { margin: 0; font-size: 17px; line-height: 1.22; }
.product-card p { margin: 0; color: var(--muted); font-size: 14px; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-row strong { color: var(--coral); font-size: 25px; line-height: 1; }
.price-row span { color: #8b7e78; text-decoration: line-through; font-size: 14px; }
.meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}
.meta-grid div { min-width: 0; }
.meta-grid dt { color: var(--muted); font-size: 11px; }
.meta-grid dd { margin: 0; font-size: 12px; font-weight: 800; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.secondary-action {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 0 12px;
    font-weight: 800;
    cursor: pointer;
}
.ad-slot {
    margin: 8px clamp(18px, 4vw, 56px) 18px;
    border: 1px dashed #d6c7ba;
    border-radius: 8px;
    background: #fffefc;
    padding: 18px;
    color: var(--muted);
}
.ad-slot span { display: block; color: #8b7e78; font-size: 11px; text-transform: uppercase; font-weight: 800; }
.ad-slot p { margin: 4px 0 0; }
.radar-section, .newsletter-section, .product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 28px;
    align-items: center;
}
.radar-section { background: #fff3e8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.newsletter-section { background: #fff; }
.mini-form, .newsletter-form {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.consent { display: flex; gap: 8px; color: var(--muted); font-size: 13px; }
.product-detail { padding: clamp(26px, 5vw, 64px) clamp(18px, 4vw, 56px); align-items: start; }
.detail-media { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 3vw, 28px); }
.detail-panel h1 { font-size: 52px; }
.detail-price strong { font-size: 34px; }
.detail-meta { margin: 18px 0; }
.detail-actions { grid-template-columns: 1fr 1fr; }
.disclaimer { color: var(--muted); font-size: 13px; }
.empty-state { grid-column: 1 / -1; margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px clamp(18px, 4vw, 56px);
    background: var(--ink);
    color: #fff;
}
.site-footer span, .site-footer p { color: rgba(255,255,255,0.72); margin: 0; }
.site-footer div { display: grid; gap: 4px; }

@media (max-width: 1080px) {
    h1 { font-size: 56px; }
    .section-heading h2, .radar-section h2, .newsletter-section h2 { font-size: 34px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-workbench, .radar-section, .newsletter-section, .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    h1 { font-size: 42px; }
    .lead { font-size: 17px; }
    .detail-panel h1 { font-size: 34px; }
    .section-heading h2, .radar-section h2, .newsletter-section h2 { font-size: 30px; }
    .site-header { align-items: stretch; flex-wrap: wrap; }
    .top-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; }
    .search-row { grid-template-columns: 1fr; }
    .trust-strip { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .section-heading { align-items: start; flex-direction: column; }
    .meta-grid { grid-template-columns: 1fr 1fr; }
    .site-footer { flex-direction: column; }
}