/* Katabam single product — concept styles (fonts from theme) */
:root{
  --primary:#6ebe45; --primary-dark:#5aab38; --secondary:#082442; --secondary-light:#0d3a6b;
  --text:#1a1a1a; --muted:#5c5c5c; --bg:#ffffff;
  --surface:#ffffff; --surface-soft:#eef1f5; --surface-border:rgba(8,24,42,.1);
  --panel:#e8edf3; --heading:#082442; --discount:#d92d2d; --nav-bg:#f0f4f8;
  --hero-bg:linear-gradient(135deg,#e8edf3 0%,#f4f6f8 42%,#eef2f6 100%);
  --grid-line:rgba(8,24,42,.035); --shadow:0 18px 42px rgba(8,24,42,.1); --board:#f6f8fb;
  --ok:#3f7a22; --glass:rgba(255,255,255,.66);
  --font:'IranSans',Tahoma,Arial,sans-serif;
  color-scheme:light;
}
:root[data-theme="dark"],html.dark{
  --primary-dark:#7ed957; --text:#e8eef4; --muted:#94a3b8; --bg:#0a1628;
  --surface:#10263c; --surface-soft:rgba(148,163,184,.1); --surface-border:rgba(255,255,255,.12);
  --panel:rgba(148,163,184,.08); --heading:#f1f5f9; --nav-bg:#061830;
  --hero-bg:linear-gradient(135deg,#0d2038 0%,#0a1628 60%,#0c1c33 100%);
  --grid-line:rgba(255,255,255,.04); --shadow:0 18px 42px rgba(0,0,0,.45); --board:#07111f;
  --ok:#9be07a; --glass:rgba(16,38,60,.7);
  color-scheme:dark;
}
.site-main--product.katabam-product-page{container-type:inline-size;background:var(--katabam-bg,#fff);color:var(--text);line-height:1.8}
.katabam-product-page #katabam-product-root{font-family:var(--font);-webkit-font-smoothing:antialiased}
.katabam-product-page #katabam-product-root a{color:inherit;text-decoration:none}
.katabam-product-page #katabam-product-root button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.katabam-product-page svg.i{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.katabam-product-page :focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.katabam-product-page [hidden]{display:none!important}
.katabam-product-page .mnav{display:none!important}

/* board chrome */
.topbar{background:#4a8529;color:#fff;font-size:.72rem;padding:.3rem 1.25rem;display:flex;justify-content:space-between;gap:1rem}
:root[data-theme="dark"] .topbar,html.dark .topbar{background:#3d6f24}
.hdr{background:var(--surface);border-bottom:2px solid var(--primary);padding:.7rem 1.25rem;display:flex;align-items:center;gap:1rem}
.logo{font-weight:500;color:var(--heading);font-size:1.15rem;display:flex;align-items:center;gap:.45rem}
.logo b{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--primary);color:#fff;font-size:.95rem;font-weight:500}
.hdr .search{flex:1;max-width:420px;margin-inline:auto;background:var(--surface-soft);border:1px solid var(--surface-border);border-radius:12px;padding:.42rem .9rem;color:var(--muted);font-size:.8rem}
.cartbtn{position:relative;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--surface-soft);color:var(--heading);font-size:1.15rem}
.cartbtn em{position:absolute;top:-4px;inset-inline-start:-4px;min-width:18px;height:18px;border-radius:9px;background:var(--primary);color:#fff;font-size:.65rem;font-style:normal;display:grid;place-items:center;font-weight:500}
.cartbtn.pop{animation:pop .5s cubic-bezier(.22,1,.36,1)}
@keyframes pop{0%{transform:scale(1)}40%{transform:scale(1.22)}100%{transform:scale(1)}}
.hnav{background:var(--nav-bg);padding:.4rem 1.25rem;font-size:.78rem;display:flex;gap:1.4rem;color:var(--heading)}
.hnav span:first-child{font-weight:500}

/* hero band */
.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--hero-bg);border-bottom:1px solid var(--surface-border);padding:1rem 1.25rem 4.5rem}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(circle at 10% 88%,rgba(110,190,69,.16),transparent 42%),linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size:auto,28px 28px,28px 28px}
/* breadcrumb — same component as the other pages (.about-breadcrumb from about-page.css) */
.katabam-product-page .hero{--about-breadcrumb:rgba(8,24,42,.55);--about-breadcrumb-current:var(--heading);--about-breadcrumb-sep:rgba(8,24,42,.28)}
:root[data-theme="dark"] .katabam-product-page .hero,html.dark .katabam-product-page .hero{--about-breadcrumb:rgba(255,255,255,.72);--about-breadcrumb-current:#fff;--about-breadcrumb-sep:rgba(255,255,255,.4)}
.katabam-product-page .hero .about-breadcrumb{margin:0 0 1.1rem}
.hero-in{max-width:1250px;margin:0 auto}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:2.5rem;align-items:start}

/* ===================== GALLERY — Embla main + vertical RTL thumbs ===================== */
/* ===== Product gallery (.kg) — square images, vertical thumbs on the RIGHT (RTL) =====
   DOM order: thumbs first -> in RTL they sit on the right of the main stage. */
#katabam-product-root .kg{--kg-thumb-w:76px;--kg-gap:.75rem;position:relative;min-width:0;direction:rtl}
#katabam-product-root .kg__layout{display:flex;flex-direction:row;align-items:stretch;gap:var(--kg-gap)}
#katabam-product-root .kg__main{flex:1 1 auto;min-width:0}

/* stage — 1:1, the image fills it completely */
#katabam-product-root .kg__stage{position:relative;aspect-ratio:1/1;background:var(--surface-soft);border:1.5px solid var(--surface-border);border-radius:18px;overflow:hidden;isolation:isolate}
#katabam-product-root .kg__stage:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
#katabam-product-root .kg__viewport{position:absolute;inset:0;overflow:hidden}
#katabam-product-root .kg__container{display:flex;flex-direction:column;height:100%;touch-action:pan-x pinch-zoom;backface-visibility:hidden}
#katabam-product-root .kg__slide{flex:0 0 100%;min-width:0;min-height:0;display:block;overflow:hidden;user-select:none;-webkit-user-select:none}
#katabam-product-root .kg__slide img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;user-select:none;transform-origin:50% 50%;transition:transform .35s cubic-bezier(.22,1,.36,1)}

/* hover zoom (mouse only) */
@media (hover:hover) and (pointer:fine){
  #katabam-product-root .kg__slide img{cursor:zoom-in}
  #katabam-product-root .kg__slide img.is-zoomed{transform:none!important}
  #katabam-product-root .kg.is-dragging,#katabam-product-root .kg.is-dragging *{cursor:grabbing!important}
}

/* arrows — small, appear on hover (always visible on touch) */
#katabam-product-root .kg__nav{position:absolute;z-index:5;width:34px;height:34px;border-radius:50%;background:var(--glass);backdrop-filter:blur(10px);border:1px solid var(--surface-border);color:var(--heading);display:grid;place-items:center;padding:0;cursor:pointer;opacity:0;transition:opacity .25s,background .2s,color .2s}
#katabam-product-root .kg__nav .i{width:18px;height:18px;rotate:-90deg}
#katabam-product-root .kg__stage:hover .kg__nav,#katabam-product-root .kg__stage:focus-within .kg__nav{opacity:1}
#katabam-product-root .kg__nav:hover:not(:disabled){background:var(--primary);border-color:var(--primary);color:#fff}
#katabam-product-root .kg__nav:disabled{opacity:0!important;pointer-events:none}
#katabam-product-root .kg__nav:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
#katabam-product-root .kg__nav--prev{top:.85rem;inset-inline-start:50%;translate:50% 0}
#katabam-product-root .kg__nav--next{bottom:.85rem;inset-inline-start:50%;translate:50% 0}
@media (hover:none){#katabam-product-root .kg__nav{opacity:1}}

/* counter pill + zoom */
#katabam-product-root .kg__count{position:absolute;z-index:5;bottom:.85rem;inset-inline-start:.85rem;min-width:3.1rem;padding:.22rem .6rem;border-radius:999px;background:var(--glass);backdrop-filter:blur(10px);border:1px solid var(--surface-border);color:var(--muted);font-size:.7rem;font-weight:500;line-height:1.5;text-align:center;font-variant-numeric:tabular-nums;pointer-events:none}
#katabam-product-root .kg__count b{color:var(--heading);font-weight:500}
#katabam-product-root .kg .zoom-btn{bottom:.85rem;inset-inline-end:.85rem;width:34px;height:34px;border-radius:50%;cursor:pointer;transition:background .2s,color .2s}
#katabam-product-root .kg .zoom-btn .i{width:17px;height:17px}
#katabam-product-root .kg .zoom-btn:hover{background:var(--primary);border-color:var(--primary);color:#fff}
#katabam-product-root .kg .tag{inset-inline-start:.9rem}
#katabam-product-root .kg .fmt{top:.85rem;inset-inline-end:.85rem}

/* gallery quick actions (favourite / share) — icon buttons on the stage */
#katabam-product-root .kg__acts{position:absolute;z-index:6;top:3.55rem;inset-inline-end:.85rem;display:flex;flex-direction:column;gap:.45rem}
#katabam-product-root .kg__act{position:relative;width:34px;height:34px;padding:0;border-radius:50%;display:grid;place-items:center;font-size:1.1rem;color:var(--heading);background:var(--glass);backdrop-filter:blur(10px);border:1px solid var(--surface-border);transition:background .2s,color .2s,border-color .2s,transform .2s}
#katabam-product-root .kg__act:hover{background:var(--primary);border-color:var(--primary);color:#fff}
#katabam-product-root .kg__act:active{transform:scale(.92)}
#katabam-product-root .kg__act svg.i{width:1.05em;height:1.05em;stroke-width:2;overflow:visible}
#katabam-product-root .kg__act::after{content:attr(data-tip);position:absolute;top:50%;inset-inline-end:calc(100% + .5rem);translate:0 -50%;padding:.2rem .6rem;border-radius:8px;background:var(--secondary);color:#fff;font-size:.68rem;font-weight:400;line-height:1.6;white-space:nowrap;pointer-events:none;opacity:0;transform:translateX(4px);transition:opacity .18s,transform .18s}
@media (hover:hover){#katabam-product-root .kg__act:hover::after{opacity:1;transform:none}}
#katabam-product-root .kg__act:focus-visible::after,#katabam-product-root .kg__act.show-tip::after{opacity:1;transform:none}
/* heart: draws itself on load and again when toggled; filled when pressed */
#katabam-product-root .i--heart path{stroke-dasharray:30;stroke-dashoffset:0;fill:transparent;transition:fill .25s ease;animation:kgHeartDraw .6s ease-out both}
#katabam-product-root .kg__act--fav[aria-pressed="true"]{color:var(--discount);background:#fff;border-color:rgba(217,45,45,.4)}
:root[data-theme="dark"] #katabam-product-root .kg__act--fav[aria-pressed="true"],html.dark #katabam-product-root .kg__act--fav[aria-pressed="true"]{background:var(--surface)}
#katabam-product-root .kg__act--fav[aria-pressed="true"] path{fill:currentColor}
#katabam-product-root .kg__act--fav.is-pop svg{animation:kgHeartPop .45s cubic-bezier(.34,1.56,.64,1)}
#katabam-product-root .kg__act--fav.is-pop path{animation:kgHeartDraw .6s ease-out both}
@keyframes kgHeartDraw{from{stroke-dashoffset:30}to{stroke-dashoffset:0}}
@keyframes kgHeartPop{0%{transform:scale(.7)}60%{transform:scale(1.25)}100%{transform:scale(1)}}
/* share: nodes pop, links redraw on hover */
#katabam-product-root .i--share .sn{transform-box:fill-box;transform-origin:center}
#katabam-product-root .i--share .sl{stroke-dasharray:9}
@media (hover:hover){
  #katabam-product-root .kg__act--share:hover .sn{animation:kgNode .4s cubic-bezier(.22,1,.36,1) both}
  #katabam-product-root .kg__act--share:hover .sn--b{animation-delay:0s}
  #katabam-product-root .kg__act--share:hover .sn--a{animation-delay:.42s}
  #katabam-product-root .kg__act--share:hover .sn--c{animation-delay:.48s}
  #katabam-product-root .kg__act--share:hover .sl{animation:kgLine .35s ease-out .18s both}
}
@keyframes kgNode{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.25);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes kgLine{from{stroke-dashoffset:9;opacity:0}to{stroke-dashoffset:0;opacity:1}}

/* perk icons: hover animations (shield draws, coin flips) */
.perk .ic svg.i{width:1.2rem;height:1.2rem}
.perk .ic--shield .sh{stroke-dasharray:300;transform-origin:12px 12px}
.perk .ic--shield .ck{stroke-dasharray:40}
.perk .ic--coin svg{transform-origin:50% 50%}
@media (hover:hover){
  .perk:hover .ic--shield .sh{animation:kgShield 1s cubic-bezier(.18,.85,.25,1)}
  .perk:hover .ic--shield .ck{animation:kgCheck 1.3s cubic-bezier(.22,.9,.28,1) .25s both}
  .perk:hover .ic--coin svg{animation:kgCoin .6s ease-in-out}
}
@keyframes kgShield{0%{stroke-dashoffset:300;transform:none}35%{stroke-dashoffset:24;transform:scale(.98) rotate(-2deg)}75%{stroke-dashoffset:0;transform:scale(1.04) rotate(1deg)}100%{stroke-dashoffset:0;transform:none}}
@keyframes kgCheck{0%{stroke-dashoffset:40;opacity:0}50%{opacity:1}100%{stroke-dashoffset:0;opacity:1}}
@keyframes kgCoin{0%{transform:scaleX(1)}50%{transform:scaleX(-1)}100%{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){
  #katabam-product-root .i--heart path,#katabam-product-root .kg__act--fav.is-pop path{animation:none}
  #katabam-product-root .kg__act--share .sn,#katabam-product-root .kg__act--share .sl,.perk .ic svg,.perk .ic path{animation:none!important}
}

/* thumbnails — square tiles; the column height follows the stage */
#katabam-product-root .kg__thumbs{position:relative;flex:0 0 var(--kg-thumb-w);width:var(--kg-thumb-w)}
#katabam-product-root .kg__thumbs-viewport{position:absolute;inset:0;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%)}
#katabam-product-root .kg__thumbs-container{display:flex;flex-direction:column;gap:.55rem;padding:3px;touch-action:pan-x pinch-zoom}
#katabam-product-root .kg__thumb{flex:0 0 auto;width:100%;aspect-ratio:1/1;padding:0;overflow:hidden;display:block;border-radius:12px;border:1.5px solid var(--surface-border);background:var(--surface-soft);cursor:pointer;opacity:.55;transition:opacity .2s,border-color .2s,box-shadow .2s}
#katabam-product-root .kg__thumb img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}
#katabam-product-root .kg__thumb:hover{opacity:1}
#katabam-product-root .kg__thumb:focus-visible{outline:2px solid var(--primary);outline-offset:1px}
#katabam-product-root .kg__thumb[aria-current="true"]{opacity:1;border-color:var(--primary);box-shadow:0 0 0 3px rgba(110,190,69,.16)}

/* single image: no chrome */
#katabam-product-root .kg[data-count="1"] .kg__nav,#katabam-product-root .kg[data-count="1"] .kg__count{display:none}

/* horizontal mode (touch / narrow): main on top, thumbs below, swipe on X (RTL) */
#katabam-product-root .kg[data-axis="x"] .kg__layout{flex-direction:column;gap:.6rem}
#katabam-product-root .kg[data-axis="x"] .kg__main{width:100%;flex:none}
#katabam-product-root .kg[data-axis="x"] .kg__stage{border-radius:16px}
#katabam-product-root .kg[data-axis="x"] .kg__container{flex-direction:row;touch-action:pan-y pinch-zoom}
#katabam-product-root .kg[data-axis="x"] .kg__nav .i{rotate:0deg}
#katabam-product-root .kg[data-axis="x"] .kg__nav--prev{top:50%;bottom:auto;inset-inline-start:auto;inset-inline-end:.7rem;translate:0 -50%}
#katabam-product-root .kg[data-axis="x"] .kg__nav--next{top:50%;bottom:auto;inset-inline-start:.7rem;translate:0 -50%}
#katabam-product-root .kg[data-axis="x"] .kg__thumbs{order:2;position:static;flex:none;width:100%}
#katabam-product-root .kg[data-axis="x"] .kg__thumbs-viewport{position:static;-webkit-mask-image:linear-gradient(to left,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%);mask-image:linear-gradient(to left,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%)}
#katabam-product-root .kg[data-axis="x"] .kg__thumbs-container{flex-direction:row;touch-action:pan-y pinch-zoom}
#katabam-product-root .kg[data-axis="x"] .kg__thumb{width:64px}
@media (max-width:900px){
#katabam-product-root .kg:not([data-axis="y"]) .kg__layout{flex-direction:column;gap:.6rem}
#katabam-product-root .kg:not([data-axis="y"]) .kg__main{width:100%;flex:none}
#katabam-product-root .kg:not([data-axis="y"]) .kg__stage{border-radius:16px}
#katabam-product-root .kg:not([data-axis="y"]) .kg__container{flex-direction:row;touch-action:pan-y pinch-zoom}
#katabam-product-root .kg:not([data-axis="y"]) .kg__nav .i{rotate:0deg}
#katabam-product-root .kg:not([data-axis="y"]) .kg__nav--prev{top:50%;bottom:auto;inset-inline-start:auto;inset-inline-end:.7rem;translate:0 -50%}
#katabam-product-root .kg:not([data-axis="y"]) .kg__nav--next{top:50%;bottom:auto;inset-inline-start:.7rem;translate:0 -50%}
#katabam-product-root .kg:not([data-axis="y"]) .kg__thumbs{order:2;position:static;flex:none;width:100%}
#katabam-product-root .kg:not([data-axis="y"]) .kg__thumbs-viewport{position:static;-webkit-mask-image:linear-gradient(to left,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%);mask-image:linear-gradient(to left,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%)}
#katabam-product-root .kg:not([data-axis="y"]) .kg__thumbs-container{flex-direction:row;touch-action:pan-y pinch-zoom}
/* the strip clips: room above/below for the hover lift and the active ring, pulled back so layout is unchanged */
#katabam-product-root .kg:not([data-axis="y"]) .kg__thumbs-viewport{padding-block:.45rem;margin-block:-.45rem}
#katabam-product-root .kg:not([data-axis="y"]) .kg__thumb{width:64px}
}
/* single-column hero: keep the square gallery a sensible size */
@container (max-width:1040px){
  #katabam-product-root .kg{width:100%;max-width:560px;margin-inline:auto}
}
@media (prefers-reduced-motion:reduce){
  #katabam-product-root .kg__slide img,#katabam-product-root .kg__nav,#katabam-product-root .kg__thumb,#katabam-product-root .kg .zoom-btn{transition:none}
}

.tag{position:absolute;z-index:6;top:0;inset-inline-start:1.1rem;width:3.1rem;padding:.7rem .25rem 1.1rem;background:var(--discount);color:#fff;font-size:.85rem;font-weight:500;text-align:center;line-height:1.2;
  clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%);box-shadow:0 6px 14px rgba(217,45,45,.35)}
.tag span{display:block;font-size:.62rem;font-weight:400}
.fmt{position:absolute;z-index:6;top:1rem;inset-inline-end:1rem;display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .75rem;border-radius:999px;font-size:.72rem;font-weight:500;
  background:var(--glass);backdrop-filter:blur(10px);border:1px solid var(--surface-border);color:var(--heading)}
.zoom-btn{position:absolute;z-index:6;bottom:1rem;inset-inline-end:1rem;width:38px;height:38px;border-radius:11px;background:var(--glass);backdrop-filter:blur(10px);border:1px solid var(--surface-border);color:var(--heading);display:grid;place-items:center}
.ribbon{position:absolute;z-index:6;top:40%;inset-inline-start:50%;translate:-50% 0;background:var(--discount);color:#fff;padding:.35rem 1.7rem;font-size:.9rem;border-radius:6px;box-shadow:0 8px 20px rgba(217,45,45,.35);rotate:-8deg;display:none}
[data-state="oos"] .ribbon{display:block}
[data-state="oos"] .kg__slide img{filter:grayscale(.8) brightness(.94)}

/* ===== Product quick-view modal (.kgm): image slider (left) + details (right) ===== */
.kgm{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:1rem;font-family:var(--font);color:var(--text);line-height:1.8;-webkit-font-smoothing:antialiased}
.kgm[hidden]{display:none}
.kgm [hidden]{display:none!important}
.kgm :focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.kgm button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.kgm a{color:inherit;text-decoration:none}
.kgm svg.i{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.kgm .stars svg{fill:currentColor;stroke:none}
html.kgm-lock{overflow:hidden;scrollbar-gutter:stable}
/* Solid overlay — no backdrop-filter (blur repaints every carousel frame and tanks FPS). */
.kgm__backdrop{position:absolute;inset:0;background:rgba(8,24,42,.78);animation:kgmFade .25s ease both}
.kgm__dialog{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:min(980px,100%);max-height:min(720px,calc(100dvh - 2rem));background:var(--surface);border:1px solid var(--surface-border);border-radius:22px;overflow:hidden;box-shadow:0 40px 90px -30px rgba(0,0,0,.55);animation:kgmIn .32s cubic-bezier(.22,1,.36,1) both;isolation:isolate}
.kgm__close{position:absolute;z-index:4;top:.8rem;inset-inline-end:.8rem;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;padding:0;font-size:1.05rem;color:var(--heading);background:var(--surface);border:1px solid var(--surface-border);box-shadow:0 4px 14px rgba(8,24,42,.12);transition:background .2s,color .2s,border-color .2s}
.kgm__close:hover{background:var(--primary);border-color:var(--primary);color:#fff}

/* media (left half) — paint contained so info column does not repaints with slides */
.kgm__media{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:.8rem;padding:1.25rem;background:var(--surface-soft);contain:layout style}
.kgm__stage{position:relative;width:min(100%,calc(100dvh - 11rem));aspect-ratio:1/1;margin-inline:auto;border-radius:14px;overflow:hidden;background:var(--surface);border:1px solid var(--surface-border);contain:strict}
.kgm__viewport{position:absolute;inset:0;overflow:hidden;cursor:grab;touch-action:pan-y}
.kgm__viewport:active{cursor:grabbing}
.kgm__container{display:flex;height:100%;touch-action:pan-x pinch-zoom;backface-visibility:hidden;will-change:transform}
.kgm--dragging .kgm__container{will-change:transform}
.kgm:not(.kgm--dragging) .kgm__container{will-change:auto}
.kgm__slide{flex:0 0 100%;min-width:0;height:100%;contain:layout paint}
.kgm__slide img{display:block;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;user-select:none;transform:translateZ(0)}
.kgm__nav{position:absolute;z-index:3;top:50%;translate:0 -50%;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;padding:0;font-size:1.1rem;color:var(--heading);background:var(--surface);border:1px solid var(--surface-border);box-shadow:0 4px 12px rgba(8,24,42,.1);opacity:0;transition:opacity .25s,background .2s,color .2s,border-color .2s}
.kgm__nav--prev{inset-inline-start:.7rem}
.kgm__nav--next{inset-inline-end:.7rem}
.kgm__stage:hover .kgm__nav,.kgm__stage:focus-within .kgm__nav{opacity:1}
@media (hover:none){.kgm__nav{opacity:1}}
.kgm__nav:hover:not(:disabled){background:var(--primary);border-color:var(--primary);color:#fff}
.kgm__nav:disabled{opacity:0!important;pointer-events:none}
.kgm__count{position:absolute;z-index:3;bottom:.7rem;inset-inline-start:.7rem;min-width:3.1rem;padding:.2rem .6rem;border-radius:999px;background:var(--surface);border:1px solid var(--surface-border);box-shadow:0 4px 12px rgba(8,24,42,.08);color:var(--muted);font-size:.7rem;font-weight:500;line-height:1.5;text-align:center;pointer-events:none;font-variant-numeric:tabular-nums}
.kgm__count b{color:var(--heading);font-weight:500}
.kgm__thumbs{display:flex;justify-content:safe center;gap:.5rem;overflow-x:auto;padding:3px;scrollbar-width:none;overscroll-behavior-x:contain}
.kgm__thumbs::-webkit-scrollbar{display:none}
.kgm__thumb{flex:0 0 54px;aspect-ratio:1/1;padding:0;overflow:hidden;display:block;border-radius:10px;border:1.5px solid var(--surface-border);background:var(--surface);opacity:.55;transition:opacity .2s,border-color .2s,box-shadow .2s}
.kgm__thumb img{display:block;width:100%;height:100%;object-fit:cover}
.kgm__thumb:hover{opacity:1}
.kgm__thumb[aria-current="true"]{opacity:1;border-color:var(--primary);box-shadow:0 0 0 3px rgba(110,190,69,.16)}

/* info (right half) — quick-view product summary (no cart: it only points to the full page) */
.kgm__dialog{grid-template-rows:minmax(0,1fr)}
.kgm__info{min-width:0;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.kgm__scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:1.7rem 1.8rem 1rem;scrollbar-width:thin}
.kgm__head{display:grid;gap:.75rem;margin-bottom:1.15rem;padding-inline-end:2.6rem}
.kgm__chips{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.kgm__chip{display:inline-flex;align-items:center;gap:.35rem;padding:.22rem .7rem;border-radius:999px;border:1px solid var(--surface-border);font-size:.68rem;font-weight:500;line-height:1.55;max-width:100%}
.kgm__chip--cat{background:var(--surface-soft);color:var(--heading)}
.kgm__chip--cat svg{color:var(--primary-dark);font-size:.95em}
.kgm__chip--ok{background:rgba(110,190,69,.14);border-color:rgba(110,190,69,.38);color:var(--ok)}
.kgm__chip--no{background:rgba(217,45,45,.1);border-color:rgba(217,45,45,.28);color:var(--discount)}
.kgm__dot{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(110,190,69,.22);flex:none}
.kgm__title{margin:0;font-size:clamp(1.3rem,2.6vw,1.75rem);line-height:1.5;font-weight:500;color:var(--heading);letter-spacing:-.02em;text-wrap:balance}
.kgm__by{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .5rem;font-size:.8rem;color:var(--muted);line-height:1.6}
.kgm__by-item{display:inline-flex;align-items:center;gap:.4rem;padding:.2rem .65rem .2rem .7rem;border-radius:999px;border:1px solid var(--surface-border);background:var(--surface);min-width:0;transition:border-color .2s,color .2s,background .2s}
.kgm__by-item>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kgm__by-item b{font-weight:500;color:var(--heading);transition:color .2s}
.kgm__by-item .kgm-ic{color:var(--primary-dark);font-size:1.05rem}
a.kgm__by-item:hover{border-color:var(--primary);background:rgba(110,190,69,.08)}
a.kgm__by-item:hover b{color:var(--primary-dark)}
@media (hover:hover){a.kgm__chip--cat:hover{border-color:var(--primary);color:var(--primary-dark)}}
.kgm__chip .kgm-ic{font-size:1rem}
.kgm__rate{margin-inline-start:auto;display:inline-flex;align-items:center;gap:.3rem;line-height:1.5}
.kgm__rate b{font-weight:500;color:var(--heading)}
.kgm__rate small{font-size:.7rem}
.kgm__rate .i--star{color:#f5a524;fill:currentColor;stroke:none;font-size:1rem}

/* price */
.kgm__price{display:flex;align-items:center;justify-content:space-between;gap:.6rem 1rem;margin-bottom:1rem;padding:.2rem 0}
.kgm__price-main{min-width:0}
.kgm__was{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;font-size:.8rem;color:#9aa3ac;margin-bottom:.1rem}
.kgm__was s{text-decoration:line-through}
.kgm__off{background:var(--discount);color:#fff;border-radius:8px;padding:.05rem .45rem;font-size:.7rem;font-weight:500;line-height:1.5}
.kgm__now{font-size:clamp(1.55rem,3.6vw,1.95rem);font-weight:500;line-height:1.3;color:var(--heading);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.kgm__now .woocommerce-Price-amount{font:inherit}
.kgm__now .woocommerce-Price-currencySymbol{font-size:.5em;font-weight:400;color:var(--muted);margin-inline-start:.1em}
.kgm__price-side{display:flex;flex-direction:column;align-items:flex-end;gap:.4rem;min-width:0}
.kgm__save{font-size:.7rem;font-weight:500;color:var(--ok);background:rgba(110,190,69,.16);padding:.15rem .65rem;border-radius:999px;white-space:nowrap}
.kgm__ship{margin:0;display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .75rem;border-radius:999px;background:rgba(110,190,69,.12);font-size:.72rem;font-weight:500;color:var(--ok);line-height:1.5;white-space:nowrap}
.kgm__ship svg{font-size:1.1rem}

/* animated icons (CSS port of the motion/react versions) */
.kgm-ic{overflow:visible}
.kgm-ic--book .spine{stroke-dasharray:1}
@media (hover:hover){
  a:hover>.kgm-ic--feather{animation:kgFeather 1.6s ease-in-out}
  a:hover>.kgm-ic--book{animation:kgBook .9s ease-in-out}
  a:hover>.kgm-ic--book .spine{animation:kgSpine .6s ease-in-out}
  a:hover>.kgm-ic--book .pages{transform-box:fill-box;transform-origin:center;animation:kgPages .8s ease-in-out .2s}
}
@keyframes kgFeather{0%{transform:none}25%{transform:translate(2px,-4px) rotate(-8deg)}50%{transform:translate(-2px,-2px) rotate(4deg)}75%{transform:translate(1px,-1px) rotate(-3deg)}100%{transform:none}}
@keyframes kgBook{0%{transform:none}33%{transform:scale(1.05) rotate(-2deg)}66%{transform:scale(.97) rotate(2deg)}100%{transform:none}}
@keyframes kgSpine{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes kgPages{0%{transform:scale(1);opacity:.9}35%{transform:scale(1.05);opacity:1}70%{transform:scale(.98)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.kgm-ic,.kgm-ic path{animation:none!important}}

/* lead + spec list */
.kgm__sub{margin:0 0 .35rem;font-size:.82rem;font-weight:500;color:var(--heading)}
.kgm__specs{margin:0;display:grid}
.kgm__spec{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem 0;border-bottom:1px solid var(--surface-border)}
.kgm__spec:last-child{border-bottom:0}
.kgm__spec dt{display:inline-flex;align-items:center;gap:.5rem;margin:0;font-size:.78rem;color:var(--muted);flex:none}
.kgm__spec dt svg{width:1.7rem;height:1.7rem;padding:.4rem;border-radius:9px;background:rgba(110,190,69,.15);color:var(--primary-dark);box-sizing:border-box}
.kgm__spec dd{margin:0;min-width:0;font-size:.82rem;font-weight:500;color:var(--heading);text-align:end;line-height:1.6}

/* footer */
.kgm__actions{flex:none;display:flex;flex-direction:column;gap:.5rem;padding:.9rem 1.8rem 1.2rem;border-top:1px solid var(--surface-border);background:var(--surface)}
.kgm__actions .btn{width:100%;min-height:3.1rem}
.kgm__actions .btn svg{font-size:1.1rem;transition:transform .25s cubic-bezier(.22,1,.36,1)}
.kgm__actions .btn:hover svg{transform:translateX(-4px)}

/* image counter: "۱ / ۳" */
.kgm__count{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;direction:rtl}
.kgm__count i{font-style:normal;opacity:.5}
.kgm__count span{color:var(--muted)}

@keyframes kgmFade{from{opacity:0}to{opacity:1}}
@keyframes kgmIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@keyframes kgmUp{from{transform:translateY(100%)}to{transform:none}}

/* phones: bottom sheet — image on top, details scroll underneath */
@media (max-width:760px){
  .kgm{padding:0;place-items:end center}
  .kgm__dialog{display:flex;flex-direction:column;width:100%;max-height:94dvh;border-radius:22px 22px 0 0;border-bottom:0;animation:kgmUp .35s cubic-bezier(.22,1,.36,1) both}
  .kgm__media{order:-1;flex:none;padding:.9rem .9rem .6rem}
  .kgm__stage{width:min(100%,38dvh)}
  .kgm__info{flex:1 1 auto;min-height:0}
  .kgm__scroll{padding:1rem 1.1rem .8rem}
  .kgm__head{margin-bottom:.9rem;padding-inline-end:0}
  .kgm__actions{padding:.75rem 1.1rem calc(.9rem + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){
  .kgm__backdrop,.kgm__dialog{animation:none}
  .kgm__nav,.kgm__thumb,.kgm__close,.kgm__actions .btn svg{transition:none}
}

/* view switcher (front/back/pages chips under gallery, on desktop = separate quick jump) */
.viewbar{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:.7rem;font-size:.72rem;color:var(--muted)}
.viewbar svg{color:var(--primary-dark)}

/* ===================== INFO + BUY ===================== */
.chips{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}
.chip{display:inline-flex;align-items:center;gap:.28rem;padding:.25rem .65rem;border-radius:999px;border:1px solid var(--surface-border);background:var(--glass);backdrop-filter:blur(8px);color:var(--heading);font-size:.7rem;font-weight:500;line-height:1.3;transition:border-color .2s,color .2s}
@media (hover:hover){a.chip:hover{border-color:var(--primary);color:var(--primary-dark)}}
.chip.ok{background:rgba(110,190,69,.16);border-color:rgba(110,190,69,.4);color:var(--ok)}
.chip.no{background:rgba(217,45,45,.1);border-color:rgba(217,45,45,.3);color:var(--discount)}
.chip .dot{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(110,190,69,.25)}
h1.title{font-size:2.3rem;line-height:1.4;font-weight:500;color:var(--heading);margin:0 0 .4rem;letter-spacing:-.01em}
.subline{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem 1.1rem;font-size:.84rem;color:var(--muted);margin-bottom:.9rem}
.subline a{color:var(--heading);font-weight:500;border-bottom:1px dashed rgba(110,190,69,.7)}
.subline a:hover{color:var(--primary-dark)}
.rating{display:inline-flex;align-items:center;gap:.4rem}
.stars{display:inline-flex;gap:1px;color:#f5b301;font-size:.9rem}
.lead{font-size:.92rem;color:var(--text);opacity:.85;margin:0 0 1.2rem;max-width:58ch;line-height:2}

/* ---- Buy card: hero of the page ---- */
.surface{background:var(--surface);border:1.5px solid var(--surface-border);border-radius:16px}

.notice{border-radius:12px;padding:.7rem .85rem;font-size:.78rem;line-height:1.8;display:flex;gap:.6rem;align-items:flex-start;margin-bottom:.95rem;border:1px solid var(--surface-border);background:var(--surface-soft)}
.notice .ic{font-size:1.1rem;color:var(--primary-dark);margin-top:.2rem}
.notice.warn .ic{color:var(--discount)}
.notice b{color:var(--heading);font-weight:500}

.btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;border-radius:14px;padding:.9rem 1.3rem;font-size:.95rem;font-weight:500;border:1px solid transparent;transition:background .25s,transform .2s,box-shadow .25s,border-color .25s,color .25s;line-height:1.3}
.btn:active{transform:scale(.98)}
.btn.primary{background:linear-gradient(165deg,#82d05a 0%,var(--primary) 45%,var(--primary-dark) 100%);color:#fff;box-shadow:0 14px 28px -10px rgba(110,190,69,.55);flex:1;min-height:3.15rem}
.btn.primary::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.45) 50%,transparent 65%);transform:translateX(120%);transition:transform .9s cubic-bezier(.22,1,.36,1)}
.btn.primary:hover::after{transform:translateX(-120%)}
.btn.primary:hover{box-shadow:0 16px 32px -8px rgba(110,190,69,.6);transform:translateY(-1px)}
.btn.primary .txt{position:relative;display:inline-flex;align-items:center;gap:.55rem;transition:opacity .2s,transform .2s}
.btn.primary.done{background:linear-gradient(165deg,#0d3a6b,var(--secondary))}
.btn.primary .check-pop{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:.5rem;opacity:0;transform:scale(.6);transition:opacity .25s,transform .3s cubic-bezier(.34,1.56,.64,1)}
.btn.primary.done .check-pop{opacity:1;transform:scale(1)}
.btn.primary.done .txt{opacity:0;transform:scale(.7)}
.btn.outline{background:transparent;border-color:var(--surface-border);color:var(--heading)}
.btn.outline:hover{border-color:var(--primary);color:var(--primary-dark)}
.btn.block{width:100%}
/* state visibility */
.only-digital,.only-oos,.only-var{display:none}
[data-state="digital"] .only-digital{display:revert}
[data-state="oos"] .only-oos{display:revert}
[data-state="variable"] .only-var{display:revert}
[data-state="digital"] .no-digital,[data-state="oos"] .no-oos{display:none!important}
[data-state="plain"] .tag,[data-state="digital"] .tag,[data-state="oos"] .tag,[data-state="plain"] .was,[data-state="plain"] .save,[data-state="oos"] .was,[data-state="oos"] .save{display:none}
[data-state="oos"] .pricebox{display:none}
[data-nodisc="1"] .tag,[data-nodisc="1"] .was,[data-nodisc="1"] .save{display:none}
[data-state="oos"] .buyrow.no-oos{display:none}

/* facts strip */
.pp{max-width:1250px;margin:0 auto;padding:0 1.25rem 1.5rem}

/* tabs */
.tabs-wrap{margin-top:2.6rem}
.tabnav{position:sticky;top:var(--stick,0px);z-index:20;display:flex;gap:.3rem;background:var(--bg);border-bottom:1px solid var(--surface-border);padding:.5rem 0;overflow-x:auto;scrollbar-width:none}
.tabnav::-webkit-scrollbar{display:none}
.tabnav button{border:0;background:transparent;color:var(--muted);font-size:.88rem;padding:.55rem 1.15rem;border-radius:12px;white-space:nowrap;position:relative;transition:color .2s,background .2s}
.tabnav button:hover{color:var(--heading)}
.tabnav button[aria-selected="true"]{color:var(--heading);font-weight:500;background:var(--surface-soft)}
.tabnav button[aria-selected="true"]::after{content:"";position:absolute;inset-inline:1.15rem;bottom:2px;height:2px;border-radius:2px;background:var(--primary)}
.tabnav .cnt{display:inline-grid;place-items:center;min-width:1.35rem;height:1.35rem;border-radius:999px;background:rgba(110,190,69,.18);color:var(--ok);font-size:.68rem;margin-inline-start:.3rem}
.tabbody{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:2.2rem;padding-top:1.7rem;align-items:start}
.prose{font-size:.95rem;line-height:2.1;max-width:68ch}
.prose h2{font-size:1.2rem;color:var(--heading);margin:0 0 .6rem;font-weight:500}
.prose p{margin:0 0 1rem}
.prose ul{padding-inline-start:1.2rem;margin:0 0 1.5rem}
.prose li::marker{color:var(--primary)}
.excerpt{margin-top:1.6rem;padding:1.4rem 1.6rem 1.5rem;background:#fbf9f3;color:#2b2a26;border-radius:14px;border:1px solid rgba(80,60,20,.14);box-shadow:0 14px 30px -18px rgba(60,40,10,.45);position:relative;max-width:60ch}
:root[data-theme="dark"] .excerpt,html.dark .excerpt{background:#efe9da;color:#26241f}
.excerpt small{display:flex;align-items:center;gap:.4rem;font-size:.7rem;color:#8a7f66;margin-bottom:.5rem}
.excerpt p{margin:0;font-size:.95rem;line-height:2.2}
.excerpt p::first-letter{float:right;font-size:3.1rem;line-height:.9;margin:.35rem 0 0 .5rem;color:#082442}
.aside{display:grid;gap:1rem;position:sticky;top:calc(var(--stick,0px) + 4.4rem)}
.card{padding:1.15rem}
.card h3{margin:0 0 .35rem;font-size:.98rem;color:var(--heading);font-weight:500}
.card p{margin:0 0 .8rem;font-size:.8rem;color:var(--muted);line-height:1.9}
.otrack{list-style:none;margin:.2rem 0 .9rem;padding:0;display:grid;gap:0}
.otrack li{position:relative;padding:0 1.6rem .85rem 0;font-size:.78rem;line-height:1.6;color:var(--heading)}
.otrack li small{display:block;color:var(--muted);font-size:.7rem}
.otrack li::before{content:"";position:absolute;right:0;top:.35rem;width:11px;height:11px;border-radius:50%;background:var(--surface);border:2px solid var(--primary)}
.otrack li:not(:last-child)::after{content:"";position:absolute;right:5px;top:1.1rem;bottom:-.1rem;width:1.5px;background:var(--surface-border)}
.otrack li:last-child{padding-bottom:0}
.otrack li:last-child::before{background:var(--primary)}
.table{width:100%;border-collapse:collapse;font-size:.88rem}
.table th,.table td{padding:.8rem 1.1rem;text-align:start;border-bottom:1px solid var(--surface-border)}
.table th{width:34%;color:var(--muted);font-weight:400;background:var(--surface-soft)}
.table td{color:var(--heading);font-weight:500}
.table tr:last-child th,.table tr:last-child td{border-bottom:0}
.rev-sum{display:grid;grid-template-columns:160px 1fr;gap:1.6rem;padding:1.3rem;align-items:center;margin-bottom:1rem}
.rev-sum .big{font-size:3rem;font-weight:500;color:var(--heading);line-height:1}
.bars{display:grid;gap:.4rem}
.bar-r{display:grid;grid-template-columns:22px 1fr 28px;gap:.5rem;align-items:center;font-size:.72rem;color:var(--muted)}
.bar-r i{display:block;height:7px;border-radius:4px;background:var(--surface-soft);position:relative;overflow:hidden}
.bar-r i::after{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:var(--w);background:linear-gradient(90deg,var(--primary),#9fd97a);border-radius:4px}
.rev{padding:1.05rem 1.15rem;margin-bottom:.8rem}
.rev header{display:flex;align-items:center;gap:.7rem;margin-bottom:.4rem}
.av{width:38px;height:38px;border-radius:50%;background:var(--secondary);color:#fff;display:grid;place-items:center;font-size:.85rem;font-weight:500;flex:none}
.rev header b{font-size:.86rem;color:var(--heading);font-weight:500}
.rev header small{color:var(--muted);font-size:.7rem;display:flex;align-items:center;gap:.3rem;line-height:1.5}
.rev header small svg{color:var(--primary-dark)}
.rev p{margin:0;font-size:.85rem;line-height:2}

/* author + related */
.author{display:flex;gap:1.2rem;align-items:center;padding:1.2rem 1.4rem;margin-top:2.6rem}
.author .av{width:60px;height:60px;font-size:1.2rem}
.author :is(h2,h3){margin:0;font-size:1rem;color:var(--heading);font-weight:500}
.author p{margin:.15rem 0 0;font-size:.8rem;color:var(--muted)}
.spines{display:flex;margin-inline-start:auto;flex:none}
.spines .sm{width:44px;aspect-ratio:200/280;border-radius:3px;overflow:hidden;box-shadow:-3px 5px 10px rgba(8,24,42,.25);margin-inline-start:-14px;transition:transform .4s cubic-bezier(.22,1,.36,1)}
.spines .sm svg{display:block;width:100%;height:100%}
.author:hover .sm:nth-child(1){transform:translateY(-4px) rotate(-3deg)}
.author:hover .sm:nth-child(3){transform:translateY(-4px) rotate(3deg)}
.sec-head{display:flex;align-items:center;justify-content:space-between;margin:2.8rem 0 1.1rem}
.sec-head h2{margin:0;font-size:1.25rem;color:var(--heading);font-weight:500}
.sec-head a{font-size:.8rem;color:var(--primary-dark)}
.rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.mini{padding:.7rem;display:flex;flex-direction:column;gap:.55rem;cursor:pointer;text-align:start;font:inherit;color:inherit;width:100%;transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .5s,border-color .3s}
@media (hover:hover){.mini:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:rgba(110,190,69,.55)}}
.mini .pic{border-radius:12px;padding:13% 22%;position:relative;background:var(--panel)}
.mini .pic img,.mini .pic svg{display:block;width:100%;border-radius:4px 2px 2px 4px;box-shadow:-6px 9px 16px rgba(8,24,42,.3)}
.mini .mtag{position:absolute;top:0;inset-inline-end:.5rem;width:2.1rem;padding:.35rem .15rem .7rem;background:var(--discount);color:#fff;font-size:.62rem;text-align:center;line-height:1.2;clip-path:polygon(0 0,100% 0,100% 78%,50% 100%,0 78%)}
.mini :is(h3,h4){margin:0;font-size:.86rem;line-height:1.7;color:var(--heading);font-weight:500;min-height:3.4em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mini .a{font-size:.7rem;color:var(--muted)}
.mini .foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto}
.mini .p{font-size:1rem;font-weight:500;color:var(--heading);line-height:1.3}
.mini .p s{display:block;font-size:.66rem;font-weight:400;color:#9aa3ac}
.mini .add{width:40px;height:40px;border-radius:10px;background:linear-gradient(165deg,#7bcc52,var(--primary) 42%,var(--primary-dark));color:#fff;font-size:1.05rem;display:grid;place-items:center}
.ftr{background:var(--nav-bg);padding:1.6rem 1.25rem;font-size:.78rem;color:var(--muted);text-align:center;border-top:1px solid var(--surface-border)}
.hdr-min{position:absolute;top:1rem;inset-inline-end:1.1rem;z-index:30;display:flex;justify-content:flex-end}


.mnav{display:none}

/* responsive */
@container (max-width:1040px){
  .hero-grid{grid-template-columns:1fr;gap:1.2rem}
  h1.title{font-size:2rem}
  .tabbody{grid-template-columns:1fr}
  .aside{position:static}
  .rail{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rail .mini:nth-child(4){display:none}
}
@container (max-width:640px){
  .topbar,.hnav,.hdr .search{display:none}
  .hdr{padding:.6rem 1rem}.hdr .cartbtn{margin-inline-start:auto}
  .hero{padding:.8rem 1rem 3.6rem}
  .katabam-product-page .hero .about-breadcrumb{width:100%;max-width:100%;margin-bottom:.85rem}
  .katabam-product-page .hero .about-breadcrumb__list{display:flex;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;max-width:100%;padding:.2rem .35rem}
  .katabam-product-page .hero .about-breadcrumb__list::-webkit-scrollbar{display:none}
  .katabam-product-page .hero .about-breadcrumb__item{flex-shrink:0}
  #katabam-product-root .kg{margin-inline:-1rem}
  #katabam-product-root .kg:not([data-axis="y"]) .kg__stage{aspect-ratio:4/5;border-radius:0;border-inline:0}
  #katabam-product-root .kg:not([data-axis="y"]) .kg__thumbs{padding-inline:1rem}
  #katabam-product-root .kg:not([data-axis="y"]) .kg__thumb{width:72px;border-radius:12px}
  #katabam-product-root .kg__acts{top:3.4rem;inset-inline-end:.75rem}
  #katabam-product-root .kg__act{width:38px;height:38px}
  #katabam-product-root .kg__act::after{display:none}
  .pp{padding:0 1rem 1.5rem}
  h1.title{font-size:1.6rem}
  .lead{font-size:.88rem}
  .rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:.8rem;padding-bottom:.4rem;margin-inline:-1rem;padding-inline:1rem;scrollbar-width:none}
  .rail .mini{flex:0 0 52%;scroll-snap-align:start}
  .rail .mini:nth-child(4){display:flex}
  .rev-sum{grid-template-columns:1fr}
  .author{flex-wrap:wrap}.spines{margin-inline-start:0}
  .sec-head{margin-top:2.2rem}
  .mnav{display:flex;position:sticky;bottom:0;z-index:41;height:62px;background:var(--surface);border-top:1px solid var(--surface-border);justify-content:space-around;align-items:center;font-size:.62rem;color:var(--muted)}
  .mnav span{display:grid;justify-items:center;gap:2px}
  .mnav svg{font-size:1.25rem}
  .mnav .on{color:var(--primary-dark);font-weight:500}
  .ftr{display:none}
}

/* ==========================================================================
   Katabam — product page v1.3.2
   1) quick-view modal: bigger thumbs, new media background, hidden scrollbar
   2) modal product attributes: infinite marquee of dot-chips with pulse
   3) about-surface hover animation (same as about / contact / blog / shop)
   4) animated book icon hover triggers
   ========================================================================== */

/* ---------- 1) quick-view modal ---------- */

/* thumbnails under the main image: bigger */
.kgm__thumbs{gap:.6rem;padding:5px 4px}
.kgm__thumb{flex:0 0 78px;border-radius:12px;border-width:1.5px;opacity:.6}
.kgm__thumb:hover{opacity:1}
.kgm__thumb[aria-current="true"]{opacity:1;border-color:var(--primary);box-shadow:0 0 0 3px rgba(110,190,69,.18)}
.kgm__stage{width:min(100%,calc(100dvh - 12.5rem))}

/* media panel background: soft green glow + faint grid (same language as the hero) */
.kgm{--kgm-grid:rgba(8,36,66,.06)}
:root[data-theme="dark"] .kgm,html.dark .kgm{--kgm-grid:rgba(255,255,255,.05)}
.kgm__media{
  position:relative;isolation:isolate;
  background:
    radial-gradient(90% 55% at 50% 0%,rgba(110,190,69,.16),transparent 70%),
    radial-gradient(80% 50% at 50% 100%,rgba(110,190,69,.08),transparent 70%),
    var(--surface-soft);
}
.kgm__media::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(var(--kgm-grid) 1px,transparent 1px),linear-gradient(90deg,var(--kgm-grid) 1px,transparent 1px);
  background-size:26px 26px;
  -webkit-mask-image:radial-gradient(80% 70% at 50% 45%,#000 25%,transparent 100%);
  mask-image:radial-gradient(80% 70% at 50% 45%,#000 25%,transparent 100%);
}
.kgm__stage{box-shadow:0 26px 44px -28px rgba(8,36,66,.5)}

/* details column: no visible scrollbar (still scrolls) */
.kgm__scroll{scrollbar-width:none;-ms-overflow-style:none}
.kgm__scroll::-webkit-scrollbar{display:none;width:0;height:0}

@media (max-width:760px){
  .kgm__thumbs{gap:.5rem}
  .kgm__thumb{flex-basis:64px;border-radius:11px}
  .kgm__stage{width:min(100%,36dvh)}
}

/* ---------- 2) attributes grid (see v1.3.4 at the end of the file) ---------- */
.kgm__sub{margin-bottom:.6rem}

/* ---------- 3) about-surface hover animation on the product page ---------- */
/* the effect reads --about-* tokens that about-page.css only defines on about/blog/shop;
   map them to this page's own tokens so light + dark both work */
.katabam-product-page,.kgm{
  --about-surface:var(--surface);
  --about-surface-soft:var(--surface-soft);
  --about-surface-border:var(--surface-border);
  --about-spotlight:rgba(110,190,69,.09);
  --about-glare:rgba(110,190,69,.07);
  --about-border-beam:#6ebe45;
  --about-border-beam-soft:#9fd97a;
}
:root[data-theme="dark"] .katabam-product-page,html.dark .katabam-product-page,:root[data-theme="dark"] .kgm,html.dark .kgm{
  --about-spotlight:rgba(110,190,69,.1);
  --about-glare:rgba(255,255,255,.07);
  --about-border-beam:#7ed957;
  --about-border-beam-soft:#b6e89a;
}
/* .surface (above) paints its own solid border/background — hand both over to .about-surface */
.surface.about-surface{border-color:transparent}
.surface.about-surface:not(:is(:hover,.is-hov)){
  background:
    linear-gradient(var(--about-surface),var(--about-surface)) padding-box,
    linear-gradient(var(--about-surface-border),var(--about-surface-border)) border-box;
  background-origin:border-box;
  background-clip:padding-box,border-box;
}
/* related-book cards had their own lift + green border: let the shared effect drive it */
@media (hover:hover){.mini.about-surface:is(:hover,.is-hov){border-color:transparent;box-shadow:0 18px 42px rgba(8,24,42,.1),0 0 0 1px rgba(110,190,69,.08)}}
@media (hover:hover){:root[data-theme="dark"] .mini.about-surface:is(:hover,.is-hov),html.dark .mini.about-surface:is(:hover,.is-hov){box-shadow:0 18px 42px rgba(0,0,0,.45),0 0 0 1px rgba(110,190,69,.12)}}

/* ---------- 4) animated book icon: also play on hover of its chip / fact / card ---------- */
@media (hover:hover){
  :is(.chip,.fact,.fmt,.about-surface):hover .kgm-ic--book{animation:kgBook .9s ease-in-out}
  :is(.chip,.fact,.fmt,.about-surface):hover .kgm-ic--book .spine{animation:kgSpine .6s ease-in-out}
  :is(.chip,.fact,.fmt,.about-surface):hover .kgm-ic--book .pages{transform-box:fill-box;transform-origin:center;animation:kgPages .8s ease-in-out .2s}
}


/* ==========================================================================
   v1.3.3 — quick-view modal: new "more" link, draggable mobile sheet,
            smaller + inset product gallery on phones
   ========================================================================== */

/* drag handle: only used by the mobile sheet */
.kgm__grab{display:none}

/* ---------- phones: draggable bottom sheet (same behaviour as the shop filters) ---------- */
@media (max-width:760px){
  .kgm{padding:0;place-items:end center;overflow:hidden}
  .kgm__backdrop{animation:none;transition:opacity .25s ease}
  .kgm__dialog{
    position:absolute;left:0;right:0;bottom:0;width:100%;
    height:94dvh;max-height:94dvh;
    display:flex;flex-direction:column;
    padding-bottom:var(--kgm-hide,0px);
    border-radius:22px 22px 0 0;border-bottom:0;
    animation:none;will-change:transform;
    box-shadow:0 -10px 40px rgba(8,24,42,.22);
  }
  .kgm__dialog.is-dragging{cursor:grabbing}
  .kgm__grab{
    display:flex;justify-content:center;align-items:flex-start;flex:none;
    height:1.75rem;padding-top:.6rem;cursor:grab;touch-action:none;
    -webkit-user-select:none;user-select:none;
    background:var(--surface-soft);
  }
  .kgm__handle{width:2.5rem;height:.3rem;border-radius:999px;background:rgba(8,24,42,.22)}
  :root[data-theme="dark"] .kgm__handle,html.dark .kgm__handle{background:rgba(255,255,255,.28)}
  .kgm__close{top:.55rem;width:34px;height:34px;z-index:5}

  /* smaller, centred gallery inside the sheet */
  .kgm__media{order:-1;flex:none;gap:.55rem;padding:.2rem 1rem .75rem}
  .kgm__stage{width:min(100%,30dvh,300px);border-radius:14px}
  .kgm__nav{width:30px;height:30px;font-size:1rem}
  .kgm__thumbs{gap:.45rem;padding:4px}
  .kgm__thumb{flex-basis:50px;border-radius:10px}

  .kgm__info{flex:1 1 auto;min-height:0}
  .kgm__scroll{padding:1rem 1.1rem .6rem;-webkit-overflow-scrolling:touch}
  .kgm__head{padding-inline-end:0}
  .kgm__actions{padding:.7rem 1.1rem calc(.8rem + env(safe-area-inset-bottom,0px))}
}

/* ---------- phones: product page gallery — smaller, inset from the screen edges ---------- */
@container (max-width:640px){
  #katabam-product-root .kg{margin-inline:auto;width:100%;max-width:min(100%,340px)}
  #katabam-product-root .kg:not([data-axis="y"]) .kg__stage{aspect-ratio:1/1;border-radius:18px;border:1.5px solid var(--surface-border)}
  #katabam-product-root .kg:not([data-axis="y"]) .kg__thumbs{padding-inline:0}
  #katabam-product-root .kg:not([data-axis="y"]) .kg__thumbs-container{justify-content:center}
  #katabam-product-root .kg:not([data-axis="y"]) .kg__thumb{width:56px;border-radius:11px}
  #katabam-product-root .kg__acts{top:3.2rem;inset-inline-end:.7rem}
  #katabam-product-root .kg__act{width:34px;height:34px}
  #katabam-product-root .kg .tag{inset-inline-start:.7rem}
  #katabam-product-root .kg .fmt{top:.7rem;inset-inline-end:.7rem}
  #katabam-product-root .kg__count{bottom:.7rem;inset-inline-start:.7rem}
  #katabam-product-root .kg .zoom-btn{bottom:.7rem;inset-inline-end:.7rem}
}


/* ==========================================================================
   v1.3.4 — quick-view modal: "more" card + attributes grid
   Both use .about-surface (same hover as about / contact / blog pages:
   lift, spotlight, glare and the travelling green border beam).
   ========================================================================== */

/* ---------- "full description & reviews" card ---------- */
.kgm__actions .kgm__more{
  display:flex;align-items:center;gap:.85rem;width:100%;
  padding:.8rem .9rem;border-radius:18px;color:var(--heading);text-align:start;
}
.kgm__more-ic{
  flex:none;width:2.7rem;height:2.7rem;border-radius:14px;display:grid;place-items:center;font-size:1.3rem;
  color:var(--primary-dark);background:rgba(110,190,69,.15);
  transition:background .3s,color .3s,transform .4s cubic-bezier(.22,1,.36,1);
}
.kgm__more-txt{flex:1 1 auto;min-width:0;display:grid;gap:.1rem}
.kgm__more-txt b{font-size:.95rem;font-weight:500;line-height:1.6;color:var(--heading)}
.kgm__more-txt small{font-size:.72rem;line-height:1.6;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kgm__more-go{
  flex:none;width:2rem;height:2rem;border-radius:50%;display:grid;place-items:center;font-size:1rem;
  color:var(--muted);border:1px solid var(--surface-border);
  transition:background .3s,color .3s,border-color .3s,transform .4s cubic-bezier(.22,1,.36,1);
}
.kgm__more:active{transform:scale(.985)}
@media (hover:hover){
  .kgm__more:hover .kgm__more-ic{background:var(--primary);color:#fff;transform:rotate(-6deg) scale(1.05)}
  .kgm__more:hover .kgm__more-go{background:var(--primary);border-color:var(--primary);color:#fff;transform:translateX(-4px)}
}
.kgm__actions .btn.outline{min-height:2.9rem}

/* ---------- attributes: tidy 2-column grid (max 6) ---------- */
.kgm__specs{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0;padding:0;
}
.kgm__spec,.kgm__spec:last-child{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.15rem;
  min-width:0;white-space:normal;padding:.65rem .85rem;border-radius:14px;
  border:1.5px solid transparent;
}
.kgm__spec:last-child:nth-child(odd){grid-column:1/-1}
.kgm__spec dt{
  position:relative;display:flex;align-items:center;gap:.4rem;margin:0;
  font-size:.7rem;color:var(--muted);line-height:1.6;
}
.kgm__spec dt::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--primary)}
.kgm__spec dd{
  margin:0;padding:0;border:0;min-width:0;max-width:100%;
  font-size:.86rem;font-weight:500;color:var(--heading);line-height:1.7;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.kgm .about-surface{border-radius:14px}
.kgm .kgm__actions .kgm__more.about-surface{border-radius:18px}

/* ==========================================================================
   Katabam — product page v1.4
   Redesign: byline chips, spec grid (.lead), buy card (price ticket + CTA + perks)
   All JS hooks (ids / .sw-card / .qty / .btn.primary.done) are unchanged.
   ========================================================================== */

/* ---------- byline: author / publisher as icon chips ---------- */
#katabam-product-root .subline{gap:.5rem .6rem;margin-bottom:1.1rem;font-size:.82rem}
#katabam-product-root .subline__item{display:inline-flex;align-items:center;gap:.5rem;min-width:0;padding:.28rem .85rem .28rem .5rem;border:1px solid var(--surface-border);border-radius:999px;background:var(--glass);backdrop-filter:blur(8px);color:var(--muted);line-height:1.5}
#katabam-product-root .subline__ic{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:rgba(110,190,69,.18);color:var(--primary-dark);font-size:.95rem}
#katabam-product-root .subline__ic svg{width:1em;height:1em}
#katabam-product-root .subline__item a,#katabam-product-root .subline__item b{color:var(--heading);font-weight:500;border:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#katabam-product-root .subline__item a{transition:color .2s}
#katabam-product-root .subline__item a:hover{color:var(--primary-dark)}
#katabam-product-root .subline__item:has(a:hover){border-color:var(--primary)}
@media (hover:hover){
  #katabam-product-root .subline__item:hover .kgm-ic--feather{animation:kgFeather 1.6s ease-in-out}
}

/* ---------- lead: highlights grid (2 columns, plain or "label: value") ---------- */
#katabam-product-root .lead{max-width:none;opacity:1;margin:0 0 1.15rem;line-height:1.7}
#katabam-product-root .lead__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
#katabam-product-root .lead__item{display:flex;align-items:center;gap:.65rem;min-width:0;padding:.6rem .85rem .6rem .75rem;border:1px solid var(--surface-border);border-radius:14px;background:var(--glass);backdrop-filter:blur(8px)}
#katabam-product-root .lead__item:last-child:nth-child(odd){grid-column:1/-1}
#katabam-product-root .lead__ic{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:rgba(110,190,69,.16);color:var(--primary-dark);font-size:1rem}
#katabam-product-root .lead__ic--dot{width:auto;height:auto;border-radius:0;background:transparent}
#katabam-product-root .lead__dot{
  display:block;width:9px;height:9px;border-radius:50%;background:var(--primary);
  box-shadow:0 0 0 0 rgba(110,190,69,.45);
  animation:leadDotPulse 2s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes leadDotPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(110,190,69,.5);transform:scale(1)}
  50%{box-shadow:0 0 0 7px rgba(110,190,69,0);transform:scale(1.08)}
}
@media (prefers-reduced-motion:reduce){
  #katabam-product-root .lead__dot{animation:none;box-shadow:0 0 0 3px rgba(110,190,69,.22)}
}
#katabam-product-root .lead__item--plain .lead__ic svg{stroke-width:2.6;width:.85em;height:.85em}
#katabam-product-root .lead__txt{display:grid;min-width:0}
#katabam-product-root .lead__txt small{font-size:.68rem;color:var(--muted);line-height:1.5}
#katabam-product-root .lead__txt b{font-size:.84rem;font-weight:500;color:var(--heading);line-height:1.6;overflow-wrap:anywhere}
#katabam-product-root .lead__item--plain .lead__txt b{font-weight:400;color:var(--text)}
/* fallback: untouched list -> keep it tidy */
#katabam-product-root .lead>ul:not(.lead__grid){margin:0;padding-inline-start:1.2rem}

@container (max-width:640px){
  #katabam-product-root .lead__item{padding:.55rem .65rem;gap:.5rem}
  #katabam-product-root .lead__ic{width:26px;height:26px;font-size:.9rem}
  #katabam-product-root .lead__txt b{font-size:.78rem}
}
@container (max-width:480px){
  #katabam-product-root .lead__item{gap:.4rem;padding:.5rem .6rem}
  #katabam-product-root .lead__ic{width:22px;height:22px;font-size:.85rem}
}
@media (prefers-reduced-motion:reduce){
  #katabam-product-root .subline__item{transition:none}
}

/* =====================================================================
   v1.5 — publisher chip link, quieter price, cleaner variation cards
   ===================================================================== */

/* publisher: the whole chip is the link */
#katabam-product-root a.subline__item{border:1px solid var(--surface-border);text-decoration:none;cursor:pointer;transition:border-color .2s,background-color .2s,transform .2s}
#katabam-product-root a.subline__item b{transition:color .2s}
#katabam-product-root a.subline__item:hover,
#katabam-product-root a.subline__item:focus-visible{border-color:var(--primary);background:rgba(110,190,69,.08)}
#katabam-product-root a.subline__item:hover b,
#katabam-product-root a.subline__item:focus-visible b{color:var(--primary-dark)}
#katabam-product-root a.subline__item:focus-visible{outline:2px solid rgba(110,190,69,.55);outline-offset:2px}
#katabam-product-root a.subline__item:active{transform:scale(.98)}

/* ==========================================================================
   Katabam — product page v2.0
   Buy box · variation wizard · sticky dock · mobile / tablet bar
   One source of truth: everything that used to be layered across v1.x
   (swatch cards, price ticket, quiet buy box, compact wizard, dock) lives here.
   JS hooks (ids, .done, .is-attention) are unchanged; new states are
   .is-needs (pick an option first) and .is-loading (request in flight).
   ========================================================================== */

#katabam-product-root{
  --pb-ease:cubic-bezier(.22,1,.36,1);
  --pb-spring:cubic-bezier(.34,1.56,.64,1);
  --pb-line:var(--surface-border);
  --pb-field:var(--surface-soft);
  --pb-tint:rgba(110,190,69,.09);
  --pb-tint-2:rgba(110,190,69,.16);
  --pb-ring:rgba(110,190,69,.24);
  --pb-cta:linear-gradient(180deg,#6dc144 0%,#59ae34 58%,#4b9d2c 100%);
  --pb-cta-hover:linear-gradient(180deg,#78cb4f 0%,#5fb53a 58%,#4fa330 100%);
  --pb-bar-bg:rgba(255,255,255,.88);
  --pb-lift:0 1px 2px rgba(8,24,42,.08),0 6px 14px -8px rgba(8,24,42,.2);
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root{
  --pb-tint:rgba(126,217,87,.1);
  --pb-tint-2:rgba(126,217,87,.17);
  --pb-ring:rgba(126,217,87,.28);
  --pb-bar-bg:rgba(14,34,54,.9);
  --pb-lift:0 1px 2px rgba(0,0,0,.35),0 8px 18px -10px rgba(0,0,0,.6);
}

/* ---------------------------------------------------------------- buy card */
#katabam-product-root .buy{
  position:relative;padding:1.4rem 1.45rem 1.5rem;border-radius:24px;overflow:visible;
  background:var(--surface);border:1px solid var(--pb-line);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 28px 56px -34px rgba(8,24,42,.34);
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .buy{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 28px 56px -34px rgba(0,0,0,.75);
}

#katabam-product-root .buy .notice{
  margin:0 0 1.15rem;padding:.8rem .95rem;border:0;border-radius:14px;background:var(--pb-field);
}

/* ------------------------------------------------------------------- price */
#katabam-product-root .pricebox{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.55rem 1rem;
  margin:0 0 1.2rem;padding:0 0 1.2rem;border-bottom:1px solid var(--pb-line);
}
#katabam-product-root .pricebox__main{display:flex;align-items:baseline;flex-wrap:wrap;gap:.1rem .85rem;min-width:0}
#katabam-product-root .now{
  display:inline-block;font-size:2.15rem;font-weight:700;line-height:1.2;letter-spacing:-.01em;
  color:var(--heading);font-variant-numeric:tabular-nums;
}
#katabam-product-root .now .woocommerce-Price-currencySymbol{
  font-size:.48em;font-weight:500;color:var(--muted);margin-inline-start:.3em;letter-spacing:0;
}
#katabam-product-root .now ins,#katabam-product-root .now del{text-decoration:none}
#katabam-product-root .now del{display:none}
#katabam-product-root .now.flip{animation:pbPriceIn .42s var(--pb-ease)}
@keyframes pbPriceIn{
  0%{opacity:0;transform:translateY(8px)}
  100%{opacity:1;transform:none}
}
#katabam-product-root .was{display:inline-flex;align-items:center;gap:.5rem;min-height:0;font-size:.86rem;color:var(--muted)}
#katabam-product-root .was s{text-decoration-thickness:1px;opacity:.85;font-variant-numeric:tabular-nums}
#katabam-product-root .was .off,#katabam-product-root .pr__off,#katabam-product-root .dp__off{
  display:inline-block;padding:.04rem .5rem;border-radius:999px;background:var(--discount);color:#fff;
  font-size:.72rem;font-weight:700;line-height:1.6;letter-spacing:0;
}
#katabam-product-root .save{
  display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .8rem;border-radius:999px;
  background:var(--pb-tint);border:1px solid rgba(110,190,69,.3);
  color:var(--ok);font-size:.78rem;font-weight:600;line-height:1.6;white-space:nowrap;
}
#katabam-product-root .save::before{
  content:"";width:.42rem;height:.42rem;border-radius:50%;background:var(--primary);flex:none;
}

/* --------------------------------------------------------- variation wizard */
#katabam-product-root .pw{display:grid;gap:1rem;margin:0 0 1.3rem;border-radius:18px}
#katabam-product-root .pw.is-attention{animation:pwAttention .8s ease}
@keyframes pwAttention{
  0%,100%{box-shadow:0 0 0 0 transparent}
  35%{box-shadow:0 0 0 7px var(--pb-ring)}
}

/* steps: one segmented control, current step lifted */
#katabam-product-root .pw__steps{
  list-style:none;margin:0;padding:.28rem;gap:.28rem;
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
  border-radius:16px;background:var(--pb-field);
  overflow-x:auto;scrollbar-width:none;
}
#katabam-product-root .pw__steps::-webkit-scrollbar{display:none}
#katabam-product-root .pw__steps.is-many{grid-auto-columns:minmax(7rem,1fr)}
#katabam-product-root .pw__step{min-width:0}
#katabam-product-root .pw__step-btn{
  width:100%;display:flex;align-items:center;gap:.6rem;padding:.55rem .65rem;
  border:0;border-radius:12px;background:transparent;color:var(--muted);text-align:start;
  transition:background-color .25s,box-shadow .25s,color .25s;
}
#katabam-product-root .pw__step-btn:focus-visible{outline-offset:-2px}
@media (hover:hover){
  #katabam-product-root .pw__step-btn:not(.is-locked):hover{color:var(--heading)}
}
#katabam-product-root .pw__step.is-current .pw__step-btn{background:var(--surface);color:var(--heading);box-shadow:var(--pb-lift)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .pw__step.is-current .pw__step-btn{background:rgba(255,255,255,.09)}
#katabam-product-root .pw__step-btn.is-locked{opacity:.5;cursor:not-allowed}
#katabam-product-root .pw__step-badge{
  flex:none;width:1.55rem;height:1.55rem;display:grid;place-items:center;border-radius:50%;
  border:1.5px solid var(--pb-line);background:transparent;color:var(--muted);
  font-size:.72rem;font-weight:700;line-height:1;
  transition:background-color .25s,border-color .25s,color .25s,transform .35s var(--pb-spring);
}
#katabam-product-root .pw__step.is-current .pw__step-badge{border-color:var(--primary);color:var(--primary-dark)}
#katabam-product-root .pw__step.is-done .pw__step-badge{background:var(--primary);border-color:var(--primary);color:#fff}
#katabam-product-root .pw__step-badge svg{width:.8rem;height:.8rem;stroke-width:3.2}
#katabam-product-root .pw__step-text{display:grid;min-width:0;line-height:1.4}
#katabam-product-root .pw__step-name{font-size:.7rem;font-weight:500;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#katabam-product-root .pw__step-value{font-size:.82rem;font-weight:700;color:var(--heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#katabam-product-root .pw__step:not(.is-done) .pw__step-value{font-weight:500;color:var(--muted);opacity:.7}

/* head: question + back + counter */
#katabam-product-root .pw__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:1.9rem;margin:0 0 .8rem}
#katabam-product-root .pw__hint{margin:0;font-size:.95rem;font-weight:700;color:var(--heading);line-height:1.6}
#katabam-product-root .pw__tools{display:flex;align-items:center;gap:.5rem;flex:none}
#katabam-product-root .pw__count{
  padding:.12rem .65rem;border-radius:999px;background:var(--pb-field);
  font-size:.72rem;font-weight:600;color:var(--muted);white-space:nowrap;
}
#katabam-product-root .pw__back{
  display:inline-flex;align-items:center;gap:.25rem;padding:.22rem .7rem .22rem .55rem;
  border:1px solid var(--pb-line);border-radius:999px;background:transparent;color:var(--muted);
  font-size:.75rem;font-weight:600;line-height:1.6;
  transition:color .2s,border-color .2s,background-color .2s,transform .15s;
}
#katabam-product-root .pw__back svg{width:.95rem;height:.95rem}
@media (hover:hover){
  #katabam-product-root .pw__back:hover{color:var(--primary-dark);border-color:var(--primary);background:var(--pb-tint)}
}
#katabam-product-root .pw__back:active{transform:scale(.96)}

/* options */
#katabam-product-root .pw__list{
  list-style:none;margin:0;padding:.35rem .35rem .1rem;margin-inline:-.35rem;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(7.4rem,1fr));gap:.6rem;
}
#katabam-product-root .pw__item{display:flex;min-width:0}
#katabam-product-root .pw__opt{
  position:relative;flex:1;min-width:0;min-height:2.9rem;padding:.55rem .85rem;
  display:flex;align-items:center;justify-content:center;gap:.55rem;
  border:1.5px solid var(--pb-line);border-radius:14px;background:var(--surface);color:var(--heading);
  font:inherit;font-size:.88rem;font-weight:600;line-height:1.4;
  transition:border-color .2s,background-color .2s,box-shadow .25s,transform .18s var(--pb-ease);
}
@media (hover:hover){
  #katabam-product-root .pw__opt:hover:not(:disabled):not(.is-selected){border-color:rgba(110,190,69,.7);background:var(--pb-tint)}
}
#katabam-product-root .pw__opt:active:not(:disabled){transform:scale(.97)}
#katabam-product-root .pw__opt.is-selected{border-color:var(--primary);background:var(--pb-tint-2);box-shadow:0 0 0 3px var(--pb-ring)}
#katabam-product-root .pw__swatch{
  flex:none;width:1.1rem;height:1.1rem;border-radius:50%;background:var(--sw,transparent);
  box-shadow:inset 0 0 0 1px rgba(8,24,42,.24),0 0 0 2px var(--surface),0 0 0 3px var(--pb-line);
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .pw__swatch{box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),0 0 0 2px var(--surface),0 0 0 3px var(--pb-line)}
#katabam-product-root .pw__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#katabam-product-root .pw__tick{
  position:absolute;top:-.45rem;inset-inline-end:-.45rem;width:1.2rem;height:1.2rem;display:grid;place-items:center;
  border-radius:50%;background:var(--primary);color:#fff;box-shadow:0 0 0 2px var(--surface);
  transform:scale(0);opacity:0;transition:transform .32s var(--pb-spring),opacity .2s;
}
#katabam-product-root .pw__tick svg{width:.72rem;height:.72rem;stroke-width:3.4}
#katabam-product-root .pw__opt.is-selected .pw__tick{transform:scale(1);opacity:1}

#katabam-product-root .pw__opt.is-unavailable{background:transparent;border-style:dashed;color:var(--muted);cursor:not-allowed}
#katabam-product-root .pw__opt.is-unavailable .pw__label{text-decoration:line-through;text-decoration-thickness:1px;opacity:.65}
#katabam-product-root .pw__opt.is-unavailable .pw__swatch{opacity:.4;filter:grayscale(.7)}
#katabam-product-root .pw__tag{
  flex:none;padding:.02rem .5rem;border-radius:999px;background:rgba(217,45,45,.1);color:var(--discount);
  font-size:.64rem;font-weight:700;line-height:1.7;
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .pw__tag{background:rgba(255,120,120,.14);color:#ff9a9a}

#katabam-product-root .pw__list.is-enter .pw__item{animation:pwIn .42s var(--pb-ease) both;animation-delay:calc(var(--i,0)*40ms)}
@keyframes pwIn{
  0%{opacity:0;transform:translateY(10px) scale(.97)}
  100%{opacity:1;transform:none}
}

/* "pick the previous step first" hint — appended to <body> by JS */
.pw__tip{
  position:fixed;z-index:1200;max-width:min(17rem,calc(100vw - 1.5rem));padding:.5rem .8rem;
  border-radius:12px;border:1px solid var(--surface-border,rgba(8,24,42,.1));
  background:var(--surface,#fff);color:var(--heading,#082442);
  font-size:.76rem;font-weight:600;line-height:1.55;pointer-events:none;
  box-shadow:0 16px 32px -14px rgba(8,24,42,.45);animation:pwTip .2s ease-out;
}
@keyframes pwTip{from{opacity:0}to{opacity:1}}

/* ------------------------------------------------------------- qty + CTA */
#katabam-product-root .buyrow{display:flex;align-items:stretch;gap:.75rem}
#katabam-product-root .qty{
  flex:none;display:inline-flex;align-items:center;gap:.1rem;height:3.5rem;padding:.27rem;
  border:1px solid var(--pb-line);border-radius:17px;background:var(--pb-field);
}
#katabam-product-root .qty__btn{
  width:2.95rem;height:100%;display:grid;place-items:center;padding:0;
  border:0;border-radius:13px;background:var(--surface);color:var(--heading);box-shadow:var(--pb-lift);
  transition:background-color .2s,color .2s,box-shadow .2s,transform .15s var(--pb-ease),opacity .2s;
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .qty__btn{background:rgba(255,255,255,.09)}
#katabam-product-root .qty__btn .qty-ic{display:block;width:1.15rem;height:1.15rem;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){
  #katabam-product-root .qty__btn:hover:not([aria-disabled="true"]){background:var(--pb-tint-2);color:var(--primary-dark)}
}
#katabam-product-root .qty__btn:active:not([aria-disabled="true"]){transform:scale(.92)}
#katabam-product-root .qty__btn[aria-disabled="true"]{opacity:.35;cursor:not-allowed;box-shadow:none;background:transparent}
#katabam-product-root .qty output{
  min-width:2.4rem;text-align:center;font-size:1.1rem;font-weight:700;line-height:1;
  color:var(--heading);font-variant-numeric:tabular-nums;
}
#katabam-product-root .qty output.is-bump{animation:pbBump .32s var(--pb-spring)}
@keyframes pbBump{0%{transform:scale(.7)}60%{transform:scale(1.18)}100%{transform:scale(1)}}

/* primary CTA — shared by the buy box, the dock and the mobile bar */
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary{
  --h:3.5rem;
  position:relative;isolation:isolate;overflow:hidden;flex:1 1 auto;
  min-height:var(--h);height:var(--h);padding:0 1.4rem;border:0;border-radius:16px;
  display:inline-flex;align-items:center;justify-content:center;text-align:center;
  background:var(--pb-cta);color:#fff;font-size:1rem;font-weight:700;letter-spacing:0;line-height:1.3;
  text-shadow:0 1px 1px rgba(16,64,8,.3);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),inset 0 -1px 0 rgba(0,0,0,.1),0 12px 24px -12px rgba(78,160,42,.85);
  transition:transform .25s var(--pb-ease),box-shadow .25s,background .25s,color .25s,filter .2s;
}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.34) 50%,transparent 70%);
  transform:translateX(130%);transition:transform .7s var(--pb-ease);
}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary .txt{
  position:relative;gap:.6rem;justify-content:center;
  transition:opacity .2s,transform .3s var(--pb-ease);
}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary .txt svg.i{width:1.25em;height:1.25em;stroke-width:2;transition:transform .3s var(--pb-ease)}
@media (hover:hover) and (pointer:fine){
  #katabam-product-root :is(.buy,.dock,.mbar) .btn.primary:hover{
    transform:translateY(-2px);background:var(--pb-cta-hover);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -1px 0 rgba(0,0,0,.1),0 16px 28px -12px rgba(78,160,42,.9);
  }
  #katabam-product-root :is(.buy,.dock,.mbar) .btn.primary:hover::after{transform:translateX(-130%)}
  #katabam-product-root :is(.buy,.dock,.mbar) .btn.primary:hover .txt svg.i{transform:translateX(-3px) rotate(-6deg)}
}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary:active{transform:scale(.985);filter:brightness(.97);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 4px 12px -6px rgba(78,160,42,.7)}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}

/* needs an option first: calm outline button, still clickable (it guides the shopper) */
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary.is-needs{
  background:var(--surface);color:var(--heading);text-shadow:none;
  box-shadow:inset 0 0 0 1.5px var(--primary),0 8px 18px -14px rgba(78,160,42,.8);
}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary.is-needs .txt svg.i{color:var(--primary-dark)}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary.is-needs::after{display:none}
@media (hover:hover) and (pointer:fine){
  #katabam-product-root :is(.buy,.dock,.mbar) .btn.primary.is-needs:hover{
    background:var(--pb-tint-2);transform:translateY(-1px);
    box-shadow:inset 0 0 0 1.5px var(--primary),0 12px 22px -14px rgba(78,160,42,.8);
  }
}

/* loading + confirmation */
#katabam-product-root .btn__spin{
  position:absolute;inset:0;margin:auto;width:1.35rem;height:1.35rem;border-radius:50%;
  border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;
  opacity:0;pointer-events:none;animation:pbSpin .7s linear infinite;animation-play-state:paused;
  transition:opacity .15s;
}
@keyframes pbSpin{to{transform:rotate(360deg)}}
#katabam-product-root .btn.primary.is-loading{pointer-events:none}
#katabam-product-root .btn.primary.is-loading .txt{opacity:0;transform:translateY(8px)}
#katabam-product-root .btn.primary.is-loading .btn__spin{opacity:1;animation-play-state:running}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary .check-pop{
  position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;gap:.55rem;
  opacity:0;transform:scale(.7);transition:opacity .25s,transform .35s var(--pb-spring);
}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary .check-pop svg.i{
  width:1.3em;height:1.3em;stroke-width:2.6;padding:.18em;box-sizing:content-box;border-radius:50%;background:rgba(255,255,255,.24);
}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary.done{background:var(--pb-cta);color:#fff}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary.done .check-pop{opacity:1;transform:none}
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary.done .txt{opacity:0;transform:translateY(-8px) scale(.9)}

/* out of stock: contact + request */
#katabam-product-root .buyrow.only-oos{flex-wrap:wrap}
#katabam-product-root .buyrow.only-oos .btn.primary{flex:1 1 11rem}
#katabam-product-root .buy .btn.outline{
  flex:1 1 9rem;height:3.5rem;padding:0 1.3rem;border-radius:16px;
  border:1.5px solid var(--pb-line);background:transparent;color:var(--heading);font-size:.95rem;font-weight:700;
}
@media (hover:hover){
  #katabam-product-root .buy .btn.outline:hover{border-color:var(--primary);background:var(--pb-tint);color:var(--heading)}
}

/* ------------------------------------------------- desktop sticky dock */
.dock{position:sticky;top:var(--stick,var(--katabam-header-h,0px));height:0;z-index:90}
.dock-in{
  position:absolute;inset-inline:0;top:0;padding-top:.65rem;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(calc(-100% - 10px)) scale(.985);transform-origin:50% 0;
  transition:transform .5s var(--pb-ease),opacity .3s ease,visibility 0s linear .5s;
}
.dock.on .dock-in{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:0s}
#katabam-product-root .dock-bar{
  position:relative;overflow:hidden;
  display:flex;align-items:center;gap:1rem;width:calc(100% - 2.5rem);max-width:1250px;margin:0 auto;
  padding:.6rem .7rem .6rem .75rem;
  background:var(--pb-bar-bg);-webkit-backdrop-filter:blur(22px) saturate(1.6);backdrop-filter:blur(22px) saturate(1.6);
  border:1px solid var(--pb-line);border-radius:22px;
  box-shadow:0 22px 44px -26px rgba(8,24,42,.55),0 2px 8px -2px rgba(8,24,42,.08),inset 0 1px 0 rgba(255,255,255,.5);
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .dock-bar{
  box-shadow:0 22px 44px -22px rgba(0,0,0,.8),0 2px 8px -2px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06);
}
#katabam-product-root .dock-bar::before{
  content:"";position:absolute;top:0;inset-inline:0;height:2px;pointer-events:none;
  background:linear-gradient(90deg,transparent,var(--primary) 20%,var(--primary-dark) 50%,var(--primary) 80%,transparent);opacity:.8;
}
#katabam-product-root .dock .th{
  flex:none;width:40px;aspect-ratio:5/7;overflow:hidden;border-radius:7px;background:var(--pb-field);
  border:1px solid rgba(8,24,42,.1);box-shadow:-3px 5px 12px -3px rgba(8,24,42,.4);
}
#katabam-product-root .dock .th img{display:block;width:100%;height:100%;object-fit:cover}
#katabam-product-root .dock .dt{flex:1 1 auto;min-width:0;display:grid;gap:.12rem;line-height:1.5}
#katabam-product-root .dock .dt b{display:block;font-size:.97rem;font-weight:700;color:var(--heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#katabam-product-root .dock .dt__sub{
  display:flex;align-items:center;gap:.45rem;min-width:0;font-size:.78rem;font-weight:500;color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#katabam-product-root .dock .dt__sub--var::before{
  content:"";flex:none;width:.45rem;height:.45rem;border-radius:50%;background:var(--primary);
  box-shadow:0 0 0 3px var(--pb-ring);transition:background-color .25s,box-shadow .25s;
}
#katabam-product-root .dock .dt__sub--var{color:var(--heading);font-weight:600}
#katabam-product-root .dock .dt__sub--var.is-empty{color:var(--muted);font-weight:500}
#katabam-product-root .dock .dt__sub--var.is-empty::before{background:#e5a50a;box-shadow:0 0 0 3px rgba(229,165,10,.22)}
#katabam-product-root .dock .dp,#katabam-product-root .mbar .pr{display:grid;justify-items:end;gap:.05rem;line-height:1.3}
#katabam-product-root .dock .dp{flex:none;padding-inline-start:1.1rem;border-inline-start:1px solid var(--pb-line);text-align:end}
#katabam-product-root .dp__meta,#katabam-product-root .pr__meta{display:flex;align-items:center;gap:.45rem;font-size:.74rem;color:var(--muted)}
#katabam-product-root .dp__meta s,#katabam-product-root .pr__meta s{text-decoration-thickness:1px;opacity:.85;font-variant-numeric:tabular-nums}
#katabam-product-root .dp__off,#katabam-product-root .pr__off{font-size:.66rem;padding:0 .42rem}
#katabam-product-root .dock .dp b,#katabam-product-root .mbar .pr b{
  font-size:1.2rem;font-weight:700;color:var(--heading);font-variant-numeric:tabular-nums;white-space:nowrap;
}
#katabam-product-root .dock .dp b .woocommerce-Price-currencySymbol,
#katabam-product-root .mbar .pr b .woocommerce-Price-currencySymbol{font-size:.62em;font-weight:500;color:var(--muted);margin-inline-start:.25em}
#katabam-product-root .dp__oos{
  padding:.3rem .9rem;border-radius:999px;background:rgba(217,45,45,.1);color:var(--discount);font-size:.8rem;font-weight:700;
}
#katabam-product-root .dock .btn.primary{--h:3rem;flex:none;padding:0 1.5rem;border-radius:15px;font-size:.92rem;min-width:11rem}

