/*
Theme Name: Niske Cene New
Theme URI: https://niskecene.com
Author: niskecene.com
Description: Brza WooCommerce tema bez plugina sa SEO.
Version: 2.0.0
Requires at least: 6.0
WC requires at least: 8.0
License: Proprietary
Text Domain: niskecenenew
*/

/* ============================================================
   FONT
   ============================================================ */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   VARIJABLE
   ============================================================ */
:root {
  --brand:        #FF3B00;
  --brand-dark:   #D42E00;
  --brand-light:  #FFF0EC;
  --ink:          #0A0A0A;
  --ink-soft:     #1A1A1A;
  --white:        #FFFFFF;
  --smoke:        #F5F5F3;
  --smoke-dark:   #EBEBEA;
  --border:       #E2E2E0;
  --border-dark:  #C8C8C6;
  --text:         #1A1A1A;
  --muted:        #6B6B6B;
  --success-bg:   #EAF3DE;
  --success-txt:  #1A5C2A;
  --error-bg:     #FDECEA;
  --error-txt:    #8B1A1A;
  --info-bg:      #E6F1FB;
  --info-txt:     #0C447C;
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-hover: 0 6px 20px rgba(0,0,0,0.11);
  --header-top-h: 64px;
  --header-cat-h: 44px;
  --header-h: 108px;
  --max-w: 1240px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h3 { font-size: 1.1rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
  font-weight: 600;
  font-size: .875rem;
  padding: 10px 20px;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: var(--white); border-color: var(--brand); }
.btn-primary:link,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active { color: var(--white); }
.btn-primary:hover,
.btn-primary:focus { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-sm { padding: 7px 14px; font-size: .8rem; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--brand);
  color: var(--white);
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 20px;
  letter-spacing: .02em;
}

/* ============================================================
   HEADER — 2 REDA — white theme
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}

/* Red 1 — logo, pretraga, akcije */
.header-top {
  height: var(--header-top-h);
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img { height: 36px; width: auto; }
.logo-text {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.03em;
}
.logo-text em { color: var(--brand); font-style: normal; }

.header-search {
  flex: 1;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}
.header-search input[type="search"] {
  width: 100%;
  height: 42px;
  padding: 0 50px 0 16px;
  background: var(--smoke);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  color: var(--ink);
  font-size: .9rem;
  outline: none;
  transition: background .2s, border-color .2s;
}
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus {
  background: var(--white);
  border-color: var(--ink);
}
.header-search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  background: var(--brand);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.header-search-btn:hover { background: var(--brand-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white) !important;
  font-size: .875rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--r-xl);
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.cart-btn:hover { background: var(--brand-dark); }
.cart-btn:active { transform: scale(.97); }
.cart-count {
  background: var(--white);
  color: var(--brand);
  font-size: .68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: var(--ink);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* Red 2 — kategorije + telefon */
.header-cats {
  height: var(--header-cat-h);
  display: flex;
  align-items: center;
  background: var(--smoke);
  border-top: 1px solid var(--border);
  /* overflow intentionally not set — allows absolutely-positioned dropdown to escape */
}
.header-cats-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  width: 100%;
}
/* Scrollable wrapper for the nav links only — dropdown button stays outside */
.cats-nav-scroll {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats-nav-scroll::-webkit-scrollbar { display: none; }
.cats-nav-scroll > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  padding: 0 14px;
  height: 100%;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  white-space: nowrap;
}
.cats-nav-scroll > a:hover,
.cats-nav-scroll > a.active {
  color: var(--ink);
  border-bottom-color: var(--brand);
  background: rgba(0,0,0,.04);
}
.cat-akcija { color: var(--brand) !important; }

/* "Sve kategorije" button + mega menu */
.cat-all-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cat-all {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--brand);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  padding: 0 16px 0 14px;
  height: 100%;
  margin-right: 10px;
  border-bottom: none;
  transition: background .15s;
  white-space: nowrap;
}
.cat-all:hover,
.cat-all-wrap.open .cat-all {
  background: var(--brand-dark);
  color: var(--white);
}
.cat-chevron {
  transition: transform .2s;
  flex-shrink: 0;
}
.cat-all-wrap.open .cat-chevron { transform: rotate(180deg); }

/* Mega menu panel */
.cat-mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-width: 580px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  z-index: 200;
  flex-direction: row;
}
.cat-all-wrap.open .cat-mega-menu,
.cat-all-wrap:focus-within .cat-mega-menu {
  display: flex;
}
@media (hover: hover) and (pointer: fine) {
  .cat-all-wrap:hover .cat-mega-menu { display: flex; }
}
.cat-mega-left {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 6px 0;
}
.cat-mega-right {
  flex: 1;
  min-width: 240px;
  padding: 6px 0;
}
.cat-mega-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px 9px 14px;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 500;
  border-bottom: none !important;
  transition: background .1s, color .1s;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.cat-mega-item:hover,
.cat-mega-item.is-active {
  background: var(--smoke);
  color: var(--brand);
  border-left-color: var(--brand);
}
.cat-mega-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink);
  width: 18px;
}
.cat-mega-item:hover .cat-mega-icon,
.cat-mega-item.is-active .cat-mega-icon { color: var(--brand); }
.cat-mega-name { flex: 1; }
.cat-mega-arrow {
  flex-shrink: 0;
  color: var(--muted);
  margin-left: auto;
}
.cat-mega-subs {
  display: none;
  flex-direction: column;
}
.cat-mega-subs.is-visible { display: flex; }
.cat-mega-subs-head {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  padding: 12px 16px 6px;
}
.cat-mega-sub-link {
  display: block;
  padding: 7px 16px;
  color: var(--ink);
  font-size: .84rem;
  transition: background .1s, color .1s;
  border-bottom: none !important;
}
.cat-mega-sub-link:hover {
  background: var(--smoke);
  color: var(--brand);
}

