/* ==========================================================================
   Sauron Shop – moderný frontend (2026)
   Pôvodný štýl je zálohovaný v main.legacy.css
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f5;
  --ink: #151515;
  --ink-2: #707475;
  --muted: #9a9a9a;
  --line: #e1e1e1;
  --line-strong: #cfcfcf;
  --accent: #0a662d;
  --accent-2: #f07d00;
  --accent-soft: #e6f1ea;
  --accent-ink: #0a662d;
  --sale: #d9534f;
  --ok: #059669;
  --warn: #d97706;
  --radius: 2px;
  --radius-sm: 2px;
  --radius-xs: 2px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
  --font: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Roboto Condensed", "Lato", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, blockquote, pre, form, fieldset, legend, figure { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
p { margin: 0 0 12px; }
small { font-size: 12.5px; color: var(--muted); }
.hidden { display: none; }
.clear { clear: both; }
.absmiddle { vertical-align: middle; }
.arrow { color: var(--muted); }
.text-center { text-align: center; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid rgba(10, 102, 45, .35); outline-offset: 2px; }

/* ---------- rozloženie -------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
#content_container { max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 64px; min-height: 55vh; }
#content { background: transparent; }

/* ---------- top bar + hlavička ----------------------------------------- */
.topbar { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-size: 13px; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: center; gap: 28px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar span { opacity: .95; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 22px; height: 76px; }

#search { flex: 1; position: relative; max-width: 560px; }
#search form { display: flex; align-items: center; background: var(--surface-2); border: 1px solid transparent; border-radius: 999px; padding: 4px 4px 4px 18px; transition: .15s; }
#search form:focus-within { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 102, 45, .12); }
#search label { display: none; }
#search input[type=text] { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; padding: 8px 4px; height: auto; border-radius: 0; }
#search input[type=text]:focus { box-shadow: none; }
#search input[type=submit] { flex: none; border-radius: 999px; padding: 9px 20px; font-size: 14px; }
#advanced-search {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 16px 18px; font-size: 14px; color: var(--ink-2);
}
#advanced-search .close { position: absolute; right: 10px; top: 10px; width: 24px; height: 24px; cursor: pointer; border-radius: 50%; }
#advanced-search .close::before { content: "×"; position: absolute; inset: 0; text-align: center; line-height: 22px; font-size: 20px; color: var(--muted); }
#advanced-search .close:hover { background: var(--surface-2); }
#advanced-search select { margin: 6px 0 10px; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn, .account > summary, #cart a.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; border: 1px solid var(--line); background: #fff; transition: .15s; list-style: none;
}
.account > summary::-webkit-details-marker { display: none; }
.icon-btn:hover, .account > summary:hover, #cart a.cart-btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-sm); }
.icon-btn svg, .account > summary svg, #cart svg { width: 20px; height: 20px; flex: none; }

.account { position: relative; }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 300px; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px;
}
#not_logged form { display: grid; gap: 4px; }
#not_logged label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-top: 8px; }
#not_logged br { display: none; }
#not_logged input[type=text], #not_logged input[type=password] { width: 100%; }
#not_logged input[type=submit] { order: 10; margin-top: 14px; width: 100%; }
#not_logged ul, #loggedin ul { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
#not_logged li a, #loggedin li a { display: block; padding: 7px 10px; border-radius: var(--radius-xs); color: var(--ink-2); font-size: 14px; }
#not_logged li a:hover, #loggedin li a:hover { background: var(--accent-soft); color: var(--accent); }
#loggedin { font-size: 14px; color: var(--ink-2); }
#loggedin strong { color: var(--ink); }

#cart { position: relative; }
#cart a.cart-btn { padding: 0 16px 0 14px; }
#cart .cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
}
#cart .cart-sum { color: var(--ink-2); font-weight: 600; }
#cart .cart-clear { display: none; }
#cart .cart-clear:hover { color: var(--sale); }
#cart.bump .cart-count { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.5); } }

