/* ==========================================================================
   Auto Brand – stilovi teme
   ========================================================================== */

:root {
    --red: #e30613;
    --red-d: #b8000f;
    --red-l: #fdecee;
    --ink: #121417;
    --g900: #1b1e23;
    --g800: #262a31;
    --g700: #3a3f48;
    --g600: #4b515b;
    --g500: #6b7280;
    --g400: #9ca3af;
    --g300: #d1d5db;
    --g200: #e5e7eb;
    --g100: #f1f2f4;
    --g50: #f7f8f9;
    --white: #fff;
    --green: #15803d;
    --amber: #b45309;
    --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
    --r: 6px;
    --r-lg: 10px;
    --shadow: 0 10px 30px rgba(18, 20, 23, 0.1);
    --shadow-sm: 0 2px 8px rgba(18, 20, 23, 0.06);
    --wrap: 1320px;
    --gutter: 24px;
    --side: 280px;
    --hero-h: 452px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.ab-lock { overflow: hidden; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.ab-skip {
    position: absolute; left: 12px; top: -60px; z-index: 999;
    background: var(--ink); color: var(--white);
    padding: 10px 16px; border-radius: var(--r);
}
.ab-skip:focus { top: 12px; color: var(--white); }

.ab-wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.ab-ico { width: 22px; height: 22px; flex: none; }

/* ---------- Tipografija ---------- */

.ab-h1, .ab-h2, .ab-h3, .ab-h4 {
    font-family: var(--display);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1;
}
.ab-h1 { font-size: clamp(30px, 3.4vw, 44px); }
.ab-h2 {
    font-size: clamp(26px, 2.6vw, 34px);
    display: flex; align-items: center; gap: 12px;
}
.ab-h2::before {
    content: "";
    width: 10px; height: 0.9em;
    background: var(--red);
    transform: skewX(-14deg);
    flex: none;
}
.ab-h3 { font-size: 26px; }
.ab-h4 { font-size: 20px; margin: 28px 0 12px; }
.ab-sub { color: var(--g500); margin-top: 6px; }

.ab-eyebrow {
    display: inline-block;
    font-family: var(--display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
}

.ab-prose { line-height: 1.7; color: var(--g700); }
.ab-prose > * + * { margin-top: 1em; }
.ab-prose h2, .ab-prose h3 {
    font-family: var(--display); font-weight: 700; color: var(--ink);
    text-transform: uppercase; line-height: 1.15; margin-top: 1.6em;
}
.ab-prose h2 { font-size: 26px; }
.ab-prose h3 { font-size: 21px; }
.ab-prose ul { list-style: disc; padding-left: 1.3em; }
.ab-prose ol { list-style: decimal; padding-left: 1.3em; }
.ab-prose li + li { margin-top: 0.4em; }
.ab-prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.ab-prose strong { color: var(--ink); }
.ab-prose table { width: 100%; border-collapse: collapse; }
.ab-prose th, .ab-prose td { padding: 10px 12px; border-bottom: 1px solid var(--g200); text-align: left; vertical-align: top; }
.ab-prose th { width: 34%; color: var(--ink); font-weight: 600; background: var(--g50); }
.ab-prose img { border-radius: var(--r); }

/* ---------- Dugmad ---------- */

.ab-btn,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
#place_order,
.checkout-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1.5px solid transparent;
    border-radius: var(--r);
    font-family: var(--display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
    white-space: nowrap;
    background: var(--ink);
    color: var(--white);
}
.ab-btn .ab-ico { width: 19px; height: 19px; }
.ab-btn:active { transform: translateY(1px); }
.ab-btn-red,
#place_order,
.checkout-button,
.woocommerce .button.alt { background: var(--red); color: var(--white); }
.ab-btn-red:hover,
#place_order:hover,
.checkout-button:hover,
.woocommerce .button.alt:hover { background: var(--red-d); color: var(--white); }
.ab-btn-dark, .woocommerce .button { background: var(--ink); color: var(--white); }
.ab-btn-dark:hover, .woocommerce .button:hover { background: var(--g700); color: var(--white); }
.ab-btn-ghost { background: var(--white); color: var(--ink); border-color: var(--g300); }
.ab-btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.ab-btn-lg { min-height: 52px; padding: 0 26px; font-size: 18px; }
.ab-btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.ab-btn-block { width: 100%; }
.ab-btn[disabled], .ab-btn.is-loading { opacity: 0.6; pointer-events: none; }
.ab-btn.is-loading .ab-ico { animation: ab-spin 0.8s linear infinite; }
@keyframes ab-spin { to { transform: rotate(360deg); } }

.ab-icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: none; border: 0; border-radius: var(--r);
}
.ab-icon-btn:hover { background: var(--g100); }

.ab-link-more {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--display); font-weight: 700; font-size: 15px;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--ink); white-space: nowrap;
}
.ab-link-more .ab-ico { width: 18px; height: 18px; color: var(--red); transition: transform 0.2s; }
.ab-link-more:hover .ab-ico { transform: translateX(3px); }

.ab-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 10px;
    background: var(--red); color: var(--white);
    font-size: 11px; font-weight: 700; line-height: 1;
}

/* ---------- Gornja traka ---------- */

.ab-topbar {
    background: var(--ink);
    color: #b9bec6;
    font-size: 13px;
}
.ab-topbar .ab-wrap {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: 38px;
}
.ab-topbar a:hover { color: var(--white); }
.ab-topbar-left, .ab-topbar-right { display: flex; align-items: center; gap: 22px; }
.ab-topbar-left > *, .ab-topbar-right > *, .ab-topbar-msg { display: inline-flex; align-items: center; gap: 7px; }
.ab-topbar .ab-ico { width: 15px; height: 15px; color: var(--red); }
.ab-topbar-msg { color: var(--white); font-weight: 500; }

/* ---------- Header ---------- */

.ab-header { position: relative; z-index: 50; background: var(--white); }
.ab-header-main .ab-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
    padding-top: 18px;
    padding-bottom: 18px;
}
.ab-burger { display: none; }
.ab-logo img { height: 32px; width: auto; }

.ab-search {
    position: relative;
    display: flex; align-items: stretch;
    height: 50px;
    border: 2px solid var(--ink);
    border-radius: var(--r);
    background: var(--white);
    max-width: 760px;
    width: 100%;
    justify-self: center;
}
.ab-search:focus-within { border-color: var(--red); }
.ab-search-cat {
    position: relative; display: flex; align-items: center;
    border-right: 1px solid var(--g200);
    background: var(--g50);
    border-radius: var(--r) 0 0 var(--r);
}
.ab-search-cat select {
    appearance: none; -webkit-appearance: none;
    height: 100%; max-width: 190px;
    padding: 0 34px 0 14px;
    border: 0; background: transparent;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
}
.ab-search-cat .ab-ico { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; color: var(--g500); }
.ab-search-field { flex: 1; display: flex; }
.ab-search-field input {
    width: 100%; border: 0; outline: 0;
    padding: 0 16px; font-size: 15px; background: transparent;
}
.ab-search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ab-search-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 0 22px;
    border: 0; margin: -2px -2px -2px 0;
    border-radius: 0 var(--r) var(--r) 0;
    background: var(--red); color: var(--white);
    font-family: var(--display); font-weight: 700; font-size: 16px;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.ab-search-btn:hover { background: var(--red-d); }

.ab-suggest {
    position: absolute; left: -2px; right: -2px; top: calc(100% + 8px);
    z-index: 80;
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: 0 20px 50px rgba(18, 20, 23, 0.18);
    border: 1px solid var(--g200);
    overflow: hidden;
    max-height: 70vh; overflow-y: auto;
}
.ab-suggest h4 {
    padding: 12px 16px 6px;
    font-family: var(--display); font-weight: 700; font-size: 13px;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--g500);
}
.ab-suggest-cats a {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 8px 16px; font-weight: 600;
}
.ab-suggest-cats small { color: var(--g500); font-weight: 400; }
.ab-suggest-item {
    display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
    padding: 8px 16px;
}
.ab-suggest-item:hover, .ab-suggest-item.is-active, .ab-suggest-cats a:hover { background: var(--g50); color: var(--ink); }
.ab-suggest-item img { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--g200); border-radius: var(--r); background: var(--white); }
.ab-suggest-item strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.ab-suggest-item small { color: var(--g500); font-size: 12px; }
.ab-suggest-item .price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.ab-suggest-item .price del { display: none; }
.ab-suggest-all {
    display: block; padding: 12px 16px; text-align: center;
    border-top: 1px solid var(--g200); background: var(--g50);
    font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.ab-suggest-empty { padding: 18px 16px; color: var(--g500); }
.ab-suggest mark { background: none; color: var(--red); }

.ab-actions { display: flex; align-items: center; gap: 22px; }
.ab-action { display: flex; align-items: center; gap: 10px; position: relative; }
.ab-action > .ab-ico, .ab-cart-ico .ab-ico { width: 28px; height: 28px; }
.ab-action-text { display: flex; flex-direction: column; line-height: 1.15; }
.ab-action-text small { font-size: 12px; color: var(--g500); }
.ab-action-text strong { font-size: 15px; font-weight: 700; white-space: nowrap; }
.ab-action-text strong .woocommerce-Price-currencySymbol { font-weight: 600; }
.ab-cart-ico { position: relative; }
.ab-action .ab-badge { position: absolute; top: -7px; left: 17px; }
.ab-action-wish .ab-badge { left: 17px; }
.ab-action-cart {
    padding: 8px 14px 8px 10px;
    border-radius: var(--r);
    background: var(--g100);
}
.ab-action-cart:hover { background: var(--g200); color: var(--ink); }

/* Navigacija */
.ab-nav { background: var(--g900); color: var(--white); position: relative; }
.ab-nav .ab-wrap { display: flex; align-items: stretch; height: 54px; }
.ab-allcats { position: relative; width: var(--side); flex: none; }
.ab-allcats-btn {
    display: flex; align-items: center; gap: 12px;
    width: 100%; height: 100%;
    padding: 0 20px;
    border: 0;
    background: var(--red); color: var(--white);
    font-family: var(--display); font-weight: 800; font-style: italic;
    font-size: 19px; letter-spacing: 0.03em; text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.ab-allcats-btn .ab-allcats-chev { margin-left: auto; margin-right: 10px; width: 18px; height: 18px; transition: transform 0.2s; }
.ab-allcats.is-open .ab-allcats-chev { transform: rotate(180deg); }

.ab-nav-links { display: flex; align-items: stretch; margin-left: 14px; }
.ab-nav-links a {
    position: relative;
    display: flex; align-items: center;
    height: 100%; padding: 0 16px;
    font-family: var(--display); font-weight: 700; font-size: 17px;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: #e7e9ec;
}
.ab-nav-links a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 0;
    height: 3px; background: var(--red);
    transform: scaleX(0); transform-origin: left; transition: transform 0.2s;
}
.ab-nav-links a:hover, .ab-nav-links .is-active a { color: var(--white); }
.ab-nav-links a:hover::after, .ab-nav-links .is-active a::after { transform: scaleX(1); }
.ab-nav-links .is-hot a { color: #ff5a64; }
.ab-nav-phone { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--white); }
.ab-nav-phone:hover { color: var(--white); }
.ab-nav-phone-ico {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--g700);
}
.ab-nav-phone .ab-ico { width: 19px; height: 19px; }
.ab-nav-phone span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.ab-nav-phone small { font-size: 12px; color: var(--g400); }
.ab-nav-phone strong { font-size: 16px; }

