:root {
    --ink: #1c1916;
    --muted: #5d564d;
    --cream: #f6efe4;
    --paper: #fffaf3;
    --line: #e4d8c6;
    --orange: #e25a12;
    --orange-dark: #c24b00;
    --navy: #17324d;
    --navy-deep: #102233;
    --sand: #efe3d2;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: "Outfit", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    background: var(--navy-deep);
    color: var(--cream);
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 3px solid var(--orange);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.brand {
    font-family: "Lilita One", "Impact", sans-serif;
    font-size: 1.7rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #fff;
}

.brand span { color: var(--orange); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #d9e4ef;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.cart-link {
    background: var(--orange);
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
}

.flash-bar {
    background: #17324d;
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.92rem;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0 48px;
}

.eyebrow {
    display: inline-block;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.76rem;
    margin-bottom: 12px;
}

h1, h2, h3 {
    font-family: "Lilita One", "Impact", sans-serif;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    margin-bottom: 16px;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }

.lede {
    font-size: 1.12rem;
    color: var(--muted);
    margin-bottom: 22px;
    max-width: 38rem;
}

.promise {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.promise span {
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.88rem;
    font-weight: 600;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn:hover { background: var(--orange-dark); }

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-block { width: 100%; text-align: center; }
.btn-small { padding: 8px 14px; font-size: 0.9rem; }

.hero-art {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hero-card {
    background: #0d0d0d;
    border-radius: 20px;
    overflow: hidden;
    min-height: 220px;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-card.tall { grid-row: span 2; min-height: 360px; }

section { padding: 64px 0; }
.sand { background: var(--sand); }
.paper { background: var(--paper); }

.section-head { max-width: 640px; margin-bottom: 28px; }
.muted { color: var(--muted); }

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-weight: 600;
    font-size: 0.92rem;
}

.filter.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.card:hover { border-color: #cbb79a; }

.card-photo {
    background: #0d0d0d;
    aspect-ratio: 1;
    padding: 16px;
}

.card-photo img,
.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-body { padding: 18px; }

.price {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 8px 0 4px;
}

.ship-note { color: var(--muted); font-size: 0.88rem; }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 48px 0;
}

.product-photo {
    background: #0d0d0d;
    border-radius: 24px;
    padding: 24px;
    min-height: 420px;
}

.product-photo img { max-height: 520px; margin: 0 auto; }

.buy-box {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    margin: 20px 0;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 18px;
}

.qty-row input {
    width: 72px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    text-align: center;
}

.specs { padding-left: 18px; margin: 12px 0 0; }
.specs li { margin: 6px 0; }

.prose { max-width: 720px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 18px; }

.page-hero { padding: 48px 0 12px; }

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    padding-bottom: 64px;
}

.details-card,
.form-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
}

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    background: #fff;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.message {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.message.ok { background: #e5f6e8; color: #1b5e20; }
.message.err { background: #fdecea; color: #b71c1c; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td {
    text-align: left;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.cart-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #0d0d0d;
    border-radius: 10px;
}

.totals {
    max-width: 360px;
    margin-left: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    margin-top: 20px;
}

.totals p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

.lifestyle {
    border-radius: 20px;
    overflow: hidden;
}

.lifestyle img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.site-footer {
    background: var(--navy-deep);
    color: #c9d4e0;
    padding: 36px 0;
    margin-top: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p, .site-footer li { margin: 6px 0; }
.site-footer ul { list-style: none; }

.empty {
    text-align: center;
    padding: 48px 0;
}

@media (max-width: 860px) {
    .hero, .product-layout, .grid, .contact-grid, .footer-grid, .hero-art {
        grid-template-columns: 1fr;
    }
    .hero-card.tall { grid-row: auto; min-height: 280px; }
    .nav { flex-wrap: wrap; }
    section { padding: 48px 0; }
    .lifestyle img { height: 260px; }
}