/* Telefon u navigacijskoj traci */
.header-phone-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  height: 100%;
  margin-left: auto;
  padding: 0 4px;
  transition: color .15s;
}
.header-phone-nav:hover { color: var(--ink); }
.header-phone-nav svg { color: var(--brand); flex-shrink: 0; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.mobile-nav.open { display: block; }
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}
.mobile-nav-drawer {
  position: absolute;
  top: 0; left: 0;
  width: 290px;
  height: 100%;
  background: var(--ink);
  padding: 20px;
  overflow-y: auto;
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav-close {
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .15s;
}
.mobile-nav-links a:hover { color: var(--white); }
.mobile-search {
  margin-bottom: 20px;
  position: relative;
}
.mobile-search form {
  position: relative;
}
.mobile-search input[type="search"] {
  width: 100%;
  height: 42px;
  padding: 0 44px 0 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xl);
  color: var(--white);
  font-size: .9rem;
  outline: none;
}
.mobile-search input::placeholder { color: rgba(255,255,255,.4); }
.mobile-search-btn {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-phone {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-nav-phone:hover { color: var(--white); }

/* Mobile expandable "Sve kategorije" */
.mobile-cats-details {
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-cats-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  padding: 12px 4px;
  cursor: pointer;
  list-style: none;
  transition: color .15s;
}
.mobile-cats-summary::-webkit-details-marker { display: none; }
.mobile-cats-summary:hover { color: var(--white); }
.mobile-cats-chevron {
  margin-left: auto;
  transition: transform .2s;
  flex-shrink: 0;
}
.mobile-cats-details[open] .mobile-cats-chevron { transform: rotate(180deg); }
.mobile-cats-list {
  padding: 0 0 8px 26px;
}
.mobile-cats-list a {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .15s;
}
.mobile-cats-list a:hover { color: var(--white); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--smoke);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-item svg { color: var(--brand); flex-shrink: 0; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 12px 0 18px;
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--muted); transition: color .15s; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .sep { color: var(--border-dark); }
.breadcrumbs .current { color: var(--text); font-weight: 500; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-header h2 { font-size: 1.3rem; }
.section-header a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-header a:hover { text-decoration: underline; }

/* ============================================================
   PRODUCT CARD — Shoppster stil
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.product-card__img {
  position: relative;
  background: var(--white);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .35s;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

.badge-sale {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 1;
}
.badge-new {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 1;
}

.product-card__body {
  padding: 10px 12px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-card__name {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.product-card__name:hover { color: var(--brand); }

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 4px;
}
.price-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.price-old {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: line-through;
  white-space: nowrap;
}
.price-current .woocommerce-Price-amount,
.price-old .woocommerce-Price-amount,
.price-current .woocommerce-Price-currencySymbol,
.price-old .woocommerce-Price-currencySymbol,
.price-current bdi,
.price-old bdi {
  white-space: nowrap !important;
  display: inline !important;
}
.product-card__footer {
  padding: 0 12px 12px;
}
.product-card__footer .btn {
  border-radius: var(--r-md);
  font-size: .82rem;
  padding: 8px 12px;
}

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-slides {
  display: flex;
  transition: transform .55s cubic-bezier(.25,.1,.25,1);
  will-change: transform;
}
.hero-slide { flex: 0 0 100%; width: 100%; }
.hero-slide > a { display: block; }
.hero-slide picture { display: block; }
.hero-slide img { width: 100%; height: auto; display: block; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.88);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.22);
  transition: background .15s;
  color: var(--ink);
}
.slider-btn:hover { background: #fff; }
.slider-btn--prev { left: 16px; }
.slider-btn--next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.slider-dot.is-active { background: #fff; transform: scale(1.3); }

/* Homepage SEO heading */
.hp-seo-heading {
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--border);
}
.hp-seo-heading h1 {
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 6px;
}
.hp-seo-heading p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Category icon via ncn_cat_icon SVG */
.cat-tile__svg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.cat-tile__svg svg { width: 26px; height: 26px; }

/* Reviews */
.section-reviews {
  background: var(--smoke);
  padding: 40px 0;
  overflow: hidden;
}
.reviews-ticker-wrap {
  overflow: hidden;
  padding: 8px 0 4px;
  cursor: default;
}
.reviews-ticker {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: reviews-scroll 38s linear infinite;
}
.reviews-ticker-wrap:hover .reviews-ticker { animation-play-state: paused; }
@keyframes reviews-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-stars { color: var(--brand); font-size: 1rem; letter-spacing: 1px; }
.review-text {
  font-size: .84rem;
  color: var(--ink);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.review-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.review-avatar img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  display: block;
}
.review-author {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
}

/* Kategorije ikonice */
.section-cats { padding: 40px 0; }
.cats-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  cursor: grab;
}
.cats-scroll.dragging { cursor: grabbing; user-select: none; }
.cats-scroll::-webkit-scrollbar { height: 4px; }
.cats-scroll::-webkit-scrollbar-track { background: var(--smoke-dark); border-radius: 4px; }
.cats-scroll::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; }
.cats-scroll::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.cat-tile {
  flex: 0 0 118px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: box-shadow .18s, transform .18s, border-color .18s;
  color: var(--ink);
  text-decoration: none;
}
.cat-tile:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
  color: var(--brand);
}
.cat-tile__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-tile__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-tile__icon svg { color: var(--brand); }
.cat-tile__name {
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
}
.cat-tile__count {
  font-size: .7rem;
  color: var(--muted);
}

/* Promo banner */
.promo-banner {
  background: var(--brand);
  padding: 32px 0;
  margin: 0;
}
.promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.promo-banner h2 {
  color: var(--white);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 4px;
}
.promo-banner p {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}
.promo-banner .btn {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}
.promo-banner .btn:hover {
  background: var(--smoke);
  border-color: var(--smoke);
}

/* Sekcije proizvoda */
.section-prods { padding: 40px 0; }
.section-prods.bg-smoke { background: var(--smoke); }

/* Zašto mi */
.section-why {
  background: var(--ink);
  padding: 56px 0;
}
.section-why h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 36px;
  font-size: 1.5rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-item { text-align: center; }
.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,59,0,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--brand);
}
.why-item h3 { color: var(--white); font-size: .95rem; margin-bottom: 6px; }
.why-item p { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.55; }

/* ============================================================
   SHOP — LAYOUT WITH FILTER SIDEBAR
   ============================================================ */
.shop-wrap { padding: 20px 0 64px; }

.shop-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.shop-filter-bar h1 {
  font-size: 1.3rem;
  margin-right: auto;
}
.shop-filter-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.shop-filter-bar select,
.woocommerce-ordering select {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: .875rem;
  background: var(--white);
  color: var(--text);
  outline: none;
  cursor: pointer;
  transition: border-color .15s;
}
.shop-filter-bar select:focus,
.woocommerce-ordering select:focus { border-color: var(--ink); }
.woocommerce-result-count { font-size: .82rem; color: var(--muted); margin: 0; }

