/*
Theme Name: Klasik Shop Premium
Theme URI: https://stocna-hrana.com/
Description: Moderna WooCommerce child tema za Astru u tamnoplavoj, bijeloj i crvenoj paleti za odjeću, dresove i navijačke rekvizite.
Author: OpenAI
Template: astra
Version: 6.9.5
Text Domain: klasik-shop-modern
*/

/* v5.0 - Action homepage section */
.ks-sale-section{background:linear-gradient(180deg,#fff 0%,#fff7f7 100%);border-top:1px solid #f2d9dc;border-bottom:1px solid #f2d9dc}
.ks-sale-section .ks-heading h2{color:#0f172a}
.ks-sale-section .ks-kicker{color:#c1121f}


/* v5.1 - Sale label and 30-day price information */
.woocommerce span.onsale{
    background:#c1121f!important;
    color:#fff!important;
    border-radius:999px!important;
    min-width:auto!important;
    min-height:auto!important;
    line-height:1!important;
    padding:8px 12px!important;
    font-size:12px!important;
    font-weight:800!important;
}
.ks-price-history{
    margin:4px 0 22px;
    padding:14px 16px;
    background:#f8fafc;
    border-left:3px solid #c1121f;
    border-radius:0 8px 8px 0;
    color:#334155;
    font-size:13px;
    line-height:1.55;
}
.ks-price-history p{margin:0}
.ks-price-history p+p{margin-top:5px}
.ks-price-history strong{color:#0f172a;font-weight:700}
.ks-price-history .ks-discount-percent{color:#c1121f;font-weight:800;white-space:nowrap}


/* v5.2 - Use exactly one sale badge across Astra and WooCommerce. */
.woocommerce .onsale:not(.ks-onsale){display:none!important}
.woocommerce span.onsale.ks-onsale{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    position:absolute;
    z-index:12;
    top:12px!important;
    left:auto!important;
    right:12px!important;
    margin:0!important;
    background:#c1121f!important;
    color:#fff!important;
    border:0!important;
    border-radius:999px!important;
    min-width:auto!important;
    min-height:auto!important;
    line-height:1!important;
    padding:8px 13px!important;
    font-size:12px!important;
    font-weight:800!important;
    box-shadow:0 5px 16px rgba(15,23,42,.16);
}
.single-product .woocommerce span.onsale.ks-onsale{
    top:14px!important;
    right:auto!important;
    left:14px!important;
}


/* v5.3 — one consistent sale badge in the image corner */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.single-product div.product {
    position: relative;
}

/* Hide every foreign/default badge; only the controlled theme badge remains. */
.woocommerce .onsale:not(.ks-onsale),
.woocommerce .ast-onsale-card,
.woocommerce .sale-flash {
    display: none !important;
}

.woocommerce .ks-onsale,
.woocommerce span.onsale.ks-onsale {
    position: absolute !important;
    z-index: 20 !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #c1121f !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
    box-shadow: 0 5px 16px rgba(15,23,42,.18) !important;
}

/* On a single product the badge belongs to the gallery, never to the summary. */
.single-product div.product > .ks-onsale {
    top: 16px !important;
    left: 16px !important;
}

@media (max-width: 768px) {
    .woocommerce .ks-onsale,
    .woocommerce span.onsale.ks-onsale {
        top: 9px !important;
        left: 9px !important;
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
}

/* v5.5 — automatic SKU and product reassurance panel */
.single-product .product_meta{display:none!important}
.ks-product-assurance{
    clear:both;
    margin-top:24px;
    padding-top:22px;
    border-top:1px solid #e4e7ec;
}
.ks-shipping-progress{
    margin-bottom:16px;
    padding:14px 16px;
    border:1px solid #f0c7cb;
    border-radius:10px;
    background:#fff7f7;
}
.ks-shipping-progress-text{
    margin-bottom:9px;
    color:#172033;
    font-size:14px;
    font-weight:700;
    line-height:1.45;
}
.ks-shipping-progress-text .woocommerce-Price-amount{color:#c1121f;font-weight:800}
.ks-shipping-progress-track{
    height:5px;
    overflow:hidden;
    border-radius:999px;
    background:#eadfe1;
}
.ks-shipping-progress-track span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#c1121f;
    transition:width .35s ease;
}
.ks-benefit-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.ks-benefit-card{
    display:flex;
    align-items:center;
    min-height:74px;
    padding:12px;
    border:1px dashed #cfd6df;
    border-radius:11px;
    background:#fbfcfe;
}
.ks-benefit-icon{
    display:grid;
    flex:0 0 38px;
    width:38px;
    height:38px;
    margin-right:10px;
    place-items:center;
    color:#172033;
}
.ks-benefit-icon svg{
    width:32px;
    height:32px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.ks-benefit-label{
    color:#303846;
    font-size:12px;
    font-weight:800;
    line-height:1.3;
    text-transform:uppercase;
}
@media(max-width:640px){
    .ks-benefit-grid{grid-template-columns:1fr 1fr;gap:8px}
    .ks-benefit-card{min-height:68px;padding:9px}
    .ks-benefit-icon{flex-basis:30px;width:30px;height:30px;margin-right:7px}
    .ks-benefit-icon svg{width:27px;height:27px}
    .ks-benefit-label{font-size:10px}
}

/* v5.5 — two Croatian delivery methods and progress bars */
.ks-shipping-progress{
    display:grid;
    gap:10px;
    margin-top:14px;
    margin-bottom:0;
    padding:0;
    border:0;
    background:transparent;
}
.ks-delivery-progress{
    padding:13px 14px;
    border:1px solid #e2e7ee;
    border-radius:10px;
    background:#fbfcfe;
}
.ks-delivery-progress-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:5px;
    color:#172033;
    font-size:12px;
}
.ks-delivery-progress-head strong{font-size:13px}
.ks-delivery-progress-head span{white-space:nowrap;color:#687386;font-weight:700}
.ks-delivery-progress-text{
    margin-bottom:8px;
    color:#596476;
    font-size:12px;
    line-height:1.4;
}
.ks-delivery-progress-text .woocommerce-Price-amount{color:#c1121f;font-weight:800}
.ks-delivery-progress-track{
    height:5px;
    overflow:hidden;
    border-radius:999px;
    background:#e5e9ef;
}
.ks-delivery-progress-track span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#c1121f;
    transition:width .35s ease;
}
.ks-benefit-boxnow,.ks-benefit-courier{border-style:solid;background:#fff}
.ks-benefit-boxnow .ks-benefit-label,.ks-benefit-courier .ks-benefit-label{
    text-transform:none;
    font-size:11px;
    line-height:1.4;
}
@media(max-width:640px){
    .ks-delivery-progress-head{align-items:flex-start;flex-direction:column;gap:2px}
}

/* v5.6 — delivery progress card in the cart */
.woocommerce-cart .ks-cart-shipping-card{
    margin:0 0 22px;
    padding:20px;
    border:1px solid #e1e6ed;
    border-radius:14px;
    background:#fff;
    box-shadow:0 10px 28px rgba(15,23,42,.06);
}
.ks-cart-shipping-card__heading{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
    padding-bottom:14px;
    border-bottom:1px solid #edf0f4;
}
.ks-cart-shipping-card__icon{
    display:grid;
    flex:0 0 44px;
    width:44px;
    height:44px;
    place-items:center;
    border-radius:50%;
    background:#fff1f2;
    color:#c1121f;
}
.ks-cart-shipping-card__icon svg{
    width:26px;
    height:26px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.ks-cart-shipping-card__eyebrow{
    display:block;
    margin-bottom:2px;
    color:#c1121f;
    font-size:10px;
    font-weight:800;
    letter-spacing:.11em;
    text-transform:uppercase;
}
.ks-cart-shipping-card h3{
    margin:0!important;
    color:#172033!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:20px!important;
    font-weight:800!important;
    line-height:1.2!important;
}
.woocommerce-cart .ks-cart-shipping-card .ks-shipping-progress{
    margin:0;
}
.woocommerce-cart .ks-cart-shipping-card .ks-delivery-progress{
    background:#fbfcfe;
}
@media(max-width:768px){
    .woocommerce-cart .ks-cart-shipping-card{padding:16px;border-radius:11px}
    .ks-cart-shipping-card h3{font-size:18px!important}
}


/* v5.7 — smart cart recommendations near the free-shipping threshold */
.ks-cart-recommendations{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid #edf0f4;
}
.ks-cart-recommendations__intro span{
    display:block;
    margin-bottom:3px;
    color:#c1121f;
    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
}
.ks-cart-recommendations__intro h4{
    margin:0 0 14px!important;
    color:#172033!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:16px!important;
    font-weight:800!important;
    line-height:1.35!important;
}
.ks-cart-recommendations__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}
.ks-cart-recommendation{
    display:grid;
    grid-template-columns:74px minmax(0,1fr);
    gap:10px;
    min-width:0;
    padding:9px;
    border:1px solid #e4e8ee;
    border-radius:10px;
    background:#fff;
}
.ks-cart-recommendation__image{
    display:block;
    overflow:hidden;
    aspect-ratio:1/1;
    border-radius:7px;
    background:#f6f7f9;
}
.ks-cart-recommendation__image img{
    width:100%;height:100%;margin:0!important;object-fit:contain;
}
.ks-cart-recommendation__body{display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.ks-cart-recommendation__title{
    display:-webkit-box;
    overflow:hidden;
    margin-bottom:4px;
    color:#172033!important;
    font-size:12px;
    font-weight:750;
    line-height:1.3;
    text-decoration:none!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}
.ks-cart-recommendation__price{margin-bottom:7px;color:#c1121f;font-size:12px;font-weight:800}
.ks-cart-recommendation__price del{color:#8b94a4;font-size:10px;font-weight:600}
.ks-cart-recommendation__button.button{
    min-height:30px!important;
    margin-top:auto!important;
    padding:7px 10px!important;
    border:0!important;
    border-radius:6px!important;
    background:#0f172a!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:800!important;
    line-height:1!important;
    text-transform:uppercase;
}
.ks-cart-recommendation__button.button:hover{background:#c1121f!important}
@media(max-width:980px){
    .ks-cart-recommendations__grid{grid-template-columns:1fr}
}
@media(max-width:480px){
    .ks-cart-recommendation{grid-template-columns:64px minmax(0,1fr)}
}

/* v6.1 mini cart, quick view and responsive polish */
body.ks-overlay-open{overflow:hidden}.ks-drawer-overlay,.ks-quick-view-overlay{position:fixed;inset:0;background:rgba(15,23,42,.58);opacity:0;visibility:hidden;transition:.25s;z-index:9997}.ks-mini-cart-drawer{position:fixed;z-index:9998;right:0;top:0;width:min(430px,94vw);height:100dvh;background:#fff;box-shadow:-18px 0 50px rgba(15,23,42,.22);transform:translateX(105%);transition:.3s ease;padding:28px;overflow:auto}.ks-cart-open .ks-drawer-overlay{opacity:1;visibility:visible}.ks-cart-open .ks-mini-cart-drawer{transform:none}.ks-drawer-close,.ks-quick-view-close{position:absolute;right:18px;top:14px;width:42px;height:42px;border:0;border-radius:50%;background:#f3f4f6;color:#0f172a;font-size:28px;line-height:1;cursor:pointer}.ks-mini-cart-heading{padding:4px 54px 20px 0;border-bottom:1px solid #e5e7eb}.ks-mini-cart-heading strong{display:block;font-size:22px;color:#0f172a}.ks-mini-cart-heading span{font-size:13px;color:#64748b}.ks-mini-cart-items{display:grid;gap:0}.ks-mini-cart-item{display:grid;grid-template-columns:78px 1fr auto;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid #edf0f3}.ks-mini-cart-thumb img{width:78px;height:92px;object-fit:contain;background:#f7f7f7;border-radius:8px}.ks-mini-cart-item-info>a{font-weight:800;color:#0f172a;display:block;line-height:1.35}.ks-mini-cart-item-info span{display:block;margin-top:6px;color:#64748b;font-size:13px}.ks-mini-cart-remove{font-size:25px;color:#94a3b8}.ks-mini-cart-total{display:flex;justify-content:space-between;align-items:center;padding:22px 0;font-size:17px}.ks-mini-cart-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ks-mini-cart-actions .button{text-align:center;margin:0!important}.ks-mini-cart-empty{text-align:center;padding:70px 10px}.ks-mini-cart-empty>span{font-size:46px}.ks-mini-cart-empty p{color:#64748b}.ks-quick-view-modal{position:fixed;z-index:9999;left:50%;top:50%;width:min(940px,calc(100vw - 40px));max-height:90dvh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 28px 80px rgba(15,23,42,.35);transform:translate(-50%,-46%) scale(.98);opacity:0;visibility:hidden;transition:.25s}.ks-quick-view-open .ks-quick-view-overlay{opacity:1;visibility:visible}.ks-quick-view-open .ks-quick-view-modal{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}.ks-quick-view-content{min-height:420px}.ks-quick-view-loading{min-height:420px;display:grid;place-items:center;color:#64748b}.ks-quick-view-product{display:grid;grid-template-columns:1.05fr .95fr}.ks-quick-view-media{background:#f5f5f4;min-height:520px;display:grid;place-items:center;padding:28px}.ks-quick-view-media img{width:100%;height:100%;max-height:520px;object-fit:contain}.ks-quick-view-summary{padding:64px 50px;display:flex;flex-direction:column;justify-content:center}.ks-quick-view-summary h2{font-size:34px;line-height:1.15;margin:12px 0;color:#0f172a}.ks-quick-view-price{font-size:23px;font-weight:900;color:#c1121f;margin-bottom:18px}.ks-quick-view-description{color:#64748b;line-height:1.7}.ks-quick-view-badge{align-self:flex-start;background:#c1121f;color:#fff;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;text-transform:uppercase}.ks-quick-view-summary .button{align-self:flex-start;margin-top:16px!important}.ks-quick-view-details{margin-top:18px;font-weight:800;color:#0f172a}.ks-quick-view-button{position:absolute;z-index:4;right:12px;top:12px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#0f172a;box-shadow:0 7px 20px rgba(15,23,42,.15);cursor:pointer;opacity:0;transform:translateY(-5px);transition:.2s}.kl-product-card:hover .ks-quick-view-button{opacity:1;transform:none}.woocommerce ul.products li.product{position:relative}.ks-loop-quick-view{position:absolute;top:12px;right:12px;z-index:8;width:auto;height:38px;border-radius:999px;padding:0 12px;display:flex;gap:6px;align-items:center;font-size:12px}.woocommerce ul.products li.product:hover .ks-loop-quick-view{opacity:1;transform:none}.ks-loop-quick-view span{font-weight:800}
@media(max-width:900px){.ks-quick-view-product{grid-template-columns:1fr}.ks-quick-view-media{min-height:330px}.ks-quick-view-summary{padding:34px}.ks-quick-view-summary h2{font-size:27px}.ks-quick-view-button,.ks-loop-quick-view{opacity:1;transform:none}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important}.ks-cart-shipping-card,.ks-cart-recommendations{max-width:100%;overflow:hidden}.ks-cart-recommendations__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.ks-mini-cart-drawer{padding:22px 18px}.ks-mini-cart-actions{grid-template-columns:1fr}.ks-quick-view-modal{width:calc(100vw - 18px);border-radius:12px}.ks-quick-view-media{min-height:280px;padding:18px}.ks-quick-view-summary{padding:26px 20px}.ks-quick-view-summary h2{font-size:23px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}.ks-loop-quick-view span{display:none}.ks-loop-quick-view{width:36px;padding:0;justify-content:center}.ks-cart-recommendations__grid{grid-template-columns:1fr!important}.ks-cart-shipping-card{padding:18px!important}}


/* v6.3 - Footer content only */
.ks-footer-contact{list-style:none;margin:0;padding:0}
.ks-footer-contact li{margin:0 0 14px;color:rgba(255,255,255,.78);line-height:1.55}
.ks-footer-contact strong{color:#fff;font-weight:700}
.ks-footer-contact a{color:rgba(255,255,255,.82);text-decoration:none}
.ks-footer-contact a:hover{color:#fff}

/* v6.4 — Mini košarica usklađena s crveno-tamnoplavom paletom. */
:root{
  --ks-cart-red:#c8102e;
  --ks-cart-red-dark:#a30d25;
  --ks-cart-navy:#10182b;
  --ks-cart-muted:#667085;
  --ks-cart-border:#e4e7ec;
}

/* Vlastita Klasik mini košarica. */
.ks-mini-cart-drawer{
  border-left:1px solid var(--ks-cart-border);
}
.ks-drawer-close,
.ks-mini-cart-drawer .ks-drawer-close{
  background:var(--ks-cart-red)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 8px 20px rgba(200,16,46,.24)!important;
}
.ks-drawer-close:hover,
.ks-drawer-close:focus-visible{
  background:var(--ks-cart-red-dark)!important;
  color:#fff!important;
}
.ks-mini-cart-heading strong,
.ks-mini-cart-item-info>a,
.ks-mini-cart-total,
.ks-mini-cart-total strong{
  color:var(--ks-cart-navy)!important;
}
.ks-mini-cart-heading span,
.ks-mini-cart-item-info span,
.ks-mini-cart-empty p{
  color:var(--ks-cart-muted)!important;
}
.ks-mini-cart-heading,
.ks-mini-cart-item,
.ks-mini-cart-total{
  border-color:var(--ks-cart-border)!important;
}
.ks-mini-cart-empty .button,
.ks-mini-cart-actions .button,
.ks-mini-cart-drawer a.button,
.ks-mini-cart-drawer button.button{
  background:var(--ks-cart-red)!important;
  border-color:var(--ks-cart-red)!important;
  color:#fff!important;
  border-radius:7px!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
.ks-mini-cart-empty .button:hover,
.ks-mini-cart-empty .button:focus-visible,
.ks-mini-cart-actions .button:hover,
.ks-mini-cart-actions .button:focus-visible,
.ks-mini-cart-drawer a.button:hover,
.ks-mini-cart-drawer a.button:focus-visible,
.ks-mini-cart-drawer button.button:hover,
.ks-mini-cart-drawer button.button:focus-visible{
  background:var(--ks-cart-red-dark)!important;
  border-color:var(--ks-cart-red-dark)!important;
  color:#fff!important;
}
.ks-mini-cart-remove,
.ks-mini-cart-remove:hover{
  color:var(--ks-cart-red)!important;
}

/* Astra/WooCommerce flyout cart — sigurnosni override ako je aktivan roditeljski drawer. */
.astra-cart-drawer,
.ast-site-header-cart .widget_shopping_cart,
.ast-site-header-cart .ast-site-header-cart-data,
.ast-site-header-cart .ast-cart-menu-wrap,
.ast-mini-cart-empty,
.widget_shopping_cart_content{
  --ast-global-color-0:var(--ks-cart-red)!important;
  --ast-global-color-1:var(--ks-cart-red-dark)!important;
  --ast-global-color-2:var(--ks-cart-navy)!important;
}
.astra-cart-drawer .astra-cart-drawer-close,
.astra-cart-drawer .astra-cart-drawer-close-btn,
.astra-cart-drawer .ast-cart-drawer-close,
.ast-site-header-cart .ast-close-svg,
.ast-site-header-cart .ast-cart-close,
.ast-site-header-cart button[class*="close"]{
  background:var(--ks-cart-red)!important;
  border-color:var(--ks-cart-red)!important;
  color:#fff!important;
  fill:#fff!important;
}
.astra-cart-drawer .astra-cart-drawer-close:hover,
.astra-cart-drawer .astra-cart-drawer-close-btn:hover,
.astra-cart-drawer .ast-cart-drawer-close:hover,
.ast-site-header-cart button[class*="close"]:hover{
  background:var(--ks-cart-red-dark)!important;
  border-color:var(--ks-cart-red-dark)!important;
  color:#fff!important;
}
.astra-cart-drawer .button,
.astra-cart-drawer a.button,
.ast-site-header-cart .widget_shopping_cart .button,
.ast-site-header-cart .woocommerce-mini-cart__buttons .button,
.ast-mini-cart-empty .button,
.widget_shopping_cart_content .button,
.woocommerce-mini-cart__buttons a,
.woocommerce-mini-cart__buttons a.checkout{
  background:var(--ks-cart-red)!important;
  border-color:var(--ks-cart-red)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.astra-cart-drawer .button:hover,
.astra-cart-drawer a.button:hover,
.ast-site-header-cart .widget_shopping_cart .button:hover,
.ast-site-header-cart .woocommerce-mini-cart__buttons .button:hover,
.ast-mini-cart-empty .button:hover,
.widget_shopping_cart_content .button:hover,
.woocommerce-mini-cart__buttons a:hover,
.woocommerce-mini-cart__buttons a.checkout:hover{
  background:var(--ks-cart-red-dark)!important;
  border-color:var(--ks-cart-red-dark)!important;
  color:#fff!important;
}
.astra-cart-drawer h2,
.astra-cart-drawer h3,
.astra-cart-drawer .woocommerce-mini-cart__total,
.astra-cart-drawer .woocommerce-mini-cart-item a,
.ast-site-header-cart .widget_shopping_cart h2,
.ast-site-header-cart .widget_shopping_cart .woocommerce-mini-cart__total,
.ast-site-header-cart .widget_shopping_cart .woocommerce-mini-cart-item a{
  color:var(--ks-cart-navy)!important;
}
.astra-cart-drawer .woocommerce-mini-cart__empty-message,
.ast-mini-cart-empty .woocommerce-mini-cart__empty-message,
.ast-site-header-cart .woocommerce-mini-cart__empty-message{
  color:var(--ks-cart-muted)!important;
}

/* WooCommerce blok mini-košarice. */
.wc-block-mini-cart__drawer .wc-block-components-button,
.wc-block-mini-cart__drawer .wp-element-button,
.wc-block-mini-cart__drawer a.wc-block-components-button,
.wc-block-mini-cart__drawer button.wc-block-components-button{
  background:var(--ks-cart-red)!important;
  border-color:var(--ks-cart-red)!important;
  color:#fff!important;
}
.wc-block-mini-cart__drawer .wc-block-components-button:hover,
.wc-block-mini-cart__drawer .wp-element-button:hover{
  background:var(--ks-cart-red-dark)!important;
  border-color:var(--ks-cart-red-dark)!important;
  color:#fff!important;
}
.wc-block-components-drawer__close,
.wc-block-mini-cart__drawer .wc-block-components-drawer__close{
  color:var(--ks-cart-red)!important;
  fill:var(--ks-cart-red)!important;
}


/* v6.5 — Ugrađeni banner i postavke kolačića. */
.ks-cookie-banner[hidden],.ks-cookie-modal[hidden]{display:none!important}
.ks-cookie-banner{position:fixed;z-index:10020;left:18px;right:18px;bottom:18px}
.ks-cookie-banner__inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#10182b;color:#fff;box-shadow:0 24px 70px rgba(15,23,42,.32)}
.ks-cookie-banner__copy{max-width:650px}.ks-cookie-banner__copy strong{display:block;margin-bottom:5px;font-size:18px}.ks-cookie-banner__copy p{margin:0;color:rgba(255,255,255,.76);font-size:14px;line-height:1.55}
.ks-cookie-banner__actions,.ks-cookie-modal__actions{display:flex;flex-wrap:wrap;gap:9px}
.ks-cookie-btn,.ks-cookie-page-button,.ks-cookie-link{appearance:none;border:0;cursor:pointer;font:inherit}
.ks-cookie-btn{min-height:44px;padding:0 16px;border-radius:7px;font-weight:800;transition:.2s}
.ks-cookie-btn--primary,.ks-cookie-page-button{background:#c8102e;color:#fff}.ks-cookie-btn--primary:hover,.ks-cookie-page-button:hover{background:#a30d25;color:#fff}
.ks-cookie-btn--secondary{background:#fff;color:#10182b}.ks-cookie-btn--secondary:hover{background:#f1f3f6}
.ks-cookie-btn--ghost{border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff}.ks-cookie-btn--ghost:hover{background:rgba(255,255,255,.08)}
.ks-cookie-modal{position:fixed;z-index:10030;inset:0}.ks-cookie-modal__overlay{position:absolute;inset:0;background:rgba(15,23,42,.64);backdrop-filter:blur(4px)}
.ks-cookie-modal__panel{position:absolute;left:50%;top:50%;width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;transform:translate(-50%,-50%);padding:34px;border-radius:16px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.35)}
.ks-cookie-modal__close{position:absolute;right:16px;top:14px;width:38px;height:38px;border:0;border-radius:50%;background:#c8102e;color:#fff;font-size:25px;cursor:pointer}.ks-cookie-modal__close:hover{background:#a30d25}
.ks-cookie-modal__eyebrow{display:block;margin-bottom:7px;color:#c8102e;font-size:12px;font-weight:900;letter-spacing:1.3px}.ks-cookie-modal h2{margin:0 42px 10px 0;color:#10182b;font-size:30px}.ks-cookie-modal__panel>p{color:#667085;line-height:1.65}
.ks-cookie-option{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #e4e7ec}.ks-cookie-option strong{display:block;margin-bottom:4px;color:#10182b}.ks-cookie-option span{display:block;color:#667085;font-size:13px;line-height:1.5}
.ks-cookie-switch{position:relative;flex:0 0 48px;width:48px;height:27px}.ks-cookie-switch input{position:absolute;opacity:0}.ks-cookie-switch>span{position:absolute;inset:0;border-radius:99px;background:#cbd2dc;transition:.2s}.ks-cookie-switch>span:after{content:"";position:absolute;left:3px;top:3px;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.18);transition:.2s}.ks-cookie-switch input:checked+span{background:#c8102e}.ks-cookie-switch input:checked+span:after{transform:translateX(21px)}.ks-cookie-switch input:disabled+span{opacity:.7}
.ks-cookie-modal__actions{justify-content:flex-end;margin-top:22px}.ks-cookie-modal__legal{margin:18px 0 0!important;text-align:center}.ks-cookie-modal__legal a{color:#c8102e;font-weight:700}
.ks-cookie-page-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:7px;font-weight:800}
.ks-cookie-link{padding:0;background:none;color:rgba(255,255,255,.75);text-align:left}.ks-cookie-link:hover{color:#fff}
body.ks-cookie-modal-open{overflow:hidden}
@media(max-width:760px){.ks-cookie-banner{left:10px;right:10px;bottom:10px}.ks-cookie-banner__inner{display:block;padding:19px}.ks-cookie-banner__actions{margin-top:15px;display:grid;grid-template-columns:1fr}.ks-cookie-btn{width:100%}.ks-cookie-modal__panel{padding:26px 20px}.ks-cookie-modal h2{font-size:25px}.ks-cookie-modal__actions{display:grid;grid-template-columns:1fr}.ks-cookie-option{align-items:flex-start}}


/* v6.7 — Accessibility toolbar */
.ks-a11y-trigger{position:fixed;left:18px;bottom:18px;z-index:99980;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 16px;border:0;border-radius:999px;background:#c8102e;color:#fff;font:700 14px/1 inherit;box-shadow:0 10px 30px rgba(15,23,42,.24);cursor:pointer}
.ks-a11y-trigger:hover,.ks-a11y-trigger:focus-visible{background:#a30d25;transform:translateY(-1px)}
.ks-a11y-trigger>span:first-child{font-size:23px;line-height:1}
.ks-a11y-panel{position:fixed;left:18px;bottom:78px;z-index:99991;width:min(390px,calc(100vw - 36px));max-height:calc(100vh - 105px);overflow:auto;padding:24px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;color:#263246;box-shadow:0 24px 70px rgba(15,23,42,.28)}
.ks-a11y-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}.ks-a11y-panel__head h2{margin:2px 0 0!important;color:#0f172a!important;font:800 27px/1.2 inherit!important}.ks-a11y-eyebrow{color:#c8102e;font-size:11px;font-weight:800;letter-spacing:1.3px}.ks-a11y-close{flex:0 0 38px;width:38px;height:38px;border:0;border-radius:50%;background:#f3f4f6;color:#0f172a;font-size:25px;line-height:1;cursor:pointer}.ks-a11y-close:hover,.ks-a11y-close:focus-visible{background:#c8102e;color:#fff}.ks-a11y-intro{margin:0 0 18px;color:#667085;font-size:14px;line-height:1.55}.ks-a11y-text-controls{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:9px;margin-bottom:12px;padding:10px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;text-align:center;font-weight:700}.ks-a11y-text-controls button{height:40px;border:1px solid #d8dde6;border-radius:9px;background:#fff;color:#0f172a;font-weight:800;cursor:pointer}.ks-a11y-text-controls button:hover,.ks-a11y-text-controls button:focus-visible{border-color:#c8102e;color:#c8102e}.ks-a11y-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ks-a11y-option{display:flex;min-height:76px;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:13px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#263246;text-align:left;font-weight:700;cursor:pointer}.ks-a11y-option>span:first-child{color:#c8102e;font-size:20px;font-weight:800}.ks-a11y-option:hover,.ks-a11y-option:focus-visible{border-color:#c8102e;background:#fff7f8}.ks-a11y-option[aria-pressed="true"]{border-color:#c8102e;background:#c8102e;color:#fff}.ks-a11y-option[aria-pressed="true"]>span:first-child{color:#fff}.ks-a11y-reset{width:100%;margin-top:12px;padding:12px 15px;border:1px solid #0f172a;border-radius:10px;background:#0f172a;color:#fff;font-weight:800;cursor:pointer}.ks-a11y-reset:hover,.ks-a11y-reset:focus-visible{background:#263246}.ks-a11y-note{margin:12px 0 0;color:#737b89;font-size:12px;line-height:1.45}.ks-a11y-overlay{position:fixed;inset:0;z-index:99990;background:rgba(15,23,42,.35)}
html[data-ks-text="-1"]{font-size:93.75%}html[data-ks-text="1"]{font-size:112.5%}html[data-ks-text="2"]{font-size:125%}html[data-ks-text="3"]{font-size:137.5%}
html.ks-a11y-links a:not(.button):not(.added_to_cart),html.ks-a11y-links button.ks-cookie-link{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}
html.ks-a11y-readable body,html.ks-a11y-readable input,html.ks-a11y-readable button,html.ks-a11y-readable select,html.ks-a11y-readable textarea{font-family:Arial,Verdana,sans-serif!important}
html.ks-a11y-spacing body{line-height:1.85!important;letter-spacing:.035em!important;word-spacing:.08em!important}html.ks-a11y-spacing p,html.ks-a11y-spacing li{line-height:1.9!important}
html.ks-a11y-motion *,html.ks-a11y-motion *::before,html.ks-a11y-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
html.ks-a11y-grayscale{filter:grayscale(1)}html.ks-a11y-grayscale .ks-a11y-panel,html.ks-a11y-grayscale .ks-a11y-trigger{filter:grayscale(0)}
html.ks-a11y-contrast body{background:#000!important;color:#fff!important}html.ks-a11y-contrast body :is(main,section,article,aside,header,footer,div){border-color:#fff!important}html.ks-a11y-contrast body :is(h1,h2,h3,h4,h5,h6,p,span,li,label,strong,small){color:#fff!important}html.ks-a11y-contrast body a{color:#ffeb3b!important}html.ks-a11y-contrast body :is(input,select,textarea){background:#000!important;color:#fff!important;border:2px solid #fff!important}html.ks-a11y-contrast body :is(.ks-a11y-panel,.ks-cookie-modal__panel,.ks-mini-cart-drawer,.ks-quick-view-modal){background:#000!important;color:#fff!important;border:2px solid #fff!important}html.ks-a11y-contrast body :is(button,.button,[type="submit"]){border:2px solid #fff!important}html.ks-a11y-contrast .ks-a11y-trigger{background:#ffeb3b!important;color:#000!important;border:2px solid #000!important}
:focus-visible{outline:3px solid #ffbf47!important;outline-offset:3px!important}
@media(max-width:600px){.ks-a11y-trigger{left:12px;bottom:12px;width:50px;height:50px;padding:0;justify-content:center}.ks-a11y-trigger__text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.ks-a11y-panel{left:10px;bottom:72px;width:calc(100vw - 20px);max-height:calc(100vh - 86px);padding:19px}.ks-a11y-options{grid-template-columns:1fr 1fr}.ks-a11y-option{min-height:70px;padding:11px;font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}


/* v6.8 — Accessibility hover contrast fix */
.ks-a11y-panel .ks-a11y-option,
.ks-a11y-panel .ks-a11y-option:visited {
    color:#263246!important;
}
.ks-a11y-panel .ks-a11y-option:hover,
.ks-a11y-panel .ks-a11y-option:focus-visible {
    border-color:#c8102e!important;
    background:#fff1f3!important;
    color:#0f172a!important;
}
.ks-a11y-panel .ks-a11y-option:hover > span,
.ks-a11y-panel .ks-a11y-option:focus-visible > span {
    color:#0f172a!important;
}
.ks-a11y-panel .ks-a11y-option:hover > span:first-child,
.ks-a11y-panel .ks-a11y-option:focus-visible > span:first-child {
    color:#c8102e!important;
}
.ks-a11y-panel .ks-a11y-option[aria-pressed="true"],
.ks-a11y-panel .ks-a11y-option[aria-pressed="true"]:hover,
.ks-a11y-panel .ks-a11y-option[aria-pressed="true"]:focus-visible {
    border-color:#c8102e!important;
    background:#c8102e!important;
    color:#fff!important;
}
.ks-a11y-panel .ks-a11y-option[aria-pressed="true"] > span,
.ks-a11y-panel .ks-a11y-option[aria-pressed="true"]:hover > span,
.ks-a11y-panel .ks-a11y-option[aria-pressed="true"]:focus-visible > span {
    color:#fff!important;
}
.ks-a11y-panel .ks-a11y-text-controls button:hover,
.ks-a11y-panel .ks-a11y-text-controls button:focus-visible {
    background:#c8102e!important;
    border-color:#c8102e!important;
    color:#fff!important;
}
.ks-a11y-trigger:hover,
.ks-a11y-trigger:focus-visible,
.ks-a11y-reset:hover,
.ks-a11y-reset:focus-visible,
.ks-a11y-close:hover,
.ks-a11y-close:focus-visible {
    color:#fff!important;
}


/* v6.9 — dedicated sale page */
.ks-sale-page{max-width:1440px;margin:0 auto;padding:42px 28px 72px}
.ks-sale-page-head{margin-bottom:30px;padding:34px 36px;border-radius:16px;background:#0f172a;color:#fff}
.ks-sale-page-head .ks-kicker{color:#ff6377}
.ks-sale-page-head h1{margin:7px 0 9px;color:#fff;font-size:clamp(34px,4vw,50px);line-height:1.1}
.ks-sale-page-head p{max-width:720px;margin:0;color:rgba(255,255,255,.8);font-size:16px}
.ks-sale-page .woocommerce-result-count{color:#667085}
.ks-sale-page .woocommerce-ordering select{border:1px solid #dce1e8;border-radius:9px;background:#fff;color:#172033}
.ks-sale-empty{padding:36px;border:1px solid #e6e9ef;border-radius:14px;background:#fff;text-align:center}
.ks-sale-empty h2{margin:0 0 9px;color:#0f172a}
.ks-sale-empty p{margin:0 0 20px;color:#667085}
@media(max-width:700px){.ks-sale-page{padding:24px 14px 50px}.ks-sale-page-head{padding:26px 22px}.ks-sale-page-head h1{font-size:34px}}


/* v6.9.4 — visible product code / SKU on single product pages */
.single-product .ks-product-code{
    margin:8px 0 14px;
    font-size:14px;
    line-height:1.5;
    color:#5f6673;
}
.single-product .ks-product-code-label{
    font-weight:500;
}
.single-product .ks-product-code-value{
    color:#172033;
    font-weight:700;
    letter-spacing:.02em;
}
