/* Artekcenter – shop (agreed mockups: blue #2D6594, gold #BF9E22, dark #16212C) */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-regular.woff) format("woff"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-medium.woff) format("woff"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-semibold.woff) format("woff"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-bold.woff) format("woff"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap; src: url(/assets/fonts/barlow-sc-medium.woff) format("woff"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-sc-semibold.woff) format("woff"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-sc-bold.woff) format("woff"); }
:root {
  --ink: #16212C; --ink2: #3E4955; --muted: #5B6672; --line: #E3E6EA; --line2: #CBD2D9; --soft: #F4F5F7;
  --blue: #2D6594; --blue-d: #1F4A6E; --blue-t: #EEF3F9; --gold: #BF9E22; --gold-d: #7D6610; --gold-t: #F6EFD6; --cream: #FDF6E3;
  --green: #2F7D4F; --red: #C0392B; --amber: #8A5A00; --dark: #16212C; --dark2: #2B2A25;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --head: "Barlow Semi Condensed", "Arial Narrow", Inter, "Segoe UI", sans-serif;
  --r: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.5 var(--font); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 40px; font-weight: 700; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 16px; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.ic { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; padding-top: 10px; padding-bottom: 50px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ok { color: var(--green); font-weight: 600; }
.no { color: var(--red); font-weight: 600; }
.sr, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 100; }
.preview-bar { background: var(--gold-t); color: var(--gold-d); text-align: center; font-size: 13px; padding: 6px; }
.preview-bar .pb-form { display: inline; margin-left: 6px; }
.preview-bar .linkish { color: inherit; font-weight: 600; }
.lock-bar { background: var(--gold); color: #fff; font-weight: 600; }
.lock-bar a { color: #fff; text-decoration: underline; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; margin: 0 0 10px; }

/* top bar + header */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.ship-switch { position: relative; z-index: 41; }
.ship-switch summary { list-style: none; cursor: pointer; border: 1px solid var(--line2); background: #fff; border-radius: 6px; padding: 3px 10px; color: var(--ink2); }
.ship-switch summary::-webkit-details-marker { display: none; }
.ship-switch summary::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.ship-switch summary strong { color: var(--ink); }
.ship-pop { position: absolute; left: 0; top: calc(100% + 6px); width: min(560px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(22, 33, 44, .16); padding: 14px; }
.ship-pop h4 { margin: 12px 2px 6px; font: 700 11px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ship-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ship-grid.home { grid-template-columns: minmax(0, 1fr); }
.ship-grid button { text-align: left; border: 1px solid transparent; background: none; border-radius: 7px; padding: 7px 10px; font: 14px var(--font); color: var(--ink); cursor: pointer; }
.ship-grid button:hover { background: var(--soft); }
.ship-grid button.on { background: var(--blue-t); color: var(--blue-d); border-color: var(--blue); font-weight: 600; }
.ship-pop p { margin: 12px 2px 0; }
@media (max-width: 520px) { .ship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* checkout: country of delivery on top */
.co-shipto { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.co-shipto label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.co-shipto .ic { width: 18px; height: 18px; color: var(--blue); }
.co-shipto select { min-width: 200px; }
.free-bar.abroad { background: var(--blue-t); }
.toplinks { display: flex; gap: 20px; }
.toplinks a { color: var(--ink2); }
.topbar .wrap { position: relative; }
/* language switcher (topbar) and the "also in your language" bar */
.lang-switch { position: relative; z-index: 40; }
.lang-switch summary { list-style: none; cursor: pointer; border: 1px solid var(--line2); background: #fff; border-radius: 6px; padding: 3px 10px; font-weight: 600; color: var(--ink); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.lang-switch ul { position: absolute; left: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; min-width: 180px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px rgba(22,33,44,.14); }
.lang-switch li a { display: flex; align-items: baseline; gap: 8px; padding: 7px 10px; border-radius: 6px; color: var(--ink); }
.lang-switch li a b { width: 22px; color: var(--muted); font-weight: 600; }
.lang-switch li a:hover { background: var(--soft); }
.lang-switch li a.on { background: var(--blue-t); color: var(--blue-d); }
.lang-switch li a small { color: var(--gold-d); }
.lang-bar { background: var(--blue-t); color: var(--blue-d); font-size: 14px; border-bottom: 1px solid var(--line); }
.lang-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 8px 0; }
.lang-bar a { font-weight: 600; }
.lang-bar button { border: 0; background: none; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
:root { --hh: 0px; } html.hd-mini { --hh: 66px; scroll-padding-top: 80px; }
.head-row { display: flex; align-items: center; gap: 16px; height: 76px; }
.logo img { width: 138px; height: auto; display: block; }
.btn-cat { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: 600 16px var(--font); cursor: pointer; }
.btn-cat:hover, .btn-cat[aria-expanded="true"] { background: var(--blue-d); }
.search { flex: 1; display: flex; align-items: center; background: var(--soft); border: 1px solid var(--line2); border-radius: 999px; padding: 4px 4px 4px 20px; }
.search:focus-within { border-color: var(--blue); background: #fff; }
.search input { flex: 1; border: 0; background: none; font: 15px var(--font); height: 38px; outline: none; color: var(--ink); min-width: 0; }
.search > button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search > button .ic { width: 18px; height: 18px; }
.head-icons { display: flex; align-items: center; gap: 6px; }
.hi { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--ink2); padding: 4px 8px; }
.hi.aklub .ic { color: var(--gold); }
.cart-box { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line2); border-radius: 10px; padding: 6px 14px; color: var(--ink); margin-left: 4px; }
.cart-box small { display: block; font-size: 11px; color: var(--muted); }
.cart-box strong { font-size: 15px; }
.mainnav { border-top: 1px solid var(--line); }
.mainnav .wrap { display: flex; align-items: center; justify-content: space-between; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.mainnav a { display: block; padding: 13px 0 11px; color: var(--ink); font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
.mainnav a:hover, .mainnav a.on { color: var(--blue); border-bottom-color: var(--gold); }
.nav-promo { color: var(--gold-d) !important; font-weight: 600 !important; }
.nav-new { color: var(--blue) !important; font-weight: 600 !important; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; pointer-events: none; }
.mega-inner { pointer-events: auto; display: grid; grid-template-columns: 210px minmax(0, 1fr) 260px; gap: 26px; align-items: start; padding: 22px 24px 24px;
  background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; box-shadow: 0 18px 36px rgba(22,33,44,.14); }
.mega:not([hidden]) .mega-inner { animation: mega-in .16s ease-out; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mega:not([hidden]) .mega-inner, .mega-dim:not([hidden]) { animation: none; } }
.mega-side { list-style: none; margin: 0; padding: 0 18px 0 0; border-right: 1px solid var(--line); align-self: stretch; }
.mega-side button { width: 100%; text-align: left; background: none; border: 0; padding: 9px 12px; border-radius: 8px; font: 500 15px var(--font); color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
.mega-side button span { color: var(--muted); font-size: 12px; }
.mega-side button.on, .mega-side button:hover { background: var(--blue-t); color: var(--blue); }
.mega-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mega-title h2 { font-size: 26px; }
.mega-title a { font-weight: 600; white-space: nowrap; }
.mega-groups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 24px; }
.mega-groups a { display: flex; align-items: center; gap: 12px; color: var(--ink); padding: 6px 0; font-size: 15px; }
.mega-groups a:hover { color: var(--blue); }
.round { width: 48px; height: 48px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; font: 700 18px var(--head); color: var(--muted); }
.round img { width: 100%; height: 100%; object-fit: cover; }
.mega-chips { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.mega-chips h3, .f-group legend { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.mega-promo { background: var(--dark2); color: #fff; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 200px; }
.mega-promo small { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: #CFC7AE; }
.mega-promo strong { font: 700 25px/1.12 var(--head); }
.mega-promo span { font-weight: 600; }
.mega-promo:hover { color: #fff; background: #36352f; }
.mega-dim { position: fixed; inset: 0; background: rgba(22,33,44,.16); z-index: 20; }
.mega-dim:not([hidden]) { animation: dim-in .2s ease-out; }
@keyframes dim-in { from { opacity: 0; } to { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chip { display: inline-block; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 14px; color: var(--ink); font-weight: 500; background: #fff; font-size: 14px; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.on { background: var(--blue-t); border-color: #BFD2E6; color: var(--blue); }
.chips.big .chip { font: 600 17px var(--head); padding: 10px 18px; border-radius: 10px; }

/* home */
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; padding-top: 22px; }
.hero { background: linear-gradient(120deg, #1E4E77, var(--blue)); color: #fff; border-radius: 18px; padding: 56px 50px; min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.hero .kicker { color: #CFE0EF; }
.hero h1 { font-size: 52px; margin-bottom: 14px; }
.hero p { max-width: 560px; font-size: 17px; color: #E3ECF5; margin: 0 0 24px; }
.btn-white { background: #fff; color: var(--blue); font-weight: 600; padding: 13px 22px; border-radius: 10px; align-self: flex-start; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.tile-light, .tile-dark { border-radius: 18px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-light { background: var(--blue-t); color: var(--ink); }
.tile-dark { background: var(--dark); color: #fff; }
.tile-light small, .tile-dark small { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--blue); }
.tile-dark small, .tile-dark span { color: var(--gold); }
.tile-light strong, .tile-dark strong { font: 700 26px/1.1 var(--head); }
.tile-light span { color: var(--blue); font-weight: 600; }
.tile-dark:hover { color: #fff; }
.usps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.usps > div { display: flex; gap: 12px; align-items: center; background: var(--soft); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--muted); }
.usps strong { display: block; color: var(--ink); font-size: 14px; }
.usps .ic { color: var(--blue); width: 24px; height: 24px; }
.usps .gold { background: var(--gold-t); }
.usps .gold .ic, .usps .gold strong, .usps .gold span { color: var(--gold-d); }
.block { margin-top: 48px; }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.cats-big { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.cat-big { border-radius: 18px; min-height: 240px; padding: 26px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.cat-big.blue { background: linear-gradient(160deg, #24557F, #1E4E77); }
.cat-big.dark { background: var(--dark2); }
.cat-big strong { font: 700 38px var(--head); }
.cat-big span { color: #D8E2EC; font-size: 14px; }
.cat-big:hover { color: #fff; filter: brightness(1.08); }
.cats-small { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.cat-small { background: var(--soft); border-radius: 16px; min-height: 150px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--ink); }
.cat-small strong { font: 700 24px var(--head); }
.cat-small span { font-size: 13px; line-height: 1.5; min-height: 3em; color: var(--muted); }   /* room for two lines, so every title sits at the same height */
.cat-small:hover { background: var(--blue-t); color: var(--ink); }
.caliber-box { background: var(--soft); border-radius: 18px; padding: 30px; }
.caliber-box .kicker { color: var(--blue); }
.tabs { display: flex; gap: 6px; }
.tabs button, .pp-tabs button { border: 1px solid var(--line2); background: #fff; border-radius: 999px; padding: 6px 14px; font: 500 13px var(--font); cursor: pointer; color: var(--ink); }
.tabs button.on, .pp-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aklub-band { background: var(--gold-t); border-radius: 18px; padding: 34px 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.aklub-band .kicker, .aklub-band h2, .aklub-band p { color: var(--gold-d); }
.aklub-band h2 { font-size: 34px; max-width: 620px; margin-bottom: 10px; }
.aklub-band p { margin: 0; max-width: 620px; }
.btn-dark { background: var(--dark); color: #fff; font-weight: 600; padding: 14px 22px; border-radius: 10px; white-space: nowrap; }
.btn-dark:hover { color: #fff; background: #000; }
.brands { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.brands a { background: var(--soft); border-radius: 12px; height: 70px; display: grid; place-items: center; font: 700 18px var(--head); color: var(--ink2); text-align: center; padding: 0 6px; }
.brands a:hover { background: var(--blue-t); color: var(--blue); }

/* product card */
.card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; background: #fff; transition: box-shadow .15s, border-color .15s; }
.card:hover { border-color: var(--line2); box-shadow: 0 8px 24px rgba(22,33,44,.08); }
.card-img { position: relative; aspect-ratio: 1 / 1; background: var(--soft); border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.noimg { font: 700 54px var(--head); color: #CBD2D9; }
.noimg.big { font-size: 120px; }
.pill { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: var(--blue); color: #fff; }
.pill.new { left: auto; right: 10px; background: var(--gold-t); color: var(--gold-d); border: 1px solid #E6D8A6; }
.pill.gold { position: static; background: var(--gold-t); color: var(--gold-d); }
.card-body { padding: 12px 2px 6px; flex: 1; }
.brand { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.card-body .brand { display: flex; align-items: center; gap: 8px; min-height: 18px; }
.card-body .brand > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-rate { flex: none; display: inline-flex; align-items: center; gap: 3px; font: 600 12px/1 var(--font); color: var(--ink); }
.card-rate .ic { width: 12px; height: 12px; color: var(--gold); fill: currentColor; }
.card-rate small { font-weight: 400; color: var(--muted); font-size: 11px; }
.card-rate:hover { color: var(--blue); }
.card h3 { font-size: 15px; line-height: 1.35; margin-bottom: 6px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--blue); }
.spec { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.avail { font-size: 13px; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.avail .ok, .avail .no { display: inline-flex; align-items: center; gap: 6px; line-height: 1.3; }
.avail .ok::before, .avail .no::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.pickup { color: var(--gold-d); font-weight: 500; font-size: 13px; }
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 6px 2px 2px; }
.price strong { font-size: 22px; display: block; }
.price small { color: var(--muted); font-size: 12px; }
.btn-cart { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.btn-cart:hover { background: var(--blue-d); }
.btn-cart .ic { width: 20px; height: 20px; }
.btn-line { border: 1px solid var(--line2); background: #fff; border-radius: 10px; padding: 9px 14px; font: 600 13px var(--font); color: var(--ink); cursor: pointer; white-space: nowrap; }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-blue { border: 0; background: var(--blue); color: #fff; border-radius: 10px; padding: 12px 20px; font: 600 15px var(--font); cursor: pointer; }
.btn-blue:hover { background: var(--blue-d); }
.btn-blue.big, .btn-line.big { height: 50px; font-size: 16px; }   /* only the big buttons (not .chips.big or .noimg.big) */

/* category */
.crumbs { font-size: 14px; color: var(--muted); padding: 16px 0 8px; }
.crumbs span { color: var(--ink); }
.cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.lead { color: var(--ink2); margin: -8px 0 18px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; position: relative; }
.subcats.folded { max-height: 106px; overflow: hidden; padding-bottom: 0; }
.subcats.folded::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.subcat { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px 0 6px; background: var(--soft); border: 1.5px solid transparent; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: 14px; white-space: nowrap; transition: border-color .15s, background .15s; }
/* drawn category icons (owner 28. 11. 2026; 29. 11.: all re-traced to one line weight, ~0.6 px at menu size): a mask in the text colour – soft grey, blue on hover like the name; circle a light neutral grey */
.round.has-ic { background: #F5F6F8; border-color: #E8EBEF; width: 54px; height: 54px; color: #8A94A0; transition: color .15s; }
.cat-ic { display: block; width: 36px; height: 36px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.mega-groups a:hover .round.has-ic, .subcat:hover .round.has-ic, .subcat.on .round.has-ic { color: var(--blue); }
.subcat .round.has-ic { width: 38px; height: 38px; background: #F5F6F8; }
.subcat .round.has-ic .cat-ic { width: 26px; height: 26px; }
.ic-krogle-pistole { -webkit-mask-image: url(/assets/img/cat/krogle-pistole.svg?v=3); mask-image: url(/assets/img/cat/krogle-pistole.svg?v=3); }
.ic-krogle-puske { -webkit-mask-image: url(/assets/img/cat/krogle-puske.svg?v=3); mask-image: url(/assets/img/cat/krogle-puske.svg?v=3); }
.ic-tulci-pistole { -webkit-mask-image: url(/assets/img/cat/tulci-pistole.svg?v=3); mask-image: url(/assets/img/cat/tulci-pistole.svg?v=3); }
.ic-tulci-puske { -webkit-mask-image: url(/assets/img/cat/tulci-puske.svg?v=3); mask-image: url(/assets/img/cat/tulci-puske.svg?v=3); }
.ic-strelivo-robni { -webkit-mask-image: url(/assets/img/cat/strelivo-robni.svg?v=3); mask-image: url(/assets/img/cat/strelivo-robni.svg?v=3); }
.ic-strelivo-pistole { -webkit-mask-image: url(/assets/img/cat/strelivo-pistole.svg?v=3); mask-image: url(/assets/img/cat/strelivo-pistole.svg?v=3); }
.ic-strelivo-puske { -webkit-mask-image: url(/assets/img/cat/strelivo-puske.svg?v=3); mask-image: url(/assets/img/cat/strelivo-puske.svg?v=3); }
.ic-diaboli { -webkit-mask-image: url(/assets/img/cat/diaboli.svg?v=3); mask-image: url(/assets/img/cat/diaboli.svg?v=3); }
.ic-kratko-orozje { -webkit-mask-image: url(/assets/img/cat/kratko-orozje.svg?v=3); mask-image: url(/assets/img/cat/kratko-orozje.svg?v=3); }
.round.has-ic .ic-kratko-orozje { width: 40px; height: 40px; }   /* owner 28. 11. 2026: pistol a bit larger */
.round.has-ic .ic-dolgo-orozje { width: 47px; height: 47px; }    /* the long, thin rifle uses the circle's full width */
.subcat .round.has-ic .ic-kratko-orozje { width: 29px; height: 29px; }
.subcat .round.has-ic .ic-dolgo-orozje { width: 33px; height: 33px; }
.ic-dolgo-orozje { -webkit-mask-image: url(/assets/img/cat/dolgo-orozje.svg?v=3); mask-image: url(/assets/img/cat/dolgo-orozje.svg?v=3); }
.ic-torbe-toki { -webkit-mask-image: url(/assets/img/cat/torbe-toki.svg?v=3); mask-image: url(/assets/img/cat/torbe-toki.svg?v=3); }
.ic-strelni-daljnogledi { -webkit-mask-image: url(/assets/img/cat/strelni-daljnogledi.svg?v=3); mask-image: url(/assets/img/cat/strelni-daljnogledi.svg?v=3); }
.ic-daljnogledi { -webkit-mask-image: url(/assets/img/cat/daljnogledi.svg?v=3); mask-image: url(/assets/img/cat/daljnogledi.svg?v=3); }
.ic-spektivi { -webkit-mask-image: url(/assets/img/cat/spektivi.svg?v=3); mask-image: url(/assets/img/cat/spektivi.svg?v=3); }
.ic-montaze { -webkit-mask-image: url(/assets/img/cat/montaze.svg?v=3); mask-image: url(/assets/img/cat/montaze.svg?v=3); }
.ic-krtacke { -webkit-mask-image: url(/assets/img/cat/krtacke.svg?v=3); mask-image: url(/assets/img/cat/krtacke.svg?v=3); }
.ic-kompleti { -webkit-mask-image: url(/assets/img/cat/kompleti.svg?v=3); mask-image: url(/assets/img/cat/kompleti.svg?v=3); }
.ic-olja { -webkit-mask-image: url(/assets/img/cat/olja.svg?v=3); mask-image: url(/assets/img/cat/olja.svg?v=3); }
.ic-strelne-palice { -webkit-mask-image: url(/assets/img/cat/strelne-palice.svg?v=3); mask-image: url(/assets/img/cat/strelne-palice.svg?v=3); }
.ic-gps-torbe { -webkit-mask-image: url(/assets/img/cat/gps-torbe.svg?v=3); mask-image: url(/assets/img/cat/gps-torbe.svg?v=3); }
.ic-airsoft-puska { -webkit-mask-image: url(/assets/img/cat/airsoft-puska.svg?v=3); mask-image: url(/assets/img/cat/airsoft-puska.svg?v=3); }
.ic-airsoft-hopup { -webkit-mask-image: url(/assets/img/cat/airsoft-hopup.svg?v=3); mask-image: url(/assets/img/cat/airsoft-hopup.svg?v=3); }
.ic-airsoft-nabojnik { -webkit-mask-image: url(/assets/img/cat/airsoft-nabojnik.svg?v=3); mask-image: url(/assets/img/cat/airsoft-nabojnik.svg?v=3); }
.round.has-ic .ic-strelne-palice { width: 44px; height: 44px; }   /* tall, thin stick: uses the circle's height */
.subcat .round.has-ic .ic-strelne-palice { width: 31px; height: 31px; }
.ic-netilke { -webkit-mask-image: url(/assets/img/cat/netilke.svg?v=3); mask-image: url(/assets/img/cat/netilke.svg?v=3); }
.ic-smodnik { -webkit-mask-image: url(/assets/img/cat/smodnik.svg?v=3); mask-image: url(/assets/img/cat/smodnik.svg?v=3); }
.ic-stiskalnice { -webkit-mask-image: url(/assets/img/cat/stiskalnice.svg?v=3); mask-image: url(/assets/img/cat/stiskalnice.svg?v=3); }
.ic-matrice { -webkit-mask-image: url(/assets/img/cat/matrice.svg?v=3); mask-image: url(/assets/img/cat/matrice.svg?v=3); }
.ic-dozirniki { -webkit-mask-image: url(/assets/img/cat/dozirniki.svg?v=3); mask-image: url(/assets/img/cat/dozirniki.svg?v=3); }
.ic-tehtnice { -webkit-mask-image: url(/assets/img/cat/tehtnice.svg?v=3); mask-image: url(/assets/img/cat/tehtnice.svg?v=3); }
.ic-priprava-tulcev { -webkit-mask-image: url(/assets/img/cat/priprava-tulcev.svg?v=3); mask-image: url(/assets/img/cat/priprava-tulcev.svg?v=3); }
.ic-orodja-netilke { -webkit-mask-image: url(/assets/img/cat/orodja-netilke.svg?v=3); mask-image: url(/assets/img/cat/orodja-netilke.svg?v=3); }
.ic-shell-holders { -webkit-mask-image: url(/assets/img/cat/shell-holders.svg?v=3); mask-image: url(/assets/img/cat/shell-holders.svg?v=3); }
.ic-skatle { -webkit-mask-image: url(/assets/img/cat/skatle.svg?v=3); mask-image: url(/assets/img/cat/skatle.svg?v=3); }
.ic-dodatki { -webkit-mask-image: url(/assets/img/cat/dodatki.svg?v=3); mask-image: url(/assets/img/cat/dodatki.svg?v=3); }

.subcat .round { width: 34px; height: 34px; background: #fff; border: 0; font-size: 14px; }
.subcat .round img { width: 34px; height: 34px; object-fit: cover; }
.subcat small { background: #fff; color: var(--muted); font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 2px 7px; }
.subcat:hover { border-color: var(--line2); color: var(--ink); background: #fff; }
.subcat.on { border-color: var(--blue); background: var(--blue-t); color: var(--blue); }
.subcat.on small { background: var(--blue); color: #fff; }
.subcat-more { position: absolute; right: 0; bottom: 6px; z-index: 2; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; font: 600 13px var(--font); color: var(--blue); cursor: pointer; box-shadow: 0 2px 8px rgba(22,33,44,.08); }
.subcats:not(.folded) .subcat-more { position: static; box-shadow: none; }
.notice { border-radius: 12px; padding: 13px 18px; margin-bottom: 20px; font-size: 14px; }
.notice.pickup { background: var(--cream); border: 1px solid #F1DFAE; color: var(--gold-d); }
.notice.aklub { background: var(--gold-t); color: var(--gold-d); }
.listing { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px; align-items: start; padding-bottom: 50px; }
.filters { position: sticky; top: calc(var(--hh) + 12px); max-height: calc(100vh - var(--hh) - 24px); overflow-y: auto; padding-right: 6px; }
.f-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.f-head h2 { font-size: 22px; }
.f-head a { font-size: 14px; }
.f-switch { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.f-group { border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0; }
.f-group legend { padding: 0; float: left; width: 100%; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; }
.f-check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14px; clear: both; }
.f-check span { flex: 1; }
.f-check small { color: var(--muted); font-size: 12px; }
.f-check input, .chip-check input { width: 17px; height: 17px; accent-color: var(--blue); }
.f-find:focus, .f-find:focus-visible { outline: 0; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.f-find { width: 100%; height: 38px; border: 1px solid var(--line2); border-radius: 8px; padding: 0 10px; font: 14px var(--font); margin: 4px 0 8px; clear: both; }
.f-more { background: none; border: 0; color: var(--blue); font: 500 14px var(--font); padding: 6px 0 0; cursor: pointer; }
.chips.small { clear: both; gap: 6px; }
.chip-check { cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; }
.chip-check span { display: inline-block; border: 1px solid var(--line2); border-radius: 999px; padding: 4px 11px; font-size: 13px; }
.chip-check span { transition: background .12s, border-color .12s; }
.chip-check:hover input:not(:checked) + span { background: #EEF1F4; border-color: #B9C3CD; }
.chip-check input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--gold); }
.f-range { display: flex; align-items: center; gap: 8px; clear: both; }
.f-range input { width: 100%; height: 40px; border: 1px solid var(--line2); border-radius: 8px; padding: 0 10px; font: 14px var(--font); }
input.sw { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 12px; background: var(--line2); position: relative; cursor: pointer; flex: 0 0 auto; margin: 0; transition: background .15s; }
input.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
input.sw:checked { background: var(--blue); }
input.sw:checked::after { left: 21px; }
.results-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1; }
.active-chips .chip { font-size: 13px; padding: 4px 12px; }
.sorter label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sorter select { height: 40px; border: 1px solid var(--line2); border-radius: 8px; padding: 0 10px; font: 14px var(--font); color: var(--ink); background: #fff; }
.view-toggle { display: flex; border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; }
.view-toggle a { width: 40px; height: 38px; display: grid; place-items: center; color: var(--ink2); }
.view-toggle a.on { background: var(--ink); color: #fff; }
.view-toggle .ic { width: 18px; height: 18px; }
.empty { background: var(--soft); border-radius: 14px; padding: 40px; text-align: center; }
.empty h2 { font-size: 24px; margin-bottom: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--soft); padding: 10px 12px; font-weight: 600; }
.ptable td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.ptable .num { text-align: right; white-space: nowrap; }
.ptable small { display: block; color: var(--muted); font-size: 12px; }
.pt-name a { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.pt-name small { font-weight: 400; }
.thumb { width: 48px; height: 48px; border-radius: 8px; background: var(--soft); flex: 0 0 auto; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.pill-line { border: 1px solid var(--line2); border-radius: 999px; padding: 3px 10px; font-weight: 600; white-space: nowrap; }
.pager-row { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; flex-wrap: wrap; }
.pager { display: flex; gap: 6px; }
.pager a, .pager span { min-width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 8px; display: grid; place-items: center; color: var(--ink); padding: 0 8px; }
.pager span { border: 0; }
.pager a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* product page */
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 6px; }
.pp-main { position: relative; background: var(--soft); border-radius: 18px; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; }
.pp-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pp-badges .pill { position: static; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pp-thumbs button, .pp-video-thumb { width: 76px; height: 76px; border-radius: 10px; border: 2px solid transparent; background: var(--soft); padding: 0; overflow: hidden; cursor: pointer; }
.pp-thumbs button.on { border-color: var(--blue); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp-video-thumb { background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 24px; }
.pp-brand { display: flex; justify-content: space-between; gap: 10px; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--muted); font-weight: 600; margin: 0 0 8px; }
.pp-code { text-transform: none; letter-spacing: 0; font-weight: 400; }
.pp-code strong { color: var(--ink); }
.pp-info h1 { font-size: 38px; margin-bottom: 16px; }
.spec-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.spec-tiles div, .spec-tiles a { background: var(--soft); border-radius: 10px; padding: 10px 8px; text-align: center; color: var(--ink); border: 1px solid transparent; transition: border-color .15s, background .15s; }
.spec-tiles a:hover { border-color: var(--blue); background: var(--blue-t); color: var(--blue); }
.spec-tiles strong { display: block; font: 700 17px var(--head); }
.spec-tiles small { color: var(--muted); font-size: 11px; }
.variant p { font-weight: 600; margin: 0 0 8px; font-size: 14px; }
.variant-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.variant-opts a { border: 1px solid var(--line2); border-radius: 10px; padding: 8px 14px; text-align: center; color: var(--ink); min-width: 80px; }
.variant-opts a strong { display: block; font-size: 15px; }
.variant-opts a small { color: var(--muted); font-size: 12px; }
.variant-opts a.on { border: 2px solid var(--blue); background: var(--blue-t); }
.variant-opts a.out { opacity: .55; }
.buybox { border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.bb-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 14px; }
.bb-price { font: 700 44px var(--head); display: block; line-height: 1; margin-bottom: 4px; white-space: nowrap; }   /* € stays with the number */
.bb-top > div:first-child { flex: none; }
.bb-stock { min-width: 0; }
.bb-top small { color: var(--muted); font-size: 13px; display: block; }
.bb-stock { text-align: right; }
.bb-aklub { background: var(--gold-t); color: var(--gold-d); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 0 0 14px; }
.bb-aklub a { color: var(--gold-d); text-decoration: underline; }
.bb-buy { display: flex; gap: 10px; }
.bb-buy .btn-blue { flex: 1; }
.qty { display: inline-flex; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; height: 50px; }
.qty button { width: 42px; border: 0; background: #fff; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty input { width: 46px; border: 0; text-align: center; font: 600 16px var(--font); }
.pickup-box { background: var(--cream); border: 1px solid #F1DFAE; color: var(--gold-d); border-radius: 14px; padding: 16px 18px; font-size: 14px; margin-bottom: 16px; }
.pickup-box strong { display: block; font-size: 15px; margin-bottom: 4px; }
.pp-ship { border-top: 1px solid var(--line); padding-top: 16px; container-type: inline-size; }
.pp-ship h3 { font: 600 15px var(--font); margin: 0 0 10px; }
.pp-ship ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-ship li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; font-size: 14px; }
.pp-ship li > span:not(.end) { min-width: 0; padding-right: 16px; }
.pp-ship li > span:not(.end) > strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* the title on one line */
.pp-ship li > span:not(.end) > small { text-wrap: balance; }   /* the description in two even lines */
@container (max-width: 540px) {   /* narrow column (phone, small laptop): price under the text, so the text gets the whole width */
  .pp-ship li { grid-template-columns: 22px minmax(0, 1fr); row-gap: 4px; }
  .pp-ship li > .end { grid-column: 2; text-align: left; padding-left: 0; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
  .pp-ship li > span:not(.end) > strong { white-space: normal; }
}
.pp-ship li > .end { padding-left: 16px; }
.pp-ship li .ic { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.pp-ship li strong { font-weight: 600; display: block; }
.pp-ship li small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.pp-ship .end { text-align: right; }
.pp-ship .ok, .pp-rows .ok { color: var(--green); font-weight: 600; }
.pp-ship li.off { color: var(--muted); }
.pp-ship li.off .ic { color: var(--muted); }
.pp-note { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.pp-note .ic { width: 14px; height: 14px; color: var(--muted); }
.pp-rows { margin: 16px 0 0; }
.pp-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pp-rows dt { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.pp-rows dt .ic { width: 16px; height: 16px; color: var(--blue); }
.pp-rows dd { margin: 0; text-align: right; color: var(--ink2); }
.pp-tabs { display: flex; gap: 6px; margin: 44px 0 20px; background: var(--soft); border-radius: 12px; padding: 5px; width: max-content; max-width: 100%; }
.pp-tabs button { border: 0; background: none; border-radius: 8px; padding: 9px 16px; font-size: 14px; }
.pp-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.pp-sections { max-width: 860px; margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.pp-text h2, .spec-box h2, #video h2 { margin-bottom: 12px; }
.pp-text { font-size: 16px; color: var(--ink2); line-height: 1.65; }
.spec-box { background: var(--soft); border-radius: 16px; padding: 26px 28px 20px; }
.spec-box dl { margin: 0; }
.spec-box div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-box div:last-child { border-bottom: 0; }
.spec-box dt { color: var(--muted); }
.spec-box dd { margin: 0; font-weight: 600; text-align: right; }
.yt { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; background: var(--dark); color: #fff; border: 0; border-radius: 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: 600 16px var(--font); }
.yt span { font-size: 42px; }
.yt small { font-weight: 400; color: #AEB8C2; font-size: 12px; }
.yt-frame { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); z-index: 25; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.sticky-buy span { flex: 1; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sticky-buy em { color: var(--gold-d); font-style: normal; }
.sticky-buy strong { font: 700 24px var(--head); }
.info-card { background: var(--soft); border-radius: 14px; padding: 22px; margin-top: 16px; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 10px; padding: 12px 18px; font-size: 14px; z-index: 60; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: 90vw; }

/* footer */
.usp-strip { background: var(--soft); margin-top: 60px; }
.usp-strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 26px; padding-bottom: 26px; font-size: 14px; }
.usp-strip strong { display: block; }
.usp-strip span { color: var(--muted); }
.usp-strip .gold strong { color: var(--gold-d); }
.footer { background: var(--dark); color: #C9D1D9; font-size: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 34px; padding-bottom: 40px; }
.footer h2 { font: 600 15px var(--font); color: #fff; margin-bottom: 8px; }
.footer p { margin: 0; line-height: 1.8; }
.footer a { color: #C9D1D9; }
.footer a:hover { color: #fff; }

/* responsive */
@media (max-width: 1100px) {
  .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-inner { grid-template-columns: 200px minmax(0, 1fr); }
  .mega-promo { display: none; }
  .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .head-icons .hi span { display: none; }
}
@media (max-width: 860px) {
  .toplinks, .hours { display: none; }
  .head-row { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
  .logo img { width: 120px; }
  .search { order: 5; flex-basis: 100%; }
  .btn-cat span, .btn-cat { padding: 0 14px; }
  .hero-row, .pp, .listing { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 34px 26px; min-height: 0; }
  .hero h1 { font-size: 36px; }
  .usps, .cats-small, .usp-strip .wrap, .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cats-big { grid-template-columns: minmax(0, 1fr); }
  .grid4, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mega-inner { grid-template-columns: minmax(0, 1fr); }
  .mega-side { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
  .mega-side button { width: auto; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); }   /* phone: chips – the count in brackets, in line with the name */
  .mega-side button span { font-size: 13px; }
  .mega-side button span::before { content: '('; }
  .mega-side button.on { border-color: var(--blue-t); }
  .mega-side button span::after { content: ')'; }
  .mega-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters { position: static; max-height: none; }
  .aklub-band { flex-direction: column; align-items: flex-start; }
  h1, .pp-info h1 { font-size: 30px; }
}
@media (max-width: 520px) {
  .grid4, .grid3, .usps, .cats-small, .usp-strip .wrap, .foot-cols, .mega-groups { grid-template-columns: minmax(0, 1fr); }
  .head-icons .hi { display: none; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.hours { border-collapse: collapse; margin-top: 4px; }
.hours caption { text-align: left; font-weight: 600; margin-bottom: 6px; }
.hours th { text-align: left; font-weight: 500; padding: 3px 18px 3px 0; color: var(--ink2); }
.hours td { padding: 3px 0; font-variant-numeric: tabular-nums; }
.bb-stock .ok .ic { width: 14px; height: 14px; vertical-align: -2px; }
.bb-aklub .ic { width: 14px; height: 14px; vertical-align: -2px; color: var(--gold); }
.yt span .ic { width: 38px; height: 38px; }
.pp-text p { margin: 0 0 14px; }
.pp-desc { max-width: 80ch; }   /* shorter lines are easier to read */
.pp-text h3 { font-size: 22px; margin: 26px 0 10px; color: var(--ink); }
.pp-text h4 { font-size: 18px; margin: 20px 0 8px; color: var(--ink); }
.pp-text ul, .pp-text ol { margin: 0 0 16px; padding-left: 22px; }
.pp-text li { margin: 4px 0; }
.pp-text li::marker { color: var(--blue); }
.pp-text blockquote { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 10px 10px 0; }
.pp-text a { text-decoration: underline; }
.spec-link { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(45,101,148,.45); }
.spec-link:hover { border-bottom-style: solid; }
.spec-hint { display: flex; align-items: center; gap: 6px; font-size: 12.5px; margin: 12px 0 0; }
.spec-hint .ic { width: 13px; height: 13px; }
.pp-brand a { color: inherit; } .pp-brand a:hover { color: var(--blue); }
/* info pages (text from Administracija → Strani trgovine) */
.page-text { font-size: 16px; line-height: 1.7; color: var(--ink2); margin-top: 18px; }
.page-text h3 { font-size: 22px; color: var(--ink); margin: 28px 0 8px; }
.page-text ul { padding-left: 22px; }
.page-text li { margin: 6px 0; }
.page-cta { margin-top: 26px; }
.page-cta .btn-blue { display: inline-flex; align-items: center; padding: 0 26px; }
/* cart (košarica) */
.toast a { color: #fff; font-weight: 600; text-decoration: underline; margin-left: 4px; }
.cart-box { position: relative; }
.cart-n { position: absolute; top: -7px; left: 26px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: #fff; font: 700 11px/20px var(--font); text-align: center; padding: 0 5px; }
.card-foot form, .ptable form { margin: 0; }
.bb-buy { margin: 0; }
.cart-page { padding-bottom: 60px; }
.cart-page h1 { margin: 6px 0 22px; }
.steps { list-style: none; display: flex; gap: 8px; margin: 10px 0 18px; padding: 0; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 14px; padding-right: 18px; }
.steps li:not(:last-child)::after { content: ""; width: 34px; height: 2px; background: var(--line2); margin-left: 10px; }
.steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line2); font-size: 13px; }
.steps .on { color: var(--blue); }
.steps .on span { background: var(--blue); border-color: var(--blue); color: #fff; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.free-bar { display: flex; gap: 14px; align-items: center; background: var(--blue-t); border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; color: var(--blue-d); }
.free-bar p { margin: 0 0 6px; font-weight: 600; }
.free-bar > div { flex: 1; }
.free-bar progress { width: 100%; height: 8px; accent-color: var(--blue); }
.free-bar.done { background: #EAF5EE; color: #2F7D4F; }
.free-bar.done progress { accent-color: #2F7D4F; }
.cart-group { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 18px; overflow: hidden; background: #fff; }
.cart-group > header { display: flex; gap: 12px; align-items: center; padding: 12px 18px; }
.cart-group > header small { display: block; font-size: 13px; font-weight: 400; }
.cart-group.pickup > header { background: var(--cream); color: var(--gold-d); border-bottom: 1px solid #F1DFAE; }
.cart-group.ship > header { background: var(--blue-t); color: var(--blue-d); border-bottom: 1px solid #D6E3F0; }
.cart-group.later > header { background: var(--soft); border-bottom: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 140px 130px 120px; gap: 16px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); margin: 0; }
.cart-group > header + .cart-row { border-top: 0; }
.cart-group.later .cart-row { grid-template-columns: 72px minmax(0, 1fr) 110px; }
.cart-row.warn { background: #FFF8EC; }
.cr-img { width: 72px; height: 72px; border-radius: 10px; background: var(--soft); overflow: hidden; display: block; }
.cr-img img { width: 100%; height: 100%; object-fit: contain; }
.cr-info small { color: var(--muted); font-size: 12px; }
.cr-name { display: block; font: 600 16px/1.3 var(--head); color: var(--ink); margin: 2px 0 6px; }
.cr-chips { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.pill-gold { background: var(--gold-t); color: var(--gold-d); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.cr-warn { display: block; color: #8A5A00; font-size: 13px; font-weight: 600; margin-top: 6px; }
.cr-acts { display: flex; gap: 14px; margin-top: 8px; }
.cr-acts .link { border: 0; background: none; padding: 0; font: 500 13px var(--font); color: var(--blue); cursor: pointer; }
.cr-acts .link.muted { color: var(--muted); }
.cr-price, .cr-total { text-align: right; }
.cr-price small { display: block; color: var(--muted); font-size: 12px; }
.cr-total strong { font: 700 18px var(--head); }
.qty.small { height: 40px; }
.qty.small button { width: 34px; font-size: 18px; }
.qty.small input { width: 46px; }
.cart-sum { position: sticky; top: calc(var(--hh) + 16px); border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.cart-sum h2 { font-size: 22px; margin-bottom: 12px; }
.cart-sum dl { margin: 0 0 12px; }
.cart-sum dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 15px; }
.cart-sum dd { margin: 0; font-weight: 600; }
.cart-sum .ok { color: #2F7D4F; }
.cart-sum .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; }
.cart-sum .total dd { font: 700 26px var(--head); }
.cart-sum .vat { color: var(--muted); font-size: 13px; padding-top: 0; }
.btn-blue.wide { width: 100%; margin: 6px 0 16px; }
.btn-blue:disabled { opacity: .5; cursor: default; }
.pay-list h3 { font-size: 15px; margin-bottom: 6px; }
.pay-list p { display: flex; gap: 10px; align-items: center; margin: 6px 0; font-size: 14px; color: var(--ink2); }
.pay-list .ic { width: 18px; height: 18px; color: var(--blue); }
.aklub-box { display: flex; gap: 12px; margin-top: 16px; background: var(--gold-t); color: var(--gold-d); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.aklub-box .ic { color: var(--gold); flex: 0 0 auto; }
.aklub-box strong { display: block; margin-bottom: 2px; }
.cart-empty { text-align: center; padding: 60px 20px; background: var(--soft); border-radius: 18px; }
.cart-empty > .ic { width: 48px; height: 48px; color: var(--line2); }
.cart-empty h2 { margin: 12px 0 6px; }
.cart-empty .btn-blue { display: inline-flex; align-items: center; margin-top: 12px; }
@media (max-width: 1000px) {
  .cart-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-sum { position: static; }
  .cart-row { grid-template-columns: 64px minmax(0, 1fr) auto; row-gap: 10px; }
  .cr-price { display: none; }
  /* the name gets the whole width; − 1 + and the line total go on the row under it */
  .cart-row .cr-img { grid-row: 1 / span 2; align-self: start; }
  .cart-row .cr-info { grid-column: 2 / -1; }
  .cart-row .qty-wrap { grid-column: 2; grid-row: 2; justify-self: start; }
  .cart-row .cr-total { grid-column: 3; grid-row: 2; }
  .cart-group.later .cart-row .cr-price { display: block; grid-column: 2 / -1; text-align: left; }
}
/* checkout (blagajna) – grey page, white boxes, own simple header */
.co-body { background: var(--soft); }
.co-head { background: #fff; border-bottom: 1px solid var(--line); }
.co-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.co-head nav { display: flex; gap: 22px; align-items: center; font-size: 14px; color: var(--ink2); flex-wrap: wrap; }
.co-safe { display: inline-flex; gap: 6px; align-items: center; }
.co-safe .ic { width: 16px; height: 16px; color: #2F7D4F; }
.co-page { padding: 28px 24px 70px; }
.co-page h1 { font-size: 40px; margin-bottom: 20px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.co-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; margin-bottom: 20px; }
.co-box h2 { display: flex; align-items: center; gap: 12px; font-size: 24px; margin-bottom: 16px; }
.co-box h3 { font-size: 16px; margin: 0 0 12px; }
.co-n { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 14px var(--font); }
.co-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; }
.co-fields .wide { grid-column: 1 / -1; }
.co-fields label, .co-note { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink2); }
.co-fields input, .co-note textarea { height: 44px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 12px; font: 15px var(--font); color: var(--ink); background: #fff; }
.co-note textarea { height: auto; padding: 10px 12px; resize: vertical; }
.co-fields input:focus, .co-note textarea:focus { outline: 2px solid var(--blue-t); border-color: var(--blue); }
.co-company summary { cursor: pointer; color: var(--blue); font-size: 14px; margin-bottom: 10px; }
.co-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-err { color: #C0392B; font-size: 13px; font-weight: 500; margin: 4px 0 0; }
.co-alert { background: #FDECEA; color: #8E2A20; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.co-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin: 14px 0 18px; }
.co-card { position: relative; display: flex; flex-direction: column; gap: 6px; border: 1.5px solid var(--line2); border-radius: 14px; padding: 16px 18px; cursor: pointer; background: #fff; }
.co-card input { position: absolute; opacity: 0; }
.co-card strong { font-size: 16px; }
.co-card span { font-size: 14px; color: var(--ink2); }
.co-card em { font-style: normal; font-weight: 600; color: #2F7D4F; font-size: 14px; }
.co-card.on { border-color: var(--blue); background: var(--blue-t); box-shadow: 0 0 0 1px var(--blue); }
.co-card:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.co-pickup { background: var(--cream); border: 1px solid #F1DFAE; border-radius: 14px; padding: 18px; margin-bottom: 16px; color: var(--gold-d); }
.co-pickup h3 { color: #5C4A0B; }
.co-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.co-day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid #E8D9A8; background: #fff; border-radius: 10px; padding: 10px 4px; cursor: pointer; color: var(--ink); }
.co-day input { position: absolute; opacity: 0; }
.co-day strong { font: 700 20px var(--head); }
.co-day small { font-size: 12px; color: var(--ink2); }
.co-day.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.co-day.on small { color: #DCE8F3; }
.co-day.closed { background: #F1F1EE; color: #A3A9B0; cursor: default; text-decoration: line-through; }
.co-day:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.co-slots { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.co-slot { position: relative; border: 1px solid #E8D9A8; background: #fff; border-radius: 999px; padding: 9px 16px; cursor: pointer; color: var(--ink); font-weight: 500; }
.co-slot input { position: absolute; opacity: 0; }
.co-slot.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.co-slot:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.co-ship { background: var(--blue-t); border-radius: 14px; padding: 18px; color: var(--blue-d); }
.co-ship .check { display: flex; gap: 8px; align-items: center; margin: 6px 0; color: var(--ink); }
.co-ship .co-fields { margin-top: 10px; }
.co-pay { display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--line2); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; cursor: pointer; }
.co-pay input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); }
.co-pay small { display: block; color: var(--ink2); font-size: 13px; }
.co-pay.on { border-color: var(--blue); background: var(--blue-t); }
.co-permit { display: flex; gap: 12px; background: var(--cream); border: 1px solid #F1DFAE; color: #5C4A0B; border-radius: 12px; padding: 14px 16px; margin: 16px 0 6px; cursor: pointer; }
.co-permit input, .co-check input { width: 18px; height: 18px; accent-color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.co-check { display: flex; gap: 10px; margin: 12px 0 4px; color: var(--ink2); font-size: 15px; cursor: pointer; }
.co-sum { position: sticky; top: calc(var(--hh) + 16px); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.co-sum h2 { font-size: 24px; margin-bottom: 12px; }
.co-items { list-style: none; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.co-items li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 6px 0; font-size: 14px; }
.co-items .thumb { width: 44px; height: 44px; }
.co-items small { display: block; font-size: 12px; }
.co-items small.pk { color: var(--gold-d); }
.co-items small.dl { color: var(--muted); }
.co-sum dl { margin: 0 0 14px; }
.co-sum dl div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.co-sum dd { margin: 0; font-weight: 600; }
.co-sum .ok { color: #2F7D4F; }
.co-sum .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.co-sum .total dd { font: 700 28px var(--head); }
.co-sum .vat { color: var(--muted); font-size: 13px; }
.center { text-align: center; }
.co-foot { color: var(--muted); font-size: 13px; padding: 20px 0 40px; }
.narrow-co { max-width: 820px; }
.co-done { text-align: center; }
.co-ok { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #EAF5EE; color: #2F7D4F; }
.co-ok .ic { width: 26px; height: 26px; }
.co-done h1 { margin: 10px 0; }
.co-facts div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.co-facts dt { color: var(--muted); }
.co-facts dd { margin: 0; }
.od-ship .od-ship-part { display: block; margin-top: 12px; line-height: 1.55; }
.od-ship .od-ship-lbl { display: block; color: var(--muted); font-size: .86em; margin-bottom: 2px; }
.co-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.co-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.co-table .num { text-align: right; white-space: nowrap; }
.co-table .total td { font: 700 20px var(--head); border-bottom: 0; }
.cart-sum a.btn-blue.wide { display: flex; justify-content: center; align-items: center; }
@media (max-width: 1000px) {
  .co-grid { grid-template-columns: minmax(0, 1fr); }
  .co-sum { position: static; }
  .co-cards, .co-fields { grid-template-columns: minmax(0, 1fr); }
  .co-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .co-head nav span { display: none; }
}

.top-left { display: flex; align-items: center; gap: 8px; }
/* notices at the very top (Administracija → Obvestila v trgovini) */
.shop-notice { font-size: 14px; font-weight: 500; text-align: center; }
.shop-notice .wrap { padding-top: 9px; padding-bottom: 9px; }
.n-red { background: #C0392B; color: #fff; } .n-gold { background: var(--gold-t); color: var(--gold-d); }
.n-blue { background: var(--blue); color: #fff; } .n-green { background: #2F7D4F; color: #fff; }
/* cart side panel */
.drawer-dim { position: fixed; inset: 0; background: rgba(22,33,44,.38); z-index: 950; }   /* above the admin bar (900) */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw; background: #fff; z-index: 951; display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(22,33,44,.18); transform: translateX(100%); transition: transform .2s ease; }
.drawer.open { transform: none; }
.drawer > header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer > header h2 { font-size: 24px; }
.drawer-x { border: 0; background: var(--soft); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-body.loading { opacity: .5; }
.mini-free { margin: 14px 22px 0; background: var(--blue-t); color: var(--blue-d); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.mini-free p { margin: 0 0 6px; }
.mini-free progress { width: 100%; height: 6px; accent-color: var(--blue); }
.mini-free.done { background: #EAF5EE; color: #2F7D4F; }
.mini-items { list-style: none; margin: 0; padding: 6px 22px; flex: 1; }
.mini-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.mini-img { width: 56px; height: 56px; border-radius: 8px; background: var(--soft); overflow: hidden; display: block; }
.mini-img img { width: 100%; height: 100%; object-fit: contain; }
.mini-name { display: block; font-weight: 600; color: var(--ink); font-size: 14px; line-height: 1.3; }
.mini-items small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.mini-items .pk { color: var(--gold-d); }
.mini-right { text-align: right; }
.mini-right .link { border: 0; background: none; padding: 0; margin-top: 6px; font: 500 12px var(--font); color: var(--muted); cursor: pointer; }
.mini-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); background: #fff; }
.mini-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; font-size: 16px; }
.mini-total strong { font: 700 26px var(--head); }
.mini-foot .btn-blue, .mini-foot .btn-line { display: flex; justify-content: center; align-items: center; margin-top: 10px; width: 100%; }
.mini-foot .btn-blue.wide { margin-bottom: 0; }
.mini-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.mini-empty .ic { width: 44px; height: 44px; color: var(--line2); }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }
/* buttons made from links keep their text colour on hover (the general a:hover colour would hide it) */
a.btn-blue, a.btn-blue:hover, a.btn-blue:focus { color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
a.btn-line:hover { color: var(--ink); border-color: var(--blue); }
a.btn-dark:hover, a.btn-white:hover { opacity: .92; }
.co-paytext { background: var(--blue-t); color: var(--blue-d); border-radius: 10px; padding: 12px 16px; font-weight: 600; font-size: 14px; margin: 12px 0 0; }
/* checkout summary: products grouped like in the cart */
.co-grp { border-radius: 12px; margin-bottom: 10px; overflow: hidden; border: 1px solid var(--line); }
.co-grp h4 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; font: 600 13px var(--font); }
.co-grp h4 .ic { width: 16px; height: 16px; }
.co-grp.pk h4 { background: var(--cream); color: var(--gold-d); }
.co-grp.dl h4 { background: var(--blue-t); color: var(--blue-d); }
.co-grp .co-items { margin: 0; padding: 4px 12px; border-bottom: 0; }
.co-grp .co-items li { border-bottom: 1px solid var(--line); }
.co-grp .co-items li:last-child { border-bottom: 0; }
.co-sum .co-grp + dl { margin-top: 14px; }
/* long button texts (e.g. "Oddaj naročilo z obveznostjo plačila") stay centred on two lines */
.btn-blue.big { height: auto; min-height: 50px; padding: 12px 18px; line-height: 1.25; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
.btn-blue.big.wide { display: flex; width: 100%; }

/* mini cart: items grouped like in the checkout (pickup-only / delivery) */
.mini-list { flex: 1; padding: 10px 16px 6px; }
.mini-grp { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.mini-grp h4 { display: flex; align-items: center; gap: 9px; margin: 0; padding: 9px 12px; font: 600 14px var(--font); }
.mini-grp h4 .ic { width: 18px; height: 18px; flex: none; }
.mini-grp h4 span { flex: 1; }
.mini-grp h4 small { display: block; font-weight: 500; font-size: 12px; opacity: .85; margin-top: 1px; }
.mini-grp h4 b { min-width: 22px; height: 22px; border-radius: 11px; background: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.mini-grp.pk h4 { background: var(--cream); color: var(--gold-d); }
.mini-grp.dl h4 { background: var(--blue-t); color: var(--blue-d); }
.mini-grp .mini-items { padding: 0 12px; flex: none; }
.mini-grp .mini-items li:last-child { border-bottom: 0; }

/* product list while new results load (filters without page reload) */
.results { transition: opacity .15s; }
.results.loading { opacity: .45; pointer-events: none; }

/* Scrollbars in the shop's own look (thin, rounded, light gray; blue when held) – page and inner lists alike */
* { scrollbar-width: thin; scrollbar-color: #C5CDD6 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #C5CDD6; border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: #9AA7B4; }
::-webkit-scrollbar-thumb:active { background-color: #2D6594; }
::-webkit-scrollbar-corner { background: transparent; }

/* Product page on phones: brand + name above the picture (so you see what it is first), then picture, facts, price */
@media (max-width: 860px) {
  .pp { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .pp > *, .pp-info > * { width: 100%; min-width: 0; }
  .pp-info { display: contents; }
  .pp-brand { order: -2; margin-bottom: 4px; }
  .pp-info h1 { order: -1; font-size: 24px; margin-bottom: 14px; }
  .pp-gallery { margin-bottom: 18px; }
  .pp-info > *:not(.pp-brand):not(h1) { order: 1; }
}
/* Spec tiles that lead to a list: a small arrow says so; on touch the first tap only shows where it goes */
.spec-tiles a { position: relative; }
.spec-tiles a::after { content: ""; display: inline-block; width: 9px; height: 9px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%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 320 512'%3E%3Cpath d='M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E") center / contain no-repeat; position: absolute; top: 4px; right: 8px; font-size: 14px; line-height: 1; color: var(--muted); }
.spec-tiles a:hover::after { color: var(--blue); }
.tile-tip { position: absolute; z-index: 30; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: #fff;
  border-radius: 10px; padding: 9px 14px; font: 600 13px var(--font); box-shadow: 0 8px 24px rgba(22,33,44,.25); text-decoration: none; }
.tile-tip::before { content: ""; position: absolute; top: -6px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.tile-tip:hover { color: #fff; }

/* Filters on phones: a "Filtri (2)" button opens them as a side panel; "Pokaži 61 izdelkov" closes it */
.f-open, .f-x, .f-foot { display: none; }
@media (max-width: 860px) {
  .f-open { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 999px; background: #fff;
    font: 600 14px var(--font); color: var(--ink); cursor: pointer; }
  .f-open .ic { width: 16px; height: 16px; color: var(--blue); }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); max-height: none; z-index: 70; background: #fff; padding: 16px 18px 0;
    overflow-y: auto; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 0 0 40px rgba(22,33,44,.25); visibility: hidden; }
  .filters.open { transform: none; visibility: visible; }
  .f-x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; margin-left: 10px; }
  .f-x .ic { width: 16px; height: 16px; }
  .f-head { gap: 6px; }
  .f-head h2 { margin-right: auto; }
  .f-foot { display: block; position: sticky; bottom: 0; background: #fff; padding: 12px 0 16px; margin-top: 8px; border-top: 1px solid var(--line); }
  .f-foot .btn-blue { width: 100%; }
  .f-dim { position: fixed; inset: 0; z-index: 69; background: rgba(22,33,44,.45); }
  body.filters-open { overflow: hidden; }
  .results-bar { flex-wrap: wrap; }
}

/* ---------- Promotions (Akcije) ---------- */
:root { --sale: #C8362B; }
.pill.sale { left: auto; right: 10px; background: var(--sale); color: #fff; }
.pill.sale.inline, .pp-badges .pill.sale { position: static; display: inline-block; }
.price.is-sale strong, .is-sale > strong { color: var(--sale); }
.price s, .is-sale s, .cr-price s { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.ptable .is-sale s { display: inline; }
.sale-end { display: block; color: var(--sale); font-weight: 600; font-size: 12px; margin-top: 2px; }

/* the special promotion card inside product lists */
.promo-card { background: linear-gradient(160deg, #16212C 0%, #1F3A55 55%, #2D6594 100%); border: 0; color: #fff; padding: 14px; gap: 6px; position: relative; overflow: hidden; }
.promo-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(191,158,34,.35), rgba(191,158,34,0) 70%); pointer-events: none; }
.promo-card:hover { box-shadow: 0 14px 34px rgba(22,33,44,.35); }
.pc-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.pc-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #16212C; border-radius: 999px; padding: 4px 12px; font: 700 12px var(--font); text-transform: uppercase; letter-spacing: .06em; }
.pc-tag .ic { width: 12px; height: 12px; }
.pc-pct { font: 800 30px var(--head); color: var(--gold); line-height: 1; }
.pc-img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; border-radius: 10px; overflow: hidden; margin: 4px 0; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; }
.pc-img .noimg { color: #C5CDD6; }
.promo-card .brand { color: #AFC3D6; margin: 0; }
.promo-card .brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.promo-card .card-rate { color: #fff; }
.promo-card .card-rate small { color: #AFC3D6; }
.promo-card .card-rate:hover { color: var(--gold); }
.promo-card h3 { font-size: 15px; line-height: 1.35; margin: 0; }
.promo-card h3 a { color: #fff; }
.promo-card h3 a:hover { color: var(--gold); }
.pc-count { background: rgba(255,255,255,.08); border-radius: 10px; padding: 8px 10px; margin: 4px 0; }
.pc-count p { margin: 0 0 6px; font-size: 12px; color: #C9D6E2; text-transform: uppercase; letter-spacing: .06em; }
.pc-count > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pc-count span, .ppp-count span { background: #fff; color: #16212C; border-radius: 8px; padding: 5px 0 3px; text-align: center; display: grid; }
.pc-count b, .ppp-count b { font: 800 20px var(--head); line-height: 1.05; font-variant-numeric: tabular-nums; }
.pc-count small { font-size: 10px; color: var(--muted); text-transform: uppercase; }
.pc-left { color: var(--gold); }
.pc-price { display: flex; align-items: baseline; gap: 10px; }
.pc-price s { color: #AFC3D6; font-size: 15px; }
.pc-price strong { font: 800 28px var(--head); color: #fff; }
.pc-small { margin: 0; font-size: 12px; color: #C9D6E2; }
.pc-btn { margin-top: 6px; width: 100%; height: 44px; border: 0; border-radius: 10px; background: var(--gold); color: #16212C; font: 700 15px var(--font); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pc-btn:hover { background: #D4B232; color: #16212C; }
.pc-btn .ic { width: 18px; height: 18px; }
.promo-card form { margin: 0; }
.cd-over { opacity: .6; }

/* product page: promotion box above the price */
.pp-promo { background: linear-gradient(135deg, #16212C, #2D6594); color: #fff; border-radius: 14px; padding: 14px 18px; margin-bottom: 14px; }
.ppp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ppp-count { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.ppp-count span { min-width: 44px; padding: 4px 6px 2px; }
.ppp-count b { font-size: 18px; }
.ppp-count small { font-size: 10px; color: var(--muted); }
.ppp-low { margin: 10px 0 0; font-size: 13px; color: #C9D6E2; }
.ppp-low s { color: #fff; }
.bb-price.sale { color: var(--sale); }
.pc-img, .promo-card > * { position: relative; z-index: 1; }
@media (max-width: 860px) { .nav-extra { padding-left: 18px; gap: 16px; } }

/* ---------- Customer account: Prijava, Moj račun ---------- */
.acc-login { padding-top: 40px; padding-bottom: 70px; }
.acc-card { max-width: 460px; margin: 0 auto; padding: 34px 34px 28px; text-align: left; }
.acc-card h1 { font-size: 34px; margin: 10px 0 8px; }
.acc-ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue-t); color: var(--blue); }
.acc-ic .ic { width: 24px; height: 24px; }
.acc-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.acc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink2); }
.acc-form input[type=email], .acc-form input[type=password], .acc-form input:not([type]) { height: 48px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 14px; font: 16px var(--font); color: var(--ink); }
.acc-form input:focus { outline: 2px solid var(--blue-t); border-color: var(--blue); }
.acc-code { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-weight: 700 !important; }
.acc-form .btn-blue.wide { margin: 0; }
.btn-line.wide { width: 100%; height: 44px; margin-top: 10px; }
.acc-pass summary { cursor: pointer; color: var(--blue); font-size: 14px; font-weight: 500; }
.acc-pass[open] summary { margin-bottom: 10px; }
.acc-pass label { margin-top: 4px; }
.acc-alt { margin: 2px 0 0; text-align: center; font-size: 14px; }
.acc-again { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.acc-again .muted { width: 100%; }
.linkish { border: 0; background: none; color: var(--blue); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
.acc-why { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--ink2); }
.acc-why li { display: flex; gap: 10px; align-items: center; }
.acc-why .ic { color: var(--gold); }
.acc-ok { background: #EAF5EE; color: #1F5C38; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 12px 0; }
.acc-page { padding-top: 28px; padding-bottom: 70px; max-width: 980px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.acc-head p { margin: 0 0 2px; }
.acc-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.acc-tabs a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; color: var(--ink2); font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.acc-tabs a.on { color: var(--blue); border-bottom-color: var(--blue); }
.acc-tabs .ic { width: 18px; height: 18px; }
.acc-orders { list-style: none; margin: 0; padding: 0; }
.acc-orders li a { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto 110px; gap: 14px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--ink); }
.acc-orders li:last-child a { border-bottom: 0; }
.acc-orders li a:hover { background: var(--soft); }
.ao-no { display: flex; flex-direction: column; }
.ao-sum { text-align: right; }
.acc-st { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.acc-st.wait { background: var(--gold-t); color: var(--gold-d); }
.acc-st.go { background: var(--blue-t); color: var(--blue); }
.acc-st.ok { background: #EAF5EE; color: var(--green); }
.acc-st.off { background: #FDF0E4; color: #A8561C; }   /* Preklicano: soft orange – noticeable, not alarming */
.acc-ord-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc-reorder { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.acc-reorder .btn-blue { display: inline-flex; gap: 8px; align-items: center; }
.acc-empty .btn-blue { display: inline-block; margin-top: 8px; }
.acc-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.acc-danger ul { margin: 4px 0 14px; padding-left: 20px; }
.btn-line.danger { color: var(--red); border-color: #EBC1BC; }
.btn-blue.danger { background: var(--red); }
.btn-blue.danger:hover { background: #9E2E23; }
.acc-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.acc-cta p { margin: 4px 0 0; }
.co-acc { margin: -10px 0 18px; }
.hi.in span { color: var(--blue); font-weight: 600; }
@media (max-width: 700px) {
  .acc-card { padding: 26px 20px; }
  .acc-orders li a { grid-template-columns: minmax(0, 1fr) auto; }
  .ao-how { grid-column: 1 / -1; order: 3; }
  .acc-head { align-items: center; }
  .acc-head h1 { font-size: 30px; }
}
/* phones: logo, menu, account and cart stay in one row; the search goes under it */
@media (max-width: 520px) {
  .head-row { gap: 8px; }
  .head-icons { margin-left: auto; gap: 4px; }
  .head-icons .hi.acc { display: inline-flex; }
  .head-icons .hi.acc span { display: none; }
  .btn-cat { font-size: 0; gap: 0; padding: 0 12px; }
  .btn-cat .ic { width: 22px; height: 22px; }
  .cart-box { padding: 8px 10px; }
  .cart-box span { display: none; }
  .logo img { width: 112px; }
  .acc-orders li a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "no sum" "st st" "how how"; gap: 6px 10px; }
  .ao-no { grid-area: no; } .ao-sum { grid-area: sum; } .acc-orders .acc-st { grid-area: st; justify-self: start; } .ao-how { grid-area: how; }
  .acc-tabs a { padding: 10px 10px; }
}

/* ---------- Želje and Primerjaj ---------- */
.card { position: relative; }
.card-acts { position: absolute; top: 18px; right: 18px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.card-acts form { margin: 0; }
.ca { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--ink2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ca .ic { width: 17px; height: 17px; }
.ca:hover { border-color: var(--blue); color: var(--blue); }
.ca.on { color: #fff; background: var(--blue); border-color: var(--blue); }
form[data-list="wish"] .ca.on { background: var(--red); border-color: var(--red); }
@media (hover: hover) { .card-acts .ca:not(.on) { opacity: 0; transition: opacity .15s; } .card:hover .card-acts .ca, .card:focus-within .card-acts .ca { opacity: 1; } }
.hi { position: relative; }
.hi-n { position: absolute; top: -4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: #fff; font: 700 10px/18px var(--font); text-align: center; padding: 0 4px; }
.pp-lists { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 16px; /* same gap above (buy box) and below (pickup box) */ }
.pp-lists form { margin: 0; }
.pl { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: #fff; color: var(--ink2); border-radius: 10px; padding: 9px 14px; font: 500 14px var(--font); cursor: pointer; }
.pl:hover { border-color: var(--blue); color: var(--blue); }
.pl.on { border-color: var(--blue); color: var(--blue); background: var(--blue-t); }
form[data-list="wish"] .pl.on { color: var(--red); border-color: #EBC1BC; background: #FDF1F0; }
.list-page { padding-top: 18px; padding-bottom: 70px; }
.lp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 8px 0 20px; }
.lp-n { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .5em; margin-left: 8px; border-radius: 999px; background: var(--blue); color: #fff; font: 700 max(14px, .5em)/1 var(--head); vertical-align: .35em; }
h2 .lp-n { font-size: max(14px, .65em); min-width: 1.75em; height: 1.75em; vertical-align: .2em; }
.lp-tools { display: flex; gap: 14px; align-items: center; }
.lp-empty { max-width: 560px; margin: 10px auto; text-align: center; }
.lp-empty h2 { margin: 12px 0 8px; }
.lp-empty .btn-blue { display: inline-block; margin-top: 8px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cmp { border-collapse: collapse; width: 100%; min-width: 640px; table-layout: fixed; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.cmp tbody th { width: 180px; color: var(--muted); font-weight: 500; background: var(--soft); position: sticky; left: 0; }
.cmp thead th { width: 180px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp-prod { position: relative; }
.cmp-x { position: absolute; top: 8px; right: 8px; margin: 0; }
.cmp-x button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.cmp-x button:hover { color: var(--red); border-color: var(--red); }
.cmp-x .ic { width: 14px; height: 14px; }
.cmp-img { display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 150px; background: var(--soft); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.cmp-img img { width: 100%; height: 100%; object-fit: contain; }
.cmp-name { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; min-height: 2.7em; }
.cmp-price { margin: 8px 0 10px; font-size: 18px; }
.cmp-price.sale strong { color: var(--sale); }
.cmp-price s { color: var(--muted); font-size: 14px; }
.cmp-prod .btn-blue { display: inline-flex; gap: 6px; align-items: center; padding: 9px 14px; font-size: 14px; }
.cmp-prod form[data-add-cart] { margin: 0; }
.cmp.diff tr.same { display: none; }

/* ---------- Obvesti me, Aklub in Moj račun ---------- */
.bb-alert { border: 1px dashed var(--line2); border-radius: 12px; padding: 14px 16px; background: var(--soft); }
.bb-alert-t { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.bb-alert-row { display: flex; gap: 8px; flex-wrap: wrap; }
.bb-alert-row input { flex: 1 1 220px; height: 44px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 12px; font: 15px var(--font); }
.bb-alert .muted { margin: 8px 0 0; }
.bb-alert-ok { display: flex; gap: 8px; align-items: center; background: #EAF5EE; color: #1F5C38; border-radius: 12px; padding: 12px 14px; margin: 0; }
.btn-gold { border: 0; background: var(--gold); color: #fff; border-radius: 10px; padding: 12px 22px; font: 600 16px var(--font); cursor: pointer; }
.btn-gold:hover { background: var(--gold-d); }
.btn-gold.big { min-height: 50px; padding: 12px 26px; }
.acc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-left: 2px; }
.ak-card { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 28px; margin-bottom: 20px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #3A3524 0%, #16212C 55%, #0F1820 100%); box-shadow: 0 18px 40px rgba(22,33,44,.18); }
.ak-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(191,158,34,.35); }
.ak-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ak-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #fff; border-radius: 999px; padding: 5px 12px; font-weight: 700; letter-spacing: .03em; }
.ak-badge .ic { width: 16px; height: 16px; }
.ak-valid { color: #E9DDAE; font-size: 14px; }
.ak-name { font: 700 30px var(--head); margin: 22px 0 2px; }
.ak-since { margin: 0; color: #B9C1C9; font-size: 14px; }
.ak-saved { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.ak-saved div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px; }
.ak-saved small { display: block; color: #B9C1C9; font-size: 12px; }
.ak-saved strong { font: 700 24px var(--head); color: #F1DE93; }
.ak-bar { height: 14px; background: var(--soft); border-radius: 999px; overflow: hidden; margin: 16px 0 8px; }
.ak-fill { display: block; height: 100%; width: 2%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), #E2C65A); transition: width .6s ease; }
.ak-nums { display: flex; gap: 8px; align-items: baseline; }
.ak-nums strong { font: 700 26px var(--head); }
.ak-note { background: var(--gold-t); color: var(--gold-d); border-radius: 10px; padding: 10px 14px; margin: 14px 0 8px; }
.ak-note.ok { background: #EAF5EE; color: #1F5C38; display: flex; gap: 8px; align-items: center; }
.ak-perks { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 12px; }
.ak-perks li { display: flex; gap: 12px; align-items: flex-start; }
.ak-perks .ic { color: var(--gold); flex: none; margin-top: 2px; }
.ak-join { border-radius: 20px; padding: 32px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #3A3524 0%, #16212C 60%); }
.ak-join h2 { color: #fff; font-size: 34px; margin: 14px 0 8px; }
.ak-join p { color: #D5DBE0; max-width: 620px; }
.ak-perks.light { margin: 18px 0 22px; color: #fff; }
.ak-fine { font-size: 13px; margin-top: 14px; }
.ak-fine a { color: #F1DE93; }
.acc-danger details summary { cursor: pointer; color: var(--muted); }
@media (max-width: 600px) { .ak-saved { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ak-saved div:last-child { grid-column: 1 / -1; } .ak-name { font-size: 24px; } }
.acc-ship-same { display: flex; gap: 8px; align-items: center; color: var(--green); margin: 0 0 12px; }
.acc-ship { margin: 0 0 14px; }
.acc-ship summary { list-style: none; display: inline-flex; margin-bottom: 12px; }
.acc-ship summary::-webkit-details-marker { display: none; }
.acc-ship[open] summary { border-color: var(--blue); color: var(--blue); }
/* Moj račun – naročila */
.acc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.acc-stats div { background: var(--soft); border-radius: 14px; padding: 14px 18px; }
.acc-stats small { display: block; color: var(--muted); font-size: 13px; }
.acc-stats strong { font: 700 26px var(--head); }
.ord-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ord-link { display: block; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ord-link:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(22,33,44,.07); color: var(--ink); }
.ord-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ord-head > div { display: flex; flex-direction: column; gap: 2px; }
.ord-no { font: 700 20px var(--head); }
.ord-head h2 { font-size: 28px; }
.ord-body { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 14px 0 6px; }
.ord-pics { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ord-pic { flex: none; width: 56px; height: 56px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; overflow: hidden; color: var(--line2); font: 700 22px var(--head); border: 1px solid var(--line); }
.ord-pic img { width: 100%; height: 100%; object-fit: contain; }
.ord-pic.more { font: 600 14px var(--font); color: var(--muted); }
.ord-names { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 360px; }
.ord-sum { text-align: right; display: flex; flex-direction: column; }
.ord-sum strong { font: 700 22px var(--head); }
.acc-st.big { font-size: 14px; padding: 6px 14px; }
.ostep { list-style: none; display: flex; margin: 14px 0 0; padding: 0; counter-reset: s; }
.ostep li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; color: var(--muted); }
.ostep li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.ostep li:first-child::before { display: none; }
.ostep li.done::before, .ostep li.next::before { background: var(--blue); }
.ostep li.next::before { background: linear-gradient(90deg, var(--blue), var(--line)); }
.ostep .dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; }
.ostep .dot .ic { width: 13px; height: 13px; }
.ostep li.done .dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.ostep li.next .dot { border-color: var(--blue); }
.ostep li.done .lbl, .ostep li.next .lbl { color: var(--ink); font-weight: 600; }
.ostep.cancelled li.done .dot { background: var(--muted); border-color: var(--muted); }
.ostep.cancelled li::before { background: var(--line2); }
.acc-back { margin: 0 0 12px; }
.ord-top .ostep { margin-top: 22px; }
.ord-track { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; background: var(--blue-t); border-radius: 10px; padding: 10px 14px; }
.ord-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.ord-grid h3 { display: flex; gap: 8px; align-items: center; font-size: 16px; margin: 0 0 12px; }
.ord-items { list-style: none; margin: 0; padding: 0; }
.ord-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ord-items .oi-name > a { color: var(--ink); }
.ord-items .oi-name > a:hover { color: var(--blue); text-decoration: underline; }
a.ord-pic:hover { border-color: var(--blue); }
.oi-name { display: flex; flex-direction: column; gap: 2px; font-weight: 500; }
.ord-side .co-box { padding: 18px 20px; margin-bottom: 14px; }
.ord-side p { margin: 0 0 6px; }
.ord-dl { margin: 0; }
.ord-dl div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.ord-dl dd { margin: 0; }
.ord-dl .ok dd, .ord-dl .ok dt { color: var(--green); }
.ord-dl .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 16px; }
.center { text-align: center; }
@media (max-width: 860px) { .ord-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .acc-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .acc-stats div:last-child { grid-column: 1 / -1; }
  .ord-body { flex-direction: column; align-items: flex-start; } .ord-sum { text-align: left; flex-direction: row; gap: 10px; align-items: baseline; }
  .ord-names { display: none; } .ostep li { font-size: 11px; }
}
/* Info pages with the side menu */
.info-wrap { display: grid; grid-template-columns: 250px minmax(0, 820px); grid-template-areas: "side main"; gap: 40px; padding-top: 10px; padding-bottom: 60px; }
.info-main { grid-area: main; min-width: 0; }
.info-side { grid-area: side; align-self: start; position: sticky; top: calc(var(--hh) + 20px); margin-top: 44px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 12px; background: #fff; }
.info-side { padding: 10px; }
.info-side .is-group + .is-group { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.info-side h2 { font: 700 12px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 0 0 6px;
  background: var(--soft); border-left: 3px solid var(--line2); border-radius: 8px; padding: 8px 10px; }
.info-side .here h2 { background: var(--gold-t); border-left-color: var(--gold); color: var(--gold-d); }
.info-side ul { list-style: none; margin: 0; padding: 0; }
.info-side a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink2); font-size: 15px; border-left: 3px solid transparent; }
.info-side a:hover { background: var(--soft); color: var(--blue); }
.info-side a.on { background: var(--blue-t); color: var(--blue); font-weight: 600; border-left-color: var(--blue); }
@media (max-width: 860px) {
  .info-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side"; gap: 24px; }
  .info-side { position: static; margin-top: 0; }
}
/* Aklub – izstop */
.ak-leave { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 20px; overflow: hidden; }
.ak-leave summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; }
.ak-leave summary::-webkit-details-marker { display: none; }
.ak-leave summary:hover { background: var(--soft); }
.ak-leave summary > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.ak-leave summary small { color: var(--muted); font-size: 13px; }
.ak-leave-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--muted); display: grid; place-items: center; flex: none; }
.ak-leave-arrow { font-size: 24px; color: var(--muted); transition: transform .2s; }
.ak-leave[open] .ak-leave-arrow { transform: rotate(90deg); }
.ak-leave-body { padding: 4px 20px 20px; border-top: 1px solid var(--line); }
.ak-leave-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 16px 0 12px; }
.ak-leave-cols > div { border-radius: 12px; padding: 12px 14px; }
.ak-lose { background: #FDF1F0; }
.ak-keep { background: #EAF5EE; }
.ak-h { margin: 0 0 6px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink2); }
.ak-leave-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.ak-leave-cols li { display: flex; gap: 8px; align-items: center; }
.ak-leave-cols .ic { width: 16px; height: 16px; flex: none; }
.ak-lose .ic { color: var(--red); }
.ak-keep .ic { color: var(--green); }
.ak-leave-note { color: var(--gold-d); background: var(--gold-t); border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 0 0 12px; }
.ak-sure { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; margin: 4px 0 14px; }
.ak-sure input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.ak-leave-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ak-leave-btns .btn-line.danger { padding: 12px 18px; font-size: 14px; }
@media (max-width: 600px) { .ak-leave-cols { grid-template-columns: minmax(0, 1fr); } }

/* filters: count under a switch label */
.f-switch .f-note { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 1px; }

/* Aklub price for members (cards + product page) */
.price .ak-line { display: flex; align-items: center; gap: 4px; color: var(--gold-d); font-weight: 600; margin-top: 2px; }
.price .ak-line svg, .ak-tag svg, .bb-aktag svg { width: 12px; height: 12px; color: var(--gold); }
.price.is-aklub .ak-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--gold-d); background: var(--gold-t); border-radius: 999px; padding: 2px 8px; margin-bottom: 4px; }
.price.is-aklub strong { color: var(--ink); }
.bb-aktag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gold-d); background: var(--gold-t); border-radius: 999px; padding: 4px 10px; margin-bottom: 8px; }
.bb-regular { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.ptable .ak-line, .ptable .ak-own { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.ptable .ak-line { color: var(--gold-d); font-weight: 600; font-size: 12px; }
.ptable .ak-own svg, .ptable .ak-line svg { width: 12px; height: 12px; color: var(--gold); }

/* ---------- compact sticky header (after scrolling down) ---------- */
.hi-search { display: none; border: 0; background: none; font: inherit; cursor: pointer; }
.header.mini { box-shadow: 0 6px 18px rgba(22, 33, 44, .08); }
.header.mini .head-row { height: 64px; position: relative; flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
.header.mini .logo img { width: 118px; }
.header.mini .btn-cat { height: 40px; font-size: 15px; padding: 0 16px; }
.header.mini .mainnav { display: none; }
.header.mini .search { flex: 1; max-width: 560px; margin: 0 auto; padding: 2px 2px 2px 16px; }
.header.mini .search input { height: 34px; font-size: 14px; }
.header.mini .search > button { width: 34px; height: 34px; }
.header.mini .search > button .ic { width: 16px; height: 16px; }
@media (max-width: 860px) {   /* no room in the row: a search icon that opens the field under the bar */
  .header.mini .search { display: none; }
  .header.mini .hi-search { display: flex; }
  .header.mini.search-on .search { display: flex; max-width: none; margin: 0; padding: 4px 4px 4px 20px; }
}
.header.mini .head-icons { margin-left: auto; }
.header.mini .hi { position: relative; padding: 8px 10px; border-radius: 10px; }
.header.mini .hi:hover, .header.mini .hi-search[aria-expanded="true"] { background: var(--soft); color: var(--blue); }
.header.mini .hi span { display: none; }
.header.mini .hi .ic { width: 22px; height: 22px; }
.header.mini .cart-box { padding: 8px 12px; position: relative; }
.header.mini .cart-box span { display: none; }
.header.mini.search-on .search { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(720px, calc(100% - 32px)); background: #fff; border-color: var(--blue); box-shadow: 0 14px 34px rgba(22, 33, 44, .18); animation: mega-in .16s ease-out; }
@media (max-width: 520px) {
  .header.mini .head-row { height: 56px; }
  .header.mini .logo img { width: 96px; }
  .header.mini .btn-cat { font-size: 0; gap: 0; padding: 0 11px; height: 40px; }
  .header.mini .hi { padding: 6px; }
  html.hd-mini { --hh: 58px; }
}
@media (prefers-reduced-motion: reduce) { .header.mini.search-on .search { animation: none; } }
.price .ak-reg { display: block; margin-top: 3px; padding-top: 3px; border-top: 1px dashed var(--line); }
@media (max-width: 520px) { .spec-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bb-blocked { display: flex; gap: 12px; align-items: center; background: var(--cream); border: 1px solid var(--gold-t); border-radius: 12px; padding: 14px 16px; color: var(--gold-d); }
.bb-blocked .ic { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; }
.bb-blocked p { margin: 4px 0 0; color: var(--ink2); font-size: 14px; }
.ship-prices { margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.ship-prices h2 { margin: 0 0 6px; font-size: 22px; }
.ship-ptable { width: 100%; border-collapse: collapse; margin: 10px 0; }
.ship-ptable td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ship-ptable td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ship-ptable td.num { text-align: right; white-space: nowrap; padding-left: 16px; }
/* country selects in the design language (same as the text fields) */
.co-fields select, .co-shipto select, .acc-card select { height: 44px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 36px 0 12px; font: 15px var(--font); color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B6672' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none; appearance: none; cursor: pointer; }
.co-fields select:focus, .co-shipto select:focus, .acc-card select:focus { outline: 2px solid var(--blue-t); border-color: var(--blue); }
.co-shipto select { height: 38px; font-weight: 600; }
/* Aklub: consent and offers switch */
.ak-joinform { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ak-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; max-width: 560px; }
.ak-consent input { margin-top: 3px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--gold); }
.ak-offers { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.ak-offers p { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--ink2); }
.ak-offers .ic { width: 16px; height: 16px; color: var(--green, #2F7D4F); }
.wish-alert { display: flex; align-items: center; gap: 14px; background: var(--blue-t); border-radius: 14px; padding: 14px 18px; margin: 0 0 20px; }
.wish-alert > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.wish-alert small { color: var(--ink2); font-size: 13px; }
.wish-alert .wa-ic .ic { width: 22px; height: 22px; color: var(--blue); }
.wish-alert .wa-on { display: inline-flex; gap: 6px; align-items: center; color: var(--green, #2F7D4F); font-weight: 600; }
.wish-alert .wa-on .ic { width: 16px; height: 16px; }
@media (max-width: 600px) { .wish-alert { flex-wrap: wrap; } }
.ak-store { display: flex; gap: 8px; align-items: flex-start; background: rgba(255,255,255,.12); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 16px 0 12px; }
.ak-store .ic { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; }
p.ak-offers { justify-content: flex-start; gap: 6px; font-size: 14px; color: var(--ink2); }
/* the bell */
.hi.bell .ic { color: var(--gold); }
.acc-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 0 5px; margin-left: 4px; }
.nt-list { display: grid; gap: 12px; margin-bottom: 12px; }
.nt { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.nt.new { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-t); }
.nt-img { width: 72px; height: 72px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.nt-img img { width: 100%; height: 100%; object-fit: contain; }
.nt-txt p { margin: 0 0 4px; font-size: 14px; color: var(--ink2); }
.nt-h { font: 700 17px var(--head) !important; color: var(--ink) !important; }
.nt-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nt-meta .ic { width: 14px; height: 14px; }
.nt-act { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.nt-act .btn-blue { display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
.nt-act .ic { width: 16px; height: 16px; }
@media (max-width: 640px) { .nt { grid-template-columns: 56px minmax(0, 1fr); } .nt-img { width: 56px; height: 56px; } .nt-act { grid-column: 1 / -1; flex-direction: row; } }
.for-you .fy-cals { font: 600 15px var(--font); color: var(--gold-d); background: var(--gold-t); border-radius: 999px; padding: 3px 12px; margin-left: 8px; vertical-align: middle; }
/* ---------- reviews ---------- */
.stars { position: relative; display: inline-block; width: 86px; height: 16px; vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.2' height='16' viewBox='0 0 24 23'%3E%3Cpath d='M12 1l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.1 5.6 20.6 7 13.5 1.7 8.5l7.2-.9z' fill='%23D9DDE2'/%3E%3C/svg%3E") repeat-x left center / 17.2px 16px; }
.stars .fill { position: absolute; left: 0; top: 0; bottom: 0; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.2' height='16' viewBox='0 0 24 23'%3E%3Cpath d='M12 1l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.1 5.6 20.6 7 13.5 1.7 8.5l7.2-.9z' fill='%23BF9E22'/%3E%3C/svg%3E") repeat-x left center / 17.2px 16px; }
.pp-stars { display: inline-flex; gap: 6px; align-items: center; margin: -4px 0 12px; color: var(--ink); font-size: 14px; }
.pp-reviews { grid-column: 1 / -1; }
.pp-reviews h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-avg { font: 600 16px var(--font); color: var(--ink2); display: inline-flex; gap: 6px; align-items: center; }
.rv { border-top: 1px solid var(--line); padding: 14px 0; }
.rv header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.rv-snap { display: grid; gap: 4px; max-width: 420px; margin: 4px 0 16px; }
.rv-snap-row { display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: 10px; padding: 4px 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; font: 500 14px var(--font); color: var(--ink2); cursor: pointer; text-align: left; }
.rv-snap-row:hover:not(:disabled), .rv-snap-row[aria-pressed="true"] { background: var(--soft); border-color: var(--line); color: var(--ink); }
.rv-snap-row:disabled { cursor: default; opacity: .55; }
.rv-snap-k { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.rv-snap-k .ic { width: 13px; height: 13px; color: var(--gold); fill: currentColor; }
.rv-snap-bar { height: 8px; border-radius: 4px; background: #E8ECF0; overflow: hidden; }
.rv-snap-bar .fill { display: block; height: 100%; background: var(--gold); border-radius: 4px; }
.rv-snap-n { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.rv-snap-all { justify-self: start; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--blue); font: 500 13px var(--font); cursor: pointer; padding: 2px 8px; }
.rv-ok { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; color: var(--green, #2F7D4F); font-weight: 600; }
.rv-ok .ic { width: 12px; height: 12px; }
.rv p { margin: 0 0 6px; }
.rv-reply { background: var(--soft); border-left: 3px solid var(--blue); border-radius: 8px; padding: 8px 12px; font-size: 14px; }
.rv-form { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.rv-form summary { cursor: pointer; font-weight: 600; color: var(--blue); }
.rv-form form { display: grid; gap: 12px; margin-top: 12px; }
.rv-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.rv-form textarea, .rv-form input[type=text], .rv-form input:not([type]) { border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; font: 15px var(--font); }
.rv-rate { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv-rate legend { width: 100%; font-size: 14px; font-weight: 500; margin-bottom: 4px; float: left; }
.rv-rate input { position: absolute; opacity: 0; pointer-events: none; }
.rv-rate label { font-size: 30px; color: #D9DDE2; cursor: pointer; line-height: 1; }
.rv-rate input:checked ~ label, .rv-rate label:hover, .rv-rate label:hover ~ label { color: var(--gold); }
.rv-rate input:focus-visible + label { outline: 3px solid var(--gold); border-radius: 4px; }
.rv-rate-l { margin: 0 0 -8px; font-size: 14px; font-weight: 500; }
.rv-form button[type=submit] { justify-self: start; padding-left: 28px; padding-right: 28px; }
/* B2B – dealer prices */
.price.is-dealer { display: flex; flex-direction: column; }
.price.is-dealer .dl-tag, .bb-aktag.dl { display: inline-flex; align-self: flex-start; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #fff; background: var(--blue, #2D6594); border-radius: 999px; padding: 2px 8px; margin-bottom: 4px; }
.bb-aktag.dl { font-size: 13px; padding: 4px 10px; margin-bottom: 8px; }
.price.is-dealer strong { color: var(--ink); }
.dealer-bar { background: #EAF1F7; color: #1F4A6E; font-size: 13px; padding: 6px 0; text-align: center; }
.dealer-bar strong { font-weight: 700; }
.ptable .pt-dealer strong { display: block; }
.ptable .pt-dealer small { display: block; }
.ptable .pt-buy { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.ptable .pt-buy input { width: 64px; padding: 8px; border: 1px solid var(--line2, #D5DAE0); border-radius: 8px; font: inherit; text-align: center; }
.cr-total small { display: block; font-size: 12px; }
.cr-price .pill.inline { white-space: nowrap; }
.co-store { margin-bottom: 6px; }
/* B2B – documents and quick order */
.b2b-head { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.b2b-head h2 { margin: 0 0 4px; }
.b2b-sum { text-align: right; display: flex; flex-direction: column; }
.b2b-sum strong { font: 700 24px var(--head); }
.b2b-sum small { color: var(--muted); font-size: 12px; }
.b2b-tbl-wrap { overflow-x: auto; }
.b2b-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.b2b-tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.b2b-tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.b2b-tbl .num { text-align: right; white-space: nowrap; }
.b2b-qty { width: 76px; height: 38px; border: 1px solid var(--line2); border-radius: 8px; text-align: center; font: 15px var(--font); }
.b2b-act { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.b2b-act p { margin: 0; }
.qo-code { width: 130px; height: 38px; border: 1px solid var(--line2); border-radius: 8px; padding: 0 10px; font: 15px var(--font); text-transform: uppercase; }
.qo-tbl tr.qo-ok .qo-code { border-color: #2F7D4F; background: #F3FAF5; }
.qo-tbl tr.qo-bad .qo-code { border-color: #B42318; background: #FDF3F2; }
.qo-tbl tr.qo-bad .qo-name { color: #B42318; }
.qo-name small { color: var(--muted); }
.qo-price { white-space: nowrap; }
.qo-paste { margin: 8px 0 0; }
.qo-paste summary { cursor: pointer; color: var(--blue); font-size: 14px; }
.qo-paste textarea { width: 100%; margin-top: 8px; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; font: 14px/1.5 ui-monospace, monospace; }
@media (max-width: 640px) { .b2b-head { flex-direction: column; } .b2b-sum { text-align: left; } .qo-code { width: 100px; } }
.dealer-bar a { color: inherit; font-weight: 600; }
.co-company-card { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; background: #EAF1F7; color: #1F4A6E; }
.co-company-card small { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.co-company-card strong { font: 700 18px var(--head); color: var(--ink); }
.co-company-card span { font-size: 13px; }
.co-saved span { display: inline; }
.adr-list { display: grid; gap: 10px; margin: 10px 0 14px; }
.adr { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.adr.is-def { border-color: var(--blue); background: #F5F9FC; }
.adr.is-new, .adr:has(.adr-form) { display: block; }
.adr-txt { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.adr-def { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue); background: #E3EEF7; border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.adr-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.adr-act form { margin: 0; }
.btn-line.danger { color: #B42318; border-color: #F1C7C2; }
.dl-co { display: grid; gap: 6px; margin: 10px 0 14px; }
.dl-co > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.dl-co dt { color: var(--muted); }
.dl-co dd { margin: 0; }
.co-change summary { display: inline-flex; cursor: pointer; list-style: none; margin-bottom: 10px; }
.co-change summary::-webkit-details-marker { display: none; }
@media (max-width: 640px) { .adr { flex-direction: column; align-items: flex-start; } .dl-co > div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
/* confirm dialog (before deleting) */
.sh-modal { border: 0; border-radius: 16px; padding: 0; max-width: 440px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(16,24,40,.25); }
.sh-modal::backdrop { background: rgba(16,24,40,.45); }
.sh-modal .sm-in { padding: 22px 22px 18px; }
.sh-modal h3 { margin: 0 0 8px; font: 700 20px var(--head); }
.sh-modal p { margin: 0 0 18px; color: var(--ink2); font-size: 15px; line-height: 1.5; }
.sh-modal .sm-act { display: flex; gap: 8px; justify-content: flex-end; }
.sh-modal .sm-ok { background: #B42318; color: #fff; border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 600; cursor: pointer; }
.adr-txt .adr-def { align-self: flex-start; margin: 2px 0; }
.co-fields textarea { border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; font: 15px/1.5 var(--font); color: var(--ink); background: #fff; resize: vertical; }
.co-fields textarea:focus { outline: 2px solid var(--blue-t); border-color: var(--blue); }
.qo-paste textarea { font: 15px/1.6 var(--font); }
.qo-ex { margin: 6px 0 8px; padding: 8px 12px; background: #F4F5F7; border-radius: 8px; font: 14px/1.5 var(--font); color: var(--ink2); white-space: pre; display: inline-block; }
.qo-tbl td:first-child { position: relative; }
.qo-sug { position: absolute; z-index: 30; left: 10px; top: 100%; margin: 2px 0 0; padding: 4px; list-style: none; width: 520px; max-width: 80vw; background: #fff; border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 12px 30px rgba(16,24,40,.14); }
.qo-sug li { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.qo-sug li.on, .qo-sug li:hover { background: #EAF1F7; }
.qo-sug li b { font-weight: 700; }
.qo-sug li em { font-style: normal; color: var(--muted); font-size: 13px; white-space: nowrap; }
.qo-sug li.out { opacity: .55; }

/* price column: label above, amount on one line (never under the quantity box) */
.cr-price strong, .cr-total strong { display: block; white-space: nowrap; }
.cr-price .pill.inline { display: inline-block; margin: 0 0 4px; font-size: 11px; }
.cr-price small, .cr-total small { white-space: nowrap; }
/* B2B: boxes → pieces under the quantity */
.qty-wrap { position: relative; display: inline-block; padding-bottom: 24px; vertical-align: top; }
.qty-pcs { position: absolute; right: 0; top: calc(100% - 16px); font-size: 11.5px; line-height: 14px; color: #1F4A6E; font-weight: 600; white-space: nowrap; text-align: right; }
.ptable .pt-buy .qty-wrap input { width: 64px; }
.bb-buy .qty-wrap { display: flex; flex-direction: column; gap: 3px; padding-bottom: 0; }
.bb-buy .qty-pcs { position: static; text-align: center; min-height: 14px; }

.ord-pic.empty { color: #9AA8B6; }
.ord-pic.empty .ic { width: 24px; height: 24px; }

/* B2B: more boxes than in stock – the field turns red and offers the available amount */
.qty-over input, .qty-over .qty { border-color: #D64545 !important; background: #FFF6F6; box-shadow: 0 0 0 3px rgba(214, 69, 69, .12); }
.qty-over .qty input { box-shadow: none; }
.qty-over .qty-pcs { color: #B42318; }
.qty-use { border: 0; background: #B42318; color: #fff; font: 600 11px var(--font); padding: 1px 7px; border-radius: 99px; cursor: pointer; margin-left: 2px; }
.qty-use:hover, .qty-use:focus-visible { background: #8F1C13; outline: none; }

/* B2B: invoice / pro-forma page */
.doc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; }
.doc-top .btn-line { display: inline-flex; align-items: center; gap: 6px; }
.doc-top .btn-line .ic { width: 16px; height: 16px; }
.doc-info { display: flex; gap: 12px; align-items: flex-start; background: #EEF4FA; border: 1px solid #D5E3F0; border-radius: 12px; padding: 12px 14px; margin: 4px 0 16px; font-size: 14px; color: #1F4A6E; }
.doc-info .ic { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.doc-info p { margin: 0; }
.doc-tbl th.doc-new, .doc-tbl td.doc-new { background: #F7FAFD; }
.doc-tbl td { vertical-align: top; }
.doc-tbl td.doc-new .qty-wrap { margin-top: -6px; }
.doc-stock { font-size: 13px; font-weight: 600; }
.doc-stock.ok { color: #1E7B4F; }
.doc-stock.out { color: #B42318; }
.doc-totals { display: grid; grid-template-columns: auto auto; justify-content: end; gap: 4px 24px; margin: 14px 0 6px; font-size: 14px; }
.doc-totals dt { color: var(--muted); text-align: right; }
.doc-totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.doc-totals .big { font: 700 18px var(--head); color: var(--ink, #111); }
.nowrap { white-space: nowrap; }
.print-only { display: none; }
.doc-parties { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 18px; font-size: 13px; line-height: 1.5; }
@media print {
  body:has(.doc-sheet) * { visibility: hidden; }
  body:has(.doc-sheet) .doc-sheet, body:has(.doc-sheet) .doc-sheet * { visibility: visible; }
  .doc-sheet { position: absolute; left: 0; top: 0; width: 100%; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  .doc-sheet .no-print { display: none !important; }
  .doc-sheet .print-only { display: block; }
  .doc-sheet th.print-only, .doc-sheet td.print-only { display: table-cell; }
  .doc-sheet .doc-parties { display: grid; }
  .doc-sheet .b2b-tbl-wrap { overflow: visible; }
  .doc-sheet .b2b-tbl th, .doc-sheet .b2b-tbl td { padding: 6px 8px; font-size: 12px; }
}

/* Font Awesome icons inline with text (arrows in links, stars, thumbs) */
.ic.ic-inl, .ic-inl { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.rv-rate label .ic { width: 30px; height: 30px; }
.pp-video-thumb .ic { width: 22px; height: 22px; }
.ak-leave-arrow .ic { width: 14px; height: 14px; }

/* B2B: the dealer's own rabat (blue, never the yellow promotion style) and honest promotion notes */
.dl-rabat, .dl-tag-promo { display: inline-flex; align-self: flex-end; align-items: center; gap: 4px; font: 700 11.5px var(--font); border-radius: 999px; padding: 2px 9px; white-space: nowrap; margin-bottom: 3px; }
.dl-rabat { background: #E5EEF7; color: #1F4A6E; border: 1px solid #C9DAEA; }
.dl-tag-promo { background: var(--gold-t); color: var(--gold-d); }
.price.is-dealer .dl-rabat, .price.is-dealer .dl-tag-promo, .bb-top .dl-rabat, .bb-top .dl-tag-promo { align-self: flex-start; }
.dl-rabat.big, .dl-tag-promo.big { font-size: 13px; padding: 4px 11px; margin-bottom: 8px; }
.dl-note { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.35; color: #8A5A00; background: #FFF7E6; border: 1px solid #F1DFB4; border-radius: 8px; padding: 4px 7px; text-align: left; white-space: normal; }
.dl-note.shared { color: #1F4A6E; background: #EEF4FA; border-color: #D5E3F0; }
.bb-top .dl-note { font-size: 13px; padding: 8px 10px; margin-top: 10px; }

/* stock in a narrow table cell: "Na zalogi" / "10 škatel" / "1.000 kos" */
.st-cell { display: inline-flex; flex-direction: column; line-height: 1.25; }
.st-cell .st-pre { font-size: 11px; font-weight: 600; opacity: .8; }
.st-cell .st-n { font-weight: 700; white-space: nowrap; }
.st-cell .st-pcs { font-size: 11px; font-weight: 500; opacity: .8; white-space: nowrap; }
.doc-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-acts .btn-line { display: inline-flex; align-items: center; gap: 6px; }
.doc-acts .ic { width: 15px; height: 15px; }

/* B2B document preview window (A4 sheets, zoom, print / PDF) */
.dp-modal { border: 0; padding: 0; border-radius: 16px; width: min(980px, calc(100% - 32px)); height: min(900px, calc(100% - 40px)); max-width: none; max-height: none; box-shadow: 0 24px 70px rgba(16,24,40,.3); }
.dp-modal[open] { display: flex; flex-direction: column; }
.dp-modal::backdrop { background: rgba(16,24,40,.5); }
.dpm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dpm-head strong { font: 700 19px var(--head); color: var(--ink); }
.dpm-head small { font: 500 13px var(--font); color: var(--muted); margin-left: 6px; }
.dpm-zoom { display: flex; align-items: center; gap: 6px; }
.dpm-pages { font-size: 13px; color: var(--muted); margin-right: 6px; }
.dpm-zoom button { height: 34px; min-width: 34px; display: inline-grid; place-items: center; border: 1px solid var(--line2); border-radius: 8px; background: #fff; color: var(--ink); font: 600 13px var(--font); cursor: pointer; padding: 0 10px; }
.dpm-zoom button:hover { background: var(--soft); }
.dpm-zoom .ic { width: 12px; height: 12px; }
.dpm-pct { min-width: 52px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.dpm-body { flex: 1; min-height: 0; padding: 0 20px; background: #fff; }
.dpm-body iframe { width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 10px; background: #E9EDF2; margin: 16px 0 0; height: calc(100% - 16px); display: block; }
.dpm-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dpm-right { display: flex; gap: 8px; flex-wrap: wrap; }
.dpm-foot .btn-line, .dpm-foot .btn-blue { display: inline-flex; align-items: center; gap: 8px; }
.dpm-foot .ic { width: 15px; height: 15px; }
@media (max-width: 640px) { .dp-modal { width: 100%; height: 100%; border-radius: 0; } .dpm-zoom .dpm-pages { display: none; } }

.dpm-body { position: relative; }
.dpm-wait, .dpm-fail { position: absolute; inset: 16px 20px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 14px; pointer-events: none; }
.dpm-fail { display: none; pointer-events: auto; background: #F4F5F7; border-radius: 10px; }
.dpm-fail .ic { width: 28px; height: 28px; color: var(--amber); }
.dpm-fail p { margin: 0; color: var(--ink2); }
.dp-modal.dpm-failed .dpm-fail { display: flex; }
.dp-modal.dpm-failed .dpm-wait, .dp-modal.dpm-ready .dpm-wait { display: none; }
.dpm-spin { width: 26px; height: 26px; border: 3px solid var(--line2); border-top-color: var(--blue); border-radius: 50%; animation: dpmspin .8s linear infinite; }
@keyframes dpmspin { to { transform: rotate(360deg); } }

/* delivery-country picker: what can be sent abroad */
.ship-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; background: var(--blue-t); border-radius: 10px; font-size: 13px; line-height: 1.45; color: var(--ink2); }
.ship-note .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--blue); }
.ship-note a { font-weight: 600; color: var(--blue); white-space: nowrap; }
.btn-blue .ic-inl:last-child, .btn-white .ic-inl:last-child { margin-left: .35em; }

/* B2B documents: page numbers and "na stran" above and below the list */
.docs-pager { margin: 0; gap: 14px; }
.docs-pager.top { margin: 2px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.docs-pager.bottom { margin-top: 18px; }
.docs-pager .dp-count { font-size: 14px; color: var(--muted); }
.docs-pager .dp-ctl { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-left: auto; }
.docs-pager .pager a, .docs-pager .pager span { min-width: 36px; height: 36px; font-size: 14px; font-weight: 600; }
.docs-pager .pager a:hover:not(.on) { border-color: var(--blue); color: var(--blue); }
.docs-pager .pager a.on { background: var(--blue); border-color: var(--blue); }
.docs-pager .sorter select { height: 36px; }

/* info page in a window over the product page */
.sh-modal.page-modal { max-width: 720px; }
.page-modal .pm-body { max-height: min(78vh, 760px); overflow: auto; font-size: 15px; line-height: 1.6; color: var(--ink2); padding-right: 6px; }   /* the shop's thin scrollbar, like every modal */
/* a whole shop page (e.g. the RCBS table) in the window */
.sh-modal.frame-modal { max-width: min(1180px, 96vw); width: 96vw; }
.frame-modal .fm-frame { display: block; width: 100%; height: min(78vh, 820px); border: 0; border-radius: 10px; background: #fff; }
.page-modal .pm-body h3 { margin: 0 0 12px; }
.page-modal .pm-body .page-text p { margin: 0 0 12px; }
.page-modal .pm-wait { display: flex; justify-content: center; padding: 40px 0; }
.page-modal .sm-act, .frame-modal .sm-act { align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 14px; border-top: 1px solid var(--line, #e3e7ee); padding-top: 12px; }
.page-modal .pm-full, .frame-modal .pm-full { margin-right: 0; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.page-modal .pm-wait { font-size: 24px; color: var(--muted, #6b7280); }

/* Dropdowns: our own panel (same as admin), never the browser's list */
.combo { position: relative; display: inline-block; min-width: 0; max-width: 100%; vertical-align: middle; }
.combo.full, .co-fields label > .combo, .acc-card label > .combo, .addr-form label > .combo { display: block; width: 100%; }
.combo-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px !important; }
.combo-btn { width: 100%; height: 44px; text-align: left; border: 1px solid var(--line2); border-radius: 10px; background: #fff; padding: 0 38px 0 12px; font: 15px var(--font); color: var(--ink);
  cursor: pointer; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .15s, box-shadow .15s; }
.combo-btn::after { content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid #5B6672; border-bottom: 2px solid #5B6672; transform: rotate(45deg); }
.combo-btn:hover { border-color: var(--blue); }
.combo-btn:focus { outline: 2px solid var(--blue-t); border-color: var(--blue); }
.co-shipto .combo-btn { height: 38px; font-weight: 600; min-width: 200px; }
.sorter .combo-btn, .docs-pager .combo-btn { height: 40px; font-size: 14px; border-radius: 8px; }
.docs-pager .sorter .combo-btn { height: 36px; }
.combo-panel { position: absolute; z-index: 160; left: 0; top: calc(100% + 4px); min-width: 100%; width: max-content; max-width: 360px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 16px 40px rgba(22,33,44,.18); padding: 6px; animation: comboin .12s ease; }
@keyframes comboin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.combo-panel.up { top: auto; bottom: calc(100% + 4px); }
.combo-q { width: 100%; height: 38px; border: 1px solid var(--line2); border-radius: 8px; padding: 0 10px; margin-bottom: 6px; font: 14px var(--font); box-sizing: border-box; }
.combo-panel.short .combo-q { position: absolute; opacity: 0; height: 0; width: 0; margin: 0; padding: 0; border: 0; }
.combo-list { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; }
.combo-opt { padding: 9px 12px 9px 30px; border-radius: 8px; cursor: pointer; font-size: 14px; position: relative; color: var(--ink); }
.combo-opt.act { background: var(--blue-t); }
.combo-opt.on { font-weight: 600; color: var(--blue); }
.combo-opt.on::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 5px; margin-top: -5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.combo-opt.off { color: #A3A9B0; cursor: default; }
.combo-group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #8A929B; padding: 8px 10px 4px; }
.combo-none { padding: 10px; color: var(--muted); font-size: 14px; }

/* "Opis je samodejno preveden – ste našli napako?" */
.tr-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tr-note .ic { width: 15px; height: 15px; fill: var(--blue); }
.tr-open { border: 0; background: none; padding: 0; font: 600 13px var(--font); color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.tr-modal { max-width: 520px; }
.tr-form { display: flex; flex-direction: column; gap: 12px; }
.tr-form label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 500; color: var(--ink); }
.tr-form textarea, .tr-form input:not(.hp) { border: 1px solid var(--line2); border-radius: 10px; padding: 9px 12px; font: 15px/1.5 var(--font); color: var(--ink); }
.tr-form textarea:focus, .tr-form input:focus { outline: 2px solid var(--blue-t); border-color: var(--blue); }
.tr-form .sm-act { margin-top: 4px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sh-modal .btn-blue { border: 0; }

/* RCBS reference table */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rt-wrap { padding-bottom: 48px; }
.rt-intro { max-width: 760px; color: var(--ink2); }
.rt-find { display: flex; align-items: center; gap: 16px; margin: 12px 0 8px; position: sticky; top: calc(var(--hh, 0px) - 12px); z-index: 6; background: #fff; padding: 22px 0 10px; }   /* search + view switch stay under the shop header (tucked 12px under it: no gap) */
.rt-search { flex: 0 1 460px; }
.rt-search input { width: 100%; height: 46px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; }
.rt-search input:focus { border-color: var(--blue); outline: 3px solid var(--blue-t); }
.rt-count { color: var(--muted); font-size: 14px; }
.rt-table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: clip; }   /* no scroll box of its own: the page scrolls, the header row sticks */
.rt-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rt-table thead th { position: sticky; top: calc(var(--hh, 0px) - 12px + var(--rtf, 78px)); background: var(--blue-d); color: #fff; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; z-index: 1; }
.rt-table tbody th { text-align: left; font-weight: 600; white-space: nowrap; }
.rt-table th, .rt-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rt-table tbody tr:nth-child(even) { background: var(--soft); }
.rt-table tbody tr:hover { background: var(--blue-t); }
.rt-part { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line2); color: var(--blue); white-space: nowrap; }
a.rt-part:hover { border-color: var(--blue); background: var(--blue-t); }
.rt-part.none { font-weight: 600; color: var(--muted); background: transparent; border-style: dashed; }
.rt-part.none small { font-weight: 400; font-size: 12px; }
.rt-or { color: var(--muted); font-size: 12px; margin: 0 6px; }
.rt-none { color: var(--muted); }
.rt-note { color: var(--gold-d); font-weight: 700; margin-left: 2px; }
.rt-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2E8B57; }
.rt-dot.off { background: #C9CED4; }
/* legend: at the top right next to the title, and again under the table */
.rt-top { display: flex; gap: 32px; align-items: flex-start; justify-content: space-between; }
.rt-top > div { flex: 1 1 auto; min-width: 0; }
.rt-legend { border: 1px solid var(--line); border-radius: 12px; background: var(--soft); padding: 12px 16px; font-size: 13px; color: var(--ink2); }
.rt-legend.top { flex: 0 0 380px; margin-top: 6px; }
.rt-legend.bottom { margin-top: 20px; max-width: 560px; }
.rt-legend h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 8px; }
.rt-legend ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rt-legend li { display: flex; align-items: center; gap: 10px; }
.rt-legend .demo { flex: 0 0 auto; pointer-events: none; font-size: 13px; padding: 2px 8px; }
.rt-legend .rt-none.demo { width: 36px; text-align: center; font-weight: 700; }
.rt-legend li > .rt-part.demo, .rt-legend li > .rt-none.demo { min-width: 48px; justify-content: center; }
.rt-note.big { font-size: 13px; min-width: 48px; text-align: center; display: inline-block; }
@media (max-width: 980px) { .rt-top { display: block; } .rt-legend.top { margin: 12px 0 0; } }
.rt-empty { padding: 16px; background: var(--cream); border-radius: 10px; margin-top: 12px; }
.rt-sim { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.rt-sim-h { margin: 0 6px 0 0; font-weight: 600; font-size: 14px; }
.rt-sim button { border: 1px solid var(--line2); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; color: var(--blue); cursor: pointer; }
.rt-sim button:hover { border-color: var(--blue); background: var(--blue-t); }
.rt-link { display: flex; align-items: center; gap: 10px; margin: 14px 0; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; background: var(--cream); color: var(--ink); font-size: 14px; }
.rt-link strong { color: var(--blue); }
@media (max-width: 980px) {
  .rt-table-wrap { border: 0; overflow: visible; }
  .rt-table thead { display: none; }
  .rt-table, .rt-table tbody, .rt-table tr, .rt-table th, .rt-table td { display: block; }
  .rt-table tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 6px 0; background: #fff !important; }
  .rt-table tbody th { font-size: 17px; border: 0; }
  .rt-table td { border: 0; padding: 6px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
  .rt-table td::before { content: attr(data-label); flex: 0 0 100%; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  /* a caliber card: the name on top, the four parts in two columns (half as tall on a phone) */
  .rt-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .rt-table tbody th { grid-column: 1 / -1; }
  .rt-table td::before { font-size: 10px; line-height: 1.3; min-height: 2.6em; }   /* labels of one or two lines: the chips stay in line */
}
/* RCBS table: view switch, shell holder cards, hover card, "fits" block on product pages, finder on the category page */
.rt-find { flex-wrap: wrap; }
/* no shadow under the sticky search bar (owner 28. 11. 2026: it stuck out beside the narrower decap table) */
.rt-views { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.rt-views button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink2); padding: 8px 14px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.rt-views button[aria-selected="true"] { background: #fff; color: var(--blue-d); box-shadow: 0 1px 3px rgba(22,33,44,.12); }
.rt-holders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 18px; align-items: start; }
.rt-hcard { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.rt-hcard header { display: flex; align-items: center; gap: 10px; background: var(--blue-d); color: #fff; padding: 10px 14px; }
.rt-hcard.none header { background: #5B6672; }
.rt-hno { background: var(--gold); color: #fff; font-weight: 800; border-radius: 6px; padding: 2px 8px; font-size: 15px; }
a.rt-hno { text-decoration: none; transition: filter .15s, box-shadow .15s; }
a.rt-hno:hover, a.rt-hno:focus-visible { color: #fff; filter: brightness(1.12); box-shadow: 0 0 0 2px rgba(191, 158, 34, .35); }
.rt-htitle { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; flex: 1; }
.rt-hbuy { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.14); border-radius: 999px; padding: 4px 10px; }
.rt-hbuy:hover { background: rgba(255,255,255,.26); color: #fff; }
.rt-hbuy.none { font-weight: 400; font-size: 12px; }
.rt-hcard ul { list-style: none; margin: 0; padding: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.rt-hcard li button { border: 1px solid var(--line2); background: var(--soft); border-radius: 6px; padding: 4px 9px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.rt-hcard li button:hover { border-color: var(--blue); background: var(--blue-t); }
.rt-hcard li.hit button, .rt-fits-list li.hit a { background: var(--gold-t); border-color: var(--gold); font-weight: 700; }
.hc { position: absolute; z-index: 300; display: flex; gap: 12px; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(22,33,44,.2); padding: 10px; animation: hcin .12s ease; }
@keyframes hcin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.hc-img { flex: 0 0 72px; height: 72px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.hc-img img { width: 72px; height: 72px; object-fit: contain; display: block; }
.hc-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hc-name { font-size: 14px; line-height: 1.3; color: var(--ink); }
.hc-row { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.hc-price { font-weight: 800; color: var(--ink); }
.hc-stock { font-size: 12px; color: var(--muted); }
.hc-stock.ok { color: #2E8B57; font-weight: 600; }
.hc-go { font-size: 13px; font-weight: 700; margin-top: auto; }
.rt-fits { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 28px; background: var(--soft); scroll-margin-top: 96px; }   /* light grey panel on the white page (owner 29. 11. 2026) */   /* the jump from "Poglejte vse" stops below the shop header */
.rt-fits-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; margin-bottom: 12px; }
.rt-fits-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.rt-fits-n { background: var(--gold); color: #fff; border-radius: 999px; font-size: 13px; padding: 2px 10px; }
.rt-fits-find { flex: 0 1 320px; }
.rt-fits-find input { width: 100%; height: 42px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 12px; font: inherit; background: #fff; }
.rt-fits-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rt-fits-list a { display: inline-block; border: 1px solid var(--line2); background: #fff; border-radius: 999px; padding: 5px 13px; font-size: 14px; color: var(--ink); }   /* white pills like the calibre chips in the menu */
.rt-fits-list a:hover { border-color: var(--blue); color: var(--blue); }   /* same hover as every .chip */
.rt-fits-none { background: var(--cream); padding: 10px 12px; border-radius: 8px; }
.rt-fits-more { margin: 14px 0 0; font-size: 14px; }
.rt-fits-bar { margin-top: 14px; }
.rt-finder { border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; background: var(--cream); padding: 14px 18px; margin: 0 0 20px; }
.rt-finder h2 { font-size: 17px; margin: 0 0 8px; }
.rt-finder-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rt-finder input { flex: 0 1 360px; height: 44px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 12px; font: inherit; background: #fff; }
.rt-finder-out { display: grid; gap: 8px; margin-top: 12px; }
.rtf-hit { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 12px; align-items: center; }
.rtf-cal { font-weight: 600; font-size: 14px; color: var(--ink); }
.rtf-parts { display: flex; flex-wrap: wrap; gap: 8px; }
.rtf-part { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--ink); text-decoration: none; }
a.rtf-part:hover { border-color: var(--blue); background: var(--blue-t); }
.rtf-part small { color: var(--muted); font-size: 12.5px; }
.rtf-part strong { color: var(--blue); }
.rtf-part.none strong { color: var(--muted); }
.rtf-part .rt-dot { margin-left: -2px; }
.rtf-empty { font-size: 14px; color: var(--ink2); }
@media (max-width: 600px) { .rtf-hit { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
@media (max-width: 760px) { .rt-holders { grid-template-columns: minmax(0, 1fr); } .rt-views { width: 100%; } .rt-views button { flex: 1; justify-content: center; } }
/* RCBS tables in the mega menu: a section below the categories, two light grey cards side by side (owner 28. 11. 2026) */
.mega-rcbs { margin-top: 16px; }
.mega-rcbs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-top: 10px; }
.mega-rcbs-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #E8EBEE; border-radius: 12px; background: var(--soft); color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.mega-rcbs-card:hover, .mega-rcbs-card:focus-visible { border-color: var(--blue); background: var(--blue-t); color: var(--ink); text-decoration: none; }
.mrc-pic { flex: none; width: 52px; height: 52px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; color: var(--blue); }
.mrc-pic img { width: 46px; height: 46px; object-fit: contain; }
.mrc-pic.is-pin img { width: 52px; height: 52px; transform: rotate(40deg); }   /* the long, thin decap unit lies diagonally to fill the square */
.mrc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mrc-txt strong { font-size: 15px; line-height: 1.3; }
.mrc-txt span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.mrc-go { flex: none; color: var(--blue); }
@media (max-width: 760px) { .mega-rcbs-grid { grid-template-columns: minmax(0, 1fr); } }
.rt-part.ask { font-weight: 600; color: var(--gold-d); background: var(--gold-t); border-color: #EAD9A0; }
.rt-hct { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.rt-hct strong { margin-left: auto; color: var(--ink); }
.rt-hct:hover { background: var(--blue-t); color: var(--blue-d); }
.fx-thanks { display: flex; gap: 16px; align-items: flex-start; border-left: 4px solid var(--gold); background: var(--cream); margin-bottom: 18px; }
.fx-thanks h2 { margin: 0 0 6px; font-size: 18px; }
.fx-thanks p { margin: 4px 0; }

/* product picture full size */
.pp-zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pp-zoom img { display: block; width: 100%; height: 100%; object-fit: contain; }
dialog.lb { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(12, 22, 32, .94); color: #fff; }
dialog.lb::backdrop { background: rgba(12, 22, 32, .94); }
.lb-fig { margin: 0; position: absolute; inset: 56px 80px; display: flex; align-items: center; justify-content: center; }
.lb-fig img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 10px; }
.lb-x { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-x:hover, .lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-x .ic { width: 20px; height: 20px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-nav.prev { left: 14px; } .lb-nav.next { right: 14px; }
.lb-nav .ic { width: 22px; height: 22px; }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; margin: 0; font-size: 14px; color: rgba(255,255,255,.8); }
@media (max-width: 640px) { .lb-fig { inset: 64px 8px 52px; } .lb-nav { top: auto; bottom: 6px; transform: none; width: 44px; height: 44px; } }

/* cookie notice */
.ck-bar { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 560px; display: flex; align-items: center; gap: 16px; background: #16212C; color: #E6EBF0; border-radius: 14px; padding: 14px 16px 14px 18px; box-shadow: 0 12px 36px rgba(0,0,0,.28); font-size: 14px; line-height: 1.45; }
.ck-bar[hidden] { display: none; }
.ck-bar p { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.ck-bar p .ic { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #E8CD6A; }
.ck-bar a { color: #E8CD6A; text-decoration: underline; }
.ck-bar .btn { flex: none; }
@media (max-width: 640px) { .ck-bar { left: 8px; right: 8px; bottom: 8px; max-width: none; flex-direction: column; align-items: stretch; } }
/* header counters: the cart stays gold (it matters); compare and wish list in quiet blue so they don't shout; notifications red */
.hi-n { background: #2D6594; }
.hi.bell .hi-n { background: #C2410C; }
/* category: "other categories" button next to the title */
.cat-head { flex-wrap: wrap; }
.subcats-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line, #E4E7EB); background: #fff; color: var(--blue, #2D6594); border-radius: 999px; padding: 8px 16px; font: 600 14px var(--font); cursor: pointer; }
.subcats-toggle:hover, .subcats-toggle.on { border-color: var(--blue, #2D6594); background: #EEF4FA; }
.subcats[hidden] { display: none !important; }
/* header: Aklub star and the counters of compare / wish list in blue; only the cart stays gold */
.hi.aklub .ic { color: var(--blue, #2D6594); }

/* Kje smo: map + message form */
.map-box { margin: 18px 0 8px; }
.map-load { width: 100%; min-height: 220px; border: 1px dashed var(--line2, #CBD2D9); border-radius: 16px; background: var(--soft, #F3F5F7); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font: 600 16px var(--font); color: var(--blue, #2D6594); }
.map-load .ic { width: 30px; height: 30px; }
.map-load small { font-weight: 400; color: var(--muted); font-size: 13px; }
.map-load:hover { background: #EEF4FA; }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: 16px; display: block; }
.contact-box { margin-top: 28px; background: #fff; border: 1px solid var(--line, #E4E7EB); border-radius: 18px; padding: 22px 24px; scroll-margin-top: calc(var(--hh, 66px) + 16px); }
.contact-box h2 { margin: 0 0 4px; }
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 18px; margin-top: 14px; }
.contact-form .wide { grid-column: 1 / -1; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 14px; }
.contact-form input, .contact-form textarea { border: 1px solid var(--line2, #CBD2D9); border-radius: 10px; padding: 11px 13px; font: 15px var(--font); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .contact-form { grid-template-columns: minmax(0, 1fr); } }
/* Kje kupiti: dealers */
.dl-find input { width: 100%; max-width: 420px; border: 1px solid var(--line2, #CBD2D9); border-radius: 999px; padding: 11px 18px; font: 15px var(--font); margin: 6px 0 18px; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.dl-card { background: #fff; border: 1px solid var(--line, #E4E7EB); border-radius: 16px; padding: 16px 18px; }
.dl-card[hidden] { display: none; }
.dl-card h2 { font-size: 17px; margin: 0 0 4px; line-height: 1.3; }
.dl-city { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.dl-c { display: flex; flex-direction: column; gap: 3px; font-size: 14px; margin: 0; }
.dl-c a { color: var(--ink2, #2B3640); text-decoration: none; overflow-wrap: anywhere; }
.dl-c a:hover { color: var(--blue); }
.dl-stores { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line, #E4E7EB); display: grid; gap: 8px; font-size: 14px; }
.dl-stores .dl-c { margin-top: 2px; }
/* Nakup orožja, streliva …: one card per topic */
.buy-rules { display: grid; gap: 16px; }
.br-card { background: #fff; border: 1px solid var(--line, #E4E7EB); border-radius: 18px; padding: 18px 22px 8px; border-top: 4px solid var(--blue, #2D6594); }
/* card kinds are br-k-… (the steps card once shared the class of the numbered list and lost its padding) */
.br-card.br-k-gun { border-top-color: #16212C; } .br-card.br-k-powder { border-top-color: #C2410C; } .br-card.br-k-steps { border-top-color: var(--gold, #B08A12); }
.br-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 22px; }
.br-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #EAF1F9; color: var(--blue, #2D6594); flex: none; }
.br-k-gun .br-ic { background: #E8EBEE; color: #16212C; } .br-k-powder .br-ic { background: #FCEEE6; color: #C2410C; } .br-k-steps .br-ic { background: #F6EFD6; color: #8A6D0B; }
.br-ic .ic { width: 20px; height: 20px; }
.br-law { background: #F6EFD6; border-left: 4px solid var(--gold, #B08A12); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.br-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 12px; }
.br-steps li { counter-increment: s; position: relative; padding: 4px 0 10px 44px; }
.br-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue, #2D6594); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
/* home "Iskalnik po kalibru" → the caliber box stops fully below the (shrunk) shop header */
#kalibri { scroll-margin-top: 90px; }
/* Kje smo: OpenStreetMap (no cookies – loads at once) */
.map-osm { width: 100%; height: 380px; border: 1px solid var(--line, #E4E7EB); border-radius: 16px; display: block; }

/* home banners (Admin › Pasice na naslovni): colours */
.hero.st-dark { background: linear-gradient(120deg, #101A24, #1E2A36); }
.hero.st-gold { background: linear-gradient(120deg, #7A5E08, #B08A12); } .hero.st-gold .kicker { color: #F6EFD6; }
.hero.st-red { background: linear-gradient(120deg, #7F1D1D, #B42318); } .hero.st-red .kicker { color: #FDE2E2; }
.tile { border-radius: 18px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.tile small { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }
.tile strong { font: 700 26px/1.1 var(--head); }
.tile span { font-weight: 600; }
.tile-gold { background: var(--gold-t); color: var(--gold-d); } .tile-gold small, .tile-gold span { color: var(--gold-d); }
.tile-blue { background: linear-gradient(120deg, #1E4E77, var(--blue)); color: #fff; } .tile-blue small, .tile-blue span { color: #CFE0EF; } .tile-blue:hover { color: #fff; }
.tile-red { background: #B42318; color: #fff; } .tile-red small, .tile-red span { color: #FDE2E2; } .tile-red:hover { color: #fff; }
.usps > a { display: flex; gap: 12px; align-items: center; background: var(--soft); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--muted); text-decoration: none; }
.usps > a:hover { filter: brightness(.97); }
.usps .light { background: var(--blue-t); }
.usps .red { background: #FDECEC; } .usps .red .ic, .usps .red strong { color: #B42318; }
/* banner pictures (Admin › Pasice na naslovni) */
.hero, .tile { position: relative; overflow: hidden; }
.hero .bn-txt, .tile > small, .tile > strong, .tile > span { position: relative; z-index: 1; }
.hero.im-side { flex-direction: row; align-items: center; gap: 28px; }
.hero.im-side .bn-txt { flex: 1 1 55%; min-width: 0; }
.hero .bn-side { flex: 0 1 42%; max-width: 42%; max-height: 300px; object-fit: contain; }
.bn-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero.im-cover::after, .tile.im-cover::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(12, 22, 32, .72), rgba(12, 22, 32, .15)); }
.hero.im-cover .bn-txt, .hero.im-cover h1, .hero.im-cover p, .hero.im-cover .kicker { color: #fff; }
.tile.im-cover small, .tile.im-cover strong, .tile.im-cover span { color: #fff; }
.hero.im-only, .tile.im-only { padding: 0; min-height: 0; display: block; }
.hero.im-only .bn-pic, .tile.im-only .bn-pic { display: block; width: 100%; height: 100%; object-fit: contain; }
.tile .bn-side { position: absolute; right: 14px; bottom: 14px; max-width: 40%; max-height: 70%; object-fit: contain; z-index: 0; }
.tile.im-side small, .tile.im-side strong { max-width: 62%; }
.usp-pic { width: 40px; height: 40px; object-fit: contain; flex: none; }
/* "Brez ozadja": transparent – text in the shop's ink */
.hero.st-none { background: none; color: var(--ink); padding-left: 8px; padding-right: 8px; }
.hero.st-none .kicker { color: var(--blue); } .hero.st-none p { color: var(--ink2, #3E4C59); }
.hero.st-none .btn-white { background: var(--blue); color: #fff; }
.tile.tile-none { background: none; color: var(--ink); padding-left: 4px; padding-right: 4px; } .tile-none small, .tile-none span { color: var(--blue); }
.usps .none { background: none; }
@media (max-width: 760px) { .hero.im-side { flex-direction: column; align-items: flex-start; } .hero .bn-side { max-width: 100%; } }
/* pop-up after saving */
.sh-toasts { position: fixed; top: calc(var(--hh, 0px) + 16px); right: 18px; z-index: 90; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.sh-toast { display: flex; gap: 10px; align-items: center; background: #1F5C38; color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 12px 32px rgba(16,24,40,.22); font-size: 15px; max-width: 380px; animation: shToastIn .3s ease-out; transition: opacity .4s, transform .4s; }
.sh-toast.bad { background: #8E2A20; }
.sh-toast .ic { width: 18px; height: 18px; flex: none; }
.sh-toast.out { opacity: 0; transform: translateY(-8px); }
@keyframes shToastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .sh-toasts { left: 12px; right: 12px; } .sh-toast { max-width: none; } }
/* "Label (neobvezno)" on one line */
label > .lbl { display: block; }
label > .lbl small { font-weight: 400; }
/* Moj račun tabs: scroll sideways on a phone only – no scrollbars */
.acc-tabs { overflow-y: hidden; scrollbar-width: none; }
.acc-tabs::-webkit-scrollbar { display: none; }
/* Aklub join box: the note readable on the dark card, the button below it with space */
.ak-join .ak-note { background: rgba(176, 138, 18, .16); color: #F3E4B0; border-left: 3px solid var(--gold, #B08A12); margin: 18px 0 16px; max-width: 620px; }
/* category menu card (Admin › Pasice na naslovni › Meni kategorij) */
.mega-promo[hidden] { display: none; }
.mega-promo { position: relative; overflow: hidden; text-decoration: none; }
.mega-promo > small, .mega-promo > strong, .mega-promo > span { position: relative; z-index: 1; }
.mega-promo.mp-light { background: var(--blue-t); color: var(--ink); } .mp-light small, .mp-light span { color: var(--blue); } .mega-promo.mp-light:hover { background: #E2ECF6; color: var(--ink); }
.mega-promo.mp-gold { background: var(--gold-t); color: var(--gold-d); } .mp-gold small, .mp-gold span { color: var(--gold-d); } .mega-promo.mp-gold:hover { background: #F1E6C2; color: var(--gold-d); }
.mega-promo.mp-blue { background: linear-gradient(140deg, #1E4E77, var(--blue)); } .mp-blue small { color: #CFE0EF; } .mega-promo.mp-blue:hover { background: var(--blue); }
.mega-promo.mp-red { background: #B42318; } .mp-red small { color: #FDE2E2; } .mega-promo.mp-red:hover { background: #9B1E15; }
.mega-promo.mp-none { background: none; color: var(--ink); border: 1px solid var(--line); } .mp-none small, .mp-none span { color: var(--blue); } .mega-promo.mp-none:hover { background: var(--soft); color: var(--ink); }
.mega-promo .mp-pic { max-width: 100%; max-height: 120px; object-fit: contain; align-self: center; }
.mega-promo.im-cover::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(12, 22, 32, .2), rgba(12, 22, 32, .75)); }
.mega-promo.im-cover, .mega-promo.im-cover small, .mega-promo.im-cover span { color: #fff; }
.mega-promo.im-only { padding: 0; } .mega-promo.im-only .bn-pic { width: 100%; height: 100%; object-fit: contain; display: block; }
/* own background picture + "Brez ozadja": no shading over the picture, text like the Aklub card (white title, gold line and link) */
.hero.im-cover.st-none::after, .tile.im-cover.tile-none::after, .mega-promo.im-cover.mp-none::after { display: none; }
.hero.im-cover.st-none { padding-left: 50px; padding-right: 50px; }
.hero.im-cover.st-none .kicker, .tile.im-cover.tile-none small, .tile.im-cover.tile-none span,
.mega-promo.im-cover.mp-none small, .mega-promo.im-cover.mp-none span { color: #D9B648; }
.hero.im-cover.st-none h1, .hero.im-cover.st-none p, .tile.im-cover.tile-none strong, .mega-promo.im-cover.mp-none strong { color: #fff; }
.hero.im-cover.st-none .btn-white { background: #D9B648; color: #16212C; }
.tile.im-cover.tile-none { padding: 24px; }
.mega-promo.im-cover.mp-none { border: 0; }

/* banner text colours (Admin › Pasice: colour per text) */
.usps .usp-line { font-style: normal; display: block; }
.hero .c-white, .tile .c-white, .usps .c-white, .mega-promo .c-white, .hero.c-white { color: #FFFFFF !important; }
.hero .c-gold, .tile .c-gold, .usps .c-gold, .mega-promo .c-gold, .hero.c-gold { color: #D9B648 !important; }
.hero .c-goldd, .tile .c-goldd, .usps .c-goldd, .mega-promo .c-goldd, .hero.c-goldd { color: #8A6D0B !important; }
.hero .c-blue, .tile .c-blue, .usps .c-blue, .mega-promo .c-blue, .hero.c-blue { color: #2D6594 !important; }
.hero .c-sky, .tile .c-sky, .usps .c-sky, .mega-promo .c-sky, .hero.c-sky { color: #CFE0EF !important; }
.hero .c-ink, .tile .c-ink, .usps .c-ink, .mega-promo .c-ink, .hero.c-ink { color: #16212C !important; }
.hero .c-grey, .tile .c-grey, .usps .c-grey, .mega-promo .c-grey, .hero.c-grey { color: #6B7785 !important; }
.hero .c-red, .tile .c-red, .usps .c-red, .mega-promo .c-red, .hero.c-red { color: #B42318 !important; }
.hero .c-green, .tile .c-green, .usps .c-green, .mega-promo .c-green, .hero.c-green { color: #1F7A45 !important; }
.hero .ic-inl, .tile .ic-inl, .mega-promo .ic-inl, .usps .ic-inl { width: 1em; height: 1em; vertical-align: -.12em; }
.hero .bn-bg { object-position: 80% 50%; }   /* narrower screens cut the left (where the text is), the picture keeps its right side */
/* category tiles with a banner (Admin › Pasice › Kategorije) */
.cat-big.bn { position: relative; overflow: hidden; }
.cat-big.bn > small, .cat-big.bn > strong, .cat-big.bn > span { position: relative; z-index: 1; }
.cat-big.bn small { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: #D9B648; margin-bottom: 4px; }
.cat-big.st-blue { background: linear-gradient(160deg, #24557F, #1E4E77); } .cat-big.st-dark { background: var(--dark2); }
.cat-big.st-gold { background: linear-gradient(160deg, #8A6D0B, #B08A12); } .cat-big.st-red { background: linear-gradient(160deg, #9B1E15, #B42318); }
.cat-big.st-none { background: none; color: var(--ink); border: 1px solid var(--line); } .cat-big.st-none span { color: var(--muted); }
.cat-big.im-cover::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(12, 22, 32, .78), rgba(12, 22, 32, .05) 70%); }
.cat-big.im-cover.st-none::after { display: none; }
.cat-big.im-cover, .cat-big.im-cover.st-none { color: #fff; border: 0; } .cat-big.im-cover span { color: #D8E2EC; }
.cat-big .bn-bg.bn-right { left: auto; width: 55%; object-fit: contain; object-position: right center; }
.cat-big.im-only { padding: 0; } .cat-big.im-only .bn-pic { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.cat-big.bn .c-white { color: #FFFFFF !important; }
.cat-big.bn .c-gold { color: #D9B648 !important; }
.cat-big.bn .c-goldd { color: #8A6D0B !important; }
.cat-big.bn .c-blue { color: #2D6594 !important; }
.cat-big.bn .c-sky { color: #CFE0EF !important; }
.cat-big.bn .c-ink { color: #16212C !important; }
.cat-big.bn .c-grey { color: #6B7785 !important; }
.cat-big.bn .c-red { color: #B42318 !important; }
.cat-big.bn .c-green { color: #1F7A45 !important; }

/* banner picture settings (Admin › Pasice › Slika: zatemnitev, svetlost, nasičenost) */
.fx .bn-bg, .fx .bn-pic, .fx .bn-side, .fx .mp-pic { filter: brightness(var(--fx-br, 1)) saturate(var(--fx-sa, 1)); }
.fx-br-40 { --fx-br: 0.4; }
.fx-br-50 { --fx-br: 0.5; }
.fx-br-60 { --fx-br: 0.6; }
.fx-br-70 { --fx-br: 0.7; }
.fx-br-80 { --fx-br: 0.8; }
.fx-br-90 { --fx-br: 0.9; }
.fx-br-100 { --fx-br: 1; }
.fx-br-110 { --fx-br: 1.1; }
.fx-br-120 { --fx-br: 1.2; }
.fx-br-130 { --fx-br: 1.3; }
.fx-br-140 { --fx-br: 1.4; }
.fx-br-150 { --fx-br: 1.5; }
.fx-sa-0 { --fx-sa: 0; }
.fx-sa-10 { --fx-sa: 0.1; }
.fx-sa-20 { --fx-sa: 0.2; }
.fx-sa-30 { --fx-sa: 0.3; }
.fx-sa-40 { --fx-sa: 0.4; }
.fx-sa-50 { --fx-sa: 0.5; }
.fx-sa-60 { --fx-sa: 0.6; }
.fx-sa-70 { --fx-sa: 0.7; }
.fx-sa-80 { --fx-sa: 0.8; }
.fx-sa-90 { --fx-sa: 0.9; }
.fx-sa-100 { --fx-sa: 1; }
.fx-sa-110 { --fx-sa: 1.1; }
.fx-sa-120 { --fx-sa: 1.2; }
.fx-sa-130 { --fx-sa: 1.3; }
.fx-sa-140 { --fx-sa: 1.4; }
.fx-sa-150 { --fx-sa: 1.5; }
.fx-sh-0 { --fx-sh: 0; }
.fx-sh-10 { --fx-sh: 0.1; }
.fx-sh-20 { --fx-sh: 0.2; }
.fx-sh-30 { --fx-sh: 0.3; }
.fx-sh-40 { --fx-sh: 0.4; }
.fx-sh-50 { --fx-sh: 0.5; }
.fx-sh-60 { --fx-sh: 0.6; }
.fx-sh-70 { --fx-sh: 0.7; }
.fx-sh-80 { --fx-sh: 0.8; }
.fx-sh-90 { --fx-sh: 0.9; }
.hero.fx-d-bottom::after, .tile.fx-d-bottom::after, .cat-big.fx-d-bottom::after, .mega-promo.fx-d-bottom::after { content: ""; display: block !important; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 80%) !important; }
.hero.fx-d-top::after, .tile.fx-d-top::after, .cat-big.fx-d-top::after, .mega-promo.fx-d-top::after { content: ""; display: block !important; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 80%) !important; }
.hero.fx-d-left::after, .tile.fx-d-left::after, .cat-big.fx-d-left::after, .mega-promo.fx-d-left::after { content: ""; display: block !important; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 85%) !important; }
.hero.fx-d-right::after, .tile.fx-d-right::after, .cat-big.fx-d-right::after, .mega-promo.fx-d-right::after { content: ""; display: block !important; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(270deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 85%) !important; }
.hero.fx-d-even::after, .tile.fx-d-even::after, .cat-big.fx-d-even::after, .mega-promo.fx-d-even::after { content: ""; display: block !important; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: rgba(10, 18, 26, var(--fx-sh, .6)) !important; }
.hero.fx-d-none::after, .tile.fx-d-none::after, .cat-big.fx-d-none::after, .mega-promo.fx-d-none::after { display: none !important; }
.hero.fx, .cat-big.fx { position: relative; overflow: hidden; }
/* bottom band with a banner (Admin › Pasice › Pas Akluba spodaj) */
.aklub-band.bn { position: relative; overflow: hidden; min-height: 220px; }
.aklub-band.bn > .bn-txt, .aklub-band.bn > .btn-dark, .aklub-band.bn > .bn-side { position: relative; z-index: 1; }
.aklub-band.bn .bn-side { max-height: 180px; max-width: 34%; object-fit: contain; }
.aklub-band.st-dark { background: radial-gradient(120% 140% at 100% 0%, #3A3524 0%, #16212C 55%, #0F1820 100%); }
.aklub-band.st-dark .kicker { color: #D9B648; } .aklub-band.st-dark h2 { color: #fff; } .aklub-band.st-dark p { color: #D5DBE0; }
.aklub-band.st-dark .btn-dark { background: #D9B648; color: #16212C; }
.aklub-band.st-blue { background: linear-gradient(120deg, #1E4E77, var(--blue)); } .aklub-band.st-blue h2, .aklub-band.st-blue p { color: #fff; } .aklub-band.st-blue .kicker { color: #CFE0EF; }
.aklub-band.st-blue .btn-dark { background: #fff; color: var(--blue); }
.aklub-band.st-light { background: var(--blue-t); } .aklub-band.st-light h2 { color: var(--ink); } .aklub-band.st-light p { color: var(--ink2, #3E4C59); } .aklub-band.st-light .kicker { color: var(--blue); }
.aklub-band.st-red { background: linear-gradient(120deg, #9B1E15, #B42318); } .aklub-band.st-red h2, .aklub-band.st-red p { color: #fff; } .aklub-band.st-red .kicker { color: #FDE2E2; } .aklub-band.st-red .btn-dark { background: #fff; color: #B42318; }
.aklub-band.st-none { background: none; border: 1px solid var(--line); } .aklub-band.st-none h2 { color: var(--ink); } .aklub-band.st-none p { color: var(--ink2, #3E4C59); } .aklub-band.st-none .kicker { color: var(--blue); }
.aklub-band.im-cover::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(12, 22, 32, .78), rgba(12, 22, 32, .1) 75%); }
.aklub-band.im-cover.st-none::after { display: none; }
.aklub-band.im-cover h2, .aklub-band.im-cover p { color: #fff; } .aklub-band.im-cover .kicker { color: #D9B648; } .aklub-band.im-cover { border: 0; }
.aklub-band.im-only { padding: 0; min-height: 0; display: block; } .aklub-band.im-only .bn-pic { width: 100%; height: auto; display: block; }
.aklub-band.fx-d-bottom::after, .aklub-band.fx-d-top::after, .aklub-band.fx-d-left::after, .aklub-band.fx-d-right::after, .aklub-band.fx-d-even::after { content: ""; display: block !important; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aklub-band.fx-d-bottom::after { background: linear-gradient(0deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 80%) !important; }
.aklub-band.fx-d-top::after { background: linear-gradient(180deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 80%) !important; }
.aklub-band.fx-d-left::after { background: linear-gradient(90deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 85%) !important; }
.aklub-band.fx-d-right::after { background: linear-gradient(270deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 85%) !important; }
.aklub-band.fx-d-even::after { background: rgba(10, 18, 26, var(--fx-sh, .6)) !important; }
.aklub-band.fx-d-none::after { display: none !important; }
.aklub-band.bn .c-white { color: #FFFFFF !important; }
.aklub-band.bn .c-gold { color: #D9B648 !important; }
.aklub-band.bn .c-goldd { color: #8A6D0B !important; }
.aklub-band.bn .c-blue { color: #2D6594 !important; }
.aklub-band.bn .c-sky { color: #CFE0EF !important; }
.aklub-band.bn .c-ink { color: #16212C !important; }
.aklub-band.bn .c-grey { color: #6B7785 !important; }
.aklub-band.bn .c-red { color: #B42318 !important; }
.aklub-band.bn .c-green { color: #1F7A45 !important; }
/* small category tiles with a banner (Admin › Pasice › Mala kategorija 1–4) */
.cat-small.bn { position: relative; overflow: hidden; }
.cat-small.bn > small, .cat-small.bn > strong, .cat-small.bn > span { position: relative; z-index: 1; }
.cat-small.bn small { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; color: var(--blue); }
.cat-small.st-light { background: var(--blue-t); } .cat-small.st-gold { background: var(--gold-t); } .cat-small.st-gold span { color: var(--gold-d); }
.cat-small.st-blue { background: linear-gradient(160deg, #24557F, #1E4E77); color: #fff; } .cat-small.st-blue span { color: #D8E2EC; }
.cat-small.st-dark { background: var(--dark2); color: #fff; } .cat-small.st-dark span { color: #D8E2EC; }
.cat-small.st-red { background: #B42318; color: #fff; } .cat-small.st-red span { color: #FDE2E2; }
.cat-small.st-none { background: none; border: 1px solid var(--line); }
.cat-small.bn:hover { filter: brightness(1.03); }
.cat-small.im-cover::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(12, 22, 32, .7), rgba(12, 22, 32, .05) 75%); }
.cat-small.im-cover.st-none::after, .cat-small.im-cover.st-grey::after, .cat-small.im-cover.st-light::after, .cat-small.im-cover.st-gold::after { display: none; }   /* a light picture: no shade, dark text stays */
.cat-small.im-cover:not(.st-none):not(.st-grey):not(.st-light):not(.st-gold) { color: #fff; } .cat-small.im-cover:not(.st-none):not(.st-grey):not(.st-light):not(.st-gold) span { color: #D8E2EC; }
.cat-small.im-cover.st-none { border: 0; }
.cat-small .bn-bg.bn-right { left: auto; width: 55%; object-fit: contain; object-position: right center; }
.cat-small.im-only { padding: 0; } .cat-small.im-only .bn-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-small.fx-d-bottom::after, .cat-small.fx-d-top::after, .cat-small.fx-d-left::after, .cat-small.fx-d-right::after, .cat-small.fx-d-even::after { content: ""; display: block !important; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cat-small.fx-d-bottom::after { background: linear-gradient(0deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 80%) !important; }
.cat-small.fx-d-left::after { background: linear-gradient(90deg, rgba(10, 18, 26, var(--fx-sh, .6)), rgba(10, 18, 26, calc(var(--fx-sh, .6) * .1)) 85%) !important; }
.cat-small.fx-d-even::after { background: rgba(10, 18, 26, var(--fx-sh, .6)) !important; }
.cat-small.fx-d-none::after { display: none !important; }
.cat-small.bn .c-white { color: #FFFFFF !important; }
.cat-small.bn .c-gold { color: #D9B648 !important; }
.cat-small.bn .c-goldd { color: #8A6D0B !important; }
.cat-small.bn .c-blue { color: #2D6594 !important; }
.cat-small.bn .c-sky { color: #CFE0EF !important; }
.cat-small.bn .c-ink { color: #16212C !important; }
.cat-small.bn .c-grey { color: #6B7785 !important; }
.cat-small.bn .c-red { color: #B42318 !important; }
.cat-small.bn .c-green { color: #1F7A45 !important; }
/* card: heart and compare go under a badge in the top right corner (−15 %, Novo …) instead of covering it */
.card:has(.card-img .pill.sale) .card-acts, .card:has(.card-img .pill.new) .card-acts { top: 50px; }

/* Moj račun › naročilo: odstop od pogodbe (return form in a window) */
.ret-box .btn-line { margin-top: 4px; }
.ret-done { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink2); }
.ret-modal { max-width: 600px; max-height: calc(100vh - 32px); overflow-y: auto; }
.ret-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ret-form legend { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; }
.ret-items { border-top: 1px solid var(--line) !important; padding-top: 12px !important; }
.ret-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ret-name, .ret-check span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 500; color: var(--ink); }
.ret-name small, .ret-check small { font-size: 12px; font-weight: 400; }
.ret-form .ret-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; cursor: pointer; }
.ret-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.ret-form .ret-qty { width: 80px; flex: none; text-align: center; }
.ret-opts { flex-direction: row !important; flex-wrap: wrap; gap: 8px 20px !important; }
.ret-opts legend { width: 100%; }
.ret-form .ret-radio { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 400 !important; cursor: pointer; }
.ret-radio input { width: 18px; height: 18px; accent-color: var(--blue); }
.ret-bank { display: flex; flex-direction: column; gap: 12px; }
.ret-bank[hidden] { display: none; }
.ret-sealed { background: var(--gold-t, #F6EED8); border-radius: 10px; padding: 12px 14px; }
.ret-sealed span { font-weight: 500 !important; }
.ret-no .ret-name { color: var(--muted); }
.ret-form .ret-defect { margin: 0; }

/* Cart: "Odstranjeno … · Razveljavi" for 3 seconds, bottom middle (a bit above the edge on any screen) */
.undo-bar { position: fixed; left: 50%; bottom: clamp(24px, 7vh, 80px); transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 16px;
  max-width: calc(100% - 32px); background: #1F2933; color: #fff; border-radius: 12px; padding: 12px 14px 12px 18px; box-shadow: 0 12px 32px rgba(16,24,40,.3); overflow: hidden; font-size: 15px; animation: ub-in .18s ease-out; }
.undo-bar[hidden] { display: none; }
.undo-bar .ub-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }
.undo-bar .ub-btn { flex: none; border: 0; border-radius: 8px; background: var(--gold); color: #1F2933; font: 600 14px var(--font); padding: 8px 14px; cursor: pointer; }
.undo-bar .ub-btn:hover { background: #D4B33A; }
.undo-bar .ub-time { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform-origin: left; }
.undo-bar .ub-time.run { animation: ub-time 3s linear forwards; }
@keyframes ub-time { to { transform: scaleX(0); } }
@keyframes ub-in { from { opacity: 0; transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .undo-bar { animation: none; } }
.cart-row[hidden] { display: none; }
.tr-modal .tr-reward { background: var(--gold-t); color: var(--gold-d); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.tr-modal .tr-reward a { color: inherit; font-weight: 600; }
.tr-modal .tr-more { border: 0; background: none; padding: 0; color: inherit; font: 600 14px var(--font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.tr-modal .tr-more-text { margin: 8px 0 2px; font-size: 14px; color: var(--gold-d); line-height: 1.5; }
.ord-docs { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ord-docs .btn-line { display: inline-flex; align-items: center; gap: 6px; white-space: normal; text-align: left; line-height: 1.3; }

/* a page shown inside a window (iframe): only its content */
.is-embed .shop-notice, .is-embed .skip, .is-embed .lang-bar, .is-embed .preview-bar, .is-embed .dealer-bar, .is-embed .topbar, .is-embed .header,
.is-embed .mega-dim, .is-embed .usp-strip, .is-embed .footer, .is-embed .ck-bar, .is-embed .drawer, .is-embed .drawer-dim { display: none !important; }
.is-embed main { padding-top: 8px; }
.is-embed .rt-find { top: 0; padding-top: 10px; margin-top: 0; }
.is-embed .rt-table thead th { top: var(--rtf, 66px); }
/* in the window over a product page the table is narrower: tighter cells, the cartridge name may wrap, the dashed chip
   (»ni v naši trgovini«) shows only its number – the legend under the table explains it – so all columns fit */
.is-embed .rt-table { font-size: 14px; }
.is-embed .rt-table th, .is-embed .rt-table td { padding: 8px 10px; }
.is-embed .rt-table thead th { padding: 10px; font-size: 11px; letter-spacing: .03em; }
.is-embed .rt-table tbody th { white-space: normal; min-width: 120px; }
.is-embed .rt-part { padding: 2px 8px; gap: 5px; }
.is-embed .rt-part.none small { display: none; }
/* no "save image" by a long press on phones (iPhone); admins keep it */
img { -webkit-touch-callout: none; -webkit-user-drag: none; }
body.has-fe img { -webkit-touch-callout: default; -webkit-user-drag: auto; }
/* the original PDF from Vasco in the document window: the browser's PDF viewer zooms itself */
.dp-modal .dpm-dl { display: none; }
.dp-modal.dpm-pdf .dpm-dl { display: inline-flex; align-items: center; gap: 6px; }

/* Search suggestions (Seznam / Kartice / Pregled) */
.search { position: relative; }
.header.mini.search-on .search { position: absolute; }
.sx { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 60; width: min(1000px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgba(22,33,44,.18); padding: 18px; text-align: left;
  max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
.sx[hidden] { display: none; }
.sx.sx-seznam { width: min(620px, calc(100vw - 32px)); }
.sx.sx-empty { width: min(520px, calc(100vw - 32px)); }
.sx a { color: var(--ink); }
.sx strong { font-weight: 700; }
.sx-h { margin: 0 0 8px; font: 700 11px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); min-height: 1px; }
.sx-two { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; }
.sx-side { border-right: 1px solid var(--line); padding-right: 18px; display: flex; flex-direction: column; gap: 6px; }
.sx-list { list-style: none; margin: 0 0 12px; padding: 0; }
.sx-phrase { display: block; padding: 5px 8px; border-radius: 6px; font-size: 14px; color: var(--ink2); }
.sx-phrase strong { color: var(--ink); }
.sx-phrase:hover, .sx-phrase:focus { background: var(--soft); }
.sx-brand { display: inline-block; margin: 2px 0 12px; padding: 5px 8px; font-weight: 600; color: var(--blue) !important; }
.sx-views { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.sx-vlabel { display: block; font: 700 11px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.sx-seg { display: flex; background: var(--soft); border: 1px solid var(--line2); border-radius: 8px; padding: 2px; gap: 2px; }
.sx-seg button { flex: 1; border: 0; background: none; font: 600 12px var(--font); color: var(--ink2); padding: 6px 4px; border-radius: 6px; cursor: pointer; }
.sx-seg button.on { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(22,33,44,.15); }
.sx-main { min-width: 0; }
.sx-cal { display: flex; align-items: center; gap: 12px; background: var(--blue-t); border: 1px solid #D3E0EE; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }
.sx-cal-dot { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 11px var(--font); }
.sx-cal-t { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.sx-cal-t span { font-size: 12px; color: var(--muted); }
.sx-cal-go { font: 600 13px var(--font); color: var(--blue); white-space: nowrap; }
.sx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sx-tabs button { white-space: nowrap; border: 1px solid var(--line2); background: #fff; border-radius: 999px; padding: 5px 12px; font: 600 12px var(--font); color: var(--ink2); cursor: pointer; }
.sx-tabs button.on { background: var(--dark); border-color: var(--dark); color: #fff; }
.sx-rows { display: flex; flex-direction: column; margin-bottom: 14px; }
.sx-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; }
.sx-rows.specs .sx-row { grid-template-columns: 44px minmax(0, 1fr) 64px 64px auto; }
.sx-row + .sx-row { border-top: 1px solid var(--line); }
.sx-row:hover, .sx-row:focus, .sx-card:hover, .sx-card:focus, .sx-tile:hover, .sx-tile:focus { background: var(--soft); }
.sx-thumb, .sx-cimg { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.sx-thumb { width: 44px; height: 44px; }
.sx-thumb img, .sx-cimg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sx-mid { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sx-name { font-size: 14px; line-height: 1.3; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sx-name strong { color: var(--ink); }
.sx-meta, .sx-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; }
.sx-badge { background: var(--dark); color: #fff; font: 700 10px var(--font); text-transform: uppercase; letter-spacing: .04em; padding: 2px 6px; border-radius: 4px; }
.sx-ok { color: var(--green); }
.sx-no { color: var(--muted); }
.sx-spec { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.sx-price { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; font-size: 15px; }
.sx-price s { font-size: 12px; color: var(--muted); }
.sx-price small { font-size: 11px; color: var(--muted); }
.sx-price.sale strong { color: var(--red); }
.sx-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sx-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.sx-card, .sx-tile { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-width: 0; }
.sx-cimg { height: 84px; border: 0; }
.sx-grid3 .sx-cimg { height: 120px; }
.sx-cfoot { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.sx-cfoot .sx-price { align-items: flex-start; flex-direction: row; gap: 6px; align-items: baseline; }
.sx-tile { justify-content: center; align-items: center; text-align: center; background: var(--blue-t); border-color: #D3E0EE; color: var(--blue) !important; font-size: 13px; }
.sx-tile strong { font-size: 14px; }
.sx-tile-go { font-size: 20px; }
.sx-mainfoot { text-align: center; }
.sx-allbtn { display: block; text-align: center; background: var(--blue); color: #fff !important; font-weight: 600; border-radius: 8px; padding: 10px 14px; }
.sx-allbtn:hover { background: var(--blue-d); }
.sx-mainfoot .sx-allbtn { display: inline-block; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sx-chip { border: 1px solid var(--line2); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.sx-chip.main { background: var(--dark); border-color: var(--dark); color: #fff !important; }
.sx-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.sx-foot .sx-views { margin: 0; padding: 0; border: 0; width: 240px; }
.sx-all { font-weight: 600; color: var(--blue) !important; }
.sx-none-t { margin: 4px 0; font-weight: 600; }
.sx-none-s { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .sx, .sx.sx-seznam, .sx.sx-empty { position: fixed; left: 0; right: 0; transform: none; width: auto; top: var(--sx-top, 120px); border-radius: 0 0 14px 14px; padding: 12px; max-height: calc(100vh - var(--sx-top, 120px)); }
  .sx-cal-dot { width: 36px; height: 36px; font-size: 10px; }
  .sx-row { gap: 10px; padding: 8px 4px; }
  .sx-price { font-size: 14px; }
}

/* Dealer's way of paying fixed in Vasco: shown chosen, nothing else to pick */
.co-payfix { margin: -4px 0 10px; }
.co-pay.fixed { cursor: default; }
.co-pay.fixed input { accent-color: var(--blue); pointer-events: none; }

/* Moj račun → Računi: invoice with its pro-forma folded under it */
.doc-fold, .doc-fold-sp { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 6px; vertical-align: middle; }
.doc-fold { border: 1px solid var(--line2); border-radius: 6px; background: #fff; color: var(--ink2); cursor: pointer; padding: 0; }
.doc-fold:hover { background: var(--soft); }
.doc-fold .ic { width: 12px; height: 12px; transition: transform .15s; }
.doc-fold[aria-expanded="true"] .ic { transform: rotate(180deg); }
.doc-fold-sp { color: var(--muted); }
tr.doc-sub td { font-size: 14px; }
tr.doc-sub td:first-child { padding-left: 22px; }
.doc-neg { color: var(--red); white-space: nowrap; }   /* credit note (dobropis): minus, in red */
/* cancelled order: the "Preklicano" step in the same soft orange as its badge */
.ostep.cancelled li.done:last-child .dot { background: #D9822B; border-color: #D9822B; }

/* "Misli in nasveti": one tile between the products, now and then */

/* Vprašanja in odgovori */
.pp-qa .qa { border-bottom: 1px solid var(--line, #E3E7EC); padding: 14px 0; }
.qa-q, .qa-a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin: 0 0 8px; }
.qa-q > span:last-child { font-weight: 600; }
.qa-a { margin: 0; }
.qa-mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 Inter, sans-serif; background: #EEF3F9; color: #2D6594; }
.qa-a .qa-mark { background: #FDF6E3; color: #7D6610; }
.qa small { display: block; margin-top: 3px; font-weight: 400; }
.qa-wait { background: #F4F6F9; border-radius: 10px; padding: 10px 12px; font-size: 14px; }

/* Varnost izdelka */
.pp-safety .sf-h { font-weight: 600; margin: 14px 0 6px; }
.pp-safety .sf-maker { background: #F4F6F9; border-radius: 12px; padding: 12px 16px; max-width: 520px; }
.pp-safety .sf-maker p { margin: 0; line-height: 1.6; }
.pp-safety .sf-maker .sf-h { margin: 0 0 4px; }
.sf-hz { display: flex; gap: 18px; align-items: center; margin: 16px 0 4px; padding: 14px 16px; border: 1px solid #F0C27A; background: #FFF4E2; border-radius: 12px; max-width: 640px; }
.sf-hz p { margin: 0; color: #6B3E05; line-height: 1.5; }
.sf-dia { flex: none; width: 46px; height: 46px; margin: 6px; background: #F28C28; border: 2px solid #16212C; transform: rotate(45deg); display: grid; place-items: center; }
.sf-dia span { transform: rotate(-45deg); font: 700 13px/1 Inter, sans-serif; color: #16212C; }
.sf-notes { margin: 0 0 12px; padding-left: 20px; line-height: 1.7; }

/* Sestavite svoj naboj */
.ldb { border: 1px solid var(--line, #E3E7EC); border-radius: 14px; padding: 18px 20px; }
.ldb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ldb-head h2 { margin: 0; }
.ldb-cal { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ldb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.ldb-part { border: 1px solid var(--line, #E3E7EC); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ldb-part.ldb-on { border: 2px solid #2D6594; }
.ldb-part select { width: 100%; }
.ldb-n { margin: 0; font-weight: 600; color: #16212C; }
.ldb-n small { font-weight: 500; color: #6B7384; }
.ldb-on .ldb-n, .ldb-this { color: #2D6594; }
.ldb-name, .ldb-price, .ldb-this { margin: 0; }
.ldb-note { font-size: 13px; color: #6B7384; margin: 12px 0 0; }
.ldb-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line, #E3E7EC); }

/* Skupaj ceneje */
.bd { border: 1px solid var(--line, #E3E7EC); border-radius: 14px; padding: 18px 20px; }
.bd h2 { margin: 0 0 12px; }
.bd-items { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bd-item { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line, #E3E7EC); border-radius: 10px; padding: 8px 12px; color: #16212C; text-decoration: none; flex: 1 1 200px; font-size: 14px; }
.bd-item.on { border: 2px solid #2D6594; }
.bd-item img { width: 56px; height: 56px; object-fit: contain; }
.bd-item small { display: block; color: #6B7384; }
.bd-plus { color: #6B7384; }
.bd-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #E3E7EC); }
.bd-foot p { margin: 0; }
.bd-foot strong { font-size: 20px; }
.bd-pct { background: #E8F4EC; color: #2F7D4F; border-radius: 6px; padding: 2px 8px; font-size: 13px; font-weight: 600; }

/* Balistika */
.bl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bl-sw { display: inline-flex; border: 1px solid var(--line, #E3E7EC); border-radius: 10px; overflow: hidden; }
.bl-sw button { border: 0; background: #fff; padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; color: #3E4955; }
.bl-sw button.on { background: #2D6594; color: #fff; }
.bl-wrap { overflow-x: auto; }
.bl-tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 12px 0 8px; font-size: 15px; }
.bl-tbl th, .bl-tbl td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--line, #E3E7EC); white-space: nowrap; }
.bl-tbl th:first-child, .bl-tbl td:first-child { text-align: left; }
.bl-tbl th { font-size: 13px; color: #6B7384; font-weight: 600; }

/* Any open window (modal dialog, side cart, menu drawer): the page behind does not scroll – everywhere, for every modal */
html:has(dialog[open]), html:has(.drawer.open), html:has(.drawer-dim:not([hidden])),
html:has(dialog[open]) body, html:has(.drawer.open) body { overflow: hidden; }
html { scrollbar-gutter: stable; }

/* "Samo osebni prevzem" is information, not Aklub: light blue with the store icon (gold stays Aklub's colour).
   Delivery groups in the cart become neutral grey, so pickup and delivery never look alike. */
.pickup { color: #1F4A6E; }
.pill.pickup-pill { position: static; background: #E3EDF6; color: #1F4A6E; display: inline-flex; align-items: center; gap: 5px; }
.pickup-box { background: #EEF3F9; border: 1px solid #D3E0EE; color: #1F4A6E; }
.pickup-box strong { display: flex; align-items: center; gap: 6px; }
.cart-group.pickup > header { background: #EEF3F9; color: #1F4A6E; border-bottom: 1px solid #D3E0EE; }
.mini-grp.pk h4 { background: #EEF3F9; color: #1F4A6E; }
.co-pickup { background: #EEF3F9; border: 1px solid #D3E0EE; color: #1F4A6E; }
.co-pickup h3 { color: #16212C; }
.cart-group.ship > header { background: #F3F5F7; color: #3E4955; border-bottom: 1px solid #E3E7EC; }
.mini-grp.dl h4 { background: #F3F5F7; color: #3E4955; }
.co-ship { background: #F3F5F7; color: #3E4955; }

.bl-tbl tbody tr { transition: background .12s; }
.bl-tbl tbody tr:hover { background: #EEF3F9; }

/* Pager: arrows and the active page in blue, like in admin */
.pager a.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager a:hover:not(.on) { border-color: var(--blue); color: var(--blue); }
.pager .pg-arrow .ic { width: 16px; height: 16px; }
/* Sestavite svoj naboj: four parts in one row on a normal screen */
@media (min-width: 760px) { .ldb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ldb-fit { margin: 6px 0 0; font-size: .8rem; color: var(--muted, #5b6573); }

/* ---------- "Vse kategorije": outlined button at the start of the menu row (chosen 24. 11. 2026) ---------- */
/* the logo has the left of the header to itself; the button next to it only comes back in the compact header (menu row hidden) */
.head-row > .btn-cat { display: none; }
.header.mini .head-row > .btn-cat { display: inline-flex; }
.btn-cat { border: 1px solid #C9D4E0; background: #fff; color: var(--blue); }
.btn-cat:hover, .btn-cat[aria-expanded="true"] { border-color: var(--blue); background: var(--blue-t); color: var(--blue-d); }
.header:not(.mini) .logo img { width: 140px; }
.mainnav .wrap { justify-content: flex-start; gap: 0; }
.mainnav ul { flex: 1 1 auto; min-width: 0; }
.nav-extra { flex: none; margin-left: auto; padding-left: 20px; position: relative; background: #fff; display: flex; gap: 22px; }
.nav-extra::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; width: 24px; background: linear-gradient(to right, rgba(255,255,255,0), #fff); pointer-events: none; }
.btn-cat-nav { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 36px; padding: 0 14px; margin-right: 24px; border: 1px solid #C9D4E0; border-radius: 8px;
  background: #fff; color: var(--blue); font: 600 15px var(--font); cursor: pointer; white-space: nowrap; }
.btn-cat-nav .ic { width: 18px; height: 18px; }
.btn-cat-nav:hover, .btn-cat-nav[aria-expanded="true"] { border-color: var(--blue); background: var(--blue-t); color: var(--blue-d); }
@media (max-width: 860px) {
  .header:not(.mini) .logo img { width: 132px; }
  .mainnav .wrap { padding-top: 6px; padding-bottom: 6px; }
  .mainnav ul { gap: 20px; }
  .btn-cat-nav { height: 34px; padding: 0 12px; margin-right: 16px; font-size: 14px; }
}
@media (max-width: 520px) {
  .header:not(.mini) .logo img { width: 118px; }
  .btn-cat-nav { padding: 0 10px; margin-right: 14px; }
  .mainnav ul { gap: 18px; }
}
/* the same breathing room on both sides of the search: logo | 40 px | search | 40 px | icons */
@media (min-width: 861px) {
  .header:not(.mini) .head-row > .logo { margin-right: 24px; }
  .header:not(.mini) .head-row > .head-icons { margin-left: 24px; }
}

/* ---------- mobile header (chosen 24. 11. 2026): logo alone on top, search behind the magnifier, ☰ in the menu row ---------- */
.search > .sx-cancel { display: none; }   /* only in the open search on phones */
@media (max-width: 860px) {
  .header:not(.mini) .head-row { flex-wrap: nowrap; height: 64px; padding-top: 0; padding-bottom: 0; gap: 4px; position: relative; }
  .header .head-row > .search { display: none; order: 0; flex-basis: auto; }
  .head-icons { margin-left: auto; }
  .head-icons .hi.hi-search { display: flex; padding: 8px 10px; border-radius: 10px; }
  .head-icons .hi.hi-search span { display: none; }
  .head-icons .hi.hi-search .ic { width: 22px; height: 22px; }
  .head-icons .hi-search[aria-expanded="true"] { background: var(--soft); color: var(--blue); }
  /* the magnifier opens the field right under the logo row, full width, with "Prekliči" */
  .header.search-on .head-row > .search { display: flex; position: absolute; left: 24px; right: 24px; top: calc(100% + 8px); width: auto; max-width: none; transform: none; margin: 0;
    padding: 4px 4px 4px 18px; z-index: 40; background: #fff; border: 2px solid var(--blue); box-shadow: 0 14px 34px rgba(22, 33, 44, .18); animation: mega-in .16s ease-out; }
  /* × inside the field, before the magnifier: closes it */
  .header.search-on .search .sx-cancel { display: grid; place-items: center; flex: none; order: 2; width: 36px; height: 36px; margin-right: 4px; padding: 0; border: 0; border-radius: 50%;
    background: var(--soft); color: var(--ink2); cursor: pointer; }
  .header.search-on .search .sx-cancel .ic { width: 16px; height: 16px; }
  .header.search-on .search input { order: 1; min-width: 0; }
  .header.search-on .search > button[type="submit"] { order: 3; flex: none; }
  /* menu row: ☰ as a small outlined button, then the categories to swipe */
  .btn-cat-nav { width: 38px; height: 34px; padding: 0; margin-right: 14px; justify-content: center; }
  .btn-cat-nav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .btn-cat-nav .ic { width: 20px; height: 20px; }
  .topbar .wrap { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .header.search-on .head-row > .search { animation: none; } }
/* one × only: the browser's own clear button in the search field is hidden (ours empties, then closes) */
.search input::-webkit-search-cancel-button, .search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
/* compact header on the computer: logo | Kategorije | search | icons with the same space between each */
@media (min-width: 861px) {
  .header.mini .head-row > .btn-cat { margin-left: auto; }
  .header.mini .head-row > .search { margin: 0 auto; }
  .header.mini .head-row > .head-icons { margin-left: 0; }
}
/* product table: the column names stay under the shop header while the rows scroll with the page (no inner scroll box) */
@media (min-width: 1260px) {   /* narrower screens keep the table in its own sideways box: the page itself never scrolls sideways */
  .ptable th, .ptable td { padding-left: 9px; padding-right: 9px; }
  /* the frame is drawn by the cells, so the header keeps its rounded top and border while it stays on screen */
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .ptable { border-collapse: separate; border-spacing: 0; }
  .ptable td:first-child { border-left: 1px solid var(--line); }
  .ptable td:last-child { border-right: 1px solid var(--line); }
  .ptable tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .ptable tbody tr:last-child td:first-child { border-bottom-left-radius: 14px; }
  .ptable tbody tr:last-child td:last-child { border-bottom-right-radius: 14px; }
  .ptable thead th { position: sticky; top: calc(var(--hh, 0px) + 12px); z-index: 20; border-top: 1px solid var(--line); }
  /* white above the header row and outside its round corners: rows (and their side lines) scrolling under never show */
  .ptable thead th::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: calc(100% + 1px); height: 14px; background: #fff; pointer-events: none; }
  .ptable thead th:first-child { border-left: 1px solid var(--line); border-top-left-radius: 14px; }
  .ptable thead th:last-child { border-right: 1px solid var(--line); border-top-right-radius: 14px; }
  .ptable thead th:first-child::before, .ptable thead th:last-child::before { content: ""; position: absolute; top: -1px; width: 14px; height: 14px; pointer-events: none; }   /* 14 px square from the outer corner: its inner corner is the centre of the round border */
  .ptable thead th:first-child::before { left: -1px; background: radial-gradient(circle at 100% 100%, transparent 14px, #fff 14.6px); }
  .ptable thead th:last-child::before { right: -1px; background: radial-gradient(circle at 0 100%, transparent 14px, #fff 14.6px); }
  .ptable thead th:first-child::after { left: -2px; }
  .ptable thead th:last-child::after { right: -2px; }
}
/* product name gets the room it needs (two or three lines, not one word per line) */
.ptable td.pt-name { width: 34%; min-width: 230px; }
.ptable td.pt-name .thumb { flex: none; }
/* too many boxes: the note is a small card under the field (white, on top), not loose text over the stock column */
.qty-over .qty-pcs { z-index: 6; top: calc(100% - 12px); display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: #fff; border: 1px solid #F1C4C0;
  border-radius: 10px; box-shadow: 0 8px 22px rgba(16, 24, 40, .14); color: #B42318; font-size: 12px; line-height: 16px; }
.bb-buy .qty-over .qty-pcs { position: static; box-shadow: none; justify-content: center; }

/* Savings: B2C one green line, B2B invoice-like block (Cenik → rabati → Izdelki brez DDV) */
.cart-sum .saved, .co-sum .saved, .ord-dl .saved { margin-top: 8px; padding: 9px 12px; border-radius: 10px; background: #EAF5EE; color: #2F7D4F; font-weight: 600; }
.cart-sum .saved dt, .co-sum .saved dt { display: flex; align-items: center; gap: 8px; }
.cart-sum .saved .ic, .co-sum .saved .ic { width: 16px; height: 16px; }
.sv-list dd { font-weight: 600; }
.sv-row.ok dt, .sv-row.ok dd { color: #2F7D4F; }
.sv-sub { padding-top: 3px !important; padding-bottom: 3px !important; font-size: 14px !important; }
.sv-sub dt { padding-left: 12px; }
.sv-sub small { color: var(--muted); font-size: 12px; margin-left: 4px; white-space: nowrap; }
.sv-net { border-top: 1px dashed var(--line); margin-top: 4px; }
.sv-net dd { font-weight: 700; }
.sv-more { border: 0; background: none; padding: 0; margin-left: 6px; color: var(--blue); font: inherit; font-size: 13px; font-weight: 500; text-decoration: underline; cursor: pointer; }
.co-table .saved td { color: #2F7D4F; font-weight: 600; border-bottom: 0; }
.co-table .saved small { color: var(--muted); font-weight: 400; }
.co-table .sv-head td { border-top: 1px solid var(--line); }
.acc-stats { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.acc-stats .saved { background: #EAF5EE; }
.acc-stats .saved strong { color: #2F7D4F; }
@media (max-width: 860px) { .acc-stats:has(.saved) div:last-child { grid-column: auto; } .acc-stats:has(.saved) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Moj račun → Aklub ponudba */
.acc-dot.new { background: #2F7D4F; box-shadow: 0 0 0 3px rgba(47, 125, 79, .18); }
.acc-ic.gold { background: var(--gold-t); color: var(--gold-d); }
.akd-sec { margin: 8px 0 30px; }
.akd-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.akd-head h2 { font-size: 22px; margin: 0; }
.akd-head p { margin: 0; }
.akd-early { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.akd-early > .card { flex: 1; }
.akd-when { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: var(--gold-t); color: var(--gold-d); border-radius: 10px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; }
.akd-all { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--gold-t); color: var(--gold-d); font-size: 14px; }
.akd-all .ic { color: var(--gold); flex: 0 0 auto; }

/* Card: a long calibre never runs under the discount / Novo pill – it is cut with … (full name in the tooltip) */
.card-img .pill.cal { max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-img:has(.pill.sale) .pill.cal, .card-img:has(.pill.new) .pill.cal { max-width: calc(100% - 96px); }

/* Search window (Pregled): always inside the screen without a scrollbar (shop.js fit() leaves out what does not fit) */
.sx.sx-fit { overflow: hidden; }
.sx-name.one { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; }
.sx-cfoot { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 6px; min-width: 0; }
.sx-cfoot .sx-price { flex: none; }
.sx-cfoot .sx-badges { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
.sx-badge { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; min-width: 0; }
.sx-meta { flex-wrap: nowrap; min-width: 0; }
.sx-meta .sx-ok, .sx-meta .sx-no { white-space: nowrap; }
.sx-tabs button:not(.on):hover, .sx-tabs button:not(.on):focus-visible { background: #E9ECEF; border-color: #C9D1DA; color: var(--ink); }

/* RCBS hover card: "V košarico" right in the card */
.hc-acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.hc-acts .hc-go { margin-top: 0; }
.hc-buy { flex: none; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font: 700 13px var(--font); padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.hc-buy:hover { background: var(--blue-d); }
.hc-buy:disabled { opacity: .6; cursor: default; }
.hc-buy.done { background: #EAF5EE; color: #2F7D4F; cursor: default; }
/* product page: what was bought in the window over it */
.bb-added { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: #EAF5EE; color: #2F7D4F; font-size: 14px; font-weight: 600; }
.hc:has(.hc-buy) { width: 340px; }
.mini-free.abroad { background: var(--soft); color: var(--ink); } .mini-free.abroad p { margin: 0; }

/* Big banner: several running at once turn into a carousel (Admin › Pasice – only the big one on the left) */
.hero h2.hero-h { font-size: 52px; margin: 0 0 14px; line-height: 1.05; }
@media (max-width: 860px) { .hero h2.hero-h { font-size: 36px; } }
.hero-car { position: relative; display: grid; border-radius: 18px; overflow: hidden; }
.hero-car > .car-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.hero-car > .car-slide.on { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.car-arrow { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; }
.car-arrow .ic { width: 16px; height: 16px; }
.car-arrow.prev { left: 12px; } .car-arrow.next { right: 12px; }
.hero-car:hover .car-arrow, .car-arrow:focus-visible { opacity: 1; }
.car-arrow:hover { background: rgba(255,255,255,.32); }
.car-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.car-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s, background .25s; }
.car-dots button.on { width: 26px; background: #fff; }
@media (hover: none) { .car-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-car > .car-slide { transition: none; } }

/* banner body text: never more than 3 lines on the page (a longer translation ends with …) */
.bn-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }

/* banner button: own background (chosen in Pasice); text stays readable unless a text colour is chosen too */
.bb-white { background: #FFFFFF !important; } .bb-white:not([class*=" c-"]) { color: #16212C !important; }
.bb-gold { background: #D9B648 !important; } .bb-gold:not([class*=" c-"]) { color: #16212C !important; }
.bb-goldd { background: #8A6D0B !important; } .bb-goldd:not([class*=" c-"]) { color: #fff !important; }
.bb-blue { background: #2D6594 !important; } .bb-blue:not([class*=" c-"]) { color: #fff !important; }
.bb-sky { background: #CFE0EF !important; } .bb-sky:not([class*=" c-"]) { color: #16212C !important; }
.bb-ink { background: #16212C !important; } .bb-ink:not([class*=" c-"]) { color: #fff !important; }
.bb-grey { background: #6B7785 !important; } .bb-grey:not([class*=" c-"]) { color: #fff !important; }
.bb-red { background: #B42318 !important; } .bb-red:not([class*=" c-"]) { color: #fff !important; }
.bb-green { background: #1F7A45 !important; } .bb-green:not([class*=" c-"]) { color: #fff !important; }

/* ---- Phones: the page never gets wider than the screen ---- */
/* safety net: if something is still too wide, it is cut at the edge instead of making the whole page wider (and smaller) on a phone */
html, body { overflow-x: clip; }
/* the language list exists only while it is open (closed it still widened the page on narrow phones) */
.lang-switch:not([open]) ul { display: none; }
@media (max-width: 600px) {
  .lang-switch ul { left: auto; right: 0; max-width: calc(100vw - 32px); }
  /* price and stock: stock goes under the price when there is no room beside it */
  .bb-top { flex-wrap: wrap; align-items: flex-start; row-gap: 8px; }
  .bb-top > div:first-child { flex: 1 1 auto; min-width: 0; }
  .bb-stock { text-align: left; flex: 1 1 100%; }
}
/* long words (codes, e-mails, links) break instead of pushing the page wider */
main p, main li, main dd, main h1, main h2, main h3 { overflow-wrap: break-word; }
@media (max-width: 600px) {
  /* ballistics: the column names break before the unit, so the whole table fits the phone */
  .bl-tbl th { white-space: normal; line-height: 1.25; vertical-align: bottom; }
  .bl-tbl th, .bl-tbl td { padding: 8px 6px; }
  .bl-tbl { font-size: 14px; }
  /* small text links get a finger-sized tap area */
  .tr-open, .f-more { padding-top: 8px; padding-bottom: 8px; }
}
/* category menu: scrolls inside itself when taller than the screen; on a phone the page behind stays still */
.mega-inner { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (max-width: 860px) { html:has(#mega:not([hidden])), html:has(#mega:not([hidden])) body { overflow: hidden; } }

/* Cart: window for products we do not send abroad */
.ab-modal { max-width: 480px; }
.ab-modal .sm-in { position: relative; }
.ab-modal h3 { padding-right: 36px; }
.ab-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.ab-x:hover { background: var(--soft); color: var(--ink); }
.ab-x .ic { width: 16px; height: 16px; }
.ab-list { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid #F1E3BE; background: #FFF8E6; border-radius: 12px; max-height: 40vh; overflow-y: auto; scrollbar-width: thin; }
.ab-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-weight: 600; font-size: 14px; line-height: 1.35; }
.ab-list li + li { border-top: 1px solid #F1E3BE; }
.ab-list img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; flex: none; }
.ab-list small { color: var(--muted); font-weight: 500; }
.ab-act { display: grid; gap: 10px; }
.ab-act form { margin: 0; }
.ab-act .wide { width: 100%; justify-content: center; text-align: center; }
.ab-act button:disabled { opacity: .6; cursor: default; }
.ab-close { justify-self: center; margin-top: 2px; padding: 8px 12px; }
.ab-foot { margin: 14px 0 0 !important; text-align: center; font-size: 13px !important; }
.cart-sum .sum-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #8A6D0B; background: #FFF8E6; border: 1px solid #F1E3BE; border-radius: 10px; padding: 9px 12px; margin: 0 0 12px; }
.cart-sum .sum-note .ic { flex: none; margin-top: 2px; }
.cart-row[hidden] { display: none; }
.ab-act .btn-line, .ab-act .btn-blue { white-space: normal; height: auto; min-height: 46px; margin: 0; padding: 11px 16px; font-size: 14px; line-height: 1.3; display: flex; align-items: center; gap: 8px; }
.ab-close { border: 0; background: none; font: 600 14px var(--font); color: var(--muted); cursor: pointer; border-radius: 8px; }
.ab-close:hover { color: var(--ink); background: var(--soft); }

/* header counters (Želje, Primerjaj, Obvestila): pinned to the icon, not to the label – a long label
   ("Lista dei desideri", "Wunschliste") no longer pushes the number away from the heart */
.hi .hi-n { right: auto; left: calc(50% + 3px); top: -5px; }

/* number fields: no browser spinner arrows (our − / + stepper or plain typing instead) */
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Moj račun › naročilo (trgovec): parcels ready for his courier */
.ord-pcl { margin-top: 14px; background: #FBF6E6; border: 1px solid #EADFB8; border-radius: 12px; padding: 14px 16px; }
.ord-pcl-h { display: flex; gap: 12px; align-items: center; margin: 0; }
.ord-pcl-h > .ic { width: 26px; height: 26px; color: #8A6D0B; flex: none; }
.ord-pcl-h span { display: flex; flex-direction: column; }
.ord-pcl-h small { font-size: 12px; color: #8A6D0B; font-weight: 600; letter-spacing: .03em; }
.ord-pcl-h strong { font: 700 20px var(--head); color: var(--ink); }
.ord-pcl-t { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.ord-pcl-t th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); padding: 0 0 4px; }
.ord-pcl-t td { padding: 7px 0; border-top: 1px solid #EADFB8; }
.ord-pcl-t .num { text-align: right; white-space: nowrap; }
.ord-pcl-t tr.sum td { border-top: 2px solid #D9C88A; font-weight: 700; }

/* Moj račun › naročilo: courier and parcel numbers with "Sledi paketu" */
.ord-track { align-items: flex-start; }
.ord-track > .ic { margin-top: 3px; flex: none; color: var(--blue); }
.ord-track p { margin: 0; }
.ord-track ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.ord-track li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.ord-track li a { font-weight: 600; white-space: nowrap; }
.ord-track .small { margin-top: 6px; }

/* Blagajna: delivery service (only when "Kupec izbere dostavno službo" is on) */
.co-carrier { margin-top: 18px; }
.co-carrier h3 { margin: 0 0 8px; font-size: 15px; }
.co-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.co-chip { position: relative; cursor: pointer; }
.co-chip input { position: absolute; opacity: 0; pointer-events: none; }
.co-chip span { display: inline-block; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 18px; font-weight: 600; background: #fff; }
.co-chip input:checked + span { border-color: var(--blue); background: var(--blue-t); color: var(--blue-d); box-shadow: inset 0 0 0 1px var(--blue); }
.co-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Moj račun – compact order rows (click row = details, arrow = steps) */
.ord-compact { gap: 10px; }
.ord-compact .ord { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.ord-compact .ord:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(22,33,44,.07); }
.ord-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; }
.ord-main { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto auto minmax(90px, auto); align-items: center; gap: 16px; color: var(--ink); }
.ord-main { cursor: pointer; }
.ord-main .ord-no { color: var(--ink); align-self: flex-start; }   /* only the number itself is the link, not the whole line */
.ord-main .ord-no:hover { color: var(--blue); text-decoration: underline; }
.ord-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ord-compact .ord-no { font-size: 17px; }
.ord-compact .ord-pics { gap: 6px; }
.ord-compact .ord-pic { width: 40px; height: 40px; border-radius: 8px; font-size: 16px; }
.ord-compact .ord-pic.more { font-size: 12px; }
.ord-tot { font: 700 18px var(--head); text-align: right; white-space: nowrap; }
.ord-row .ord-tog { flex: none; width: 36px; height: 36px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line2); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.ord-row .ord-tog:hover { border-color: var(--blue); color: var(--blue); }
.ord-row .ord-tog .ic { transition: transform .2s; }
.ord.open .ord-tog { background: var(--blue); border-color: var(--blue); color: #fff; }
.ord.open .ord-tog .ic { transform: rotate(180deg); }
.ord-more { padding: 4px 18px 18px; border-top: 1px solid var(--line); }
.ord-more .ord-body { margin: 12px 0 0; }
.ord-more .ord-names { margin: 0; white-space: normal; max-width: none; }
.ord-open { margin: 16px 0 0; text-align: right; }
.ord-open .btn-line { display: inline-flex; align-items: center; gap: 6px; }
.ord-open .btn-line { background: #EEF1F5; border-color: #D5DCE5; color: #1F2A37; }
.ord-open .btn-line:hover { background: #E2E8F0; border-color: #2D6594; color: #2D6594; }
@media (max-width: 720px) {
  .ord-main { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .ord-compact .ord-pics { display: none; }
  .ord-main .acc-st { grid-column: 1; justify-self: start; }
  .ord-tot { grid-row: 1; grid-column: 2; }
  .ord-row { padding: 12px 12px 12px 16px; }
  .ord-more { padding: 4px 16px 16px; }
  .ord-more .ord-body { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ord-open { text-align: left; }
}

/* Računi: a row with linked documents opens with a click anywhere (links and buttons keep their own job) */
tr.doc-row-fold { cursor: pointer; }
tr.doc-row-fold:hover td { background: #F6F8FA; }

/* Aklub welcome for store members (first login online) */
.aw-modal { max-width: 500px; }
.aw-modal .sm-in { padding: 26px 26px 22px; }
.aw-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #fff; border-radius: 999px; padding: 4px 12px; font: 700 13px var(--font); margin-bottom: 12px; }
.aw-modal h3 { padding-right: 36px; }
.aw-form { display: grid; gap: 16px; }
.aw-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.aw-btns .btn-gold { display: inline-flex; align-items: center; gap: 8px; }
.aw-btns .btn-line { padding: 12px 18px; font-size: 15px; }

/* Moj račun – store purchases (invoices from Vasco, till receipts shown as our copy) */
.sd-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #FFF1E0; color: #B4590E; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.ak-year .ak-sub { margin: 22px 0 10px; font-size: 15px; }
.ak-docs { display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ak-docs:hover { border-color: var(--gold); box-shadow: 0 6px 18px rgba(22, 33, 44, .07); }
.ak-docs > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.ak-docs strong { color: var(--ink); }
.ak-docs small { color: var(--muted); font-size: 13px; }
.ak-docs-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-t); color: var(--gold-d); display: grid; place-items: center; flex: none; }
.ak-docs-arrow { font-size: 24px; color: var(--muted); transition: transform .15s, color .15s; }
.ak-docs:hover .ak-docs-arrow { color: var(--gold-d); transform: translateX(3px); }
.ak-year .ak-docs { margin: 18px 0 0; }
/* a "done" message in the page fades out together with its pop-up */
[data-toast] { transition: opacity .4s, max-height .4s, margin .4s, padding .4s; max-height: 400px; overflow: hidden; }
[data-toast].msg-out { opacity: 0; max-height: 0; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
/* checkout / order done: data used only for this order */
.co-saved-note { display: flex; gap: 8px; align-items: flex-start; background: #FFF6E6; color: #7A4A0C; border: 1px solid #F1D6A8; border-radius: 10px; padding: 10px 14px; font-size: 14px; line-height: 1.5; margin: 4px 0 0; }
.co-saved-note .ic { flex: 0 0 auto; margin-top: 3px; }
.co-saved-note a { color: inherit; font-weight: 600; text-decoration: underline; }
.co-done .co-saved-note { text-align: left; margin: 16px 0 0; }
/* a save button with unsaved changes turns gold, "Prekliči" next to it (as in admin) */
.is-dirty { background: var(--gold, #B08A12) !important; border-color: var(--gold, #B08A12) !important; color: #16212C !important; box-shadow: 0 0 0 4px rgba(176, 138, 18, .22); }
.dirty-cancel { margin-right: 8px; }

/* Cart colours (decided 26.11.2026, second round): "can be sent" is the calm blue – the delivery group and its free-delivery bar,
   always. The store pickup group is neutral grey, so the two never look alike. The same in the mini cart and the checkout summary. */
.cart-group.ship > header, .mini-grp.dl h4, .co-grp.dl h4 { background: #EEF3F9; color: #1F4A6E; border-bottom: 1px solid #D3E0EE; }
.cart-group.pickup > header, .mini-grp.pk h4, .co-grp.pk h4 { background: #F3F5F7; color: #3E4955; border-bottom: 1px solid #E3E7EC; }
/* "Shranjeno za pozneje": not a way to get the goods, a parking place – white with a dashed edge, a bookmark, quieter rows */
.cart-group.later { background: #fff; border: 1.5px dashed #C9D0D8; }
.cart-group.later > header { background: #fff; color: #3E4955; border-bottom: 1px solid #ECEFF2; }
.cart-group.later > header .ic { color: #8A929B; }
.cart-group.later > header small { color: #8A929B; }
.cart-group.later .later-n { font-weight: 400; color: #8A929B; }
.cart-group.later .cart-row { opacity: .9; }

/* Aklub akcija (dated Aklub row from Vasco): gold instead of the red/blue of an akcija for everyone */
.pill.sale.akd { background: var(--gold); color: #16212C; }
.pp-promo.pp-aklub { background: linear-gradient(135deg, #16212C, #6B5810); }
.pp-aklub .ppp-low { color: #EDE3BE; }
.bb-price.ak.akd, .price.is-akdeal strong { color: var(--gold-d); }
.price.is-akdeal .ak-reg s { color: var(--muted); }

/* Novosti / Akcije – one look for both pages (after MidwayUSA): lead, big category tiles, discount boxes, sliding rows; a tile opens the list */
.lp-aklub { display: flex; align-items: center; gap: 14px; background: var(--gold-t); color: var(--gold-d); border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; }
.lp-aklub > .ic { width: 22px; height: 22px; color: var(--gold); flex: none; }
.lp-aklub > div { flex: 1; display: grid; gap: 2px; font-size: 14px; }
.lp-aklub strong { font: 700 16px var(--head); color: #16212C; }
.lp-aklub .btn-gold { flex: none; padding: 9px 16px; font-size: 14px; text-decoration: none; }
.lp-lead { margin: -4px 0 20px; color: var(--muted); font-size: 16px; }
.lp-h { font: 700 22px var(--head); margin: 6px 0 14px; }
.lp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin: 0 0 32px; }
.lp-tile { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 18px 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-align: center; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.lp-tile:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22, 33, 44, .10); }
.lp-img { width: 150px; height: 150px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; overflow: hidden; font: 700 40px var(--head); color: var(--line2); }
.lp-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.lp-tile:hover .lp-img img { transform: scale(1.05); }
.lp-img .ic { width: 54px; height: 54px; }
.lp-nm { font: 700 17px var(--head); line-height: 1.2; }
.lp-tile small { color: var(--muted); font-size: 13px; }
.lp-tile.all .lp-img { background: var(--blue-t); color: var(--blue); }
.lp-tile.gold { border-color: var(--gold); background: #FFFCF2; }
.lp-tile.gold .lp-img { background: var(--gold-t); color: var(--gold); }
.lp-tile.gold:hover { border-color: var(--gold-d); }
.lp-disc { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin: 0 0 32px; }
.lp-disc a { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #16212C, #2D6594); color: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.lp-disc a:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22, 33, 44, .18); }
.lp-disc strong { font: 800 34px var(--head); line-height: 1; color: #fff; }
.lp-disc small { color: #C9D6E2; font-size: 13px; }
.lp-row { margin: 0 0 30px; }
.lp-slide { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, calc((100% - 48px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; }
.lp-slide > * { scroll-snap-align: start; }
.lp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.lp-lbl { font-weight: 600; font-size: 14px; color: var(--muted); margin-right: 4px; }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line2); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: 14px; text-decoration: none; }
.lp-chip small { color: var(--muted); font-weight: 500; }
.lp-chip:hover { border-color: var(--blue); color: var(--blue); }
.lp-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.lp-chip.on small { color: #DCE6F0; }
.lp-chip.gold { border-color: var(--gold); color: var(--gold-d); }
.lp-chip.gold.on { background: var(--gold); color: #16212C; }
.lp-chip.gold.on small { color: #3E3208; }
.lp-chip .ic { width: 13px; height: 13px; color: var(--gold); }
.lp-chip.gold.on .ic { color: #16212C; }
@media (max-width: 600px) {
  .lp-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lp-img { width: 110px; height: 110px; }
  .lp-disc { grid-template-columns: repeat(2, 1fr); }
  .lp-slide { grid-auto-columns: 78%; }
  .lp-aklub { flex-wrap: wrap; align-items: flex-start; row-gap: 12px; }
  .lp-aklub > .ic { margin-top: 2px; }
  .lp-aklub > div { flex: 1 1 0; min-width: 0; }
  .lp-aklub .btn-gold { flex: 1 1 100%; text-align: center; }
}
.lp-deal { margin-top: 2px; font-size: 12px; font-weight: 700; color: #fff; background: var(--sale); border-radius: 999px; padding: 2px 10px; }
.lp-deal.gold { background: var(--gold); color: #16212C; }
.lp-disc a.gold { background: linear-gradient(135deg, #7D6610, #BF9E22); }
.lp-disc a.gold small { color: #F6EFD6; }
.lp-hrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lp-hrow h2 { font: inherit; margin: 0; }
.lp-hrow a { font: 600 14px var(--font); color: var(--blue); }
.lp-top { margin-bottom: 14px; }
.lp-more { display: block; width: max-content; margin: 0 auto 34px; border: 1px solid var(--blue); color: var(--blue); background: #fff; border-radius: 10px; padding: 10px 26px; font-weight: 600; text-decoration: none; }
.lp-more:hover { background: var(--blue-t); }
.notice.work { display: flex; gap: 12px; align-items: flex-start; background: var(--blue-t); color: var(--ink2); border: 1px solid #D6E2EF; }
.notice.work .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.notice.work strong { color: var(--ink); }

/* mega menu on a phone: the title on its own row, »Preglednica RCBS« and »Vse v kategoriji« side by side under it, never broken */
@media (max-width: 760px) {
  .mega-title { flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .mega-title h2 { flex: 1 0 100%; font-size: 22px; }
  .mega-title a { white-space: nowrap; font-size: 14px; }
  .cat-head .subcats-toggle { margin-left: 0; }   /* under the title, on the left – not hanging on the right */
  .bb-buy .btn-blue.big { white-space: nowrap; padding: 12px 14px; flex: 1 1 auto; }   /* »Dodaj v košarico« on one line next to the − 1 + */
  /* cart steps: numbers only, the current step with its name – one short row instead of three */
  .steps { flex-wrap: nowrap; gap: 4px; }
  .steps li { padding-right: 6px; font-size: 13px; white-space: nowrap; }
  .steps li:not(.on) { font-size: 0; }
  .steps li:not(.on) span { font-size: 13px; }
  .steps li:not(:last-child)::after { width: 16px; margin-left: 6px; }
  .co-shipto label > span { white-space: nowrap; }
  /* the list view (Tabela) on a phone: one compact card per product – name; diameter, weight, type and stock; price and the cart button.
     A wide table there showed only two columns (price and the cart button were cut off). */
  .ptable, .ptable tbody { display: block; }
  .ptable thead { display: none; }
  .ptable tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .ptable tbody tr:first-child { border-top: 0; }
  .ptable tbody td { display: block; padding: 0; border: 0; }
  .ptable td.pt-name { flex: 0 0 100%; }
  .ptable td:nth-child(5) { display: none; }                                       /* Kos – already in the name */
  .ptable td:nth-child(3) strong, .ptable td:nth-child(3) small { display: inline; font-size: 13px; }
  .ptable td:nth-child(3) small { margin-left: 4px; }
  .ptable td:nth-child(4) { font-size: 13px; color: var(--ink2); }
  .ptable td:nth-child(7) { margin-left: auto; font-size: 13px; text-align: right; }   /* stock, on the right of the same row */
  .ptable td:nth-child(6) { order: 1; flex: 1 0 60%; text-align: left; }            /* price on its own row … */
  .ptable td:nth-child(6) .ak-line, .ptable td:nth-child(6) .ak-own { justify-content: flex-start; }
  .ptable td:nth-child(6) s + strong { margin-left: 6px; }
  .ptable td:last-child { order: 2; }                                               /* … with the cart button next to it */
}
/* Mega menu: a category made of two parts (Reloading = Surovine + Oprema za polnjenje) in two titled sections */
.mega-sec + .mega-sec { margin-top: 14px; }
.mega-sec-h { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font: 700 13px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-d, #8A7215); }
.mega-sec-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* chips under the groups: at most three rows, so the menu does not grow */
.mega-chips .chips { max-height: calc(3 * 34px + 2 * 8px); overflow: hidden; }
.mega-chips .chip { line-height: 20px; }
/* RCBS table (desktop): the table draws its own frame – rounded blue header on top, grey side lines on the rows, rounded bottom – so the
   header keeps its round corners also while it sticks under the search bar; the page colour fills the corners (no row shows there) */
@media (min-width: 981px) {
  .rt-table-wrap { border: 0; border-radius: 12px; }
  .rt-table { border-collapse: separate; border-spacing: 0; }
  .rt-table tbody tr > :first-child { border-left: 1px solid var(--line); }
  .rt-table tbody tr > :last-child { border-right: 1px solid var(--line); }
  .rt-table tbody tr:last-child > :first-child { border-bottom-left-radius: 12px; }
  .rt-table tbody tr:last-child > :last-child { border-bottom-right-radius: 12px; }
  .rt-table thead th:first-child { border-top-left-radius: 12px; }
  .rt-table thead th:last-child { border-top-right-radius: 12px; }
  .rt-table thead th:first-child::before, .rt-table thead th:last-child::after { content: ""; position: absolute; top: 0; width: 12px; height: 12px; pointer-events: none; }
  .rt-table thead th:first-child::before { left: 0; background: radial-gradient(circle at 100% 100%, transparent 11.5px, #fff 12px); }
  .rt-table thead th:last-child::after { right: 0; background: radial-gradient(circle at 0 100%, transparent 11.5px, #fff 12px); }
}
/* sideways product rows: arrows instead of a scrollbar */
.lp-slide { scrollbar-width: none; padding-bottom: 6px; }
.lp-slide::-webkit-scrollbar { display: none; }
.rail { position: relative; }
.rail-btn { position: absolute; top: 42%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line2); background: #fff;
  color: var(--blue); display: none; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(22,33,44,.16); transition: background .15s, color .15s, transform .15s; }
.rail-btn .ic { width: 16px; height: 16px; }
.rail-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.rail-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.rail-btn.prev { left: -16px; }
.rail-btn.next { right: -16px; }
.rail.can-prev .rail-btn.prev, .rail.can-next .rail-btn.next { display: grid; }
@media (max-width: 760px) { .rail-btn { width: 40px; height: 40px; } .rail-btn.prev { left: 4px; } .rail-btn.next { right: 4px; } }

/* Moji podatki – shared reviewer account (read only) */
.acc-review-note { display: flex; gap: 8px; align-items: flex-start; background: var(--gold-t); color: var(--gold-d); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.acc-review-data { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 16px 0 0; }
.acc-review-data dt { color: var(--muted, #6b7280); font-size: 14px; }
.acc-review-data dd { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .acc-review-data { grid-template-columns: 1fr; gap: 2px; } .acc-review-data dd { margin-bottom: 10px; } }

/* RCBS orodja za iztiskanje netilk (Exp-Decap Units) – same cards and table as Preglednica RCBS */
.dc-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 14px 0; padding: 8px 10px; border-radius: 8px; background: var(--gold-t); color: var(--gold-d); font-size: 13px; line-height: 1.4; }
.rt-fits .dc-note { margin: 12px 0 0; }
.dc-units .rt-htitle { text-transform: none; font-size: 15px; letter-spacing: 0; }
.dc-table { max-width: 820px; }
.dc-table td { white-space: normal; }
.rt-intro + .rt-intro { margin-top: 6px; }

/* Preglednica RCBS: the way to the decap units, right above the search */
.rt-decap-bar { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--gold-t); color: var(--gold-d); font-size: 14px; line-height: 1.4; text-decoration: none; transition: background .15s; }
.rt-decap-bar:hover, .rt-decap-bar:focus-visible { background: #F0E5C0; color: var(--gold-d); text-decoration: none; }
.rt-decap-bar strong { font-weight: 700; }
.rt-decap-bar .ic:last-child { flex: none; }

/* Prednaročilo (pre-order) – same page, a quiet blue label; no new colours */
.pre { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.pre .ic { width: 14px; height: 14px; }
.pre.soon { color: var(--ink2); }
.pre-arr { color: var(--muted); font-weight: 400; }
.bb-stock .pre + small { display: block; color: var(--muted); }
.bb-pre-info { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--blue-t); color: var(--ink2); font-size: 14px; line-height: 1.45; }
.bb-pre-info .ic { width: 15px; height: 15px; vertical-align: -2px; color: var(--blue); }
.bb-pre { margin: 4px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--blue-t); color: var(--ink2); font-size: 14px; line-height: 1.45; }
.bb-pre p { margin: 0; }
.bb-pre .ic { width: 15px; height: 15px; vertical-align: -2px; color: var(--blue); }
.bb-pre a { font-weight: 600; margin-left: 4px; }
.pill-pre { background: var(--blue-t); color: var(--blue); border-radius: 999px; padding: 3px 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.pill-pre .ic { width: 12px; height: 12px; }
.notice.pre-note { display: flex; gap: 10px; align-items: flex-start; background: var(--blue-t); border: 1px solid #D6E2EF; color: var(--ink2); }
.notice.pre-note .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--blue); }
/* checkout: pre-order next to other items */
.co-split-box { margin: 16px 0 4px; padding: 14px 16px; border-radius: 12px; background: var(--blue-t); border: 1px solid #D6E2EF; display: grid; gap: 8px; }
.co-split-box h3 { margin: 0 0 2px; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.co-split-box h3 .ic { width: 16px; height: 16px; color: var(--blue); }
.co-split { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.co-split.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.co-split input { margin-top: 3px; accent-color: var(--blue); }
.co-split span { display: grid; gap: 2px; }
.co-split small { color: var(--muted); }
.co-split small span { display: inline; }
.co-pre-pick p { margin: 0 0 6px; }
.co-pre-pick .ic { width: 15px; height: 15px; vertical-align: -2px; color: var(--blue); }

/* ---------- "Več ▾": menu categories that don't fit the row (owner 30. 11. 2026 – e.g. German, Italian) ---------- */
.mainnav ul.fitted { overflow: hidden; flex: 0 1 auto; }   /* "Več" sits right after the last category */
.nav-more { position: relative; flex: none; margin-left: 22px; }
.nav-more[hidden] { display: none; }
.nav-more-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px;
  background: none; color: var(--ink); font: 500 15px var(--font); cursor: pointer; white-space: nowrap; }
.nav-more-btn .ic { width: 12px; height: 12px; transition: transform .15s ease; }
.nav-more-btn:hover, .nav-more-btn[aria-expanded="true"] { border-color: #C9D4E0; background: var(--blue-t); color: var(--blue); }
.nav-more-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav-more-btn.on { color: var(--blue); }
.mainnav .nav-more-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 230px; display: block; overflow: visible;
  margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 36px rgba(22,33,44,.14);
  animation: mega-in .14s ease-out; }
.mainnav .nav-more-list[hidden] { display: none; }
.mainnav .nav-more-list a { padding: 9px 12px; border-radius: 8px; border-bottom: 0; font-weight: 500; }
.mainnav .nav-more-list a:hover, .mainnav .nav-more-list a.on { background: var(--blue-t); color: var(--blue); border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .mainnav .nav-more-list { animation: none; } }

/* Every window: Zapri / Prekliči on the left, the main action on the right (owner 30. 11. 2026) */
.sh-modal .sm-act > .btn-line:first-child, .sh-modal .sm-act > [data-close]:first-child { margin-right: auto; }
.sh-modal .sm-act > .btn-line:only-child { margin-right: 0; }
.sh-modal .sm-act:has(> .btn-line:only-child) { justify-content: flex-start; }

/* Reloading on its own page: Surovine za polnjenje / Oprema za polnjenje as two labelled parts, like in the menu (owner 30. 11. 2026) */
.subcat-h { flex: 0 0 100%; display: flex; align-items: center; gap: 12px; margin: 8px 0 0; font: 700 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d, #8A7215); }   /* same as the menu's section titles */
.subcat-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.subcat-h:first-child { margin-top: 0; }

/* One × for every window (owner 1. 12. 2026): top right, same row as the title; Zapri stays at the bottom left */
.tr-modal .sm-in, .ret-modal .sm-in { position: relative; }
.tr-modal h3, .ret-modal h3 { padding-right: 40px; }
.sm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin: -4px -6px 12px 0; padding-bottom: 10px; border-bottom: 1px solid var(--line, #e3e7ee); }
.sm-head .sm-title { font: 700 20px var(--head); color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.sm-head .ab-x, .dpm-head .ab-x { position: static; flex: none; }
.dpm-head { flex-wrap: nowrap; }
.dpm-head strong { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dpm-zoom { margin-right: 6px; flex: none; }
.dpm-head .ab-x { margin-left: 2px; }
@media (max-width: 520px) { .dpm-zoom .dpm-fit { display: none; } }
.is-embed .crumbs { display: none; }
/* no line under the title bar – the title and × float on the white (owner 1. 12. 2026); the line above Zapri stays */
.dpm-head { border-bottom: 0; padding-bottom: 8px; }
.sm-head, .page-modal .sm-head, .frame-modal .sm-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 8px; }
/* document window: the grey sheet frame floats with an even gap above and below (no touching the footer line) */
.dpm-body iframe { margin: 6px 0 0; height: calc(100% - 22px); }
.dpm-wait, .dpm-fail { inset: 6px 20px 16px; }
/* no line above Zapri either (owner 1. 12. 2026, to try) */
.dpm-foot, .page-modal .sm-act, .frame-modal .sm-act { border-top: 0; }
/* the RCBS page window: the page sits in its own rounded frame with even gaps, like the document sheet */
.frame-modal .fm-frame { border: 1px solid var(--line, #e3e7ee); border-radius: 12px; height: min(76vh, 800px); }
.frame-modal .sm-act { margin-top: 12px; padding-top: 0; }
/* RCBS window: no frame around the page; the line above Zapri is back (the page scrolls down to it). The invoice window stays without. */
.frame-modal .fm-frame { border: 0; border-radius: 10px; height: min(78vh, 820px); }
.frame-modal .sm-act { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #e3e7ee); }
/* "Odpri celo stran" as a button (blue main action, outlined when the window has its own blue button) */
.page-modal .pm-full.btn-blue, .frame-modal .pm-full.btn-blue, .page-modal .pm-full.btn-line { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; }
.page-modal .pm-full .ic, .frame-modal .pm-full .ic { width: 15px; height: 15px; }

/* where an akcija is valid, in the akcija banner next to its tag (owner 1. 12. 2026): see-through pill, told apart by icon and text */
.ppp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pp-where { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; font: 600 13px var(--font); white-space: nowrap; }
.pp-where .ic { width: 14px; height: 14px; flex: none; }
/* empty boxes (Primerjava, Seznam želja, Obvestila, Aklub ponudba): the title centred like the icon and the text */
.lp-empty h2 { justify-content: center; text-align: center; }
/* akcija banner: a countdown that wraps under the tags stays on the right; the end date and its hour stay together */
.ppp-head .ppp-count { margin-left: auto; }
.ppp-low .nw { white-space: nowrap; }
/* akcija banner: the end date always on its own line, in both banners (owner 1. 12. 2026) */
.ppp-low .ppp-end { display: block; margin-top: 2px; white-space: nowrap; }
/* checkout and »Hvala za naročilo«: the header stays at the top while scrolling, like the shop's (owner 2. 12. 2026) */
.co-head { position: sticky; top: 0; z-index: 30; }

/* Moj račun › Računi: cancelled / waiting for payment (3. 12. 2026) */
.sd-tag.tag-off { background: #EEF0F3; color: #5B6672; }
.sd-tag.tag-due { background: #EEF3F9; color: #1F4A6E; }
.b2b-tbl tr.doc-off td { color: #8A929B; }
.b2b-tbl tr.doc-off td strong, .b2b-tbl tr.doc-off td a:not(.btn-line) { color: #8A929B; }
.dpm-note { margin: 0; padding: 10px 18px; background: #FDECEA; color: #B42318; font-weight: 700; font-size: 14px; border-bottom: 1px solid #F5C2BC; }

/* Kje kupiti: each store's street and town (3. 12. 2026) */
.dl-stores .dl-addr { display: flex; align-items: flex-start; gap: 5px; font-size: 13px; color: var(--muted); margin: 2px 0; }
.dl-stores .dl-addr .ic { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 2px; }
/* the address wraps under its own first letter, not under the pin (»Celje« lines up with »Mariborska«) */
.dl-card .dl-city { display: flex; align-items: flex-start; gap: 5px; }
.dl-card .dl-city .ic { flex: 0 0 auto; margin-top: 3px; }
.dl-card .dl-c a { display: flex; align-items: flex-start; gap: 5px; }
.dl-card .dl-c a .ic { flex: 0 0 auto; margin-top: 3px; }
.dl-grid.dl-packed { grid-auto-rows: 4px; row-gap: 0; align-items: start; }
.dl-grid.dl-packed .dl-card { margin-bottom: 16px; }
/* Blagajna: »Ustvari račun s tem e-naslovom« (guests) and the code on the thank-you page (4. 12. 2026) */
.co-fields .co-make-acc { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.co-fields .co-make-acc input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.co-fields .co-make-acc small { display: block; margin-top: 2px; }
.acc-make { flex-direction: column; align-items: stretch; }
.acc-make-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; margin-top: 4px; }
.acc-make-form label { flex: 0 1 200px; margin: 0; }
.acc-make-form .acc-code { width: 100%; height: 46px; box-sizing: border-box; padding: 0 14px; border: 1px solid var(--line2, #CBD2D9); border-radius: 10px;
  font-size: 20px !important; letter-spacing: 6px; text-align: center; font-weight: 600 !important; }
.acc-make-form .acc-code::placeholder { font-size: 14px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.acc-make-form .acc-code:focus { outline: none; border-color: var(--blue, #2D6594); box-shadow: 0 0 0 3px rgba(45, 101, 148, .15); }
.acc-make-form .btn-blue { height: 46px; padding: 0 22px; }
.acc-make .acc-again { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }

/* Moj račun › Računi: sortable headers (Dokument, Datum) – 4. 12. 2026 */
.b2b-tbl th a.th-sort { color: inherit; text-decoration: none; white-space: nowrap; }
.b2b-tbl th a.th-sort:hover, .b2b-tbl th a.th-sort.on { color: var(--blue, #1d4f91); }
.b2b-tbl th .th-ar { font-size: .7em; margin-left: 2px; }
.b2b-tbl-wrap[id] { scroll-margin-top: 90px; }

/* Moj račun › Aklub (not a member): the gold button with the same air above and below (4. 12. 2026) */
.ak-join .ak-note.ak-note { margin-bottom: 0; }
.ak-join a.btn-gold.big, .ak-join .ak-joinform { display: flex; align-items: center; width: fit-content; margin: 14px 0; }
.ak-join a.btn-gold, .ak-join a.btn-gold:hover, .ak-join a.btn-gold:focus, .ak-join a.btn-gold:visited { color: #fff; text-decoration: none; }
.ak-join .ak-joinform { width: auto; flex-direction: column; align-items: flex-start; }
.ak-join p.ak-fine { margin-top: 0; }

/* Product page, akcija item without stock (4. 12. 2026): a quiet hint above »Obvesti me« – the akcija price holds if it is back in time */
.bb-wait { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: #FDF0EE; color: #9B2C1E; font-size: 14px; line-height: 1.4; }
.bb-wait .ic { flex: none; margin-top: 2px; }
.bb-wait.ak { background: var(--gold-t); color: var(--gold-d); }