/* ----------------------------------------- mobile / tablet bar (floating) */
#katabam-product-root .mbar{
  position:fixed;z-index:90;inset-inline:.75rem;margin-inline:auto;max-width:640px;
  bottom:calc(.75rem + env(safe-area-inset-bottom,0px));
  display:none;align-items:center;gap:.9rem;padding:.6rem .6rem .6rem .8rem;
  background:var(--pb-bar-bg);-webkit-backdrop-filter:blur(22px) saturate(1.6);backdrop-filter:blur(22px) saturate(1.6);
  border:1px solid var(--pb-line);border-radius:22px;
  box-shadow:0 22px 44px -22px rgba(8,24,42,.6),0 2px 8px -2px rgba(8,24,42,.1),inset 0 1px 0 rgba(255,255,255,.5);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(calc(100% + 1.5rem));
  transition:transform .5s var(--pb-ease),opacity .3s ease,visibility 0s linear .5s;
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .mbar{
  box-shadow:0 22px 44px -18px rgba(0,0,0,.85),0 2px 8px -2px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06);
}
#katabam-product-root .mbar.on{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:0s}
#katabam-product-root .mbar .pr{flex:1 1 auto;min-width:0;justify-items:start}
#katabam-product-root .mbar .pr b{font-size:1.15rem}
#katabam-product-root .mbar .btn.primary{--h:3rem;flex:0 0 auto;min-width:9.5rem;padding:0 1.4rem;border-radius:15px;font-size:.95rem}
@media (max-width:768px){
  /* sits above the floating bottom navigation */
  #katabam-product-root .mbar{bottom:calc(var(--katabam-mnav-height,62px) + env(safe-area-inset-bottom,0px) + .6rem)}
}

