:root {
    --ink: #191714;
    --muted: #706b63;
    --line: #ece7df;
    --soft: #f8f5ef;
    --gold: #b18a45;
    --white: #ffffff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 18px;
    grid-template-columns: 180px minmax(0, 1fr) 180px;
    padding: 12px clamp(20px, 4vw, 52px);
    position: sticky;
    top: 0;
    z-index: 20;
}

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

.brand-logo {
    display: block;
    height: 40px;
    max-width: 150px;
    object-fit: contain;
    width: auto;
}

.desktop-brand-logo {
    display: block;
}

.mobile-brand-logo {
    display: none;
}

.brand-mark {
    align-items: center;
    background: var(--ink);
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    font-family: Georgia, serif;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.brand small,
.eyebrow,
.product-body small {
    color: var(--gold);
    display: block;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.nav a {
    color: var(--muted);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    padding: 10px 13px;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
}

.nav a:hover {
    background: var(--soft);
    color: var(--ink);
}

.nav-cta {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    justify-self: end;
    letter-spacing: .04em;
    white-space: nowrap;
}

.menu-toggle {
    align-items: center;
    background: var(--ink);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 4px;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.menu-toggle span {
    background: var(--white);
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform .2s ease, opacity .2s ease;
    width: 18px;
}

.mobile-menu {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(25, 23, 20, .12);
    display: none;
    gap: 4px;
    padding: 12px;
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    top: calc(100% + 10px);
    width: min(280px, calc(100vw - 40px));
}

.mobile-menu a {
    border-radius: 14px;
    color: var(--ink);
    display: block;
    padding: 14px 16px;
}

.mobile-menu a:hover {
    background: var(--soft);
}

@media (min-width: 921px) {
    .menu-toggle,
    .mobile-menu {
        display: none !important;
    }

    .nav {
        display: flex !important;
    }

    .desktop-brand-logo {
        display: block !important;
    }

    .mobile-brand-logo {
        display: none !important;
    }
}

.hero,
.product-detail {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    padding: clamp(28px, 4.5vw, 60px) clamp(20px, 5vw, 72px) clamp(56px, 9vw, 120px);
}

.hero h1,
.page-hero h1,
.section-heading h2,
.split-section h2,
.product-panel h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 82px);
    font-weight: 400;
    line-height: .96;
    margin: 12px 0 20px;
}

.hero p,
.page-hero p,
.split-section p,
.summary {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.actions.stacked {
    flex-direction: column;
}

.button {
    border: 1px solid var(--ink);
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    padding: 14px 22px;
}

.button.primary {
    background: var(--ink);
    color: var(--white);
}

.button.ghost {
    background: var(--white);
}

.button.whatsapp {
    background: #1f9d55;
    border-color: #1f9d55;
    color: var(--white);
}

.hero-card,
.gallery-image,
.content-image {
    background: var(--soft);
    border-radius: 28px;
    overflow: hidden;
}

.hero-image,
.split-image,
.gallery-image,
.content-image {
    aspect-ratio: 4 / 5;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.section,
.split-section,
.catalogue,
.content-page {
    padding: clamp(46px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.section.soft {
    background: var(--soft);
}

.section-heading {
    margin-bottom: 28px;
    max-width: 760px;
}

.section-heading h2,
.split-section h2,
.product-panel h1,
.page-hero h1 {
    font-size: clamp(34px, 4vw, 56px);
}

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

.category-card,
.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    display: block;
    overflow: hidden;
}

.product-body {
    padding: 16px;
    text-align: center;
}

.product-body small {
    margin: 0 0 8px;
}

.category-card span,
.product-body h3 {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
    margin: 16px 16px 6px;
}

.product-body h3 {
    margin: 0 0 8px;
}

.category-card small,
.product-body p {
    color: var(--muted);
    display: block;
    line-height: 1.5;
    margin: 0 16px 18px;
}

.product-body p {
    margin: 0;
}

.card-image,
.product-image {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.image-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #f9f7f2, #eee6d8);
    color: var(--gold);
    display: flex;
    justify-content: center;
    min-height: 240px;
    padding: 24px;
    text-align: center;
}

.split-section {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: 1fr 1fr;
}

.page-hero {
    background: var(--soft);
    padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px);
    text-align: center;
}

.catalogue {
    display: grid;
    gap: 32px;
    grid-template-columns: 240px 1fr;
}

.filters {
    align-self: start;
    border: 1px solid var(--line);
    border-radius: 22px;
    display: grid;
    gap: 12px;
    padding: 22px;
    position: sticky;
    top: 96px;
}

.filters a {
    color: var(--muted);
}

.gallery {
    display: grid;
    gap: 16px;
}

.product-panel {
    align-self: start;
    position: sticky;
    top: 110px;
}

.back-link {
    color: var(--gold);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.specs {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    margin: 28px 0;
}

.specs div {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
}

.specs dt {
    color: var(--muted);
}

.rich-text {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 28px;
}

.content-page {
    margin: 0 auto;
    max-width: 900px;
}

.footer {
    background: var(--ink);
    color: var(--white);
    display: grid;
    gap: 26px;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    padding: 48px clamp(20px, 5vw, 72px);
}

.footer p,
.footer a {
    color: #d7d0c6;
}

.footer-logo {
    display: block;
    height: 54px;
    margin-bottom: 14px;
    max-width: 210px;
    object-fit: contain;
    width: auto;
}

.pagination {
    margin-top: 32px;
}

@media (max-width: 920px) {
    .nav,
    .nav-cta {
        display: none !important;
    }

    .topbar {
        display: flex;
        justify-content: space-between;
        padding: 14px clamp(20px, 5vw, 72px);
        position: sticky;
    }

    .menu-toggle {
        display: inline-flex !important;
    }

    .desktop-brand-logo {
        display: none !important;
    }

    .mobile-brand-logo {
        display: block !important;
        height: 42px;
        max-width: 210px;
    }

    .menu-open .mobile-menu {
        display: grid;
    }

    .menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero,
    .product-detail,
    .split-section,
    .catalogue,
    .footer {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters,
    .product-panel {
        position: static;
    }
}

@media (max-width: 560px) {
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
}