/* Sidebar + grid two-column layout */
.shop-layout {
  display: grid;
  grid-template-columns: 252px 1fr;
  gap: 32px;
  align-items: start; /* prevents grid from stretching items to full row height */
}
.shop-sidebar {
  position: static; /* never sticky or fixed — scrolls with the page */
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.shop-content { min-width: 0; }

/* ── Filter sections ── */
.ncn-filter-section {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.ncn-filter-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.ncn-filter-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin: 0 0 10px;
}

/* Category list */
.ncn-filter-cats { list-style: none; padding: 0; margin: 0; }
.ncn-filter-cat { margin: 0; }
.ncn-filter-cat a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  border-radius: var(--r-sm);
  font-size: .875rem;
  color: var(--text);
  text-decoration: none;
  transition: background .12s, color .12s;
  gap: 6px;
}
.ncn-filter-cat a:hover { background: var(--smoke); color: var(--ink); }
.ncn-filter-cat.is-active > a { background: var(--brand); color: #fff; font-weight: 600; }
.ncn-filter-cat.is-active .ncn-filter-cat-count { color: rgba(255,255,255,.7); }
.ncn-filter-cat-count { font-size: .75rem; color: var(--muted); flex-shrink: 0; }
.ncn-filter-cat-up a { color: var(--muted); font-size: .8rem; }
.ncn-filter-cat-up a:hover { color: var(--ink); }

/* Price range — inputs row */
.ncn-price-inputs-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.ncn-price-sep { color: var(--muted); font-size: .85rem; padding-bottom: 8px; flex-shrink: 0; }
.ncn-price-field { flex: 1; min-width: 0; }
.ncn-price-field label {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.ncn-price-field input {
  width: 100%;
  padding: 7px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .82rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s;
  -moz-appearance: textfield;
}
.ncn-price-field input::-webkit-outer-spin-button,
.ncn-price-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ncn-price-field input:focus { outline: none; border-color: var(--ink); }

/* Dual-handle range slider */
.ncn-slider-wrap {
  position: relative;
  height: 36px;
  margin-top: 14px;
}
.ncn-slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  transform: translateY(-50%);
  pointer-events: none;
}
.ncn-slider-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
}
.ncn-range {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  padding: 0;
  height: 36px;
}
.ncn-range:focus { outline: none; }
/* Webkit thumb */
.ncn-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  pointer-events: all;
  cursor: pointer;
  transition: transform .1s;
}
.ncn-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
/* Firefox thumb */
.ncn-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  pointer-events: all;
  cursor: pointer;
}

/* Checkboxes */
.ncn-filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text);
  cursor: pointer;
  padding: 4px 0;
  line-height: 1.3;
}
.ncn-filter-check input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--brand);
  flex-shrink: 0;
  cursor: pointer;
}

/* Apply / reset */
.ncn-filter-apply { width: 100%; justify-content: center; margin-top: 16px; }
.ncn-filter-active-bar { padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.ncn-filter-reset-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.ncn-filter-reset-link:hover { text-decoration: underline; }

/* Mobile "Filteri" toggle — hidden on desktop */
.ncn-filter-toggle { display: none; align-items: center; gap: 6px; }

/* Empty state */
.shop-empty { padding: 60px 0; text-align: center; }
.shop-empty p { font-size: 1.05rem; color: var(--muted); margin-bottom: 20px; }

/* ============================================================
   SHOP — MOBILE FILTER DRAWER
   ============================================================ */
.ncn-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 300;
  cursor: pointer;
}
.ncn-filter-overlay.open { display: block; }

.ncn-filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 88vw;
  height: 100dvh;
  background: var(--white);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
  box-shadow: 4px 0 24px rgba(0,0,0,.12);
}
.ncn-filter-drawer.open { transform: translateX(0); }

.ncn-filter-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ncn-filter-drawer-head span { font-weight: 700; font-size: 1rem; }
.ncn-filter-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ncn-filter-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 32px;
}

@media (max-width: 767px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .ncn-filter-toggle { display: flex; }
}

/* ============================================================
   SINGLE PRODUCT
   ============================================================ */
.product-single-wrap { padding: 20px 0 64px; }
.product-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

/* Galerija */
.pg-main {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.pg-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: opacity .2s;
}
.pg-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.thumb-btn {
  width: 68px;
  height: 68px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--white);
  padding: 0;
  cursor: pointer;
  transition: border-color .15s;
  flex-shrink: 0;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.thumb-btn:hover, .thumb-btn.active { border-color: var(--brand); }

/* Info panel */
.pi-cat {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.pi-cat a { color: var(--muted); transition: color .15s; }
.pi-cat a:hover { color: var(--brand); }
.pi-name {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 14px;
  line-height: 1.2;
}
.pi-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.pi-price .price-current { font-size: 1.9rem; font-weight: 800; }
.pi-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: var(--r-sm);
}
.pi-stock.in { background: var(--success-bg); color: var(--success-txt); }
.pi-stock.out { background: var(--error-bg); color: var(--error-txt); }
.pi-short {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

/* WooCommerce add to cart overrides */
.pi-cart .quantity {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}
/* Qty stepper wrapper — added by JS on init */
.pi-cart .quantity.ncn-qty-wrap {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}
.pi-cart .quantity.ncn-qty-wrap .ncn-qty-btn {
  width: 42px;
  height: 46px;
  border-radius: 0;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--ink);
}
.pi-cart .quantity.ncn-qty-wrap .ncn-qty-minus { border-right: 1px solid var(--border); }
.pi-cart .quantity.ncn-qty-wrap .ncn-qty-plus  { border-left:  1px solid var(--border); }
.pi-cart input.qty {
  width: 60px;
  height: 46px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-weight: 600;
  -moz-appearance: textfield;
  background: var(--white);
  color: var(--ink);
}
.pi-cart .quantity.ncn-qty-wrap input.qty {
  border: none;
  border-radius: 0;
}
.pi-cart input.qty::-webkit-outer-spin-button,
.pi-cart input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }

