/* SprintRocker Woo brand overlay v2 — enqueue AFTER style.css on non-front Woo/account pages.
   Tokens from /workspace/rocker-brand/sites/sprintrocker-v1/index.html
   Does NOT load on front-page (front-page.php is self-contained). */
@font-face{font-family:Outfit;src:url(assets/fonts/Outfit.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:Manrope;src:url(assets/fonts/Manrope.woff2) format("woff2");font-weight:200 800;font-display:swap}

:root,body.woocommerce,body.woocommerce-page,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account{
  --rk-bg:#09090a;--rk-card:#121214;--rk-line:#1d1d20;--rk-t:#f3efe8;--rk-m:#9d9a95;
  --rk-a:#c8a27a;--rk-a2:#e3c9a4;--rk-btn-t:#09090a;
  --rk-hf:Outfit,system-ui,sans-serif;--rk-bf:Manrope,system-ui,sans-serif;
  --global-body-font-family:var(--rk-bf);--global-heading-font-family:var(--rk-hf);
}

/* Base shell */
body.woocommerce,body.woocommerce-page,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account,
body.woocommerce .site,body.woocommerce-page .site,body.woocommerce .content-bg,body.woocommerce-page .content-bg,
body.woocommerce .entry.content-bg,body.woocommerce-page #inner-wrap,body.woocommerce-page .content-container{
  background:var(--rk-bg)!important;color:var(--rk-t)!important;
  font:16px/1.65 var(--rk-bf)!important;-webkit-font-smoothing:antialiased;
}
body.woocommerce h1,body.woocommerce h2,body.woocommerce h3,body.woocommerce h4,
body.woocommerce-page h1,body.woocommerce-page h2,body.woocommerce-page h3,
.woocommerce .product_title,.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page .entry-title,.woocommerce-page .page-title,.woocommerce-page .archive-title{
  font-family:var(--rk-hf)!important;font-weight:700!important;letter-spacing:-.02em!important;color:var(--rk-t)!important;line-height:1.05;
}

