:root { --ink:#202621; --paper:#f6f4ee; --line:#d9d5c9; --leaf:#3e5b43; --clay:#ba654b; --muted:#73786e; }
* { box-sizing:border-box; } html { scroll-behavior:smooth; } body { margin:0; color:var(--ink); background:var(--paper); font-family:Arial, sans-serif; } button,input { font:inherit; } button { cursor:pointer; }
.site-header { min-height:76px; display:flex; align-items:center; gap:28px; padding:12px clamp(20px,4vw,68px); border-bottom:1px solid var(--line); background:rgba(246,244,238,.94); position:sticky; top:0; z-index:10; backdrop-filter:blur(12px); }
.brand { color:var(--ink); text-decoration:none; display:flex; align-items:center; gap:10px; min-width:max-content; letter-spacing:.08em; font-size:12px; }.brand-mark { display:grid; place-items:center; height:39px; width:39px; background:var(--leaf); border-radius:50%; color:white; font:700 22px Georgia,serif; }.brand small { display:block; margin-top:2px; color:var(--muted); font-size:9px; letter-spacing:.15em; }.category-nav { display:flex; gap:6px; align-items:center; overflow-x:auto; flex:1; scrollbar-width:none; }.nav-category,.pill { border:0; color:var(--muted); background:transparent; padding:8px 10px; white-space:nowrap; font-size:13px; }.nav-category[aria-pressed="true"] { color:var(--leaf); font-weight:bold; }.header-action { color:var(--ink); text-decoration:none; border-bottom:1px solid var(--ink); font-size:13px; white-space:nowrap; }
.hero { min-height:clamp(480px,68vh,690px); padding:70px clamp(24px,10vw,170px); display:flex; align-items:center; justify-content:space-between; overflow:hidden; background:radial-gradient(circle at 84% 40%,#d5dac8 0 11%,transparent 11.2%), radial-gradient(circle at 78% 50%,#d9b49b 0 19%,transparent 19.2%),#ede9dd; }.hero-content { max-width:650px; position:relative; z-index:1; }.eyebrow { margin:0 0 12px; color:var(--clay); letter-spacing:.14em; text-transform:uppercase; font-size:11px; font-weight:bold; }.hero h1,.catalog-heading h2,.dialog-content h2 { font:400 clamp(45px,6vw,84px)/.98 Georgia,serif; letter-spacing:-.045em; margin:0; }.hero h1 em { color:var(--leaf); font-style:italic; }.hero-copy { max-width:455px; margin:27px 0 32px; color:#50564e; line-height:1.65; font-size:16px; }.primary-action { display:inline-flex; gap:30px; padding:14px 18px 14px 21px; align-items:center; background:var(--leaf); color:white; text-decoration:none; border-radius:2px; }.primary-action span { font-size:20px; }.hero-orbit { position:relative; width:280px; height:280px; flex:none; border:1px solid #89937e; border-radius:50%; display:grid; place-content:center; color:#63705f; font:italic 17px Georgia,serif; transform:rotate(-14deg); }.hero-orbit i { width:56px; height:56px; background:var(--clay); border-radius:50%; margin:13px auto; }.hero-orbit span:last-child { font-size:13px; }
.catalog-section { max-width:1440px; margin:0 auto; padding:86px clamp(20px,5vw,72px) 104px; }.catalog-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; }.catalog-heading h2 { font-size:clamp(36px,4vw,58px); }.result-count { color:var(--muted); margin:0 0 5px; white-space:nowrap; }.catalog-tools { margin:40px 0 29px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:16px 0; display:flex; align-items:center; gap:18px; }.search { display:flex; align-items:center; gap:9px; flex:0 1 320px; border-bottom:1px solid #a8aa9f; color:var(--leaf); padding:6px 3px; }.search span { font:22px Georgia,serif; }.search input { border:0; outline:0; min-width:0; width:100%; background:transparent; color:var(--ink); }.category-pills { display:flex; gap:5px; overflow-x:auto; flex:1; scrollbar-width:none; }.pill { border:1px solid transparent; border-radius:999px; padding:7px 12px; }.pill:hover,.pill[aria-pressed="true"] { border-color:#b8c2b3; color:var(--leaf); background:#e7ebdf; }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }.product-card { min-width:0; background:#fbfaf7; border:1px solid #e0ded5; transition:transform .2s ease,box-shadow .2s ease; }.product-card:hover { transform:translateY(-5px); box-shadow:0 13px 25px #3c43221a; }.product-image { width:100%; aspect-ratio:1 / 1.03; display:block; padding:0; border:0; overflow:hidden; background:#e9e6dc; }.product-image img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }.product-card:hover img { transform:scale(1.045); }.product-info { padding:16px 16px 17px; }.product-category { margin:0 0 7px; color:var(--clay); letter-spacing:.1em; text-transform:uppercase; font-size:10px; font-weight:bold; }.product-info h3 { margin:0; min-height:44px; font:400 21px/1.05 Georgia,serif; }.product-footer { display:flex; justify-content:space-between; align-items:center; gap:5px; border-top:1px solid var(--line); margin-top:17px; padding-top:13px; }.product-footer strong { color:var(--leaf); }.details { border:0; background:none; color:var(--muted); padding:3px 0; font-size:12px; }.details:hover { color:var(--ink); }.empty-state { text-align:center; padding:78px 20px; background:#ece9e0; }.empty-state h3 { font:400 32px Georgia,serif; margin:0; }.empty-state p { color:var(--muted); }.empty-state button { background:var(--leaf); color:#fff; border:0; padding:12px 17px; }
footer { display:flex; justify-content:space-between; padding:28px clamp(20px,5vw,72px); background:#28332a; color:#d6ddd1; font-size:12px; } .product-dialog { padding:0; border:0; width:min(850px,92vw); background:#faf9f5; color:var(--ink); grid-template-columns:1fr 1fr; }.product-dialog[open] { display:grid; }.product-dialog::backdrop { background:#18221799; }.product-dialog img { width:100%; height:100%; min-height:420px; object-fit:cover; }.dialog-content { padding:48px 38px; align-self:center; }.dialog-content h2 { font-size:44px; }.dialog-price { color:var(--leaf); font:700 23px Arial,sans-serif; }.dialog-note { color:var(--muted); line-height:1.6; }.dialog-close { position:absolute; right:10px; top:8px; z-index:1; width:35px; height:35px; border:0; border-radius:50%; background:#fff; font-size:26px; }
@media (max-width:1050px) { .product-grid { grid-template-columns:repeat(3,1fr); }.hero-orbit { width:210px;height:210px; }.site-header { gap:12px; }.header-action { display:none; } } @media (max-width:700px) { .site-header { padding:10px 16px; }.category-nav { display:none; }.hero { min-height:570px; padding:62px 24px; align-items:start; }.hero-orbit { position:absolute; right:-66px; top:360px; width:230px;height:230px; }.catalog-section { padding:60px 18px 80px; }.catalog-heading { display:block; }.result-count { margin-top:14px; }.catalog-tools { display:block; }.search { max-width:none; margin-bottom:12px; }.product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.product-info { padding:12px; }.product-info h3 { font-size:18px; }.product-footer { display:block; }.details { margin-top:9px; }.product-dialog[open] { grid-template-columns:1fr; }.product-dialog img { min-height:250px; max-height:45vh; }.dialog-content { padding:28px 24px; }.dialog-content h2 { font-size:35px; } footer { gap:15px; flex-direction:column; } }

/* Фото в каталозі ніколи не обрізаємо: мініатюра і оригінал видно повністю. */
.product-image { display:grid; place-items:center; padding:8px; }
.product-image img { object-fit:contain; }
.product-card:hover img { transform:scale(1.025); }
.product-dialog img { object-fit:contain; background:#e9e6dc; }

/* Великий перегляд оригінального фото. */
.product-dialog { width:min(1200px,96vw); max-height:92vh; grid-template-columns:minmax(0,1.6fr) minmax(270px,.7fr); overflow:hidden; }
.image-viewer { min-height:min(76vh,720px); background:#202621; display:grid; place-items:center; overflow:hidden; position:relative; touch-action:none; }
.image-viewer #dialog-image { width:100%; height:100%; min-height:0; object-fit:contain; background:transparent; transform-origin:center; transition:transform .16s ease-out; user-select:none; -webkit-user-drag:none; }
.image-viewer.is-zoomed { cursor:grab; }.image-viewer.is-zoomed:active { cursor:grabbing; }
.zoom-controls { position:absolute; right:16px; bottom:16px; display:flex; overflow:hidden; border-radius:10px; box-shadow:0 6px 20px #0006; }.zoom-controls button { min-width:42px; height:40px; border:0; border-right:1px solid #dfe3da; background:#fff; color:#202621; font-weight:bold; }.zoom-controls button:last-child { border-right:0; }.zoom-controls button:hover { background:#e7ebdf; }.zoom-controls #zoom-reset { min-width:58px; font-size:12px; }
.viewer-hint { position:absolute; left:16px; bottom:8px; color:#ffffffb8; font-size:11px; pointer-events:none; }
@media (max-width:700px) { .site-header { min-height:64px; }.brand-mark { width:34px; height:34px; }.brand { font-size:11px; }.hero { min-height:500px; }.hero h1 { font-size:clamp(42px,13vw,62px); }.catalog-heading h2 { font-size:38px; }.product-dialog { width:100vw; height:100dvh; max-height:none; border-radius:0; grid-template-columns:1fr; grid-template-rows:minmax(0,58dvh) auto; overflow-y:auto; }.image-viewer { min-height:0; height:58dvh; }.image-viewer #dialog-image { max-height:58dvh; }.dialog-content { padding:26px 24px 38px; }.dialog-content h2 { font-size:36px; }.dialog-close { top:12px; right:12px; }.zoom-controls { right:12px; bottom:12px; }.viewer-hint { display:none; } }
