:root {
    --black: #070707;
    --panel: #111111;
    --panel-2: #181716;
    --gold: #d8af58;
    --gold-2: #f3d17a;
    --text: #f7f3e8;
    --muted: #b8b1a0;
    --line: rgba(216, 175, 88, .22);
    --ivory: #fff8e7;
    --green: #25d366;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--black);
    line-height: 1.55;
}

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

img {
    display: block;
    max-width: 100%;
}

.site-header {
    min-height: 76px;
    padding: 14px clamp(16px, 4vw, 52px);
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 7, .92);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    gap: 24px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
}

.site-brand span,
.site-brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #0a0a0a;
    font-weight: 900;
    object-fit: cover;
}

.site-brand strong {
    color: var(--gold-2);
    letter-spacing: .02em;
}

.site-nav {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
    font-size: .92rem;
}

.site-nav a:hover {
    color: var(--gold-2);
}

.nav-whatsapp,
.btn-gold,
.btn-ghost {
    min-height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--gold);
    font-weight: 800;
}

.nav-whatsapp {
    color: #07140c;
    background: var(--green);
    border-color: var(--green);
}

.btn-gold {
    color: #090806;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
}

.btn-ghost {
    color: var(--gold-2);
    background: rgba(216, 175, 88, .08);
}

.btn-gold.small {
    min-height: 34px;
    padding: 7px 12px;
    font-size: .84rem;
}

.full {
    width: 100%;
}

.site-alert {
    margin: 18px clamp(16px, 4vw, 52px) 0;
    border: 1px solid rgba(37, 211, 102, .35);
    border-radius: 8px;
    padding: 12px 14px;
    color: #ddffe9;
    background: rgba(37, 211, 102, .1);
}

.hero,
.page-hero {
    min-height: 620px;
    padding: clamp(70px, 9vw, 120px) clamp(18px, 6vw, 90px);
    background:
        linear-gradient(90deg, rgba(6, 6, 7, .94), rgba(6, 6, 7, .55)),
        radial-gradient(circle at 80% 30%, rgba(216, 175, 88, .18), transparent 34%),
        #090909;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.page-hero.compact {
    min-height: 280px;
    align-items: end;
}

.hero-copy {
    width: min(720px, 100%);
}

.eyebrow {
    color: var(--gold-2);
    font-size: .76rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .12em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 900px;
    margin-bottom: 16px;
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    line-height: 1;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    margin-bottom: 0;
}

.hero p,
.page-hero p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.promo-strip,
.site-section,
.catalog-layout,
.product-detail,
.contact-layout,
.content-page {
    padding-inline: clamp(16px, 4vw, 52px);
}

.promo-strip {
    padding-block: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.promo-tile,
.category-tile,
.brand-tile,
.product-card,
.filter-panel,
.contact-card,
.contact-form,
.gallery-main,
.inquiry-box,
.value-grid > div,
.empty-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--panel), #0c0c0c);
}

.promo-tile {
    min-height: 135px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: end;
    padding: 16px;
}

.promo-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
}

.promo-tile span {
    position: relative;
    font-weight: 900;
    color: var(--ivory);
}

.site-section {
    padding-block: clamp(42px, 6vw, 76px);
}

.site-section.muted {
    background: #0d0d0d;
}

.section-head,
.catalog-top {
    margin-bottom: 22px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.section-head a,
.catalog-top a {
    color: var(--gold-2);
    font-weight: 800;
}

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

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

.product-card {
    min-width: 0;
    overflow: hidden;
}

.product-media {
    height: 245px;
    display: block;
    position: relative;
    background: #0d0d0d;
}

.product-media img,
.media-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-fallback,
.detail-fallback {
    display: grid;
    place-items: center;
    color: var(--gold-2);
    font-size: 4rem;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    color: #090806;
    background: var(--gold-2);
    font-size: .76rem;
    font-weight: 900;
}

.product-body {
    padding: 16px;
}

.product-meta,
.product-spec-line,
.contact-lines,
.site-footer {
    color: var(--muted);
}

.product-body h3 {
    min-height: 52px;
    font-size: 1.05rem;
    line-height: 1.25;
}

.product-spec-line,
.product-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.product-spec-line {
    margin-bottom: 16px;
    font-size: .86rem;
}

.product-card-footer strong,
.detail-price {
    color: var(--gold-2);
    font-weight: 900;
}

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

.category-grid.large,
.brand-grid.large {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-tile,
.brand-tile {
    min-height: 126px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 8px;
}

.category-tile img,
.brand-tile img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-bottom: auto;
}

.brand-tile span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #070707;
    background: var(--gold-2);
    font-weight: 900;
}