.pi-cart .single_add_to_cart_button,
.pi-cart button[name="add-to-cart"] {
  width: 100%;
  padding: 15px 24px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  letter-spacing: .01em;
}
.pi-cart .single_add_to_cart_button:hover { background: var(--brand-dark); }
.pi-cart .single_add_to_cart_button:active { transform: scale(.98); }
.pi-cart .single_add_to_cart_button.disabled,
.pi-cart .single_add_to_cart_button:disabled {
  background: var(--border-dark);
  border-color: var(--border-dark);
  color: var(--white);
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}
.pi-cart .single_add_to_cart_button.loading { opacity: .75; cursor: wait; }
.pi-cart .variations { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.pi-cart .variations td, .pi-cart .variations th { padding: 5px 0; vertical-align: middle; }
.pi-cart .variations label { font-size: .875rem; font-weight: 600; padding-right: 14px; white-space: nowrap; }
.pi-cart .variations select {
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: .875rem;
  min-width: 160px;
  background: var(--white);
}
.pi-cart .reset_variations { font-size: .78rem; color: var(--muted); display: block; margin-top: 4px; }
.pi-cart .woocommerce-variation-price .price { font-size: 1.5rem; font-weight: 700; color: var(--ink); }

.product-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}
.product-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  color: var(--text);
  background: var(--smoke);
  padding: 10px 12px;
  border-radius: var(--r-md);
}
.product-trust-item svg { color: var(--brand); flex-shrink: 0; }

.product-desc-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 40px;
}
.product-desc-section h2 { margin-bottom: 18px; font-size: 1.2rem; }
.product-related h2 { font-size: 1.2rem; margin-bottom: 18px; }

/* Entry content */
.entry-content { font-size: .9rem; line-height: 1.8; color: var(--text); }
.entry-content h2, .entry-content h3 { margin: 24px 0 10px; }
.entry-content p { margin-bottom: 12px; }
.entry-content ul, .entry-content ol { margin: 0 0 12px 20px; list-style: disc; }
.entry-content a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   WOOCOMMERCE NOTICES
   ============================================================ */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: .875rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
}
.woocommerce-message { background: var(--success-bg); color: var(--success-txt); border: 1px solid #C0DD97; }
.woocommerce-error   { background: var(--error-bg); color: var(--error-txt); border: 1px solid #F5BCBC; }
.woocommerce-info    { background: var(--info-bg); color: var(--info-txt); border: 1px solid #B5D4F4; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination,
.woocommerce-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 36px 0;
  list-style: none;
}
.pagination a, .pagination span,
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  transition: all .15s;
}
.pagination a:hover, .woocommerce-pagination ul li a:hover { border-color: var(--ink); background: var(--smoke); }
.pagination .current, .woocommerce-pagination ul li span.current {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
/* Desktop: full pagination visible, compact hidden */
.ncn-pag--mobile { display: none; }
/* Mobile: compact visible, full hidden */
@media (max-width: 767px) {
  .ncn-pag--desktop { display: none; }
  .ncn-pag--mobile  { display: block; }
  .woocommerce-pagination {
    padding: 0 10px;
    overflow-x: auto;
  }
  .woocommerce-pagination ul {
    flex-wrap: nowrap;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 6px;
    justify-content: center;
  }
  .woocommerce-pagination ul li {
    flex: 0 0 auto;
  }
}

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.cart-checkout-wrap { padding: 28px 20px 64px; }

/* ── DELIVERY OPTIONS ────────────────────────────────────── */
.ncn-delivery-options { margin-bottom: 24px; }
.ncn-delivery-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
}
.ncn-delivery-icon { color: var(--ink); flex-shrink: 0; }
.ncn-delivery-text strong { display: block; font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.ncn-delivery-text span { font-size: .78rem; color: var(--muted); }
.ncn-delivery-free { color: #1a7a3c !important; font-weight: 600; }

/* ── CART 2-COLUMN LAYOUT ────────────────────────────────── */
.ncn-cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}
.ncn-cart-items,
.ncn-cart-summary { min-width: 0; }

/* ── CART ITEM CARD ──────────────────────────────────────── */
.ncn-cart-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 12px;
  transition: box-shadow .15s;
}
.ncn-cart-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

/* Image */
.ncn-ci-img { flex-shrink: 0; }
.ncn-ci-img a { display: block; }
.ncn-ci-img img {
  width: 120px; height: 120px;
  object-fit: contain;
  border-radius: var(--r-md);
  background: var(--smoke);
  border: 1px solid var(--border);
  padding: 6px;
  display: block;
}

/* Body */
.ncn-ci-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ncn-ci-info { min-width: 0; }
.ncn-ci-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
}
a.ncn-ci-name:hover { color: var(--brand); }
.ncn-ci-info .variation,
.ncn-ci-info dl.variation { font-size: .78rem; color: var(--muted); margin: 2px 0 0; }
.ncn-ci-info dl.variation dt { display: inline; font-weight: 600; }
.ncn-ci-info dl.variation dd { display: inline; margin: 0; }

/* Controls row: stepper + prices */
.ncn-ci-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.ncn-ci-left { display: flex; align-items: center; gap: 14px; }

/* Qty stepper pill */
.ncn-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--white);
}
.ncn-qty-btn {
  width: 36px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; font-weight: 600; color: var(--ink);
  transition: background .1s;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
  font-family: inherit;
  border-radius: 100px;
}
.ncn-qty-btn:hover { background: var(--smoke); }
.ncn-qty-stepper .quantity { display: flex; align-items: center; }
.ncn-qty-stepper .quantity label { display: none; }
.ncn-qty-stepper input.qty {
  width: 46px; height: 38px;
  text-align: center; border: none; outline: none;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  -moz-appearance: textfield;
  background: transparent;
  font-family: inherit;
}
.ncn-qty-stepper input.qty::-webkit-inner-spin-button,
.ncn-qty-stepper input.qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.ncn-qty-single { font-size: .85rem; color: var(--muted); }

/* Prices */
.ncn-ci-prices { text-align: right; }
.ncn-ci-unit { font-size: .78rem; color: var(--muted); display: block; margin-bottom: 2px; }
.ncn-ci-subtotal { font-size: 1.05rem; font-weight: 700; color: var(--ink); display: block; }

/* Remove link */
.ncn-ci-remove-row { padding-top: 2px; }
.ncn-remove-link {
  font-size: .78rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-block;
}
.ncn-remove-link:hover { color: var(--brand); }

/* Update cart row */
.ncn-cart-update-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
/* Auto-update handles cart refresh — hide manual button (kept in DOM for .click()) */
.ncn-update-cart { display: none !important; }

/* Loading overlay while WC submits + reloads */
.ncn-cart-updating {
  position: relative;
  pointer-events: none;
}
.ncn-cart-updating::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--r-xl);
  z-index: 10;
}