/* Mega meni */
.ab-mega {
    display: none;
    position: absolute; left: 0; top: 100%;
    width: var(--side);
    background: var(--white); color: var(--ink);
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--r) var(--r);
    z-index: 60;
}
.ab-allcats.is-open .ab-mega { display: block; }
.ab-mega-list { padding: 6px 0; }
.ab-mega-item > a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 18px;
    font-weight: 600; font-size: 15px;
    position: relative;
}
.ab-cat-ico {
    width: 30px; height: 30px; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r);
    background: var(--g100); color: var(--g700);
}
.ab-cat-ico .ab-ico { width: 19px; height: 19px; }
.ab-cat-ico.is-img { background: var(--white); border: 1px solid var(--g200); overflow: hidden; }
.ab-cat-ico.is-img img { width: 100%; height: 100%; object-fit: contain; }
.ab-mega-name { flex: 1; }
.ab-mega-arrow { width: 16px; height: 16px; color: var(--g400); }
.ab-mega-item:hover > a, .ab-mega-item:focus-within > a { background: var(--g50); color: var(--red); }
.ab-mega-item:hover > a .ab-cat-ico, .ab-mega-item:focus-within > a .ab-cat-ico { background: var(--red); color: var(--white); }
.ab-mega-item:hover > a .ab-mega-arrow { color: var(--red); }
.ab-mega-panel {
    display: none;
    position: absolute; left: 100%; top: 0;
    width: calc(min(100vw - var(--gutter) * 2, var(--wrap)) - var(--side));
    min-height: 100%;
    padding: 24px 30px 28px;
    background: var(--white);
    box-shadow: 18px 10px 30px rgba(18, 20, 23, 0.1);
    border-left: 1px solid var(--g200);
    border-radius: 0 var(--r) var(--r) 0;
}
.ab-mega-item:hover > .ab-mega-panel, .ab-mega-item:focus-within > .ab-mega-panel { display: block; }
.ab-mega-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
    padding-bottom: 14px; margin-bottom: 18px;
    border-bottom: 1px solid var(--g200);
}
.ab-mega-head a {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--display); font-weight: 800; font-style: italic; font-size: 26px; text-transform: uppercase;
}
.ab-mega-head a .ab-ico { color: var(--red); }
.ab-mega-head span { color: var(--g500); font-size: 13px; }
.ab-mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.ab-mega-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; line-height: 1.25; }
.ab-mega-title .ab-cat-ico { width: 40px; height: 40px; }
.ab-mega-col ul { margin: 8px 0 0; padding-left: 50px; }
.ab-mega-col li a { display: block; padding: 3px 0; color: var(--g600); font-size: 14px; }
.ab-mega-col li a:hover { color: var(--red); }
.ab-mega-more { color: var(--red) !important; font-weight: 600; }
.ab-mega-empty { padding: 16px 18px; color: var(--g500); }

/* Početna: meni kategorija stalno otvoren pored slajdera */
@media (min-width: 1201px) {
    .ab-home .ab-allcats.is-pinned:not(.is-off) .ab-mega {
        display: block;
        height: var(--hero-h);
        box-shadow: none;
        border: 1px solid var(--g200);
        border-top: 0;
        border-radius: 0 0 var(--r) var(--r);
    }
    .ab-home .ab-allcats.is-pinned:not(.is-off) .ab-mega-list { height: 100%; display: flex; flex-direction: column; justify-content: space-around; }
    .ab-home .ab-allcats.is-pinned:not(.is-off) .ab-allcats-chev { display: none; }
}

/* ---------- Ladice (mobilni meni, korpa) ---------- */

.ab-drawer {
    position: fixed; top: 0; bottom: 0; z-index: 200;
    width: min(420px, 92vw);
    display: flex; flex-direction: column;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: hidden;
}
.ab-drawer-left { left: 0; transform: translateX(-102%); }
.ab-drawer-right { right: 0; transform: translateX(102%); }
.ab-drawer.is-open { transform: none; visibility: visible; }
.ab-drawer-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid var(--g200);
}
.ab-drawer-logo { height: 24px; width: auto; }
.ab-drawer-title { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.ab-drawer-title span { font-style: normal; font-size: 13px; background: var(--g100); border-radius: 12px; padding: 2px 9px; font-family: var(--font); }
.ab-drawer-body { flex: 1; overflow-y: auto; }
.ab-drawer-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--g200); }
.ab-drawer-tabs button {
    padding: 14px; border: 0; background: var(--g50);
    font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em;
    border-bottom: 3px solid transparent; color: var(--g500);
}
.ab-drawer-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); border-bottom-color: var(--red); }
.ab-drawer-pane { display: none; }
.ab-drawer-pane.is-active { display: block; }
.ab-overlay {
    position: fixed; inset: 0; z-index: 150;
    background: rgba(18, 20, 23, 0.55);
    backdrop-filter: blur(2px);
}

.ab-mcats-row { display: flex; align-items: center; border-bottom: 1px solid var(--g100); }
.ab-mcats-row > a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-weight: 600; }
.ab-mcats-toggle { width: 52px; align-self: stretch; border: 0; border-left: 1px solid var(--g100); background: none; display: flex; align-items: center; justify-content: center; }
.ab-mcats-toggle .ab-ico { width: 18px; height: 18px; transition: transform 0.2s; }
.ab-mcats-toggle[aria-expanded="true"] .ab-ico { transform: rotate(180deg); }
.ab-mcats .ab-mcats { display: none; background: var(--g50); }
.ab-mcats li.is-open > .ab-mcats { display: block; }
.ab-mcats.depth-1 .ab-mcats-row > a { padding-left: 30px; font-weight: 500; }
.ab-mcats.depth-2 .ab-mcats-row > a { padding-left: 44px; font-weight: 400; color: var(--g600); font-size: 14px; }
.ab-mlinks a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--g100); font-weight: 600; }
.ab-mcontact { padding: 18px 20px; display: grid; gap: 12px; color: var(--g600); }
.ab-mcontact > * { display: flex; align-items: center; gap: 10px; }
.ab-mcontact .ab-ico { width: 18px; height: 18px; color: var(--red); }

