:root {
    --bg: #FBF8F3;
    --bg-soft: #F3ECE2;
    --surface: #FFFFFF;
    --border: #E8DFD3;
    --text: #231F1D;
    --muted: #6B625D;
    --sage: #6E7F6B;
    --sage-dark: #566653;
    --terracotta: #B86B4B;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-soft: 0 18px 45px rgba(35, 31, 29, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.12;
    margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(251, 248, 243, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.cart-btn:hover { background: var(--sage-dark); transform: translateY(-1px); }

.cart-count {
    background: var(--terracotta);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* Hero */
.hero {
    padding: 56px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-dark);
    background: var(--bg-soft);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(42px, 5.2vw, 66px);
    margin-bottom: 20px;
    color: var(--text);
}

.hero p {
    font-size: 16px;
    color: var(--muted);
    max-width: 480px;
    margin: 0 0 32px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary {
    background: var(--sage);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover { background: var(--sage-dark); transform: translateY(-1px); }

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover { border-color: var(--text); background: var(--surface); }

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 11;
    background: var(--bg-soft);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pillars */
.pillars {
    padding: 20px 0 64px;
}

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

.pillar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.pillar-card h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.pillar-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

/* Section header */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.section-head h2 {
    font-size: clamp(32px, 3.8vw, 46px);
}

.section-sub {
    color: var(--muted);
    font-size: 15px;
    max-width: 460px;
    margin: 8px 0 0;
}

/* Filters */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pill.active, .pill:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.search-input {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    min-width: 240px;
    color: var(--text);
    outline: none;
}

.search-input:focus { border-color: var(--sage); }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 26px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.product-img-box {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bg-soft);
    overflow: hidden;
    cursor: pointer;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-img-box img { transform: scale(1.04); }

.stock-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
}

.product-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage-dark);
    font-weight: 600;
    margin-bottom: 6px;
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 600;
    margin: 0 0 6px;
    cursor: pointer;
}

.product-dims {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.swatches {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.swatch-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.14);
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s;
}

.swatch-dot.active {
    border-color: var(--text);
    transform: scale(1.12);
}

.swatch-name {
    font-size: 12px;
    color: var(--muted);
}

.product-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-wrap { display: flex; flex-direction: column; }
.price { font-size: 18px; font-weight: 700; }
.old-price { font-size: 12px; color: var(--muted); text-decoration: line-through; }

.btn-add {
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add:hover { background: var(--sage); }

/* About & FAQ & Contact */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item p {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.card-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

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

.form-control {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text);
    outline: none;
}

.form-control:focus { border-color: var(--sage); background: #fff; }

/* Drawers & Modals */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(35, 31, 29, 0.45);
    backdrop-filter: blur(4px);
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.overlay.open { display: flex; }

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(35, 31, 29, 0.4);
    backdrop-filter: blur(3px);
    z-index: 95;
    display: none;
    justify-content: flex-end;
}

.drawer-overlay.open { display: flex; }

.drawer {
    width: min(440px, 100%);
    background: var(--surface);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px;
    box-shadow: -12px 0 40px rgba(0,0,0,0.12);
}

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.close-btn {
    background: var(--bg-soft);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--text);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 0;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bg-soft);
}

.cart-item img {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bg-soft);
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-soft);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 13px;
}

.qty-controls button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}

.modal-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    border: 1px solid var(--border);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text);
    color: var(--bg);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s;
    z-index: 120;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
    .hero-grid, .pillars-grid, .two-col, .modal-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
/* Showroom catalog */
.showroom-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:18px}.category-links{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.category-links a{border:1px solid var(--border);border-radius:999px;padding:8px 18px}.category-links a.active{background:var(--sage);color:#fff}.detail-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:start}.detail-photo{overflow:hidden;background:var(--bg-soft);border-radius:var(--radius-lg);aspect-ratio:4/3}.detail-photo img{width:100%;height:100%;object-fit:contain}.detail-copy h1{font-size:clamp(38px,5vw,62px)}.detail-price{font-size:28px;font-weight:600}.thumbs,.variant-list{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.thumb{width:80px;height:66px;padding:0;overflow:hidden;border:1px solid var(--border);background:white;border-radius:8px;cursor:pointer}.thumb img{height:100%;width:100%;object-fit:cover}.variant-choice{display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:12px;padding:10px;background:var(--surface);cursor:pointer;color:var(--text);text-align:left}.variant-choice[aria-pressed=true]{border:2px solid var(--sage);padding:9px}.swatch-dot{width:20px;height:20px;border-radius:50%;border:1px solid var(--border)}.stock-state{font-weight:600;color:var(--sage-dark)}.no-photo{display:grid;place-items:center;height:100%;min-height:180px;background:var(--bg-soft);color:var(--muted)}.empty{padding:32px;background:var(--bg-soft);border-radius:16px}.article{max-width:780px}.article h1{font-size:48px;margin:20px 0 30px}.article div{line-height:1.9}.product-footer{flex-wrap:wrap;gap:8px}.detail-copy hr{border:0;border-top:1px solid var(--border);margin:24px 0}@media(max-width:760px){.header-inner{height:auto;min-height:76px;flex-direction:column;align-items:flex-start;padding:15px 0;gap:8px}.showroom-nav{display:flex!important;justify-content:flex-start;gap:12px;font-size:12px}.site-header{position:static}.detail-grid{grid-template-columns:1fr;gap:24px}.section{padding:40px 0}.product-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}}