/* ── CART SUMMARY CARD ───────────────────────────────────── */
.ncn-summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.ncn-summary-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
/* Strip WC cart_totals own card styling */
.ncn-cart-summary .cart_totals {
  background: none; border: none; border-radius: 0; padding: 0; position: static;
}
.ncn-cart-summary .cart_totals > h2 { display: none; }
/* Summary table */
.ncn-cart-summary table.shop_table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
}
.ncn-cart-summary table.shop_table th,
.ncn-cart-summary table.shop_table td {
  padding: 10px 0; border-bottom: 1px solid var(--border); vertical-align: middle;
}
.ncn-cart-summary table.shop_table th { font-weight: 500; color: var(--text); }
.ncn-cart-summary table.shop_table td { text-align: right; font-weight: 600; }
.ncn-cart-summary table.shop_table .order-total th,
.ncn-cart-summary table.shop_table .order-total td {
  border-bottom: none; font-size: 1.15rem; font-weight: 700; padding-top: 14px;
}
/* Shipping options */
.ncn-cart-summary .woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.ncn-cart-summary .woocommerce-shipping-methods li { display: flex; align-items: center; gap: 8px; font-size: .85rem; padding: 3px 0; }
.ncn-cart-summary .shipping-calculator-button { font-size: .8rem; color: var(--brand); text-decoration: none; }
.ncn-cart-summary .shipping-calculator-button:hover { text-decoration: underline; }
/* Checkout button */
.ncn-cart-summary .wc-proceed-to-checkout { margin-top: 18px; }
.ncn-cart-summary .checkout-button {
  display: block; width: 100%; padding: 15px;
  background: var(--brand); color: var(--white) !important;
  text-align: center; font-size: 1rem; font-weight: 700;
  border-radius: var(--r-md); text-decoration: none;
  transition: background .15s, transform .1s; border: none;
}
.ncn-cart-summary .checkout-button:hover { background: var(--brand-dark); }
.ncn-cart-summary .checkout-button:active { transform: scale(.98); }
/* Coupon discount row */
.ncn-cart-summary .cart-discount td a.woocommerce-remove-coupon { color: var(--muted); font-size: .75rem; margin-left: 6px; }
/* Coupon inside summary */
.ncn-summary-coupon { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.ncn-coupon-form { display: flex; gap: 8px; }
.ncn-coupon-form .ncn-coupon-input {
  flex: 1; padding: 9px 12px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: .82rem; outline: none; font-family: inherit; color: var(--ink);
}
.ncn-coupon-form .ncn-coupon-input:focus { border-color: var(--ink); }

/* ── RECOMMENDATIONS ──────────────────────────────────────── */
.ncn-cart-recs { margin-top: 56px; padding-top: 36px; border-top: 2px solid var(--border); }
.ncn-recs-title { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
/* Force 4 columns to match product page "Slični proizvodi" */
.ncn-cart-recs .products-grid { grid-template-columns: repeat(4, 1fr); }

/* ── CART RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .ncn-cart-layout { grid-template-columns: 1fr; }
  .ncn-summary-card { position: static; }
  .ncn-cart-recs .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ncn-ci-img img { width: 88px; height: 88px; }
  .ncn-ci-controls { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ncn-ci-prices { text-align: left; }
  .ncn-cart-recs .products-grid { grid-template-columns: repeat(2, 1fr); }
  .ncn-coupon-form { flex-direction: column; }
}

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.checkout-section-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.form-row label .required { color: var(--brand); }
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=tel],
.form-row input[type=password],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: .875rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,.07);
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-review {
  background: var(--smoke);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.order-review h3 { font-size: 1rem; margin-bottom: 18px; }
.order-prod {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.order-prod-name { font-weight: 600; flex: 1; margin-right: 8px; }
.order-prod-qty { color: var(--muted); font-size: .78rem; margin-right: 8px; }
.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: .875rem;
  border-bottom: 1px solid var(--border);
}
.order-total-row.grand { font-size: 1.1rem; font-weight: 700; border-bottom: none; padding-top: 14px; }
.place-order-btn {
  width: 100%;
  padding: 15px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  margin-top: 18px;
  letter-spacing: .01em;
}
.place-order-btn:hover { background: var(--brand-dark); }
.place-order-btn:active { transform: scale(.98); }

#payment .payment_methods {
  list-style: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 0 0 16px;
}
#payment .payment_methods li {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}
#payment .payment_methods li:last-child { border-bottom: none; }
#payment .payment_methods li input[type=radio] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}
#payment .payment_methods li > label {
  flex: 1;
  cursor: pointer;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}
#payment .payment_methods li img {
  height: 22px;
  width: auto;
  vertical-align: middle;
}
#payment .payment_box {
  flex-basis: 100%;
  padding: 12px 14px;
  background: var(--info-bg);
  font-size: .82rem;
  color: var(--info-txt);
  line-height: 1.5;
  border-radius: var(--r-md);
  margin-top: 4px;
}

/* ============================================================
   WC DEFAULT CHECKOUT LAYOUT (form.checkout.woocommerce-checkout)
   ============================================================ */
/* Float-based 2-col: WC DOM order is #customer_details →
   h3#order_review_heading → #order_review. Floats let the right
   column stack independently without CSS Grid row-height coupling. */
form.checkout.woocommerce-checkout {
  overflow: hidden; /* clearfix */
}
/* Notices span full width and clear floats */
form.checkout.woocommerce-checkout > .woocommerce-form-coupon-toggle,
form.checkout.woocommerce-checkout > .woocommerce-form-login-toggle,
form.checkout.woocommerce-checkout > .checkout_coupon {
  clear: both;
  width: 100%;
  float: none;
  margin-bottom: 20px;
}
/* Left column: billing/shipping form */
#customer_details {
  float: left;
  width: calc(100% - 412px); /* 380px right col + 32px gap */
  min-width: 0;
}
/* Right column top: order review heading (card cap) */
h3#order_review_heading {
  float: right;
  width: 380px;
  min-width: 0;
  background: var(--smoke);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 20px 24px 16px;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
/* Right column body: order review (stacks below heading automatically) */
#order_review {
  float: right;
  width: 380px;
  min-width: 0;
  background: var(--smoke);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  padding: 10px 24px 24px;
}
/* Order items table */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin-bottom: 0;
}
.woocommerce-checkout-review-order-table thead th {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  padding: 14px 0 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.woocommerce-checkout-review-order-table thead th.product-total { text-align: right; }
.woocommerce-checkout-review-order-table tbody td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: .875rem;
}
.woocommerce-checkout-review-order-table .product-name { font-weight: 500; min-width: 0; word-break: break-word; }
.woocommerce-checkout-review-order-table .product-total { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 14px; }
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.woocommerce-checkout-review-order-table tfoot td { text-align: right; font-weight: 600; }
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: none;
  padding-top: 12px;
}
/* Payment section divider */
#payment {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
/* Submit button — WooCommerce generates <button class="button alt" id="place_order"> */
#place_order {
  width: 100%;
  padding: 15px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  margin-top: 12px;
  letter-spacing: .01em;
  display: block;
  text-align: center;
  line-height: 1.4;
}
#place_order:hover { background: var(--brand-dark); }
#place_order:active { transform: scale(.98); }
/* Responsive: single column on tablet/mobile */
@media (max-width: 1024px) {
  #customer_details {
    float: none;
    width: 100%;
  }
  h3#order_review_heading {
    float: none;
    width: 100%;
    margin-top: 32px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    border-bottom: none;
  }
  #order_review {
    float: none;
    width: 100%;
    border-radius: 0 0 var(--r-xl) var(--r-xl);
  }
}