/* Bočna korpa */
.ab-side-cart { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ab-side-items { flex: 1; overflow-y: auto; padding: 4px 20px; }
.ab-side-item {
    display: grid; grid-template-columns: 76px 1fr auto; gap: 14px;
    padding: 16px 0; border-bottom: 1px solid var(--g100);
}
.ab-side-item.is-busy { opacity: 0.5; pointer-events: none; }
.ab-side-img img { width: 76px; height: 76px; object-fit: contain; border: 1px solid var(--g200); border-radius: var(--r); }
.ab-side-name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ab-side-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.ab-side-price { font-weight: 700; white-space: nowrap; }
.ab-side-remove { border: 0; background: none; color: var(--g400); padding: 2px; height: 28px; }
.ab-side-remove:hover { color: var(--red); }
.ab-side-remove .ab-ico { width: 18px; height: 18px; }
.ab-side-foot { padding: 16px 20px 20px; border-top: 1px solid var(--g200); background: var(--g50); }
.ab-side-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.ab-side-sum strong { font-size: 22px; font-family: var(--display); }
.ab-side-note { font-size: 13px; color: var(--g500); margin: 2px 0 14px; }
.ab-side-btns { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.ab-side-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px; text-align: center; color: var(--g500); }
.ab-side-empty > .ab-ico { width: 56px; height: 56px; color: var(--g300); }

.ab-ship-bar { padding: 14px 20px; background: var(--red-l); }
.ab-ship-bar p { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ab-ship-bar .ab-ico { width: 20px; height: 20px; color: var(--red); }
.ab-ship-track { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(227, 6, 19, 0.15); overflow: hidden; }
.ab-ship-track span { display: block; height: 100%; background: var(--red); border-radius: 3px; transition: width 0.4s; }
.ab-ship-bar.is-done { background: #e8f6ee; }
.ab-ship-bar.is-done .ab-ico { color: var(--green); }
.ab-ship-bar.is-done .ab-ship-track span { background: var(--green); }

/* Količina */
.ab-qty {
    display: inline-flex; align-items: stretch;
    height: 44px;
    border: 1.5px solid var(--g300);
    border-radius: var(--r);
    background: var(--white);
}
.ab-qty button {
    width: 36px; border: 0; background: none;
    display: flex; align-items: center; justify-content: center; color: var(--g600);
}
.ab-qty button:hover { color: var(--red); }
.ab-qty .ab-ico { width: 16px; height: 16px; }
.ab-qty input {
    width: 42px; border: 0; text-align: center; font-weight: 700; background: transparent;
    -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.ab-qty input::-webkit-outer-spin-button, .ab-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ab-qty input:focus { outline: 0; }
.ab-qty-sm { height: 36px; }
.ab-qty-sm button { width: 28px; }
.ab-qty-sm input { width: 30px; font-size: 14px; }
.ab-qty-lg { height: 52px; }
.ab-qty-lg button { width: 44px; }
.ab-qty-lg input { width: 50px; font-size: 17px; }

/* ---------- Hero ---------- */

.ab-hero { background: var(--g100); padding: 20px 0 0; }
.ab-hero-grid { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 20px; }
.ab-slider {
    position: relative;
    height: calc(var(--hero-h) - 20px);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--ink);
}
.ab-slides { position: relative; height: 100%; }
.ab-slide {
    position: absolute; inset: 0;
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    opacity: 0; visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}
.ab-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ab-slide-text {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px;
    padding: 40px 20px 72px 52px;
}
.ab-slide-title {
    font-family: var(--display); font-weight: 800; font-style: italic;
    font-size: clamp(36px, 4.2vw, 62px);
    line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em;
}
.ab-slide-text p { font-size: 17px; max-width: 460px; opacity: 0.85; }
.ab-slide .ab-eyebrow {
    padding: 5px 12px; background: var(--red); color: var(--white);
    transform: skewX(-12deg);
}
.ab-slide-media { position: relative; display: flex; align-items: center; justify-content: center; padding: 28px 40px 28px 70px; }
.ab-slide-media::before {
    content: ""; position: absolute; inset: 0;
    background: var(--white);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.ab-slide-media img { position: relative; max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transform: translateX(16px) scale(0.97); opacity: 0; transition: transform 0.8s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s 0.1s; }
.ab-slide.is-active .ab-slide-media img { transform: none; opacity: 1; }

.ab-slide.is-dark { background: var(--ink); color: var(--white); }
.ab-slide.is-dark::before {
    content: ""; position: absolute; left: 49%; top: 0; bottom: 0; width: 70px;
    background: var(--red);
    transform: skewX(-14deg) translateX(-40px);
    z-index: 1;
}
.ab-slide.is-red { background: var(--red); color: var(--white); }
.ab-slide.is-red .ab-eyebrow { background: var(--ink); }
.ab-slide.is-red::before {
    content: ""; position: absolute; left: 49%; top: 0; bottom: 0; width: 70px;
    background: var(--ink);
    transform: skewX(-14deg) translateX(-40px);
    z-index: 1;
}
.ab-slide.is-light { background: var(--white); color: var(--ink); }
.ab-slide.is-light .ab-slide-media::before { background: var(--g100); }
.ab-slide.is-light::before {
    content: ""; position: absolute; left: 49%; top: 0; bottom: 0; width: 70px;
    background: var(--red);
    transform: skewX(-14deg) translateX(-40px);
    z-index: 1;
}

.ab-slider-ui {
    position: absolute; left: 52px; bottom: 26px; z-index: 3;
    display: flex; align-items: center; gap: 14px;
}
.ab-slider-arrow {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35); background: transparent; color: var(--white);
    display: flex; align-items: center; justify-content: center;
}
.ab-slider-arrow:hover { background: var(--white); color: var(--ink); }
.ab-slider-arrow .ab-ico { width: 18px; height: 18px; }
.ab-slider-dots { display: flex; gap: 6px; }
.ab-slider-dots button {
    width: 26px; height: 5px; padding: 0; border: 0;
    background: rgba(255, 255, 255, 0.35);
    transform: skewX(-20deg);
    transition: width 0.3s, background 0.3s;
}
.ab-slider-dots button[aria-selected="true"] { width: 44px; background: var(--white); }
.ab-slider.is-light-ui .ab-slider-arrow { border-color: var(--g300); color: var(--ink); }
.ab-slider.is-light-ui .ab-slider-arrow:hover { background: var(--ink); color: var(--white); }
.ab-slider.is-light-ui .ab-slider-dots button { background: var(--g300); }
.ab-slider.is-light-ui .ab-slider-dots button[aria-selected="true"] { background: var(--red); }

/* Prednosti */
.ab-perks { background: var(--g100); padding: 20px 0 28px; }
.ab-perks ul {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid var(--g200);
}
.ab-perks li { display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.ab-perks li + li { border-left: 1px solid var(--g200); }
.ab-perk-ico {
    width: 46px; height: 46px; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--red-l); color: var(--red);
}
.ab-perks strong { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; }
.ab-perks span { font-size: 13px; color: var(--g500); }

/* ---------- Sekcije ---------- */

.ab-section { padding: 56px 0; }
.ab-section + .ab-section { padding-top: 8px; }
.ab-section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.ab-section-head .ab-link-more { margin-bottom: 4px; }
.ab-tabsec .ab-section-head { align-items: center; }

.ab-cats { padding-bottom: 32px; }
.ab-cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ab-cat-tile {
    height: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 16px 12px 16px;
    border: 1px solid var(--g200); border-radius: var(--r-lg);
    background: var(--white); text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ab-cat-tile:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-3px); color: var(--ink); }
.ab-cat-tile-img { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ab-cat-tile-img img { width: 100%; height: 100%; object-fit: contain; }
.ab-cat-tile-img .ab-ico { width: 48px; height: 48px; color: var(--g400); }
.ab-cat-tile-name { font-weight: 700; line-height: 1.25; }
.ab-cat-tile-count { font-size: 12px; color: var(--g500); }

.ab-promos { padding: 8px 0 24px; }
.ab-promos .ab-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab-promo {
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    min-height: 196px;
    padding: 24px 26px;
    border-radius: var(--r-lg);
    background: var(--g100);
}
.ab-promo-1 { background: var(--red-l); }
.ab-promo-2 { background: #e9eef5; }
.ab-promo-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; max-width: 55%; }
.ab-promo-text strong { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 30px; line-height: 0.95; text-transform: uppercase; }
.ab-promo-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.ab-promo-cta .ab-ico { width: 18px; height: 18px; color: var(--red); transition: transform 0.2s; }
.ab-promo img { position: absolute; right: -6px; bottom: 0; top: 0; margin: auto; width: 52%; height: 92%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s; }
.ab-promo:hover { color: var(--ink); }
.ab-promo:hover img { transform: scale(1.05) rotate(-2deg); }
.ab-promo:hover .ab-promo-cta .ab-ico { transform: translateX(4px); }

.ab-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.ab-tabs button {
    padding: 8px 14px;
    border: 1px solid var(--g200); border-radius: 30px; background: var(--white);
    font-size: 14px; font-weight: 600; color: var(--g600);
}
.ab-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.ab-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Traka sa proizvodima (horizontalno) */
.ab-rail { position: relative; }
.ab-rail-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: -6px; padding: 6px; }
.ab-rail-track::-webkit-scrollbar { display: none; }
.ab-rail-track.is-loading { opacity: 0.4; pointer-events: none; }
.ab-grid.ab-grid-rail {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * 16px) / 5);
    grid-template-columns: none;
    gap: 16px;
}
.ab-grid-rail > .ab-card { scroll-snap-align: start; }
.ab-rail-btn {
    position: absolute; top: 34%; z-index: 5;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--g200); background: var(--white); box-shadow: var(--shadow-sm);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.2s;
}
.ab-rail-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ab-rail-btn.is-prev { left: -20px; }
.ab-rail-btn.is-next { right: -20px; }
.ab-rail-btn[disabled] { opacity: 0; pointer-events: none; }
.ab-empty-line { padding: 30px 0; color: var(--g500); }

/* B2B traka */
.ab-b2b-band { padding: 8px 0 48px; }
.ab-b2b-band-inner {
    position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 28px;
    padding: 34px 44px;
    border-radius: var(--r-lg);
    background: var(--ink); color: var(--white);
}
.ab-b2b-band-inner::before, .ab-b2b-band-inner::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 120px;
    background: var(--red); transform: skewX(-18deg);
}
.ab-b2b-band-inner::before { right: 210px; opacity: 0.9; }
.ab-b2b-band-inner::after { right: 130px; width: 40px; opacity: 0.5; }
.ab-b2b-band-ico {
    position: relative; z-index: 1;
    width: 68px; height: 68px; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-lg); background: var(--red);
}
.ab-b2b-band-ico .ab-ico { width: 34px; height: 34px; }
.ab-b2b-band-text { position: relative; z-index: 1; flex: 1; }
.ab-b2b-band-text h2 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; text-transform: uppercase; margin: 4px 0 8px; }
.ab-b2b-band-text p { color: #c3c8cf; max-width: 620px; }
.ab-b2b-band .ab-btn { position: relative; z-index: 1; }
.ab-b2b-band .ab-eyebrow { color: #ff5a64; }

/* Brendovi */
.ab-brand-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ab-brand-row a {
    display: flex; align-items: center; justify-content: center;
    height: 100px; padding: 14px;
    border: 1px solid var(--g200); border-radius: var(--r-lg); background: var(--white);
    font-family: var(--display); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ab-brand-row img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s; }
.ab-brand-row a:hover { border-color: var(--g400); box-shadow: var(--shadow-sm); }
.ab-brand-row a:hover img { filter: none; opacity: 1; }

.ab-seo { padding-bottom: 64px; }
.ab-seo-inner { padding: 32px 36px; background: var(--g50); border-radius: var(--r-lg); border: 1px solid var(--g200); }
.ab-seo-inner .ab-prose { margin-top: 12px; column-width: 420px; column-gap: 40px; }

/* ---------- Kartica proizvoda ---------- */

.ab-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.ab-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-lg);
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 0;
}
.ab-card:hover { border-color: var(--g300); box-shadow: 0 12px 28px rgba(18, 20, 23, 0.09); }
.ab-card-media { position: relative; }
.ab-card-img {
    position: relative; display: block;
    aspect-ratio: 1; padding: 14px;
    overflow: hidden;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.ab-card-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s, transform 0.4s; }
.ab-card-img-alt { position: absolute; inset: 14px; width: calc(100% - 28px) !important; height: calc(100% - 28px) !important; opacity: 0; }
.ab-card:hover .ab-card-img-alt { opacity: 1; }
.ab-card:hover .ab-card-img:has(.ab-card-img-alt) .ab-card-img-main { opacity: 0; }
.ab-card:hover .ab-card-img-main:only-child { transform: scale(1.04); }
.ab-card.is-out .ab-card-img img { opacity: 0.55; }

