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

:root {
    --bg: #faf9f6;
    --white: #fff;
    --ink: #111;
    --muted: #6b6b6b;
    --line: #e6e2d8;
    --gold: #b89b62;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    font-weight: 300;
    letter-spacing: 0.02em;
}

a { text-decoration: none; color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

.header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 12px;
}

.logo {
    justify-self: center;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
}
.logo em {
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: none;
}

.nav-toggle {
    width: 36px;
    height: 36px;
    border: 0;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 1px;
    width: 18px;
    background: var(--ink);
}

.search-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--ink);
    min-width: 110px;
}
.search-form input {
    border: 0;
    outline: 0;
    background: transparent;
    padding: 4px 6px;
    font-size: 12px;
    letter-spacing: 0.08em;
    width: 90px;
    min-width: 0;
}
.search-form button {
    border: 0;
    background: none;
    padding: 4px;
    cursor: pointer;
    color: var(--ink);
}

.nav-drawer {
    display: none;
    border-top: 1px solid var(--line);
    padding: 16px 20px 22px;
    background: #fff;
}
.nav-drawer.open { display: flex; flex-direction: column; gap: 12px; }
.nav-drawer a {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.nav-drawer a:hover { color: var(--gold); }

.hero { background: #111; }
.banner { position: relative; overflow: hidden; }
.banner-track { display: flex; transition: transform 0.7s ease; }
.banner-slide { min-width: 100%; background: #111; }
.banner-slide img,
.banner-slide video {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    margin: 0 auto;
    background: #111;
}
.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.banner-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
}
.banner-dots span.active { background: #fff; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 16px 90px;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.section-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-meta {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.12em;
    margin-bottom: 28px;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}
.section-head .section-title,
.section-head .section-meta { margin-bottom: 0; }
.section-head + .category-grid,
.section-head + .product-grid { margin-top: 4px; }
.home-recent { margin-bottom: 48px; }

.sort-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.sort-bar span { color: var(--muted); }
.sort-bar a { color: var(--muted); border-bottom: 1px solid transparent; padding-bottom: 1px; }
.sort-bar a:hover,
.sort-bar a.active {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.category-card {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
}
.category-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
}
.category-card:hover img { transform: none; }
.category-img .no-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cormorant Garamond", serif;
    letter-spacing: 0.2em;
    background: #111;
    color: #fff;
}
.category-info {
    padding: 12px 8px 14px;
    text-align: center;
    background: #fff;
    color: var(--ink);
}
.category-info h3 {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.22em;
}
.category-info span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
    align-items: stretch;
}

.product-card {
    background: transparent;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.product-card .img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
}
.badge-new {
    position: absolute;
    left: 8px;
    top: 8px;
    background: #111;
    color: #fff;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 4px 6px;
}
.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.product-card:hover .img-wrap img { transform: none; }
.product-card .info {
    padding: 10px 2px 0;
    min-height: 48px;
}
.product-card .id {
    font-size: 11px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card .updated {
    margin-top: 3px;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-updated {
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.breadcrumb {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
}
.breadcrumb span { margin: 0 8px; color: #ccc; }
.breadcrumb a:hover { color: var(--ink); }

.product-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
}
.product-header > div {
    width: 100%;
    min-width: 0;
}
.product-header h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.28;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.back-link {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    white-space: nowrap;
}

.product-images {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}
.zoom-item {
    position: relative;
    border: 1px solid var(--line);
    padding: 0;
    background: #fff;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.zoom-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
}
.media-video {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.zoom-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(17,17,17,0.72);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 8px;
}

.empty {
    text-align: center;
    padding: 60px 16px;
    color: var(--muted);
    letter-spacing: 0.12em;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.94);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.lightbox img {
    width: auto;
    height: auto;
    max-width: 96vw;
    max-height: 92vh;
    object-fit: contain;
}
.lightbox .lb-close {
    position: absolute;
    top: 16px;
    right: 18px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.wa-float {
    position: fixed;
    right: 16px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.wa-float svg { width: 20px; height: 20px; fill: #fff; }

.footer {
    border-top: 1px solid var(--line);
    background: #fff;
    text-align: center;
    padding: 28px 16px 36px;
}
.footer-brand {
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 6px;
}
.footer-copy { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }

@media (min-width: 768px) {
    .header-inner {
        grid-template-columns: 1fr auto 1fr;
        padding: 18px 32px;
    }
    .logo { font-size: 1.7rem; }
    .search-form { justify-self: end; }
    .search-form input { width: 180px; }
    .container { padding: 56px 32px 110px; }
    .section-title { font-size: 36px; }
    .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
    .section-head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 28px;
    }
    .product-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
    }
    .product-header h1 { font-size: 28px; }
    .product-images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (min-width: 1200px) {
    .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
