/* ONAI v03 – styly šablony */

/* ---------- Písma (lokálně, OFL) ---------- */
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-tight-latin-ext-wght-normal.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-tight-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Proměnné ---------- */
:root{
	--navy:#003078;--navy-d:#00245c;--ink:#0e1726;--ink-2:#4a5870;--ink-3:#5b6880;
	--line:#e6e9ef;--line-2:#cfd6e1;--dark:#0b1a33;--sky:#7ad7ff;--red:#e8112d;--red-menu:#b4232c;
	--bg-soft:#fafbfc;--r-card:20px;--r-tile:28px;
	--f:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;--fd:"Inter Tight","Inter",system-ui,sans-serif;
}

/* ---------- Základ ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;font-family:var(--f);font-size:16px;line-height:1.55;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--navy);text-decoration:none}
a:hover{color:#0a4ea0}
h1,h2,h3,h4{line-height:1.15;margin:0 0 .5em}
.disp{font-family:var(--fd);letter-spacing:-.02em;font-weight:600}
.wrap{max-width:1264px;margin:0 auto;padding:0 32px}
@media (max-width:640px){.wrap{padding:0 18px}}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#fff;padding:10px 16px;border-radius:8px}
.skip:focus{left:8px}
:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.eyebrow{display:block;margin:0 0 18px;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.eyebrow--light{color:#9fb0cc;font-size:12px;margin:0}
.eyebrow--accent{color:var(--sky)}

/* ---------- Tlačítka ---------- */
.btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-block-components-button{
	display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border-radius:999px;
	font-family:var(--f);font-weight:600;font-size:15px;line-height:1.2;border:0;cursor:pointer;
	background:var(--navy);color:#fff;transition:background .15s ease,border-color .15s ease,color .15s ease;text-decoration:none}
.btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--navy-d);color:#fff}
.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{background:#9aa6b8;color:#fff;padding:0 24px}
.btn-lg{min-height:54px;padding:0 30px;font-size:16px}
.btn-line{background:transparent;color:var(--ink);border:1px solid var(--line-2)}
.btn-line:hover{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn-gold{background:var(--sky);color:var(--dark)}
.btn-gold:hover{background:#a8e6ff;color:var(--dark)}
.ico{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;border:0;background:transparent;color:var(--ink);cursor:pointer;flex:none}
.ico:hover{background:#f1f3f7;color:var(--ink)}

/* ---------- Akce dne ---------- */
.deal{background:var(--dark);color:#fff}
.deal__in{display:flex;align-items:center;min-height:44px;padding-top:4px;padding-bottom:4px}
.deal__link{flex:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 12px;min-height:40px;font-size:13px;color:#fff}
.deal__link:hover{color:#fff}
.deal__label{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#ff6b7d}
.deal__dot{width:7px;height:7px;border-radius:50%;background:#ff3b52;animation:dealDot 1.6s ease-in-out infinite}
@keyframes dealDot{0%,100%{opacity:1}50%{opacity:.35}}
.deal__sep{width:1px;height:18px;background:#2a3d60}
.deal__name{color:#dfe5ee}
.deal__price{font-size:14px;font-weight:700}
.deal__price .amount{color:#fff}
.deal__timer{display:inline-flex;align-items:center;gap:4px;color:#8a9ab4;font-size:12px}
.deal__t{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:24px;padding:0 4px;border-radius:6px;background:#16294a;font-variant-numeric:tabular-nums;font-weight:600;font-size:13px;color:#fff}
.deal__btn{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 14px;border-radius:999px;background:#fff;color:var(--dark);font-weight:700}
@media (max-width:640px){.deal__sep,.deal__label{display:none}.deal__link{gap:6px 10px}}

/* ---------- Hlavička ---------- */
.hdr{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #eceff4}
.hdr__in{display:flex;align-items:center;gap:12px 36px;min-height:76px;padding-top:10px;padding-bottom:10px}
.hdr__logo{display:inline-flex;align-items:center;min-height:44px;flex:none}
.hdr__logo-img{display:block;height:34px!important;width:auto!important;max-width:140px}
.hdr__logo-txt{font-size:26px;color:var(--navy)}
.hdr__nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 26px}
.hdr__nav a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--ink);font-size:15px;font-weight:500}
.hdr__nav a:hover,.hdr__nav a[aria-current]{color:var(--navy)}
.hdr__nav a.hdr__sale{color:var(--red-menu)}
.hdr__tools{margin-left:auto;display:flex;align-items:center;gap:6px}
.hdr__search{position:relative;display:flex;align-items:center;margin-right:6px}
.hdr__search input[type=search]{width:220px;height:44px;border:1px solid #e1e5ec;background:#f6f7f9;border-radius:999px;padding:0 16px 0 42px;font:inherit;font-size:14px;color:var(--ink)}
.hdr__search svg{position:absolute;left:16px;color:var(--ink-3);pointer-events:none}
.hdr__cart{min-height:44px;padding:0 16px}
.onai-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:var(--navy);font-size:12px;font-weight:700}
.hdr__burger{display:none}
.hdr__nav a{white-space:nowrap}
@media (min-width:1081px){
	.hdr__in{flex-wrap:wrap;row-gap:0;padding-bottom:0}
	.hdr__nav{order:5;flex-basis:100%;border-top:1px solid #eceff4;margin-top:12px}
	.hdr__nav ul{flex-wrap:nowrap;gap:28px}
}

@media (max-width:1080px){
	.hdr__in{flex-wrap:wrap;gap:8px 12px;min-height:64px}
	.hdr__burger{display:inline-flex;margin-left:-10px}
	.hdr__logo-img{height:30px!important;width:auto!important;max-width:120px}
	.hdr__tools{display:contents}
	.hdr__tools>.ico{margin-left:auto}
	.hdr__nav{display:none;order:5;flex-basis:100%;padding:4px 0 12px}
	.hdr__nav.is-open{display:block}
	.hdr__nav ul{flex-direction:column;gap:0}
	.hdr__nav li{border-top:1px solid var(--line)}
	.hdr__nav a{min-height:52px;font-size:16px;width:100%}
	.hdr__search{order:6;flex-basis:100%;margin:0 0 4px}
	.hdr__search input[type=search]{height:40px}
	.hdr__search input[type=search]{width:100%}
}
@media (max-width:480px){.hdr__cart-l{display:none}.hdr__cart{padding:0 14px}}

/* ---------- Bublinky ---------- */
.bub{position:relative;overflow:hidden;isolation:isolate}
.bub::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:rgba(255,255,255,.95);
	-webkit-mask:url(../img/bubbles.png) 0 0/450px 450px repeat;mask:url(../img/bubbles.png) 0 0/450px 450px repeat}
.bub--inv::before{background:var(--c,#5b6880);opacity:.45}
.bub--fade{background-color:var(--t)}
.bub--fade::before{-webkit-mask:linear-gradient(90deg,transparent 30%,#000 64%),url(../img/bubbles.png) 0 0/450px 450px repeat;-webkit-mask-composite:source-in;
	mask:linear-gradient(90deg,transparent 30%,#000 64%) ,url(../img/bubbles.png) 0 0/450px 450px repeat;mask-composite:intersect}

/* ---------- Hero ---------- */
.hero__in{display:flex;flex-wrap:wrap;align-items:center;gap:48px;padding-top:72px;padding-bottom:80px}
.hero__copy{flex:1 1 440px;min-width:0}
.hero__h{margin:0;font-size:clamp(44px,7vw,72px);line-height:.98;letter-spacing:-.035em}
.hero__h span{color:var(--navy)}
.hero__lead{margin:28px 0 36px;max-width:470px;font-size:18px;line-height:1.6;color:var(--ink-2)}
.hero__tiles{flex:1 1 460px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tile{border-radius:var(--r-tile);padding:22px;display:flex;flex-direction:column;justify-content:space-between;gap:20px}
.tile--dark{grid-row:span 2;background:var(--dark);color:#fff;min-height:440px}
.tile__h{margin:10px 0 0;font-size:28px;line-height:1.1;color:#fff}
.tile__list{list-style:none;margin:0;padding:0}
.tile__list a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 0;border-top:1px solid #22355a;color:#fff}
.tile__list a:hover{color:var(--sky)}
.tile__list strong{display:block;font-size:16px;font-weight:600}
.tile__list span span{font-size:13px;color:#b9c3d4}
.tile--color{position:relative;color:var(--ink);min-height:213px;padding:20px}
.tile--color:hover{color:var(--ink)}
.tile__img{position:absolute;z-index:0;right:-10px;bottom:-58px;height:206px!important;width:auto!important;max-width:none;transform:rotate(-9deg);transform-origin:50% 100%;filter:drop-shadow(0 14px 18px rgba(14,23,38,.32));pointer-events:none;transition:transform .35s ease}
.tile--color:hover .tile__img{transform:rotate(-6deg) translateY(-8px)}
.tile--color>span{position:relative;z-index:1}
.tile__brand{display:block;margin-top:8px;font-size:30px;line-height:1}
.tile .eyebrow{margin:0;font-size:12px}
.tile__more{position:relative;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--navy)}
@media (max-width:640px){
	.hero__in{padding-top:36px;padding-bottom:48px;gap:32px}
	.hero__lead{font-size:16px;margin:20px 0 26px}
	.hero__tiles{grid-template-columns:1fr 1fr}
	.tile--dark{grid-column:1/-1;grid-row:auto;min-height:0}
	.tile--color{min-height:170px}
	.tile__brand{font-size:22px}
	.tile__img{height:150px!important;right:-18px;bottom:-30px}
	.tile--color{min-height:200px;padding:16px}
	.tile .eyebrow{font-size:10px;letter-spacing:.08em;white-space:nowrap}
	.tile__brand{font-size:20px!important;letter-spacing:-.03em}
	.tile__more{font-size:13px}
}

/* ---------- Servisní řádek ---------- */
.svc{border-top:1px solid #eceff4;border-bottom:1px solid #eceff4;background:var(--bg-soft)}
.svc__in{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;padding-top:28px;padding-bottom:28px}
.svc__item{display:flex;gap:14px;align-items:center;font-size:14px;line-height:1.45}
.svc__item svg{color:var(--navy);flex:none;stroke-width:1.6}
.svc__item strong{font-weight:600}
.svc__item span{color:var(--ink-3)}
@media (max-width:640px){.svc__in{grid-template-columns:1fr 1fr;gap:16px}.svc__item{font-size:13px;gap:10px}}

/* ---------- Sekce ---------- */
.sec{padding-top:88px}
.sec__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px;margin-bottom:30px}
.sec__h{margin:0 0 10px;font-size:clamp(30px,4.5vw,44px);line-height:1.05}
.sec__sub{margin:0;font-size:17px;color:var(--ink-2)}
.sec__more{display:flex;justify-content:center;margin-top:40px}
main.main>.sec:last-child{padding-bottom:96px}
@media (max-width:640px){.sec{padding-top:56px}}

/* ---------- Produktová karta ---------- */
.grid-p{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.card-p{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;display:flex;flex-direction:column;transition:border-color .15s ease,box-shadow .15s ease;margin:0}
.card-p:hover{border-color:var(--line-2);box-shadow:0 12px 32px -18px rgba(14,23,38,.35)}
.card-p__panel{height:220px;display:flex;align-items:center;justify-content:center;padding:14px}
.card-p--tall .card-p__panel{height:250px}
.card-p__img{display:block;height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply;position:relative;z-index:0}

.card-p__rank{position:absolute;top:16px;left:18px;font-size:40px;line-height:1;letter-spacing:-.03em;color:rgba(14,23,38,.22)}
.card-p__badge{position:absolute;top:14px;left:14px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;background:#fff;color:var(--ink);padding:5px 10px;border-radius:999px}
.card-p--tall .card-p__badge{left:auto;right:14px}
.card-p__badge--sale{background:var(--red);color:#fff}
.card-p__badge--out{background:var(--ink);color:#fff}
.card-p__body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:4px;flex:1}
.card-p__brand{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.card-p__name{margin:0;font-size:20px;line-height:1.25}
.card-p__name a{color:var(--ink)}
.card-p__name a::after{content:"";position:absolute;inset:0;z-index:1}
.card-p__meta{font-size:14px;color:var(--ink-3)}
.card-p__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:16px}
.card-p__price{font-size:22px;color:var(--ink);line-height:1.1}
.card-p__price del{display:block;font-size:14px;font-weight:500;color:var(--ink-3)}
.card-p__price ins{text-decoration:none;color:var(--red)}
.add{position:relative;z-index:2;flex:none;width:44px;height:44px;border-radius:999px;border:1px solid var(--line-2);background:#fff;color:var(--navy);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.add:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.add.loading{opacity:.5}
.add.added{background:var(--navy);color:#fff;border-color:var(--navy)}
.card-p .added_to_cart{position:absolute;right:20px;bottom:70px;z-index:3;font-size:13px;font-weight:600;background:var(--navy);color:#fff;padding:4px 12px;border-radius:999px}
@media (max-width:640px){
	.grid-p{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	.card-p{border-radius:16px}
	.card-p__panel,.card-p--tall .card-p__panel{height:160px;padding:10px 10px 12px}
	.card-p__panel,.card-p--tall .card-p__panel{height:170px}
	.card-p__body{padding:12px 12px 14px}
	.card-p__name{font-size:16px}
	.card-p__brand{font-size:10px}
	.card-p__meta{font-size:12px}
	.card-p__price{font-size:17px}
	.card-p__rank{font-size:28px;top:10px;left:12px}
	.add{width:38px;height:38px}
}

/* Nejprodávanější – karusel */
.best__track>li{display:none}
.best__track>li.is-shown{display:flex}
.dots{display:flex;justify-content:center;gap:4px;margin-top:20px}
.dots button{width:44px;height:44px;border:0;background:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.dots span{display:block;height:8px;width:8px;border-radius:999px;background:#c3ccd9;transition:width .25s ease,background .25s ease}
.dots [aria-pressed=true] span{width:28px;background:var(--navy)}
@media (max-width:640px){
	.best__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:6px;margin:0 -18px;padding-left:18px;padding-right:18px;scrollbar-width:none}
	.best__track::-webkit-scrollbar{display:none}
	.best__track>li,.best__track>li.is-shown{display:flex;flex:0 0 72%;scroll-snap-align:start}
	.best .dots{display:none}
}

/* Filtry (taby/pilulky) */
.tabs,.pills{display:flex;flex-wrap:wrap;gap:8px}
.tabs button,.pill{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 18px;border-radius:999px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;border:1px solid #d8dee7;background:#fff;color:var(--ink);white-space:nowrap}
.tabs button:hover,.pill:hover{border-color:var(--ink);color:var(--ink)}
.tabs [aria-pressed=true],.pill.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.pill--sale{color:var(--red-menu)}
.pill--sale.is-on{background:var(--red-menu);border-color:var(--red-menu);color:#fff}
.pill--sm{min-height:36px;padding:0 14px;font-size:13px;font-weight:500}
.pills{margin:0 0 18px}
.pills--sub{margin-top:-6px}
@media (max-width:640px){
	.pills{gap:6px;margin-bottom:14px}
	.pill,.tabs button{min-height:38px;padding:0 13px;font-size:13px}
}
.grid-p--flav>.card-p.is-hidden{display:none}

/* Startovací sety */
.sets{border-radius:32px;background:var(--dark);color:#fff;padding:64px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.sets__copy{flex:1 1 420px;min-width:0}
.sets__h{margin:0 0 18px;font-size:clamp(32px,5vw,48px);line-height:1.02;color:#fff}
.sets__lead{margin:0 0 36px;max-width:440px;font-size:17px;line-height:1.6;color:#b9c3d4}
.sets__grid{flex:1 1 380px;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#2a3b5c;border:1px solid #2a3b5c;border-radius:24px;overflow:hidden}
.sets__grid div{background:var(--dark);padding:32px 16px;text-align:center}
.sets__grid .disp{display:block;font-size:clamp(20px,2.4vw,30px);color:var(--sky);line-height:1.1}
.sets__grid span+span{display:block;margin-top:10px;font-size:13px;line-height:1.4;color:#b9c3d4}
@media (max-width:640px){.sets{padding:32px 22px;border-radius:24px;gap:28px}}

/* ---------- Patička ---------- */
.foot{background:var(--dark);color:#aab4c4;margin-top:96px}
.foot a{color:#c3cbd8}
.foot a:hover{color:#fff}
.foot__in{display:flex;flex-wrap:wrap;gap:40px 48px;padding-top:72px;padding-bottom:64px}
.foot__brand{flex:2 1 320px;min-width:0}
.foot__logo{display:block;height:26px!important;width:auto!important;max-width:110px;filter:brightness(0) invert(1);opacity:.55}
.foot__brand p{margin:20px 0 0;max-width:320px;font-size:15px;line-height:1.6;color:#c3cbd8}
.foot__col{flex:1 1 160px}
.foot__col h3{margin:0 0 16px;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#7f8ea8}
.foot__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:15px}
.foot__col a{display:inline-flex;min-height:32px;align-items:center}
.foot__bar{border-top:1px solid #1d2d4b}
.foot__bar-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;min-height:64px;padding-top:12px;padding-bottom:12px;font-size:13px;color:#7f8ea8}
.foot__bar ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 24px}
@media (max-width:640px){.foot{margin-top:64px}.foot__in{padding-top:48px;padding-bottom:40px;gap:32px}}

/* ---------- Stránky a WooCommerce ---------- */
.page,.page-woo{padding-top:32px}
.page-head{margin:0 0 24px}
.page-head__h{margin:0;font-size:clamp(30px,4.5vw,44px);line-height:1.05}
.term-description,.page-description{max-width:760px;color:var(--ink-2);margin-top:10px}
.page--text .entry{max-width:760px}
.entry h2{font-family:var(--fd);letter-spacing:-.02em;margin-top:1.6em}
.crumbs{font-size:13px;color:var(--ink-3);margin:0 0 18px;display:flex;flex-wrap:wrap;gap:6px}
.crumbs a{color:var(--ink-3)}
.crumbs a:hover{color:var(--navy)}
.crumbs__sep{color:#b7c0ce}
.shop-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin:0 0 22px}
.woocommerce .shop-bar .woocommerce-result-count,.woocommerce .shop-bar .woocommerce-ordering{float:none;margin:0;font-size:14px;color:var(--ink-3)}
.woocommerce-ordering select,select,input[type=text],input[type=email],input[type=tel],input[type=number],input[type=password],input[type=search],textarea,.select2-container--default .select2-selection--single{
	font:inherit;font-size:15px;min-height:46px;padding:10px 14px;border:1px solid var(--line-2);border-radius:12px;background:#fff;color:var(--ink);max-width:100%}
textarea{min-height:110px}
.select2-container--default .select2-selection--single{height:46px;display:flex;align-items:center}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:44px}
.woocommerce nav.woocommerce-pagination{margin-top:36px}
.woocommerce nav.woocommerce-pagination ul{border:0;display:inline-flex;gap:6px}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid var(--line-2)}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ink);color:#fff;border-color:var(--ink)}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments{border:0;border-radius:14px;background:#f1f5fb;color:var(--ink);border-left:4px solid var(--navy)}
.woocommerce-error{background:#fdeef0;border-left-color:var(--red)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--navy)}
.woocommerce span.onsale{background:var(--red);border-radius:999px;min-height:0;min-width:0;line-height:1;padding:7px 12px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;top:14px;left:14px}

/* Detail produktu */
.single-product div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px 56px;align-items:start}
.single-product div.product>*{grid-column:1/-1}
.single-product div.product .woocommerce-product-gallery,.single-product div.product div.summary{float:none;width:auto;margin:0}
.woocommerce div.product div.images.woocommerce-product-gallery,.woocommerce-page div.product div.images.woocommerce-product-gallery{grid-column:1;width:100%!important;float:none!important;margin:0;position:relative;background:#fff;border:1px solid var(--line);border-radius:28px;padding:24px;overflow:hidden}
.woocommerce div.product div.images.woocommerce-product-gallery img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{top:18px;right:18px;background:#fff;border:1px solid var(--line)}
.woocommerce div.product div.summary.entry-summary{width:100%!important;float:none!important}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img{border-radius:10px;background:#fff}
.single-product div.product div.summary{grid-column:2}
.single-product .product_title{font-family:var(--fd);font-size:clamp(28px,3.6vw,40px);letter-spacing:-.025em;line-height:1.08;margin-bottom:14px}
.single-product div.product p.price,.single-product div.product span.price{font-family:var(--fd);font-weight:600;font-size:30px;color:var(--ink)}
.single-product div.product p.price del{font-size:18px;color:var(--ink-3)}
.single-product div.product p.price ins{text-decoration:none;color:var(--red)}
.single-product div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 26px}
.woocommerce .quantity .qty{width:84px;min-height:48px;border-radius:999px;text-align:center}
.single-product div.product form.cart .button{min-height:52px;padding:0 32px;font-size:16px}
.single-product .woocommerce-product-details__short-description{color:var(--ink-2)}
.single-product .product_meta{font-size:13px;color:var(--ink-3);border-top:1px solid var(--line);padding-top:16px;margin-top:20px}
.single-product .product_meta>span{display:block}
.woocommerce div.product .woocommerce-tabs{margin-top:40px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 20px;display:flex;flex-wrap:wrap;gap:8px}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid #d8dee7;border-radius:999px;background:#fff;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;font-weight:600;font-size:14px;color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--ink);border-color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}
.woocommerce div.product .woocommerce-tabs .panel{max-width:820px}
.woocommerce div.product .woocommerce-tabs .panel h2:first-child{display:none}
.related.products>h2,.upsells.products>h2{font-family:var(--fd);font-size:clamp(26px,3.5vw,36px);letter-spacing:-.02em;margin:56px 0 24px}
@media (max-width:860px){
	.single-product div.product{grid-template-columns:1fr;gap:20px}
	.single-product div.product .woocommerce-product-gallery,.single-product div.product div.summary{grid-column:1}
	.woocommerce div.product div.images.woocommerce-product-gallery{padding:12px;border-radius:22px}
}

/* Košík a pokladna – vzhled řeší plugin onai-pokladna; tady jen náhrada za Storefront/storefront-child */
.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:not(.update-qty-row){display:none!important}
.woocommerce-cart div.quantity{display:inline-block;vertical-align:middle}
.update-qty-row{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin-left:6px;vertical-align:middle;border:0;border-radius:999px;background:transparent;color:var(--navy);font-size:20px;line-height:1;cursor:pointer}
.update-qty-row:hover{background:#f1f3f7}
.woocommerce-cart td.subtotal_row{text-align:right!important}
.woocommerce-cart .cart-collaterals .cart_totals{float:none;width:100%;max-width:420px;margin-left:auto}
.woocommerce-cart .cart-collaterals .cart_totals:empty{display:none}
.page--wc .entry{max-width:none}
.woocommerce table.shop_table{border-collapse:separate}
@media (max-width:767px){.woocommerce-cart tr.onai-subtotal td.actions{display:none}}

/* Můj účet */
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.woocommerce-MyAccount-navigation a{display:flex;min-height:44px;align-items:center;padding:0 14px;border-radius:12px;color:var(--ink)}
.woocommerce-MyAccount-navigation .is-active a{background:var(--ink);color:#fff}

/* Mobil: proporce stránek a výpisu */
.term-description>h1:first-child,.term-description>h2:first-child,.page-description>h1:first-child,.page-description>h2:first-child{display:none}
@media (max-width:640px){
	.page,.page-woo{padding-top:14px}
	.crumbs{margin-bottom:10px;font-size:12px}
	.page-head{margin-bottom:14px}
	.page-head__h{font-size:28px}
	.term-description,.page-description{font-size:14px}
	.shop-bar{margin-bottom:14px;gap:8px}
	.woocommerce .shop-bar .woocommerce-ordering select{min-height:40px;padding:6px 12px;font-size:14px}
	.hdr__in{min-height:56px;padding-top:6px;padding-bottom:6px;gap:6px 8px}
}

/* Pokladna: rozvržení, které dřív dával Storefront (onai-pokladna nastavuje jen šířky) */
.woocommerce-checkout form.checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-2{float:none!important;width:100%!important}
.woocommerce-checkout form.checkout .col2-set .col-2{margin-top:24px!important}
.woocommerce-checkout form.checkout::after{content:"";display:table;clear:both}
@media (min-width:768px){
	body.woocommerce-checkout form.checkout .col2-set{float:left}
	body.woocommerce-checkout form.checkout #order_review_heading,
	body.woocommerce-checkout form.checkout #order_review{float:right;clear:right}
}
@media (max-width:767px){
	body.woocommerce-checkout form.checkout #order_review{margin-top:24px}
}

/* WooCommerce přidává ul.products ::before/::after (clearfix) – v mřížce by zabraly první buňku */
.grid-p::before,.grid-p::after,.woocommerce ul.products::before,.woocommerce ul.products::after{content:none!important;display:none!important}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;margin:0;padding:0}
@media (max-width:640px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Pokladna: nadpis „Vaše objednávka“ nad souhrnem skrytý – souhrn má vlastní „Vaše objednávka · N ks“ (onai-pokladna); karta pak začíná ve stejné výšce jako levá */
body.woocommerce-checkout form.checkout #order_review_heading{display:none!important}

/* Karty produktů: čistě bílý panel bez bublinek – fotky mají bílé pozadí, bublinky by prosvítaly přes produkt.
   Až budou fotky s průhledným pozadím, stačí tento blok odstranit. */
.card-p__panel{background:#fff!important;border-bottom:1px solid var(--line)}
.card-p__panel.bub::before{display:none}
.card-p__img{mix-blend-mode:normal;padding:6px}

/* Řazení – tlačítko s nabídkou (mobil: spodní panel) */
.sort{position:relative}
.sort__btn{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid #d8dee7;border-radius:999px;background:#fff;color:var(--ink);font-size:14px;cursor:pointer;user-select:none}
.sort__btn::-webkit-details-marker{display:none}
.sort__btn:hover,.sort[open] .sort__btn{border-color:var(--ink)}
.sort__btn strong{font-weight:600}
.sort__panel{position:absolute;right:0;top:calc(100% + 8px);z-index:40;min-width:230px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px -18px rgba(14,23,38,.35);display:flex;flex-direction:column}
.sort__title{display:none;margin:4px 12px 10px;font-family:var(--fd);font-size:18px;font-weight:600}
.sort__opt{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 12px;border-radius:10px;color:var(--ink);font-size:15px}
.sort__opt:hover{background:#f1f3f7;color:var(--ink)}
.sort__opt.is-on{font-weight:600;color:var(--navy)}
.sort__opt.is-on::after{content:"";width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat}
@media (max-width:640px){
	.sort__btn{min-height:40px;padding:0 14px;font-size:13px}
	.sort[open]::before{content:"";position:fixed;inset:0;z-index:39;background:rgba(11,26,51,.4)}
	.sort__panel{position:fixed;left:0;right:0;bottom:0;top:auto;min-width:0;border-radius:22px 22px 0 0;padding:14px 14px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px -12px rgba(14,23,38,.35)}
	.sort__title{display:block}
	.sort__opt{min-height:52px;font-size:16px}
}