.ab-tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; z-index: 2; pointer-events: none; }
.ab-tag {
    padding: 3px 9px;
    font-family: var(--display); font-weight: 800; font-style: italic; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.2;
    color: var(--white); background: var(--ink);
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
    padding-left: 11px; padding-right: 11px;
}
.ab-tag-sale { background: var(--red); }
.ab-tag-new { background: var(--ink); }
.ab-tag-promo { background: #f59e0b; color: var(--ink); }

.ab-wish {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--g200); background: var(--white); color: var(--g500);
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.ab-wish .ab-ico { width: 19px; height: 19px; }
.ab-wish:hover { color: var(--red); border-color: var(--red); }
.ab-wish.is-on { color: var(--red); border-color: var(--red-l); background: var(--red-l); }
.ab-wish.is-on .ab-ico { fill: currentColor; }
.ab-wish.is-pop { transform: scale(1.15); }
.ab-card-wish { position: absolute; top: 10px; right: 10px; z-index: 2; }

.ab-card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 4px 14px 14px; }
.ab-card-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-card-title { font-size: 14px; font-weight: 600; line-height: 1.32; min-height: calc(1.32em * 3); }
.ab-card-title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ab-card-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--g500); }
.ab-card-meta b { color: var(--g700); font-weight: 600; }
.ab-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.ab-card-price .price, .ab-card-price { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.05; color: var(--ink); }
.ab-card-price del { display: block; font-size: 14px; font-weight: 600; color: var(--g400); }
.ab-card-price ins { text-decoration: none; color: var(--red); }
.ab-card-price .woocommerce-Price-currencySymbol { font-size: 0.7em; font-weight: 700; }
.ab-card-buy { display: flex; gap: 8px; margin-top: 8px; }
.ab-card-buy .ab-btn { flex: 1; min-height: 36px; padding: 0 10px; font-size: 15px; }
.ab-card-buy .ab-btn .ab-ico { width: 17px; height: 17px; }
.ab-card .ab-btn-block { margin-top: 8px; min-height: 36px; font-size: 14px; }
.ab-card-login .ab-ico { width: 16px; height: 16px; }
.ab-card-login span { overflow: hidden; text-overflow: ellipsis; }

.ab-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ab-stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.ab-stock.is-in { color: var(--green); }
.ab-stock.is-low, .ab-stock.is-backorder { color: var(--amber); }
.ab-stock.is-out { color: var(--g500); }

.ab-price-login { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--g500); }
.ab-price-login a { color: var(--red); font-weight: 700; text-decoration: underline; }
.ab-b2b-badge { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: var(--ink); color: var(--white); font-family: var(--font); font-size: 10px; font-weight: 700; font-style: normal; letter-spacing: 0.05em; }

/* Lista (prikaz) */
.ab-grid.is-list { grid-template-columns: 1fr; }
.ab-grid.is-list .ab-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
.ab-grid.is-list .ab-card-img { border-radius: var(--r-lg) 0 0 var(--r-lg); height: 100%; }
.ab-grid.is-list .ab-card-body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; grid-template-rows: auto auto 1fr; column-gap: 24px; padding: 16px 18px; }
.ab-grid.is-list .ab-card-cat, .ab-grid.is-list .ab-card-title, .ab-grid.is-list .ab-card-meta { grid-column: 1; }
.ab-grid.is-list .ab-card-title { min-height: 0; font-size: 16px; }
.ab-grid.is-list .ab-card-foot { grid-column: 2; grid-row: 1 / 3; flex-direction: column; align-items: flex-end; margin: 0; padding: 0; }
.ab-grid.is-list .ab-card-body > .ab-card-buy, .ab-grid.is-list .ab-card-body > .ab-btn { grid-column: 2; grid-row: 3; align-self: end; }

/* ---------- Naslov stranice ---------- */

.ab-pagehead { background: var(--g50); border-bottom: 1px solid var(--g200); padding: 22px 0 26px; }
.ab-pagehead.is-slim { padding: 14px 0; }
.ab-pagehead .ab-h1 { margin-top: 10px; }
.ab-pagehead-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ab-pagehead-count { font-size: 14px; color: var(--g500); }
.ab-pagehead-desc { margin-top: 10px; max-width: 820px; color: var(--g600); }
.ab-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; color: var(--g500); }
.ab-crumbs li { display: inline-flex; align-items: center; }
.ab-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--g300); }
.ab-crumbs a:hover { color: var(--red); }
.ab-crumbs [aria-current] { color: var(--ink); font-weight: 500; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ab-page { padding-top: 36px; padding-bottom: 72px; }
.ab-article { max-width: 820px; }

/* ---------- Prodavnica ---------- */

.ab-shop { padding-top: 24px; padding-bottom: 72px; }
.ab-cat-banner { margin-bottom: 24px; border-radius: var(--r-lg); overflow: hidden; }
.ab-cat-banner img { width: 100%; }
.ab-subcats {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px;
    margin-bottom: 28px;
}
.ab-subcats a {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 12px 8px 8px;
    border: 1px solid var(--g200); border-radius: var(--r-lg); background: var(--white);
    transition: border-color 0.2s;
}
.ab-subcats a:hover { border-color: var(--red); color: var(--ink); }
.ab-subcats-img { width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: var(--r); background: var(--white); overflow: hidden; }
.ab-subcats-img img { width: 100%; height: 100%; object-fit: contain; }
.ab-subcats-img .ab-ico { color: var(--g500); }
.ab-subcats-name { font-weight: 600; font-size: 14px; line-height: 1.25; display: flex; flex-direction: column; }
.ab-subcats-name small { font-weight: 400; color: var(--g500); font-size: 12px; }

.ab-shop-grid { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 32px; align-items: start; }

.ab-filters-head { display: none; }
.ab-fblock { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--g200); }
.ab-fblock h3 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 19px; text-transform: uppercase; margin-bottom: 12px; }
.ab-side-cats { font-size: 14px; }
.ab-side-cats .ab-side-cats { display: none; padding-left: 14px; border-left: 1px solid var(--g200); margin: 2px 0 6px 8px; }
.ab-side-cats li.is-open > .ab-side-cats { display: block; }
.ab-side-row { display: flex; align-items: center; }
.ab-side-row a { flex: 1; display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; color: var(--g700); }
.ab-side-row a:hover { color: var(--red); }
.ab-side-cats .is-current > .ab-side-row a { color: var(--red); font-weight: 700; }
.ab-side-cats.depth-0 > li > .ab-side-row a { font-weight: 600; color: var(--ink); }
.ab-side-count { color: var(--g400); font-size: 12px; font-weight: 400; }
.ab-side-toggle { width: 28px; height: 28px; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: var(--g500); flex: none; }
.ab-side-toggle .ab-ico { width: 16px; height: 16px; transition: transform 0.2s; }
.ab-side-toggle[aria-expanded="true"] .ab-ico { transform: rotate(180deg); }

.ab-price-inputs { display: flex; align-items: center; gap: 8px; }
.ab-price-inputs label { flex: 1; }
.ab-price-inputs input { width: 100%; height: 40px; padding: 0 10px; }
.ab-checks { display: grid; gap: 8px; }
.ab-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.ab-check input { width: 18px; height: 18px; accent-color: var(--red); flex: none; margin: 0; }

.ab-toolbar {
    display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px;
    padding: 10px 12px 10px 16px; margin-bottom: 18px;
    border: 1px solid var(--g200); border-radius: var(--r-lg); background: var(--g50);
}
.ab-filter-open { display: none; }
.ab-toolbar-count { flex: 1; font-size: 14px; color: var(--g600); }
.ab-toolbar-form { display: flex; gap: 8px; }
.ab-select { position: relative; display: inline-flex; align-items: center; }
.ab-select select {
    appearance: none; -webkit-appearance: none;
    height: 40px; padding: 0 36px 0 12px;
    border: 1px solid var(--g300); border-radius: var(--r); background: var(--white);
    font-size: 14px; font-weight: 600; cursor: pointer;
}
.ab-select .ab-ico { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; color: var(--g500); }
.ab-view { display: flex; border: 1px solid var(--g300); border-radius: var(--r); overflow: hidden; background: var(--white); }
.ab-view button { width: 40px; height: 38px; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: var(--g500); }
.ab-view button .ab-ico { width: 18px; height: 18px; }
.ab-view button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.ab-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.ab-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 30px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; }
.ab-chip .ab-ico { width: 14px; height: 14px; }
.ab-chip:hover { background: var(--red); color: var(--white); }
.ab-chip-clear { font-size: 13px; font-weight: 600; text-decoration: underline; color: var(--g600); }

.ab-pagination { margin-top: 36px; }
.ab-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.ab-pagination .page-numbers {
    min-width: 42px; height: 42px; padding: 0 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--g200); border-radius: var(--r);
    font-weight: 700;
}
.ab-pagination .page-numbers .ab-ico { width: 18px; height: 18px; }
.ab-pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.ab-pagination .current { background: var(--red); border-color: var(--red); color: var(--white); }
.ab-pagination .dots { border: 0; }
.ab-cat-bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--g200); }

.ab-empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 60px 24px; text-align: center;
    border: 1px dashed var(--g300); border-radius: var(--r-lg); background: var(--g50);
}
.ab-empty-state > .ab-ico { width: 52px; height: 52px; color: var(--g300); }
.ab-empty-state h2 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 28px; text-transform: uppercase; }
.ab-empty-state p { color: var(--g500); max-width: 460px; }

/* ---------- Proizvod ---------- */

.ab-product { padding-top: 28px; padding-bottom: 64px; }
.ab-product-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: start; }

