:root {
    --bg: #f6f5f1;
    --surface: #ffffff;
    --surface-soft: #eef1eb;
    --text: #14181d;
    --muted: #5c6670;
    --line: rgba(20, 24, 29, 0.1);
    --brand: #214634;
    --brand-2: #c96b6b;
    --accent: #c49a6c;
    --shadow: 0 18px 50px rgba(20, 24, 29, 0.08);
    --radius: 14px;
}

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

.site-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), #163124);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}
.brand-name { font-weight: 800; letter-spacing: .2px; }
.brand-sub { font-size: 12px; color: var(--muted); }
.topnav { display: flex; gap: 18px; color: var(--muted); }
.topnav a:hover { color: var(--text); }
.cart-btn, .btn, .chip, .icon-btn, .float-cart {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.cart-btn, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    font-weight: 700;
}
.cart-btn {
    background: #10151b;
    color: #fff;
    box-shadow: var(--shadow);
}
.cart-btn strong {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    display: grid;
    place-items: center;
    font-size: 12px;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-secondary { background: #dfe6df; color: var(--text); }
.btn-ghost {
    background: transparent;
    color: var(--brand);
    border: 1px solid rgba(33, 70, 52, 0.18);
}
.btn-full { width: 100%; border-radius: 16px; }
.btn:hover, .cart-btn:hover, .chip:hover, .icon-btn:hover, .float-cart:hover { transform: translateY(-1px); }

.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 620px;
    background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.6));
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-media { position: relative; min-height: 100%; }
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(246,245,241,.05), rgba(246,245,241,.48));
}
.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 64px);
}
.eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand);
}
.hero h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    max-width: 10ch;
}
.lead {
    max-width: 52ch;
    color: var(--muted);
    font-size: 17px;
    margin: 18px 0 0;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.hero-points span, .category, .badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
}
.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,.92);
    color: #21302b;
    box-shadow: 0 12px 24px rgba(20,24,29,.12);
}

.band, .section, .panel {
    background: rgba(255,255,255,.72);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    margin-top: 18px;
}
.stat strong { display: block; font-size: 20px; }
.stat span { color: var(--muted); font-size: 13px; }

.section {
    margin-top: 18px;
    padding: 24px;
}
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
}
.section h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    background: #e8ece6;
    color: var(--text);
    padding: 10px 14px;
    font-weight: 700;
}
.chip.active { background: var(--brand); color: #fff; }
.searchbox {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: min(360px, 100%);
    padding: 12px 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
}
.searchbox span { color: var(--muted); font-size: 12px; font-weight: 700; }
.searchbox input {
    border: 0;
    outline: 0;
    width: 100%;
    background: transparent;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(20,24,29,.06);
}
.product-photo {
    position: relative;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    background: #f2f2ef;
}
.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-body {
    padding: 16px;
}
.product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.product-topline strong {
    font-size: 17px;
    white-space: nowrap;
}
.product-body h3 {
    margin: 10px 0 6px;
    font-size: 20px;
    line-height: 1.15;
}
.product-body p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.product-body ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    color: var(--text);
    font-size: 13px;
}
.product-body ul li::before {
    content: "•";
    color: var(--brand-2);
    margin-right: 8px;
}
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.product-actions .btn {
    flex: 1;
    min-width: 0;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}
.panel {
    padding: 22px;
}
.policy-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}
.policy-list li + li { margin-top: 8px; }

.contact-band { padding-bottom: 28px; }
.contact-panel {
    display: grid;
    gap: 18px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.contact-grid div {
    padding: 14px;
    border-radius: 16px;
    background: #f3f5f0;
}
.contact-grid span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 4px;
}
.contact-grid strong { display: block; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(440px, 100vw);
    height: 100vh;
    background: #fff;
    box-shadow: -18px 0 50px rgba(20,24,29,.16);
    transform: translateX(102%);
    transition: transform .24s ease;
    z-index: 40;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    padding: 18px;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}
.cart-head h2 { margin: 0; font-size: 24px; }
.icon-btn {
    width: 42px;
    height: 42px;
    background: #f0f1ed;
    font-size: 26px;
    line-height: 1;
}
.cart-items {
    overflow: auto;
    padding: 12px 0;
    display: grid;
    gap: 12px;
}
.cart-empty {
    padding: 20px;
    border-radius: 18px;
    background: #f4f5f2;
    color: var(--muted);
}
.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: #f8f8f4;
}
.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
}
.cart-item h4 {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
}
.cart-item p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.qty button {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 800;
}
.qty span { min-width: 20px; text-align: center; }
.remove-btn {
    border: 0;
    background: transparent;
    color: #8c4c4c;
    font-weight: 700;
    cursor: pointer;
}
.cart-summary {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 8px;
}
.cart-summary div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-summary .total strong { font-size: 20px; }

.checkout-form {
    padding-top: 14px;
    display: grid;
    gap: 10px;
}
.checkout-form label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    border: 1px solid var(--line);
    background: #fcfcfb;
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
}
.order-result {
    min-height: 24px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(16, 21, 27, .34);
    z-index: 30;
}

.float-cart {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 25;
    background: #10151b;
    color: #fff;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
}
.float-cart strong {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    display: grid;
    place-items: center;
}

.hidden { display: none !important; }

@media (max-width: 980px) {
    .hero, .band, .split, .product-grid, .contact-grid { grid-template-columns: 1fr; }
    .topnav { display: none; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .float-cart { display: inline-flex; }
}

@media (max-width: 680px) {
    .site-shell { width: min(100% - 20px, 100%); }
    .hero { min-height: auto; }
    .hero h1 { max-width: 100%; font-size: 34px; }
    .band, .section, .panel { border-radius: 20px; }
    .product-grid { grid-template-columns: 1fr; }
    .cart-drawer { width: 100vw; }
    .cart-btn { display: none; }
}