/* Header / menu = homepage nav */
body.woocommerce .site-header,body.woocommerce-page .site-header,
body.woocommerce .site-header-wrap,body.woocommerce-page .site-header-wrap,
body.woocommerce .site-main-header-wrap,body.woocommerce-page .site-main-header-wrap,
body.woocommerce #mobile-header,body.woocommerce-page #mobile-header,
body.woocommerce .mobile-header-wrap,body.woocommerce-page #mobile-drawer .drawer-inner{
  background:rgba(9,9,10,.8)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--rk-line)!important;background-image:none!important;
}
body.woocommerce .site-header .header-navigation .menu>li>a,
body.woocommerce-page .site-header .header-navigation .menu>li>a,
body.woocommerce .mobile-toggle-open-container .menu-toggle-open,
body.woocommerce-page .drawer-inner a{
  font-size:13px!important;letter-spacing:.08em!important;text-transform:uppercase!important;
  opacity:.8;color:var(--rk-t)!important;font-weight:500!important;font-family:var(--rk-bf)!important;
}
body.woocommerce .site-header .header-navigation .menu>li>a:hover,
body.woocommerce .site-header .current-menu-item>a{opacity:1;color:var(--rk-a)!important}
body.woocommerce .rk-logo,body.woocommerce-page .rk-logo{height:34px;width:auto;display:block}
body.woocommerce .site-branding .site-title-wrap,body.woocommerce-page .site-branding .site-title-wrap{display:none!important}
/* Header CTA (button / last menu button / custom HTML) */
body.woocommerce .header-button a,body.woocommerce-page .header-button a,
body.woocommerce .site-header .button,body.woocommerce-page .site-header .wp-block-button__link,
body.woocommerce a.rk-header-cta{
  display:inline-flex!important;align-items:center;padding:10px 18px!important;min-height:40px;
  border-radius:10px!important;background:linear-gradient(135deg,#e3c9a4,#a9845c)!important;
  color:var(--rk-btn-t)!important;font:700 14px var(--rk-hf)!important;text-transform:none!important;
  letter-spacing:0!important;opacity:1!important;border:0!important;text-decoration:none!important;
}
body.woocommerce a.rk-header-cta:hover{transform:translateY(-2px)}

/* Compact shop hero — kill tall blank navy/centered banner */
body.woocommerce .entry-hero,body.woocommerce-page .entry-hero,
body.woocommerce .page-hero-section,body.woocommerce-page .page-hero-section,
body.woocommerce .woocommerce-products-header,body.woocommerce-page .woocommerce-products-header,
body.woocommerce .entry-hero-container-inner,body.woocommerce-page .entry-hero-container-inner,
body.woocommerce .product-archive-hero-section .entry-hero-container-inner{
  background:var(--rk-bg)!important;background-image:none!important;
  min-height:0!important;padding:36px 0 8px!important;border-bottom:0!important;
}
body.woocommerce .hero-section-overlay,body.woocommerce-page .hero-section-overlay{display:none!important;background:transparent!important}
body.woocommerce .entry-hero .entry-header,body.woocommerce-page .entry-hero .entry-header,
body.woocommerce .woocommerce-products-header,body.woocommerce-page .woocommerce-products-header{
  max-width:1180px;margin:0 auto;padding:0 22px!important;text-align:left!important;
}
/* Accent kicker + Trgovina title */
body.woocommerce-shop .entry-hero h1.entry-title,
body.woocommerce-shop .page-title,
body.post-type-archive-product .entry-hero h1,
body.tax-product_cat .entry-hero h1,
body.woocommerce-shop .woocommerce-products-header .page-title{
  font-size:clamp(30px,4.4vw,54px)!important;font-weight:700!important;letter-spacing:-.02em!important;
  margin:0 0 14px!important;text-align:left!important;color:var(--rk-t)!important;
}
body.woocommerce-shop .entry-hero h1.entry-title::before,
body.woocommerce-shop .page-title::before,
body.post-type-archive-product .entry-hero h1::before,
body.woocommerce-shop .woocommerce-products-header .page-title::before{
  content:"Nakup";display:block;color:var(--rk-a);font:700 12px/1.2 var(--rk-bf);
  letter-spacing:.22em;text-transform:uppercase;margin-bottom:12px;
}

/* Toolbar: sort dark + hide useless list/grid toggle + result count */
body.woocommerce .woocommerce-result-count,body.woocommerce-page .woocommerce-result-count{display:none!important}
body.woocommerce .kadence-product-toggle-container,
body.woocommerce .kadence-product-toggle,
body.woocommerce .wc-block-product-template__responsive,
body.woocommerce .woocommerce-notices-wrapper + .kadence-product-toggle-container,
body.woocommerce a.kadence-toggle-grid-list,
body.woocommerce .gridlist-toggle,
body.woocommerce #grid-list-toggle{display:none!important}
body.woocommerce .woocommerce-ordering{float:none!important;margin:0 0 28px!important}
body.woocommerce .woocommerce-ordering select,
body.woocommerce select.orderby{
  background:var(--rk-card)!important;color:var(--rk-t)!important;border:1px solid var(--rk-line)!important;
  border-radius:10px!important;padding:10px 14px!important;font:600 14px var(--rk-bf)!important;
  min-height:44px;appearance:auto;
}
body.woocommerce .woocommerce-ordering select:focus{outline:2px solid var(--rk-a);outline-offset:2px}

/* Product grid — fill width, no skinny left column */
body.woocommerce ul.products,
body.woocommerce-page ul.products,
body.woocommerce ul.products.columns-2,
body.woocommerce ul.products.columns-3,
body.woocommerce ul.products.columns-4{
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important;
  gap:24px!important;width:100%!important;max-width:1180px;margin:0 auto 48px!important;
  padding:0 22px!important;float:none!important;
}
body.woocommerce ul.products::before,body.woocommerce ul.products::after{display:none!important;content:none!important}
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product{
  width:100%!important;max-width:none!important;margin:0!important;float:none!important;
  background:var(--rk-card)!important;border:1px solid var(--rk-line)!important;border-radius:16px!important;
  padding:0!important;overflow:hidden;display:flex!important;flex-direction:column;position:relative;
  box-shadow:none!important;
}
/* Kill inner black / nested content-bg boxes */
body.woocommerce ul.products li.product .product-inner,
body.woocommerce ul.products li.product .product-details,
body.woocommerce ul.products li.product .content-bg,
body.woocommerce ul.products li.product .entry-content-wrap,
body.woocommerce ul.products li.product .product-action-wrap,
body.woocommerce ul.products li.product .woocommerce-card__header,
body.woocommerce ul.products li.product .woocommerce-card__footer{
  background:transparent!important;border:0!important;box-shadow:none!important;
  border-radius:0!important;padding:0!important;margin:0!important;
}
body.woocommerce ul.products li.product .product-details,
body.woocommerce ul.products li.product .woocommerce-card__footer,
body.woocommerce ul.products li.product .entry-summary-wrap{
  padding:20px 22px 24px!important;display:flex;flex-direction:column;flex:1;gap:8px;
}
body.woocommerce ul.products li.product a img,
body.woocommerce ul.products li.product .woocommerce-loop-product__link img,
body.woocommerce ul.products li.product .product-image-link img{
  width:100%!important;aspect-ratio:4/3!important;object-fit:cover!important;
  border-radius:0!important;margin:0!important;transition:transform .8s;
}
body.woocommerce ul.products li.product .woocommerce-loop-product__link,
body.woocommerce ul.products li.product .product-image-link{
  display:block;overflow:hidden;border-radius:0;margin:0;aspect-ratio:4/3;background:var(--rk-card);
}
body.woocommerce ul.products li.product:hover a img{transform:scale(1.04)}
body.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font:700 20px/1.15 var(--rk-hf)!important;color:var(--rk-t)!important;margin:4px 0 6px!important;
  padding:0!important;
}
body.woocommerce ul.products li.product .price,
body.woocommerce ul.products li.product .price .amount,
body.woocommerce ul.products li.product .price bdi{
  font:700 28px/1.1 var(--rk-hf)!important;color:var(--rk-t)!important;
}
body.woocommerce ul.products li.product .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin:8px 0 14px!important}
body.woocommerce ul.products li.product .rk-vat,
body.woocommerce ul.products li.product .price .rk-vat{
  flex-basis:100%;font:600 13px var(--rk-bf)!important;color:var(--rk-a)!important;
}
body.woocommerce ul.products li.product del,
body.woocommerce ul.products li.product .onsale{display:none!important}
body.woocommerce ul.products li.product .button,
body.woocommerce ul.products li.product a.button,
body.woocommerce ul.products li.product .add_to_cart_button,
body.woocommerce ul.products li.product .product_type_simple{
  margin-top:auto!important;align-self:stretch;justify-content:center;
  display:inline-flex!important;width:100%;box-sizing:border-box;
  background:linear-gradient(135deg,#e3c9a4,#a9845c)!important;color:var(--rk-btn-t)!important;
  border-radius:10px!important;border:0!important;font:700 15px var(--rk-hf)!important;
  padding:15px 28px!important;min-height:48px;transition:transform .25s,box-shadow .25s;
  text-transform:none!important;letter-spacing:0!important;
}
body.woocommerce ul.products li.product .button:hover{
  transform:translateY(-2px);box-shadow:0 14px 30px -12px #0006;filter:none!important;
}

/* Single product */
body.single-product div.product{max-width:1180px;margin:0 auto;padding:24px 22px 64px}
body.single-product div.product .summary{
  background:var(--rk-card)!important;border:1px solid var(--rk-line)!important;
  border-radius:16px!important;padding:28px!important;
}
body.single-product div.product .product_title{font-size:clamp(30px,4vw,48px)!important}
body.single-product div.product p.price .amount,body.single-product div.product span.price .amount{
  font:700 46px/1 var(--rk-hf)!important;color:var(--rk-t)!important;
}
body.single-product div.product p.price .rk-vat{display:block;font:600 13px var(--rk-bf);color:var(--rk-a);margin-top:6px}
body.single-product .woocommerce-product-gallery{border-radius:16px;overflow:hidden;background:var(--rk-card)}

/* Shared buttons */
body.woocommerce a.button,body.woocommerce button.button,body.woocommerce .button,
body.woocommerce-page a.button,body.woocommerce-page button.button,
body.woocommerce .single_add_to_cart_button,body.woocommerce .checkout-button,
body.woocommerce .wc-block-components-button:not(.is-link),
body.woocommerce .wc-block-cart__submit-button,
body.woocommerce .wc-block-components-checkout-place-order-button,
body.woocommerce .wp-block-button__link{
  background:linear-gradient(135deg,#e3c9a4,#a9845c)!important;color:var(--rk-btn-t)!important;
  border-radius:10px!important;border:0!important;font:700 15px var(--rk-hf)!important;
  padding:15px 28px!important;min-height:48px;transition:transform .25s,box-shadow .25s;
  text-transform:none!important;
}
body.woocommerce a.button:hover,body.woocommerce button.button:hover,
body.woocommerce .wc-block-components-button:not(.is-link):hover{
  transform:translateY(-2px);box-shadow:0 14px 30px -12px #0006;filter:none!important;
}

/* Forms / blocks cart+checkout+account */
body.woocommerce input[type=text],body.woocommerce input[type=email],body.woocommerce input[type=tel],
body.woocommerce input[type=password],body.woocommerce input[type=number],body.woocommerce input[type=search],
body.woocommerce select,body.woocommerce textarea,
body.woocommerce .wc-block-components-text-input input,
body.woocommerce .wc-block-components-combobox input,
body.woocommerce .wc-blocks-components-select select,
body.woocommerce .wc-block-components-textarea textarea{
  background:var(--rk-card)!important;color:var(--rk-t)!important;
  border:1px solid var(--rk-line)!important;border-radius:10px!important;
  font:16px var(--rk-bf)!important;padding:12px 14px!important;
}
body.woocommerce input:focus,body.woocommerce select:focus,body.woocommerce textarea:focus,
body.woocommerce .wc-block-components-text-input input:focus{
  outline:2px solid var(--rk-a)!important;outline-offset:1px;border-color:var(--rk-a)!important;
}
body.woocommerce .woocommerce-cart-form,body.woocommerce .cart_totals,
body.woocommerce form.checkout,body.woocommerce-checkout-review-order,
body.woocommerce-MyAccount-content,body.woocommerce-MyAccount-navigation,
body.woocommerce .wc-block-cart,body.woocommerce .wc-block-checkout,
body.woocommerce .wc-block-components-sidebar,body.woocommerce .wc-block-components-totals-wrapper,
body.woocommerce-checkout #payment,body.woocommerce-checkout #payment div.payment_box{
  background:var(--rk-card)!important;color:var(--rk-t)!important;
  border:1px solid var(--rk-line)!important;border-radius:16px!important;
}
body.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--rk-card)!important}
body.woocommerce .wc-block-components-text-input label,
body.woocommerce .wc-block-components-checkout-step__title,
body.woocommerce .wc-block-components-product-name,
body.woocommerce .wc-block-components-totals-item,
body.woocommerce .wc-block-components-formatted-money-amount{color:var(--rk-t)!important}
body.woocommerce table,body.woocommerce th,body.woocommerce td{border-color:var(--rk-line)!important;color:var(--rk-t)}
body.woocommerce .woocommerce-message,body.woocommerce .woocommerce-info,
body.woocommerce .wc-block-components-notice-banner{
  background:var(--rk-card)!important;color:var(--rk-t)!important;border-color:var(--rk-a)!important;border-radius:10px;
}
body.woocommerce .woocommerce-breadcrumb,body.woocommerce .product_meta,
body.woocommerce .woocommerce-product-details__short-description{color:var(--rk-m)!important}
body.woocommerce del,body.woocommerce span.onsale{display:none!important}