.ab-gallery { position: sticky; top: 90px; }
.ab-gallery-main {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid var(--g200); border-radius: var(--r-lg);
    overflow: hidden; background: var(--white);
}
.ab-gallery-slide { position: absolute; inset: 0; margin: 0; padding: 28px; display: none; cursor: zoom-in; background-repeat: no-repeat; background-size: 220%; }
.ab-gallery-slide.is-active { display: flex; align-items: center; justify-content: center; }
.ab-gallery-slide img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.2s; }
.ab-gallery-slide.is-zoom img { opacity: 0; }
.ab-gallery-main .ab-tags { top: 16px; left: 16px; }
.ab-gallery-main .ab-tag { font-size: 17px; }
.ab-gallery-arrow {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--g200); background: rgba(255, 255, 255, 0.9);
    display: flex; align-items: center; justify-content: center;
}
.ab-gallery-arrow:hover { background: var(--ink); color: var(--white); }
.ab-gallery-arrow.is-prev { left: 14px; }
.ab-gallery-arrow.is-next { right: 14px; }
.ab-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; }
.ab-gallery-thumbs button {
    width: 78px; height: 78px; flex: none; padding: 6px;
    border: 1.5px solid var(--g200); border-radius: var(--r); background: var(--white);
}
.ab-gallery-thumbs button.is-active { border-color: var(--red); }
.ab-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.ab-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ab-brand-chip {
    display: inline-block; padding: 4px 14px;
    font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px;
    color: var(--white); background: var(--red);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.ab-brand-chip:hover { background: var(--ink); color: var(--white); }
.ab-brand-chip.is-cat { background: var(--ink); }
.ab-product-title { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; text-transform: uppercase; letter-spacing: 0.005em; }
.ab-product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 0 20px; font-size: 14px; color: var(--g600); }
.ab-product-meta strong { color: var(--ink); }
.ab-product-meta .ab-stock { font-size: 13px; }

.ab-price-box { padding: 18px 22px; border-radius: var(--r-lg); background: var(--g50); border: 1px solid var(--g200); }
.ab-price-big, .ab-price-big .price { font-family: var(--display); font-weight: 800; font-size: 42px; line-height: 1; }
.ab-price-big del { font-size: 22px; color: var(--g400); margin-right: 10px; font-weight: 600; }
.ab-price-big ins { text-decoration: none; color: var(--red); }
.ab-price-big .woocommerce-Price-currencySymbol { font-size: 0.6em; }
.ab-price-note { margin-top: 6px; font-size: 13px; color: var(--g500); }
.ab-save { color: var(--red); font-weight: 700; }

.ab-short { margin-top: 20px; font-size: 15px; }
.ab-buy { margin-top: 22px; }
.ab-buy-form { display: flex; gap: 12px; }
.ab-buy-btn { flex: 1; }
.ab-locked {
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px;
    padding: 16px 18px; border-radius: var(--r-lg);
    background: var(--ink); color: var(--white);
}
.ab-locked > .ab-ico { width: 28px; height: 28px; color: var(--red); grid-row: span 1; }
.ab-locked div { display: flex; flex-direction: column; }
.ab-locked span { font-size: 13px; color: var(--g400); }
.ab-locked .ab-btn { grid-column: 1 / -1; margin-top: 12px; }
.ab-locked .ab-btn + .ab-btn { margin-top: 0; }
.ab-price-ask { font-family: var(--display); font-weight: 700; font-size: 0.8em; color: var(--g600); text-transform: uppercase; letter-spacing: 0.03em; }
.ab-price-big .ab-price-ask { font-size: 30px; }
.ab-locked.is-out { background: var(--g100); color: var(--ink); }
.ab-locked.is-out span { color: var(--g500); }

.ab-product-perks { display: grid; gap: 10px; margin-top: 22px; padding: 18px 0; border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.ab-product-perks li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--g700); }
.ab-product-perks .ab-ico { width: 22px; height: 22px; color: var(--red); }
.ab-summary-wish { width: 44px; height: 44px; }
.ab-help-call { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--g600); }
.ab-help-call .ab-ico { color: var(--red); }
.ab-help-call strong { color: var(--ink); }

.ab-ptabs { margin-top: 56px; }
.ab-ptabs-nav { display: flex; gap: 6px; border-bottom: 2px solid var(--g200); overflow-x: auto; }
.ab-ptabs-nav button {
    padding: 12px 20px; margin-bottom: -2px;
    border: 0; border-bottom: 3px solid transparent; background: none;
    font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--g500); white-space: nowrap;
}
.ab-ptabs-nav button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.ab-ptab { padding: 26px 0 0; max-width: 900px; }
.ab-ptab .woocommerce-product-attributes { max-width: 720px; }

.ab-related { padding-bottom: 0; }

.ab-sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--white); border-top: 1px solid var(--g200);
    box-shadow: 0 -8px 24px rgba(18, 20, 23, 0.08);
    transform: translateY(110%); transition: transform 0.3s;
}
.ab-sticky-buy.is-on { transform: none; }
.ab-sticky-buy .ab-wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.ab-sticky-buy img { width: 50px; height: 50px; object-fit: contain; border: 1px solid var(--g200); border-radius: var(--r); }
.ab-sticky-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ab-sticky-info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-sticky-info span { font-family: var(--display); font-weight: 800; font-size: 19px; }
.ab-sticky-info del { font-size: 14px; color: var(--g400); }
.ab-sticky-info ins { text-decoration: none; color: var(--red); }

/* ---------- Forme ---------- */

input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea,
.woocommerce form .input-text, .select2-container--default .select2-selection--single {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--g300);
    border-radius: var(--r);
    background: var(--white);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--red-l); }
.ab-search input:focus, .ab-search select:focus, .ab-qty input:focus { box-shadow: none; }
.ab-search input, .ab-search select, .ab-qty input { height: auto; border: 0; }

label, .woocommerce form .form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--g700); }
.ab-check, .ab-check span { font-weight: 400; margin: 0; color: var(--ink); }
abbr[title], .required { color: var(--red); text-decoration: none; border: 0; }

.ab-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.ab-form legend { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; text-transform: uppercase; margin-bottom: 14px; padding: 0; }
.ab-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ab-field { margin: 0; }
.ab-field.is-wide { grid-column: 1 / -1; }
.ab-form > .ab-field + .ab-field { margin-top: 14px; }
.ab-hp { position: absolute; left: -9999px; }
.ab-form .ab-check { margin: 6px 0 18px; }
.ab-form .ab-check a { color: var(--red); text-decoration: underline; }

/* Obaveštenja */
.ab-notice,
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice,
.woocommerce-NoticeGroup .woocommerce-error {
    position: relative;
    display: block;
    padding: 14px 18px 14px 20px;
    margin: 0 0 20px;
    border: 1px solid var(--g200);
    border-left: 4px solid var(--ink);
    border-radius: var(--r);
    background: var(--g50);
    font-size: 14px;
    list-style: none;
}
.woocommerce-message, .ab-notice.is-success { border-left-color: var(--green); background: #f0f9f3; }
.woocommerce-error, .ab-notice.is-error { border-left-color: var(--red); background: var(--red-l); }
.woocommerce-info { border-left-color: var(--g500); }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { float: right; min-height: 32px; font-size: 13px; padding: 0 12px; margin: -5px 0 -5px 12px; }
.woocommerce-error li + li, .ab-notice li + li { margin-top: 4px; }
.ab-notice a, .woocommerce-info a:not(.button), .woocommerce-message a:not(.button) { color: var(--red); font-weight: 600; text-decoration: underline; }
.woocommerce-notices-wrapper:empty { display: none; }

/* Toast */
.ab-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 400;
    display: flex; align-items: center; gap: 12px;
    max-width: calc(100vw - 32px);
    padding: 12px 14px 12px 16px;
    border-radius: var(--r-lg);
    background: var(--ink); color: var(--white);
    box-shadow: var(--shadow);
    transform: translate(-50%, 140%); transition: transform 0.3s;
    font-size: 14px;
}
.ab-toast.is-on { transform: translate(-50%, 0); }
.ab-toast .ab-ico { color: #34d399; }
.ab-toast.is-error .ab-ico { color: #ff5a64; }
.ab-toast a { color: var(--white); text-decoration: underline; font-weight: 700; white-space: nowrap; }

/* ---------- Korpa ---------- */

.ab-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.ab-cart-main .ab-ship-bar { border-radius: var(--r-lg); margin-bottom: 16px; }
.ab-cart-head, .ab-cart-item {
    display: grid; grid-template-columns: minmax(0, 1fr) 120px 150px 120px; gap: 16px; align-items: center;
}
.ab-cart-head { padding: 0 18px 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--g500); }
.ab-cart-head span:not(:first-child), .ab-cart-price, .ab-cart-sub { text-align: right; }
.ab-cart-head span:nth-child(3), .ab-cart-qty { text-align: center; }
.ab-cart-items { border: 1px solid var(--g200); border-radius: var(--r-lg); }
.ab-cart-item { padding: 16px 18px; }
.ab-cart-item + .ab-cart-item { border-top: 1px solid var(--g200); }
.ab-cart-prod { display: flex; gap: 16px; align-items: center; }
.ab-cart-img { flex: none; }
.ab-cart-img img { width: 88px; height: 88px; object-fit: contain; border: 1px solid var(--g200); border-radius: var(--r); padding: 4px; }
.ab-cart-name { display: block; font-weight: 600; line-height: 1.3; }
.ab-cart-sku { display: block; font-size: 12px; color: var(--g500); margin-top: 3px; }
.ab-cart-remove { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; color: var(--g500); }
.ab-cart-remove .ab-ico { width: 15px; height: 15px; }
.ab-cart-sub { font-weight: 700; }
.ab-cart-price, .ab-cart-sub { font-size: 15px; }
.ab-cart-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.ab-coupon { display: flex; gap: 8px; }
.ab-coupon input { width: 200px; }
.ab-cart-update { display: none; }
.ab-link-back { display: inline-flex; align-items: center; gap: 4px; margin-top: 18px; font-weight: 600; }
.ab-link-back .ab-ico { width: 18px; height: 18px; }

.ab-cart-aside .cart_totals, .ab-panel { padding: 22px 24px; border: 1px solid var(--g200); border-radius: var(--r-lg); background: var(--g50); }
.ab-cart-aside .cart_totals h2, .ab-panel h3, #order_review_heading, .woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, #ship-to-different-address {
    font-family: var(--display); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; margin-bottom: 16px;
}
.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shop_table th, .shop_table td { padding: 12px 0; border-bottom: 1px solid var(--g200); text-align: left; vertical-align: top; }
.shop_table td { text-align: right; }
.cart_totals .shop_table th { font-weight: 600; color: var(--g600); }
.shop_table .order-total th, .shop_table .order-total td { border-bottom: 0; padding-top: 16px; font-size: 16px; color: var(--ink); }
.shop_table .order-total .amount { font-family: var(--display); font-size: 28px; font-weight: 800; }
.shop_table .includes_tax, .shop_table small { display: block; font-size: 12px; font-weight: 400; color: var(--g500); }
#shipping_method { display: grid; gap: 6px; }
#shipping_method li { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
#shipping_method input { accent-color: var(--red); }
#shipping_method label { display: inline; margin: 0; font-weight: 500; color: var(--ink); }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 13px; color: var(--g500); margin-top: 6px; }
.shipping-calculator-button { color: var(--red); text-decoration: underline; }
.wc-proceed-to-checkout { margin-top: 14px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 19px; }

