/* =========================================================
   Adtsar Digital — Monochrome / Simple Modern
   Palette: #0A0A0A (ink), #FFFFFF (paper), #F2F2F0 (fog),
            #767672 (slate), #D8D8D4 (hairline)
   Type: 'Space Grotesk' (display) + 'Inter' (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --ink: #0a0a0a;
    --paper: #ffffff;
    --fog: #f2f2f0;
    --slate: #767672;
    --hairline: #d8d8d4;
    --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .12s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--paper); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: scale(0.98); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--hairline);
}
.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}
.brand span { color: var(--slate); }
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    position: relative;
    padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 2px;
    background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
    padding: 96px 0 72px;
    border-bottom: 1px solid var(--hairline);
}
.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 20px;
}
.hero .eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--ink);
    border-radius: 50%;
}
.hero h1 {
    font-size: clamp(34px, 5.2vw, 58px);
    line-height: 1.05;
    max-width: 780px;
}
.hero p.lead {
    margin-top: 20px;
    max-width: 560px;
    color: var(--slate);
    font-size: 16.5px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    flex-wrap: wrap;
}
.hero-stats .stat b {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
}
.hero-stats .stat span {
    font-size: 13px;
    color: var(--slate);
}

/* ---------- Section heading ---------- */
.section { padding: 72px 0; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 20px;
    flex-wrap: wrap;
}
.section-head h2 { font-size: 28px; }
.section-head .num {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--slate);
    font-size: 13px;
}

/* ---------- Category grid ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
}
.cat-card {
    background: var(--paper);
    padding: 32px 24px;
    transition: background .18s ease, color .18s ease;
    position: relative;
}
.cat-card:hover { background: var(--ink); color: var(--paper); }
.cat-card .cat-index {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    color: var(--slate);
}
.cat-card:hover .cat-index { color: #bdbdbd; }
.cat-card h3 {
    font-size: 19px;
    margin-top: 40px;
}
.cat-card p {
    color: var(--slate);
    font-size: 13.5px;
    margin-top: 8px;
    min-height: 40px;
}
.cat-card:hover p { color: #cfcfcf; }
.cat-card .arrow {
    margin-top: 22px;
    font-size: 13px;
    font-weight: 600;
}

/* ---------- Product grid ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .18s ease, transform .18s ease;
}
.product-card:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
}
.product-thumb {
    aspect-ratio: 4/3;
    background: var(--fog);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-size: 12px;
    overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.product-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate);
    font-weight: 600;
}
.product-body h3 { font-size: 16px; line-height: 1.3; }
.product-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 17px;
    margin-top: auto;
}
.product-body .btn { margin-top: 10px; font-size: 13px; padding: 10px 16px; }
.badge-featured {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--ink);
    color: var(--paper);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: var(--radius);
}
.product-thumb-wrap { position: relative; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    font-size: 13px;
    color: var(--slate);
    padding: 20px 0;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; }

/* ---------- Product detail ---------- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding: 40px 0 80px;
    align-items: start;
}
.pd-thumb {
    aspect-ratio: 1/1;
    background: var(--fog);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    border-radius: var(--radius);
    overflow: hidden;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .product-cat { margin-bottom: 12px; }
.pd-info h1 { font-size: 32px; }
.pd-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-top: 16px;
}
.pd-desc {
    margin-top: 24px;
    color: var(--slate);
    line-height: 1.75;
    white-space: pre-line;
}
.pd-actions { margin-top: 32px; }
.pd-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--slate);
}

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--slate);
    border: 1px dashed var(--hairline);
    border-radius: var(--radius);
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--hairline);
    padding: 48px 0;
    margin-top: 40px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-inner .brand { font-size: 16px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; color: var(--slate); }
.footer-links a:hover { color: var(--ink); }

/* ---------- Floating WA button ---------- */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: var(--ink);
    color: var(--paper);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    z-index: 60;
    transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- Mobile nav ---------- */
.burger { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    .nav-links { display: none; }
    .cat-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hero { padding: 56px 0 48px; }
    .hero-stats { gap: 32px; }
    .site-header .inner { height: 64px; }
}