/* ---------------------------------------------------------- responsive */
@container (max-width:1040px){
  .dock{display:none}
  #katabam-product-root .mbar{display:flex}
}
@container (max-width:640px){
  #katabam-product-root .buy{padding:1.2rem 1.1rem 1.25rem;border-radius:22px}
  #katabam-product-root .now{font-size:1.85rem}
  #katabam-product-root .pricebox{margin-bottom:1.05rem;padding-bottom:1.05rem}
  #katabam-product-root .qty{height:3.3rem}
  #katabam-product-root .qty__btn{width:2.75rem}
  #katabam-product-root .qty output{min-width:2.1rem}
  #katabam-product-root :is(.buy) .btn.primary,#katabam-product-root .buy .btn.outline{--h:3.3rem;height:3.3rem;min-height:3.3rem;padding:0 1.1rem;font-size:.95rem}
  #katabam-product-root .pw__list{grid-template-columns:repeat(auto-fill,minmax(6.6rem,1fr))}
}
@container (max-width:480px){
  #katabam-product-root .pw__step-btn{gap:.4rem;padding:.5rem .45rem}
  #katabam-product-root .pw__step-badge{width:1.3rem;height:1.3rem;font-size:.64rem}
  #katabam-product-root .pw__step-badge svg{width:.7rem;height:.7rem}
  #katabam-product-root .pw__step-name{font-size:.66rem}
  #katabam-product-root .pw__step-value{font-size:.76rem}
  #katabam-product-root .pw__hint{font-size:.9rem}
}
@media (max-width:380px){
  #katabam-product-root .mbar{gap:.6rem;padding-inline-start:.65rem}
  #katabam-product-root .mbar .btn.primary{min-width:0;padding:0 1.05rem}
}

@media (prefers-reduced-motion:reduce){
  #katabam-product-root .now.flip,
  #katabam-product-root .pw.is-attention,
  #katabam-product-root .pw__list.is-enter .pw__item,
  #katabam-product-root .qty output.is-bump,
  .pw__tip{animation:none}
  #katabam-product-root .btn__spin{animation-duration:1.6s}
  .dock-in,#katabam-product-root .mbar,
  #katabam-product-root :is(.buy,.dock,.mbar) .btn.primary,
  #katabam-product-root :is(.buy,.dock,.mbar) .btn.primary::after,
  #katabam-product-root :is(.buy,.dock,.mbar) .btn.primary .txt,
  #katabam-product-root :is(.buy,.dock,.mbar) .btn.primary .check-pop,
  #katabam-product-root .pw__opt,#katabam-product-root .pw__tick{transition:none}
}

/* unavailable option: badge drops under the label instead of squeezing it */
#katabam-product-root .pw__opt.is-unavailable{flex-wrap:wrap;row-gap:.1rem;column-gap:.5rem;padding-block:.45rem}
#katabam-product-root .pw__opt.is-unavailable .pw__label{flex:0 1 auto;max-width:100%}
#katabam-product-root .pw__opt.is-unavailable .pw__tag{flex:0 0 auto}

/* labels never wrap; on phones the stepper gets its own full-width row */
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary .txt,
#katabam-product-root :is(.buy,.dock,.mbar) .btn.primary .check-pop{white-space:nowrap}
@container (max-width:480px){
  #katabam-product-root .buyrow{flex-wrap:wrap}
  #katabam-product-root .buyrow .qty{flex:1 1 100%;justify-content:space-between}
  #katabam-product-root .buyrow .qty output{flex:1}
  #katabam-product-root .buyrow .qty__btn{width:3.4rem}
  #katabam-product-root .buy .buyrow .btn.primary{flex:1 1 100%}
}

/* state rules must beat the ID-scoped component styles above */
#katabam-product-root[data-state="oos"] .pricebox,
#katabam-product-root[data-state="oos"] .buyrow.no-oos,
#katabam-product-root[data-nodisc="1"] .was,
#katabam-product-root[data-nodisc="1"] .save,
#katabam-product-root[data-state="plain"] .was,
#katabam-product-root[data-state="plain"] .save,
#katabam-product-root[data-state="oos"] .was,
#katabam-product-root[data-state="oos"] .save{display:none}

/* ==========================================================================
   v2.1 — price stack, minimal step tabs, sticky gallery
   ========================================================================== */

/* price: struck-through old price + badge on top, big price below — one tidy column */
#katabam-product-root .pricebox__main{flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:.2rem}
#katabam-product-root .pricebox__main .was{order:-1}
#katabam-product-root .pricebox__main .now{line-height:1.15}

/* steps: three slim progress tabs, no badges, no tray */
#katabam-product-root .pw__steps{padding:0;gap:.6rem;background:transparent;border-radius:0;overflow:visible}
#katabam-product-root .pw__steps.is-many{overflow-x:auto;padding-bottom:.2rem}
#katabam-product-root .pw__step-btn{
  position:relative;display:block;padding:.85rem .1rem .2rem;border-radius:8px;background:transparent!important;box-shadow:none!important;
  color:var(--muted);
}
#katabam-product-root .pw__step-btn::before{
  content:"";position:absolute;top:0;inset-inline:0;height:4px;border-radius:4px;background:var(--pb-line);
  transition:background-color .3s,transform .3s var(--pb-ease);transform-origin:right center;
}
#katabam-product-root .pw__step.is-current .pw__step-btn::before{background:rgba(110,190,69,.45)}
#katabam-product-root .pw__step.is-done .pw__step-btn::before{background:var(--primary)}
#katabam-product-root .pw__step-badge{display:none}
#katabam-product-root .pw__step-text{gap:.05rem}
#katabam-product-root .pw__step-name{font-size:.72rem;color:var(--muted)}
#katabam-product-root .pw__step.is-current .pw__step-name{color:var(--heading);font-weight:700}
#katabam-product-root .pw__step-value{font-size:.9rem}
@media (hover:hover){
  #katabam-product-root .pw__step-btn:not(.is-locked):hover .pw__step-value{color:var(--primary-dark)}
}
#katabam-product-root .pw__step-btn.is-locked{opacity:.55}
#katabam-product-root .pw__steps{margin-bottom:.1rem}

/* gallery follows the shopper while the (taller) buy column scrolls */
.hero{overflow:clip}
@container (min-width:1041px){
  #katabam-product-root .kg{position:sticky;top:calc(var(--stick,0px) + 1.25rem);align-self:start}
}
#katabam-product-root .pricebox{align-items:flex-end}
#katabam-product-root .now .woocommerce-Price-currencySymbol{margin-inline-start:0}

/* ==========================================================================
   v2.2 — compact + minimal buy box, aligned wizard head, gallery arrows
   ========================================================================== */

/* gallery arrows (RTL): "previous" is on the right and points right,
   "next" is on the left and points left */
#katabam-product-root .kg[data-axis="x"] .kg__nav--prev,
#katabam-product-root .kg:not([data-axis="y"]) .kg__nav--prev{inset-inline-start:auto;inset-inline-end:auto;right:.7rem;left:auto}
#katabam-product-root .kg[data-axis="x"] .kg__nav--next,
#katabam-product-root .kg:not([data-axis="y"]) .kg__nav--next{inset-inline-start:auto;inset-inline-end:auto;left:.7rem;right:auto}

/* card: tighter, no ornaments */
#katabam-product-root .buy{padding:1.15rem 1.25rem 1.25rem;border-radius:22px}
#katabam-product-root .buy::before{display:none}

/* price: one line — price, old price, badge … savings as quiet text */
#katabam-product-root .pricebox{flex-wrap:nowrap;align-items:baseline;gap:.75rem;margin:0 0 .9rem;padding:0;border-bottom:0}
#katabam-product-root .pricebox__main{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:.1rem .7rem}
#katabam-product-root .pricebox__main .was{order:0}
#katabam-product-root .now{font-size:1.85rem}
#katabam-product-root .save{padding:0;border:0;background:transparent;font-size:.78rem;font-weight:600;margin-inline-start:auto;text-align:end;white-space:normal}
#katabam-product-root .save::before{display:none}

/* wizard */
#katabam-product-root .pw{gap:.75rem;margin:0 0 1rem}
#katabam-product-root .pw__step-btn{padding:.7rem .1rem .1rem}
#katabam-product-root .pw__step-value{font-size:.86rem}
#katabam-product-root .pw__head{min-height:1.75rem;margin:0 0 .6rem;align-items:center}
#katabam-product-root .pw__hint{font-size:.88rem;line-height:1.75rem}
#katabam-product-root .pw__tools{align-items:center;align-self:center}
#katabam-product-root .pw__count{display:none}
#katabam-product-root .pw__back{height:1.75rem;padding:0 .65rem 0 .5rem;line-height:1;box-sizing:border-box}
#katabam-product-root .pw__back svg{flex:none}
#katabam-product-root .pw__list{gap:.5rem;padding-top:.45rem}
#katabam-product-root .pw__opt{min-height:2.55rem;padding:.4rem .75rem;font-size:.85rem;border-radius:12px;gap:.45rem}
#katabam-product-root .pw__swatch{width:1rem;height:1rem}
#katabam-product-root .pw__opt.is-unavailable{padding-block:.3rem;row-gap:0}
#katabam-product-root .pw__tag{font-size:.6rem;line-height:1.5;padding:0 .45rem}

/* qty + CTA: slimmer, and always one row */
#katabam-product-root .buyrow{gap:.6rem}
#katabam-product-root .qty{height:3.1rem;padding:.2rem;border-radius:15px}
#katabam-product-root .qty__btn{width:2.5rem;border-radius:11px}
#katabam-product-root .qty__btn .qty-ic{width:1.05rem;height:1.05rem}
#katabam-product-root .qty output{min-width:2rem;font-size:1rem}
#katabam-product-root .buy .btn.primary,#katabam-product-root .buy .btn.outline{--h:3.1rem;height:3.1rem;min-height:3.1rem;border-radius:15px;font-size:.95rem}
@container (max-width:640px){
  #katabam-product-root .buy{padding:1rem 1rem 1.05rem}
  #katabam-product-root .now{font-size:1.6rem}
  #katabam-product-root .qty{height:2.9rem}
  #katabam-product-root .qty__btn{width:2.25rem}
  #katabam-product-root .qty output{min-width:1.6rem}
  #katabam-product-root .buy .btn.primary,#katabam-product-root .buy .btn.outline{--h:2.9rem;height:2.9rem;min-height:2.9rem;padding:0 .8rem;font-size:.9rem}
  #katabam-product-root .buy .btn.primary .txt{gap:.45rem}
  #katabam-product-root .pw__list{grid-template-columns:repeat(auto-fill,minmax(6.2rem,1fr))}
}
@container (max-width:480px){
  #katabam-product-root .buyrow{flex-wrap:nowrap}
  #katabam-product-root .buyrow .qty{flex:none;justify-content:flex-start}
  #katabam-product-root .buyrow .qty output{flex:none}
  #katabam-product-root .buyrow .qty__btn{width:2.25rem}
  #katabam-product-root .buy .buyrow .btn.primary{flex:1 1 auto;min-width:0}
}