.mainnav { border-top: 1px solid var(--line); background: #fff; }
.mainnav ul { display: flex; gap: 4px; padding: 6px 24px; max-width: var(--wrap); margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.mainnav a { display: block; padding: 8px 16px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.mainnav a:hover { background: var(--surface-2); color: var(--ink); }
.mainnav li.here a { background: var(--accent-soft); color: var(--accent); }

/* ---------- omrvinková navigácia --------------------------------------- */
#navigator { font-size: 13px; color: var(--muted); padding: 18px 0 8px; }
#navigator a { color: var(--ink-2); font-weight: 500; }
#navigator a:hover { color: var(--accent); }
#navigator .arrow { margin: 0 4px; }
#navigator br { display: none; }

/* ---------- formuláre --------------------------------------------------- */
label { font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
input, select, textarea, button:not([class]) { font-family: inherit; font-size: 15px; color: var(--ink); }
input[type=text], input[type=password], input[type=email], input[type=search], input[type=tel], input[type=number], input:not([type]), select, textarea {
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-xs); padding: 10px 13px; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s; max-width: 100%;
}
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=number]:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 102, 45, .13);
}
textarea { width: 100%; min-height: 110px; resize: vertical; }
select { padding-right: 32px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; }
input[type=checkbox], input[type=radio] { width: 17px; height: 17px; accent-color: var(--accent); vertical-align: -3px; margin: 0 6px 0 0; cursor: pointer; }

.button, input[type=submit], input[type=button], button:not([class]) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  background: var(--accent); color: #fff !important; border: 0; border-radius: 999px;
  padding: 11px 22px; font-weight: 650; font-size: 15px; line-height: 1.2; transition: transform .1s, background .15s, box-shadow .15s;
  box-shadow: 0 6px 16px rgba(10, 102, 45, .28);
}
.button:hover, input[type=submit]:hover, input[type=button]:hover, button:not([class]):hover { background: var(--accent-ink); box-shadow: 0 8px 20px rgba(10, 102, 45, .36); }
.button:active, input[type=submit]:active, button:not([class]):active { transform: translateY(1px); }
.button[disabled], input[disabled] { opacity: .5; cursor: not-allowed; }
input[type=button][value*="Späť"], input[type=button][value*="Pokračovať"], .button.secondary {
  background: #fff; color: var(--ink) !important; border: 1px solid var(--line-strong); box-shadow: none;
}
input[type=button][value*="Späť"]:hover, input[type=button][value*="Pokračovať"]:hover, .button.secondary:hover { background: var(--surface-2); box-shadow: none; }

fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px 24px 24px; margin: 0 0 20px; min-width: 0; }
legend { font-weight: 700; font-size: 15px; padding: 0 10px; color: var(--ink); }
form.registration label, form.cart fieldset label { display: block; margin: 14px 0 6px; }
form.registration label:first-child, form.cart fieldset legend + label { margin-top: 0; }
form.registration input[type=text], form.registration input[type=password], form.registration select,
form.cart fieldset input[type=text], form.cart fieldset input[type=password], form.cart fieldset select { width: 100%; max-width: 520px; display: block; }
form.registration br, form.cart fieldset br { display: none; }
form.registration input[type=checkbox], form.cart fieldset input[type=checkbox] { display: inline-block; }
form.registration label input[type=checkbox], legend label input[type=checkbox] { margin-right: 8px; }
form.cart fieldset textarea { max-width: 520px; }
form.registration .checkbox + label, form.registration label.inline { display: inline-block; }

/* ---------- lišta so zobrazením (zoradenie) --------------------------- */
table.alternator { width: 100%; margin-bottom: 12px; }
table.alternator form { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; }
table.alternator select { padding: 8px 32px 8px 12px; font-size: 14px; border-radius: 999px; background-color: #fff; }
table.alternator input[type=submit] { padding: 8px 18px; font-size: 14px; box-shadow: none; }

/* ---------- podkategórie (dlaždice) ------------------------------------ */
.category-buttons { margin: 4px 0 28px; }
.category-buttons-title { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.category-button-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.category-button {
  position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.category-button:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: #fff; }
.category-button-media, .category-button-media img { display: block; width: 100%; height: 100%; }
.category-button-media img { object-fit: cover; transition: transform .5s; }
.category-button:hover .category-button-media img { transform: scale(1.06); }
.category-button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, .68)); }
.category-button-title { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; font-size: 18px; font-weight: 750; letter-spacing: -.01em; }
.category-button-title::after { content: " →"; opacity: 0; transition: .2s; margin-left: -6px; }
.category-button:hover .category-button-title::after { opacity: 1; margin-left: 2px; }