/* ---------- Plaćanje ---------- */

.ab-steps { display: flex; gap: 8px; margin-bottom: 28px; counter-reset: s; }
.ab-steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r); background: var(--g100); color: var(--g500); font-weight: 600; font-size: 14px; }
.ab-steps span { width: 26px; height: 26px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.ab-steps .is-active { background: var(--ink); color: var(--white); }
.ab-steps .is-active span { background: var(--red); }
.ab-steps .is-done { background: #e8f6ee; color: var(--green); }

.ab-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; }
.ab-checkout-main .ab-panel { background: var(--white); }
.ab-checkout > .woocommerce-NoticeGroup, .ab-checkout > .woocommerce-error, .ab-checkout > .woocommerce-message { grid-column: 1 / -1; margin: 0; }
.ab-customer-type > label .required, .ab-customer-type > label abbr, .ab-customer-type .woocommerce-input-wrapper .required { display: none; }
.woocommerce-message:focus, .woocommerce-error:focus, .woocommerce-info:focus, .woocommerce-NoticeGroup:focus { outline: 0; }
.ab-panel-sticky { position: sticky; top: 90px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
}
.form-row { margin: 0; }
.form-row-wide, .form-row.notes, .woocommerce-additional-fields .form-row { grid-column: 1 / -1; }
.form-row-first { grid-column: 1; }
.form-row-last { grid-column: 2; }
.ab-hidden-field, .ab-company-field.is-hidden { display: none !important; }
.woocommerce-input-wrapper { display: block; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid select { border-color: var(--red); }
.woocommerce-additional-fields { margin-top: 22px; }
#ship-to-different-address { font-size: 16px; margin: 22px 0 12px; font-style: normal; }
#ship-to-different-address label { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; color: var(--ink); }
#ship-to-different-address input { width: 18px; height: 18px; accent-color: var(--red); }
.shipping_address { margin-bottom: 10px; }

.ab-customer-type .woocommerce-input-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ab-customer-type .woocommerce-input-wrapper > label { display: none; }
.ab-customer-type input[type="radio"] { position: absolute; opacity: 0; }
.ab-customer-type input[type="radio"] + label {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; margin: 0;
    border: 1.5px solid var(--g300); border-radius: var(--r); background: var(--white);
    font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.ab-customer-type input[type="radio"]:checked + label { border-color: var(--red); background: var(--red-l); color: var(--red); }
.ab-customer-type input[type="radio"]:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }
.ab-customer-type > label { font-size: 13px; }

.woocommerce-checkout-review-order-table .product-name { font-weight: 500; padding-right: 14px; text-align: left; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--g500); font-weight: 600; }
.woocommerce-checkout-review-order-table thead { display: none; }
#payment { margin-top: 18px; }
#payment .payment_methods { display: grid; gap: 8px; margin-bottom: 16px; }
#payment .payment_methods > li { padding: 12px 14px; border: 1.5px solid var(--g200); border-radius: var(--r); background: var(--white); }
#payment .payment_methods > li:has(input:checked) { border-color: var(--ink); }
#payment .payment_methods input { accent-color: var(--red); margin-right: 8px; }
#payment .payment_methods label { display: inline; margin: 0; font-size: 15px; color: var(--ink); }
#payment .payment_methods label img { display: inline-block; max-height: 22px; vertical-align: middle; margin-left: 6px; }
#payment .payment_box { margin-top: 8px; font-size: 13px; color: var(--g600); }
#payment .place-order { margin: 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--g600); margin-bottom: 14px; }
.woocommerce-terms-and-conditions-wrapper a { color: var(--red); text-decoration: underline; }
.woocommerce-form__label-for-checkbox { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--ink); }
#place_order { width: 100%; min-height: 56px; font-size: 20px; }
.woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 14px; }
.checkout_coupon { display: flex; gap: 8px; padding: 16px; margin-bottom: 18px; border: 1px dashed var(--g300); border-radius: var(--r-lg); }
.checkout_coupon p:first-child { display: none; }
.checkout_coupon .form-row-first { flex: 1; }
.checkout_coupon .clear { display: none; }
.woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 14px; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, 0.7) !important; }