/* WooCommerce generates <p class="form-row"> — reset paragraph spacing */
p.form-row {
  margin: 0 0 14px;
  padding: 0;
}
/* WooCommerce wraps every input in a span — must be block so width:100% works */
.woocommerce-input-wrapper {
  display: block;
}

/* ── BILLING / SHIPPING SECTION HEADINGS ─────────────────── */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
/* Stack WC's col-1/col-2 vertically inside #customer_details */
#customer_details.col2-set > .col-1,
#customer_details.col2-set > .col-2 { float: none; width: 100% !important; padding: 0; box-sizing: border-box; }
#customer_details.col2-set > .col-2 { margin-top: 24px; }

/* ── COUPON FORM IN CHECKOUT ──────────────────────────────── */
.woocommerce-form-coupon-toggle { margin-bottom: 20px; }
.woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 0; }
.checkout_coupon.woocommerce-form-coupon {
  background: var(--smoke);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  margin-bottom: 24px;
}
.checkout_coupon p { font-size: .875rem; margin-bottom: 12px; }
.checkout_coupon .form-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.checkout_coupon .form-row input[type=text] {
  flex: 1;
  margin: 0;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: .875rem;
  color: var(--text);
  outline: none;
  transition: border-color .15s;
}
.checkout_coupon .form-row input[type=text]:focus { border-color: var(--ink); }
.checkout_coupon .button {
  flex-shrink: 0;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.checkout_coupon .button:hover { background: var(--brand); }

/* ── TERMS NOTICE ─────────────────────────────────────────── */
/* Checkbox is suppressed via woocommerce_checkout_show_terms filter.
   Our custom notice text is injected via woocommerce_review_order_before_submit. */
.ncn-terms-notice {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.ncn-terms-notice a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Fallback: hide WC checkbox row if filter is not applied */
.form-row.terms.wc-terms-and-conditions { display: none !important; }

/* ── PLACE ORDER ROW ──────────────────────────────────────── */
.form-row.place-order { margin: 0; padding: 0; }
/* Two-column billing fields (First/Last Name, City/Postcode) */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
}
p.form-row-wide { grid-column: 1 / -1; }
/* Validation states */
.woocommerce-invalid .form-row input,
.woocommerce-invalid .form-row select,
.woocommerce-invalid .form-row textarea { border-color: var(--error-txt); }
.woocommerce-validated .form-row input,
.woocommerce-validated .form-row select { border-color: var(--success-txt); }
/* Required star */
abbr.required { color: var(--brand); text-decoration: none; margin-left: 2px; }
/* Checkout notices */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
  list-style: none;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: .875rem;
  margin-bottom: 18px;
}
.woocommerce-checkout .woocommerce-error { background: var(--error-bg); color: var(--error-txt); border-left: 3px solid var(--error-txt); }
.woocommerce-checkout .woocommerce-message { background: var(--success-bg); color: var(--success-txt); border-left: 3px solid var(--success-txt); }
.woocommerce-checkout .woocommerce-info { background: var(--info-bg); color: var(--info-txt); border-left: 3px solid var(--info-txt); }
.woocommerce-checkout .woocommerce-error li,
.woocommerce-checkout .woocommerce-message li,
.woocommerce-checkout .woocommerce-info li { margin: 0; padding: 2px 0; }
/* Privacy policy text */
.woocommerce-privacy-policy-text { font-size: .78rem; color: var(--muted); margin: 10px 0; line-height: 1.6; }
/* Payment method radio */
#payment .payment_methods input[type=radio] { margin-right: 8px; accent-color: var(--brand); }
/* Shipping method */
.woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.woocommerce-shipping-methods li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .875rem; }
.woocommerce-shipping-methods li label { cursor: pointer; flex: 1; }
.woocommerce-shipping-methods input[type=radio] { flex-shrink: 0; accent-color: var(--brand); cursor: pointer; }
/* Checkout section sticky offset on mobile */
@media (max-width: 1024px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}