/* ==========================================================================
   v2.3 — price stack, step pills, key-facts tiles, quick-view sheet (phones)
   ========================================================================== */

/* price: struck-through old price + badge on top, current price below */
#katabam-product-root .pricebox{align-items:center}
#katabam-product-root .pricebox__main{flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:.1rem}
#katabam-product-root .pricebox__main .was{order:-1}
#katabam-product-root .now{line-height:1.2}

/* steps: one row of small pills — "● رنگ قرمز" */
#katabam-product-root .pw__steps{display:flex;flex-wrap:wrap;gap:.4rem;overflow:visible;margin:0;padding:0}
#katabam-product-root .pw__steps.is-many{overflow:visible;padding:0}
#katabam-product-root .pw__step{flex:0 1 auto;min-width:0}
#katabam-product-root .pw__step-btn{
  display:inline-flex;align-items:center;gap:.4rem;height:2.15rem;padding:0 .85rem;max-width:100%;
  border:1px solid var(--pb-line);border-radius:999px;background:transparent!important;box-shadow:none!important;
  color:var(--muted);font-size:.8rem;line-height:1;
  transition:border-color .2s,background-color .2s,color .2s;
}
#katabam-product-root .pw__step-btn::before{
  content:none;position:static;inset:auto;transform:none;
  width:.45rem;height:.45rem;border-radius:50%;background:var(--primary);flex:none;
}
#katabam-product-root .pw__step.is-done .pw__step-btn::before{content:""}
#katabam-product-root .pw__step.is-current .pw__step-btn::before,
#katabam-product-root .pw__step.is-done .pw__step-btn::before{background:var(--primary)}
#katabam-product-root .pw__step.is-current .pw__step-btn{border-color:var(--primary);background:var(--pb-tint)!important;color:var(--heading)}
#katabam-product-root .pw__step-text{display:inline-flex;align-items:baseline;gap:.35rem;min-width:0;line-height:1}
#katabam-product-root .pw__step-name{font-size:.78rem;font-weight:500;color:var(--muted)}
#katabam-product-root .pw__step.is-current .pw__step-name{color:var(--heading);font-weight:600}
#katabam-product-root .pw__step-value{font-size:.82rem;font-weight:700;color:var(--heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#katabam-product-root .pw__step:not(.is-done) .pw__step-value{display:none}
@media (hover:hover){
  #katabam-product-root .pw__step-btn:not(.is-locked):hover{border-color:rgba(110,190,69,.7)}
}
#katabam-product-root .pw__step-btn.is-locked{opacity:.5}

/* key facts: one calm card, hairline-divided cells */
#katabam-product-root .facts.surface{
  --fl:var(--surface-border);
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;padding:0;overflow:hidden;
  margin-top:-2.6rem;position:relative;z-index:6;border-width:1px;border-radius:20px;
  box-shadow:0 24px 48px -30px rgba(8,24,42,.35);
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .facts.surface{box-shadow:0 24px 48px -28px rgba(0,0,0,.7)}
#katabam-product-root .fact{
  display:flex;align-items:center;gap:.65rem;min-width:0;padding:.95rem 1.05rem;background:transparent;border-radius:0;
  border-inline-start:1px solid var(--fl);transition:background-color .2s;
}
#katabam-product-root .fact:first-child{border-inline-start:0}
@media (hover:hover){#katabam-product-root .fact:hover{background:var(--surface-soft)}}
#katabam-product-root .fact .ic{
  flex:none;width:auto;height:auto;display:grid;place-items:center;border-radius:0;background:none;box-shadow:none;
  color:var(--primary-dark);font-size:1.3rem;
}
#katabam-product-root .fact .ic svg{width:1em;height:1em}
#katabam-product-root .fact>div{min-width:0}
#katabam-product-root .fact dt{margin:0;font-size:.7rem;font-weight:500;color:var(--muted);line-height:1.6}
#katabam-product-root .fact dd{margin:0;font-size:.88rem;font-weight:700;color:var(--heading);line-height:1.6;overflow-wrap:anywhere}
@container (max-width:900px){
  #katabam-product-root .facts.surface{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}
  #katabam-product-root .fact{border-inline-start:1px solid var(--fl);border-top:1px solid var(--fl);padding:.8rem .9rem}
  #katabam-product-root .fact:nth-child(-n+2){border-top:0}
  #katabam-product-root .fact:nth-child(odd){border-inline-start:0}
  #katabam-product-root .fact:last-child:nth-child(odd){grid-column:1/-1}
  #katabam-product-root .fact:last-child:nth-child(odd):nth-child(1){border-top:0}
}
@container (max-width:640px){
  #katabam-product-root .facts.surface{margin-top:-2.2rem;border-radius:18px}
  #katabam-product-root .fact{gap:.55rem;padding:.7rem .75rem;align-items:center}
  #katabam-product-root .fact .ic{font-size:1.15rem}
  #katabam-product-root .fact dt{font-size:.66rem}
  #katabam-product-root .fact dd{font-size:.8rem}
}

/* ---- quick-view sheet on phones: small cover, compact details, slim footer ---- */
@media (max-width:760px){
  .kgm__dialog{max-height:90dvh}
  .kgm__grab{padding-block:.5rem .1rem}
  .kgm__media{padding:.6rem .9rem .5rem;gap:0}
  .kgm__stage{width:min(100%,27dvh,230px);border-radius:12px}
  .kgm__thumbs{display:none}
  .kgm__close{top:.55rem;width:32px;height:32px}
  .kgm__count{bottom:.5rem;inset-inline-start:.5rem;padding:.1rem .5rem;font-size:.7rem}
  .kgm__nav{width:30px;height:30px}
  .kgm__scroll{padding:.8rem 1rem .5rem}
  .kgm__head{gap:.45rem;margin-bottom:.6rem}
  .kgm__title{font-size:1.08rem;line-height:1.55}
  .kgm__chip{padding:.12rem .6rem;font-size:.72rem}
  .kgm__by{font-size:.75rem}
  .kgm__price{align-items:flex-end;margin-bottom:.7rem;padding:0 0 .7rem;border-bottom:1px solid var(--surface-border)}
  .kgm__now{font-size:1.5rem}
  .kgm__price-side{flex-direction:row;align-items:center}
  .kgm__ship{display:none}
  .kgm__save{background:transparent;padding:0}
  .kgm__sub{margin:0 0 .15rem;font-size:.78rem;color:var(--muted);font-weight:600}
  .kgm__specs{grid-template-columns:1fr;gap:0}
  .kgm .kgm__spec.about-surface,.kgm .kgm__spec.about-surface:last-child{
    flex-direction:row;align-items:center;justify-content:space-between;gap:1rem;
    padding:.5rem 0;border:0;border-bottom:1px solid var(--surface-border);border-radius:0;background:transparent;box-shadow:none;
  }
  .kgm .kgm__spec.about-surface:last-child{border-bottom:0}
  .kgm .kgm__spec.about-surface::before,.kgm .kgm__spec.about-surface::after{display:none}
  .kgm__spec dt{font-size:.76rem;flex:none}
  .kgm__spec dd{font-size:.82rem;text-align:end;white-space:normal;overflow:visible}
  .kgm__actions{padding:.55rem 1rem calc(.65rem + env(safe-area-inset-bottom,0px))}
  .kgm__actions .kgm__more{padding:.5rem .65rem;gap:.65rem;border-radius:16px}
  .kgm__more-ic{width:2.2rem;height:2.2rem;border-radius:12px;font-size:1.1rem}
  .kgm__more-txt b{font-size:.88rem}
  .kgm__more-txt small{display:none}
  .kgm__more-go{width:1.8rem;height:1.8rem}
}

/* ================= v2.4 ================= */
/* gallery on phones: same width as every other section */
@container (max-width:640px){
  #katabam-product-root .kg{margin-inline:0;width:100%;max-width:none}
}

/* step pills: never clip Persian ascenders/descenders */
#katabam-product-root .pw__step-btn{height:auto;min-height:2.2rem;padding:.3rem .85rem}
#katabam-product-root .pw__step-text{line-height:1.7;align-items:center}
#katabam-product-root .pw__step-name{line-height:1.7;overflow:visible}
#katabam-product-root .pw__step-value{line-height:1.7;padding-block:.05em}

/* unavailable option: same box as the others, badge pinned on the top edge */
#katabam-product-root .pw__opt.is-unavailable{flex-wrap:nowrap;padding-block:.4rem;row-gap:0;column-gap:.45rem}
#katabam-product-root .pw__opt.is-unavailable .pw__tag{
  position:absolute;top:0;inset-inline-start:.55rem;transform:translateY(-52%);
  padding:0 .45rem;font-size:.6rem;line-height:1.55;background:var(--surface);color:var(--discount);
  border:1px solid rgba(217,45,45,.28);
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .pw__opt.is-unavailable .pw__tag{background:var(--surface);color:#ff9a9a;border-color:rgba(255,120,120,.35)}

/* floating back-to-top must clear the phone buy bar */
@media (max-width:768px){
  body:has(#katabam-product-root .mbar.on) .site-scroll-fab{
    bottom:calc(var(--katabam-mnav-height,62px) + env(safe-area-inset-bottom,0px) + 5.3rem);
  }
  body:has(#katabam-product-root .mbar){padding-bottom:calc(var(--katabam-mnav-height,62px) + env(safe-area-inset-bottom,0px) + 4.8rem)}
}

/* quick-view on phones: bigger cover, 2-up spec cards */
@media (max-width:760px){
  .kgm__media{padding:.5rem .6rem .6rem}
  .kgm__stage{width:min(100%,41dvh);border-radius:14px}
  .kgm__specs{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}
  .kgm .kgm__spec.about-surface,.kgm .kgm__spec.about-surface:last-child{
    flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:.1rem;
    padding:.6rem .75rem;border:1px solid var(--surface-border);border-radius:14px;background:var(--surface-soft);
  }
  .kgm .kgm__spec.about-surface:last-child:nth-child(odd){grid-column:1/-1}
  .kgm__spec dt{font-size:.68rem;color:var(--muted);font-weight:500}
  .kgm__spec dd{font-size:.82rem;font-weight:700;text-align:start;line-height:1.55}
  .kgm__sub{margin:0 0 .45rem}
}
#katabam-product-root .pw__list{padding-top:.45rem}

/* ================= v3.0 — tabs ================= */
#katabam-product-root .tabs-wrap{margin-top:2.4rem}

/* segmented control with a sliding pill */
#katabam-product-root .tabnav{
  --tp-x:0px;--tp-w:0px;
  position:sticky;top:calc(var(--stick,0px) + .6rem);z-index:20;
  display:flex;gap:0;width:max-content;max-width:100%;margin:0 auto;padding:.3rem;overflow:visible;
  background:var(--surface);border:1px solid var(--surface-border);border-radius:18px;
  box-shadow:0 14px 30px -20px rgba(8,24,42,.45);
}
@supports (backdrop-filter:blur(1px)){
  #katabam-product-root .tabnav{background:color-mix(in srgb,var(--surface) 86%,transparent);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4)}
}
#katabam-product-root .tabnav__pill{
  position:absolute;top:.3rem;bottom:.3rem;left:0;width:var(--tp-w);transform:translateX(var(--tp-x));
  border-radius:13px;background:rgba(110,190,69,.16);box-shadow:inset 0 0 0 1px rgba(110,190,69,.45);
  transition:transform .42s cubic-bezier(.32,.72,0,1),width .42s cubic-bezier(.32,.72,0,1);
  pointer-events:none;
}
#katabam-product-root .tabnav button{
  position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  min-height:2.6rem;padding:0 1.25rem;border:0;border-radius:13px;background:transparent;
  color:var(--muted);font-size:.88rem;font-weight:600;line-height:1;white-space:nowrap;
  transition:color .25s;
}
#katabam-product-root .tabnav button::after{content:none}
#katabam-product-root .tabnav button[aria-selected="true"]{background:transparent;color:var(--heading);font-weight:700}
#katabam-product-root .tabnav button .i{width:1.15rem;height:1.15rem;flex:none;transition:color .25s,transform .35s cubic-bezier(.34,1.4,.64,1)}
#katabam-product-root .tabnav button[aria-selected="true"] .i{color:var(--primary-dark);transform:scale(1.08)}
#katabam-product-root .tabnav button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}
@media (hover:hover){#katabam-product-root .tabnav button[aria-selected="false"]:hover{color:var(--heading)}}
#katabam-product-root .tabnav .cnt{
  display:inline-grid;place-items:center;min-width:1.3rem;height:1.3rem;padding:0 .35rem;margin:0;border-radius:999px;
  background:var(--primary);color:#fff;font-size:.68rem;font-weight:700;
}

#katabam-product-root .tabbody{grid-template-columns:minmax(0,1fr) 330px;gap:1.6rem;padding-top:1.3rem}
#katabam-product-root .tabmain{min-width:0;display:grid;gap:.8rem}

/* content cards */
#katabam-product-root .tabcard{
  border-radius:22px;padding:1.5rem 1.6rem;box-shadow:0 20px 40px -32px rgba(8,24,42,.4);min-width:0;
}
#katabam-product-root .tabcard:not(.about-surface){background:var(--surface);border:1px solid var(--surface-border)}
#katabam-product-root .tabcard__title{
  display:flex;align-items:center;gap:.65rem;margin:0 0 1.1rem;font-size:1.08rem;font-weight:700;color:var(--heading);line-height:1.5;
}
#katabam-product-root .tabcard__ic{
  flex:none;display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:50%;
  background:rgba(110,190,69,.16);color:var(--primary-dark);
}
#katabam-product-root .tabcard__ic .i{width:1.15rem;height:1.15rem}

/* description */
#katabam-product-root .prose{max-width:none;font-size:.94rem;line-height:2.1;color:var(--text)}
#katabam-product-root .prose #descContent>*:first-child{margin-top:0}
#katabam-product-root .prose #descContent :is(h2,h3,h4){margin:1.4rem 0 .4rem;font-size:1rem;font-weight:700;color:var(--heading);line-height:1.7}
#katabam-product-root .prose #descContent p{margin:0 0 .9rem}
#katabam-product-root .prose #descContent a{color:var(--primary-dark);border-bottom:1px dashed rgba(110,190,69,.7)}
#katabam-product-root .prose #descContent img{max-width:100%;height:auto;border-radius:14px}
#katabam-product-root .prose #descContent blockquote{margin:1rem 0;padding:.8rem 1.1rem;border-inline-start:3px solid var(--primary);border-radius:0 12px 12px 0;background:var(--surface-soft)}
#katabam-product-root .prose #descContent ul{list-style:none;margin:1.1rem 0 0;padding:.9rem 1.1rem;border-radius:16px;background:var(--surface-soft);display:grid;gap:.15rem}
#katabam-product-root .prose #descContent ul li{position:relative;padding-inline-start:1.95rem;line-height:1.9}
#katabam-product-root .prose #descContent ul li::before{
  content:"";position:absolute;inset-inline-start:0;top:.4rem;width:1.15rem;height:1.15rem;border-radius:50%;
  background:rgba(110,190,69,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ea02a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/.7rem no-repeat;
}
#katabam-product-root .prose #descContent ol{padding-inline-start:1.4rem}
#katabam-product-root .tabempty{color:var(--muted);margin:0}

/* specs */
#katabam-product-root .specs{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
#katabam-product-root .specs__row{display:flex;flex-direction:column;gap:.1rem;padding:.8rem 1rem;border-radius:14px}
#katabam-product-root .specs__row:last-child:nth-child(odd){grid-column:1/-1}
#katabam-product-root .specs dt{margin:0;font-size:.72rem;font-weight:500;color:var(--muted);line-height:1.6}
#katabam-product-root .specs dd{margin:0;font-size:.92rem;font-weight:700;color:var(--heading);line-height:1.7;overflow-wrap:anywhere}

/* reviews */
#katabam-product-root .rev-sum{display:grid;place-items:center;padding:1.3rem;margin:0}
#katabam-product-root .rev-sum__score{display:grid;justify-items:center;gap:.15rem}
#katabam-product-root .rev-sum .big{font-size:2.8rem;font-weight:800;color:var(--heading);line-height:1.1}
#katabam-product-root .rev-sum small{color:var(--muted);font-size:.78rem}
#katabam-product-root :is(.rev-sum,.rev) .stars{display:inline-flex;gap:2px;color:#f5b301;font-size:1rem}
#katabam-product-root :is(.rev-sum,.rev) .stars svg{fill:currentColor;stroke:none}
#katabam-product-root .rev{margin:0;padding:1.15rem 1.25rem}
#katabam-product-root .rev header{display:flex;align-items:center;gap:.75rem;margin:0 0 .55rem}
#katabam-product-root .rev .av{width:2.5rem;height:2.5rem;background:linear-gradient(135deg,var(--primary),#2f8f5b);font-size:.95rem;font-weight:700}
#katabam-product-root .rev__who{display:grid;gap:.1rem;min-width:0}
#katabam-product-root .rev__who b{font-size:.9rem;font-weight:700;color:var(--heading)}
#katabam-product-root .rev__who small{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .6rem;font-size:.72rem;color:var(--muted)}
#katabam-product-root .rev__ok{display:inline-flex;align-items:center;gap:.25rem;padding:0 .5rem;border-radius:999px;background:rgba(110,190,69,.16);color:var(--primary-dark);font-weight:600}
#katabam-product-root .rev__ok .i{width:.8rem;height:.8rem}
#katabam-product-root .rev p{margin:0;font-size:.88rem;line-height:2;color:var(--text)}
#katabam-product-root .tabempty-card{display:grid;justify-items:center;gap:.25rem;padding:2rem 1.2rem;text-align:center;color:var(--muted);font-size:.84rem}
#katabam-product-root .tabempty-card b{font-size:.98rem;color:var(--heading)}
#katabam-product-root .tabempty-card__ic{display:grid;place-items:center;width:3.4rem;height:3.4rem;margin-bottom:.4rem;border-radius:50%;background:rgba(110,190,69,.14);color:var(--primary-dark)}
#katabam-product-root .tabempty-card__ic .i{width:1.6rem;height:1.6rem}

/* review form (WooCommerce markup) */
#katabam-product-root .tabcard--form #comments{display:none}
#katabam-product-root .tabcard--form #reply-title{display:block;margin:0 0 1rem;font-size:1rem;font-weight:700;color:var(--heading);line-height:1.8}
#katabam-product-root .tabcard--form #reply-title small{display:block;font-size:.78rem;font-weight:500}
#katabam-product-root .tabcard--form form{display:grid;gap:.9rem}
#katabam-product-root .tabcard--form form p{margin:0}
#katabam-product-root .tabcard--form label{display:block;margin-bottom:.35rem;font-size:.8rem;font-weight:600;color:var(--heading)}
#katabam-product-root .tabcard--form .required{color:var(--discount)}
#katabam-product-root .tabcard--form :is(textarea,input[type=text],input[type=email],input[type=url]){
  width:100%;box-sizing:border-box;padding:.8rem 1rem;border:1.5px solid var(--surface-border);border-radius:14px;
  background:var(--surface-soft);color:var(--heading);font:inherit;font-size:.9rem;line-height:1.8;transition:border-color .2s,box-shadow .2s,background-color .2s;
}
#katabam-product-root .tabcard--form textarea{min-height:8rem;resize:vertical}
#katabam-product-root .tabcard--form :is(textarea,input):focus{outline:0;border-color:var(--primary);background:var(--surface);box-shadow:0 0 0 4px rgba(110,190,69,.18)}
#katabam-product-root .tabcard--form p.stars{display:flex;margin:.2rem 0 0;font-size:0}
#katabam-product-root .tabcard--form p.stars span{display:inline-flex;gap:.2rem}
#katabam-product-root .tabcard--form p.stars a{
  display:block;width:2rem;height:2rem;overflow:hidden;font-size:0;color:transparent;text-indent:-999px;border:0;
  background:rgba(8,24,42,.16);transition:background-color .15s,transform .2s cubic-bezier(.34,1.4,.64,1);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z'/%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'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center/contain no-repeat;
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .tabcard--form p.stars a{background:rgba(255,255,255,.2)}
#katabam-product-root .tabcard--form p.stars.selected a{background:#f5b301}
#katabam-product-root .tabcard--form p.stars.selected a.active~a{background:rgba(8,24,42,.16)}
#katabam-product-root .tabcard--form p.stars:hover a{background:#f5b301}
#katabam-product-root .tabcard--form p.stars a:hover~a{background:rgba(8,24,42,.16)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .tabcard--form p.stars.selected a.active~a,
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .tabcard--form p.stars a:hover~a{background:rgba(255,255,255,.2)}
#katabam-product-root .tabcard--form p.stars a:hover{transform:scale(1.12)}
#katabam-product-root .tabcard--form .form-submit{margin-top:.2rem}
#katabam-product-root .tabcard--form input[type=submit]{
  appearance:none;height:3rem;padding:0 2rem;border:0;border-radius:14px;background:var(--primary);color:#fff;font:inherit;font-size:.92rem;font-weight:700;cursor:pointer;
  box-shadow:0 12px 22px -14px rgba(78,160,42,.8);transition:transform .2s,filter .2s;
}
#katabam-product-root .tabcard--form input[type=submit]:hover{filter:brightness(1.05)}
#katabam-product-root .tabcard--form input[type=submit]:active{transform:scale(.98)}

/* aside */
#katabam-product-root .aside{gap:.8rem}
#katabam-product-root .aside .card{padding:1.3rem;border-radius:22px}
#katabam-product-root .aside .card h3{margin:0 0 .4rem;font-size:1rem;font-weight:700}
#katabam-product-root .request__ic{display:grid;place-items:center;width:2.6rem;height:2.6rem;margin-bottom:.7rem;border-radius:14px;background:rgba(255,255,255,.12);color:var(--primary)}
#katabam-product-root .request__ic .i{width:1.3rem;height:1.3rem}
#katabam-product-root .request .btn{display:flex;align-items:center;justify-content:center;height:2.9rem;border-radius:13px;font-weight:700;font-size:.88rem}
#katabam-product-root .otrack{counter-reset:ot;margin:.9rem 0 1rem;gap:0}
#katabam-product-root .otrack li{counter-increment:ot;position:relative;padding:0 2.5rem .95rem 0;padding-inline:0 0;padding-inline-start:2.5rem;font-size:.82rem;line-height:1.6;min-height:2.4rem}
#katabam-product-root .otrack li b{display:block;font-weight:700;color:var(--heading);font-size:.84rem;padding-top:.2rem}
#katabam-product-root .otrack li small{display:block;color:var(--muted);font-size:.72rem;line-height:1.7}
#katabam-product-root .otrack li::before{
  content:counter(ot,persian);position:absolute;right:auto;top:0;inset-inline-start:0;display:grid;place-items:center;
  width:1.75rem;height:1.75rem;border:0;border-radius:50%;background:rgba(110,190,69,.16);color:var(--primary-dark);font-size:.72rem;font-weight:700;
}
#katabam-product-root .otrack li:last-child::before{background:var(--primary);color:#fff}
#katabam-product-root .otrack li:not(:last-child)::after{right:auto;inset-inline-start:calc(.875rem - .75px);top:1.9rem;bottom:.15rem;width:1.5px;background:var(--surface-border)}
#katabam-product-root .aside__link{display:inline-flex;align-items:center;font-size:.82rem;font-weight:600;color:var(--primary-dark)}
#katabam-product-root .aside__link:hover{text-decoration:underline}

@container (max-width:1040px){
  #katabam-product-root .tabbody{grid-template-columns:minmax(0,1fr)}
}
@container (max-width:640px){
  #katabam-product-root .tabnav{width:100%}
  #katabam-product-root .tabnav button{flex:1 1 0;min-width:0;padding:0 .3rem;gap:.35rem;font-size:.82rem}
  #katabam-product-root .tabnav button .i{width:1.05rem;height:1.05rem}
  #katabam-product-root .tabcard{padding:1.15rem 1rem;border-radius:18px}
  #katabam-product-root .tabcard__title{font-size:1rem;margin-bottom:.9rem}
  #katabam-product-root .tabcard__ic{width:2.1rem;height:2.1rem}
  #katabam-product-root .prose{font-size:.9rem}
  #katabam-product-root .rev{padding:1rem}
  #katabam-product-root .tabcard--form input[type=submit]{width:100%}
}
@media (prefers-reduced-motion:reduce){
  #katabam-product-root .tabnav__pill{transition:none}
}

/* quick-view sheet: the grab handle sits at the very top of the sheet, over the gallery,
   and the whole sheet (header, gallery, details) is draggable */
@media (max-width:760px){
  .kgm__grab{
    position:absolute;z-index:4;top:0;inset-inline:0;order:-2;height:1.6rem;padding-top:.55rem;background:transparent;
  }
  .kgm__media{padding-top:1.4rem}
  .kgm__close{top:.6rem}
}

#katabam-product-root .tabcard--form input[type=submit]{text-align:center}

/* ================= v3.1 ================= */
/* sticky tabs / aside sit below the header AND the desktop dock */
#katabam-product-root .tabnav{top:calc(var(--stick,0px) + var(--dock-h,0px) + .6rem)}
#katabam-product-root .aside{top:calc(var(--stick,0px) + var(--dock-h,0px) + 5.2rem)}

/* key facts: linked cells */
#katabam-product-root a.fact{color:inherit;text-decoration:none;cursor:pointer}
#katabam-product-root a.fact dd{transition:color .2s}
@media (hover:hover){
  #katabam-product-root a.fact:hover dd{color:var(--primary-dark)}
  #katabam-product-root a.fact:hover .ic{transform:translateY(-1px) scale(1.08)}
}
#katabam-product-root .fact .ic{transition:transform .3s cubic-bezier(.34,1.4,.64,1)}
#katabam-product-root a.fact:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}
#katabam-product-root .facts.surface.about-surface{border-width:1.5px}


/* ---- description: calm editorial prose ---- */
#katabam-product-root #pane-desc .tabcard__title{padding-bottom:.9rem;margin-bottom:1.1rem;border-bottom:1px solid var(--surface-border)}
#katabam-product-root .prose #descContent{max-width:68ch}
#katabam-product-root .prose #descContent>:is(p:first-child,:is(h2,h3,h4)+p){font-size:1rem;color:var(--heading);line-height:2.2}
#katabam-product-root .prose #descContent :is(h2,h3,h4){display:flex;align-items:center;gap:.6rem;margin:1.6rem 0 .5rem;font-size:1.02rem;font-weight:700;color:var(--heading)}
#katabam-product-root .prose #descContent :is(h2,h3,h4)::before{content:"";flex:none;width:.28rem;height:1.1em;border-radius:99px;background:linear-gradient(var(--primary),var(--primary-dark))}
#katabam-product-root .prose #descContent>:first-child:is(h2,h3,h4){margin-top:0}
#katabam-product-root .prose #descContent strong,#katabam-product-root .prose #descContent b{color:var(--heading);font-weight:700}
#katabam-product-root .prose #descContent hr{border:0;height:1px;margin:1.4rem 0;background:var(--surface-border)}
/* links: animated underline */
#katabam-product-root .prose #descContent a{
  color:var(--primary-dark);font-weight:600;border:0;text-decoration:none;
  background:linear-gradient(currentColor,currentColor) 100% 100%/100% 1px no-repeat;padding-bottom:1px;
  transition:background-size .35s cubic-bezier(.22,1,.36,1),color .2s;
}
@media (hover:hover){
  #katabam-product-root .prose #descContent a:hover{background-size:0 1px;background-position:0 100%;color:var(--primary)}
}
/* lists: quiet rows with hairlines */
#katabam-product-root .prose #descContent ul{margin:1.2rem 0;padding:0;background:none;border-radius:0;display:block;list-style:none}
#katabam-product-root .prose #descContent ul li{position:relative;margin:0;padding:.6rem 0 .6rem 0;padding-inline-start:2rem;border-top:1px solid var(--surface-border);line-height:1.9;transition:padding .25s ease}
#katabam-product-root .prose #descContent ul li:last-child{border-bottom:1px solid var(--surface-border)}
#katabam-product-root .prose #descContent ul li::before{top:.85rem;transition:transform .3s cubic-bezier(.34,1.4,.64,1),background-color .2s}
@media (hover:hover){
  #katabam-product-root .prose #descContent ul li:hover::before{transform:scale(1.18);background-color:rgba(110,190,69,.32)}
  #katabam-product-root .prose #descContent ul li:hover{padding-inline-start:2.2rem}
}
#katabam-product-root .prose #descContent ul li a{display:inline}
#katabam-product-root .prose #descContent ol{margin:1.2rem 0;padding:0;list-style:none;counter-reset:dl}
#katabam-product-root .prose #descContent ol li{counter-increment:dl;position:relative;padding:.5rem 0;padding-inline-start:2.2rem}
#katabam-product-root .prose #descContent ol li::before{
  content:counter(dl,persian);position:absolute;inset-inline-start:0;top:.7rem;display:grid;place-items:center;
  width:1.4rem;height:1.4rem;border-radius:50%;background:rgba(110,190,69,.16);color:var(--primary-dark);font-size:.7rem;font-weight:700;
}
#katabam-product-root .prose #descContent blockquote{position:relative;margin:1.3rem 0;padding:.9rem 1.2rem;padding-inline-start:1.4rem;border:0;border-radius:16px;background:var(--surface-soft);color:var(--heading);font-weight:500}
#katabam-product-root .prose #descContent blockquote::before{content:"";position:absolute;inset-block:.8rem;inset-inline-start:0;width:3px;border-radius:99px;background:var(--primary)}
#katabam-product-root .prose #descContent :is(table){width:100%;border-collapse:collapse;font-size:.88rem}
#katabam-product-root .prose #descContent :is(th,td){padding:.6rem .8rem;border-bottom:1px solid var(--surface-border);text-align:start}

/* the spotlight hover needs room: keep tab cards' children above the glow */
#katabam-product-root .tabcard.about-surface{overflow:hidden}
#katabam-product-root .pw__list{row-gap:.8rem}

/* ================= v3.2 — tabs not sticky, calm description ================= */
#katabam-product-root .tabnav{position:relative;top:auto;box-shadow:0 10px 26px -20px rgba(8,24,42,.4)}
#katabam-product-root .aside{top:calc(var(--stick,0px) + var(--dock-h,0px) + 1rem)}

/* description: editorial */
#katabam-product-root #pane-desc{padding:1.8rem 2rem 1.6rem}
#katabam-product-root #pane-desc .tabcard__title{
  display:flex;align-items:center;gap:.6rem;margin:0 0 .7rem;padding:0;border:0;
  font-size:.78rem;font-weight:700;color:var(--primary-dark);letter-spacing:.02em;
}
#katabam-product-root #pane-desc .tabcard__title::before{content:"";width:1.4rem;height:2px;border-radius:2px;background:var(--primary)}
#katabam-product-root #pane-desc .tabcard__ic{display:none}
#katabam-product-root .prose #descContent{max-width:72ch;transition:max-height .5s cubic-bezier(.22,1,.36,1)}
#katabam-product-root .prose #descContent>:first-child:is(h2,h3,h4){
  display:block;margin:0 0 1rem;font-size:1.4rem;font-weight:800;line-height:1.6;color:var(--heading);
}
#katabam-product-root .prose #descContent :is(h2,h3,h4)::before{content:none}
#katabam-product-root .prose #descContent :is(h2,h3,h4){display:block;margin:2rem 0 .6rem;font-size:1.06rem;font-weight:700;color:var(--heading);line-height:1.7}
#katabam-product-root .prose #descContent>:is(p:first-child,:is(h2,h3,h4)+p){
  padding-inline-start:1rem;border-inline-start:3px solid rgba(110,190,69,.55);
  font-size:1.02rem;line-height:2.2;color:var(--heading);font-weight:500;
}
#katabam-product-root .prose #descContent p{font-size:.94rem;line-height:2.15;margin:0 0 1rem;color:var(--text)}
#katabam-product-root .prose #descContent ul{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:1.4rem 0;padding:0;border:0;list-style:none;background:none;
}
#katabam-product-root .prose #descContent ul li{
  position:relative;margin:0;padding:.8rem 1rem;padding-inline-start:2.8rem;border:1px solid transparent;border-radius:14px;background:var(--surface-soft);
  font-size:.9rem;line-height:1.8;font-weight:500;color:var(--heading);
  transition:border-color .25s,transform .3s cubic-bezier(.34,1.4,.64,1),background-color .25s;
}
#katabam-product-root .prose #descContent ul li:last-child{border-bottom:1px solid transparent}
#katabam-product-root .prose #descContent ul li::before{
  inset-inline-start:.85rem;top:50%;margin-top:-.7rem;width:1.4rem;height:1.4rem;
  background-color:rgba(110,190,69,.2);background-size:.8rem;
}
@media (hover:hover){
  #katabam-product-root .prose #descContent ul li:hover{padding-inline-start:2.8rem;border-color:rgba(110,190,69,.55);background:rgba(110,190,69,.08);transform:translateY(-2px)}
  #katabam-product-root .prose #descContent ul li:hover::before{transform:none;background-color:rgba(110,190,69,.34)}
}
#katabam-product-root .prose #descContent ul:has(li:only-child){grid-template-columns:1fr}

