:root {
    --bg: #f3f3f3;
    --bg-deep: #ececec;
    --ink: #141414;
    --muted: #6b6b6b;
    --line: #e7e7e7;
    --card: #ffffff;
    --pine: #141414;
    --pine-2: #2a2a2a;
    --accent: #ffe500;
    --brass: #141414;
    --wa: #25d366;
    --wa-hover: #1ebe5a;
    --danger: #8c3a32;
    --shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    --serif: "Outfit", "Avenir Next", sans-serif;
    --sans: "Outfit", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }

.wrap { width: min(1240px, calc(100% - 28px)); margin: 0 auto; }
.sr, .skip {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.skip:focus { position: static; width: auto; height: auto; clip: auto; padding: 8px; }

.topbar { display: flex; align-items: stretch; background: #111; color: #fff; font-size: 13px; font-weight: 700; overflow: hidden; }
.ticker { flex: 1; min-width: 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track p { display: flex; margin: 0; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 22px; white-space: nowrap; }
.ticker-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.topbar-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; background: #111; padding-right: 12px; }
.topbar-phone { flex: 0 0 auto; display: inline-flex; align-items: center; color: #fff; text-decoration: none; font-weight: 700; padding: 8px 8px 8px 14px; background: #111; }
.topbar-phone:hover { color: #fff; }
.topbar-ig { display: inline-flex; align-items: center; justify-content: center; padding: 8px; }
.topbar-ig svg { width: 18px; height: 18px; display: block; }
.topbar-ig:hover { opacity: 0.85; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 78px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.logo img { height: 58px; width: auto; }

.nav { display: flex; gap: 18px; align-items: center; }
.nav > a, .nav-drop > a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a.is-active, .nav a:hover { color: var(--ink); }
.nav-drop { position: relative; }
.nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow);
}
.nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel { display: grid; }
.nav-panel a { text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.nav-panel a:hover { background: var(--bg); }
.nav-toggle, .nav-burger { display: none; }

.search { display: flex; flex: 1; background: #fff; border: 2px solid var(--accent); border-radius: 10px; overflow: hidden; max-width: 640px; }
.search input { border: 0; background: transparent; padding: 11px 14px; width: 100%; outline: none; }
.search button { border: 0; background: var(--accent); padding: 0 18px; cursor: pointer; color: #111; font-weight: 700; }

.wa-btn, .btn {
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; border-radius: 999px; padding: 12px 18px; border: 1px solid transparent;
    cursor: pointer;
}
.wa-btn { background: var(--wa); color: #fff; font-weight: 700; gap: 8px; }
.wa-btn svg { width: 18px; height: 18px; display: block; flex: 0 0 auto; }
.wa-btn:hover { background: var(--wa-hover); }
.btn-dark { background: var(--accent); color: #111; font-weight: 700; }
.btn-line { border-color: #111; background: #fff; }
.btn-light { background: #111; color: var(--accent); }

.hero { padding: 42px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--brass); letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; }
.hero h1, .page-head h1, .prose h1, .contact-grid h1 { font-size: clamp(40px, 6vw, 76px); }
.lede { color: var(--muted); font-size: 18px; max-width: 46ch; margin-top: 16px; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin: 28px 0 0; }
.hero-stats div { margin: 0; }
.hero-stats dt { font-family: var(--serif); font-size: 36px; }
.hero-stats dd { margin: 0; color: var(--muted); }
.hero-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stage span { background: var(--card); border-radius: 24px; min-height: 180px; display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-stage img { width: 78%; height: 150px; object-fit: contain; }

.section { padding: 42px 0; }
.section.tight { padding-top: 10px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; font-weight: 700; letter-spacing: 0; }
.section-head a { color: #111; font-weight: 700; }

.cat-grid, .brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cat-card, .brand-grid a, .brand-row a {
    background: var(--card);
    border-radius: 18px;
    padding: 18px;
    text-decoration: none;
    border: 1px solid var(--line);
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cat-card strong, .brand-grid strong { font-size: 18px; }
.cat-card span, .brand-grid span { color: var(--muted); font-size: 14px; }
.cat-card:hover, .brand-grid a:hover, .product-card:hover { transform: translateY(-2px); }
.brand-row { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-row a { min-height: 0; border-radius: 999px; padding: 10px 14px; }

.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 10px 10px 14px;
    text-decoration: none;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: box-shadow 0.2s ease;
}
.product-card:hover { transform: none; box-shadow: var(--shadow); }
.card-media { background: #fff; border-radius: 8px; aspect-ratio: 1; display: grid; place-items: center; }
.card-media img { width: 88%; height: 88%; object-fit: contain; }
.card-brand { color: #8a8a8a; font-size: 12px; letter-spacing: 0; text-transform: none; }
.card-name { font-weight: 650; font-size: 14px; }
.card-hit { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; flex: 1; }
.card-wa {
    margin-top: 8px; align-self: flex-start; gap: 6px; border-radius: 999px;
    background: var(--wa); color: #fff; display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; font-weight: 700; font-size: 13px; padding: 8px 12px; line-height: 1;
}
.card-wa svg { width: 16px; height: 16px; display: block; flex: 0 0 auto; }
.card-wa:hover { background: var(--wa-hover); }
.no-photo { color: var(--muted); }
.empty { color: var(--muted); }

.visit { margin: 20px 0 40px; }
.visit-inner {
    background: #111;
    color: #fff;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.visit h2 { font-size: 28px; max-width: 18ch; }
.visit p { color: #d0d0d0; margin-top: 8px; }

.page-head { padding: 36px 0 10px; }
.sort-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; color: var(--muted); }
.sort-row select { margin-left: 8px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 12px; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; text-decoration: none; background: var(--card); border: 1px solid var(--line); }
.pager a.is-active { background: var(--ink); color: white; border-color: var(--ink); }

.product { display: grid; grid-template-columns: minmax(240px, 0.7fr) 1.3fr; gap: 28px; padding: 20px 0 8px; align-items: start; }
.gallery { align-self: start; }
.gallery-main { background: #fff; border-radius: 16px; min-height: 0; display: grid; place-items: center; border: 1px solid #eee; padding: 16px; }
.gallery-main img { width: auto; max-width: 100%; max-height: 300px; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border-radius: 12px; border: 1px solid #eee; background: #fff; padding: 6px; cursor: pointer; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.thumbs .is-active { border-color: #111; }
.brand-pill { display: inline-flex; align-items: center; background: var(--accent); color: #111; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 6px 12px; }
.product-info h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; margin: 14px 0 0; text-wrap: balance; }
.product-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.product-facts div { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 10px 12px; }
.product-facts .is-wide { grid-column: 1 / -1; }
.product-facts dt { color: #8a8a8a; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.product-facts dd { margin: 4px 0 0; font-weight: 650; }
.product-copy { display: grid; gap: 10px; margin-top: 16px; }
.product-copy p { margin: 0; color: #333; font-size: 15px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.tags a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; background: #fff; font-size: 14px; }
.ask-box { background: #fff; border-radius: 16px; padding: 18px; border: 1px solid #eee; display: grid; gap: 12px; margin-top: 22px; }
.ask-box p { color: var(--muted); }
.ask-box .wa-btn { width: 100%; }
.brand-more { color: #111; font-weight: 700; text-decoration: none; }
.brand-more:hover { color: #111; text-decoration: underline; }
.product-related { padding: 28px 0 48px; }
.text-link { color: var(--pine); }

.prose, .contact-grid { padding: 42px 0 64px; }
.prose p { margin-top: 14px; max-width: 68ch; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.contact-list span { display: block; color: var(--brass); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.form, .admin-form { display: grid; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; }
.form label, .admin-form label { display: grid; gap: 6px; font-size: 14px; }
.form input, .form textarea, .admin-form input, .admin-form textarea, .admin-form select {
    border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; width: 100%;
}
.hp { position: absolute; left: -9999px; }
.notice { background: #fff6b0; color: #111; padding: 10px 12px; border-radius: 12px; }
.error { background: #f8e8e6; color: var(--danger); padding: 10px 12px; border-radius: 12px; }

.site-footer { background: #111; color: #fff; padding: 36px 0 28px; margin-top: 28px; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 0.8fr; gap: 36px; }
.footer-logo { display: inline-flex; }
.footer-logo img { height: 64px; width: auto; }
.footer-brand-col p { max-width: 36ch; }
.footer-grid h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer-grid p { color: #d7d7d7; margin-top: 8px; }
.footer-grid a { color: #fff; text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; background: #1c1c1c; border-radius: 10px; }
.footer-social a:hover { background: #262626; color: inherit; }
.footer-social svg { width: 20px; height: 20px; display: block; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: #9a9a9a; font-size: 13px; }
.home-top { padding-top: 16px; }
.home-block { padding: 22px 0; }
.hero-slider { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; }
.slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.slide img, .wide-banner img, .discover-grid img { width: 100%; display: block; }
.slide img { height: auto; aspect-ratio: 1024 / 341; object-fit: cover; border-radius: 14px; background: #111; }
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.92); color: #111; cursor: pointer;
    display: grid; place-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.16);
}
.slider-btn svg { width: 16px; height: 16px; display: block; }
.slider-btn:hover { background: #fff; }
.slider-btn:focus { outline: none; }
.slider-btn:focus-visible { box-shadow: 0 0 0 2px #111; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.slider-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.75); cursor: pointer; }
.slider-dots button.is-active { background: var(--accent); }
.discover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.discover-grid a, .wide-banner { display: block; border-radius: 14px; overflow: hidden; background: #fff; }
.brand-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.brand-scroll a {
    flex: 0 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 10px 14px; text-decoration: none; font-weight: 650;
}
.brand-scroll a:hover { background: var(--accent); border-color: var(--accent); }

.admin-body { background: #f6f3ee; }
.admin-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; }
.admin-nav { display: flex; gap: 14px; align-items: center; }
.admin-nav a { text-decoration: none; }
.admin-table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.admin-table img { width: 54px; height: 54px; object-fit: contain; background: #f7f3ec; border-radius: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.checks label { display: flex; gap: 6px; align-items: center; }
.admin-actions { display: flex; gap: 8px; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(420px, 100%); }
.page-title { font-family: var(--serif); font-size: 40px; margin: 8px 0 18px; }
.stack-top { margin-top: 16px; }
.stack-bottom { margin-bottom: 14px; }
.login-card h1 { font-size: 48px; margin-bottom: 8px; }

@media (max-width: 980px) {
    .hero-grid, .product, .contact-grid, .discover-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .product-grid, .cat-grid, .brand-grid { grid-template-columns: repeat(3, 1fr); }
    .slide img { height: auto; }
    .nav-burger { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }
    .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--card); padding: 12px 16px 16px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav-panel { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 8px; }
    .search { max-width: none; order: 5; }
    .hero-stage { display: none; }
}
@media (max-width: 640px) {
    .product-grid, .cat-grid, .brand-grid { grid-template-columns: 1fr 1fr; }
    .gallery-main { min-height: 0; }
    .gallery-main img { max-height: 240px; }
    .product-facts { grid-template-columns: 1fr; }
    .footer-grid, .footer-bottom { display: grid; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { gap: 6px; }
    .slider-btn { width: 26px; height: 26px; }
    .slider-btn svg { width: 13px; height: 13px; }
    .slider-btn.prev { left: 6px; }
    .slider-btn.next { right: 6px; }
    .slider-dots { bottom: 6px; }
    .header-row { flex-wrap: wrap; padding: 10px 0; }
    .search { order: 5; flex: 1 0 100%; width: 100%; max-width: none; }
    .search input { flex: 1; min-width: 0; }
}