/* Thank you */
.thankyou-wrap { padding: 56px 0 80px; max-width: 660px; margin: 0 auto; text-align: center; }
.thankyou-icon {
  width: 72px; height: 72px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--success-txt);
}
.thankyou-wrap h1 { font-size: 1.7rem; margin-bottom: 10px; }
.thankyou-wrap > p { color: var(--muted); margin-bottom: 28px; }
.order-details-box {
  background: var(--smoke);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  text-align: left;
  margin-bottom: 28px;
}
.order-details-box h3 { font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.order-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.order-detail-row:last-child { border-bottom: none; }
.order-detail-label { color: var(--muted); }
.order-detail-value { font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 48px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
/* Logo */
.footer-brand .footer-logo {
  display: block;
  max-width: 160px;
  width: auto;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.footer-logo-text {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer-logo-text span { color: var(--brand); }
/* Business info */
.footer-biz-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-biz-info li {
  font-size: .79rem;
  color: rgba(255,255,255,.62);
  line-height: 1.4;
}
.footer-biz-info li span {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 1px;
}
/* Column headings */
.footer-col h4 {
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}
/* Contact list */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li a,
.footer-contact-list li > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  font-weight: 600;
  transition: color .15s;
  text-decoration: none;
}
.footer-contact-list li a:hover { color: var(--brand); }
.footer-contact-list li svg { flex-shrink: 0; color: var(--brand); }
/* Info links */
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  transition: color .15s;
}
.footer-col ul li a:hover { color: var(--white); }
/* Disclaimer strip */
.footer-disclaimer {
  background: rgba(0,0,0,.28);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}
.footer-disclaimer p {
  font-size: .74rem;
  color: rgba(255,255,255,.3);
  text-align: center;
  line-height: 1.8;
  margin: 0 0 4px;
}
.footer-copyright {
  color: rgba(255,255,255,.42) !important;
  margin-top: 10px !important;
}
.footer-copyright a { color: var(--brand); transition: color .15s; }
.footer-copyright a:hover { color: #fff; }

/* ============================================================
   PAGE
   ============================================================ */
.page-wrap { padding: 32px 0 64px; max-width: 820px; }
.ncn-contact-content {
  margin-bottom: 28px;
}
.ncn-contact-content ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ncn-contact-content li {
  color: var(--text);
  font-weight: 600;
}
.ncn-contact-form {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--smoke);
}
.ncn-contact-form h2 {
  font-size: 1.2rem;
  margin: 0 0 18px;
}
.ncn-contact-form .form-row textarea {
  min-height: 150px;
}
.ncn-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ncn-contact-notice {
  margin-bottom: 16px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 600;
}
.ncn-contact-notice.is-success {
  color: var(--success-txt);
  background: var(--success-bg);
}
.ncn-contact-notice.is-error {
  color: var(--error-txt);
  background: var(--error-bg);
}

/* ============================================================
   FOCUS & A11Y
   ============================================================ */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-review { position: static; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --header-top-h: 56px; --header-cat-h: 40px; --header-h: 96px; }
  .header-search    { display: none; }
  .header-phone     { display: none; }
  .header-phone-nav { display: none; }
  .menu-toggle      { display: flex; }
  .footer-grid   { grid-template-columns: 1fr; gap: 20px; }
  .trust-bar-inner { gap: 14px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-single { grid-template-columns: 1fr; gap: 20px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .promo-banner-inner { flex-direction: column; text-align: center; }
  .product-trust { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .slider-btn { width: 36px; height: 36px; }
  .cats-scroll { scrollbar-width: none; padding-bottom: 4px; }
  .cats-scroll::-webkit-scrollbar { display: none; }
  .ncn-social-proof--hp { padding: 32px 0 28px; }
  .ncn-social-proof--hp .ncn-reviews-carousel { padding: 4px 16px 12px; }
}
/* Mobile page content spacing (not homepage) */
@media (max-width: 767px) {
  body.single-product main .wrap,
  body.tax-product_cat main .wrap,
  body.post-type-archive-product main .wrap,
  body.woocommerce-cart main .wrap,
  body.woocommerce-checkout main .wrap,
  body.woocommerce-order-received main .wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/* Mobile homepage content spacing */
@media (max-width: 767px) {
  body.page:not(.home) main > .page-wrap,
  body.home main > .hp-seo-heading > .wrap,
  body.home main > section:not(.hero-slider):not(.ncn-social-proof) > .wrap,
  .site-footer > .wrap,
  .site-footer .footer-disclaimer > .wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ============================================================
   CHECKOUT LOADING OVERLAY
   ============================================================ */
.ncn-checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(255,255,255,.96);
  display: none;
  align-items: center;
  justify-content: center;
}
.ncn-checkout-overlay.is-active {
  display: flex;
}
.ncn-checkout-overlay__inner {
  text-align: center;
  padding: 40px 24px;
  max-width: 360px;
  width: 100%;
}
.ncn-overlay-logo {
  max-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto 28px;
}
.ncn-overlay-brand {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
}
.ncn-overlay-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.ncn-overlay-sub {
  font-size: .875rem;
  color: var(--muted);
  margin: 0 0 32px;
}
.ncn-overlay-progress {
  width: 220px;
  max-width: 100%;
  height: 4px;
  background: var(--smoke-dark);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}
.ncn-overlay-bar {
  height: 100%;
  width: 35%;
  background: #FF3B00;
  border-radius: 4px;
  animation: ncn-bar-slide 1.5s ease-in-out infinite;
}
@keyframes ncn-bar-slide {
  0%   { transform: translateX(-180%); }
  100% { transform: translateX(390%); }
}

/* ============================================================
   MINI KORPA — slide-in panel
   ============================================================ */
.mini-cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 300;
  cursor: pointer;
}
.mini-cart-overlay.open { display: block; }

.mini-cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 95vw;
  height: 100vh;
  background: var(--white);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
}
.mini-cart-panel.open { transform: translateX(0); }

.mini-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mini-cart-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-cart-header h3 svg { color: var(--brand); }
.mini-cart-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.mini-cart-close:hover { background: var(--error-bg); color: var(--error-txt); }

#mini-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.mini-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--muted);
  font-size: .875rem;
  text-align: center;
}
.mini-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mini-cart-item:last-child { border-bottom: none; }
.mini-cart-img {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--smoke);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-cart-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.mini-cart-info { flex: 1; min-width: 0; }
.mini-cart-name {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .15s;
}
.mini-cart-name:hover { color: var(--brand); }
.mini-cart-meta { display: flex; align-items: center; gap: 8px; }
.mini-cart-qty { font-size: .75rem; color: var(--muted); }
.mini-cart-price { font-size: .875rem; font-weight: 700; color: var(--ink); }
.mini-cart-remove {
  color: var(--muted);
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s, color .15s;
  flex-shrink: 0;
  text-decoration: none;
}
.mini-cart-remove:hover { background: var(--error-bg); color: var(--error-txt); }

.mini-cart-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--smoke);
}
.mini-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mini-cart-total span:first-child { font-size: .875rem; color: var(--muted); }
.mini-cart-total strong { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.mini-cart-footer .btn { margin-bottom: 8px; border-radius: var(--r-md); }
.mini-cart-continue {
  display: block;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 8px;
  transition: color .15s;
}
.mini-cart-continue:hover { color: var(--brand); }

/* ============================================================
   AJAX SEARCH DROPDOWN
   ============================================================ */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hover);
  z-index: 200;
  overflow: hidden;
  display: none;
}
.search-dropdown.open { display: block; }
.mobile-search-dropdown {
  position: fixed;
  right: auto;
  max-height: min(60vh, 360px);
  overflow-y: auto;
  z-index: 260;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  transition: background .12s;
  border-bottom: 1px solid var(--border);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--smoke); }