/* long text: clamp with fade + "read more" */
#katabam-product-root #pane-desc.is-clamp #descContent{
  max-height:28rem;overflow:hidden;
  -webkit-mask-image:linear-gradient(#000 62%,transparent);mask-image:linear-gradient(#000 62%,transparent);
}
#katabam-product-root .dmore{
  display:flex;align-items:center;justify-content:center;gap:.4rem;margin:.4rem auto 0;height:2.6rem;padding:0 1.4rem;
  border:1px solid var(--surface-border);border-radius:999px;background:var(--surface);color:var(--heading);font:inherit;font-size:.86rem;font-weight:700;cursor:pointer;
  transition:border-color .2s,color .2s,transform .2s;
}
#katabam-product-root .dmore[hidden]{display:none}
#katabam-product-root .dmore .i{width:1rem;height:1rem;transition:transform .3s}
@media (hover:hover){#katabam-product-root .dmore:hover{border-color:var(--primary);color:var(--primary-dark)}#katabam-product-root .dmore:hover .i{transform:translateY(2px)}}

@container (max-width:640px){
  #katabam-product-root #pane-desc{padding:1.3rem 1.05rem 1.2rem}
  #katabam-product-root .prose #descContent>:first-child:is(h2,h3,h4){font-size:1.2rem}
  #katabam-product-root .prose #descContent ul{grid-template-columns:1fr}
  #katabam-product-root #pane-desc.is-clamp #descContent{max-height:24rem}
}

/* ================= v3.2 — reviews ================= */
#katabam-product-root .rv{display:grid;gap:.8rem;position:relative}
#katabam-product-root .rv [hidden]{display:none!important}

/* stars (partial fill, fills from the right in RTL) */
#katabam-product-root .rv-stars{display:inline-flex;gap:2px;direction:rtl;line-height:0}
#katabam-product-root .rv-stars__s{
  width:1.1rem;height:1.1rem;
  background:linear-gradient(to left,#f5b301 var(--f,0%),rgba(8,24,42,.16) var(--f,0%));
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z'/%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'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center/contain no-repeat;
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-stars__s{background:linear-gradient(to left,#f5b301 var(--f,0%),rgba(255,255,255,.2) var(--f,0%))}
#katabam-product-root .rv-stars--sm .rv-stars__s{width:.9rem;height:.9rem}
#katabam-product-root .rv .rv-i{width:1em;height:1em;flex:none}

/* summary */
#katabam-product-root .rv-sum{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1.2rem 2rem;padding:1.4rem 1.6rem;margin:0;
}
#katabam-product-root .rv-sum__score{display:grid;justify-items:center;gap:.25rem;min-width:7rem}
#katabam-product-root .rv-sum__avg{font-size:2.9rem;font-weight:800;line-height:1.1;color:var(--heading)}
#katabam-product-root .rv-sum__score .rv-stars__s{width:1.15rem;height:1.15rem}
#katabam-product-root .rv-sum__score small{font-size:.76rem;color:var(--muted)}
#katabam-product-root .rv-sum__bars{list-style:none;margin:0;padding:0;display:grid;gap:.4rem;min-width:0}
#katabam-product-root .rv-sum__bars li{display:grid;grid-template-columns:2.2rem minmax(0,1fr) 1.8rem;align-items:center;gap:.6rem;font-size:.74rem;color:var(--muted)}
#katabam-product-root .rv-sum__lbl{display:inline-flex;align-items:center;gap:.2rem;color:var(--heading);font-weight:600}
#katabam-product-root .rv-sum__lbl .rv-i{color:#f5b301;width:.85em;height:.85em}
#katabam-product-root .rv-sum__bars i{display:block;height:.45rem;border-radius:99px;background:var(--surface-soft);position:relative;overflow:hidden}
#katabam-product-root .rv-sum__bars i::after{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:var(--w);border-radius:inherit;background:linear-gradient(90deg,var(--primary),#9fd97a)}
#katabam-product-root .rv-sum__n{text-align:end}
#katabam-product-root .rv-sum__cta{display:grid;justify-items:center;gap:.4rem}
#katabam-product-root .rv-note{margin:0;font-size:.82rem;color:var(--muted);text-align:center;max-width:16rem}

/* buttons */
#katabam-product-root .rv-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;height:2.9rem;padding:0 1.5rem;
  border:1.5px solid transparent;border-radius:14px;font:inherit;font-size:.9rem;font-weight:700;cursor:pointer;white-space:nowrap;
  transition:transform .2s,filter .2s,border-color .2s,background-color .2s,color .2s,box-shadow .25s;
}
#katabam-product-root .rv-btn__txt{display:inline-flex;align-items:center;gap:.5rem}
#katabam-product-root .rv-btn .rv-i{width:1.1rem;height:1.1rem}
#katabam-product-root .rv-btn--primary{background:var(--primary);color:#fff;box-shadow:0 14px 24px -16px rgba(78,160,42,.9)}
#katabam-product-root .rv-btn--primary:hover{filter:brightness(1.06)}
#katabam-product-root .rv-btn--primary:active{transform:scale(.98)}
#katabam-product-root .rv-btn--ghost{background:transparent;color:var(--heading);border-color:var(--surface-border)}
#katabam-product-root .rv-btn--ghost:hover{border-color:var(--primary);color:var(--primary-dark)}
#katabam-product-root .rv-btn:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
#katabam-product-root .rv-btn__spin{position:absolute;inset:0;margin:auto;width:1.2rem;height:1.2rem;border-radius:50%;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;opacity:0;animation:rvSpin .7s linear infinite;pointer-events:none}
#katabam-product-root .rv-btn--ghost .rv-btn__spin{border-color:rgba(8,24,42,.2);border-top-color:var(--primary)}
#katabam-product-root .is-busy>.rv-btn__txt,#katabam-product-root .is-busy .rv-btn__txt{opacity:0}
#katabam-product-root .is-busy .rv-btn__spin,#katabam-product-root .rv-btn.is-busy .rv-btn__spin{opacity:1}
#katabam-product-root .rv-btn:disabled{cursor:progress}
@keyframes rvSpin{to{transform:rotate(360deg)}}
#katabam-product-root .rv-more{justify-self:center;margin-top:.2rem}

/* form */
#katabam-product-root .rv-form{padding:1.5rem 1.6rem;animation:rvIn .4s cubic-bezier(.22,1,.36,1) both}
@keyframes rvIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
#katabam-product-root .rv-f{display:grid;gap:1rem}
#katabam-product-root .rv-f__head{display:flex;align-items:center;gap:.8rem}
#katabam-product-root .rv-f__head b{display:block;font-size:1.02rem;color:var(--heading);line-height:1.5}
#katabam-product-root .rv-f__head small{display:block;font-size:.76rem;color:var(--muted);line-height:1.6}
#katabam-product-root .rv-f__ic{flex:none;display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;background:rgba(110,190,69,.16);color:var(--primary-dark)}
#katabam-product-root .rv-f__ic .rv-i{width:1.2rem;height:1.2rem}
#katabam-product-root .rv-f__lbl{display:block;margin-bottom:.4rem;font-size:.8rem;font-weight:700;color:var(--heading)}
#katabam-product-root .rv-f__lbl i{color:var(--discount);font-style:normal}
#katabam-product-root .rv-f__lbl em{font-style:normal;font-weight:500;color:var(--muted);font-size:.72rem}
#katabam-product-root .rv-f__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
#katabam-product-root .rv-fld{display:block;min-width:0}
#katabam-product-root .rv-fld__box{
  display:flex;align-items:center;gap:.6rem;padding:0 .95rem;border:1.5px solid var(--surface-border);border-radius:14px;background:var(--surface-soft);color:var(--muted);
  transition:border-color .2s,box-shadow .2s,background-color .2s,color .2s;
}
#katabam-product-root .rv-fld__box .rv-i{width:1.1rem;height:1.1rem}
#katabam-product-root .rv-fld__box:focus-within{border-color:var(--primary);background:var(--surface);box-shadow:0 0 0 4px rgba(110,190,69,.18);color:var(--primary-dark)}
#katabam-product-root .rv-fld__box input,#katabam-product-root .rv-fld__box textarea{
  flex:1;min-width:0;height:3rem;padding:0;border:0;outline:0;background:transparent;color:var(--heading);font:inherit;font-size:.92rem;
}
#katabam-product-root .rv-fld__box input::placeholder,#katabam-product-root .rv-fld__box textarea::placeholder{color:var(--muted);opacity:.7}
#katabam-product-root .rv-fld__box--area{align-items:flex-start;padding:.2rem .95rem}
#katabam-product-root .rv-fld__box textarea{height:auto;min-height:7.5rem;padding:.7rem 0;resize:vertical;line-height:1.9}
#katabam-product-root .rv-fld__hint{display:block;margin-top:.3rem;font-size:.7rem;color:var(--muted)}
#katabam-product-root .rv-fld__count{display:block;margin-top:.3rem;text-align:end;font-size:.7rem;color:var(--muted)}
#katabam-product-root .rv-fld.is-err .rv-fld__box{border-color:var(--discount);background:rgba(217,45,45,.05);box-shadow:0 0 0 4px rgba(217,45,45,.1)}
#katabam-product-root .rv-hp{position:absolute!important;inset-inline-start:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
#katabam-product-root .rv-f__err{margin:0;padding:.65rem .9rem;border-radius:12px;background:rgba(217,45,45,.08);color:var(--discount);font-size:.82rem;font-weight:600}
#katabam-product-root .rv-f__staff{display:flex;align-items:center;gap:.5rem;margin:0;padding:.6rem .85rem;border-radius:12px;background:rgba(110,190,69,.12);color:var(--primary-dark);font-size:.8rem;font-weight:600}
#katabam-product-root .rv-f__act{display:flex;gap:.6rem;flex-wrap:wrap}
#katabam-product-root .rv-form .rv-f__act [data-rv-cancel]{display:none}

/* rating input */
#katabam-product-root .rv-f__rate{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.2rem 1rem;padding:.9rem 1rem;border-radius:16px;background:var(--surface-soft);border:1.5px solid transparent;transition:border-color .2s,background-color .2s}
#katabam-product-root .rv-f__rate .rv-f__lbl{grid-column:1/-1;margin:0}
#katabam-product-root .rv-f__rate.is-err{border-color:var(--discount);background:rgba(217,45,45,.05)}
#katabam-product-root .rv-rate{display:inline-flex;gap:.1rem;direction:rtl}
#katabam-product-root .rv-rate__s{
  display:grid;place-items:center;width:2.4rem;height:2.4rem;padding:0;border:0;background:none;cursor:pointer;color:rgba(8,24,42,.18);
  transition:color .15s,transform .25s cubic-bezier(.34,1.56,.64,1);
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-rate__s{color:rgba(255,255,255,.22)}
#katabam-product-root .rv-rate__s .rv-i{width:1.85rem;height:1.85rem}
#katabam-product-root .rv-rate__s.is-on,#katabam-product-root .rv-rate__s.is-hover{color:#f5b301}
#katabam-product-root .rv-rate__s.is-hover{transform:scale(1.12)}
#katabam-product-root .rv-rate__s:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:10px}
#katabam-product-root .rv-rate__txt{font-size:.84rem;font-weight:700;color:var(--muted)}
#katabam-product-root .has-value .rv-rate__txt{color:var(--primary-dark)}

/* list + cards */
#katabam-product-root .rv-list{display:grid;gap:.8rem}
#katabam-product-root .rv-c{position:relative;padding:1.2rem 1.35rem;border-radius:20px;box-shadow:0 18px 36px -30px rgba(8,24,42,.4)}
#katabam-product-root .rv-c__head{display:flex;align-items:center;gap:.8rem;margin-bottom:.7rem}
#katabam-product-root .rv-av{
  flex:none;display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;overflow:hidden;
  background:hsl(var(--h,140) 52% 46%);color:#fff;font-size:1rem;font-weight:700;
}
#katabam-product-root .rv-av--img{background:var(--surface);box-shadow:0 0 0 2px var(--primary),0 6px 14px -6px rgba(78,160,42,.6)}
#katabam-product-root .rv-av--img img{width:70%;height:70%;object-fit:contain;display:block}
#katabam-product-root .rv-c__who{display:grid;gap:.1rem;min-width:0;flex:1}
#katabam-product-root .rv-c__name{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .5rem}
#katabam-product-root .rv-c__name b{font-size:.92rem;font-weight:700;color:var(--heading)}
#katabam-product-root .rv-c__date{font-size:.72rem;color:var(--muted)}
#katabam-product-root .rv-badge{display:inline-flex;align-items:center;gap:.25rem;height:1.45rem;padding:0 .55rem;border-radius:999px;font-size:.68rem;font-weight:700;line-height:1}
#katabam-product-root .rv-badge .rv-i{width:.85rem;height:.85rem}
#katabam-product-root .rv-badge--staff{background:var(--primary);color:#fff;box-shadow:0 8px 14px -10px rgba(78,160,42,.9)}
#katabam-product-root .rv-badge--ok{background:rgba(110,190,69,.16);color:var(--primary-dark)}
#katabam-product-root .rv-badge--wait{background:rgba(229,165,10,.16);color:#a56f00}
#katabam-product-root .rv-c__text{font-size:.9rem;line-height:2.05;color:var(--text);overflow-wrap:anywhere}
#katabam-product-root .rv-c.is-pending{opacity:.78}
#katabam-product-root .rv-c--staff{background:linear-gradient(rgba(110,190,69,.07),rgba(110,190,69,.07)) padding-box,linear-gradient(rgba(110,190,69,.4),rgba(110,190,69,.4)) border-box}

/* actions */
#katabam-product-root .rv-c__act{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.8rem}
#katabam-product-root .rv-act{
  display:inline-flex;align-items:center;gap:.4rem;height:2.1rem;padding:0 .8rem;border:1px solid var(--surface-border);border-radius:999px;background:transparent;
  color:var(--muted);font:inherit;font-size:.78rem;font-weight:600;cursor:pointer;transition:border-color .2s,color .2s,background-color .2s,transform .2s;
}
#katabam-product-root .rv-act .rv-i{width:1rem;height:1rem}
#katabam-product-root .rv-act:hover{color:var(--heading);border-color:rgba(8,24,42,.28)}
#katabam-product-root .rv-act--up.is-on{color:var(--primary-dark);border-color:var(--primary);background:rgba(110,190,69,.12)}
#katabam-product-root .rv-act--down.is-on{color:var(--discount);border-color:var(--discount);background:rgba(217,45,45,.08)}
#katabam-product-root .rv-act--up:hover{color:var(--primary-dark);border-color:var(--primary)}
#katabam-product-root .rv-act--down:hover{color:var(--discount);border-color:var(--discount)}
#katabam-product-root .rv-act.is-pop{animation:rvPop .4s cubic-bezier(.34,1.56,.64,1)}
#katabam-product-root .rv-act--reply{margin-inline-start:auto}
@keyframes rvPop{0%{transform:scale(1)}40%{transform:scale(1.18)}100%{transform:scale(1)}}
#katabam-product-root .rv-act:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

/* replies */
#katabam-product-root .rv-c__replies{display:grid;gap:.6rem;margin-top:.9rem;padding-inline-start:1.1rem;border-inline-start:2px solid var(--surface-border)}
#katabam-product-root .rv-c__replies:empty{display:none}
#katabam-product-root .rv-c--reply{padding:.9rem 1rem;border-radius:16px;background:var(--surface-soft);box-shadow:none}
#katabam-product-root .rv-c--reply.rv-c--staff{background:rgba(110,190,69,.09);box-shadow:inset 0 0 0 1px rgba(110,190,69,.4)}
#katabam-product-root .rv-c--reply .rv-av{width:2.1rem;height:2.1rem;font-size:.85rem}
#katabam-product-root .rv-c--reply .rv-c__head{margin-bottom:.4rem}
#katabam-product-root .rv-c--reply .rv-c__text{font-size:.86rem}
#katabam-product-root .rv-c--reply .rv-act{height:1.9rem;background:var(--surface)}
#katabam-product-root .rv-c__slot{display:none}
#katabam-product-root .rv-c__slot.is-open{display:block;margin-top:.8rem;animation:rvIn .35s cubic-bezier(.22,1,.36,1) both}
#katabam-product-root .rv-f--reply{padding:1rem;border-radius:16px;background:var(--surface-soft);border:1px solid var(--surface-border)}
#katabam-product-root .rv-c--reply .rv-f--reply{background:var(--surface)}
#katabam-product-root .rv-f--reply .rv-fld__box{background:var(--surface)}
#katabam-product-root .rv-f--reply .rv-fld__box input{height:2.7rem}
#katabam-product-root .rv-f--reply .rv-fld__box textarea{min-height:5rem}
#katabam-product-root .rv-f--reply .rv-btn{height:2.6rem;padding:0 1.2rem;font-size:.84rem}

/* empty */
#katabam-product-root .rv-empty{display:grid;justify-items:center;gap:.3rem;padding:2.2rem 1.2rem;text-align:center;color:var(--muted);font-size:.84rem}
#katabam-product-root .rv-empty b{font-size:1rem;color:var(--heading)}
#katabam-product-root .rv-empty__ic{display:grid;place-items:center;width:3.6rem;height:3.6rem;margin-bottom:.4rem;border-radius:50%;background:rgba(110,190,69,.14);color:var(--primary-dark)}
#katabam-product-root .rv-empty__ic .rv-i{width:1.7rem;height:1.7rem}

/* highlight after posting / deep link */
#katabam-product-root .rv-c.is-flash{animation:rvFlash 1.8s ease-out}
@keyframes rvFlash{0%{box-shadow:0 0 0 0 rgba(110,190,69,.7)}25%{box-shadow:0 0 0 6px rgba(110,190,69,.28)}100%{box-shadow:0 0 0 0 rgba(110,190,69,0)}}

/* toasts */
#katabam-product-root .rv-toasts{position:fixed;z-index:200;inset-inline:0;bottom:1.4rem;display:grid;justify-items:center;gap:.5rem;padding-inline:1rem;pointer-events:none}
#katabam-product-root .rv-toast{
  pointer-events:auto;display:flex;align-items:center;gap:.7rem;max-width:min(28rem,100%);padding:.75rem .9rem .75rem 1rem;border-radius:16px;
  background:var(--heading);color:var(--surface);font-size:.86rem;font-weight:600;line-height:1.7;box-shadow:0 22px 44px -18px rgba(8,24,42,.6);
  opacity:0;transform:translateY(14px) scale(.97);transition:opacity .3s,transform .35s cubic-bezier(.34,1.4,.64,1);
}
#katabam-product-root .rv-toast.is-in{opacity:1;transform:none}
#katabam-product-root .rv-toast__dot{flex:none;width:.6rem;height:.6rem;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px rgba(110,190,69,.3)}
#katabam-product-root .rv-toast--err .rv-toast__dot{background:#ff6b6b;box-shadow:0 0 0 4px rgba(255,107,107,.3)}
#katabam-product-root .rv-toast--info .rv-toast__dot{background:#f5b301;box-shadow:0 0 0 4px rgba(245,179,1,.3)}
#katabam-product-root .rv-toast__x{margin-inline-start:auto;border:0;background:none;color:inherit;opacity:.6;font-size:1.2rem;line-height:1;cursor:pointer}
@media (max-width:768px){
  #katabam-product-root .rv-toasts{bottom:calc(var(--katabam-mnav-height,62px) + env(safe-area-inset-bottom,0px) + 5.4rem)}
}

@container (max-width:900px){
  #katabam-product-root .rv-sum{grid-template-columns:auto minmax(0,1fr)}
  #katabam-product-root .rv-sum__cta{grid-column:1/-1}
  #katabam-product-root .rv-sum__cta .rv-btn{width:100%}
}
@container (max-width:640px){
  #katabam-product-root .rv-sum{padding:1.1rem 1rem;gap:1rem 1.2rem}
  #katabam-product-root .rv-sum__score{min-width:5.5rem}
  #katabam-product-root .rv-sum__avg{font-size:2.4rem}
  #katabam-product-root .rv-form{padding:1.2rem 1rem}
  #katabam-product-root .rv-f__grid{grid-template-columns:1fr}
  #katabam-product-root .rv-f__rate{grid-template-columns:1fr}
  #katabam-product-root .rv-rate__s{width:2.6rem;height:2.6rem}
  #katabam-product-root .rv-c{padding:1rem}
  #katabam-product-root .rv-c__head{flex-wrap:wrap}
  #katabam-product-root .rv-c__replies{padding-inline-start:.7rem}
  #katabam-product-root .rv-f__act .rv-btn--primary{flex:1}
}
@media (prefers-reduced-motion:reduce){
  #katabam-product-root :is(.rv-form,.rv-c__slot.is-open,.rv-c.is-flash,.rv-act.is-pop){animation:none}
  #katabam-product-root .rv-toast{transition:none}
}