/* ---------- výpis produktov (mriežka kariet) --------------------------- */
.browse_container { margin-bottom: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 22px; }
.pc {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.pc-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.pc:hover .pc-media img { transform: scale(1.06); }
.pc-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pc-badge.discount-none { display: none; }
.pc-body { padding: 16px 18px 6px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pc-title { font-size: 16px; font-weight: 650; line-height: 1.35; color: var(--ink); letter-spacing: -.01em; }
.pc-title:hover { color: var(--accent); }
.pc-perex { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-stars { min-height: 4px; line-height: 1; }
.pc-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.price_used { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price_default { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.discount-none { display: none; }
.pc-foot { padding: 12px 18px 18px; }
.pc-actions a.add2cart, .pd-buy a.add2cart {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: var(--accent); color: #fff; font-weight: 650; border-radius: 999px; padding: 11px 18px; font-size: 14.5px;
  box-shadow: 0 6px 16px rgba(10, 102, 45, .25); transition: .15s;
}
.pc-actions a.add2cart:hover, .pd-buy a.add2cart:hover { background: var(--accent-ink); color: #fff; transform: translateY(-1px); }
.pc-actions a.add2cart svg, .pd-buy a.add2cart svg { width: 18px; height: 18px; }
.pc-actions a:not(.add2cart) { display: block; text-align: center; font-size: 13.5px; padding: 8px 0 0; }
.pc-actions { min-height: 44px; }

/* riadkový výpis (zoznam) */
.product-rows { display: grid; gap: 12px; }
.pr {
  display: grid; grid-template-columns: 96px 1fr auto auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 18px 12px 12px; transition: .2s;
}
.pr:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.pr.no-img { grid-template-columns: 1fr auto auto; padding-left: 18px; }
.pr-media img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; display: block; }
.pr-title { font-weight: 650; color: var(--ink); }
.pr-meta { font-size: 13px; color: var(--muted); }
.pr-price { text-align: right; white-space: nowrap; }
.pr-price .price_used { font-size: 18px; }
.pr .pc-actions { min-width: 150px; min-height: 0; }

/* filter */
#shop_filter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; }
#shop_filter ul { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
#shop_filter li a { color: var(--ink-2); }

/* stránkovanie */
.pagination { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 18px 0; color: var(--muted); font-size: 14px; }
.pagination form { order: 3; margin-left: auto; }
.pagination form > div { float: none !important; }
.pagination form select { font-size: 13px !important; padding: 6px 28px 6px 10px; border-radius: 999px; }
.pagination a { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 999px; color: var(--ink-2); font-weight: 600; border: 1px solid transparent; }
.pagination a:hover { background: var(--surface-2); }
.pagination a.current, .pagination a.selected { background: var(--accent); color: #fff; }

/* ---------- detail produktu -------------------------------------------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-bottom: 40px; }

.pd-info h2 { font-size: 36px; margin: 0 0 6px; }
.pd-stars { min-height: 20px; margin-bottom: 8px; }
.pd-perex { font-size: 17px; color: var(--ink-2); margin-bottom: 20px; }
.pd-perex em { font-style: normal; }
.pd-priceBox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 20px 0; box-shadow: var(--shadow-sm); }
.pd-priceBox .price_used { font-size: 34px; }
.pd-priceBox .price_default { font-size: 18px; margin-right: 10px; }
.pd-priceBox .pd-save { display: inline-block; margin-left: 10px; background: #ffe4ea; color: var(--sale); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.pd-priceBox .pd-save.discount-none { display: none; }
.pd-availability { display: flex; align-items: center; gap: 8px; margin: 10px 0 18px; font-size: 14px; color: var(--ok); font-weight: 600; }
.pd-availability::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(5, 150, 105, .18); }
.pd-buy { display: grid; gap: 12px; }
.pd-buy a.add2cart { padding: 15px 22px; font-size: 16px; }
.pd-buy .wish a { display: inline-block; font-size: 14px; color: var(--ink-2); }
.pd-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.pd-perks div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.pd-perks b { display: block; color: var(--ink); font-size: 13px; }

ul.params { margin: 14px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
ul.params li { display: flex; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
ul.params li:last-child { border-bottom: 0; }
ul.params li span:first-child { flex: 0 0 150px; color: var(--muted); font-weight: 500; }

.pd-tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; margin-bottom: 36px; }
.pd-tabs h3:first-child { margin-top: 0; }
.pd-text { color: var(--ink-2); font-size: 16px; }

.related h3 { font-size: 24px; margin: 8px 0 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-bottom: 30px; }

/* ---------- domovská stránka ------------------------------------------- */
.hero {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 56px; margin: 12px 0 34px; color: #fff;
  background: radial-gradient(900px 400px at 85% -10%, rgba(255, 255, 255, .28), transparent 60%), linear-gradient(120deg, #312e81 0%, var(--accent) 45%, var(--accent-2) 100%);
  box-shadow: var(--shadow);
}
.hero::after { content: "🛍️"; position: absolute; right: 5%; bottom: -30px; font-size: 300px; line-height: 1; opacity: .16; transform: rotate(-12deg); pointer-events: none; }
.hero-kicker { display: inline-block; background: rgba(255, 255, 255, .18); padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px; backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; max-width: 680px; margin-bottom: 16px; }
.hero p { font-size: 18px; max-width: 560px; opacity: .92; margin-bottom: 28px; }
.hero .button { background: #fff; color: var(--accent-ink) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); padding: 14px 28px; }
.hero .button:hover { background: #f5f3ff; }
.hero .button.ghost { background: rgba(255, 255, 255, .16); color: #fff !important; box-shadow: none; margin-left: 10px; border: 1px solid rgba(255, 255, 255, .35); }

.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.usp div { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.usp b { display: block; color: var(--ink); font-size: 14.5px; }
.usp i { font-style: normal; font-size: 26px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 40px 0 18px; }
.section-head h2 { margin: 0; font-size: 28px; }
.section-head a { font-weight: 600; font-size: 14px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card h3 { margin: 0 0 6px; font-size: 18px; }
.news-card h3 a { color: var(--ink); }
.news-date { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }

/* ---------- články ------------------------------------------------------ */
#article-container { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px; max-width: 900px; margin: 12px auto 36px; }
#article-container h2 { font-size: 34px; }
#article-container p, #article-container li { font-size: 16.5px; color: var(--ink-2); line-height: 1.75; }
#article-container ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
#article-container img { border-radius: var(--radius-sm); }
.article-1, .article-2 { padding: 20px 24px !important; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.single_image_right, .image.right, .image-right { float: right; margin: 0 0 12px 20px; max-width: 40%; }
.image.left { float: left; margin: 0 20px 12px 0; max-width: 40%; }
.image.center { display: block; text-align: center; margin: 12px 0; }

/* ---------- fotogaléria (bootstrap-like mriežka) ------------------------ */

/* ---------- košík a objednávka ----------------------------------------- */
h2:has(> a.step1) { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 26px; }
h2:has(> a.step1) .arrow { display: none; }
h2 a.step1, h2 a.step2, h2 a.step3, h2 a.step4 {
  display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 650;
}
h2 a.selected { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(10, 102, 45, .28); }
h2 a.small { font-size: 14px; }

.step { animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

table.cart, table.order, table.compare {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; box-shadow: var(--shadow-sm);
}
table.cart td, table.order td, table.compare td, table.compare th { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cart tr:last-child td, table.order tr:last-child td { border-bottom: 0; }
table.cart tr.evenRow td:first-child, table.cart tr.evenRow td { background: var(--surface-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
table.cart tr.oddRow td, table.cart tr.evenRow td { }
table.cart tr.highlightRow td { background: #fafbff; }
table.cart td strong { font-weight: 700; }
table.cart td strong[style] { color: var(--ink) !important; font-size: 17px; }
table.cart input.count, input.count { width: 68px; text-align: center; padding: 8px; border-radius: 999px; }
table.cart td a { font-weight: 600; color: var(--ink); }
table.cart td a:hover { color: var(--accent); }
table.cart tr.disabled td { opacity: .38; }
table.cart td label { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); }
table.cart td label small { font-weight: 400; }
.price_label { margin-left: 10px; font-weight: 700; color: var(--ink); }
table.cart input[type=radio] { width: 20px; height: 20px; }
table.cart .border-left, table.cart .border-right { border: 0; }
table.order td:first-child { color: var(--muted); font-weight: 500; width: 220px; }
table.order td strong { font-weight: 500; }

.step > div[style*="text-align: center"] { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px !important; }
.step > div[style*="text-align: center"] .button, .step > div[style*="text-align: center"] input { min-width: 140px; }

#gift_container div { padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-xs); margin: 6px 0; cursor: pointer; }
#gift_container div.highlightRow { background: var(--accent-soft); }
#promocode { max-width: 200px; }

.registration.step fieldset, form.registration fieldset { max-width: 720px; }

/* ---------- hlášky, diskusia, ostatné --------------------------------- */
.messages { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 12px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.forum-post, .topic_list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 14px 0; }
.forum-post h3.article-info { margin-top: 0; font-size: 18px; }
.forum-post table td { padding: 5px 8px 5px 0; vertical-align: top; }
.forum-post input[type=text], .forum-post textarea { width: 100%; }
table.compare { font-size: 14px; }
.stars, .star { vertical-align: middle; }

/* jQuery UI dialóg */
.ui-widget-overlay { background: rgba(15, 23, 42, .55) !important; opacity: 1 !important; backdrop-filter: blur(3px); }
.ui-dialog { font-family: var(--font) !important; border: 0 !important; border-radius: var(--radius) !important; box-shadow: var(--shadow-lg) !important; padding: 0 !important; overflow: hidden; background: #fff !important; }
.ui-dialog .ui-dialog-titlebar { background: #fff !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; padding: 16px 22px !important; }
.ui-dialog .ui-dialog-title { font-weight: 750; font-size: 17px; }
.ui-dialog .ui-dialog-titlebar-close { display: none; }
.ui-dialog .ui-dialog-content { padding: 20px 22px !important; font-size: 15px; color: var(--ink-2); }
.ui-dialog .ui-dialog-buttonpane { border: 0 !important; background: #fff !important; padding: 0 18px 18px !important; margin: 0 !important; }
.ui-dialog .ui-button { background: var(--accent) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 9px 26px !important; font-weight: 650 !important; }
.ui-autocomplete { border-radius: var(--radius-xs) !important; border: 1px solid var(--line) !important; box-shadow: var(--shadow) !important; font-family: var(--font); }

/* ---------- pätička ----------------------------------------------------- */
#footer_container { background: #0f172a; color: #94a3b8; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 56px 24px 36px; }
.footer-grid h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.footer-grid a { display: block; color: #94a3b8; padding: 4px 0; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: 14px; max-width: 320px; }
.footer-grid .brand { color: #fff; margin-bottom: 12px; }
#footer { border-top: 1px solid #1e293b; text-align: center; padding: 20px 24px; font-size: 13px; }

/* ---------- responzivita ------------------------------------------------ */
@media (max-width: 980px) {
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .pg { position: static; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap, #content_container { padding-left: 16px; padding-right: 16px; }
  .header-row { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  #search { order: 3; flex-basis: 100%; max-width: none; }
  .brand span:not(.brand-mark) { display: none; }
  .icon-btn span.lbl, .account > summary span.lbl, #cart .cart-label, #cart .cart-sum { display: none; }
  .hero { padding: 40px 26px; border-radius: 22px; }
  .hero .button.ghost { margin: 10px 0 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-body { padding: 12px 12px 4px; }
  .pc-foot { padding: 8px 12px 14px; }
  .pc-actions a.add2cart { font-size: 13px; padding: 10px 8px; }
  .pr { grid-template-columns: 72px 1fr; }
  .pr-media img { width: 72px; height: 72px; }
  .pr .pr-price, .pr .pc-actions { grid-column: 2; text-align: left; }
  .pd-info h2 { font-size: 28px; }
  .pd-tabs, #article-container { padding: 22px 20px; }
  .pd-perks { grid-template-columns: 1fr; }
  .usp { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .account-menu { position: fixed; left: 16px; right: 16px; top: 74px; width: auto; }
  table.cart td { padding: 10px 8px; font-size: 13.5px; }
  .single_image_right, .image.right, .image.left { float: none; margin: 0 0 12px; max-width: 100%; }
}

/* ---------- doplnky výpisu ---------------------------------------------- */
.product-grid:has(> .pr) { grid-template-columns: 1fr; gap: 12px; }
.pc-media:empty::after { content: "🛍️"; display: grid; place-items: center; height: 100%; font-size: 64px; opacity: .35; }
.pr-media:empty { display: none; }
ul.params:not(:has(li)) { display: none; }
.pd-buy .status { display: block; }
.pc-actions:empty { display: none; }
.pd-buy .wish:empty { display: none; }
.pd-stars:empty, .pc-stars:empty { display: none; }

/* ---------- košík: krok 2 (doprava a platba) a rekapitulácia ------------- */
#step2 table.cart td[align="right"]:first-child, #step4 table.cart td[align="right"]:first-child { text-align: left; }
#step2 table.cart td strong { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) !important; font-weight: 700; }
#step2 table.cart tr:has(input[type=radio]) { cursor: pointer; }
#step2 table.cart tr:has(input[type=radio]:checked) td { background: var(--accent-soft); }
#step2 table.cart td:nth-child(2) { white-space: nowrap; text-align: right; }
#step2 table.cart td.border-right, #step2 table.cart td:last-child:empty { width: 1px; padding: 0; }
#step3 fieldset { max-width: 760px; margin-left: 0; }
#step4 table.cart td { font-size: 14.5px; }
#step4 fieldset { max-width: 760px; }
#step4 fieldset label { display: inline-block; margin: 4px 0; }
.cart-clearlink { display: inline-block; margin: 14px 4px 0; font-size: 13px; color: var(--muted); }
.cart-clearlink:hover { color: var(--sale); }

/* krok 3: popisky vľavo, polia vpravo */
}

@media (max-width: 720px) {
  .topbar span:not(:first-child) { display: none; }
  .topbar .wrap { padding-top: 6px; padding-bottom: 6px; }
  table.alternator form { justify-content: flex-start; }
}

/* ==========================================================================
   Galéria produktu, galérie a lightbox
   ========================================================================== */
.pg { position: sticky; top: 100px; outline: 0; }
.pg-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); aspect-ratio: 1 / 1; }
.pg-main { display: block; width: 100%; height: 100%; cursor: zoom-in; overflow: hidden; }
.pg-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, opacity .2s; }
.pg-main img.swap { opacity: .35; }
@media (hover: hover) { .pg-main:hover img { transform: scale(1.55); } }
.pg-nav {
  position: absolute; top: calc(50% - 22px); z-index: 3; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink) !important; font-size: 28px; line-height: 1; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s, transform .15s;
}
.pg-nav:hover { background: #fff; scale: 1.08; }
.pg-nav:active, .lb-nav:active, .lb-close:active { transform: none; }
.pg-prev { left: 12px; } .pg-next { right: 12px; }
.pg-stage:hover .pg-nav, .pg:focus-within .pg-nav { opacity: 1; }
.pg-count { position: absolute; left: 12px; bottom: 12px; z-index: 3; background: rgba(15, 23, 42, .72); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.pg-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 3; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; pointer-events: none; opacity: 0; transition: .2s; }
.pg-stage:hover .pg-zoom { opacity: 1; }
.pg-thumbs { display: flex; gap: 12px; margin-top: 14px; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.pg-item { flex: 0 0 88px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); opacity: .65; transition: .15s; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-item:hover { opacity: 1; }
.pg-item.active { border-color: var(--accent); opacity: 1; box-shadow: 0 0 0 3px rgba(10, 102, 45, .18); }
.pg-empty { height: 100%; display: grid; place-items: center; color: var(--muted); }
img.zoomable { cursor: zoom-in; }

/* lightbox */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 5000; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: minmax(0, 1fr) auto; background: rgba(8, 12, 24, .94); backdrop-filter: blur(6px); animation: lbIn .2s ease; }
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { grid-column: 2; grid-row: 1; margin: 0; padding: 56px 0 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; }
.lb-img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; transition: opacity .2s; }
.lb.loading .lb-img { opacity: .3; }
.lb-cap { color: #e2e8f0; font-size: 14px; padding: 12px 8px 0; text-align: center; }
.lb-cap:empty { display: none; }
.lb-close, .lb-nav { position: absolute; z-index: 2; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff !important; box-shadow: none; transition: background .15s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 14px; right: 16px; width: 44px; height: 44px; font-size: 30px; line-height: 1; }
.lb-nav { top: calc(50% - 26px); width: 52px; height: 52px; font-size: 34px; line-height: 1; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb.single .lb-nav, .lb.single .lb-thumbs { display: none; }
.lb-count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: 13.5px; font-weight: 600; z-index: 2; }
.lb-thumbs { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 10px 16px 16px; }
.lb-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; background: #1e293b; box-shadow: none; opacity: .5; border: 2px solid transparent; }
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumbs button:hover { opacity: .85; }
.lb-thumbs button.on { opacity: 1; border-color: #fff; }

/* galérie (readGallery) */
.image-gallery { margin: 24px 0 36px; }
.image-gallery > h3 { margin-top: 0; }
.gallery-desc { color: var(--muted); margin-bottom: 16px; }
.gallery-desc:empty { display: none; }
.g-grid { display: grid; gap: var(--gap, 14px); grid-template-columns: repeat(auto-fill, minmax(max(150px, calc((100% - (var(--cols, 4) - 1) * var(--gap, 14px)) / var(--cols, 4))), 1fr)); }
.g-grid.masonry-true { display: block; column-count: var(--cols, 4); column-gap: var(--gap, 14px); }
.g-item { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.g-grid.masonry-true .g-item { break-inside: avoid; margin-bottom: var(--gap, 14px); }
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.g-item > a { position: relative; display: block; overflow: hidden; cursor: zoom-in; }
.g-item img { display: block; width: 100%; height: auto; transition: transform .5s; }
.g-item.crop img { aspect-ratio: var(--ratio, 1); object-fit: cover; }
.g-item:hover img { transform: scale(1.06); }
.g-zoom { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 16px; opacity: 0; transform: scale(.85); transition: .2s; }
.g-item:hover .g-zoom { opacity: 1; transform: none; }
.g-item .image-desc { padding: 10px 14px; font-size: 13.5px; color: var(--ink-2); }
.g-item .image-desc.hidden { display: none; }
@media (max-width: 900px) { .g-grid.masonry-true { column-count: 3; } }
@media (max-width: 560px) { .g-grid.masonry-true { column-count: 2; } .pg-nav { opacity: 1; width: 38px; height: 38px; font-size: 24px; top: calc(50% - 19px); } .lb { grid-template-columns: 0 minmax(0, 1fr) 0; } .lb-nav { width: 42px; height: 42px; top: calc(50% - 21px); } }

.back-link { display: inline-block; margin: 6px 0 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.back-link:hover { color: var(--accent); }

/* zoznam galérií */
.gallery-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-bottom: 24px; }
.gcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.gcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.gcard-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.gcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gcard:hover .gcard-media img { transform: scale(1.06); }
.gcard-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.gcard-body strong { font-size: 18px; letter-spacing: -.01em; }
.gcard-body p { margin: 0; font-size: 14px; color: var(--muted); }
.gcard-more { margin-top: 6px; font-size: 13.5px; font-weight: 650; color: var(--accent); }
.gallery-preview { max-width: 320px; }
.gallery-page .image-gallery > h3 { display: none; }
.gallery-page .image-gallery { margin-top: 8px; }

.return-policy { margin-top: 20px; }

/* odstúpenie od zmluvy, hlášky */
p.info, p.warning, p.error { padding: 13px 18px; border-radius: var(--radius-sm); margin: 18px 0; border: 1px solid; }
p.info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
p.warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
p.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.return-form { margin-top: 8px; }
.return-fields input.text, .return-fields textarea { width: 100%; max-width: 520px; }
.return-items input[type=number] { width: 80px; text-align: center; padding: 8px; }
label.inline { display: inline-block; font-weight: 500; }

/* formuláre z modulu Formuláre (kontakt) */
form.form-container table { width: 100%; }
form.form-container td { padding: 6px 10px 6px 0; vertical-align: top; }
form.form-container td:first-child { width: 190px; font-weight: 600; color: var(--ink-2); padding-top: 14px; }
form.form-container input[type=text], form.form-container textarea, form.form-container select { width: 100%; max-width: 520px; }
form.form-container textarea { min-height: 140px; }

/* ---------- povinné / nepovinné polia ----------------------------------- */
.req { color: var(--sale); font-weight: 700; margin-left: 2px; }
.opt { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 6px; }
.form-hint { grid-column: 1 / -1; margin: 0 0 4px; font-size: 13px; color: var(--muted); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--sale) !important; background: #fff7f8; box-shadow: 0 0 0 4px rgba(225, 29, 72, .12) !important; }

/* ---------- rekapitulácia objednávky (krok 4) --------------------------- */
table.recap { table-layout: auto; }
table.recap td { padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
table.recap td.num { text-align: right; white-space: nowrap; }
table.recap tr.recap-head td { background: var(--surface-2); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding-top: 11px; padding-bottom: 11px; }
table.recap tr.recap-sub td { color: var(--ink-2); padding-top: 9px; padding-bottom: 9px; background: #fbfbfe; }
table.recap tr.recap-sub td[colspan] { text-align: right; }
table.recap tr.recap-sub strong { color: var(--ink); font-weight: 600; }
table.recap tr.recap-total td { background: var(--accent-soft); border-bottom: 0; font-size: 18px; font-weight: 700; color: var(--ink); padding-top: 18px; padding-bottom: 18px; }
table.recap tr.recap-total td[colspan] { text-align: right; }
table.recap tr.recap-total strong { color: var(--accent-ink); font-size: 22px; }
#step4 fieldset.cloned { display: block; margin-top: 20px; max-width: none; }
#step4 fieldset.cloned > legend { grid-column: 1 / -1; }
#step4 fieldset.cloned div { display: contents; }
#step4 fieldset.cloned label { margin: 0 !important; color: var(--muted); font-weight: 500; font-size: 13.5px; }
#step4 fieldset.cloned .recap-value { color: var(--ink); font-weight: 500; white-space: pre-line; }
@media (max-width: 760px) { #step4 fieldset.cloned { grid-template-columns: 1fr; gap: 2px; } #step4 fieldset.cloned .recap-value { margin-bottom: 10px; } table.recap td { padding: 10px 12px; } }

.empty-note { display: none; text-align: center; padding: 48px 16px; color: var(--muted); font-size: 16px; }
.product-grid:not(:has(*)) + .empty-note { display: block; }
#shop_subs ~ .product-grid + .empty-note { display: none !important; }

/* ---------- výpis článkov (karty) --------------------------------------- */
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 20px; }
.acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; color: var(--ink); }
.acard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.acard-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--accent-2)); position: relative; }
.acard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; float: none; margin: 0; max-width: none; }
.acard:hover .acard-media img { transform: scale(1.06); }
.acard-media:empty::after { content: "📰"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; opacity: .55; }
.acard-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.acard-meta { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.acard-meta a { color: var(--accent); font-weight: 650; }
.acard-title { margin: 0; font-size: 20px; line-height: 1.3; }
.acard-title a { color: var(--ink); }
.acard-title a:hover { color: var(--accent); }
.acard-highlight { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.acard-highlight:empty, .acard-perex:empty { display: none; }
.acard-perex { font-size: 14.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard-perex p { margin: 0; }
.acard-more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 650; }
.acard-static { padding: 0; }
.acard-static .acard-body { padding: 16px 20px; }
.acard-static .acard-title { font-size: 17px; }
.news-card .single_image_right, .acard .single_image_right { display: none; }

/* kategórie s viacerými obrázkami – posúvanie za sebou */
.category-button-media.is-slider { position: relative; overflow: hidden; }
.category-button-media.is-slider img { position: absolute; inset: 0; transform: translateX(100%); transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.category-button-media.is-slider img.active { transform: translateX(0); z-index: 1; }
.category-button-media.is-slider img.prev { transform: translateX(-100%); z-index: 1; }
.category-button:hover .category-button-media.is-slider img { transform: translateX(100%); }
.category-button:hover .category-button-media.is-slider img.active { transform: translateX(0); }
.category-button:hover .category-button-media.is-slider img.prev { transform: translateX(-100%); }
.cs-dots { position: absolute; top: 12px; right: 14px; z-index: 3; display: flex; gap: 5px; }
.cs-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: .3s; }
.cs-dots i.on { background: #fff; width: 18px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .category-button-media.is-slider img { transition: none; } }