.catalog-layout {
    padding-block: 34px 70px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 96px;
    padding: 18px;
}

.filter-panel label {
    display: block;
    margin: 14px 0 6px;
    color: var(--gold-2);
    font-size: .82rem;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select,
.contact-form input,
.contact-form textarea,
.inquiry-box input,
.inquiry-box textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text);
    background: #080808;
}

.product-detail {
    padding-block: 42px 76px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 34px;
}

.gallery-main {
    min-height: 560px;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.gallery-thumbs img {
    height: 92px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
}

.detail-copy h1 {
    font-size: clamp(2rem, 4vw, 4rem);
}

.detail-copy p {
    color: var(--muted);
}

.detail-price {
    margin-bottom: 14px;
    font-size: 2rem;
}

.availability {
    width: max-content;
    margin: 18px 0;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 900;
}

.availability.in {
    color: #dfffea;
    background: rgba(37, 211, 102, .14);
}

.availability.out {
    color: #ffd8d8;
    background: rgba(255, 82, 82, .14);
}

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

.spec-grid div,
.value-grid > div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: var(--panel-2);
}

.spec-grid span,
.value-grid span {
    display: block;
    color: var(--muted);
    font-size: .8rem;
}

.inquiry-box {
    margin-top: 18px;
    padding: 16px;
    display: grid;
    gap: 10px;
}

.contact-layout,
.content-page {
    padding-block: 42px 76px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
}

.contact-card,
.contact-form {
    padding: 20px;
}

.contact-lines {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.content-page {
    max-width: 980px;
}

.rich-copy {
    color: var(--ivory);
    font-size: 1.08rem;
}

.value-grid {
    margin-top: 24px;
}

.empty-panel {
    grid-column: 1 / -1;
    min-height: 140px;
    padding: 28px;
    display: grid;
    place-items: center;
    color: var(--muted);
    text-align: center;
}

.pagination {
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.page-link {
    min-width: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 11px;
    display: inline-flex;
    justify-content: center;
    color: var(--gold-2);
    background: var(--panel);
}

.page-item.active .page-link {
    color: #070707;
    background: var(--gold-2);
}

.page-item.disabled .page-link {
    color: #6f695f;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px clamp(16px, 4vw, 52px);
    background: #050505;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
}

.site-footer strong {
    color: var(--gold-2);
}

.site-footer span,
.footer-links a {
    display: block;
    margin-bottom: 6px;
}

@media (max-width: 1120px) {
    .product-grid,
    .product-grid.catalog {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-grid,
    .brand-grid,
    .category-grid.large,
    .brand-grid.large {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero {
        min-height: 540px;
    }

    .promo-strip,
    .product-grid,
    .product-grid.catalog,
    .catalog-layout,
    .product-detail,
    .contact-layout,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
    }

    .category-grid,
    .brand-grid,
    .category-grid.large,
    .brand-grid.large,
    .spec-grid,
    .value-grid,
    .field-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-main {
        min-height: 390px;
    }
}

@media (max-width: 560px) {
    .hero,
    .page-hero {
        min-height: 420px;
    }

    .hero-actions,
    .section-head,
    .catalog-top {
        align-items: stretch;
        flex-direction: column;
    }

    .category-grid,
    .brand-grid,
    .category-grid.large,
    .brand-grid.large,
    .spec-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .product-media {
        height: 280px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
}