/* v3.3 — dark-mode polish for the review system */
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-badge--wait{background:rgba(245,179,1,.16);color:#f5c542}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-badge--ok{background:rgba(110,190,69,.2);color:#a6e07f}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-toast{background:#eaf1f8;color:#0b2540;box-shadow:0 22px 44px -18px rgba(0,0,0,.7)}

/* v3.4 — review form redesign (UI/UX) */
#katabam-product-root .rv-form{position:relative;padding:0;overflow:hidden;scroll-margin-top:calc(var(--stick,0px) + var(--dock-h,0px) + 1rem)}
#katabam-product-root .rv-form .rv-f{gap:1.15rem;padding:1.4rem 1.6rem 1.5rem}
#katabam-product-root .rv-form .rv-f__head{padding-bottom:1rem;border-bottom:1px dashed var(--surface-border)}
#katabam-product-root .rv-f__head>div{flex:1;min-width:0}
#katabam-product-root .rv-f__x{flex:none;display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;border:1.5px solid var(--surface-border);background:var(--surface-soft);color:var(--muted);transition:background-color .2s,color .2s,transform .25s}
#katabam-product-root .rv-f__x .rv-i{width:1rem;height:1rem}
#katabam-product-root .rv-f__x:hover{background:rgba(217,45,45,.1);color:var(--discount);transform:rotate(90deg)}
#katabam-product-root .rv-form.is-in{animation:rvIn .45s cubic-bezier(.22,1,.36,1) both}

/* progress */
#katabam-product-root .rv-prog{display:flex;align-items:center;gap:.7rem;margin-top:-.35rem}
#katabam-product-root .rv-prog i{position:relative;flex:1;height:.34rem;border-radius:99px;background:var(--surface-soft);overflow:hidden}
#katabam-product-root .rv-prog i::after{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:var(--p,0%);border-radius:inherit;background:linear-gradient(90deg,var(--primary-dark),var(--primary));transition:width .45s cubic-bezier(.22,1,.36,1)}
#katabam-product-root .rv-prog span{flex:none;font-size:.72rem;font-weight:700;color:var(--muted);min-width:4.2rem;text-align:end}
#katabam-product-root .rv-prog.is-full span{color:var(--primary-dark)}

/* rating tile */
#katabam-product-root .rv-f__rate{grid-template-columns:1fr;justify-items:center;text-align:center;gap:.35rem;padding:1.15rem 1rem 1rem;border-radius:20px;border:1.5px dashed var(--surface-border);background:linear-gradient(180deg,rgba(245,179,1,.07),transparent 70%),var(--surface-soft)}
#katabam-product-root .rv-f__rate.has-value{border-style:solid;border-color:rgba(245,179,1,.45)}
#katabam-product-root .rv-f__rate .rv-f__lbl{font-size:.82rem}
#katabam-product-root .rv-rate{gap:.25rem}
#katabam-product-root .rv-rate__s{width:3rem;height:3rem;border-radius:14px}
#katabam-product-root .rv-rate__s .rv-i{width:2.3rem;height:2.3rem;filter:drop-shadow(0 0 0 transparent);transition:filter .2s}
#katabam-product-root .rv-rate__s.is-on .rv-i{filter:drop-shadow(0 6px 8px rgba(245,179,1,.4))}
#katabam-product-root .rv-rate__s:hover{background:rgba(245,179,1,.12)}
#katabam-product-root .rv-rate__txt{display:inline-flex;align-items:center;min-height:1.9rem;padding:0 .9rem;border-radius:99px;background:var(--surface);border:1px solid var(--surface-border);font-size:.8rem;color:var(--muted);transition:background-color .2s,color .2s,border-color .2s}
#katabam-product-root .has-value .rv-rate__txt{background:rgba(245,179,1,.16);border-color:rgba(245,179,1,.4);color:#8a6100}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .has-value .rv-rate__txt{color:#f5c542}

/* fields */
#katabam-product-root .rv-fld__box{min-height:3.2rem;border-radius:16px;background:var(--surface-soft)}
#katabam-product-root .rv-fld__box:hover{border-color:rgba(110,190,69,.5)}
#katabam-product-root .rv-fld__box input,#katabam-product-root .rv-fld__box textarea{color:var(--heading);-webkit-text-fill-color:var(--heading);caret-color:var(--primary)}
#katabam-product-root .rv-fld__box input:-webkit-autofill{-webkit-text-fill-color:var(--heading);box-shadow:0 0 0 40px var(--surface-soft) inset}
#katabam-product-root .rv-fld__box--area{padding-block:.1rem}
#katabam-product-root .rv-fld__count{margin-top:.35rem}
#katabam-product-root .rv-f__err{display:flex;align-items:center;gap:.5rem;border:1px solid rgba(217,45,45,.25)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-f__err{background:rgba(255,107,107,.12);color:#ff9a9a;border-color:rgba(255,107,107,.3)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-fld.is-err .rv-fld__box{background:rgba(255,107,107,.08);border-color:#ff6b6b}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-f__rate.is-err{border-color:#ff6b6b;background:rgba(255,107,107,.08)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-fld.is-err .rv-f__lbl i{color:#ff9a9a}

/* actions */
#katabam-product-root .rv-form .rv-f__act{display:flex;gap:.7rem;align-items:center}
#katabam-product-root .rv-form .rv-f__act [data-rv-cancel]{display:inline-flex}
#katabam-product-root .rv-form .rv-f__act .rv-btn--primary{flex:1;min-height:3.1rem;justify-content:center}
#katabam-product-root .rv-empty__cta{margin-top:.6rem}
@media (max-width:640px){
  #katabam-product-root .rv-form .rv-f{padding:1.1rem 1rem 1.2rem}
  #katabam-product-root .rv-f__grid{grid-template-columns:1fr}
  #katabam-product-root .rv-rate__s{width:2.7rem;height:2.7rem}
  #katabam-product-root .rv-rate__s .rv-i{width:2.1rem;height:2.1rem}
  #katabam-product-root .rv-form .rv-f__act{position:sticky;bottom:calc(var(--katabam-mnav-height,62px) + env(safe-area-inset-bottom,0px) + .5rem);z-index:5;padding:.55rem;margin:0 -.4rem;border-radius:18px;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(10px);border:1px solid var(--surface-border)}
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-rate__s.is-on,
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-rate__s.is-hover{color:#f5b301}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-rate__s:hover{background:rgba(245,179,1,.16)}
#katabam-product-root .rv-rate__s .rv-i{fill:transparent;stroke:currentColor;stroke-width:1.6;transition:fill .2s,filter .2s}
#katabam-product-root .rv-rate__s.is-on .rv-i,#katabam-product-root .rv-rate__s.is-hover .rv-i{fill:currentColor}
#katabam-product-root .rv-sum__lbl .rv-i{fill:currentColor;stroke:none}

/* ================= v3.5 — plain lightbox, calm description, light request card ================= */

/* lightbox media: flat, no gradients / grid / shadows */
.kgm__media{background:var(--surface-soft)!important}
.kgm__media::before{content:none!important}
.kgm__stage,.kgm__nav,.kgm__count,.kgm__close{box-shadow:none!important}
.kgm__stage{border-color:var(--surface-border)}
.kgm__thumb[aria-current="true"]{box-shadow:none!important;border-color:var(--primary);outline:0}
/* actions: no hard top border — a soft fade from the scrolling details instead */
.kgm__actions{position:relative;border-top:0!important;background:var(--surface)}
.kgm__actions::before{content:"";position:absolute;inset-inline:0;bottom:100%;height:1.8rem;background:linear-gradient(to top,var(--surface),transparent);pointer-events:none}
@media (max-width:760px){.kgm__actions::before{height:1.3rem}}

/* request card */
#katabam-product-root .aside .request{position:relative;overflow:hidden;padding:1.35rem 1.3rem 1.3rem;color:var(--heading);display:grid;justify-items:start;gap:0}
#katabam-product-root .aside .request::before,#katabam-product-root .aside .request::after{content:none}
#katabam-product-root .request__ic{width:2.8rem;height:2.8rem;margin-bottom:.85rem;border-radius:16px;background:rgba(110,190,69,.14);color:var(--primary-dark);transition:transform .35s cubic-bezier(.34,1.4,.64,1)}
#katabam-product-root .request__ic .i{width:1.35rem;height:1.35rem}
#katabam-product-root .aside .request:hover .request__ic{transform:rotate(-6deg) scale(1.06)}
#katabam-product-root .aside .request h3{margin:0 0 .35rem;font-size:1.02rem;font-weight:700;color:var(--heading)}
#katabam-product-root .aside .request p{margin:0 0 1.1rem;font-size:.82rem;line-height:1.95;color:var(--muted)}
#katabam-product-root .aside .request .btn{align-self:stretch;width:100%;display:flex;align-items:center;justify-content:center;height:2.8rem;border-radius:14px;background:var(--primary);color:#fff;font-weight:700;font-size:.86rem;transition:background-color .2s,transform .2s}
#katabam-product-root .aside .request .btn:hover{background:var(--primary-dark)}
#katabam-product-root .aside .request .btn:active{transform:scale(.985)}

/* description: calm prose, full width */
#katabam-product-root #pane-desc{padding:1.7rem 2rem 1.5rem}
#katabam-product-root .prose #descContent{max-width:none;color:var(--text);font-size:.95rem;line-height:2.15}
#katabam-product-root .prose #descContent>:is(p:first-child,:is(h2,h3,h4)+p){font-size:1.02rem;color:var(--heading);line-height:2.2}
#katabam-product-root .prose #descContent p{margin:0 0 1rem;color:var(--text)}
#katabam-product-root .prose #descContent>p:first-child{color:var(--heading)}
#katabam-product-root .prose #descContent blockquote{
  margin:1.2rem 0 1.4rem;padding:1rem 1.2rem;border:0;border-radius:16px;background:rgba(110,190,69,.09);color:var(--heading);font-weight:600;line-height:2.1;
}
#katabam-product-root .prose #descContent blockquote::before{content:none}
#katabam-product-root .prose #descContent blockquote p{margin:0;color:inherit}
/* lists: two even columns of quiet rows */
#katabam-product-root .prose #descContent ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2rem;margin:1.2rem 0 1.4rem;padding:0;list-style:none;background:none;border:0}
#katabam-product-root .prose #descContent ul li{
  position:relative;display:block;margin:0;padding:.7rem 0;padding-inline-start:2rem;border:0;border-bottom:1px solid var(--surface-border);border-radius:0;background:none;
  font-size:.92rem;font-weight:600;color:var(--heading);line-height:1.9;min-height:0;box-shadow:none;
}
#katabam-product-root .prose #descContent ul li:last-child{border-bottom:1px solid var(--surface-border)}
@media (min-width:641px){#katabam-product-root .prose #descContent ul li:nth-last-child(2):nth-child(odd){border-bottom:1px solid var(--surface-border)}}
#katabam-product-root .prose #descContent ul li::before{
  content:"";position:absolute;inset-inline-start:0;top:1.08rem;width:1.15rem;height:1.15rem;border-radius:50%;
  background:rgba(110,190,69,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235aab38' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/68% no-repeat;
  margin:0;transform:none;background-size:68%;transition:transform .3s cubic-bezier(.34,1.4,.64,1);
}
@media (hover:hover){
  #katabam-product-root .prose #descContent ul li:hover{padding-inline-start:2rem;background:none;transform:none;border-color:var(--surface-border);border-bottom-color:var(--surface-border)}
  #katabam-product-root .prose #descContent ul li:hover::before{transform:scale(1.15)}
}
@media (max-width:640px){
  #katabam-product-root #pane-desc{padding:1.3rem 1.1rem 1.2rem}
  #katabam-product-root .prose #descContent ul{grid-template-columns:1fr}
}
#katabam-product-root .specs__empty{grid-column:1/-1;margin:0;padding:1.4rem 1rem;text-align:center;color:var(--muted);font-size:.88rem}

/* ================= v3.6 — scroll offset for #tabs + animated tab icons ================= */
#katabam-product-root #tabs{scroll-margin-top:calc(var(--stick,0px) + 5.8rem)}
@container (max-width:1040px){
  #katabam-product-root #tabs{scroll-margin-top:calc(var(--stick,0px) + 1rem)}
}

/* animated icons (info / list) — plays on hover and when the tab becomes active */
#katabam-product-root .ai .ai-draw{stroke-dasharray:1;stroke-dashoffset:0}
#katabam-product-root .ai .ai-pulse,#katabam-product-root .ai .ai-dot{transform-box:fill-box;transform-origin:center}
#katabam-product-root .ai .ai-line{transform-box:view-box;transform-origin:8px var(--oy,12px)}
@media (prefers-reduced-motion:no-preference){
  #katabam-product-root .tabnav button:is(:hover,[aria-selected="true"]) .ai--info{animation:aiWiggle .7s ease-in-out}
  #katabam-product-root .tabnav button:is(:hover,[aria-selected="true"]) .ai--info .ai-draw{animation:aiDraw .8s ease-in-out}
  #katabam-product-root .tabnav button:is(:hover,[aria-selected="true"]) .ai--info .ai-pulse{animation:aiPulse .5s ease-in-out}
  #katabam-product-root .tabnav button:is(:hover,[aria-selected="true"]) .ai--list .ai-dot{animation:aiPop .4s cubic-bezier(.34,1.4,.64,1) both;animation-delay:calc(.06s + var(--i,0) * .12s)}
  #katabam-product-root .tabnav button:is(:hover,[aria-selected="true"]) .ai--list .ai-line{animation:aiWipe .4s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.06s + var(--i,0) * .1s)}
}
@keyframes aiWiggle{0%{transform:rotate(0) scale(1)}35%{transform:rotate(-2deg) scale(1.08)}70%{transform:rotate(2deg) scale(.95)}100%{transform:rotate(0) scale(1)}}
@keyframes aiDraw{from{stroke-dashoffset:1;opacity:.6}to{stroke-dashoffset:0;opacity:1}}
@keyframes aiPulse{0%{transform:scale(1);opacity:1}35%{transform:scale(1.3);opacity:.5}70%{transform:scale(.8);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes aiPop{0%{transform:scale(0);opacity:0}60%{transform:scale(1.2);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes aiWipe{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}
/* chat icon: the two text lines erase and redraw */
#katabam-product-root .ai .ai-tl{stroke-dasharray:1;stroke-dashoffset:0}
@media (prefers-reduced-motion:no-preference){
  #katabam-product-root .tabnav button:is(:hover,[aria-selected="true"]) .ai--chat .ai-tl{animation:aiRedraw .6s ease-in-out;animation-delay:calc(var(--i,0) * .1s)}
}
@keyframes aiRedraw{0%{stroke-dashoffset:0;opacity:1}50%{stroke-dashoffset:1;opacity:0}100%{stroke-dashoffset:0;opacity:1}}

/* ================= v3.7 ================= */
/* rating label colour follows the score: red → green */
#katabam-product-root .rv-f__rate[data-r="1"]{--rc:#e03131;--rb:rgba(224,49,49,.12)}
#katabam-product-root .rv-f__rate[data-r="2"]{--rc:#e8590c;--rb:rgba(232,89,12,.12)}
#katabam-product-root .rv-f__rate[data-r="3"]{--rc:#b78103;--rb:rgba(245,179,1,.16)}
#katabam-product-root .rv-f__rate[data-r="4"]{--rc:#4c9a2a;--rb:rgba(110,190,69,.16)}
#katabam-product-root .rv-f__rate[data-r="5"]{--rc:#2b8a3e;--rb:rgba(43,138,62,.16)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-f__rate[data-r="1"]{--rc:#ff8787;--rb:rgba(255,107,107,.16)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-f__rate[data-r="2"]{--rc:#ffa066;--rb:rgba(255,146,76,.16)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-f__rate[data-r="3"]{--rc:#f5c542;--rb:rgba(245,179,1,.16)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-f__rate[data-r="4"]{--rc:#9be07a;--rb:rgba(110,190,69,.18)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-f__rate[data-r="5"]{--rc:#7ed957;--rb:rgba(110,190,69,.2)}
#katabam-product-root .rv-f__rate.has-value .rv-rate__txt{background:var(--rb);color:var(--rc);border-color:transparent}
#katabam-product-root .rv-f__rate.has-value{border-color:var(--rc)}

/* lightbox media: pure surface colour */
.kgm__media{background:var(--surface)!important}

/* gallery: out-of-stock tag sits in the corner, not across the cover */
#katabam-product-root .ribbon{top:.9rem;inset-inline-start:auto;inset-inline-end:.9rem;translate:none;rotate:none;padding:.3rem .85rem;border-radius:999px;font-size:.78rem;font-weight:700;box-shadow:none}
#katabam-product-root [data-state="oos"] .kg__slide img{filter:grayscale(.45);opacity:.85}

/* description: no green bar on headings, better checklist */
#katabam-product-root .prose #descContent :is(h2,h3,h4)::before{content:none;display:none}
#katabam-product-root .prose #descContent :is(h2,h3,h4){display:block}
#katabam-product-root .prose #descContent ul{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.65rem;margin:1.3rem 0 1.5rem}
#katabam-product-root .prose #descContent ul li{
  display:flex;align-items:center;gap:.75rem;min-height:3.4rem;padding:.7rem 1rem;border:1px solid var(--surface-border);border-radius:16px;background:var(--surface-soft);
  font-size:.9rem;font-weight:600;line-height:1.8;transition:border-color .25s,background-color .25s,transform .25s cubic-bezier(.22,1,.36,1);
}
#katabam-product-root .prose #descContent ul li:last-child,#katabam-product-root .prose #descContent ul li:nth-last-child(2):nth-child(odd){border:1px solid var(--surface-border)}
#katabam-product-root .prose #descContent ul li::before{
  position:static;flex:none;width:1.6rem;height:1.6rem;margin:0;border-radius:50%;
  background:var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/62% no-repeat;
  box-shadow:0 0 0 4px rgba(110,190,69,.16);
}
@media (hover:hover){
  #katabam-product-root .prose #descContent ul li:hover{padding-inline-start:1rem;background:rgba(110,190,69,.09);border-color:rgba(110,190,69,.5);transform:translateY(-2px)}
  #katabam-product-root .prose #descContent ul li:hover::before{transform:none}
}
@media (max-width:640px){#katabam-product-root .prose #descContent ul{grid-template-columns:1fr}}

/* request card header: icon + title side by side */
#katabam-product-root .request__head{display:flex;align-items:center;gap:.75rem;margin-bottom:.8rem;width:100%}
#katabam-product-root .request__head .request__ic{margin:0;flex:none}
#katabam-product-root .aside .card p.card-title{margin:0;font-size:1.02rem;font-weight:700;line-height:1.6;color:var(--heading)}
#katabam-product-root .aside .card>p.card-title{margin:0 0 .5rem}

/* reviews heading */
#katabam-product-root .rv__title{margin:0 0 .9rem;font-size:1.05rem;font-weight:700;color:var(--heading);line-height:1.7}
#katabam-product-root .prose #descContent>:is(p:first-child,:is(h2,h3,h4)+p){padding-inline-start:0;border-inline-start:0}
#katabam-product-root .ribbon{inset-inline:0;margin-inline:auto;width:max-content}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-f__rate.has-value .rv-rate__txt{background:var(--rb);color:var(--rc);border-color:transparent}

/* ================= v3.8 — order track + author card ================= */
#katabam-product-root .otrack-card{position:relative;overflow:hidden;padding:1.3rem 1.3rem 1.2rem}
#katabam-product-root .otrack-card::after{content:"";position:absolute;inset-inline-end:-3.5rem;top:-3.5rem;width:9rem;height:9rem;border-radius:50%;background:radial-gradient(circle,rgba(110,190,69,.16),transparent 70%);pointer-events:none}
#katabam-product-root .otrack-card>*{position:relative;z-index:1}
#katabam-product-root .otrack-card__head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:1.2rem}
#katabam-product-root .aside .otrack-card .card-title{margin:0}
#katabam-product-root .otrack-card__chip{display:inline-flex;align-items:center;gap:.4rem;height:1.7rem;padding:0 .7rem;border-radius:99px;background:rgba(110,190,69,.14);color:var(--primary-dark);font-size:.7rem;font-weight:700;white-space:nowrap}
#katabam-product-root .otrack-card__chip{gap:.55rem}
#katabam-product-root .otrack-card__pulse{position:relative;flex:none;width:.45rem;height:.45rem;border-radius:50%;background:var(--primary)}
/* the ring stays inside the chip: max radius (~9px) < gap to the label (~8.8px) and < padding to the chip edge (~11px) */
#katabam-product-root .otrack-card__pulse::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:1.5px solid var(--primary);opacity:0;transform:scale(.6);will-change:transform,opacity;animation:otPing 2s cubic-bezier(.2,.6,.3,1) infinite}
@keyframes otPing{0%{transform:scale(.6);opacity:.75}70%{opacity:0}100%{transform:scale(1.55);opacity:0}}
@media (prefers-reduced-motion:reduce){#katabam-product-root .otrack-card__pulse::after{animation:none;opacity:.35;transform:scale(1.2)}}

#katabam-product-root .otrack{list-style:none;margin:0 0 1.1rem;padding:0;display:grid;gap:0}
#katabam-product-root .otrack .otrack__step{position:relative;display:grid;grid-template-columns:2.7rem minmax(0,1fr);gap:.9rem;align-items:start;padding:0 0 1.15rem;min-height:0;font-size:.82rem}
#katabam-product-root .otrack .otrack__step:last-child{padding-bottom:0}
#katabam-product-root .otrack .otrack__step::before{content:none}
#katabam-product-root .otrack .otrack__step:not(:last-child)::after{
  content:"";position:absolute;inset-inline-start:calc(1.35rem - 1px);top:2.8rem;bottom:.1rem;width:2px;border-radius:2px;
  background:linear-gradient(var(--primary),var(--primary)) top/100% 100% no-repeat,var(--surface-border);
  transform-origin:top;
}
#katabam-product-root .otrack__dot{position:relative;display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:16px;background:linear-gradient(145deg,var(--primary),var(--primary-dark));color:#fff;box-shadow:0 0 0 4px rgba(110,190,69,.16);transition:transform .35s cubic-bezier(.34,1.56,.64,1),box-shadow .3s}
#katabam-product-root .otrack__dot .i{width:1.3rem;height:1.3rem}
#katabam-product-root .otrack__txt{padding-top:.1rem;min-width:0}
#katabam-product-root .otrack .otrack__txt b{display:block;padding:0;font-size:.9rem;font-weight:700;color:var(--heading);line-height:1.7}
#katabam-product-root .otrack .otrack__txt small{display:block;margin-top:.05rem;font-size:.74rem;line-height:1.8;color:var(--muted)}
@media (hover:hover){
  #katabam-product-root .otrack .otrack__step:hover .otrack__dot{transform:translateY(-2px) rotate(-6deg) scale(1.06);box-shadow:0 0 0 5px rgba(110,190,69,.24),0 10px 18px -10px rgba(78,160,42,.9)}
}
/* sequential light-up when the card scrolls into view (JS adds .is-pre then .is-in) */
#katabam-product-root .otrack-card.is-pre:not(.is-in) .otrack__dot{background:var(--surface-soft);color:var(--muted);box-shadow:none}
#katabam-product-root .otrack-card.is-pre:not(.is-in) .otrack__step::after{background:linear-gradient(var(--primary),var(--primary)) top/100% 0 no-repeat,var(--surface-border)}
@media (prefers-reduced-motion:no-preference){
  #katabam-product-root .otrack-card.is-in .otrack__dot{animation:otDot .55s cubic-bezier(.34,1.56,.64,1) both;animation-delay:calc(.15s + var(--i,0) * .5s)}
  #katabam-product-root .otrack-card.is-in .otrack__step:not(:last-child)::after{animation:otLine .5s ease-out both;animation-delay:calc(.35s + var(--i,0) * .5s)}
  #katabam-product-root .otrack-card.is-in .otrack__txt{animation:otTxt .5s ease both;animation-delay:calc(.2s + var(--i,0) * .5s)}
}
@keyframes otDot{0%{background:var(--surface-soft);color:var(--muted);box-shadow:none;transform:scale(.8)}100%{transform:scale(1)}}
@keyframes otLine{from{background-size:100% 0,auto}to{background-size:100% 100%,auto}}
@keyframes otTxt{from{opacity:.25;transform:translateX(8px)}to{opacity:1;transform:none}}
#katabam-product-root .otrack-card__link{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.75rem 1rem;border-radius:14px;background:var(--surface-soft);color:var(--heading);font-size:.84rem;font-weight:700;text-decoration:none;transition:background-color .2s,color .2s}
#katabam-product-root .otrack-card__link .i{width:1rem;height:1rem;transition:transform .3s cubic-bezier(.34,1.4,.64,1)}
#katabam-product-root .otrack-card__link:hover{background:var(--primary);color:#fff}
#katabam-product-root .otrack-card__link:hover .i{transform:translateX(-4px)}

/* author card */
#katabam-product-root .au{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:1.4rem 2rem;margin-top:2.6rem;padding:1.6rem 1.8rem;border-radius:26px}
#katabam-product-root .au::before{content:"";position:absolute;inset-inline-start:-4rem;bottom:-5rem;width:14rem;height:14rem;border-radius:50%;background:radial-gradient(circle,rgba(110,190,69,.14),transparent 70%);pointer-events:none}
#katabam-product-root .au>*{position:relative;z-index:1}
#katabam-product-root .au__who{display:flex;align-items:center;gap:1.1rem;min-width:0}
#katabam-product-root .au__av{flex:none;display:grid;place-items:center;width:4.4rem;height:4.4rem;border-radius:50%;background:linear-gradient(145deg,var(--primary),var(--primary-dark));color:#fff;font-size:1.7rem;font-weight:700;box-shadow:0 0 0 4px var(--surface),0 0 0 6px rgba(110,190,69,.45)}
#katabam-product-root .au__txt{min-width:0}
#katabam-product-root .au__eyebrow{display:inline-block;margin-bottom:.15rem;padding:.1rem .6rem;border-radius:99px;background:rgba(110,190,69,.14);color:var(--primary-dark);font-size:.7rem;font-weight:700}
#katabam-product-root .au__name{margin:0;font-size:clamp(1.15rem,2.2vw,1.45rem);font-weight:700;line-height:1.6;color:var(--heading)}
#katabam-product-root .au__count{margin:0;font-size:.82rem;color:var(--muted);line-height:1.8}
#katabam-product-root .au__count b{color:var(--primary-dark);font-weight:700}
#katabam-product-root .au__covers{display:flex;align-items:center;padding-inline-end:1.4rem}
#katabam-product-root .au__cover{display:block;width:3.7rem;aspect-ratio:2/3;margin-inline-end:-1.4rem;border-radius:7px;overflow:hidden;border:2px solid var(--surface);background:var(--surface-soft);transform:rotate(calc((var(--k,0) - 1) * 6deg)) translateY(calc(var(--k,0) * -2px));transition:transform .45s cubic-bezier(.34,1.4,.64,1)}
#katabam-product-root .au__cover img{display:block;width:100%;height:100%;object-fit:cover}
@media (hover:hover){#katabam-product-root .au:hover .au__cover{transform:rotate(calc((var(--k,0) - 1) * 10deg)) translateY(-6px) translateX(calc((var(--k,0) - 1) * -6px))}}
#katabam-product-root .au__cta{display:inline-flex;align-items:center;gap:.6rem;height:2.9rem;padding:0 1.2rem;border-radius:14px;border:1.5px solid var(--primary);color:var(--primary-dark);font-size:.86rem;font-weight:700;text-decoration:none;white-space:nowrap;transition:background-color .2s,color .2s}
#katabam-product-root .au__cta .i{width:1rem;height:1rem;transition:transform .3s cubic-bezier(.34,1.4,.64,1)}
#katabam-product-root .au__cta:hover{background:var(--primary);color:#fff}
#katabam-product-root .au__cta:hover .i{transform:translateX(-4px)}
@container (max-width:900px){
  #katabam-product-root .au{grid-template-columns:minmax(0,1fr) auto}
  #katabam-product-root .au__cta{grid-column:1/-1;justify-content:center}
}
@container (max-width:560px){
  #katabam-product-root .au{grid-template-columns:1fr;padding:1.3rem 1.1rem;gap:1.1rem}
  #katabam-product-root .au__covers{justify-content:flex-start;padding-inline-start:.4rem}
}

/* ===== v3.9 ===== */
/* head: chips + author/publisher */
#katabam-product-root .chips{gap:.5rem;margin-bottom:1.05rem}
#katabam-product-root .title{margin-bottom:1.1rem}
#katabam-product-root .subline{gap:.7rem;margin:0 0 1.35rem}
#katabam-product-root .subline__item{gap:.7rem;padding:.4rem 1.1rem .4rem .45rem;border-radius:18px;background:var(--surface);box-shadow:0 12px 24px -20px rgba(8,24,42,.45)}
#katabam-product-root .subline__ic{width:2.5rem;height:2.5rem;font-size:1.15rem;overflow:hidden}
#katabam-product-root .subline__ic--photo{background:var(--surface-soft);box-shadow:0 0 0 2px var(--primary)}
#katabam-product-root .subline__ic--photo img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
#katabam-product-root .subline__tx{display:grid;gap:.05rem;min-width:0;line-height:1.4}
#katabam-product-root .subline__lbl{font-size:.68rem;color:var(--muted);font-weight:400}
#katabam-product-root .subline__tx b{font-size:.9rem;font-weight:600}
/* price → left edge */
#katabam-product-root .pricebox{justify-content:flex-end}
#katabam-product-root .pricebox__main{justify-content:flex-end}
/* order track: no top bar */
#katabam-product-root .otrack-card::before{content:none!important;display:none!important}
/* author photo */
#katabam-product-root .au__av--photo{background:var(--surface-soft);overflow:hidden;padding:0}
#katabam-product-root .au__av--photo img{width:100%;height:100%;object-fit:cover;display:block}
/* review avatars: a different colour per person */
#katabam-product-root .rv-av:not(.rv-av--img){background:linear-gradient(145deg,var(--c1,hsl(140 60% 50%)),var(--c2,hsl(180 60% 38%)));box-shadow:0 8px 16px -10px var(--c2,#0a0)}

/* ===== v3.10 buy box ===== */
#katabam-product-root .pricebox{justify-content:space-between;align-items:center;gap:.8rem 1rem}
#katabam-product-root .pricebox__lead{display:grid;gap:.15rem;min-width:0}
#katabam-product-root .pricebox__label{font-size:.95rem;font-weight:700;color:var(--heading)}
#katabam-product-root .pricebox__hint{font-size:.72rem;color:var(--muted);line-height:1.6}
#katabam-product-root .pricebox__end{display:grid;justify-items:end;gap:.4rem;margin-inline-start:auto;text-align:left}
#katabam-product-root .pricebox__main{display:grid;justify-items:end;gap:.1rem}
#katabam-product-root .pricebox__main .was{order:-1}
#katabam-product-root .now{font-size:2.3rem}
#katabam-product-root .buy{padding:1.5rem 1.5rem 1.2rem}
#katabam-product-root .buy__trust{
  list-style:none;margin:1.25rem 0 0;padding:1.05rem 0 0;border-top:1px dashed var(--pb-line);
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;
}
#katabam-product-root .buy__trust li{display:flex;align-items:center;gap:.55rem;min-width:0}
#katabam-product-root .buy__trust svg{flex:none;box-sizing:content-box;width:1.15rem;height:1.15rem;padding:.5rem;border-radius:12px;background:var(--pb-tint);color:var(--primary-dark)}
#katabam-product-root .buy__trust span{display:grid;min-width:0;line-height:1.45}
#katabam-product-root .buy__trust b{font-size:.76rem;font-weight:700;color:var(--heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#katabam-product-root .buy__trust small{font-size:.68rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:560px){
  #katabam-product-root .buy{padding:1.15rem 1rem 1rem}
  #katabam-product-root .now{font-size:1.9rem}
  #katabam-product-root .buy__trust{grid-template-columns:1fr;gap:.55rem}
  #katabam-product-root .buy__trust li{padding:.5rem .6rem;border-radius:14px;background:var(--pb-field)}
  #katabam-product-root .buy__trust svg{padding:.4rem;background:var(--surface)}
  #katabam-product-root .buy__trust b,#katabam-product-root .buy__trust small{white-space:normal}
}

/* ===== v3.11 marquee, spacing, hover FX, pulse bullets ===== */
#katabam-product-root .chips{gap:.6rem}
#katabam-product-root .chips .chip{padding:.4rem 1rem;gap:.45rem;font-size:.74rem}
#katabam-product-root .chips .chip>span:not(.dot){display:block;min-width:0}
#katabam-product-root #chipCat{max-width:13rem}
#katabam-product-root .subline__item{padding:.55rem 1.3rem .55rem .6rem;gap:.8rem;max-width:100%}
#katabam-product-root .subline__tx{max-width:14rem;min-width:0}
#katabam-product-root .subline__tx b{display:block}
#katabam-product-root .subline__ic{width:2.6rem;height:2.6rem}
.mq{overflow:hidden;white-space:nowrap}
.mq.is-clip{text-overflow:ellipsis}
.mq.is-mq{text-overflow:clip;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 .7rem,#000 calc(100% - .7rem),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 .7rem,#000 calc(100% - .7rem),transparent 100%)}
.mq__in{display:inline-flex;gap:32px;will-change:transform;animation:mqSlide var(--t,8s) linear infinite}
.mq:hover .mq__in{animation-play-state:paused}
@keyframes mqSlide{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--d,0),0,0)}}
@media (prefers-reduced-motion:reduce){.mq__in{animation:none}}

/* roomier boxes */
#katabam-product-root .otrack-card{padding:1.55rem 1.6rem}
#katabam-product-root .au{padding:1.6rem 1.6rem}
#katabam-product-root .specs__row{padding:.95rem 1.2rem}
#katabam-product-root .buy__trust li{padding-inline:.15rem}

/* hero hover animations (same family as the book / feather icons) */
@media (hover:hover){
  #katabam-product-root .subline__item:hover .kgm-ic--book{animation:kgBook .9s ease-in-out}
  #katabam-product-root .subline__item:hover .kgm-ic--book .spine{animation:kgSpine .6s ease-in-out}
  #katabam-product-root .subline__item:hover .kgm-ic--book .pages{transform-box:fill-box;transform-origin:center;animation:kgPages .8s ease-in-out .2s}
  #katabam-product-root .chips .chip:hover .dot{animation:kgRing .8s ease-out}
  #katabam-product-root .buy__trust li:hover svg{animation:kgTrust .7s ease-in-out}
  #katabam-product-root .buy__trust li:nth-child(2):hover svg{animation:kgTruck .8s ease-in-out}
}
@keyframes kgRing{0%{box-shadow:0 0 0 0 rgba(110,190,69,.65)}100%{box-shadow:0 0 0 .7rem rgba(110,190,69,0)}}
@keyframes kgTilt{0%,100%{transform:none}30%{transform:rotate(-8deg) scale(1.06)}65%{transform:rotate(5deg) scale(1.03)}}
@keyframes kgTrust{0%,100%{transform:none}35%{transform:scale(1.14) rotate(-6deg)}70%{transform:scale(.96) rotate(3deg)}}
@keyframes kgTruck{0%,100%{transform:none}40%{transform:translateX(-5px)}70%{transform:translateX(2px)}}

/* description list: pulsing dot instead of the tick, new hover */
#katabam-product-root .prose #descContent ul li{padding:.95rem 1.2rem;padding-inline-start:3rem;overflow:hidden;isolation:isolate}
#katabam-product-root .prose #descContent ul li::before{
  content:"";position:absolute;inset-inline-start:1.2rem;top:50%;width:.62rem;height:.62rem;margin:-.31rem 0 0;border-radius:50%;
  background:var(--primary) none;background-size:auto;box-shadow:0 0 0 0 rgba(110,190,69,.55);
  animation:ulPulse 2.2s ease-out infinite;transition:transform .3s cubic-bezier(.34,1.4,.64,1);
}
#katabam-product-root .prose #descContent ul li::after{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;
  background:linear-gradient(270deg,rgba(110,190,69,.2),rgba(110,190,69,0) 75%);
  transform:scaleX(0);transform-origin:right center;transition:transform .45s cubic-bezier(.22,1,.36,1);
}
#katabam-product-root .prose #descContent ul li:nth-child(2)::before{animation-delay:.35s}
#katabam-product-root .prose #descContent ul li:nth-child(3)::before{animation-delay:.7s}
#katabam-product-root .prose #descContent ul li:nth-child(n+4)::before{animation-delay:1s}
@keyframes ulPulse{0%{box-shadow:0 0 0 0 rgba(110,190,69,.6)}70%,100%{box-shadow:0 0 0 .6rem rgba(110,190,69,0)}}
@media (hover:hover){
  #katabam-product-root .prose #descContent ul li:hover{padding-inline-start:3rem;transform:none;background:var(--surface-soft);border-color:rgba(110,190,69,.4)}
  #katabam-product-root .prose #descContent ul li:hover::after{transform:scaleX(1)}
  #katabam-product-root .prose #descContent ul li:hover::before{transform:scale(1.5);background-color:var(--primary-dark);animation-duration:1s}
}
@media (prefers-reduced-motion:reduce){#katabam-product-root .prose #descContent ul li::before{animation:none}}


/* ===== v3.12 ===== */
/* author / publisher / rating: one row, roomy */
#katabam-product-root .subline{flex-wrap:nowrap;align-items:stretch;gap:.7rem;min-width:0}
#katabam-product-root .subline__item{flex:0 1 auto;min-width:0;padding:.7rem 1.25rem .7rem .8rem;gap:.85rem;border-radius:20px}
#katabam-product-root .subline__ic{width:2.7rem;height:2.7rem}
#katabam-product-root .subline__tx{max-width:none;min-width:0;flex:1 1 auto;gap:.1rem;padding-inline-end:.15rem}
#katabam-product-root .subline .rating{flex:none;display:inline-flex;align-items:center;gap:.4rem;margin-inline-start:auto;padding-inline:.4rem;white-space:nowrap}
@media (max-width:640px){
  #katabam-product-root .subline{gap:.5rem}
  #katabam-product-root .subline__item{flex:1 1 0;padding:.6rem .85rem .6rem .65rem;gap:.6rem;border-radius:16px}
  #katabam-product-root .subline__ic{width:2.3rem;height:2.3rem}
  #katabam-product-root .subline__tx b{font-size:.82rem}
  #katabam-product-root .subline .rating{display:none}
}
/* price: single row, no extra height */
#katabam-product-root .pricebox__end{display:flex;direction:ltr;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:.7rem .9rem;text-align:left;justify-items:normal}
#katabam-product-root .pricebox__main{display:flex;direction:ltr;align-items:center;justify-items:normal;gap:.35rem .8rem}
#katabam-product-root .pricebox__main .was{order:0;direction:rtl}
#katabam-product-root .pricebox__end .save{direction:rtl}
@media (max-width:520px){
  #katabam-product-root .pricebox__end .save{display:none}
  #katabam-product-root .pricebox__main{flex-wrap:wrap}
}
/* author card — whole card is the link */
#katabam-product-root a.au{
  color:inherit;text-decoration:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:1.4rem 2.2rem;
  padding:1.9rem 2rem;border-radius:28px;border:1px solid var(--surface-border);
  transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s,border-color .3s;
}
#katabam-product-root .au__glow{position:absolute;inset:0;z-index:0;pointer-events:none;background:
  radial-gradient(60% 120% at 100% 0%,rgba(110,190,69,.16),transparent 60%),
  radial-gradient(40% 90% at 0% 100%,rgba(110,190,69,.10),transparent 70%)}
#katabam-product-root .au__who{display:flex;align-items:center;gap:1.35rem;min-width:0}
#katabam-product-root .au__txt{display:grid;gap:.25rem;min-width:0}
#katabam-product-root .au__av{width:6rem;height:6rem;font-size:2.2rem;box-shadow:0 0 0 4px var(--surface),0 0 0 6px rgba(110,190,69,.55),0 18px 28px -14px rgba(8,24,42,.5);transition:transform .45s cubic-bezier(.34,1.4,.64,1)}
#katabam-product-root .au__av--photo{padding:0}
#katabam-product-root .au__eyebrow{justify-self:start;padding:.18rem .8rem;font-size:.72rem}
#katabam-product-root .au__name{display:block;font-size:clamp(1.2rem,2.4vw,1.6rem);font-weight:700;line-height:1.55;color:var(--heading)}
#katabam-product-root .au__count{display:block;font-size:.84rem;color:var(--muted);line-height:1.8}
#katabam-product-root .au__cta{display:inline-flex;align-items:center;gap:.7rem;height:3rem;padding:0 1.4rem;border-radius:16px;border:0;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;font-size:.9rem;font-weight:700;box-shadow:0 14px 24px -14px rgba(78,160,42,.95);transition:filter .25s,transform .25s}
#katabam-product-root .au__cta .i{transition:transform .35s cubic-bezier(.34,1.4,.64,1)}
@media (hover:hover){
  #katabam-product-root a.au:hover{transform:translateY(-4px);border-color:rgba(110,190,69,.55);box-shadow:0 32px 50px -30px rgba(8,24,42,.5)}
  #katabam-product-root a.au:hover .au__av{transform:scale(1.05) rotate(-3deg)}
  #katabam-product-root a.au:hover .au__cta{filter:brightness(1.07)}
  #katabam-product-root a.au:hover .au__cta .i{transform:translateX(-6px)}
}
#katabam-product-root a.au:active{transform:scale(.99)}
#katabam-product-root a.au:focus-visible{outline:2px solid rgba(110,190,69,.7);outline-offset:3px}
@media (max-width:900px){
  #katabam-product-root a.au{grid-template-columns:minmax(0,1fr) auto}
  #katabam-product-root .au__cta{grid-column:1/-1;justify-content:center}
}
@media (max-width:560px){
  #katabam-product-root a.au{grid-template-columns:1fr;padding:1.5rem 1.3rem;gap:1.1rem}
  #katabam-product-root .au__who{flex-direction:column;text-align:center;gap:1rem}
  #katabam-product-root .au__eyebrow{justify-self:center}
  #katabam-product-root .au__covers{justify-content:center;padding-inline:0}
}
@media (min-width:521px){
  #katabam-product-root .pricebox{flex-wrap:nowrap}
  #katabam-product-root .pricebox__end{flex:none}
  #katabam-product-root .pricebox__main{flex-wrap:nowrap}
  #katabam-product-root .pricebox__main .was{white-space:nowrap}
}
#katabam-product-root .subline a.rating{border:0}

/* ===== v3.13 ===== */
/* price: flush to the physical left edge */
#katabam-product-root .pricebox__end{margin-left:0;margin-right:auto;margin-inline-start:0}
/* publisher / category keep a readable width, author takes the rest */
#katabam-product-root .subline__item{flex:1 1 auto}
#katabam-product-root .subline__item#pub{flex:0 0 auto;max-width:48%;min-width:min(11rem,48%)}
#katabam-product-root .subline__item#pub .subline__tx{flex:0 1 auto;min-width:0;max-width:16rem}
#katabam-product-root .subline__item#author{flex:1 1 0;min-width:0}
#katabam-product-root .subline .rating{flex:none}
#katabam-product-root .chips .chip{flex:0 1 auto;min-width:0;max-width:100%}
#katabam-product-root #chipCat{max-width:min(24rem,70vw)}
@media (max-width:640px){
  #katabam-product-root .subline__item#pub{flex:1 1 0;max-width:none;min-width:0}
  #katabam-product-root .subline__item#author{flex:1.2 1 0}
}

/* reviews: more button + folded replies */
#katabam-product-root .rv-more{gap:.4rem;padding-inline:1.6rem}
#katabam-product-root .rv-more__n{font-weight:500;color:var(--muted);font-size:.78em}
#katabam-product-root .rv-c--folded{display:none}
#katabam-product-root .rv-c--unfold{animation:rvUnfold .45s cubic-bezier(.22,1,.36,1) both}
@keyframes rvUnfold{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
#katabam-product-root .rv-reps-more{
  display:inline-flex;align-items:center;gap:.4rem;margin:.5rem 0 0;padding:.4rem 1rem;border:1px dashed rgba(110,190,69,.6);border-radius:999px;
  background:transparent;color:var(--primary-dark);font:inherit;font-size:.78rem;font-weight:700;cursor:pointer;transition:background .2s,transform .2s;
}
#katabam-product-root .rv-reps-more::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--primary);animation:ulPulse 2s ease-out infinite}
#katabam-product-root .rv-reps-more:hover{background:var(--pb-tint)}
#katabam-product-root .rv-reps-more:active{transform:scale(.97)}

