
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,'Segoe UI',sans-serif;background:#FFFFFF;color:#3A3B3D;min-width:1366px}
a{text-decoration:none;color:inherit}
.inner{max-width:1366px;margin:0 auto;padding:0 40px}

/* ── HEADER ── */
.header-wrap{position:sticky;top:0;z-index:50}
.header{background:#fff;border-bottom:1px solid #E5E5E5;height:60px;display:flex;align-items:center;padding:0}
.header .inner{display:flex;align-items:center;gap:12px;width:100%;max-width:1366px}
.logo{font-size:18px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;margin-right:4px;cursor:pointer;display:flex;align-items:center}
.logo img{height:26px;width:auto;display:block}
.logo em{color:#3A3B3D;font-style:normal}
.nav{display:flex;align-items:center;gap:2px;flex:1}
.nav a{font-size:12px;color:#4A4A4A;font-weight:500;padding:7px 12px;border-radius:6px;transition:all .15s;white-space:nowrap}
.nav a:hover,.nav a.on{background:#F7F7F7;color:#1A1A1A}
.catalog-btn{background:#3A3B3D!important;color:#fff!important;border-radius:8px!important;padding:8px 16px!important;font-weight:700!important;display:flex;align-items:center;gap:6px}
.catalog-btn:hover,.catalog-btn.on{background:#4A4B4E!important;color:#fff!important}
.catalog-btn-ico{font-size:13px;line-height:1}
.catalog-btn-arrow{font-size:9px;opacity:.8}
.header-right{display:flex;align-items:center;gap:28px;margin-left:auto}
.search-bar{display:flex;align-items:center;gap:6px;border:1px solid #E5E5E5;border-radius:7px;padding:8px 16px;font-size:13px;color:#9A9A9A;width:320px;background:#F7F7F7}
.header-btn{background:#F97316;color:#fff;border:none;padding:10px 18px;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .15s}
.header-btn:hover{background:#EA6A0A}
.phone-block{display:flex;align-items:center;gap:6px;text-decoration:none}
/* BRAIN-STYLE HEADER (sitewide rollout) */
.hd-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#3A3B3D;text-decoration:none;min-width:52px;padding:2px 4px;border-radius:8px;transition:color .15s;flex-shrink:0}
.hd-item:hover{color:#F97316}
.hd-item svg{width:22px;height:22px;display:block}
.hd-ico-wrap{position:relative;display:block}
.hd-label{display:none;font-size:10.5px;font-weight:500;line-height:1.2;white-space:nowrap;margin-top:2px}
.hd-badge{position:absolute;top:-4px;right:-7px;background:#3A3B3D;color:#fff;font-size:9px;font-weight:800;min-width:15px;height:15px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px;line-height:1}
.hd-badge-orange{background:#F97316}
.search-go{display:none}
.topbar-links{gap:26px}
.nav-promo{color:#E11D2E!important;font-weight:800!important}
.nav-promo:hover{color:#B91424!important}
.promo-topbar{background:#F97316;color:#fff;text-align:center;font-size:11.5px;font-weight:700;padding:6px 16px;letter-spacing:.01em;line-height:1.4}
.promo-topbar a{color:#fff;text-decoration:underline;font-weight:800;margin-left:8px;white-space:nowrap}
.partner-strip{display:flex;gap:12px;align-items:stretch}
.partner-badge{flex:0 0 auto;min-width:150px;display:flex;align-items:center;justify-content:center;text-align:center;background:#F7F7F7;border:1px solid #ECECEC;color:#5A5A5A;border-radius:10px;padding:16px 14px;font-size:12.5px;font-weight:700;white-space:nowrap}
.partner-pill{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#F7F7F7;border:1px solid #ECECEC;border-radius:10px;padding:16px 10px;text-decoration:none;color:inherit;transition:border-color .15s,background .15s}
.partner-pill:hover{border-color:#3A3B3D;background:#fff}
.partner-more{flex-direction:row;gap:4px;color:#5A5A5A;font-weight:700;font-size:13px}
.wishlist-link{position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:19px;color:#5A5A5A;text-decoration:none;flex-shrink:0;transition:color .15s}
.wishlist-link:hover{color:#F97316}
.wishlist-badge{position:absolute;top:-1px;right:-1px;background:#F97316;color:#fff;font-size:9px;font-weight:800;min-width:15px;height:15px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px;line-height:1}
.phone-ico{font-size:18px;color:#5A5A5A}
.phone-num{font-size:11px;font-weight:700;color:#1A1A1A;white-space:nowrap}

/* TOPBAR — secondary/informational links; normal flow (scrolls away), sits above the sticky header-wrap. Desktop only: on mobile these links already live in the burger drawer, so showing them twice would just add clutter without a behavior change. */
.topbar{display:block}

/* ── BREADCRUMB ── */
.bc{display:flex;align-items:center;gap:6px;padding:8px 0 6px;font-size:12px;color:#9A9A9A}
.bc a:hover{color:#3A3B3D}
.bc-sep{color:#D0D0D0}
.bc-cur{color:#1A1A1A;font-weight:600}

/* ── PAGE TITLE ── */
.pg-head{padding:8px 0 16px}
.pg-title{font-size:28px;font-weight:800;letter-spacing:-.01em;margin-bottom:3px}
.pg-sub{font-size:13px;color:#9A9A9A}

/* ── ТАБИ — горизонтальний скрол зі стрілками ── */
.subcats-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#9A9A9A;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}
.subcats-arrows{display:flex;gap:4px}
.scat-arr{width:26px;height:26px;border:1px solid #E5E5E5;border-radius:6px;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:13px;color:#9A9A9A;transition:all .15s;user-select:none}
.scat-arr:hover{border-color:#1A1A1A;color:#1A1A1A}
.scat-arr:disabled{opacity:.3;cursor:default}
.subcats-wrap{position:relative;margin-bottom:16px}
.subcats{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
.subcats::-webkit-scrollbar{display:none}
.scat{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500;padding:7px 14px;border-radius:20px;background:#fff;border:1px solid #E5E5E5;color:#5A5A5A;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:all .15s;user-select:none}
.scat:hover{border-color:#3A3B3D;color:#1A1A1A}
.scat.on{background:#1A1A1A;color:#fff;border-color:#1A1A1A}
.scat-ico{font-size:13px;line-height:1}

/* ── ФІЛЬТР-РЯДОК ── */
.filter-row{display:flex;align-items:center;background:#fff;border:1px solid #E5E5E5;border-radius:8px;overflow:hidden;margin-bottom:20px}
.fr-filters{display:flex;align-items:center;gap:7px;padding:0 16px;height:44px;border-right:1px solid #E5E5E5;cursor:pointer;font-size:12px;font-weight:700;color:#1A1A1A;background:none;border-top:none;border-bottom:none;border-left:none;flex-shrink:0}
.fr-filters:hover{background:#FFFFFF}
.fr-badge{background:#F97316;color:#fff;font-size:9px;font-weight:700;padding:1px 5px;border-radius:8px;min-width:16px;text-align:center}
.fr-count{flex:1;text-align:center;font-size:12px;color:#9A9A9A;border-right:1px solid #E5E5E5;padding:0 16px;height:44px;display:flex;align-items:center;justify-content:center}
.fr-count b{color:#1A1A1A;font-weight:700}
.fr-sort{display:flex;align-items:center;gap:8px;padding:0 16px;height:44px;flex-shrink:0}
.fr-sort-label{font-size:11px;color:#9A9A9A;white-space:nowrap}
.fr-sort select{border:none;background:transparent;font-size:12px;font-weight:600;color:#1A1A1A;cursor:pointer;font-family:inherit}
.fr-sort select:focus{outline:none}
.fr-divider{width:1px;height:20px;background:#E5E5E5}
.fr-view{display:flex;gap:3px}
.fv{width:26px;height:26px;border:1px solid #E5E5E5;border-radius:5px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:11px;background:#fff;color:#9A9A9A}
.fv.on{background:#1A1A1A;color:#fff;border-color:#1A1A1A}

/* ── FILTER PANEL ── */
.filter-panel{background:#fff;border:1px solid #E5E5E5;border-radius:10px;padding:16px 20px;margin-bottom:16px;display:none}
.filter-panel.open{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.fp-col{}
.fp-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#1A1A1A;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #E5E5E5}
.fp-opts{display:flex;flex-direction:column;gap:7px}
.fp-opt{display:flex;align-items:center;gap:7px;font-size:12px;color:#5A5A5A;cursor:pointer}
.fp-opt input{width:14px;height:14px;accent-color:#3A3B3D;flex-shrink:0}
.fp-opt .cnt{color:#AAAAAA;font-size:11px;margin-left:auto}
.fp-price-range{font-size:12px;color:#5A5A5A;margin-bottom:7px}
.fp-slider{width:100%;accent-color:#3A3B3D}
.fp-footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #E5E5E5;margin-top:4px}
.fp-reset{border:1px solid #E5E5E5;background:#fff;padding:7px 16px;border-radius:7px;font-size:12px;cursor:pointer;color:#5A5A5A}
.fp-apply{background:#1A1A1A;color:#fff;border:none;padding:7px 16px;border-radius:7px;font-size:12px;font-weight:700;cursor:pointer}

/* ── LAYOUT ── */
.layout{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:start}

/* ── SIDEBAR ── */
.sidebar{background:#fff;border:1px solid #E5E5E5;border-radius:10px;padding:16px;position:sticky;top:76px}
.sf{margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #E5E5E5}
.sf:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}
.sf-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#1A1A1A;margin-bottom:10px}
.sf-opts{display:flex;flex-direction:column;gap:7px}
.sf-opt{display:flex;align-items:center;gap:7px;font-size:12px;color:#5A5A5A;cursor:pointer}
.sf-opt input{width:14px;height:14px;accent-color:#3A3B3D;flex-shrink:0}
.sf-opt .cnt{color:#AAAAAA;font-size:11px;margin-left:auto}
.sf-price-range{font-size:12px;color:#5A5A5A;margin-bottom:7px}
.sf-slider{width:100%;accent-color:#3A3B3D}

/* ── PRODUCT GRID ── */
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.pcard{background:#fff;border-radius:10px;border:1px solid #E5E5E5;overflow:hidden;cursor:pointer;transition:all .2s;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.pcard:hover{box-shadow:0 6px 24px rgba(0,0,0,.1);transform:translateY(-2px)}
.pcard-img{height:160px;display:flex;align-items:center;justify-content:center;position:relative;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9A9A9A}

.b-hit{background:#F97316;color:#fff}
.b-new{background:#93C262;color:#fff}
.pcard-body{padding:16px}
.pcard-brand{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#3A3B3D;margin-bottom:4px}
.pcard-name{font-size:14px;font-weight:700;color:#1A1A1A;line-height:1.35;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.pcard-sub{font-size:11px;color:#9A9A9A;margin-bottom:10px}
.pcard-footer{display:flex;align-items:center;justify-content:space-between}
.pcard-price{font-size:18px;font-weight:900;color:#1A1A1A}
.pcard-vol{font-size:10px;color:#9A9A9A;display:block;margin-top:1px}
.pcard-add{background:#F97316;color:#fff;border:none;width:36px;height:36px;border-radius:8px;font-size:20px;cursor:pointer;transition:background .15s}
.pcard-add:hover{background:#EA6A0A}

/* ── PAGINATION ── */
.pagination{display:flex;justify-content:center;gap:4px;margin-top:32px}
.pg-btn{width:36px;height:36px;border:1px solid #E5E5E5;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:13px;cursor:pointer;background:#fff;color:#5A5A5A}
.pg-btn.on{background:#1A1A1A;color:#fff;border-color:#1A1A1A}
.pg-btn:hover:not(.on){border-color:#3A3B3D;color:#3A3B3D}

/* ── SEO ── */
.seo-block{margin-top:40px;padding:24px;background:#fff;border:1px solid #E5E5E5;border-radius:10px}
.seo-label{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#AAAAAA;margin-bottom:10px}
.seo-text{font-size:12px;color:#9A9A9A;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.seo-more{font-size:12px;color:#3A3B3D;cursor:pointer;margin-top:6px;display:inline-block}

/* ── FOOTER ── */
.footer{background:#0E0E0E;padding:32px 40px;margin-top:56px}
.footer-inner{max-width:1366px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}
.footer-logo{font-size:15px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#fff}
.footer-logo em{color:#F97316;font-style:normal}
.footer-copy{font-size:11px;color:#4A4A4A}

/* ============ КАРТКА ТОВАРУ ============ */
.pdp{display:grid;gap:32px;padding:8px 0 56px}
@media(min-width:1080px){.pdp{grid-template-columns:1.05fr .95fr;gap:56px;align-items:start}}
/* галерея */
.gallery{display:flex;flex-direction:column;gap:12px}
@media(min-width:1080px){.gallery{position:sticky;top:16px}}
.gal-main{position:relative;background:var(--bg2);border-radius:18px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;padding:40px;overflow:hidden}
.gal-main img{max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.gal-badge{position:absolute;top:16px;left:16px;font-size:11px;font-weight:800;letter-spacing:.08em;border-radius:7px;padding:6px 12px;color:#fff;background:var(--accent)}
/* другий стікер на фото — знижка */
.gal-badge.gal-disc{background:#DC2626}

.gal-thumbs{display:flex;gap:10px}
.gthumb{width:76px;height:76px;border:1.5px solid var(--border);border-radius:12px;background:var(--bg2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;transition:.2s;font-size:11px;font-weight:700;color:var(--ink2)}
.gthumb img{max-height:44px;object-fit:contain;mix-blend-mode:multiply}
.gthumb:hover{border-color:#C9C9C9}
.gthumb.on{border-color:var(--ink)}
.gthumb svg{width:22px;height:22px;stroke:var(--ink2);stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
/* покупкова зона */
.buyzone .brand-link{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.buyzone h1{font-size:clamp(26px,3vw,36px);font-weight:900;letter-spacing:-.025em;margin:8px 0 2px}
.buyzone .subname{font-size:15px;color:var(--muted);font-weight:600}
.rating{display:flex;align-items:center;gap:8px;margin:14px 0 20px;font-size:13.5px;color:var(--ink2)}
.stars{color:var(--accent);font-size:15px;letter-spacing:2px}
.price-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--border)}
.price-big{font-size:34px;font-weight:900;letter-spacing:-.02em;color:var(--ink)}
.price-per{font-size:13px;color:var(--muted);font-weight:600}
.price-old{font-size:17px;font-weight:600;color:var(--muted);text-decoration:line-through}
.price-sale{color:#DC2626}
.disc-badge{background:#DC2626;color:#fff;font-size:12.5px;font-weight:800;border-radius:7px;padding:4px 9px;letter-spacing:.02em}
.opt-label{font-size:13px;font-weight:700;color:var(--ink);margin:6px 0 10px}
.opt-label span{color:var(--muted);font-weight:600}
.vols{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:420px}
.vopt{border:1.5px solid var(--border);border-radius:12px;padding:12px 14px;cursor:pointer;transition:.2s;background:#fff}
.vopt:hover{border-color:#C9C9C9}
.vopt.on{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.vopt b{display:block;font-size:14px;color:var(--ink)}
.vopt span{font-size:13px;color:var(--muted);font-weight:600}
.trust{display:flex;gap:8px 20px;flex-wrap:wrap;margin:20px 0}
.trust span{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:var(--ink2)}
.trust svg{width:16px;height:16px;stroke:var(--r4);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.cta-row{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch}
.qty{display:flex;align-items:center;border:1px solid var(--border);border-radius:10px;overflow:hidden}
.qty button{width:44px;height:100%;min-height:48px;font-size:18px;color:var(--ink);transition:.15s}
.qty button:hover{background:var(--bg2)}
.qty b{min-width:36px;text-align:center;font-size:15px;color:var(--ink)}
.cta-row .btn{flex:1;min-width:150px}
.horeca{margin-top:18px;background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.horeca b{display:block;font-size:13.5px;font-weight:700;color:var(--ink);margin-bottom:3px}
.horeca span{font-size:12.5px;color:var(--muted)}
.horeca a{font-size:13px;font-weight:700;color:var(--accent);white-space:nowrap}
.horeca a:hover{text-decoration:underline}
/* таби контенту */
.ptabs{border-bottom:1px solid var(--border);display:flex;gap:4px;overflow-x:auto}
.ptabs button{font-size:14.5px;font-weight:700;color:var(--muted);padding:13px 18px;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;transition:.15s}
.ptabs button:hover{color:var(--ink)}
.ptabs button.on{color:var(--ink);border-color:var(--accent)}
.ppanel{display:none;padding:26px 0 8px;max-width:760px}
.ppanel.on{display:block}
.ppanel p{font-size:15px;margin-bottom:14px}
.spec{width:100%;border-collapse:collapse;font-size:14px}
.spec td{padding:11px 14px;border-bottom:1px solid #F0F0F0;vertical-align:top}
.spec td:first-child{color:var(--muted);font-weight:600;width:220px}
.spec td:last-child{color:var(--ink)}
.spec tr:nth-child(odd) td{background:var(--bg2)}
.dose{display:grid;gap:10px}
@media(min-width:700px){.dose{grid-template-columns:1fr 1fr}}
.dose div{background:var(--bg2);border-radius:12px;padding:14px 16px;font-size:14px}
.dose b{color:var(--ink)}
/* рецепти */
.recipe-wide{display:flex;align-items:center;gap:18px;border:1px solid var(--border);border-radius:16px;padding:22px 24px;transition:.25s;flex-wrap:wrap}
.recipe-wide:hover{box-shadow:0 14px 32px rgba(0,0,0,.08);border-color:#D4D4D4;transform:translateY(-2px)}
.recipe-ico{width:52px;height:52px;border-radius:14px;background:var(--bg2);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.recipe-ico svg{width:24px;height:24px;stroke:var(--accent);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.recipe-wide b{display:block;font-size:16px;color:var(--ink)}
.recipe-wide span{font-size:13px;color:var(--muted)}
.recipe-wide .go{margin-left:auto;font-size:14px;font-weight:700;color:var(--accent);white-space:nowrap}
/* часто купують разом */
.bundle{background:var(--bg2);border-radius:18px;padding:24px}
@media(min-width:1080px){.bundle{padding:32px}}
.bundle-items{display:grid;gap:12px}
@media(min-width:1080px){.bundle-items{grid-template-columns:repeat(4,1fr);gap:16px}}
.bitem{background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px;display:flex;gap:14px;align-items:center;position:relative;transition:.2s}
@media(min-width:1080px){.bitem{flex-direction:column;text-align:center;padding:20px 16px}}
.bitem:hover{border-color:#D4D4D4}
.bitem.off{opacity:.45}
.bitem img{width:64px;height:64px;object-fit:contain;mix-blend-mode:multiply}
.bitem b{font-size:13.5px;color:var(--ink);line-height:1.3;display:block}
.bitem .bprice{font-size:14px;font-weight:800;color:var(--ink);margin-top:4px}
.bitem .bcheck{position:absolute;top:12px;right:12px;width:20px;height:20px;border:1.5px solid #CFCFCF;border-radius:6px;background:#fff;cursor:pointer;transition:.15s}
.bitem.sel .bcheck{background:var(--accent);border-color:var(--accent)}
.bitem.sel .bcheck::after{content:"";position:absolute;left:6px;top:3px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.bitem .this-tag{font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.bundle-total{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px}
.bundle-total .sum{font-size:15px;color:var(--ink2)}

.mega{position:absolute;top:100%;left:0;right:0;background:#fff;border-top:2px solid #3A3B3D;border-bottom:1px solid #E5E5E5;box-shadow:0 20px 60px rgba(0,0,0,.15);z-index:999;display:none}
.mega.open{display:block}
.mega-inner{max-width:1366px;margin:0 auto;padding:28px 40px 20px;display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.mega-col-title{font-size:11.5px;font-weight:800;color:#1A1A1A;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #E5E5E5;letter-spacing:-.01em;white-space:nowrap}
.mega-col-title:hover{color:#3A3B3D}
.mega-item{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:7px;cursor:pointer;transition:background .15s;margin-bottom:2px}
.mega-item:hover{background:#F7F7F7}
.mega-item-ico{font-size:18px;flex-shrink:0;width:26px;text-align:center}
.mega-item-name{font-size:13px;font-weight:600;color:#1A1A1A;line-height:1.2}
.mega-sep{border:none;border-top:1px solid #E5E5E5;margin:0 40px}
.mega-brands{max-width:1366px;margin:0 auto;padding:14px 40px 18px;display:flex;align-items:center;gap:16px}
.mega-brands-label{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#AAAAAA;white-space:nowrap;flex-shrink:0}
.brands-pills{display:flex;flex-wrap:wrap;gap:6px}
.brand-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 13px;border:1px solid #E5E5E5;border-radius:20px;font-size:12px;font-weight:600;color:#5A5A5A;cursor:pointer;background:#F7F7F7;transition:all .15s;white-space:nowrap}
.brand-pill:hover{border-color:#3A3B3D;color:#1A1A1A;background:#fff}
.brand-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}

/* ============================================================
   MOBILE-FIRST RESPONSIVE LAYER (generated)
   Base (no media) = mobile (<768px) overrides.
   @media (min-width:768px) = tablet.
   @media (min-width:1080px) = desktop (restores original design).
   ============================================================ */

/* ---- global ---- */
body{min-width:0;overflow-x:hidden}
.inner{padding:0 16px;max-width:100%}
img{max-width:100%}

/* ---- header / burger / nav drawer ---- */
/* height was a fixed 60px on desktop; on mobile the drawer (nav + search) must be able to expand the
   header's own box, otherwise it overlaps whatever comes after it (hero, page content) instead of
   pushing it down — this was the "menu isn't adapted for mobile" bug. */
.header{height:auto;min-height:60px}
.header .inner{flex-wrap:wrap;gap:0 8px}
.logo-mobile{order:0;display:flex;align-items:center;font-size:15px;font-weight:900;letter-spacing:.02em;cursor:pointer;flex-shrink:0}
.logo-mobile img{height:22px;width:auto;display:block}
.burger{order:1;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #E5E5E5;border-radius:7px;background:#fff;font-size:18px;cursor:pointer;margin-left:auto;flex-shrink:0}
.search-toggle{order:2;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #E5E5E5;border-radius:7px;background:#fff;font-size:16px;cursor:pointer;margin-left:6px;flex-shrink:0}
.header-right{order:3;margin-left:6px;gap:6px}
.header-right .hd-item:not(.hd-cart){display:none}
.header-btn{padding:8px 14px;font-size:11px;white-space:nowrap}
.catalog-btn{order:4;width:100%;justify-content:center;margin-top:10px;padding:11px!important}
.search-bar{display:none;order:5;width:100%;margin-top:8px}
.header .inner.search-open .search-bar{display:flex}
.nav{display:none;order:6;width:100%;flex-direction:column;gap:2px;padding:10px 0 6px;border-top:1px solid #E5E5E5;margin-top:8px;flex:none}
.nav a{padding:10px 12px}
.nav a{border-bottom:1px solid #F0F0F0;font-size:13.5px}
.nav a:last-child{border-bottom:none}
.nav-account-row{display:flex;gap:8px;padding:2px 0 10px}
.nav-account-row .hd-item{flex:1;flex-direction:row;justify-content:center;gap:6px;padding:9px 4px;border:1px solid #E5E5E5;border-radius:8px;min-width:0}
.nav-account-row .hd-label{display:block;font-size:11px}
.header .inner.menu-open .nav{display:flex}

/* ---- mega menu -> full-screen mobile drawer ---- */
.mega{max-height:calc(100vh - 60px);overflow-y:auto;-webkit-overflow-scrolling:touch}
.mega-inner{grid-template-columns:1fr;padding:20px 16px 12px;gap:24px}
.mega-brands{padding:12px 16px 16px;flex-wrap:wrap;align-items:flex-start;gap:8px}
.mega-sep{margin:0 16px}

/* ---- breadcrumb / page title ---- */
.bc{flex-wrap:wrap;padding:6px 0 4px;font-size:11px}
.pg-title{font-size:21px}

/* ---- subcategory chip row ---- */
.subcats-arrows{display:none}

/* ---- filter row / filter panel (listings) ---- */
.filter-row{flex-wrap:wrap;height:auto}
.fr-filters,.fr-count,.fr-sort{height:40px}
.fr-count{display:none}
.filter-panel.open{grid-template-columns:1fr;gap:14px}

/* ---- listings layout: hide sticky sidebar, rely on filter-panel ---- */
.layout{grid-template-columns:1fr}
.sidebar{display:none}

/* ---- product / category / brand / news / related grids ---- */
.pgrid,.cats-grid,.brands-grid,.clients-grid,.news-grid,.related-grid,.brand-grid,.cat-grid,.brands-logos{grid-template-columns:repeat(2,1fr)!important;gap:12px}
.stat-row{grid-template-columns:repeat(2,1fr)}
.pcard-img{height:120px}

/* ---- home hero ---- */
.hero-slide{padding:32px 20px!important}
.hero-title{font-size:26px!important;line-height:1.15}
.hero-sub{font-size:13px!important}
.hero-btns{flex-wrap:wrap;gap:8px}
.hero-nav{display:none}

/* ---- about / contact (pages) ---- */
.about-inner{grid-template-columns:1fr}
.about-dark{padding:24px}
.contact-layout{grid-template-columns:1fr;gap:20px}
.hours-grid{grid-template-columns:1fr}
.card-grid,.card-grid-2{grid-template-columns:1fr}

/* ---- article / post pages ---- */
.article-layout{grid-template-columns:1fr;gap:24px}
.article-cover,.art-hero{height:220px}
.recipe-steps{padding:0}

/* ---- product detail page ---- */
.gal-main{padding:20px}
.gthumb{width:56px;height:56px}
.buyzone h1{font-size:21px}
.price-big{font-size:26px}
.ptabs{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ptabs button{flex-shrink:0}

/* sticky mobile "buy" bar -- CRO: keeps primary CTA always reachable */
body{padding-bottom:78px}
.cta-row{position:fixed;left:0;right:0;bottom:0;background:#fff;padding:10px 16px;box-shadow:0 -6px 24px rgba(0,0,0,.1);z-index:40;margin:0;border-top:1px solid var(--border)}

/* ---- footer ---- */
.footer{padding:24px 16px}
.footer-inner{flex-direction:column;align-items:flex-start;gap:8px}
.footer-top{grid-template-columns:1fr;gap:20px}
.footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}

@media (min-width:768px){
  .inner{padding:0 24px}
  .pgrid,.cats-grid,.brands-grid,.clients-grid,.news-grid,.related-grid,.brand-grid,.cat-grid,.brands-logos{grid-template-columns:repeat(3,1fr)!important}
  .stat-row{grid-template-columns:repeat(4,1fr)}
  .filter-panel.open{grid-template-columns:repeat(2,1fr)}
  .about-inner{grid-template-columns:1fr 1fr}
  .contact-layout{grid-template-columns:1fr 1fr}
  .article-layout{grid-template-columns:1fr 1fr}
  .hero-title{font-size:34px!important}
}

@media (min-width:1080px){.buyzone h1{font-size:clamp(26px,3vw,36px)}.price-big{font-size:34px}body{padding-bottom:0}
  body{min-width:1366px;overflow-x:visible}
  .inner{max-width:1366px;padding:0 40px}
  .header .inner{flex-wrap:nowrap}
  .burger{display:none}
  .header{height:52px}
  .logo{font-size:18px}
  .header-right{margin-left:auto}
  /* Secondary content links (Бренди/Рецепти/Акції та новини/Про нас/Ще) move to .topbar on desktop — only the catalog trigger stays in the primary row, so it reads as the one dominant navigational action instead of competing with five text links of equal weight. */
  .nav{display:flex!important;order:1;flex-direction:row;gap:2px;width:auto;padding:0;border-top:none;margin-top:0;flex:0 0 auto}
  .nav>a:not(.catalog-btn){display:none}
  .nav>.nav-more{display:none}
  .catalog-btn{padding:9px 20px!important;font-size:14px!important;border-radius:9px!important}
  .catalog-btn-ico{font-size:15px}
  .catalog-btn-arrow{font-size:10px}
  .search-bar{display:flex!important;order:2;flex:1;width:auto;min-width:220px;padding:8px 18px;margin-top:0}
  .header-right{order:3;gap:6px}
  .hd-label{display:block}
  .search-go{display:block;background:#3A3B3D;color:#fff;border:none;border-radius:6px;padding:6px 20px;font-size:13px;font-weight:700;cursor:pointer;margin-left:8px;flex-shrink:0}
  .search-go:hover{background:#4A4B4E}
  .catalog-btn{order:1}
  .search-bar{order:2}
  #hiddenMirrorNav{display:none!important}
  .search-toggle{display:none}
  .header-btn{padding:8px 18px;font-size:12px}
  .phone-num{font-size:15px!important}
  .phone-ico{font-size:20px!important}
  .mega{height:auto;overflow-y:visible}
  .topbar{display:block;background:#fff;border-bottom:1px solid #E5E5E5}
  .topbar .inner{height:42px;display:flex;align-items:center;justify-content:space-between;max-width:1366px;padding:0 40px}
.topbar-account{font-size:12px;color:#6B6B6B;font-weight:600;white-space:nowrap;transition:color .15s}
.topbar-account:hover{color:#1A1A1A}
  .topbar-links{display:flex;align-items:center;gap:22px}
  .topbar-links>a{font-size:12px;color:#6B6B6B;font-weight:500;transition:color .15s}
  .topbar-links>a:hover{color:#1A1A1A}
  .topbar-links .nav-more>a{font-size:12px;color:#6B6B6B;font-weight:500}
  .topbar-links .nav-more:hover>a{color:#1A1A1A}
  .topbar-links .nav-dropdown{top:calc(100% + 4px)}
  .mega-inner{grid-template-columns:repeat(4,1fr);padding:28px 40px 20px;gap:28px}
  .mega-brands{padding:14px 40px 18px;flex-wrap:nowrap}
  .bc{flex-wrap:nowrap;padding:14px 0 0;font-size:12px}
  .pg-title{font-size:28px}
  .subcats-arrows{display:flex}
  .filter-row{flex-wrap:nowrap;height:44px}
  .fr-filters,.fr-count,.fr-sort{height:44px}
  .fr-count{display:flex}
  .filter-panel.open{grid-template-columns:repeat(4,1fr)}
  .layout{grid-template-columns:260px 1fr}
  .sidebar{display:block}
  .pgrid,.cats-grid,.brands-grid,.clients-grid,.news-grid,.related-grid,.brand-grid,.cat-grid,.brands-logos{grid-template-columns:repeat(4,1fr)!important;gap:16px}
  .brand-grid{grid-template-columns:repeat(5,1fr)!important}
  .cat-grid{grid-template-columns:repeat(3,1fr)!important}
  .news-grid{grid-template-columns:repeat(3,1fr)!important}
  .related-grid{grid-template-columns:repeat(3,1fr)!important}
  .pcard-img{height:160px}
  .hero-slide{padding:0!important}
  .hero-title{font-size:44px!important;line-height:1.1}
  .hero-sub{font-size:15px!important}
  .hero-btns{flex-wrap:nowrap;gap:12px}
  .hero-nav{display:flex}
  .about-inner{grid-template-columns:1fr 1fr}
  .about-dark{padding:32px}
  .contact-layout{grid-template-columns:1fr 380px;gap:32px}
  .hours-grid{grid-template-columns:1fr 1fr}
  .card-grid-2{grid-template-columns:1fr 1fr}
  .article-layout{grid-template-columns:1fr 340px;gap:40px}
  .article-cover,.art-hero{height:360px}
  .gal-main{padding:40px}
  .cta-row{position:static;padding:0;box-shadow:none;border-top:none}
  body{padding-bottom:0}
  .footer{padding:32px 40px}
  .footer-inner{flex-direction:row;align-items:center}
  .footer-top{grid-template-columns:240px 1fr 1fr 1fr}
  .footer-bottom{flex-direction:row;align-items:center}
  .logo-mobile{display:none}
  .nav-account-row{display:none}
  .header-right .hd-item:not(.hd-cart){display:flex}
  .catalog-btn{width:auto;justify-content:flex-start;margin-top:0}
  .search-toggle{display:none}
}

/* ── NAV MORE DROPDOWN ── */
.nav-more{position:relative;display:flex;align-items:center}
.nav-more>a{white-space:nowrap}
.nav-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border:1px solid #E5E5E5;border-radius:10px;padding:6px 0;min-width:230px;box-shadow:0 8px 28px rgba(0,0,0,.1);z-index:200;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility .18s}
.nav-more:hover .nav-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.nav-dd-item{display:block;padding:10px 18px;font-size:13px;color:#1A1A1A;text-decoration:none;transition:background .12s,color .12s}
.nav-dd-item:hover{background:#F5F5F5;color:#3A3B3D}
/* FOOTER */
.footer{background:#0E0E0E;padding:40px 0 28px}
.footer-top{display:grid;grid-template-columns:240px 1fr 1fr 1fr;gap:32px;margin-bottom:32px}
.footer-logo{font-size:16px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin-bottom:10px}
.footer-logo em{color:#F97316;font-style:normal}
.footer-desc{font-size:13px;color:#8A8A8A;line-height:1.6}
.footer-col-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#AAAAAA;margin-bottom:12px}
.footer-link{display:block;font-size:13px;color:#8A8A8A;margin-bottom:8px;cursor:pointer}
.footer-link:hover{color:#F97316}
.footer-bottom{border-top:1px solid #222;padding-top:20px;display:flex;justify-content:space-between;font-size:12px;color:#6A6A6A}


/* buyzone v2 */
.price-row{border-top:none;padding:16px 0 22px}
.buyzone h1{margin:10px 0 4px}
.opt-label{margin:10px 0 12px}
.trust{margin:24px 0 26px}
.vopt{position:relative;padding-right:36px}
.vopt.on::after{content:'\2713';position:absolute;top:10px;right:12px;font-size:15px;font-weight:800;color:var(--ink)}
.wish-sq{position:relative;width:54px;min-height:48px;border:1px solid var(--border);border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s;flex:0 0 auto}
.wish-sq:hover{border-color:var(--accent)}
.wish-sq svg{width:20px;height:20px;stroke:var(--ink2);fill:none;stroke-width:2;transition:.2s}
.wish-sq.on{border-color:var(--accent);background:#FFF4EE}
.wish-sq.on svg{stroke:var(--accent);fill:var(--accent)}
.horeca2{margin-top:22px;background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:12px 16px;display:flex;align-items:center;gap:12px}
.horeca2 svg{width:20px;height:20px;stroke:var(--ink2);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.horeca2 div{flex:1;min-width:0}
.horeca2 b{font-size:13px;font-weight:700;color:var(--ink);margin-right:6px}
.horeca2 span{font-size:12.5px;color:var(--muted)}
.horeca2 a{font-size:13px;font-weight:700;color:var(--accent);white-space:nowrap}
.horeca2 a:hover{text-decoration:underline}
.gthumb{white-space:nowrap}


/* ===== ГАЛЕРЕЯ КАРТКИ ТОВАРУ: мініатюри зліва (десктоп) ===== */
@media(min-width:1080px){
  .pdp{grid-template-columns:1fr .95fr!important;gap:48px!important}
  .buyzone{max-width:560px}
  .gallery{flex-direction:row!important;gap:12px!important;align-items:flex-start}
  .gal-thumbs{order:-1;flex-direction:column!important;gap:10px!important;flex:0 0 62px;margin:0!important}
  .gthumb{width:62px!important;height:62px!important;padding:0!important;background:#fff!important;overflow:hidden}
  .gthumb img{max-height:100%!important;max-width:100%!important}
  .gal-main{flex:1 1 auto!important;padding:0!important;min-width:0;background:#fff!important}
  /* портретний кадр — пляшки, чашки, склянки */
  .gal-main{aspect-ratio:1/1!important}
  /* широкі товари — підноси, гастроємності, ємності: квадрат */

  /* немає мініатюр або одна — колонку ховаємо, фото на всю ширину */
  .gal-thumbs:empty{display:none!important}
  .gallery:has(.gthumb:only-child) .gal-thumbs{display:none!important}
  .gallery:has(.gal-thumbs:empty) .gal-main,
  .gallery:has(.gthumb:only-child) .gal-main{flex:1 1 100%!important}
}



/* ціна всередині опції фасування */
.vopt .vopt-price{display:block;margin-top:2px;font-size:13px;font-weight:700;color:var(--ink2)}
.vopt .vopt-price.sale{color:#DC2626}

/* ── Повноекранна галерея (лайтбокс) ── */
.glb{position:fixed;inset:0;background:rgba(20,20,20,.92);z-index:1000;display:none;flex-direction:column;align-items:center;justify-content:center}
.glb.open{display:flex}
.glb-stage{flex:1;display:flex;align-items:center;justify-content:center;width:100%;padding:48px 90px;box-sizing:border-box}
.glb-stage img{max-width:100%;max-height:100%;object-fit:contain;background:#fff;border-radius:12px}
.glb-x{position:absolute;top:18px;right:22px;width:44px;height:44px;border-radius:50%;border:none;background:rgba(255,255,255,.12);color:#fff;font-size:26px;cursor:pointer;z-index:2}
.glb-x:hover{background:rgba(255,255,255,.25)}
.glb-a{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;border:none;background:rgba(255,255,255,.14);color:#fff;font-size:30px;cursor:pointer;z-index:2}
.glb-a:hover{background:rgba(255,255,255,.28)}
.glb-prev{left:22px}.glb-next{right:22px}
.glb-dots{display:flex;gap:10px;padding:14px 16px 22px;max-width:100%;overflow-x:auto}
.glb-dots button{width:58px;height:58px;border-radius:10px;border:2px solid transparent;background:#fff;padding:2px;cursor:pointer;flex:0 0 auto}
.glb-dots button.on{border-color:#F97316}
.glb-dots img{width:100%;height:100%;object-fit:contain}
@media(max-width:760px){.glb-stage{padding:56px 12px 8px}.glb-a{display:none!important}}

.glb-title{position:absolute;top:0;left:0;right:0;padding:20px 80px;text-align:center;color:#fff;font-size:16px;font-weight:700;line-height:1.4;z-index:1;text-shadow:0 1px 4px rgba(0,0,0,.4)}
@media(max-width:760px){.glb-title{font-size:13px;padding:16px 56px 8px 16px;text-align:left}}