.search-result-img {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--smoke);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-result-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.search-result-name { font-size: .85rem; font-weight: 500; flex: 1; line-height: 1.3; }
.search-result-price { font-size: .85rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.search-result-badge {
  font-size: .65rem;
  background: var(--brand);
  color: var(--white);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
}
.search-all-link {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--smoke);
  transition: background .12s;
}
.search-all-link:hover { background: var(--smoke-dark); color: var(--brand-dark); }
.search-loading {
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
}

/* ============================================================
   SINGLE PRODUCT — VARIATION ATTRIBUTE TABLE (native selects)
   ============================================================ */
.variations_form .variations { width: 100%; }
.variations_form .variations tr {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.variations_form .variations td,
.variations_form .variations th { padding: 0; }
.variations_form .variations .label label {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}
.variations_form .variations .value select {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: .875rem;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  min-height: 40px;
  -webkit-appearance: auto;
  appearance: auto;
}
.variations_form .variations .value select:focus {
  outline: none;
  border-color: var(--ink);
}

/* ============================================================
   SHOP EMPTY STATE
   ============================================================ */
.shop-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}
.shop-empty-icon { margin-bottom: 16px; color: var(--border); display: flex; justify-content: center; }
.shop-empty p { font-size: 1rem; margin-bottom: 20px; }
.shop-cat-desc { font-size: .9rem; color: var(--muted); margin-bottom: 20px; line-height: 1.7; }

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */
.search-results-header {
  margin-bottom: 24px;
}
.search-results-header h1 { font-size: 1.4rem; }
.search-results-header p { color: var(--muted); font-size: .875rem; margin-top: 4px; }

/* ============================================================
   SINGLE PRODUCT — VARIABLE PRODUCT ENHANCEMENTS
   ============================================================ */
/* WC price HTML inside #ncn-price-display (get_price_html / found_variation.price_html).
   WC order in HTML: <del>[regular]</del><ins>[sale]</ins>
   We use order:-1 on ins to show current price first, matching simple product layout. */
#ncn-price-display .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
/* Current (sale) price — show first, large black */
#ncn-price-display .price ins {
  order: -1;
  text-decoration: none;
}
#ncn-price-display .price ins .woocommerce-Price-amount,
#ncn-price-display .price > .woocommerce-Price-amount {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
}
/* Regular (old) price — smaller, grey, crossed out */
#ncn-price-display .price del {
  text-decoration: line-through;
}
#ncn-price-display .price del .woocommerce-Price-amount {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
}
/* Hide WC's duplicate variation price panel — we update #ncn-price-display via JS */
.single_variation_wrap .woocommerce-variation-price { display: none; }

/* Unavailable combination notice */
.ncn-unavail-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--error-bg);
  color: var(--error-txt);
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Hide WC reset-variations link — we never want users clearing into a price-range state */
.reset_variations { display: none !important; }

/* ============================================================
   SINGLE PRODUCT — INLINE RATING (replaces stock badge)
   ============================================================ */
.ncn-inline-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;
}
.ncn-inline-stars {
  color: var(--brand);
  font-size: .95rem;
  letter-spacing: 1px;
  line-height: 1;
}
.ncn-inline-score {
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
}
.ncn-inline-count {
  font-size: .8rem;
  color: var(--muted);
}

/* ============================================================
   SINGLE PRODUCT — URGENCY BAR
   ============================================================ */
.ncn-urgency-bar {
  margin: 10px 0;
}
.ncn-urgency-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.ncn-urgency-text strong { color: var(--brand); }
.ncn-urgency-track {
  width: 100%;
  height: 7px;
  background: var(--smoke);
  border-radius: 4px;
  overflow: hidden;
}
.ncn-urgency-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 4px;
}

/* ============================================================
   SINGLE PRODUCT — SOCIAL PROOF (reviews carousel)
   ============================================================ */
.ncn-social-proof {
  background: var(--smoke);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  margin-bottom: 48px;
  overflow: hidden;
}
.ncn-reviews-heading {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
/* Carousel viewport — clips the scrolling track */
.ncn-reviews-carousel {
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  margin: 0 -28px; /* bleed to edge of .ncn-social-proof padding */
  padding: 4px 28px 12px;
}
.ncn-reviews-carousel:active { cursor: grabbing; }
/* Scrolling track — JS applies translateX */
.ncn-reviews-track {
  display: flex;
  gap: 16px;
  will-change: transform;
}
.ncn-review-card {
  width: 280px;
  min-width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.ncn-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.ncn-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ncn-review-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.ncn-review-stars { color: var(--brand); font-size: .85rem; }
.ncn-review-text {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* Homepage social proof — full-width variant */
.ncn-social-proof--hp {
  border-radius: 0;
  margin: 0;
  padding: 48px 0 40px;
}
.ncn-social-proof--hp .ncn-reviews-heading {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  padding: 0 20px;
}
.ncn-social-proof--hp .ncn-reviews-carousel {
  margin: 0;
  padding: 4px 20px 12px;
}

/* ============================================================
   SINGLE PRODUCT — FAQ ACCORDION
   ============================================================ */
.ncn-faq-section {
  margin-bottom: 48px;
}
.ncn-faq-section h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.ncn-faq-list {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ncn-faq-item { border-bottom: 1px solid var(--border); }
.ncn-faq-item:last-child { border-bottom: none; }
.ncn-faq-q {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 16px 20px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .15s;
}
.ncn-faq-q:hover { background: var(--smoke); }
.ncn-faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s;
}
.ncn-faq-q[aria-expanded="true"] { background: var(--smoke); }
.ncn-faq-q[aria-expanded="true"]::after { content: '\2212'; }
.ncn-faq-a {
  padding: 4px 20px 18px;
  font-size: .9rem;
  color: var(--text);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .ncn-review-card { width: 240px; min-width: 240px; }
  .ncn-social-proof { padding: 24px 16px 20px; }
  .ncn-reviews-carousel { margin: 0 -16px; padding: 4px 16px 12px; }
  .ncn-social-proof--hp .ncn-reviews-carousel { margin: 0; padding: 4px 12px 12px; }
}