/* more hero hover animations */
@media (hover:hover){
  #katabam-product-root .kg__act--fav:hover svg{animation:kgHeartPop .5s cubic-bezier(.34,1.4,.64,1)}
  #katabam-product-root .kg__act--share:hover svg{animation:kgTilt .6s ease-in-out}
  #katabam-product-root .kg__thumb{transition:transform .3s cubic-bezier(.34,1.4,.64,1),box-shadow .3s,opacity .2s,border-color .2s}
  #katabam-product-root .kg__thumb:hover{transform:translateY(-3px)}
  #katabam-product-root .qty__btn--plus:hover .qty-ic{transform:rotate(90deg)}
  #katabam-product-root .qty__btn--minus:hover .qty-ic{transform:scaleX(.7)}
  #katabam-product-root .qty-ic{transition:transform .3s cubic-bezier(.34,1.4,.64,1)}
  #katabam-product-root .pw__opt:hover:not(:disabled){transform:translateY(-3px)}
  #katabam-product-root a.rating:hover .stars svg{animation:kgStar .5s ease-in-out both}
  #katabam-product-root a.rating:hover .stars svg:nth-child(2){animation-delay:.06s}
  #katabam-product-root a.rating:hover .stars svg:nth-child(3){animation-delay:.12s}
  #katabam-product-root a.rating:hover .stars svg:nth-child(4){animation-delay:.18s}
  #katabam-product-root a.rating:hover .stars svg:nth-child(5){animation-delay:.24s}
  #katabam-product-root .chips a.chip:hover,#katabam-product-root .subline a.subline__item:hover{transform:translateY(-2px)}
  #katabam-product-root .otrack__step:hover .otrack__dot svg{animation:kgTrust .6s ease-in-out}
}
@keyframes kgStar{0%,100%{transform:none}40%{transform:translateY(-3px) scale(1.25) rotate(-12deg)}}
#katabam-product-root .chips .chip,#katabam-product-root .subline .subline__item{transition:transform .3s cubic-bezier(.34,1.4,.64,1),border-color .2s,background-color .2s}

/* mobile bar — redesign */
#katabam-product-root .mbar{
  gap:.8rem;padding:.55rem .55rem .55rem 1.05rem;border-radius:26px;
  background:linear-gradient(180deg,rgba(255,255,255,.04),transparent),var(--pb-bar-bg);
}
#katabam-product-root .mbar::before{
  content:"";position:absolute;top:-1px;inset-inline:1.8rem;height:2px;border-radius:2px;pointer-events:none;
  background:linear-gradient(90deg,transparent,var(--primary) 35%,var(--primary-dark) 65%,transparent);opacity:.8;
}
#katabam-product-root .mbar .pr{gap:.12rem;justify-items:start;padding-inline-start:.2rem}
#katabam-product-root .mbar .pr:has(.pr__meta s[hidden])::before{content:"\642 \6cc \645 \62a  \646 \647 \627 \6cc \6cc";font-size:.68rem;font-weight:500;color:var(--muted);line-height:1.5}
#katabam-product-root .mbar .pr__meta{min-height:0;gap:.4rem}
#katabam-product-root .mbar .pr__meta:not(:has(:not([hidden]))){display:none}
#katabam-product-root .mbar .pr__meta s{font-size:.72rem}
#katabam-product-root .mbar .pr b{font-size:1.35rem;font-weight:800;letter-spacing:-.01em}
#katabam-product-root .mbar .btn.primary{
  --h:3.3rem;min-width:10.5rem;padding:0 1.3rem;border-radius:19px;font-size:.98rem;
  box-shadow:0 16px 26px -14px rgba(78,160,42,.95),inset 0 1px 0 rgba(255,255,255,.28);
}
#katabam-product-root .mbar .btn.primary .txt{gap:.6rem}
#katabam-product-root .mbar .btn.primary .txt svg.i{box-sizing:content-box;width:1.15rem;height:1.15rem;padding:.38rem;border-radius:50%;background:rgba(255,255,255,.2)}
@media (max-width:380px){
  #katabam-product-root .mbar{padding-inline-start:.8rem}
  #katabam-product-root .mbar .pr b{font-size:1.18rem}
  #katabam-product-root .mbar .btn.primary{min-width:0;padding:0 1rem;font-size:.9rem}
  #katabam-product-root .mbar .btn.primary .txt svg.i{display:none}
}
#katabam-product-root .pricebox .pricebox__main{flex-direction:row;align-items:center;gap:.3rem .8rem}
#katabam-product-root .pricebox .pricebox__main .was{order:0}
@media (max-width:520px){#katabam-product-root .pricebox .pricebox__main{flex-wrap:wrap}}

/* about-surface spotlight on the buy box + author/publisher pills */
#katabam-product-root .buy.about-surface{overflow:visible}
#katabam-product-root .buy.about-surface::before,#katabam-product-root .buy.about-surface::after{border-radius:inherit}
@media (hover:hover){
  #katabam-product-root .buy.about-surface:is(:hover,.is-hov){transform:none}
  #katabam-product-root .subline__item.about-surface:is(:hover,.is-hov){transform:translateY(-3px)}
}

/* ===== v3.14 ===== */
/* prettier review stars */
#katabam-product-root .rv-stars{gap:3px}
#katabam-product-root .rv-stars__s{
  width:1.2rem;height:1.2rem;
  background:linear-gradient(to left,#ffb800 var(--f,0%),rgba(8,24,42,.12) var(--f,0%));
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2l2.5 5.3 5.8.8-4.2 4.1 1 5.8L12 16.4 6.9 19.2l1-5.8L3.7 9.3l5.8-.8z' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%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'%3E%3Cpath d='M12 3.2l2.5 5.3 5.8.8-4.2 4.1 1 5.8L12 16.4 6.9 19.2l1-5.8L3.7 9.3l5.8-.8z' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  filter:drop-shadow(0 1px 1.5px rgba(245,158,11,.4));
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .rv-stars__s{background:linear-gradient(to left,#ffc933 var(--f,0%),rgba(255,255,255,.16) var(--f,0%))}
#katabam-product-root .rv-stars--sm{gap:2px}
#katabam-product-root .rv-stars--sm .rv-stars__s{width:1rem;height:1rem}
#katabam-product-root .rv-sum__score .rv-stars__s{width:1.4rem;height:1.4rem}

/* mobile bar: smaller + endlessly rotating green border */
@property --mb-a{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes mbSpin{to{--mb-a:360deg}}
#katabam-product-root .mbar{
  inset-inline:1rem;max-width:460px;gap:.6rem;padding:.4rem .4rem .4rem .85rem;border-radius:20px;border:2px solid transparent;
  background:
    linear-gradient(var(--surface,#fff),var(--surface,#fff)) padding-box,
    conic-gradient(from var(--mb-a),rgba(110,190,69,0) 0 55%,var(--primary) 78%,#b6f08f 90%,rgba(110,190,69,0) 100%) border-box;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  animation:mbSpin 3.4s linear infinite;
}
#katabam-product-root .mbar::before{content:none}
#katabam-product-root .mbar .pr b{font-size:1.12rem}
#katabam-product-root .mbar .pr:has(.pr__meta s[hidden])::before{font-size:.62rem}
#katabam-product-root .mbar .btn.primary{--h:2.7rem;min-width:8.6rem;padding:0 1rem;border-radius:15px;font-size:.88rem}
#katabam-product-root .mbar .btn.primary .txt{gap:.45rem}
#katabam-product-root .mbar .btn.primary .txt svg.i{width:1rem;height:1rem;padding:.3rem}
@media (prefers-reduced-motion:reduce){#katabam-product-root .mbar{animation:none}}

/* digital badge (gallery) */
#katabam-product-root .fmt{gap:.5rem;padding:.3rem .95rem .3rem .35rem;font-size:.78rem;font-weight:700}
#katabam-product-root .fmt .i{box-sizing:content-box;width:1.15rem;height:1.15rem;padding:.4rem;border-radius:50%;background:linear-gradient(145deg,var(--primary),var(--primary-dark));color:#fff;stroke-width:2;box-shadow:0 6px 12px -6px rgba(78,160,42,.9)}

/* digital notice in the buy box */
#katabam-product-root .buy .notice.only-digital{
  position:relative;align-items:center;gap:.9rem;padding:.9rem 1rem;margin:0 0 1.2rem;border:1px solid rgba(110,190,69,.35);border-radius:18px;
  background:linear-gradient(135deg,rgba(110,190,69,.14),rgba(110,190,69,.04));
}
#katabam-product-root .buy .notice.only-digital .ic{
  flex:none;box-sizing:content-box;width:1.3rem;height:1.3rem;padding:.65rem;margin:0;border-radius:50%;color:#fff;
  background:linear-gradient(145deg,var(--primary),var(--primary-dark));box-shadow:0 0 0 0 rgba(110,190,69,.55),0 10px 18px -10px rgba(78,160,42,.9);
  animation:ulPulse 2.4s ease-out infinite;stroke-width:2;
}
#katabam-product-root .buy .notice.only-digital div{display:grid;gap:.15rem;font-size:.78rem;line-height:1.75;color:var(--muted)}
#katabam-product-root .buy .notice.only-digital b{font-size:.95rem;font-weight:700;color:var(--heading)}
#katabam-product-root .buy .notice.only-digital br{display:none}

/* aside: more compact */
#katabam-product-root .aside .request{padding:1.05rem 1.1rem 1.1rem}
#katabam-product-root .request__head{display:flex;align-items:center;gap:.7rem;margin-bottom:.45rem}
#katabam-product-root .aside .request__ic{width:2.3rem;height:2.3rem;margin:0;border-radius:13px}
#katabam-product-root .aside .request__ic .i{width:1.15rem;height:1.15rem}
#katabam-product-root .aside .request p{margin:0 0 .8rem;font-size:.78rem;line-height:1.8}
#katabam-product-root .aside .request .btn{height:2.5rem}
#katabam-product-root .aside .otrack-card{padding:1.05rem 1.15rem 1.1rem}
#katabam-product-root .aside .otrack{margin-bottom:.8rem}
#katabam-product-root .aside .otrack .otrack__step{grid-template-columns:2.2rem minmax(0,1fr);gap:.7rem;padding-bottom:.75rem}
#katabam-product-root .aside .otrack__dot{width:2.2rem;height:2.2rem;border-radius:13px}
#katabam-product-root .aside .otrack__dot .i{width:1.1rem;height:1.1rem}
#katabam-product-root .aside .otrack .otrack__step:not(:last-child)::after{inset-inline-start:calc(1.1rem - 1px);top:2.3rem}
#katabam-product-root .aside .otrack .otrack__txt b{font-size:.84rem;line-height:1.5}
#katabam-product-root .aside .otrack .otrack__txt small{font-size:.7rem;line-height:1.6}

/* ===== v3.15 description images + captions ===== */
#katabam-product-root #descContent img{display:block;max-width:100%;height:auto;margin-inline:auto}
#katabam-product-root #descContent :is(figure,.wp-caption,.wp-block-image){
  width:min(100%,26rem)!important;max-width:100%!important;margin:1.6rem auto!important;padding:.55rem .55rem 0;box-sizing:border-box;
  border:1px solid var(--surface-border);border-radius:20px;background:var(--surface-soft);
  box-shadow:0 22px 40px -30px rgba(8,24,42,.5);overflow:hidden;
}
#katabam-product-root #descContent :is(figure,.wp-caption) img{width:100%!important;height:auto!important;border-radius:14px;aspect-ratio:auto;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1)}
@media (hover:hover){#katabam-product-root #descContent :is(figure,.wp-caption):hover img{transform:scale(1.03)}}
#katabam-product-root #descContent :is(figcaption,.wp-caption-text){
  display:flex;align-items:center;justify-content:center;gap:.5rem;margin:0;padding:.75rem .9rem .8rem;text-align:center;
  font-size:.8rem;line-height:1.8;font-weight:500;color:var(--muted);
}
#katabam-product-root #descContent :is(figcaption,.wp-caption-text)::before{content:"";flex:none;width:.45rem;height:.45rem;border-radius:50%;background:var(--primary);box-shadow:0 0 0 3px rgba(110,190,69,.22)}
#katabam-product-root #descContent :is(figcaption,.wp-caption-text):empty{display:none}
#katabam-product-root #descContent img:not(figure img){max-width:min(100%,26rem);border-radius:16px}
#katabam-product-root #descContent{overflow-wrap:anywhere}

/* ===== v3.16 ===== */
/* gallery: fmt badge + actions no longer overlap */
#katabam-product-root .kg .fmt{gap:.4rem;padding:.25rem .8rem .25rem .3rem;font-size:.74rem}
#katabam-product-root .kg .fmt .i{width:1rem;height:1rem;padding:.32rem}
#katabam-product-root .kg__acts{top:4rem}
@container (max-width:640px){#katabam-product-root .kg__acts{top:3.9rem}}

/* digital notice */
#katabam-product-root .buy .notice.only-digital{
  display:flex;align-items:center;gap:.85rem;margin:0 0 1.15rem;padding:.8rem .95rem;border-radius:16px;
  background:var(--pb-field);border:1px solid var(--pb-line);
}
#katabam-product-root .buy .notice.only-digital::before,#katabam-product-root .buy .notice.only-digital::after{content:none}
#katabam-product-root .notice__ic{flex:none;display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:14px;background:var(--pb-tint-2,rgba(110,190,69,.18));color:var(--primary-dark)}
#katabam-product-root .notice__ic svg{width:1.4rem!important;height:1.4rem!important;stroke-width:1.9;fill:none}
#katabam-product-root .notice__tx{display:grid;gap:.1rem;min-width:0;font-size:.78rem;line-height:1.75;color:var(--muted)}
#katabam-product-root .notice__tx b{font-size:.92rem;font-weight:700;color:var(--heading)}
#katabam-product-root .notice__tx span{display:block}

/* buy box: the about-surface hover (spotlight + glare + running border) actually applies now */
#katabam-product-root .buy.about-surface{
  border:1.5px solid transparent;
  background:linear-gradient(var(--about-surface),var(--about-surface)) padding-box,linear-gradient(var(--about-surface-border),var(--about-surface-border)) border-box;
  background-origin:border-box;background-clip:padding-box,border-box;
}
#katabam-product-root .buy.about-surface::before{display:block}
@media (hover:hover){
  #katabam-product-root .buy.about-surface:is(:hover,.is-hov){
    background:linear-gradient(var(--about-surface),var(--about-surface)) padding-box,
      conic-gradient(from var(--about-border-angle),var(--about-surface-border) 0deg,var(--about-surface-border) 70deg,var(--about-border-beam) 115deg,var(--about-border-beam-soft) 145deg,var(--about-border-beam) 175deg,var(--about-surface-border) 220deg,var(--about-surface-border) 360deg) border-box;
    background-origin:border-box;background-clip:padding-box,border-box;
    animation:about-border-spin 2.4s linear infinite;
  }
}

/* dock price: no divider line */
#katabam-product-root .dock .dp{border-inline-start:0;padding-inline-start:0}

/* phones: the floating bottom nav steps aside while the buy bar is up */
@media (max-width:768px){
  #katabam-product-root .mbar{bottom:calc(.75rem + env(safe-area-inset-bottom,0px))}
  .katabam-mnav{transition:transform .45s cubic-bezier(.22,1,.36,1),opacity .3s ease,visibility 0s}
  body:has(#katabam-product-root .mbar.on) .katabam-mnav{transform:translate3d(0,130%,0);opacity:0;visibility:hidden;pointer-events:none;transition:transform .45s cubic-bezier(.22,1,.36,1),opacity .3s ease,visibility 0s linear .45s}
  body:has(#katabam-product-root .mbar.on) .site-scroll-fab{bottom:calc(env(safe-area-inset-bottom,0px) + 5.2rem)}
}


/* ===== v3.17 book summary (typed) ===== */
#katabam-product-root .bsum{
  position:relative;margin:1.6rem 0 0;padding:1.3rem 1.4rem 1.4rem;border-radius:22px;overflow:hidden;isolation:isolate;
  background:linear-gradient(135deg,rgba(110,190,69,.12),rgba(110,190,69,.03) 55%,transparent),var(--surface-soft);
  border:1px solid rgba(110,190,69,.28);
}
#katabam-product-root .bsum::before{
  content:"\201d";position:absolute;z-index:-1;inset-inline-end:1rem;top:-1.2rem;font-family:Georgia,serif;font-size:9rem;line-height:1;color:rgba(110,190,69,.16);pointer-events:none;
}
#katabam-product-root .bsum__head{display:flex;align-items:center;gap:.85rem;margin:0 0 1rem}
#katabam-product-root .bsum__ic{flex:none;display:grid;place-items:center;width:2.8rem;height:2.8rem;border-radius:15px;background:linear-gradient(145deg,var(--primary),var(--primary-dark));color:#fff;box-shadow:0 12px 20px -12px rgba(78,160,42,.95)}
#katabam-product-root .bsum__ic svg{width:1.4rem;height:1.4rem}
#katabam-product-root .bsum__titles{display:grid;gap:.05rem;min-width:0;flex:1}
#katabam-product-root .bsum__title{margin:0;font-size:1.05rem;font-weight:800;color:var(--heading)}
#katabam-product-root .bsum__sub{font-size:.74rem;color:var(--muted)}
#katabam-product-root .bsum__skip{flex:none;padding:.3rem .9rem;border:1px solid rgba(110,190,69,.5);border-radius:999px;background:transparent;color:var(--primary-dark);font:inherit;font-size:.74rem;font-weight:700;cursor:pointer;transition:background .2s,color .2s}
#katabam-product-root .bsum__skip:hover{background:var(--primary);color:#fff}
#katabam-product-root .bsum__body{position:relative;padding-inline-start:1rem;border-inline-start:3px solid rgba(110,190,69,.55);border-radius:2px}
/* full text stays in the DOM for search engines / screen readers, only the typed copy is visible */
#katabam-product-root .bsum__full{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#katabam-product-root .bsum__type p{margin:0 0 .85rem;font-size:.95rem;line-height:2.15;color:var(--text);min-height:0}
#katabam-product-root .bsum__type p:last-child{margin-bottom:0}
#katabam-product-root .bsum__type p.is-cur::after{
  content:"";display:inline-block;width:2px;height:1.15em;margin-inline-start:3px;vertical-align:-.2em;border-radius:2px;background:var(--primary);
  animation:bsumCaret .8s steps(1) infinite;
}
@keyframes bsumCaret{50%{opacity:0}}
#katabam-product-root .bsum.is-typing .bsum__ic{animation:ulPulse 1.6s ease-out infinite}
#katabam-product-root .bsum.is-done .bsum__body{border-inline-start-color:var(--primary)}
@media (max-width:560px){
  #katabam-product-root .bsum{padding:1.1rem 1rem 1.2rem;border-radius:18px}
  #katabam-product-root .bsum__type p{font-size:.9rem;line-height:2.05}
}
@media (prefers-reduced-motion:reduce){#katabam-product-root .bsum.is-typing .bsum__ic,#katabam-product-root .bsum__type p.is-cur::after{animation:none}}

/* v3.18 related = real shop cards */
#katabam-product-root .rel__rail{align-items:start}
#katabam-product-root .rel__item{scroll-snap-align:start;min-width:0}
#katabam-product-root .rel__item .shop-card{opacity:1;margin:2px;height:100%}
#katabam-product-root .rel__item .shop-card.shop-reveal{opacity:1}

/* v3.19 */
/* fmt + gallery actions: top-RIGHT of the image */
#katabam-product-root .kg .fmt,#katabam-product-root .kg__acts{inset-inline-end:auto;inset-inline-start:auto;left:auto;right:.85rem}
@container (max-width:640px){#katabam-product-root .kg .fmt,#katabam-product-root .kg__acts{right:.7rem}}
/* rating now lives with the chips */
#katabam-product-root .chips{align-items:center}
#katabam-product-root .chips .rating{display:inline-flex;flex:none;align-items:center;gap:.4rem;margin-inline-start:.3rem;padding-inline:.2rem;border:0;font-size:.84rem;color:var(--muted);white-space:nowrap;text-decoration:none}
/* book summary: calmer, neutral card with only a light green accent */
#katabam-product-root .bsum{background:var(--surface-soft);border:1px solid var(--surface-border)}
#katabam-product-root .bsum::before{color:rgba(128,140,155,.14)}
#katabam-product-root .bsum__ic{background:var(--pb-tint,rgba(110,190,69,.14));color:var(--primary-dark);box-shadow:none}
#katabam-product-root .bsum__skip{border-color:var(--surface-border);color:var(--muted)}
#katabam-product-root .bsum__skip:hover{background:var(--surface);color:var(--heading)}
#katabam-product-root .bsum__body{border-inline-start:2px solid var(--surface-border)}
#katabam-product-root .bsum.is-done .bsum__body{border-inline-start-color:var(--surface-border)}
#katabam-product-root .bsum__type p.is-cur::after{background:var(--primary)}
/* author covers: cut-out look, no frame / background */
#katabam-product-root .au__cover{border:0;background:none;border-radius:0;overflow:visible}
#katabam-product-root .au__cover img{object-fit:contain;mix-blend-mode:multiply;border-radius:0}

/* v3.20 */
#katabam-product-root .kg .fmt{gap:.35rem;padding:.2rem .6rem .2rem .22rem;font-size:.72rem}
#katabam-product-root .kg .fmt .i{width:.95rem;height:.95rem;padding:.28rem}
#katabam-product-root .kg__act{position:relative}
#katabam-product-root .kg__act:hover,#katabam-product-root .kg__act:focus-visible{z-index:3}
#katabam-product-root .kg__acts{z-index:8}
#katabam-product-root .kg__act::after{z-index:9;white-space:nowrap;pointer-events:none}
/* subline: size by content, never stretch */
#katabam-product-root .subline__item{flex:0 1 auto}
#katabam-product-root .subline{justify-content:flex-start}
/* related rail: room for the lift + shadow so the hover is not clipped */
#katabam-product-root .rel__rail{padding:1.1rem .9rem 3.4rem;margin:-1.1rem -.9rem -2.6rem;scroll-padding-inline:.9rem}
@container (max-width:640px){#katabam-product-root .rel__rail{padding:1rem 1rem 3rem;margin:-1rem -1rem -2.4rem}}
/* currency sign always LEFT of the number (number on the right) */
.woocommerce-Price-amount,.woocommerce-Price-amount bdi{direction:rtl;unicode-bidi:isolate}
/* author covers: transparent cut-out of the white photo background */
#katabam-product-root .au__cover img{mix-blend-mode:normal;filter:url(#katabamCutout) drop-shadow(0 6px 7px rgba(8,24,42,.28))}
#katabam-product-root .kg__act::after{inset-inline-end:auto;inset-inline-start:auto;left:auto;right:calc(100% + .5rem);transform:translateX(-4px)}

/* v3.21 proportional rating stars */
#katabam-product-root .rating .stars{gap:2px}
#katabam-product-root .rating .st{position:relative;display:inline-block;width:1em;height:1em;line-height:0;transform-origin:center}
#katabam-product-root .rating .st svg{position:absolute;inset:0;width:100%;height:100%;fill:currentColor;stroke:none}
#katabam-product-root .rating .st__b{color:rgba(120,135,150,.28)}
#katabam-product-root .rating .st__f{color:#f5b301;clip-path:inset(0 0 0 calc(100% - var(--f,100%)))}
@media (hover:hover){
  #katabam-product-root a.rating:hover .stars .st{animation:kgStar .5s ease-in-out both}
  #katabam-product-root a.rating:hover .stars .st:nth-child(2){animation-delay:.06s}
  #katabam-product-root a.rating:hover .stars .st:nth-child(3){animation-delay:.12s}
  #katabam-product-root a.rating:hover .stars .st:nth-child(4){animation-delay:.18s}
  #katabam-product-root a.rating:hover .stars .st:nth-child(5){animation-delay:.24s}
  #katabam-product-root a.rating:hover .stars svg{animation:none}
}

/* v3.22 */
/* author / publisher pills: calm hover (no neon green), no stretching */
#katabam-product-root .subline__item.about-surface{
  --about-spotlight:rgba(8,24,42,.045);--about-glare:rgba(255,255,255,.35);
  --about-border-beam:rgba(110,190,69,.55);--about-border-beam-soft:rgba(110,190,69,.28)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .subline__item.about-surface{--about-spotlight:rgba(255,255,255,.05);--about-glare:rgba(255,255,255,.05)}
#katabam-product-root a.subline__item:is(:hover,.is-hov,:focus-visible){background:var(--surface);}
#katabam-product-root a.subline__item:is(:hover,.is-hov) b,#katabam-product-root a.subline__item:focus-visible b{color:var(--heading)}
#katabam-product-root .subline__item .subline__tx{flex:0 1 auto;padding-inline-end:0}
#katabam-product-root .subline__item{padding-inline-end:1.1rem;padding-inline-start:.9rem}
/* digital/physical badge: same family as the round glass action buttons */
#katabam-product-root .kg .fmt{height:34px;box-sizing:border-box;gap:.4rem;padding:0 .85rem 0 .7rem;font-size:.74rem;font-weight:600;color:var(--heading);background:var(--glass);backdrop-filter:blur(10px);border:1px solid var(--surface-border);box-shadow:none;border-radius:999px}
#katabam-product-root .kg .fmt .i{box-sizing:border-box;width:1.05rem;height:1.05rem;padding:0;border-radius:0;background:none;box-shadow:none;color:var(--primary-dark);stroke-width:2}
@container (max-width:640px){#katabam-product-root .kg .fmt{height:34px}}
/* v3.23 gallery overlay column: badge + action buttons share one right edge, one size, one rhythm */
#katabam-product-root .kg .fmt{top:.85rem;right:.85rem;left:auto;inset-inline:auto .85rem;inset-inline-start:auto;inset-inline-end:auto;height:34px}
#katabam-product-root .kg__acts{top:calc(.85rem + 34px + .45rem);right:.85rem;left:auto;inset-inline:auto;align-items:flex-end;gap:.45rem}
#katabam-product-root .kg__act{width:34px;height:34px;flex:none}
#katabam-product-root .kg .fmt,#katabam-product-root .kg__act{box-shadow:0 6px 14px -10px rgba(8,24,42,.4)}
@container (max-width:640px){
  #katabam-product-root .kg .fmt{top:.7rem;right:.7rem}
  #katabam-product-root .kg__acts{top:calc(.7rem + 34px + .45rem);right:.7rem}
}
@media (max-width:900px){
  #katabam-product-root .kg .fmt{top:.7rem;right:.7rem}
  #katabam-product-root .kg__acts{top:calc(.7rem + 34px + .45rem);right:.7rem}
  #katabam-product-root .kg__act{width:34px;height:34px}
}
/* related heading: no accent bar */
#katabam-product-root .rel__title::before{content:none;display:none}

/* v3.24 gallery overlays: discount tag -> top-LEFT; fmt badge + fav/share share the SAME edge as the counter,
   with their ICONS on one vertical axis */
#katabam-product-root .kg{--kg-edge:.85rem;--kg-btn:34px}
#katabam-product-root .kg .tag{inset-inline:auto;left:var(--kg-edge);right:auto}
#katabam-product-root .kg .fmt,
#katabam-product-root .kg__acts{inset-inline:auto;left:auto;right:var(--kg-edge)}
#katabam-product-root .kg__count{inset-inline:auto;left:auto;right:var(--kg-edge);bottom:var(--kg-edge)}
#katabam-product-root .kg .fmt{top:var(--kg-edge);height:var(--kg-btn);
  /* icon centre = centre of the round buttons: (btn - icon)/2 - 1px border */
  padding-inline-start:calc((var(--kg-btn) - 1.05rem) / 2 - 1px);padding-inline-end:.85rem}
#katabam-product-root .kg__acts{top:calc(var(--kg-edge) + var(--kg-btn) + .45rem);align-items:flex-end}
#katabam-product-root .kg__act{width:var(--kg-btn);height:var(--kg-btn)}
#katabam-product-root .kg .fmt .i{flex:none}

/* v3.24 facts: max 2 lines per value, then ellipsis */
#katabam-product-root .fact dt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#katabam-product-root .fact dd{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere}

/* v3.24 dock: title no longer glued/clipped on the right (ring of the status dot was cut by overflow:hidden) */
#katabam-product-root .dock-bar{padding:.6rem .75rem .6rem 1.15rem}
#katabam-product-root .dock .dt__sub{padding-inline-start:.25rem}
#katabam-product-root .dock .dt b{padding-inline-start:.1rem}

/* v3.24 prices: struck price + discount % on top, current price underneath */
#katabam-product-root .pricebox .pricebox__main{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-end;gap:.15rem}
#katabam-product-root .pricebox .pricebox__main .was{order:-1;direction:rtl;white-space:nowrap}
#katabam-product-root .pricebox .pricebox__main .now{order:0}
#katabam-product-root .dock .dp{display:flex;flex-direction:column;align-items:flex-end;gap:.1rem}
#katabam-product-root .dock .dp__meta{order:-1;flex-direction:row;direction:rtl;white-space:nowrap}

/* v3.25 breadcrumb: optically centre the text vertically (IranSans body sits ~1px low in the pill) */
.katabam-product-page .about-breadcrumb__link,
.katabam-product-page .about-breadcrumb__current{line-height:1.4;padding-block:calc(.28rem - 1px) calc(.28rem + 1px)}

/* v3.25 gallery modal author/publisher: one row only; overflowing text = endless marquee (see product-fx.js) */
.kgm__by{flex-wrap:nowrap;min-width:0}
.kgm__by-item{flex:0 1 auto;min-width:0;max-width:100%}
.kgm__by-item>span{flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* v3.25 hero author/publisher boxes (desktop): size to their content, no dead space on the left */
@media (min-width:901px){
  #katabam-product-root .subline__item#author,
  #katabam-product-root .subline__item#pub{flex:0 1 auto;min-width:0;max-width:none}
  #katabam-product-root .subline__item#pub{flex-shrink:0}
  #katabam-product-root .subline__item#pub .subline__tx{max-width:none}
  #katabam-product-root .subline__item#author .subline__tx{max-width:min(100%,26rem)}
}

/* ===== v3.26 ===== */
/* author / publisher pills: the SAME about-surface hover as About/Contact (lift + spotlight + glare + running border beam).
   Product rules were painting their own border/background over it, so hand both back to .about-surface */
#katabam-product-root a.subline__item.about-surface{
  border:1.5px solid transparent;overflow:hidden;
  background:linear-gradient(var(--about-surface),var(--about-surface)) padding-box,linear-gradient(var(--about-surface-border),var(--about-surface-border)) border-box;
  background-origin:border-box;background-clip:padding-box,border-box;
  transition:transform .65s cubic-bezier(.22,1,.36,1),box-shadow .65s cubic-bezier(.22,1,.36,1);
}
#katabam-product-root .subline__item.about-surface::before,
#katabam-product-root .subline__item.about-surface::after{display:block;border-radius:inherit}
@media (hover:hover){
  #katabam-product-root a.subline__item.about-surface:is(:hover,.is-hov,:focus-visible){
    transform:translate3d(0,-5px,0);
    box-shadow:0 18px 42px rgba(8,24,42,.1),0 0 0 1px rgba(110,190,69,.08);
    background:linear-gradient(var(--about-surface),var(--about-surface)) padding-box,
      conic-gradient(from var(--about-border-angle),var(--about-surface-border) 0deg,var(--about-surface-border) 70deg,var(--about-border-beam) 115deg,var(--about-border-beam-soft) 145deg,var(--about-border-beam) 175deg,var(--about-surface-border) 220deg,var(--about-surface-border) 360deg) border-box;
    background-origin:border-box;background-clip:padding-box,border-box;
    animation:about-border-spin 2.4s linear infinite;
  }
}
@media (prefers-reduced-motion:reduce){
  @media (hover:hover){#katabam-product-root a.subline__item.about-surface:is(:hover,.is-hov,:focus-visible){transform:none;animation:none}}
}

/* replies toggle: calm, centred pill with a chevron instead of the pulsing dot */
#katabam-product-root .rv-reps-more{
  display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:2.5rem;margin:.65rem 0 0;padding:.45rem 1.1rem;
  border:1px solid rgba(110,190,69,.35);border-radius:14px;background:var(--pb-tint);color:var(--primary-dark);
  font:inherit;font-size:.8rem;font-weight:700;line-height:1.6;text-align:center;cursor:pointer;
  transition:background-color .25s,border-color .25s,transform .25s,box-shadow .25s;
}
#katabam-product-root .rv-reps-more::before{content:none;animation:none}
#katabam-product-root .rv-reps-more::after{
  content:"";flex:none;width:1rem;height:1rem;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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .3s cubic-bezier(.34,1.4,.64,1);
}
#katabam-product-root .rv-reps-more:hover{background:rgba(110,190,69,.16);border-color:var(--primary);box-shadow:0 8px 18px -12px rgba(78,160,42,.7)}
#katabam-product-root .rv-reps-more:hover::after{transform:translateY(2px)}
#katabam-product-root .rv-reps-more:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
#katabam-product-root .rv-reps-more:active{transform:scale(.985)}

/* author covers: fanned arc, soft glow behind, springy spread on hover */
#katabam-product-root .au__covers{position:relative;isolation:isolate;padding-inline-end:1.7rem}
#katabam-product-root .au__covers::before{
  content:"";position:absolute;z-index:-1;inset:-14% -14% -6%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(110,190,69,.26),rgba(110,190,69,0) 72%);filter:blur(6px);transition:opacity .4s,transform .5s cubic-bezier(.34,1.4,.64,1)
}
#katabam-product-root .au__cover{
  position:relative;width:4.3rem;margin-inline-end:-1.7rem;
  z-index:calc(10 - (var(--k,0) - 1) * (var(--k,0) - 1));
  transform:rotate(calc((var(--k,0) - 1) * 8deg)) translateY(calc((var(--k,0) - 1) * (var(--k,0) - 1) * 7px - 5px));
  transform-origin:50% 100%;
  transition:transform .55s cubic-bezier(.34,1.4,.64,1)
}
#katabam-product-root .au__cover img{filter:url(#katabamCutout) drop-shadow(0 10px 10px rgba(8,24,42,.3)) drop-shadow(0 1px 1px rgba(8,24,42,.25))}
@media (hover:hover){
  #katabam-product-root .au:hover .au__cover{
    transform:rotate(calc((var(--k,0) - 1) * 13deg)) translateY(calc((var(--k,0) - 1) * (var(--k,0) - 1) * 9px - 12px)) translateX(calc((var(--k,0) - 1) * -10px)) scale(1.04)
  }
  #katabam-product-root .au:hover .au__covers::before{transform:scale(1.12)}
}

