:root {
    --ink: #15181c;
    --muted: #5d6673;
    --line: #d9dee6;
    --panel: #ffffff;
    --bg: #f5f6f3;
    --red: #b4232a;
    --red-dark: #7f161e;
    --blue: #1e4e76;
    --gold: #d19a24;
    --shadow: 0 16px 44px rgba(24, 31, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 14px clamp(18px, 4vw, 56px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 220px;
}

.brand-mark {
    align-items: center;
    background: var(--red);
    color: white;
    display: inline-flex;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.brand small,
.product-card small,
footer span {
    color: var(--muted);
    display: block;
    font-size: 0.82rem;
}

nav {
    display: flex;
    gap: clamp(12px, 3vw, 30px);
    font-weight: 700;
}

.hero {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    min-height: calc(100vh - 74px);
    padding: clamp(32px, 7vw, 76px) clamp(18px, 4vw, 56px);
}

.hero-copy {
    max-width: 680px;
}

.eyebrow,
.category {
    color: var(--red-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.45rem, 5vw, 4.9rem);
    line-height: 0.98;
    margin-bottom: 22px;
    max-width: 760px;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.04;
    margin-bottom: 14px;
}

h3 {
    font-size: 1.18rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.lede {
    color: #3c4653;
    font-size: clamp(1rem, 2vw, 1.22rem);
    max-width: 620px;
}

.hero img {
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow);
    object-fit: cover;
    width: 100%;
}

.hero-actions,
.product-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button,
button {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    justify-content: center;
    padding: 12px 18px;
}

.primary,
button {
    background: var(--red);
    color: white;
}

.secondary {
    background: white;
    border: 1px solid var(--line);
}

.status-strip {
    background: var(--ink);
    color: white;
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, 1fr);
}

.status-strip div {
    background: #20252b;
    padding: 20px clamp(18px, 3vw, 34px);
}

.status-strip span {
    color: #c9d0d8;
    display: block;
}

.section {
    padding: clamp(40px, 7vw, 86px) clamp(18px, 4vw, 56px);
}

.section-heading,
.split,
.checkout-layout {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.search {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
}

input,
textarea {
    background: white;
    border: 1px solid var(--line);
    color: var(--ink);
    font: inherit;
    min-height: 48px;
    padding: 12px 13px;
    width: 100%;
}

textarea {
    min-height: 106px;
    resize: vertical;
}

.product-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
}

.product-card,
.panel,
.cart {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(24, 31, 42, 0.06);
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 292px;
    padding: 20px;
}

.product-card p:not(.category) {
    color: var(--muted);
}

.product-meta {
    justify-content: space-between;
    margin-top: auto;
}

.product-meta span {
    color: var(--muted);
    font-size: 0.76rem;
}

.product-meta strong {
    color: var(--blue);
    font-size: 1.12rem;
}

.add-button {
    margin-top: 16px;
    width: 100%;
}

.panel {
    display: grid;
    gap: 14px;
    padding: 22px;
}

label {
    color: #333b45;
    display: grid;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 6px;
}

output {
    background: #eef3f7;
    border-left: 4px solid var(--blue);
    color: #223144;
    display: block;
    min-height: 48px;
    padding: 12px;
}

.cart {
    margin-top: 24px;
    min-height: 92px;
    padding: 18px;
}

.cart-row {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto auto;
    padding: 10px 0;
}

.cart-row:last-child {
    border-bottom: 0;
}

.qty {
    min-height: 38px;
    width: 72px;
}

.remove {
    background: #eef0f3;
    color: var(--ink);
    padding: 8px 10px;
}

footer {
    align-items: center;
    background: white;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: space-between;
    padding: 24px clamp(18px, 4vw, 56px);
}

@media (max-width: 1020px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .site-header,
    nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero,
    .section-heading,
    .split,
    .checkout-layout,
    .status-strip {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .search {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

