@import url('/tokens.css');
:root { font:100%/1.65 var(--font),Tahoma,Arial,sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); }
a { color:var(--primary); text-decoration:none; }
a:hover { text-decoration:underline; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid #9b520a; outline-offset:3px; }
img { width:100%; height:100%; object-fit:cover; display:block; }
h1,h2,h3,p { margin-block:0 .7em; }
h1,h2,h3 { line-height:1.35; }
h1 { font-size:clamp(1.8rem,4vw,3rem); font-weight:900; }
h2 { font-size:clamp(1.35rem,2.8vw,2rem); font-weight:800; }
h3 { font-size:1.05rem; }
.site-head { background:var(--white); border-bottom:1px solid var(--line); }
.topbar,.nav,.footer-inner,.wrapper { max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gap); }
.topbar { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding-block:.8rem; }
.brand { display:flex; align-items:center; gap:.6rem; font-weight:900; color:var(--ink); }
.brand .media { width:2.65rem; aspect-ratio:1; font-size:1.55rem; border-radius:.8rem; }
.brand .media img { object-fit:contain; }
.quick,.nav,.actions,.section-head,.slide-controls { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; }
.quick,.nav { font-size:.87rem; font-weight:700; }
.quick { justify-content:end; }
.nav { gap:.4rem .9rem; padding-block:.2rem .55rem; }
.nav a { display:inline-grid; align-items:center; min-height:44px; }
.nav a[aria-current=page] { text-decoration:underline; text-underline-offset:5px; }
.wrapper { padding-block:var(--gap) 3rem; min-height:65vh; }
main > section + section { margin-block-start:clamp(2rem,5vw,4rem); }
.hero { background:var(--mint); border-radius:calc(var(--radius) + .5rem); overflow:hidden; }
.slide { display:grid; align-items:center; }
.hero-copy { padding:clamp(1.35rem,5vw,4rem); }
.hero-copy h1 { max-width:16ch; }
.slide > .media { height:100%; min-height:12rem; border-radius:0; }
.hero-art { min-height:13rem; position:relative; overflow:hidden; background:radial-gradient(circle at 55% 48%,#f0faf2 0 30%,transparent 31%); }
.tile { display:grid; place-items:center; width:clamp(4rem,12vw,8rem); aspect-ratio:1; border-radius:1rem; position:absolute;
  color:#193934; font-size:clamp(2rem,6vw,4rem); font-weight:900; box-shadow:0 7px 0 #173b3420,0 13px 26px #173b3426; }
.one { background:var(--accent); right:47%; top:17%; transform:rotate(13deg); }
.two { background:#f9aeb4; right:27%; top:36%; transform:rotate(-18deg); }
.three { background:#b4c9fc; right:50%; top:62%; transform:rotate(-11deg); }
.slide-controls { padding:0 1.3rem 1rem; }
.section-head { justify-content:space-between; margin-block-end:.9rem; }
.section-head h2 { margin:0; }
.section-head a { font-weight:800; }
.benefits,.grid,.categories,.filters { display:grid; gap:clamp(.65rem,2vw,1rem); }
.benefits { grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); }
.benefit,.category,.card,.visit,.basket-row,.contact-form,.filters,.empty { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); }
.benefit,.visit,.contact-form,.empty { padding:1rem 1.2rem; }
.benefit { font-weight:800; border-inline-start:4px solid var(--accent); }
.grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,11rem),1fr)); }
.card { position:relative; overflow:hidden; display:flex; flex-direction:column; }
.card-photo { display:block; }
.card-photo .media { aspect-ratio:4/3; border-radius:0; }
.media { display:grid; place-items:center; background:#e2f2e9; color:var(--primary); overflow:hidden; border-radius:.85rem; font-size:2rem; }
.card:nth-child(4n+2) .media,.category:nth-child(4n+2) .media { background:#ffedc9; }
.card:nth-child(4n+3) .media,.category:nth-child(4n+3) .media { background:#e8edff; }
.card:nth-child(4n+4) .media,.category:nth-child(4n+4) .media { background:#ffe5ed; }
.card-info { padding:.8rem; display:flex; flex:1; flex-direction:column; gap:.35rem; }
.card-info h3 { flex:1; margin:.2rem 0; }
.badge,.favorite { position:absolute; top:.5rem; border-radius:999px; }
.badge { inset-inline-start:.55rem; padding:.15rem .65rem; background:var(--accent); font-size:.8rem; font-weight:800; }
.favorite { inset-inline-end:.5rem; background:var(--white); color:var(--primary); border:1px solid var(--line); min-width:44px; min-height:44px; font-size:1.25rem; }
.categories { grid-template-columns:repeat(auto-fill,minmax(min(100%,9rem),1fr)); }
.category { padding:.6rem; display:grid; gap:.5rem; text-align:center; }
.category .media { aspect-ratio:1.45; }
.category img { object-fit:contain; }
.button,.outline { display:inline-flex; justify-content:center; align-items:center; padding:.5rem .9rem; min-height:44px; border-radius:.8rem; font-weight:800; }
.button { background:var(--primary); color:var(--white); border:1px solid var(--primary); }
.outline { background:var(--white); color:var(--primary); border:1px solid var(--primary); }
.price { display:flex; flex-wrap:wrap; gap:.25rem .6rem; align-items:center; color:var(--primary); font-size:.85rem; }
.price del,.muted { color:var(--muted); }
.page-title { margin-block-end:1rem; }
.filters { grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr)); padding:.8rem; margin-block-end:1rem; }
.field { display:grid; gap:.25rem; font-size:.88rem; font-weight:700; }
input,select,textarea { border:1px solid #889b91; border-radius:.6rem; width:100%; padding:.45rem .55rem; min-height:44px; background:white; color:var(--ink); }
textarea { min-height:7rem; }
.more,.print-control { margin-block:1rem; }
.table-wrap { overflow:auto; }
table { border-collapse:collapse; width:100%; background:white; }
th,td { padding:.65rem; border:1px solid var(--line); text-align:start; }
th { background:var(--mint); }
.product-layout { display:grid; gap:var(--gap); }
.product-view .media { aspect-ratio:1.15; margin-block-end:.55rem; }
.product-view img,.thumb img,.zoom img { object-fit:contain; }
.thumbs { display:flex; gap:.55rem; margin-block-start:.55rem; }
.thumb { width:4.5rem; padding:.2rem; border:1px solid var(--line); background:white; border-radius:.5rem; }
.thumb .media { aspect-ratio:1; }
.product-detail .price { font-size:1.15rem; margin-block-end:.8rem; }
.body-copy { white-space:pre-wrap; max-width:72ch; }
.zoom { width:min(95vw,54rem); max-height:90vh; border:0; border-radius:var(--radius); padding:.7rem; }
.zoom .media { height:65vh; margin-block-start:.5rem; }
.zoom::backdrop { background:#102921bb; }
.visit iframe { width:100%; height:15rem; border:0; border-radius:.65rem; margin-block:.55rem; }
.contact-form { max-width:35rem; display:grid; gap:.8rem; margin-block-start:1rem; }
.basket-row { display:grid; grid-template-columns:1fr 5rem auto; align-items:center; gap:.55rem; padding:.6rem; margin-block-end:.6rem; }
.total { font-size:1.1rem; font-weight:800; }
.site-footer { border-top:1px solid var(--line); background:var(--white); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.45rem 1rem; padding-block:1rem; }
.footer-inner .nav { padding:0; }
.notice { position:fixed; z-index:2; bottom:1rem; inset-inline-start:1rem; padding:.35rem .75rem; border-radius:.5rem; background:var(--ink); color:white; pointer-events:none; }
.notice:empty { display:none; }
.demo-note { background:var(--accent); padding:.4rem var(--gap); text-align:center; font-size:.9rem; }
.admin-shell { display:grid; place-items:center; min-height:100vh; padding:var(--gap); }
.admin-shell main { width:min(100%,36rem); padding:var(--gap); background:white; border:1px solid var(--line); border-radius:var(--radius); }
.admin-shell form { display:grid; gap:.6rem; }
.admin-shell button { background:var(--primary); color:white; min-height:44px; border:0; border-radius:.65rem; }
@media (min-width:48rem) {
 .slide,.product-layout { grid-template-columns:1fr 1fr; }
 .hero-art { min-height:20rem; }
 .grid { grid-template-columns:repeat(auto-fill,minmax(13rem,1fr)); }
 .filters label:first-child { grid-column:span 2; }
}
@media (max-width:25rem) {
 .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .basket-row { grid-template-columns:1fr 4rem; }
}
@media print {
 body { background:#fff; color:#000; }
 .site-head,.site-footer,.filters,.notice,.print-control,.demo-note { display:none !important; }
 .wrapper { padding:0; max-width:none; }
 tr { break-inside:avoid; }
 thead { display:table-header-group; }
 a { color:inherit; }
}
h1,h2,h3 {font-family:var(--heading),Arial,sans-serif}
.site-head {position:sticky;top:0;z-index:5;box-shadow:var(--shadow)}
.topbar {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}
.brand {width:84px;height:68px;display:block;background:var(--logo-light) center/contain no-repeat}
.brand .media {width:100%;height:100%;background:white}
.search-bar {position:relative;display:flex;gap:8px}
.search-bar input {background:#f3f7fc;border-color:var(--line);padding-inline:16px}
.search-bar button {min-width:54px}
.search-suggest {position:absolute;inset-block-start:100%;inset-inline:0;z-index:8;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius);padding:8px}
.search-suggest a {display:flex;align-items:center;min-height:44px;padding-inline:8px}
.nav-shell {background:var(--navy)}
.nav-shell a,.site-footer a {color:white}
.nav {justify-content:center}
.site-footer {background:var(--navy);color:white}
.footer-brand {display:block;width:76px;height:72px;background:var(--logo-dark) center/contain no-repeat}
.footer-meta {width:100%;text-align:center;font-size:.9rem}
.button {background:var(--buy);border-color:var(--buy);color:white}
.outline {border-color:#bac5db}
.quick a {white-space:nowrap}
.icon-link {display:inline-flex;align-items:center;gap:4px;min-height:44px}
.icon-link svg,.benefit svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mobile-nav {display:none}
.hero {background:var(--mint)}
.slide > .media,.slide > .hero-photo {height:100%;min-height:16rem;border-radius:0}
.hero-photo {width:100%;height:auto;aspect-ratio:1.5;object-fit:cover}
.hero-copy h1 {max-width:19ch;color:var(--navy)}
.slide-controls {justify-content:center;padding:12px}
.slide-controls button {min-width:44px}
.slide-dots {display:flex;gap:0}
.dot {min-height:44px;border:0;background:transparent;color:var(--navy);font-size:1.35rem}
.dot[aria-current=true] {color:var(--buy)}
.categories {grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}
.category {overflow:hidden;box-shadow:var(--shadow)}
.category .media {min-height:120px}
.category .media img {object-fit:cover}
.card {transition:transform var(--transition),box-shadow var(--transition)}
.card:hover,.card:focus-within {transform:translateY(-3px);box-shadow:var(--shadow)}
.card h3 a {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .outline {background:var(--buy);color:white;border-color:var(--buy)}
.card-photo img {object-fit:contain}
.badge {background:var(--buy);color:white}
.badge-new {position:absolute;inset-inline-start:8px;top:45px;background:var(--navy);color:white;border-radius:999px;padding:2px 10px;font-size:.8rem}
.benefit {border-color:var(--line);display:grid;gap:8px;color:var(--navy)}
.section-head {align-items:end}
.section-head p {margin:.35rem 0 0}
.feature {background:var(--mint);border-radius:var(--radius);padding:var(--gap)}
.placeholder {background:linear-gradient(140deg,#edf7ff,#dfedff);position:relative}
.placeholder::after {content:'';width:43%;aspect-ratio:1;background:url('/assets/icon-180.png') center/contain no-repeat;border-radius:18px;opacity:.8}
.placeholder img {position:absolute;inset:0;z-index:1}
.skeleton-card {height:250px;border-radius:var(--radius);background:linear-gradient(110deg,#eef3fa 25%,#f9fbff 50%,#eef3fa 75%);background-size:200% 100%;animation:loading 1.4s linear infinite}
@keyframes loading {to{background-position:-200% 0}}
.drawer {position:fixed;inset:0 auto 0 0;margin:0;width:min(100%,460px);height:100%;max-height:none;border:0;padding:24px;box-shadow:var(--shadow);animation:drawer-in var(--transition)}
@keyframes drawer-in {from{transform:translateX(-100%)}to{transform:translateX(0)}}
.drawer::backdrop,.filter-dialog::backdrop {background:#23264f80}
.drawer-close {margin-block-end:16px}
.filter-toggle {display:none}
.filter-bar {position:sticky;top:142px;z-index:2}
.float-chat {position:fixed;inset-inline-end:16px;bottom:16px;z-index:4;background:#106242;color:white}
.quantity {max-width:95px}
.trust {background:#f4f8ff}
.editor-panel {padding:16px;background:white;border:1px solid var(--line);border-radius:var(--radius);margin-block:16px}
.editor-panel label {display:grid;gap:6px;margin-block:8px}
.editor-panel pre {white-space:pre-wrap;overflow-wrap:anywhere}
.account-form {max-width:34rem;display:grid;gap:10px}
[hidden] {display:none!important}
@media(max-width:47.99rem) {
  .topbar {grid-template-columns:auto 1fr;gap:4px 12px}
  .brand {width:60px;height:56px}
  .search-bar {grid-row:2;grid-column:1/-1;margin-block-end:4px}
  .quick {grid-column:2;grid-row:1}
  .nav-shell {overflow-x:auto}
  .nav-shell .nav {justify-content:start;flex-wrap:nowrap;width:max-content;min-width:100%;padding-block:0}
  .mobile-nav {position:fixed;inset:auto 0 0;background:white;display:grid;grid-template-columns:repeat(4,1fr);z-index:6;border-top:1px solid var(--line);padding-block-end:env(safe-area-inset-bottom)}
  .mobile-nav a {display:flex;flex-direction:column;min-height:54px;justify-content:center;gap:1px;font-size:.83rem;font-weight:800}
  body {padding-block-end:58px}
  .notice,.float-chat {bottom:72px}
  .filter-bar {position:static}
  .filter-toggle {display:inline-flex;margin-bottom:8px}
  .filter-dialog {margin:auto 0 0;width:100%;max-width:none;max-height:85vh;border:0;border-radius:20px 20px 0 0;padding:16px}
  .filters {grid-template-columns:1fr 1fr}
  .filters label:first-child {grid-column:1/-1}
  .hero-photo {max-height:220px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media print {.mobile-nav,.float-chat,.filter-bar,.drawer{display:none!important} body{padding:0}}
.skip {position:fixed;inset-inline-start:12px;top:-200px;z-index:12;background:white;padding:12px;border-radius:8px}
.skip:focus {top:12px}
.admin-shell main:has(#admin-tools:not([hidden])) {width:min(100%,65rem)}
.category-art {aspect-ratio:4/3;height:auto}
.admin-shell input[type=checkbox] {width:1.4rem;min-height:1.4rem}
.card:not(:has(.badge)) .badge-new {top:8px}
.search-suggest a:hover,.search-suggest a:focus-visible {background:var(--mint)}
.nav a[aria-current=page] {text-decoration-thickness:2px}
:root {--paper:#f8faff;--radius:18px}
.topbar {padding-block:8px}
.nav-shell {background:white;border-top:1px solid #eef2fa}
.nav-shell a,.site-footer a.outline{color:var(--navy)}
.nav-shell .nav {gap:2px 24px}
.nav a[aria-current=page]{color:var(--buy);text-underline-offset:6px}
.site-head {box-shadow:0 4px 20px #142b6a0b}
.wrapper{padding-block:20px 64px}
.hero {position:relative;border-radius:24px;background:#e9f4ff;border:1px solid #dbeafd}
.slide{min-height:325px}
.hero-copy {padding:clamp(24px,5vw,72px)}
.hero-copy p {font-size:clamp(1rem,1.7vw,1.25rem);color:#405072}
.hero-copy h1 {font-size:clamp(2.1rem,5.5vw,4.1rem);letter-spacing:-.04em;line-height:1.18}
.hero-photo {height:100%;max-height:none;aspect-ratio:4/3;animation:fade-in .45s ease both}
@keyframes fade-in {from{opacity:.5}to{opacity:1}}
.slide-controls {position:absolute;inset-inline:0;bottom:4px;pointer-events:none;padding:0}
.dot {pointer-events:auto;width:28px;font-size:15px;text-shadow:0 0 8px white}
.categories {grid-template-columns:repeat(auto-fit,minmax(138px,1fr))}
.category {padding:0;gap:0;box-shadow:none}
.category strong {padding:10px 6px}
.category .media {border-radius:0;aspect-ratio:4/3;min-height:0}
.brand-strip,.partner-strip {display:flex;gap:12px;overflow:auto;padding-bottom:8px}
.brand-chip,.partner-strip .media {flex:none;background:white;border:1px solid var(--line);border-radius:12px;min-height:48px}
.brand-chip {display:flex;align-items:center;gap:6px;padding:8px 14px;font-weight:800}
.brand-chip .media{width:34px;height:34px}
.partner-strip .media {width:130px;height:84px;padding:8px}
.partner-strip .media img,.brand-chip .media img{object-fit:contain}
.grid {grid-template-columns:repeat(4,minmax(0,1fr))}
.card-photo .media{aspect-ratio:1;background:#f0f4fb}
.card-photo img{object-fit:contain;padding:10px;background:#fff}
.card-info .outline {gap:7px}
.card-info .outline svg,.social svg,.placeholder svg {width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.placeholder::after{display:none}
.placeholder svg{width:38px;height:38px;color:#526da0}
.product-code {color:var(--muted);direction:ltr;text-align:start;display:block;font-family:Arial,sans-serif;font-size:.76rem}
.social-links {display:flex;gap:8px;flex-wrap:wrap;margin-block:8px}
.footer-meta .social-links{justify-content:center}
.social {display:grid;place-items:center;min-width:44px;min-height:44px;background:#edf4ff;color:var(--navy)!important;border-radius:12px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.stat{display:grid;justify-items:center;text-align:center}
.stat strong{font-family:var(--heading);font-size:clamp(1.6rem,4vw,2.7rem);color:var(--navy)}
.listing-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:20px;align-items:start}
.listing-layout .filter-bar{top:135px}
.listing-layout .filters{display:grid;grid-template-columns:1fr}
.listing-layout .filters label:first-child{grid-column:auto}
.catalog-toolbar,.catalog-index{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-block:12px}
.catalog-toolbar select{width:auto}
.catalog-toolbar p{margin:0}
.catalog-cover{display:grid;justify-items:center;padding:20px;background:#ebf4ff;border-radius:18px;text-align:center}
.catalog-cover img{width:84px;height:72px;object-fit:contain;margin-block-end:8px}
.catalog-group h3{scroll-margin-top:150px;border-bottom:2px solid var(--sky);padding-block:10px;margin-top:22px}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.catalog-item{border:1px solid var(--line);background:white;border-radius:12px;overflow:hidden;break-inside:avoid}
.catalog-item .media{aspect-ratio:1.2}
.catalog-item .media img{object-fit:contain}
.catalog-item-copy{padding:10px;display:grid;gap:4px}
.catalog-item-controls{display:flex;gap:4px;align-items:center}
.catalog-item-controls input{width:62px}
@media(max-width:67rem){.listing-layout .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:47.99rem){
 .listing-layout{display:block}
 .grid,.listing-layout .grid,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .slide{min-height:0}
 .hero-photo{aspect-ratio:1.65;max-height:235px}
 .slide-controls{bottom:3px}
 .nav-shell .nav{gap:2px 16px}
 .catalog-item-controls{flex-wrap:wrap}
}
@media print{
 .listing-layout{display:block}
 .catalog-toolbar,.catalog-item-controls,.catalog-view>button,.catalog-index,.page-title,.listing-content>p{display:none!important}
 .catalog-cover {min-height:10cm;break-after:page}
 .catalog-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
 .catalog-item{break-inside:avoid;font-size:10pt}
}
.quick a {display:inline-flex;align-items:center;gap:4px;min-height:44px}
.quick a svg {width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.topbar,.nav-shell,.wrapper{min-width:0}
.nav-shell {max-width:100vw}
@media(max-width:360px){.quick{gap:4px;font-size:.75rem}}