/* review form: stars were oversized */
#katabam-product-root .rv-f__rate{padding:.9rem .9rem .85rem;gap:.3rem}
#katabam-product-root .rv-rate{gap:.1rem}
#katabam-product-root .rv-rate__s{width:2.5rem;height:2.5rem;border-radius:12px}
#katabam-product-root .rv-rate__s .rv-i{width:1.8rem;height:1.8rem}
#katabam-product-root .rv-rate__txt{min-height:1.7rem;padding:0 .8rem;font-size:.76rem}

/* ===== v3.27 ===== */
/* gallery modal author/publisher: the BOXES scroll as one endless loop when the row is too narrow (product-fx.js) */
.kgm__by{flex-wrap:nowrap;overflow:hidden;min-width:0}
.kgm__by-item{flex:none;max-width:none}
.kgm__by-item>span{flex:none;overflow:visible;text-overflow:clip;white-space:nowrap}
.kgm__by-seg{display:flex;align-items:center;gap:.5rem;flex:none}
.kgm__by.is-mq .mq__in{display:flex;align-items:center;gap:.9rem;width:max-content}

/* author covers: background is removed in JS (flood fill from the border); the old colour-matrix filter is only a fallback */
#katabam-product-root .au__covers.is-cutting .au__cover img:not(.is-cut):not(.is-cut-fb){opacity:0}
#katabam-product-root .au__cover img{transition:opacity .35s ease}
#katabam-product-root .au__cover img.is-cut{mix-blend-mode:normal;filter:drop-shadow(0 10px 10px rgba(8,24,42,.3)) drop-shadow(0 1px 1px rgba(8,24,42,.25));opacity:1}
#katabam-product-root .au__cover img.is-cut-fb{opacity:1}

/* review form: submit button is compact, not a full-width slab */
#katabam-product-root .rv-form .rv-f__act{justify-content:flex-start}
#katabam-product-root .rv-form .rv-f__act .rv-btn{height:2.6rem;min-height:2.6rem;padding:0 1.35rem;font-size:.85rem;border-radius:12px}
#katabam-product-root .rv-form .rv-f__act .rv-btn--primary{flex:0 0 auto;min-height:2.6rem}
@media (max-width:640px){
  #katabam-product-root .rv-form .rv-f__act .rv-btn--primary{flex:1 1 0}
  #katabam-product-root .rv-form .rv-f__act .rv-btn--ghost{flex:0 0 auto}
}

/* tab cards sit right under the sticky tab bar: a 5px lift slid them under it and tore the background.
   Keep spotlight + glare + running border, drop the lift (same as the buy box) */
@media (hover:hover){
  #katabam-product-root .tabcard.about-surface:is(:hover,.is-hov){transform:none}
}

/* ===== v3.28 ===== */
/* gallery modal pills: never clipped at the top/bottom by the marquee viewport; desktop reclaims the close-button gutter + tighter pills */
.kgm__by{padding-block:5px;margin-block:-5px;width:100%}
@media (min-width:769px){
  .kgm__by{margin-inline-end:-2.6rem;width:calc(100% + 2.6rem)}
  .kgm__by-item{gap:.35rem;padding:.18rem .6rem .18rem .65rem;font-size:.78rem}
}

/* qty buttons: no double-tap-zoom delay swallowing quick taps on phones */
#katabam-product-root .qty__btn{touch-action:manipulation;-webkit-tap-highlight-color:transparent}


/* ===== v3.32 related products: real shop cards (.shop-page > .shop-grid--grid > .shop-card) in a swipe rail ===== */
#katabam-product-root .rel{
  --rel-gap:1rem;
  --rel-cols:5;
  --rel-edge:.9rem;
  margin:3.4rem 0 0;
  min-width:0;
}
#katabam-product-root .rel__head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin:0 0 1.15rem}
#katabam-product-root .rel__titles{display:grid;gap:.35rem;min-width:0}
#katabam-product-root .rel__eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.74rem;font-weight:700;line-height:1.4;color:var(--primary-dark)}
#katabam-product-root .rel__eyebrow::before{content:"";width:1.15rem;height:2px;border-radius:2px;background:currentColor}
#katabam-product-root .rel__title{margin:0;display:flex;align-items:center;gap:.6rem;font-size:1.45rem;font-weight:800;line-height:1.35;color:var(--heading)}
#katabam-product-root .rel__tools{display:flex;align-items:center;gap:.85rem;flex:none}
#katabam-product-root .rel__all{
  position:relative;display:inline-flex;align-items:center;gap:.4rem;height:2.5rem;padding:0 .2rem;
  font-size:.84rem;font-weight:700;color:var(--heading);text-decoration:none;transition:color .2s;
}
#katabam-product-root .rel__all::after{
  content:"";position:absolute;inset-inline:.2rem;bottom:.4rem;height:1.5px;border-radius:2px;background:var(--primary);
  transform:scaleX(0);transform-origin:right;transition:transform .3s cubic-bezier(.22,1,.36,1);
}
#katabam-product-root .rel__all svg{width:1rem;height:1rem;transition:transform .3s cubic-bezier(.22,1,.36,1)}
@media (hover:hover){#katabam-product-root .rel__all:hover{color:var(--primary-dark)}}
@media (hover:hover){#katabam-product-root .rel__all:hover::after{transform:none}}
@media (hover:hover){#katabam-product-root .rel__all:hover svg{transform:translateX(-3px)}}
#katabam-product-root .rel__navs{
  display:inline-flex;align-items:center;gap:.15rem;padding:.2rem;border-radius:999px;
  background:var(--surface-soft);border:1px solid var(--surface-border);
}
#katabam-product-root .rel__navs[hidden]{display:none}
#katabam-product-root .rel__nav{
  display:grid;place-items:center;width:2.15rem;height:2.15rem;padding:0;border:0;border-radius:50%;
  background:transparent;color:var(--heading);cursor:pointer;
  transition:background-color .2s,color .2s,box-shadow .2s,opacity .2s,transform .15s;
}
#katabam-product-root .rel__nav svg{width:1.05rem;height:1.05rem}
@media (hover:hover){#katabam-product-root .rel__nav:hover:not(:disabled){background:var(--surface);color:var(--primary-dark);box-shadow:0 2px 8px -3px rgba(8,24,42,.25)}}
@media (hover:hover){#katabam-product-root .rel__nav:active:not(:disabled){transform:scale(.9)}}
#katabam-product-root .rel__nav:disabled{opacity:.3;cursor:default}
#katabam-product-root .rel__nav:focus-visible,#katabam-product-root .rel__all:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
#katabam-product-root .rel__progress{
  position:relative;width:min(9rem,40%);height:3px;margin:1.15rem auto 0;border-radius:3px;overflow:hidden;
  background:var(--surface-border);
}
#katabam-product-root .rel__progress[hidden]{display:none}
#katabam-product-root .rel__progress span{
  position:absolute;inset-block:0;inset-inline-start:0;width:30%;border-radius:inherit;background:var(--primary);will-change:transform;
}
/* Embla viewport (same engine as the shop category strip). The viewport bleeds out by the edge gutter so
   cards line up with the sections above while lift / border / shadow are not clipped */
#katabam-product-root .rel__viewport{
  position:relative;
  overflow:hidden;
  padding:.75rem 0 1.75rem;
  margin:-.75rem calc(var(--rel-edge) * -1) -1.75rem;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
}
#katabam-product-root .rel__viewport.is-dragging{cursor:grabbing}
#katabam-product-root .rel__viewport.is-dragging .shop-card{pointer-events:none}
#katabam-product-root .rel__viewport img{-webkit-user-drag:none;user-select:none}
#katabam-product-root .rel__rail.shop-grid{
  display:flex;
  flex-wrap:nowrap;
  gap:var(--rel-gap);
  overflow:visible;
  width:auto;
  max-width:none;
  padding:0;
  padding-inline-start:var(--rel-edge);
  margin:0;
  touch-action:pan-y pinch-zoom;
  backface-visibility:hidden;
  will-change:transform;
  mask-image:none;
  -webkit-mask-image:none;
}
#katabam-product-root .rel__rail.shop-grid > .shop-card{
  /* each card also carries a 2px margin on both sides (room for its hover ring): count it, or the last card overflows the section. 100% is the rail's content box (start padding already excluded), so only the end gutter is subtracted */
  flex:0 0 calc((100% - var(--rel-edge) - (var(--rel-cols) - 1) * var(--rel-gap) - var(--rel-cols) * 4px) / var(--rel-cols));
  width:auto;
  min-width:0;
}
/* Embla measures the start gutter from track padding but the end gutter from the last slide's margin */
#katabam-product-root .rel__rail.shop-grid > .shop-card:last-child{margin-inline-end:var(--rel-edge)}
#katabam-product-root .rel__viewport:not(.is-ready) .rel__rail.shop-grid{will-change:auto}
@media (hover:hover){#katabam-product-root .rel__rail > .shop-card.about-surface,
#katabam-product-root .rel__rail > .shop-card.about-surface:is(:hover,.is-hov,:focus-within){box-shadow:none}}
/* #katabam-product-root a{color:inherit} outranks the shop card link colours */
#katabam-product-root .rel .shop-card__chip{color:var(--about-heading)}
@media (hover:hover){#katabam-product-root .rel .shop-card__title a:hover{color:var(--katabam-secondary)}}
@media (hover:hover){:is(html.dark,:root[data-theme="dark"]) #katabam-product-root .rel .shop-card__title a:hover{color:var(--katabam-primary)}}
#katabam-product-root .rel a.shop-card__cta{color:var(--katabam-text-on-dark)}
#katabam-product-root .rel a.shop-card__cta--contact{color:var(--katabam-primary-dark)}

@container (max-width:1100px){
  #katabam-product-root .rel{--rel-cols:4}
}
@container (max-width:900px){
  #katabam-product-root .rel{--rel-cols:3}
}
@container (max-width:760px){
  #katabam-product-root .rel{--rel-cols:2.3}
}
@media (max-width:640px){
  #katabam-product-root .rel{--rel-cols:1.75;--rel-gap:.65rem;--rel-edge:1rem;margin-top:2.6rem}
  #katabam-product-root .rel__head{align-items:center;margin-bottom:.9rem}
  #katabam-product-root .rel__title{font-size:1.2rem;gap:.5rem}
  #katabam-product-root .rel__navs{display:none}
  #katabam-product-root .rel__all{font-size:.8rem}
}


/* ===== v3.33 related rail: lighter drag + header hardening ===== */
/* While the rail is being dragged / gliding, nothing under it may start new hover work: cards moving under a still cursor
   used to fire lift + 42px shadow + spinning conic border + spotlight on every card that passed by. Paused effects resume
   (and the hovered card keeps its look) the moment the rail settles. */
#katabam-product-root .rel__viewport:is(.is-dragging,.is-moving) .shop-card{pointer-events:none}
#katabam-product-root .rel__viewport:is(.is-dragging,.is-moving) .shop-card.about-surface,
#katabam-product-root .rel__viewport:is(.is-dragging,.is-moving) .shop-card__chips-track{animation-play-state:paused}
/* backdrop blur re-samples what is behind it on every frame; inside a moving layer that is the single most expensive thing */
#katabam-product-root .rel__viewport:is(.is-dragging,.is-moving) .shop-card__format-badge{-webkit-backdrop-filter:none;backdrop-filter:none}
#katabam-product-root .rel__viewport.is-moving{cursor:grabbing}
#katabam-product-root .rel__rail.shop-grid{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

/* header: no ancestor / archive / theme rule may restyle this block */
#katabam-product-root .rel__head{
  position:static;box-sizing:border-box;width:100%;min-width:0;padding:0;border:0;background:none;box-shadow:none;
  flex-wrap:nowrap;direction:rtl;
}
#katabam-product-root .rel__titles{align-content:start;justify-items:start;text-align:start}
#katabam-product-root .rel__eyebrow{white-space:nowrap}
#katabam-product-root .rel__title{
  padding:0;border:0;background:none;font-family:inherit;letter-spacing:0;text-transform:none;text-align:start;
  flex-wrap:nowrap;white-space:nowrap;
}
#katabam-product-root .rel__title::after{content:none;display:none}
#katabam-product-root .rel__tools{direction:rtl;flex-wrap:nowrap;white-space:nowrap}
#katabam-product-root .rel__all{flex:none;box-sizing:border-box;font-family:inherit;line-height:1;background:none;border:0}
#katabam-product-root .rel__all span{display:block;line-height:1.4}
#katabam-product-root .rel__navs{flex:none;box-sizing:border-box;direction:rtl}
#katabam-product-root .rel__nav{
  flex:none;box-sizing:border-box;min-width:0;min-height:0;margin:0;line-height:1;font:inherit;
  -webkit-appearance:none;appearance:none;touch-action:manipulation;
}
#katabam-product-root .rel__nav svg{display:block;flex:none;pointer-events:none}
@media (max-width:640px){
  #katabam-product-root .rel__title{white-space:normal}
  #katabam-product-root .rel__head{gap:.6rem}
}

/* ===== v3.34 related header: round arrow buttons + pill "view all" (buttons sit next to the title, "view all" at the far end) ===== */
#katabam-product-root .rel__tools{gap:.7rem}
#katabam-product-root .rel__navs{gap:.4rem;padding:0;border:0;border-radius:0;background:none}
#katabam-product-root .rel__nav{
  width:2.5rem;height:2.5rem;border:1.5px solid var(--surface-border);background:var(--surface);color:var(--heading);
  box-shadow:0 1px 2px rgba(8,24,42,.06);
  transition:background-color .22s,border-color .22s,color .22s,box-shadow .22s,opacity .22s,transform .18s var(--pb-ease,ease);
}
#katabam-product-root .rel__nav svg{width:1.1rem;height:1.1rem}
@media (hover:hover){#katabam-product-root .rel__nav:hover:not(:disabled){
  background:var(--primary);border-color:var(--primary);color:#fff;transform:translateY(-1px);
  box-shadow:0 8px 16px -8px color-mix(in srgb,var(--primary) 75%,transparent);
}}
@media (hover:hover){#katabam-product-root .rel__nav:active:not(:disabled){transform:scale(.92)}}
#katabam-product-root .rel__nav:disabled{opacity:.45;background:var(--surface-soft);box-shadow:none;cursor:default}
#katabam-product-root .rel__all{
  height:2.5rem;gap:.6rem;padding:0;padding-inline:1.05rem .35rem;border:1.5px solid var(--surface-border);border-radius:999px;
  background:var(--surface);color:var(--heading);font-size:.84rem;font-weight:700;
  transition:border-color .22s,color .22s,box-shadow .22s,transform .18s;
}
#katabam-product-root .rel__all::after{content:none;display:none}
#katabam-product-root .rel__all svg{
  box-sizing:border-box;width:1.75rem;height:1.75rem;padding:.4rem;border-radius:50%;
  background:color-mix(in srgb,var(--primary) 16%,transparent);color:var(--primary-dark);
  transition:background-color .22s,color .22s,transform .3s cubic-bezier(.22,1,.36,1);
}
@media (hover:hover){#katabam-product-root .rel__all:hover{border-color:var(--primary);color:var(--primary-dark);box-shadow:0 8px 18px -10px color-mix(in srgb,var(--primary) 70%,transparent)}}
@media (hover:hover){#katabam-product-root .rel__all:hover svg{background:var(--primary);color:#fff;transform:translateX(-3px)}}
@media (hover:hover){#katabam-product-root .rel__all:active{transform:scale(.97)}}
@media (max-width:640px){
  #katabam-product-root .rel__all{height:2.2rem;font-size:.78rem;gap:.45rem;padding-inline:.85rem .25rem}
  #katabam-product-root .rel__all svg{width:1.5rem;height:1.5rem;padding:.33rem}
}

/* ===== v3.35 floating buy bar: cover thumbnail (the add-to-cart flight starts from it) ===== */
#katabam-product-root .mbar__th{
  flex:none;display:grid;place-items:center;width:3rem;height:3rem;border-radius:12px;overflow:hidden;background:#fff;
  box-shadow:0 0 0 1px var(--pb-line),0 6px 14px -8px rgba(8,24,42,.5);
}
#katabam-product-root .mbar__th img{display:block;width:100%;height:100%;object-fit:contain}
@media (max-width:380px){#katabam-product-root .mbar__th{width:2.6rem;height:2.6rem;border-radius:10px}}

/* ===== v3.35 mobile: the tab bar sticks under the (collapsed) site header ===== */
@media (max-width:768px){
  #katabam-product-root .tabnav{
    position:sticky;
    top:calc(var(--katabam-header-sticky-h,3.9rem) + .5rem);
    z-index:60;
  }
  #katabam-product-root #tabs{scroll-margin-top:calc(var(--katabam-header-sticky-h,3.9rem) + 4.4rem)}
}

/* ===== v3.36 single column (tablet / phone): tighter gap between the order-tracking card and the author card ===== */
@container (max-width:1040px){
  #katabam-product-root a.au,#katabam-product-root .au{margin-top:1rem}
  #katabam-product-root .tabbody{row-gap:1rem}
}
@container (max-width:640px){
  #katabam-product-root a.au,#katabam-product-root .au{margin-top:.85rem}
  #katabam-product-root .rel{margin-top:2.2rem}
}

/* review form: the error message must never end up under the sticky action bar */
#katabam-product-root .rv-f__err{scroll-margin-block:7rem}
@media (max-width:768px){
  #katabam-product-root .rv-form .rv-f__err{margin-bottom:.7rem}
}

/* ===== v3.37 author block: sharper covers + refined CTA ===== */
#katabam-product-root .au__cover img{image-rendering:auto;filter:drop-shadow(0 8px 9px rgba(8,24,42,.26)) drop-shadow(0 1px 1px rgba(8,24,42,.2))}
#katabam-product-root .au__cover img.is-cut{filter:drop-shadow(0 8px 9px rgba(8,24,42,.26)) drop-shadow(0 1px 1px rgba(8,24,42,.2))}
#katabam-product-root .au__cta{
  position:relative;overflow:hidden;isolation:isolate;gap:.75rem;height:3rem;padding:0 .45rem 0 1.25rem;border-radius:999px;border:0;
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);color:#fff;font-size:.9rem;font-weight:800;letter-spacing:0;
  box-shadow:0 12px 22px -12px rgba(78,160,42,.9),inset 0 1px 0 rgba(255,255,255,.28);
  transition:transform .3s cubic-bezier(.34,1.4,.64,1),box-shadow .3s,filter .25s
}
#katabam-product-root .au__cta::before{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;
  background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.28) 50%,transparent 70%);
  transform:translateX(120%);transition:transform .7s ease
}
#katabam-product-root .au__cta .i{
  flex:none;box-sizing:content-box;width:1rem;height:1rem;padding:.5rem;border-radius:50%;
  background:rgba(255,255,255,.2);color:#fff;transition:transform .35s cubic-bezier(.34,1.4,.64,1),background-color .25s
}
@media (hover:hover){
  #katabam-product-root a.au:hover .au__cta{transform:translateY(-2px);filter:none;box-shadow:0 16px 26px -12px rgba(78,160,42,.95),inset 0 1px 0 rgba(255,255,255,.3)}
  #katabam-product-root a.au:hover .au__cta::before{transform:translateX(-120%)}
  #katabam-product-root a.au:hover .au__cta .i{transform:translateX(-3px);background:rgba(255,255,255,.3)}
}
#katabam-product-root a.au:active .au__cta{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){#katabam-product-root .au__cta,#katabam-product-root .au__cta::before,#katabam-product-root .au__cta .i{transition:none}}

/* ===== v3.38 author photo: fill the circle completely (grid centring left a gap above the image) ===== */
#katabam-product-root .au__av--photo{display:block;position:relative;overflow:hidden;padding:0;line-height:0}
#katabam-product-root .au__av--photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 25%;border-radius:50%;display:block}

/* if the background cut fails, show the original picture (white background blended away on light surfaces) */
#katabam-product-root .au__cover img.is-cut-fb{opacity:1;mix-blend-mode:multiply;filter:drop-shadow(0 8px 9px rgba(8,24,42,.22))}
html.dark #katabam-product-root .au__cover img.is-cut-fb{mix-blend-mode:normal;border-radius:6px}

/* ===== v3.39 out-of-stock notice ===== */
#katabam-product-root .buy .notice.oos{
  display:flex;position:relative;overflow:hidden;isolation:isolate;align-items:center;gap:.95rem;margin:0 0 1.2rem;padding:1rem 1.05rem;
  border:1px solid rgba(217,45,45,.22);border-radius:18px;
  background:linear-gradient(135deg,rgba(217,45,45,.09),rgba(245,158,11,.07) 60%,rgba(217,45,45,.02));
}
#katabam-product-root .buy .notice.oos::after{
  content:"";position:absolute;z-index:-1;inset-inline-end:-2.2rem;top:-2.4rem;width:8rem;height:8rem;border-radius:50%;
  background:radial-gradient(circle,rgba(229,72,77,.14),transparent 68%)
}
#katabam-product-root .oos__ic{position:relative;flex:none;display:grid;place-items:center;width:3.1rem;height:3.1rem;border-radius:16px;color:#d92d2d;background:var(--surface);box-shadow:0 10px 20px -12px rgba(217,45,45,.7),inset 0 0 0 1px rgba(217,45,45,.18)}
#katabam-product-root .oos__ic>svg{width:1.6rem;height:1.6rem}
#katabam-product-root .oos__x{position:absolute;inset-inline-end:-.3rem;bottom:-.3rem;display:grid;place-items:center;width:1.15rem;height:1.15rem;border-radius:50%;background:#d92d2d;color:#fff;box-shadow:0 0 0 2px var(--surface)}
#katabam-product-root .oos__x svg{width:.6rem;height:.6rem}
#katabam-product-root .oos__tx{display:grid;gap:.2rem;min-width:0;font-size:.8rem;line-height:1.8;color:var(--muted)}
#katabam-product-root .oos__tx b{font-size:.98rem;font-weight:700;color:var(--heading)}
#katabam-product-root .oos__tx span{display:block}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .buy .notice.oos{border-color:rgba(229,72,77,.3);background:linear-gradient(135deg,rgba(229,72,77,.16),rgba(245,158,11,.08) 60%,rgba(229,72,77,.03))}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .oos__ic{color:#ff7b80}
@media (max-width:480px){#katabam-product-root .buy .notice.oos{padding:.9rem .9rem;gap:.8rem}#katabam-product-root .oos__ic{width:2.8rem;height:2.8rem;border-radius:14px}}

/* the gallery no longer shows an out-of-stock badge (the buy box says it) */
.ribbon,[data-state="oos"] .ribbon{display:none!important}

/* ===== v3.40 digital notice ===== */
#katabam-product-root .buy .notice.only-digital{
  position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;gap:.95rem;margin:0 0 1.2rem;padding:1rem 1.05rem;
  border:1px solid rgba(110,190,69,.32);border-radius:18px;
  background:linear-gradient(135deg,rgba(110,190,69,.16),rgba(110,190,69,.05) 62%,rgba(110,190,69,.02))
}
#katabam-product-root .buy .notice.only-digital::before{
  content:"";position:absolute;z-index:-1;inset-inline-end:-2rem;top:-2.4rem;width:8rem;height:8rem;border-radius:50%;
  background:radial-gradient(circle,rgba(110,190,69,.22),transparent 68%)
}
#katabam-product-root .buy .notice.only-digital::after{
  content:"";position:absolute;z-index:-1;inset-inline-start:-1.4rem;bottom:-2.6rem;width:6rem;height:6rem;border-radius:50%;
  background:radial-gradient(circle,rgba(110,190,69,.12),transparent 70%)
}
#katabam-product-root .buy .notice.only-digital .notice__ic{
  position:relative;flex:none;display:grid;place-items:center;width:3.1rem;height:3.1rem;border-radius:16px;color:#fff;
  background:linear-gradient(145deg,var(--primary),var(--primary-dark));
  box-shadow:0 12px 20px -12px rgba(78,160,42,.95),inset 0 1px 0 rgba(255,255,255,.35)
}
#katabam-product-root .buy .notice.only-digital .notice__ic::after{
  content:"";position:absolute;inset:-5px;border-radius:20px;border:1.5px solid rgba(110,190,69,.45);animation:ulPulse 2.4s ease-out infinite;pointer-events:none
}
#katabam-product-root .buy .notice.only-digital .notice__ic svg{width:1.55rem!important;height:1.55rem!important;stroke-width:2;fill:none}
#katabam-product-root .buy .notice.only-digital .notice__ic svg path:first-child{animation:ulArrow 1.8s ease-in-out infinite}
@keyframes ulArrow{0%,100%{transform:translateY(0)}50%{transform:translateY(2.5px)}}
#katabam-product-root .buy .notice.only-digital .notice__tx{display:grid;gap:.2rem;min-width:0;font-size:.8rem;line-height:1.8;color:var(--muted)}
#katabam-product-root .buy .notice.only-digital .notice__tx b{font-size:.98rem;font-weight:700;color:var(--heading)}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .buy .notice.only-digital{border-color:rgba(126,217,87,.3);background:linear-gradient(135deg,rgba(110,190,69,.2),rgba(110,190,69,.06) 62%,rgba(110,190,69,.02))}
@media (max-width:480px){#katabam-product-root .buy .notice.only-digital{padding:.9rem;gap:.8rem}#katabam-product-root .buy .notice.only-digital .notice__ic{width:2.8rem;height:2.8rem;border-radius:14px}}
@media (prefers-reduced-motion:reduce){#katabam-product-root .buy .notice.only-digital .notice__ic::after,#katabam-product-root .buy .notice.only-digital .notice__ic svg path:first-child{animation:none}}

/* ===== v3.41 author CTA — calm tinted button (replaces the glossy pill) ===== */
#katabam-product-root .au__cta{
  position:relative;overflow:visible;isolation:auto;display:inline-flex;align-items:center;justify-content:space-between;gap:.9rem;height:3rem;padding:0 .5rem 0 1.15rem;
  border-radius:14px;border:1px solid rgba(110,190,69,.4);background:rgba(110,190,69,.1);color:var(--primary-dark);
  font-size:.88rem;font-weight:700;letter-spacing:0;white-space:nowrap;box-shadow:none;filter:none;
  transition:background-color .25s,border-color .25s,color .25s,transform .25s cubic-bezier(.34,1.4,.64,1)
}
#katabam-product-root .au__cta::before{content:none}
#katabam-product-root .au__cta .i{
  flex:none;box-sizing:content-box;width:.95rem;height:.95rem;padding:.4rem;border-radius:10px;background:var(--primary);color:#fff;
  stroke-width:2.4;transition:transform .3s cubic-bezier(.34,1.4,.64,1),background-color .25s
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .au__cta{color:#9be07a;background:rgba(110,190,69,.14);border-color:rgba(126,217,87,.35)}
@media (hover:hover){
  #katabam-product-root a.au:hover .au__cta{background:rgba(110,190,69,.18);border-color:rgba(110,190,69,.7);transform:none;box-shadow:none;filter:none}
  #katabam-product-root a.au:hover .au__cta::before{transform:none}
  #katabam-product-root a.au:hover .au__cta .i{transform:translateX(-3px);background:var(--primary-dark)}
}
#katabam-product-root a.au:active .au__cta{transform:scale(.98)}

/* ===== v3.42 author CTA fixes: logical padding (RTL) + older direct :hover rule must not win ===== */
#katabam-product-root .au__cta{padding:0;padding-inline:1.2rem .45rem}
#katabam-product-root .au__cta:hover,#katabam-product-root .au__cta:focus-visible{
  background:rgba(110,190,69,.18);border-color:rgba(110,190,69,.7);color:var(--primary-dark)
}
:is(:root[data-theme="dark"],html.dark) #katabam-product-root .au__cta:hover{color:#9be07a}
#katabam-product-root .au__cta:hover .i{background:var(--primary-dark);color:#fff;transform:translateX(-3px)}

/* book summary: no caret once the text is complete ("show all" pressed mid-typing) */
#katabam-product-root .bsum.is-done .bsum__type p.is-cur::after{content:none;display:none;animation:none}

/* ===== v3.37 author + publisher boxes share the FULL width of the title block ===== */
#katabam-product-root .subline{display:flex;flex-wrap:nowrap;width:100%;min-width:0;justify-content:stretch}
#katabam-product-root .subline__item#author,
#katabam-product-root .subline__item#pub{flex:1 1 0;min-width:0;max-width:none;width:auto}
/* text column takes whatever is left in the box; its width is what the marquee measures against */
#katabam-product-root .subline__item#author .subline__tx,
#katabam-product-root .subline__item#pub .subline__tx{flex:1 1 0;min-width:0;max-width:none}
#katabam-product-root .subline__item#author .subline__tx b,
#katabam-product-root .subline__item#pub .subline__tx b{display:block;min-width:0;max-width:100%}

/* dock thumbnail: plain square cover, no frame or background */
#katabam-product-root .dock .th{width:44px;height:44px;aspect-ratio:1/1;background:none!important;border:0!important;box-shadow:none!important;border-radius:10px}
#katabam-product-root .dock .th img{width:100%;height:100%;object-fit:cover;border-radius:10px}

/* owners of an online book: read button instead of buy controls */
#katabam-product-root[data-owned="1"] .pricebox,
#katabam-product-root[data-owned="1"] .buyrow,
#katabam-product-root[data-owned="1"] .mbar .pr,
#katabam-product-root[data-owned="1"] #mAdd{display:none!important}
#katabam-product-root .read-card{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.4rem 1rem;padding:1.3rem;border-radius:22px;border:1px solid rgba(110,190,69,.4);background:radial-gradient(120% 140% at 100% 0,rgba(110,190,69,.22),transparent 60%),var(--pb-field,rgba(110,190,69,.06));overflow:hidden}
#katabam-product-root .read-card .notice__ic{display:grid;place-items:center;width:3.3rem;height:3.3rem;border-radius:16px;background:linear-gradient(135deg,#7bcb52,#4c9a2a);color:#fff;box-shadow:0 14px 24px -12px rgba(63,143,39,.9)}
#katabam-product-root .read-card .notice__ic svg{width:1.6rem;height:1.6rem}
#katabam-product-root .read-card .notice__tx{display:grid;gap:.1rem;font-size:.82rem;line-height:1.8;color:var(--muted)}
#katabam-product-root .read-card .notice__tx b{font-size:1.02rem;color:var(--heading)}
#katabam-product-root .read-card__btn{grid-column:1/-1;width:100%;justify-content:center;height:3.2rem;margin-top:.6rem;border-radius:16px;text-decoration:none}


/* Keep original cover colors for unavailable books, matching catalog cards. */
#katabam-product-root [data-state="oos"] .kg__slide img,
#katabam-product-root[data-state="oos"] .kg__slide img {
  filter: none;
  opacity: 1;
}

/* Keep description card headings above their text. */
#katabam-product-root .prose #descContent ul li{display:block;min-width:0;overflow-wrap:break-word;word-break:normal}
#katabam-product-root .prose #descContent ul li>strong:first-child{display:block;width:auto;margin-block-end:.35rem;word-break:normal;overflow-wrap:normal}
#katabam-product-root .prose #descContent ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}

/* Justify book summaries across all products. */
#katabam-product-root .bsum__type,#katabam-product-root .bsum__type p{ text-align:justify; text-align-last:start; text-justify:inter-word; }

/* Solar outlines and single-line specification values. */
#katabam-product-root .lead__ic svg,#katabam-product-root .lead__ic svg *{fill:none!important;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#katabam-product-root .lead__txt{min-width:0;overflow:hidden}
#katabam-product-root .lead__txt b{display:block;white-space:nowrap;overflow:hidden;max-width:100%;line-height:1.9}
#katabam-product-root .lead__marquee{display:block;width:max-content;min-width:100%;will-change:transform}

/* Align product description paragraphs and learning cards. */
#katabam-product-root .prose #descContent p,#katabam-product-root .prose #descContent li{text-align:justify;text-align-last:start;text-justify:inter-word}


/* Align product description paragraphs and learning cards. */
#katabam-product-root .prose #descContent p,#katabam-product-root .prose #descContent li{text-align:justify;text-align-last:start;text-justify:inter-word}