/* Footer */
body.woocommerce .site-footer,body.woocommerce-page .site-footer{
  background:var(--rk-bg)!important;border-top:1px solid var(--rk-line);
  color:var(--rk-m)!important;padding:44px 0 64px!important;font-size:14px;
}
body.woocommerce .site-footer a,body.woocommerce-page .site-footer a{color:var(--rk-a)!important}
body.woocommerce .site-footer .site-info,body.woocommerce .rk-legal{color:var(--rk-m)!important;text-align:center}

/* Content width */
body.woocommerce #main,body.woocommerce-page #main,
body.woocommerce .content-container,body.woocommerce-page .content-wrap{
  max-width:1180px;
}
body.woocommerce .content-bg > .content-container{padding-left:0;padding-right:0}

@media(max-width:860px){
  body.woocommerce ul.products{grid-template-columns:1fr!important;padding:0 16px!important;gap:16px!important}
  body.woocommerce .entry-hero,body.woocommerce .woocommerce-products-header{padding:24px 0 4px!important}
  body.woocommerce .site-header .header-navigation{display:none}
}
@media(prefers-reduced-motion:reduce){
  body.woocommerce ul.products li.product a img,body.woocommerce a.button{transition:none!important}
  body.woocommerce ul.products li.product:hover a img{transform:none}
}