/* Potvrda porudžbine */
.woocommerce-order { max-width: 860px; }
.woocommerce-thankyou-order-received {
    padding: 22px 24px; margin-bottom: 20px;
    border-radius: var(--r-lg); background: #f0f9f3; border: 1px solid #c7ead4;
    font-family: var(--display); font-weight: 800; font-style: italic; font-size: 26px; text-transform: uppercase; color: var(--green);
}
.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 28px; }
.woocommerce-order-overview li { padding: 14px 16px; border: 1px solid var(--g200); border-radius: var(--r); font-size: 12px; color: var(--g500); text-transform: uppercase; letter-spacing: 0.04em; }
.woocommerce-order-overview strong { display: block; margin-top: 4px; font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading {
    font-family: var(--display); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; margin: 28px 0 12px;
}
.woocommerce-customer-details address { font-style: normal; padding: 16px 18px; border: 1px solid var(--g200); border-radius: var(--r); line-height: 1.7; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wc-bacs-bank-details { display: grid; gap: 4px; padding: 14px 18px; border: 1px solid var(--g200); border-radius: var(--r); }

/* ---------- Nalog ---------- */

.woocommerce-account .ab-page > .woocommerce { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-account:not(.logged-in) .ab-page > .woocommerce { display: block; }
.ab-account-nav { border: 1px solid var(--g200); border-radius: var(--r-lg); overflow: hidden; position: sticky; top: 90px; }
.ab-account-user { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--ink); color: var(--white); }
.ab-account-user strong { display: block; line-height: 1.2; }
.ab-account-user span { font-size: 12px; color: var(--g400); word-break: break-all; }
.ab-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; }
.ab-account-nav ul { padding: 8px; }
.ab-account-nav li a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); font-weight: 600; font-size: 14px; color: var(--g700); }
.ab-account-nav li a .ab-ico { width: 19px; height: 19px; color: var(--g400); }
.ab-account-nav li a:hover { background: var(--g50); color: var(--ink); }
.ab-account-nav li.is-active a { background: var(--red-l); color: var(--red); }
.ab-account-nav li.is-active a .ab-ico { color: var(--red); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p:first-child { margin-bottom: 16px; }
.ab-dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.ab-dash-cards a { display: flex; flex-direction: column; gap: 2px; padding: 18px; border: 1px solid var(--g200); border-radius: var(--r-lg); transition: border-color 0.2s; }
.ab-dash-cards a:hover { border-color: var(--red); color: var(--ink); }
.ab-dash-cards .ab-ico { color: var(--red); margin-bottom: 8px; }
.ab-dash-cards strong { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1.1; }
.ab-dash-cards span { font-size: 13px; color: var(--g500); }
.ab-dash-orders li a { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--g200); border-radius: var(--r); margin-bottom: 8px; font-size: 14px; }
.ab-dash-total { font-weight: 700; }
.ab-status, .woocommerce-orders-table__cell-order-status { font-size: 12px; font-weight: 700; }
.ab-status { padding: 3px 10px; border-radius: 20px; background: var(--g100); justify-self: start; }
.ab-status.is-processing { background: #e0ecff; color: #1d4ed8; }
.ab-status.is-completed { background: #e8f6ee; color: var(--green); }
.ab-status.is-on-hold, .ab-status.is-pending { background: #fef3c7; color: var(--amber); }
.ab-status.is-cancelled, .ab-status.is-failed { background: var(--red-l); color: var(--red); }

.woocommerce-orders-table, .woocommerce-table--order-details, .woocommerce-MyAccount-content .shop_table { width: 100%; border: 1px solid var(--g200); border-radius: var(--r-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce-orders-table th, .woocommerce-orders-table td, .woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--g200); }
.woocommerce-orders-table thead th, .woocommerce-table--order-details thead th { background: var(--g50); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--g500); }
.woocommerce-orders-table tr:last-child td, .woocommerce-table--order-details tfoot tr:last-child th, .woocommerce-table--order-details tfoot tr:last-child td { border-bottom: 0; }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details tfoot td { text-align: right; }
.woocommerce-orders-table .button { min-height: 34px; font-size: 13px; padding: 0 12px; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.woocommerce-Address { padding: 20px; border: 1px solid var(--g200); border-radius: var(--r-lg); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.woocommerce-Address-title h2 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; text-transform: uppercase; }
.woocommerce-Address-title a { color: var(--red); font-weight: 600; font-size: 14px; }
.woocommerce-Address address { font-style: normal; line-height: 1.7; color: var(--g700); }
.woocommerce-EditAccountForm, .woocommerce-address-fields { max-width: 720px; }
.woocommerce-EditAccountForm { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.woocommerce-EditAccountForm > *, .woocommerce-EditAccountForm fieldset { grid-column: 1 / -1; }
.woocommerce-EditAccountForm .form-row-first { grid-column: 1; }
.woocommerce-EditAccountForm .form-row-last { grid-column: 2; }
.woocommerce-EditAccountForm fieldset { border: 1px solid var(--g200); border-radius: var(--r-lg); padding: 16px 18px; margin: 10px 0; display: grid; gap: 14px; }
.woocommerce-EditAccountForm legend { font-weight: 700; padding: 0 6px; }
.woocommerce-EditAccountForm em { font-size: 12px; color: var(--g500); }
.woocommerce-address-fields .button, .woocommerce-EditAccountForm .button { margin-top: 18px; background: var(--red); }
.woocommerce-pagination { display: flex; gap: 8px; margin-top: 16px; }
.woocommerce-ResetPassword, .woocommerce-form-login.login:not(.ab-form) { max-width: 520px; }
.woocommerce-ResetPassword { display: grid; gap: 14px; }
.woocommerce-password-strength { margin-top: 6px; padding: 6px 10px; border-radius: var(--r); font-size: 12px; }
.woocommerce-password-strength.strong { background: #e8f6ee; color: var(--green); }
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { background: var(--red-l); color: var(--red); }
.woocommerce-password-strength.good { background: #fef3c7; color: var(--amber); }
.woocommerce-password-hint { display: block; font-size: 12px; color: var(--g500); margin-top: 4px; }
.show-password-input { display: none; }
.ab-field:has(#reg_password), .form-row:has(#account_password) { position: relative; padding-bottom: 34px; }
.ab-field:has(#reg_password) .woocommerce-password-strength, .form-row:has(#account_password) .woocommerce-password-strength { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }

/* Prijava / registracija */
.ab-auth { display: grid; grid-template-columns: 1fr 1fr 0.86fr; gap: 20px; align-items: stretch; }
.ab-auth-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--g200); border-radius: var(--r-lg); background: var(--white); }
.ab-auth-card h2 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 28px; text-transform: uppercase; }
.ab-auth-card h2 .ab-ico { color: var(--red); }
.ab-auth-sub { color: var(--g500); font-size: 14px; margin: 6px 0 20px; }
.ab-auth-card form { display: flex; flex-direction: column; flex: 1; }
.ab-auth-card form .ab-btn-block { margin-top: auto; }
.ab-auth-card .woocommerce-privacy-policy-text { font-size: 12px; color: var(--g500); margin: 14px 0; }
.ab-auth-card .woocommerce-privacy-policy-text a { color: var(--red); }
.ab-auth-card .ab-form-grid { margin-bottom: 14px; }
.ab-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 20px; font-size: 14px; }
.ab-auth-row a { color: var(--red); font-weight: 600; }
.ab-auth-card.is-b2b { background: var(--ink); color: var(--white); border-color: var(--ink); position: relative; overflow: hidden; }
.ab-auth-card.is-b2b::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 80px; background: var(--red); transform: skewX(-14deg); opacity: 0.9; }
.ab-auth-card.is-b2b > * { position: relative; z-index: 1; }
.ab-auth-card.is-b2b h2 { margin: 6px 0 10px; }
.ab-auth-card.is-b2b p { color: #c3c8cf; font-size: 14px; }
.ab-auth-card.is-b2b .ab-eyebrow { color: #ff5a64; }
.ab-auth-card.is-b2b .ab-btn { margin-top: auto; }
.ab-auth-b2b-ico { width: 54px; height: 54px; border-radius: var(--r-lg); background: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ab-auth-b2b-ico .ab-ico { width: 28px; height: 28px; }
.ab-checklist { display: grid; gap: 8px; margin: 18px 0 24px; }
.ab-checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ab-checklist .ab-ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--red); color: var(--white); stroke-width: 3; }

.ab-social-login { display: grid; gap: 10px; margin-top: 18px; }
.ab-or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--g500); }
.ab-or::before, .ab-or::after { content: ""; flex: 1; height: 1px; background: var(--g200); }
.ab-btn-social { background: var(--white); color: var(--ink); border-color: var(--g300); font-family: var(--font); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 15px; }
.ab-btn-social:hover { border-color: var(--ink); color: var(--ink); }
.ab-btn-social.is-apple { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* B2B registracija */
.ab-b2b { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; align-items: start; }
.ab-b2b-aside { position: sticky; top: 90px; padding: 32px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); overflow: hidden; }
.ab-b2b-aside h2 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 34px; line-height: 1; text-transform: uppercase; margin: 8px 0 14px; }
.ab-b2b-aside p { color: #c3c8cf; }
.ab-b2b-aside .ab-eyebrow { color: #ff5a64; }
.ab-b2b-login { margin-top: 10px; font-size: 14px; }
.ab-b2b-login a { color: var(--white); text-decoration: underline; font-weight: 700; }
.ab-b2b-form { padding: 28px; border: 1px solid var(--g200); border-radius: var(--r-lg); }
.ab-b2b-done { max-width: 620px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 24px; border: 1px solid var(--g200); border-radius: var(--r-lg); }
.ab-b2b-done > .ab-ico { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: #e8f6ee; color: var(--green); stroke-width: 2.6; }
.ab-b2b-done h2 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 32px; text-transform: uppercase; }

/* Kontakt */
.ab-contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: start; }
.ab-contact-cards { display: grid; gap: 12px; }
.ab-contact-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--g200); border-radius: var(--r-lg); }
.ab-contact-ico { width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--red-l); color: var(--red); }
.ab-contact-card h3 { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g500); }
.ab-contact-card p { font-size: 17px; font-weight: 600; margin-top: 2px; }
.ab-contact-company { padding: 16px 20px; border-radius: var(--r-lg); background: var(--g50); font-size: 14px; color: var(--g600); }
.ab-btn-viber { background: #7360f2; color: var(--white); }
.ab-btn-viber:hover { background: #5b48d9; color: var(--white); }
.ab-contact-form { padding: 28px; border: 1px solid var(--g200); border-radius: var(--r-lg); }
.ab-contact-form h2 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 28px; text-transform: uppercase; margin-bottom: 18px; }
.ab-contact-form .ab-form-grid { margin-bottom: 18px; }
.ab-map { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--g200); }
.ab-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Lista želja */
.ab-wish-count-line { margin-bottom: 16px; color: var(--g600); }
.ab-wish-count-line a { color: var(--red); font-weight: 600; text-decoration: underline; }

/* 404 */
.ab-404 { text-align: center; padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ab-404-code { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(110px, 18vw, 200px); line-height: 0.85; color: transparent; -webkit-text-stroke: 3px var(--red); }
.ab-404 p { color: var(--g500); max-width: 480px; }
.ab-404-search { display: flex; gap: 8px; width: min(520px, 100%); margin: 10px 0; }

/* Objave */
.ab-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-post { border: 1px solid var(--g200); border-radius: var(--r-lg); overflow: hidden; }
.ab-post-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ab-post-body { padding: 18px; }
.ab-post-body time { font-size: 12px; color: var(--g500); }
.ab-post-body h2 { font-size: 19px; margin: 6px 0 8px; line-height: 1.25; }

/* ---------- Newsletter i footer ---------- */

.ab-newsletter { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.ab-newsletter::before { content: ""; position: absolute; top: 0; bottom: 0; left: 38%; width: 160px; background: rgba(0, 0, 0, 0.12); transform: skewX(-18deg); }
.ab-newsletter .ab-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 30px; padding-bottom: 30px; flex-wrap: wrap; }
.ab-newsletter-text { display: flex; align-items: center; gap: 18px; }
.ab-newsletter-ico { width: 56px; height: 56px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: flex; align-items: center; justify-content: center; }
.ab-newsletter-ico .ab-ico { width: 28px; height: 28px; }
.ab-newsletter h2 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(22px, 2.3vw, 30px); text-transform: uppercase; line-height: 1; }
.ab-newsletter p { opacity: 0.9; margin-top: 4px; font-size: 14px; }
.ab-newsletter-form { position: relative; display: flex; gap: 8px; width: min(480px, 100%); }
.ab-newsletter-form input { height: 50px; border-color: transparent; }
.ab-newsletter-form .ab-btn { min-height: 50px; }
.ab-newsletter-msg { position: absolute; left: 0; top: calc(100% + 6px); font-size: 13px; }

.ab-footer { background: var(--ink); color: #a8aeb7; font-size: 14px; }
.ab-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 32px; padding-top: 56px; padding-bottom: 44px; }
.ab-footer-logo img { height: 30px; width: auto; }
.ab-footer-brand p { margin: 18px 0; max-width: 320px; line-height: 1.6; }
.ab-footer h3 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 18px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--white); margin-bottom: 16px; }
.ab-footer-links li + li { margin-top: 8px; }
.ab-footer a:hover { color: var(--white); }
.ab-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ab-footer-contact li + li { margin-top: 10px; }
.ab-footer-contact .ab-ico { width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.ab-social { display: flex; gap: 8px; }
.ab-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--g800); display: flex; align-items: center; justify-content: center; color: var(--white); }
.ab-social a:hover { background: var(--red); }
.ab-social .ab-ico { width: 18px; height: 18px; }
.ab-footer-bottom { border-top: 1px solid var(--g800); }
.ab-footer-bottom .ab-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
.ab-footer-bottom p span { margin-left: 14px; }
.ab-footer-pay { max-height: 30px; width: auto; }
.ab-pay-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ab-pay-chips li { padding: 4px 10px; border: 1px solid var(--g700); border-radius: 4px; font-size: 12px; }

