:root {
    --site-ink: #0f172a;
    --site-muted: #64748b;
    --site-sand: #f1f5f9;
    --site-surface: #ffffff;
    --site-surface-soft: #f8fafc;
    --site-border: #e2e8f0;
    --site-accent: #d2883d;
    --site-accent-dark: #9b5b1a;
    --site-success: #10b981;
    --site-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --site-radius: 20px;
}

body {
    background: #f8fafc;
    color: var(--site-ink);
    font-family: 'Barlow', sans-serif;
    margin: 0;
}

.site-frame {
    margin: 0 auto;
    max-width: 1220px;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(19, 32, 47, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.site-header.is-sticked {
    background: #fff;
    box-shadow: 0 10px 30px rgba(19, 32, 47, 0.06);
}

.site-header__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 88px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.site-brand__mark {
    background: linear-gradient(135deg, var(--site-accent), #f2b46d);
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    height: 52px;
    width: 52px;
    box-shadow: 0 8px 20px rgba(210, 136, 61, 0.2);
}

.site-brand__text {
    display: flex;
    flex-direction: column;
}

.site-brand__text strong {
    color: var(--site-ink);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.site-brand__text small {
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    gap: 36px;
}

.site-nav__link {
    color: var(--site-muted);
    font-size: 15px;
    font-weight: 700;
    position: relative;
    text-decoration: none;
    transition: all 0.2s ease;
}

.site-nav__link::after {
    background: var(--site-accent);
    bottom: -6px;
    content: "";
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    transform: scaleX(0);
    transition: all 0.3s ease;
    width: 100%;
}

.site-nav__link:hover {
    color: var(--site-ink);
}

.site-nav__link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.menu-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    display: none;
    height: 44px;
    padding: 10px;
    position: relative;
    width: 44px;
}

.menu-toggle span {
    background: var(--site-ink);
    display: block;
    height: 2px;
    position: absolute;
    transition: 0.3s ease;
    width: 24px;
}

.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }

@media (max-width: 860px) {
    .site-nav {
        background: #fff;
        border-top: 1px solid var(--site-border);
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        padding: 20px;
        position: absolute;
        right: 0;
        top: 100%;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .is-menu-open .site-nav {
        display: flex;
    }

    .site-nav__link {
        padding: 15px 0;
        border-bottom: 1px solid var(--site-surface-soft);
    }
    
    .site-nav__link::after { display: none; }

    .menu-toggle { display: block; }
    
    .is-menu-open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .is-menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .is-menu-open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}


/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: -50%; left: -20%; width: 140%; height: 140%;
    background: radial-gradient(circle, rgba(210, 136, 61, 0.03) 0%, transparent 70%);
    z-index: 0; pointer-events: none;
}

.hero .site-frame { position: relative; z-index: 1; }

.hero h1 {
    font-family: 'Merriweather', serif;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    color: var(--site-muted);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Filter Bar */
.filter-bar {
    background: var(--site-ink);
    border-radius: 24px;
    padding: 32px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    color: #fff;
}

.filter-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    opacity: 0.8;
}

.filter-group .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    height: 48px;
    width: 100%;
    padding: 0 12px;
}

/* Inventory Cards */
.inventory-grid {
    display: grid;
    gap: 32px 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 40px 0;
}

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

@media (max-width: 640px) {
    .inventory-grid {
        grid-template-columns: 1fr;
    }
}

.inventory-card {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.inventory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(19, 32, 47, 0.1);
}

.inventory-card__image-wrap {
    overflow: hidden;
    aspect-ratio: 16/10;
    width: 100%;
}

.inventory-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.inventory-card:hover .inventory-card__image {
    transform: scale(1.08);
}

.inventory-card__content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.inventory-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.3;
}

/* Buttons */
.button {
    background: var(--site-accent);
    border: 0;
    border-radius: 999px;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    padding: 12px 24px;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.button:hover { filter: brightness(1.1); }

.button--muted {
    background: rgba(19, 32, 47, 0.05);
    color: var(--site-ink) !important;
}

/* Section */
.section { padding: 80px 0; }
.section--cream { background: #f1f5f9; }

/* Chips */
.sort-filter-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.search-filter-list { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.search-filter-list li a {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 99px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    text-decoration: none;
}
.search-filter-list li.is-active a { background: var(--site-accent); border-color: var(--site-accent); color: #fff; }

/* Grid Categories */
.category-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.category-card {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--site-ink);
    transition: all 0.2s ease;
}
.category-card:hover { border-color: var(--site-accent); transform: translateY(-4px); }
.category-card i { font-size: 32px; color: var(--site-accent); margin-bottom: 12px; display: block; }

/* Spec List (Detail Page) */
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--site-border);
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list span { color: var(--site-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.spec-list strong { color: var(--site-ink); }