/* rk v2.1: two large product cards + header CTA (all non-front pages) */
body.woocommerce ul.products,body.woocommerce-page ul.products,.wc-block-grid__products,.wp-block-woocommerce-product-collection ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;width:100%!important;max-width:1180px;margin:24px auto!important}
body.woocommerce ul.products li.product,body.woocommerce-page ul.products li.product{width:auto!important;margin:0!important;float:none!important;padding:22px!important}
body.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:clamp(22px,2.4vw,30px)!important}
body.woocommerce ul.products li.product img{aspect-ratio:4/3;object-fit:cover;width:100%}
body.woocommerce ul.products::before,body.woocommerce ul.products::after{display:none!important}
@media(max-width:760px){body.woocommerce ul.products,body.woocommerce-page ul.products{grid-template-columns:1fr!important}}
.kadence-shop-top-row .kadence-product-toggle-container,.kadence-product-toggle-container,.woocommerce-result-count{display:none!important}
a.rk-header-cta{display:inline-flex;align-items:center;padding:9px 18px!important;border-radius:10px;background:var(--global-palette1);color:var(--global-palette-btn)!important;font-family:Outfit,system-ui,sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:13px;opacity:1!important}
.main-navigation .menu>li>a{font-size:13px!important;text-transform:uppercase;letter-spacing:.08em}
.rk-trust{font-size:13px;line-height:1.5;opacity:.85;margin:10px 0}
.site-footer .rk-foot-logo{height:34px;width:auto;display:block;margin:0 auto 10px}
/* rk v2.3: always-visible Kupi zdaj on shop cards (Kadence hover-reveal off) */
ul.products.woo-archive-action-on-hover li.product .product-action-wrap,ul.products li.product .product-action-wrap{position:static!important;opacity:1!important;visibility:visible!important;bottom:auto!important;left:auto!important;right:auto!important;padding:0!important;margin-top:14px!important;display:block!important;transform:none!important}
ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap,ul.products.woo-archive-action-on-hover li.product:focus-within .entry-content-wrap{transform:none!important}
ul.products li.product .product-action-wrap a.button{display:flex!important;justify-content:center;align-items:center;width:100%;min-height:48px;font-size:16px!important}
ul.products li.product .product-action-wrap a.button:focus-visible{outline:3px solid var(--global-palette2);outline-offset:3px}
ul.products li.product .product-action-wrap .kadence-svg-iconset{display:none!important}
