/*
Theme Name: Atelier Catalog
Theme URI: https://example.com/
Author: Your Studio
Description: A fast, product-first WordPress catalog theme with enquiries only. No cart or payment features are included.
Version: 1.0.0
Text Domain: atelier-catalog
*/

:root { --ink:#171717; --paper:#fff; --mist:#f5f5f2; --line:#deded9; --muted:#686864; --accent:#a43d27; --content:1240px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font:15px/1.55 Arial, Helvetica, sans-serif; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; height:auto; }
.site-header { position:sticky; top:0; z-index:20; border-bottom:1px solid var(--line); background:rgba(255,255,255,.96); backdrop-filter:blur(10px); }
.bar { width:min(var(--content), calc(100% - 40px)); min-height:76px; margin:auto; display:flex; align-items:center; gap:34px; }
.brand { font-family:Georgia,serif; font-size:23px; letter-spacing:1.5px; white-space:nowrap; }
.brand small { display:block; margin-top:-3px; color:var(--muted); font:10px/1 Arial,sans-serif; letter-spacing:1.2px; text-transform:uppercase; }
.site-nav .menu { display:flex; align-items:center; gap:22px; margin:0; padding:0; list-style:none; font-size:13px; }
.site-nav .menu>li>a,.site-nav .menu summary { display:block; padding:28px 0 25px; border-bottom:2px solid transparent; cursor:pointer; list-style:none; }
.site-nav .menu summary::-webkit-details-marker { display:none; }
.site-nav .menu>li>a:hover,.site-nav .menu summary:hover,.site-nav .menu .current-menu-item>a { border-color:var(--accent); }
.menu-browse { position:relative; }
.menu-browse details[open] summary { border-color:var(--accent); }
.menu-dropdown { position:absolute; top:63px; left:-14px; z-index:30; display:grid; width:260px; max-height:360px; overflow:auto; margin:0; padding:7px; border:1px solid var(--line); background:#fff; box-shadow:0 14px 30px rgba(0,0,0,.1); list-style:none; }
.menu-dropdown a { display:flex; justify-content:space-between; gap:18px; padding:9px 10px; color:var(--muted); }
.menu-dropdown a:hover { background:var(--mist); color:var(--ink); }
.menu-dropdown small { color:var(--muted); }
.header-search { margin-left:auto; display:flex; align-items:center; width:min(250px,25vw); border-bottom:1px solid var(--ink); }
.header-search input { width:100%; border:0; padding:9px 0; outline:0; background:transparent; font:inherit; }
.search-icon { border:0; padding:5px; background:transparent; cursor:pointer; font-size:16px; }
.shell { width:min(var(--content), calc(100% - 40px)); margin:0 auto; }
.hero { padding:70px 0 52px; border-bottom:1px solid var(--line); }
.eyebrow { margin:0 0 12px; color:var(--accent); font-size:11px; font-weight:bold; letter-spacing:1.6px; text-transform:uppercase; }
h1,h2,h3 { font-family:Georgia,serif; font-weight:400; }
.hero h1 { max-width:720px; margin:0; font-size:clamp(38px,6vw,72px); line-height:1.03; }
.hero p:last-child { max-width:540px; color:var(--muted); font-size:17px; }
.catalog-layout { display:grid; grid-template-columns:240px 1fr; gap:42px; padding:36px 0 80px; }
.major-brand-directory { border-top:1px solid var(--ink); border-bottom:1px solid var(--line); padding:28px 0 31px; }
.major-brand-directory__heading { display:flex; justify-content:space-between; align-items:baseline; gap:20px; margin-bottom:20px; }
.major-brand-directory__heading .eyebrow { margin:0; }
.major-brand-directory__heading h2 { margin:0; font-size:22px; }
.major-brand-directory__grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.major-brand-directory__item { min-height:72px; display:flex; flex-direction:column; justify-content:space-between; gap:6px; padding:12px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); color:var(--ink); }
.major-brand-directory__item:hover { background:var(--ink); color:#fff; }
.major-brand-directory__item span { font-size:13px; font-weight:bold; }
.major-brand-directory__item small { color:var(--muted); font-size:10px; letter-spacing:.6px; text-transform:uppercase; }
.major-brand-directory__item:hover small { color:inherit; }
.catalog-sidebar { padding-top:2px; }
.catalog-sidebar h2 { margin:0 0 12px; font:11px/1 Arial,sans-serif; letter-spacing:1.4px; text-transform:uppercase; }
.catalog-sidebar h2:not(:first-child) { margin-top:28px; }
.catalog-sidebar ul { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.catalog-sidebar li { border-bottom:1px solid var(--line); }
.catalog-sidebar a { display:flex; justify-content:space-between; padding:11px 0; color:var(--muted); }
.catalog-sidebar a:hover, .catalog-sidebar .current-cat a { color:var(--ink); }
.catalog-sidebar small { font-size:11px; }
.catalog-tools { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:21px; }
.catalog-tools p { margin:0; color:var(--muted); font-size:13px; }
.catalog-sidebar__refine { margin-top:30px; padding-top:2px; border-top:1px solid var(--ink); }
.catalog-filter { display:grid; gap:7px; }
.catalog-filter label { margin-top:7px; color:var(--muted); font-size:11px; letter-spacing:.4px; }
.catalog-filter select { width:100%; min-height:38px; padding:7px 30px 7px 9px; border:1px solid var(--line); border-radius:0; background:#fff; color:var(--ink); font:13px/1.3 Arial,sans-serif; }
.catalog-filter__actions { display:flex; align-items:center; gap:12px; margin-top:11px; }
.catalog-filter__actions .button { min-height:40px; padding:8px 13px; }
.catalog-filter__actions a { color:var(--muted); font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.catalog-filter-drawer { display:none; margin-bottom:20px; border-block:1px solid var(--line); }
.catalog-filter-drawer summary { display:flex; justify-content:space-between; padding:13px 0; font-size:13px; font-weight:bold; cursor:pointer; list-style:none; }
.catalog-filter-drawer summary::-webkit-details-marker { display:none; }
.catalog-filter-drawer summary::after { content:'+'; margin-left:auto; padding-left:10px; font-size:18px; font-weight:normal; }
.catalog-filter-drawer[open] summary::after { content:'−'; }
.catalog-filter-drawer summary span { margin-left:9px; color:var(--accent); font-size:11px; font-weight:normal; }
.catalog-filter-drawer .catalog-filter { padding:2px 0 18px; grid-template-columns:1fr 1fr; column-gap:12px; }
.catalog-filter-drawer .catalog-filter__actions { grid-column:1/-1; }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 20px; }
.product-card { min-width:0; }
.product-card__image { display:block; aspect-ratio:1 / 1; overflow:hidden; background:var(--mist); }
.product-card__image img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.product-card:hover img { transform:scale(1.035); }
.product-card__meta { padding-top:12px; }
.product-card__brand,.product-card__collection { font-size:10px; font-weight:bold; letter-spacing:1.1px; text-transform:uppercase; }
.product-card__brand { color:var(--ink); }
.product-card__brand::after { content:' / '; color:var(--muted); }
.product-card__collection { color:var(--accent); }
.product-card h2 { margin:5px 0 0; font-size:19px; line-height:1.22; }
.product-card__code { margin:6px 0 0; color:var(--muted); font-size:12px; }
.empty-state { padding:50px 0; border-top:1px solid var(--line); }
.product-page { padding:36px 0 78px; }
.breadcrumbs { margin-bottom:22px; color:var(--muted); font-size:12px; }
.product-layout { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr); gap:7vw; }
.product-main-image { position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--mist); }
.product-main-image img { width:100%; height:100%; object-fit:cover; cursor:zoom-in; }
.gallery-thumbs { display:grid; grid-template-columns:repeat(5,1fr); gap:9px; margin-top:10px; }
.gallery-thumbs button { aspect-ratio:1; padding:0; overflow:hidden; border:1px solid transparent; background:var(--mist); cursor:pointer; }
.gallery-thumbs button[aria-current="true"] { border-color:var(--ink); }
.gallery-thumbs img { width:100%; height:100%; object-fit:cover; }
.product-info { padding-top:5px; }
.product-info h1 { margin:0; font-size:clamp(30px,3.4vw,48px); line-height:1.08; }
.product-code { margin:10px 0 26px; color:var(--muted); font-size:12px; letter-spacing:.4px; }
.product-intro { padding:20px 0; border-block:1px solid var(--line); color:#3f3f3a; }
.details-heading { margin:30px 0 8px; font-size:22px; }
.specs { width:100%; margin:26px 0; border-collapse:collapse; font-size:14px; }
.specs th,.specs td { padding:10px 0; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.specs th { width:40%; color:var(--muted); font-weight:normal; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:10px 18px; border:1px solid var(--ink); background:var(--ink); color:#fff; font-size:13px; font-weight:bold; letter-spacing:.3px; cursor:pointer; }
.button:hover { background:var(--accent); border-color:var(--accent); }
.inquiry-note { margin:13px 0 0; color:var(--muted); font-size:12px; }
.option-groups { margin:30px 0; }
.option-group { padding:13px 0; border-bottom:1px solid var(--line); }
.option-group h3 { margin:0 0 8px; font:12px/1.3 Arial,sans-serif; font-weight:bold; letter-spacing:.5px; text-transform:uppercase; }
.option-group ul { display:flex; flex-wrap:wrap; gap:7px; margin:0; padding:0; list-style:none; }
.option-group li { padding:6px 9px; border:1px solid var(--line); font-size:12px; }
.product-navigation { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:54px; padding-top:24px; border-top:1px solid var(--line); }
.product-navigation>a { display:flex; flex-direction:column; gap:5px; min-width:0; }
.product-navigation>a:last-child { text-align:right; }
.product-navigation span { color:var(--muted); font-size:11px; letter-spacing:1.2px; text-transform:uppercase; }
.product-navigation strong { overflow-wrap:anywhere; font-family:Georgia,serif; font-size:18px; font-weight:400; }
.site-footer { background:var(--mist); border-top:1px solid var(--line); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:36px; padding:46px 0 35px; }
.footer-grid h2 { margin:0 0 13px; font-size:20px; }
.footer-grid p,.footer-grid li { color:var(--muted); font-size:13px; }
.footer-grid ul { margin:0; padding:0; list-style:none; }
.footer-grid li+li { margin-top:6px; }
.copyright { padding:16px 0; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
.lightbox { position:fixed; inset:0; z-index:50; display:none; align-items:center; justify-content:center; padding:28px; background:rgba(10,10,10,.9); }
.lightbox.is-open { display:flex; }
.lightbox img { max-width:min(1100px,90vw); max-height:88vh; object-fit:contain; }
.lightbox button { position:absolute; top:16px; right:22px; border:0; background:transparent; color:white; font-size:34px; cursor:pointer; }
@media (max-width:800px) { .bar { min-height:62px; gap:16px; } .site-nav { display:none; } .header-search { width:auto; flex:1; } .catalog-layout,.product-layout { grid-template-columns:1fr; gap:28px; } .catalog-sidebar { display:none; } .catalog-filter-drawer { display:block; } .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 12px; } .major-brand-directory { padding:20px 0; } .major-brand-directory__heading { display:block; } .major-brand-directory__heading h2 { margin-top:7px; font-size:19px; } .major-brand-directory__grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .major-brand-directory__item { min-height:64px; } .product-card h2 { font-size:16px; } .footer-grid { grid-template-columns:1fr 1fr; } .footer-grid>div:first-child { grid-column:1/-1; } }
@media (max-width:420px) { .shell,.bar { width:min(100% - 28px, var(--content)); } .brand { font-size:18px; } .brand small { font-size:8px; } .header-search input { font-size:12px; } .hero { padding:48px 0 38px; } .gallery-thumbs { grid-template-columns:repeat(4,1fr); } .product-navigation { grid-template-columns:1fr; } .product-navigation>a:last-child { text-align:left; } }