/* Kolačići */
.ab-cookie {
    position: fixed; left: 20px; bottom: 20px; z-index: 300;
    width: min(440px, calc(100vw - 32px));
    padding: 20px;
    border-radius: var(--r-lg); background: var(--white); box-shadow: 0 16px 50px rgba(18, 20, 23, 0.22);
    font-size: 14px;
}
.ab-cookie a { color: var(--red); text-decoration: underline; }
.ab-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ab-cookie-actions button { min-height: 42px; border-radius: var(--r); border: 1.5px solid var(--ink); background: var(--white); font-weight: 700; }
.ab-cookie-actions .ab-cookie-accept { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- Sticky header ---------- */

.ab-header.is-stuck {
    position: fixed; top: 0; left: 0; right: 0;
    box-shadow: 0 6px 20px rgba(18, 20, 23, 0.1);
    animation: ab-drop 0.25s ease-out;
}
.ab-header.is-stuck .ab-header-main .ab-wrap { padding-top: 10px; padding-bottom: 10px; }
.ab-header.is-stuck .ab-logo img { height: 26px; }
.ab-header.is-stuck .ab-search { height: 44px; }
@keyframes ab-drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Responzivno ---------- */

@media (max-width: 1280px) {
    .ab-grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ab-grid.ab-grid-rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
    .ab-grid-shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ab-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
    .ab-footer-grid .ab-footer-col:nth-child(2) { display: none; }
    .ab-mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ab-auth { grid-template-columns: 1fr 1fr; }
    .ab-auth-card.is-b2b { grid-column: 1 / -1; }
    .ab-nav-phone small { display: none; }
}

@media (max-width: 1200px) {
    .ab-hero-grid { grid-template-columns: 1fr; }
    .ab-hero-side { display: none; }
    .ab-action-account .ab-action-text { display: none; }
    .ab-header-main .ab-wrap { gap: 22px; }
    .ab-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ab-nav-links a { padding: 0 12px; font-size: 16px; }
}

@media (max-width: 1024px) {
    :root { --gutter: 20px; --hero-h: 420px; }
    .ab-topbar-left, .ab-topbar-right { display: none; }
    .ab-topbar .ab-wrap { justify-content: center; min-height: 34px; }
    .ab-nav { display: none; }
    .ab-burger { display: inline-flex; margin-left: -10px; }
    .ab-header-main .ab-wrap {
        grid-template-columns: auto 1fr auto;
        gap: 10px 14px;
        padding-top: 12px; padding-bottom: 12px;
    }
    .ab-logo img { height: 26px; }
    .ab-search { grid-column: 1 / -1; grid-row: 2; max-width: none; height: 46px; }
    .ab-search-cat { display: none; }
    .ab-search-btn span { display: none; }
    .ab-search-btn { padding: 0 16px; }
    .ab-actions { gap: 8px; }
    .ab-action { padding: 6px; }
    .ab-action-cart { padding: 6px 10px 6px 6px; }
    .ab-action-cart .ab-action-text small { display: none; }
    .ab-header.is-stuck .ab-search { display: none; }
    .ab-header.is-stuck.is-search .ab-search { display: flex; }

    .ab-perks ul { grid-template-columns: 1fr 1fr; }
    .ab-perks li:nth-child(3) { border-left: 0; }
    .ab-perks li:nth-child(n+3) { border-top: 1px solid var(--g200); }

    .ab-shop-grid { grid-template-columns: 1fr; }
    .ab-filters {
        position: fixed; top: 0; bottom: 0; left: 0; z-index: 200;
        width: min(380px, 90vw);
        background: var(--white);
        transform: translateX(-102%); transition: transform 0.28s;
        display: flex; flex-direction: column;
        visibility: hidden;
    }
    .ab-filters.is-open { transform: none; visibility: visible; box-shadow: var(--shadow); }
    .ab-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--g200); }
    .ab-filters-head h2 { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 24px; text-transform: uppercase; }
    .ab-filters-body { flex: 1; overflow-y: auto; padding: 20px; }
    .ab-filter-open { display: inline-flex; min-height: 40px; }
    .ab-filter-open .ab-ico { width: 17px; height: 17px; }
    .ab-toolbar-count { order: 5; flex-basis: 100%; }
    .ab-grid-shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .ab-product-top { grid-template-columns: 1fr; gap: 28px; }
    .ab-gallery { position: static; }
    .ab-cart, .ab-checkout { grid-template-columns: 1fr; }
    .ab-panel-sticky { position: static; }
    .woocommerce-account .ab-page > .woocommerce { grid-template-columns: 1fr; }
    .ab-account-nav { position: static; }
    .ab-account-nav ul { display: flex; overflow-x: auto; gap: 4px; }
    .ab-account-nav li a { white-space: nowrap; }
    .ab-b2b, .ab-contact { grid-template-columns: 1fr; }
    .ab-b2b-aside { position: static; }
    .ab-footer-grid { grid-template-columns: 1fr 1fr; }
    .ab-footer-brand { grid-column: 1 / -1; }
    .ab-footer-grid .ab-footer-col:nth-child(2) { display: block; }
    .ab-dash-cards { grid-template-columns: 1fr 1fr; }
    .ab-promo-text strong { font-size: 25px; }
}

@media (max-width: 860px) {
    .ab-slide { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
    .ab-slide::before { display: none; }
    .ab-slide-text { padding: 28px 24px 10px; gap: 10px; order: 1; }
    .ab-slide-text p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .ab-slide-media { order: 0; height: 190px; padding: 14px; }
    .ab-slide-media::before { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
    .ab-slider { height: auto; min-height: 520px; }
    .ab-slides { min-height: 520px; }
    .ab-slider-ui { left: 24px; bottom: 20px; }
    .ab-slide-text .ab-btn { margin-bottom: 56px; }
    .ab-promos .ab-wrap { grid-template-columns: 1fr; }
    .ab-promo { min-height: 150px; }
    .ab-b2b-band-inner { flex-direction: column; align-items: flex-start; padding: 28px; }
    .ab-b2b-band-inner::before { right: -20px; }
    .ab-b2b-band-inner::after { right: -60px; }
    .ab-cart-head { display: none; }
    .ab-cart-item { grid-template-columns: 1fr auto; grid-template-areas: "prod prod" "qty sub"; gap: 12px; }
    .ab-cart-prod { grid-area: prod; }
    .ab-cart-price { display: none; }
    .ab-cart-qty { grid-area: qty; text-align: left; }
    .ab-cart-sub { grid-area: sub; font-size: 17px; }
}

@media (max-width: 768px) {
    :root { --gutter: 16px; }
    body { font-size: 15px; }
    .ab-section { padding: 40px 0; }
    .ab-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .ab-cat-tile { padding: 12px 8px; }
    .ab-cat-tile-name { font-size: 13px; }
    .ab-grid, .ab-grid-5, .ab-grid-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ab-grid.ab-grid-rail { grid-auto-columns: 46%; gap: 10px; }
    .ab-rail-btn { display: none; }
    .ab-rail-track { margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
    .ab-card-img { padding: 10px; }
    .ab-card-body { padding: 2px 10px 10px; }
    .ab-card-title { font-size: 13px; }
    .ab-card-price .price, .ab-card-price { font-size: 19px; }
    .ab-card-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
    .ab-card-buy .ab-qty { display: none; }
    .ab-card-wish { width: 34px; height: 34px; top: 6px; right: 6px; }
    .ab-tags { top: 6px; left: 6px; }
    .ab-tag { font-size: 12px; }
    .ab-grid.is-list .ab-card { grid-template-columns: 120px minmax(0, 1fr); }
    .ab-grid.is-list .ab-card-body { grid-template-columns: 1fr; }
    .ab-grid.is-list .ab-card-foot, .ab-grid.is-list .ab-card-body > .ab-card-buy, .ab-grid.is-list .ab-card-body > .ab-btn { grid-column: 1; grid-row: auto; align-items: flex-start; }
    .ab-section-head { margin-bottom: 18px; }
    .ab-tabs { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--gutter) * 2); scrollbar-width: none; order: 3; }
    .ab-tabs button { white-space: nowrap; }
    .ab-tabsec .ab-link-more { order: 2; }
    .ab-toolbar { padding: 10px; gap: 8px; }
    .ab-toolbar-form { flex: 1; }
    .ab-toolbar-form .ab-select:first-child { flex: 1; }
    .ab-toolbar-form select { width: 100%; }
    .ab-view { display: none; }
    .ab-subcats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-price-big, .ab-price-big .price { font-size: 36px; }
    .ab-buy-form { flex-wrap: wrap; }
    .ab-product-title { font-size: 25px; }
    .ab-form-grid, .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm { grid-template-columns: 1fr; }
    .form-row-first, .form-row-last, .woocommerce-EditAccountForm .form-row-first, .woocommerce-EditAccountForm .form-row-last { grid-column: 1; }
    .ab-auth { grid-template-columns: 1fr; }
    .ab-auth-card { padding: 22px; }
    .ab-steps li { font-size: 12px; padding: 10px; gap: 6px; flex-direction: column; text-align: center; }
    .woocommerce-Addresses, .woocommerce-columns--addresses { grid-template-columns: 1fr; }
    .ab-dash-orders li a { grid-template-columns: 1fr auto; }
    .ab-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; }
    .ab-footer-contact { grid-column: 1 / -1; }
    .ab-footer-bottom p span { display: block; margin: 4px 0 0; }
    .ab-newsletter-form { flex-direction: column; }
    .ab-newsletter-msg { position: static; }
    .ab-perks li { padding: 14px; gap: 10px; }
    .ab-perk-ico { width: 38px; height: 38px; }
    .ab-perk-ico .ab-ico { width: 19px; height: 19px; }
    .ab-perks strong { font-size: 15px; }
    .ab-perks span { font-size: 12px; }
    .ab-posts { grid-template-columns: 1fr; }
    .ab-seo-inner { padding: 22px; }
    .ab-coupon { width: 100%; }
    .ab-coupon input { width: auto; flex: 1; }
    .ab-cookie { left: 16px; bottom: 16px; }
    .woocommerce-orders-table thead { display: none; }
    .woocommerce-orders-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--g200); }
    .woocommerce-orders-table td { border: 0; padding: 4px 14px; }
    .woocommerce-orders-table td::before { content: attr(data-title) ": "; font-weight: 600; color: var(--g500); font-size: 12px; }
}

@media (max-width: 420px) {
    .ab-cat-tile { padding: 10px 6px; border-radius: var(--r); }
    .ab-cat-tile-img { margin-bottom: 4px; }
    .ab-cat-tile-name { font-size: 12px; }
    .ab-cat-tile-count { font-size: 11px; }
    .ab-action-cart .ab-action-text { display: none; }
    .ab-action-cart { padding: 6px; background: none; }
    .ab-promo-text { max-width: 60%; }
    .ab-side-btns { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body:has(.ab-sticky-buy.is-on) .ab-footer-bottom { padding-bottom: 76px; }
