/* ==========================================================================
   WOOD-MARKOV DOO KIKINDA — Design System & Complete Stylesheet
   Prilagođeno prema postojećoj WordPress WoodMart temi (woodmarkov.rs)
   i standardu čiste kodne arhitekture (kancelarijagalic.rs)
   ========================================================================== */

:root {
  /* Wood-Markov Brand Palette */
  --wm-green: #409715;
  --wm-green-bright: #55a61e;
  --wm-green-dark: #2c6d0d;
  --wm-green-tint: rgba(64, 151, 21, 0.1);
  --wm-forest-overlay: rgba(3, 17, 4, 0.58);
  --wm-wirex-orange: #ff6600;

  /* Surfaces & Backgrounds */
  --wm-bg: #ffffff;
  --wm-bg-subtle: #f7f8f6;
  --wm-bg-card: #ffffff;
  --wm-dark: #161816;
  --wm-dark-elevated: #212421;
  --wm-charcoal: #2a2d2a;

  /* Text */
  --wm-text: #222622;
  --wm-text-muted: #5a625a;
  --wm-text-subtitle: #989898;
  --wm-text-white: #ffffff;
  --wm-text-light: #d9dfd9;

  /* Borders & Shadows */
  --wm-border: #e8e8e8;
  --wm-border-strong: #d4dad4;
  --wm-shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.05);
  --wm-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.07);
  --wm-shadow-md: 0 10px 24px rgba(0, 0, 0, 0.102);
  --wm-shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.16);

  /* Fonts & Radii */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-xs: 4px;
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Layout Metrics */
  --container-max: 1280px;
  --topbar-height: 40px;
  --header-height: 80px;
  --whatsapp: #25d366;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--wm-text);
  background-color: var(--wm-bg);
  line-height: 1.65;
  overflow-x: clip;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

:where(a, code) {
  overflow-wrap: anywhere;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.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;
}

.text-center { text-align: center; }
.text-green { color: var(--wm-green) !important; }
.text-white { color: var(--wm-text-white) !important; }
.text-muted { color: var(--wm-text-muted) !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-sm { padding: 8px 16px; font-size: 0.84rem; }
.btn-lg { padding: 14px 30px; font-size: 0.98rem; }
.btn-block { width: 100%; }

.btn-primary {
  background-color: var(--wm-green);
  color: #ffffff;
  border-color: var(--wm-green);
}
.btn-primary:hover {
  background-color: var(--wm-green-dark);
  border-color: var(--wm-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(64, 151, 21, 0.28);
}

.btn-dark {
  background-color: var(--wm-dark);
  color: #ffffff;
  border-color: var(--wm-dark);
}
.btn-dark:hover {
  background-color: var(--wm-green);
  border-color: var(--wm-green);
}

.btn-outline {
  background-color: transparent;
  color: var(--wm-text);
  border-color: var(--wm-border-strong);
}
.btn-outline:hover {
  border-color: var(--wm-green);
  color: var(--wm-green);
  background-color: var(--wm-green-tint);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--wm-dark);
  border-color: #ffffff;
}

/* ==========================================================================
   TOP BAR (WoodMart + Galić utility pattern)
   ========================================================================== */
.top-bar {
  background-color: var(--wm-dark);
  color: var(--wm-text-light);
  font-size: 0.79rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 120;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--topbar-height);
  gap: 16px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wm-text-light);
}

.topbar-item i {
  color: var(--wm-green-bright);
  font-size: 0.82rem;
}

.topbar-item:hover {
  color: #ffffff;
}

.topbar-phone {
  color: #ffffff;
  font-weight: 700;
}

.topbar-sep {
  opacity: 0.25;
}

.topbar-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wm-text-light);
  background: none;
  border: none;
  font-size: 0.79rem;
  cursor: pointer;
  padding: 2px 4px;
}

.topbar-action-link:hover {
  color: var(--wm-green-bright);
}

.topbar-badge {
  background: rgba(85, 166, 30, 0.16);
  color: #b5ef87;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xs);
  padding: 2px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d9dfd9;
  border-radius: 2px;
  min-height: 24px;
}

.lang-switch a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch a.active,
.lang-switch a[aria-current="page"] {
  background: var(--wm-green);
  color: #ffffff;
}

.mobile-lang-row {
  display: flex;
  gap: 6px;
}

.mobile-lang-row a {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border: 1px solid var(--wm-border-strong);
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wm-text);
  background: #ffffff;
}

.mobile-lang-row a.active {
  background: var(--wm-green);
  border-color: var(--wm-green);
  color: #ffffff;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (Matching WordPress WoodMart Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background-color: #ffffff;
  border-bottom: 1px solid var(--wm-border);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--wm-dark);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--wm-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wm-text);
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--wm-green);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 4px;
  height: 2px;
  background-color: var(--wm-green);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-top: 2px solid var(--wm-green);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--wm-shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 200;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--wm-text);
}

.nav-dropdown a:hover {
  background-color: var(--wm-bg-subtle);
  color: var(--wm-green);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--wm-border);
  margin: 6px 0;
}

/* Header Action Controls (Search, Wishlist, Cart, Account) */
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-tool-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  color: var(--wm-text);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.icon-tool-btn:hover {
  border-color: var(--wm-green);
  color: var(--wm-green);
  background-color: var(--wm-green-tint);
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  background-color: var(--wm-green);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.cart-total-chip {
  font-size: 0.79rem;
  color: var(--wm-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  color: var(--wm-text);
  font-size: 1.15rem;
  cursor: pointer;
}

/* ==========================================================================
   HOMEPAGE HERO SLIDER (WordPress home-motorcycle #35690 fidelity)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-color: #111b11;
  overflow: hidden;
  color: #ffffff;
}

.hero-slides {
  position: relative;
  min-height: 600px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  align-items: center;
  padding: 70px 0 155px;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 22, 11, 0.86) 0%, rgba(13, 28, 14, 0.65) 52%, rgba(13, 28, 14, 0.25) 100%);
  z-index: 1;
}

.hero-slide-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b9f38b;
  background: rgba(64, 151, 21, 0.25);
  border: 1px solid rgba(135, 224, 72, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 18px;
}

.hero-heading {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-heading span {
  color: #8ce44f;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: #e4ede4;
  max-width: 600px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badge-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-25-badge {
  max-width: 310px;
  width: 100%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.hero-slider-controls {
  position: absolute;
  bottom: 112px;
  right: 32px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--wm-green-bright);
}

.hero-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: var(--wm-green);
  border-color: var(--wm-green);
}

/* ==========================================================================
   OVERLAPPING FLOATING BENTO CARD (#8659051 & #a58744e in post-35690.css)
   ========================================================================== */
.floating-catalog-section {
  position: relative;
  z-index: 3;
}

.floating-white-card {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.102);
  margin-top: -90px;
  margin-bottom: 60px;
  padding: 24px 25px 38px;
}

.floating-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wm-border);
}

.floating-card-intro {
  max-width: 480px;
}

.floating-card-intro span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wm-green);
  margin-bottom: 4px;
}

.floating-card-intro h2 {
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--wm-dark);
}

/* Asymmetric 25% | 42% | 33% Bento Grid matching Elementor post-35690 */
.bento-promo-grid {
  display: grid;
  grid-template-columns: 25fr 42fr 33fr;
  gap: 20px;
}

.bento-col-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-banner-card {
  position: relative;
  display: block;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: radial-gradient(circle at 55% 45%, #5e6265 0%, #2c2e30 68%, #1e2022 100%);
  color: #ffffff;
  height: 275px;
}

.promo-banner-card.tall {
  height: 570px;
  background: radial-gradient(circle at 50% 48%, #4b5053 0%, #232628 70%, #151718 100%);
}

.promo-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-banner-card.contain-center img {
  object-fit: contain;
  padding: 36px 20px 96px;
}

.promo-banner-card:hover img {
  transform: scale(1.06);
}

.promo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 12, 0.06) 15%, rgba(10, 14, 10, 0.72) 56%, rgba(8, 12, 8, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.promo-cat-count {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8ee84c;
  margin-bottom: 4px;
}

.promo-banner-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: #ffffff;
}

.promo-banner-card.tall .promo-banner-title {
  font-size: 24px;
}

.promo-banner-sub {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
}

.promo-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
  border-bottom: 1.5px solid var(--wm-green-bright);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ==========================================================================
   PARTNER BRANDS STRIP (#a078e50: border-bottom 1px #E8E8E8, mb: 80px)
   ========================================================================== */
.partners-strip-section {
  padding-bottom: 24px;
  margin-bottom: 72px;
  border-bottom: 1px solid #e8e8e8;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 16px;
}

.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  min-height: 76px;
  transition: all 0.25s ease;
}

.partner-tile:hover {
  border-color: var(--wm-border);
  background: var(--wm-bg-subtle);
  transform: translateY(-2px);
}

.partner-tile img {
  max-height: 36px;
  max-width: 135px;
  width: auto;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter 0.25s ease;
}

.partner-tile:hover img {
  filter: grayscale(0%);
}

.partner-text-badge {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--wm-dark);
  padding: 6px 10px;
  border: 1.5px solid #eb6b11;
  border-radius: var(--radius-xs);
}

.partner-sub-label {
  font-size: 0.7rem;
  color: var(--wm-text-muted);
  margin-top: 5px;
  font-weight: 600;
}

/* ==========================================================================
   WOODMART SECTION TITLES (#a8bfe4f / #2c5a0aa / #01f3fc8)
   ========================================================================== */
.wm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.wm-section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wm-subtitle {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wm-text-subtitle);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
}

.wm-title {
  font-size: 34px;
  font-weight: 500;
  color: var(--wm-dark);
  line-height: 1.25;
}

/* Category Tabs */
.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  padding: 9px 16px;
  background: var(--wm-bg-subtle);
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--wm-text);
  cursor: pointer;
}

.tab-btn:hover {
  border-color: var(--wm-green);
  color: var(--wm-green);
}

.tab-btn.active {
  background: var(--wm-green);
  color: #ffffff;
  border-color: var(--wm-green);
}

/* ==========================================================================
   PRODUCT CARDS GRID (WooCommerce / WoodMart Loop Style)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.products-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wm-shadow-md);
  border-color: rgba(64, 151, 21, 0.35);
}

.product-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f9faf9;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.product-thumb-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 2;
}

.prod-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--wm-dark);
  color: #ffffff;
  text-transform: uppercase;
}

.prod-badge.brand-wirex { background: #e85c00; }
.prod-badge.brand-goma { background: #1e2a38; }
.prod-badge.brand-remet { background: #b81d22; }
.prod-badge.brand-womax { background: #b51f24; }
.prod-badge.brand-wood-mizer { background: #266010; }

.product-quick-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.qa-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--wm-border);
  color: var(--wm-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--wm-shadow-xs);
}

.qa-btn:hover,
.qa-btn.wishlisted {
  color: #e02424;
  border-color: #e02424;
}

.qa-btn.quick-view-btn:hover {
  color: var(--wm-green);
  border-color: var(--wm-green);
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--wm-green);
  margin-bottom: 4px;
}

.product-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--wm-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  cursor: pointer;
}

.product-title:hover {
  color: var(--wm-green);
}

.product-excerpt {
  font-size: 0.82rem;
  color: var(--wm-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.product-footer {
  padding-top: 12px;
  border-top: 1px solid var(--wm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-price {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--wm-dark);
}

.product-price.on-request {
  font-size: 0.84rem;
  color: var(--wm-green-dark);
  font-weight: 700;
}

/* ==========================================================================
   DARK ATMOSPHERIC TEAM & SERVICE SECTION (#948a531 + #c91aa17)
   ========================================================================== */
.dark-atmosphere-section {
  position: relative;
  background-color: #161816;
  background-image: url('assets/site/section-dark-bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  padding: 80px 0;
  margin-top: 76px;
  overflow: hidden;
}

.dark-atmosphere-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 18, 16, 0.72) 0%, rgba(16, 18, 16, 0.88) 100%);
  pointer-events: none;
}

.dark-atmosphere-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 40px;
  align-items: center;
}

.dark-highlight-box h2 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.22;
  margin-bottom: 16px;
}

.dark-highlight-box p {
  color: var(--wm-text-light);
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.service-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-pill-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
}

.service-pill-card i {
  font-size: 1.5rem;
  color: #8ee84c;
  margin-bottom: 12px;
}

.service-pill-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-pill-card p {
  font-size: 0.85rem;
  color: #d0d7d0;
  line-height: 1.5;
}

/* Overlapping Team & Service Row (#c91aa17 margin-top: -80px) */
.team-overlap-section {
  position: relative;
  z-index: 3;
  margin-top: -80px;
  margin-bottom: 80px;
}

.team-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-profile-card {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--wm-border);
  box-shadow: var(--wm-shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 145px 1fr;
  align-items: center;
}

.team-photo-col {
  height: 225px;
  background: #f4f6f4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.team-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-info-col {
  padding: 18px 20px;
}

.team-dept-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wm-green);
}

.team-info-col h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wm-dark);
  margin: 4px 0 6px;
}

.team-info-col p {
  font-size: 0.84rem;
  color: var(--wm-text-muted);
  margin-bottom: 10px;
  line-height: 1.45;
}

.team-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--wm-green-dark);
}

.team-phone-link:hover {
  color: var(--wm-green);
}

/* ==========================================================================
   GREEN WAVE SECTION (#4d5c1a2 with 20772945.jpg & #03110494 overlay)
   ========================================================================== */
.green-wave-section {
  background-color: #ffffff;
  background-image: url('assets/site/section-waves-bg.jpg');
  background-position: top center;
  background-size: cover;
  padding: 50px 0 70px;
  margin-bottom: 70px;
}

.tradition-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 24px;
}

.forest-callout-box {
  background-color: rgba(3, 17, 4, 0.58);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 36px 34px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--wm-green-bright);
  box-shadow: var(--wm-shadow-lg);
}

.forest-callout-title {
  font-size: clamp(2rem, 3.6vw, 50px);
  line-height: 1.18;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
}

.forest-callout-text {
  font-size: 0.98rem;
  color: #ecf3ec;
  line-height: 1.65;
  margin-bottom: 24px;
}

.hq-photo-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--wm-shadow-md);
  border: 1px solid var(--wm-border);
}

.hq-photo-card img {
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.hq-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(16, 22, 16, 0.92) 0%, transparent 100%);
  color: #ffffff;
  padding: 28px 22px 18px;
}

.hq-photo-caption strong {
  display: block;
  font-size: 1.05rem;
}

.hq-photo-caption span {
  font-size: 0.84rem;
  color: #b9f38b;
}

/* ==========================================================================
   BLOG / VESTI CARDS (#590057d)
   ========================================================================== */
.vesti-section {
  margin-bottom: 80px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.posts-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.post-card {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wm-shadow-md);
}

.post-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f0f2f0;
}

.post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.05);
}

.post-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(22, 24, 22, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 700;
}

.post-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-cat {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wm-green);
  margin-bottom: 6px;
}

.post-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wm-dark);
  line-height: 1.38;
  margin-bottom: 10px;
}

.post-excerpt {
  font-size: 0.85rem;
  color: var(--wm-text-muted);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 14px;
}

.post-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--wm-green);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.post-read-btn:hover {
  color: var(--wm-green-dark);
}

/* ==========================================================================
   PAGE HERO HEADER FOR SUBPAGES
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(125deg, #0d160e 0%, #19291a 55%, #111912 100%);
  color: #ffffff;
  padding: 48px 0;
  border-bottom: 3px solid var(--wm-green);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #b7c4b7;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.page-breadcrumb a:hover {
  color: #8ee84c;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 1rem;
  color: #d7e2d7;
  max-width: 720px;
}

/* ==========================================================================
   SHOP PAGE SIDEBAR + CATALOG LAYOUT
   ========================================================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  padding: 44px 0 80px;
  align-items: start;
}

.shop-sidebar {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wm-border);
}

.sidebar-widget:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-widget-title {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wm-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 390px;
  overflow-y: auto;
  padding-right: 4px;
}

.cat-filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  background: transparent;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  color: var(--wm-text);
  cursor: pointer;
}

.cat-filter-btn.child {
  padding-left: 22px;
  font-size: 0.82rem;
  color: var(--wm-text-muted);
}

.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: var(--wm-green-tint);
  color: var(--wm-green-dark);
  font-weight: 700;
}

.cat-count-pill {
  font-size: 0.72rem;
  background: var(--wm-bg-subtle);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  color: var(--wm-text-muted);
}

.brand-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.brand-chip-btn {
  padding: 6px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--wm-bg-subtle);
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.brand-chip-btn.active,
.brand-chip-btn:hover {
  background: var(--wm-green);
  color: #ffffff;
  border-color: var(--wm-green);
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--wm-bg-subtle);
  border: 1px solid var(--wm-border);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.shop-search-box {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.shop-search-box input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1px solid var(--wm-border-strong);
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  background: #ffffff;
}

.shop-search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wm-text-muted);
}

.shop-select {
  padding: 9px 12px;
  border: 1px solid var(--wm-border-strong);
  border-radius: var(--radius-xs);
  font-size: 0.86rem;
  background: #ffffff;
}

.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--wm-border-strong);
  background: #ffffff;
  border-radius: var(--radius-xs);
  font-weight: 600;
  cursor: pointer;
}

.page-btn.active,
.page-btn:hover {
  background: var(--wm-green);
  color: #ffffff;
  border-color: var(--wm-green);
}

/* ==========================================================================
   FORMS & CONTACT GRID (Kontakt / Maloprodaja / Plaćanje)
   ========================================================================== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  padding: 50px 0 80px;
  align-items: start;
}

.card-box {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--wm-shadow-xs);
}

.wm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--wm-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--wm-border-strong);
  border-radius: var(--radius-xs);
  font-size: max(1rem, 0.94rem);
  background-color: #ffffff;
  color: var(--wm-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--wm-green);
  box-shadow: 0 0 0 3px rgba(64, 151, 21, 0.14);
}

.form-control:user-invalid {
  border-color: #dc2626;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--wm-green);
  outline-offset: 2px;
}

.mobile-nav-head,
.mobile-nav-actions,
.mobile-filters-toggle,
.nav-backdrop {
  display: none;
}

.mobile-sub-toggle {
  display: none;
}

.recent-post-mini {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--wm-border);
}

.recent-post-mini:last-child {
  border-bottom: none;
}

.recent-post-mini img {
  width: 68px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.recent-post-mini h4 {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
}

.recent-post-mini span {
  font-size: 0.74rem;
  color: var(--wm-text-subtitle);
}

.dept-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.dept-card {
  background: var(--wm-bg-subtle);
  border: 1px solid var(--wm-border);
  border-top: 3px solid var(--wm-green);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.dept-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wm-dark);
  margin-bottom: 4px;
}

.dept-sub {
  font-size: 0.82rem;
  color: var(--wm-text-muted);
  margin-bottom: 14px;
}

.dept-numbers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.dept-numbers a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--wm-dark);
  font-size: 0.94rem;
}

.dept-numbers a:hover {
  color: var(--wm-green);
}

.dept-numbers i {
  color: var(--wm-green);
}

/* ==========================================================================
   CART / CHECKOUT / TABLES
   ========================================================================== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--wm-text-muted);
  padding: 12px 10px;
  border-bottom: 2px solid var(--wm-border);
}

.cart-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--wm-border);
  vertical-align: middle;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--wm-border-strong);
  border-radius: var(--radius-xs);
}

.qty-control button {
  width: 30px;
  height: 30px;
  background: var(--wm-bg-subtle);
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.qty-control span {
  min-width: 34px;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
}

/* ==========================================================================
   FOOTER (Matches woodmarkov.rs footer.jpg + 3 departments verbatim)
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: #141714;
  background-image: url('assets/site/footer-bg.jpg');
  background-position: center center;
  background-size: cover;
  color: #e4e9e4;
  padding-top: 64px;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 19, 16, 0.88) 0%, rgba(12, 14, 12, 0.96) 100%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-logo-img {
  height: 54px;
  width: auto;
  margin-bottom: 14px;
}

.footer-company-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-former {
  font-size: 0.84rem;
  color: #9be860;
  margin-bottom: 12px;
}

.footer-meta-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.87rem;
  color: #cfd6cf;
}

.footer-meta-list i {
  color: var(--wm-green-bright);
  width: 18px;
}

.footer-dept-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-dept-role {
  font-size: 0.8rem;
  color: #a4b0a4;
  margin-bottom: 12px;
  display: block;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-phones a:hover {
  color: #9be860;
}

.footer-msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(64, 151, 21, 0.2);
  border: 1px solid rgba(85, 166, 30, 0.55);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.footer-msg-btn:hover {
  background: var(--wm-green);
  border-color: var(--wm-green);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.82rem;
  color: #b7c0b7;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a:hover {
  color: #9be860;
}

/* ==========================================================================
   MODALS, DRAWERS, SEARCH OVERLAY & WIDGETS
   ========================================================================== */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 16, 12, 0.72);
  backdrop-filter: blur(5px);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  overscroll-behavior: contain;
}

.overlay-backdrop.open {
  display: flex;
}

.modal-panel {
  background: #ffffff;
  border-radius: var(--radius-sm);
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: var(--wm-shadow-lg);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--wm-border);
  background: var(--wm-bg-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--wm-dark);
  color: #ffffff;
}

/* Cart Slide Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 10, 0.55);
  z-index: 950;
  display: none;
  justify-content: flex-end;
  overflow: hidden;
  overscroll-behavior: contain;
}

.drawer-backdrop.open {
  display: flex;
}

.drawer-panel {
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--wm-border);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}

.drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--wm-border);
  background: var(--wm-bg-subtle);
}

/* Search Modal */
.search-overlay-panel {
  background: #ffffff;
  max-width: 720px;
  width: 100%;
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--wm-shadow-lg);
  position: relative;
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  margin-top: 14px;
}

.search-hit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-bottom: 1px solid var(--wm-border);
  cursor: pointer;
}

.search-hit-item:hover {
  background: var(--wm-bg-subtle);
}

.search-hit-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
}

/* Floating WhatsApp + Scroll Top */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 400;
}

.wa-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-size: 1.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-popover {
  position: absolute;
  bottom: 68px;
  left: 0;
  width: 290px;
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--wm-shadow-lg);
  padding: 16px;
  display: none;
}

.wa-popover.open {
  display: block;
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wm-dark);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 400;
  box-shadow: var(--wm-shadow-md);
}

.scroll-top-btn.show {
  display: flex;
}

.scroll-top-btn:hover {
  background: var(--wm-green);
}

/* Toast Notifications */
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 80px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-msg {
  background: var(--wm-dark);
  color: #ffffff;
  border-left: 4px solid var(--wm-green-bright);
  padding: 12px 18px;
  border-radius: var(--radius-xs);
  box-shadow: var(--wm-shadow-md);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Product Detail Modal Layout */
.pd-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
}

.pd-main-img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: var(--wm-bg-subtle);
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  padding: 12px;
}

.pd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.pd-thumbs img {
  width: 64px;
  height: 54px;
  object-fit: contain;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  cursor: pointer;
  padding: 4px;
}

.pd-thumbs img.active {
  border-color: var(--wm-green);
}

.pd-specs-box {
  font-size: 0.88rem;
  color: var(--wm-text-muted);
  max-height: 240px;
  overflow-y: auto;
  padding: 12px 14px;
  background: var(--wm-bg-subtle);
  border-radius: var(--radius-xs);
  margin: 14px 0;
  line-height: 1.55;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .team-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 250px 1fr; }
}

@media (max-width: 900px) {
  .bento-promo-grid { grid-template-columns: 1fr; }
  .promo-banner-card, .promo-banner-card.tall { height: 260px; }
  .dark-atmosphere-inner { grid-template-columns: 1fr; }
  .service-features-row { grid-template-columns: 1fr; }
  .tradition-split { grid-template-columns: 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; padding: 28px 0 60px; gap: 20px; }
  .mobile-filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--wm-dark);
    cursor: pointer;
    min-height: 46px;
  }
  .mobile-filters-toggle i.fa-chevron-down {
    transition: transform 0.2s ease;
  }
  .mobile-filters-toggle[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
  }
  .shop-sidebar {
    position: static;
    display: none;
  }
  .shop-sidebar.open {
    display: block;
  }
  .dept-cards-grid { grid-template-columns: 1fr; }
  .hero-slider-section,
  .hero-slides { min-height: 0; }
  .hero-slide { padding: 48px 0 112px; }
  .hero-slide-container { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-25-badge { max-width: 185px; }
  .hero-slider-controls {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 72px;
  }
  .pd-modal-grid { grid-template-columns: 1fr; gap: 18px; }
  .pd-modal-grid > * { min-width: 0; }
}

@media (max-width: 1340px) and (min-width: 1181px) {
  .header-inner { gap: 10px; }
  .brand-logo-img { width: 42px; height: 42px; }
  .brand-title { font-size: 1.02rem; }
  .brand-tagline { font-size: 0.58rem; letter-spacing: 0.02em; }
  .nav-link { padding: 8px 6px; font-size: 0.82rem; }
  .icon-tool-btn { padding: 0 9px; font-size: 0.8rem; }
  .cart-total-chip { font-size: 0.76rem; }
}

@media (max-width: 1180px) {
  .mobile-menu-btn { display: inline-flex; width: 42px; height: 42px; }

  .site-header:has(.main-nav.open),
  .site-header.nav-open {
    z-index: 885;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 10, 0.55);
    backdrop-filter: blur(2px);
    z-index: 880;
    overflow: hidden;
    overscroll-behavior: contain;
  }
  .nav-backdrop.open {
    display: block;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100svh;
    background: #ffffff;
    padding: 0 0 max(20px, env(safe-area-inset-bottom));
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.22);
    z-index: 890;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--wm-border);
    background: var(--wm-bg-subtle);
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .mobile-nav-head strong {
    font-size: 0.95rem;
    color: var(--wm-dark);
  }

  .mobile-nav-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--wm-border);
    background: #ffffff;
    color: var(--wm-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 14px;
  }

  .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .nav-link {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.96rem;
    justify-content: space-between;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    background: var(--wm-green-tint);
  }

  .has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .has-dropdown > .nav-link {
    flex: 1;
  }

  .has-dropdown > .nav-link .fa-chevron-down {
    display: none;
  }

  .mobile-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--wm-text-muted);
    cursor: pointer;
  }

  .nav-dropdown {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--wm-green);
    margin: 0 0 8px 12px;
    padding: 4px 0;
  }

  .has-dropdown.sub-open .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    min-height: 40px;
    padding: 8px 14px;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
    margin-top: auto;
    border-top: 1px solid var(--wm-border);
    background: var(--wm-bg-subtle);
  }
}

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }

  .top-bar-inner {
    min-height: 38px;
    gap: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .top-bar-left,
  .top-bar-right {
    gap: 10px;
  }
  .topbar-action-link,
  .topbar-item {
    min-height: 36px;
    padding: 4px 6px;
  }

  .header-inner { height: 68px; gap: 8px; }
  .brand-link { gap: 8px; min-width: 0; }
  .brand-logo-img { width: 40px; height: 40px; }
  .brand-title { font-size: 0.98rem; }
  .brand-tagline { font-size: 0.56rem; letter-spacing: 0.02em; }
  .header-tools { gap: 6px; }
  .icon-tool-btn { height: 42px; min-width: 42px; padding: 0 10px; font-size: 0.84rem; justify-content: center; }

  .floating-white-card {
    margin-top: -54px;
    margin-bottom: 42px;
    padding: 18px 16px 24px;
  }

  .floating-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .partners-strip-section {
    margin-bottom: 46px;
  }

  .catalog-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .catalog-tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; min-height: 42px; }

  .products-grid,
  .products-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-showcase-grid { grid-template-columns: 1fr; }
  .posts-grid, .posts-grid.cols-2 { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .wm-form-grid { grid-template-columns: minmax(0, 1fr); }
  .wm-title { font-size: 24px; }
  .dark-atmosphere-section { padding: 54px 0 46px; margin-top: 48px; }
  .team-overlap-section { margin-top: 22px; margin-bottom: 48px; }
  .green-wave-section { padding: 38px 0 48px; margin-bottom: 48px; }
  .forest-callout-box { padding: 24px 20px; }
  .forest-callout-title { font-size: clamp(1.55rem, 6vw, 2.2rem); }
  .hq-photo-card img { height: 250px; }
  .page-hero { padding: 34px 0; }
  .page-section { padding: 38px 0; }
  .card-box { padding: 20px 16px; }
  .shop-toolbar { padding: 12px; gap: 10px; }
  .shop-search-box, .shop-select { width: 100%; min-width: 0; font-size: 16px; min-height: 44px; }

  /* Mobile overlays, modals & floating controls */
  .overlay-backdrop { padding: 10px; align-items: flex-end; }
  .modal-panel {
    max-height: 92dvh;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: var(--radius-md) var(--radius-md) var(--radius-xs) var(--radius-xs);
  }
  .search-overlay-panel {
    max-height: 90dvh;
    overflow-y: auto;
    padding: 18px 16px;
  }
  .modal-close {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
    z-index: 5;
  }
  .pd-main-img { height: 220px; }
  .pd-specs-box { max-height: none; overflow-y: visible; }
  .floating-whatsapp {
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
  }
  .wa-trigger { width: 50px; height: 50px; font-size: 1.45rem; }
  .wa-popover { width: min(300px, calc(100vw - 28px)); bottom: 60px; }
  .scroll-top-btn {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: 14px;
    width: 44px;
    height: 44px;
  }
  .toast-stack {
    left: 14px;
    right: 14px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    align-items: stretch;
  }
  .toast-msg { width: 100%; justify-content: flex-start; }
  .qa-btn { width: 40px; height: 40px; }
  .qty-control button { width: 38px; height: 38px; }
  .footer-phones a { min-height: 36px; display: inline-flex; align-items: center; gap: 8px; }
  .map-wrapper iframe { height: 280px; }
}

@media (max-width: 600px) {
  .cart-total-chip { display: none; }
  .btn, .btn-block {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    min-height: 44px;
  }
  .btn-lg {
    padding: 12px 18px;
  }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .team-profile-card { grid-template-columns: 106px 1fr; }
  .team-photo-col { height: 175px; }
  .team-info-col { padding: 14px; }

  /* Mobile stacked cart cards */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr {
    border: 1px solid var(--wm-border);
    border-radius: var(--radius-xs);
    padding: 12px;
    margin-bottom: 12px;
    background: var(--wm-bg-subtle);
  }
  .cart-table td {
    border: none;
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .cart-table td:first-child { display: block; padding-bottom: 10px; border-bottom: 1px solid var(--wm-border); margin-bottom: 6px; }
  .cart-table td[data-label]::before {
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--wm-text-muted);
    text-transform: uppercase;
  }
}

@media (max-width: 480px) {
  .brand-tagline { display: none; }
  .products-grid,
  .products-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .hero-heading { font-size: 1.72rem; }
  .hero-subtitle { font-size: 0.96rem; }
  .hero-badge-visual { display: none; }
  .hero-slide { padding: 36px 0 84px; }
  .hero-slider-controls { bottom: 52px; }
  .floating-white-card { margin-top: -34px; }
}

@media (pointer: coarse) {
  .cat-filter-btn,
  .brand-chip-btn,
  .page-btn,
  .wa-dept-link,
  .footer-msg-btn {
    min-height: 44px;
  }
}

/* ==========================================================================
   PROSE, MODAL RICH HTML, MAPS, CHECKOUT, ACCOUNT & DRAWER HELPERS
   ========================================================================== */
.prose {
  color: var(--wm-text);
  font-size: 0.98rem;
  line-height: 1.78;
}

.prose h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--wm-green);
  margin: 28px 0 14px;
  line-height: 1.25;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wm-dark);
  margin: 24px 0 10px;
}

.prose p {
  margin-bottom: 14px;
}

.prose ul,
.pd-specs-box ul,
.article-reader-body ul {
  list-style: disc;
  padding-left: 22px;
  margin: 10px 0 16px;
}

.prose ol,
.pd-specs-box ol,
.article-reader-body ol {
  list-style: decimal;
  padding-left: 22px;
  margin: 10px 0 16px;
}

.prose li,
.pd-specs-box li,
.article-reader-body li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--wm-green);
  font-weight: 600;
  text-decoration: underline;
}

.motto-blockquote {
  background: linear-gradient(120deg, rgba(64, 151, 21, 0.08), rgba(64, 151, 21, 0.02));
  border-left: 4px solid var(--wm-green);
  padding: 20px 24px;
  margin: 22px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--wm-dark);
  font-style: italic;
}

.pd-specs-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wm-dark);
  margin: 14px 0 8px;
}

.pd-specs-box img,
.article-reader-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xs);
  margin: 10px 0;
  background: #ffffff;
  padding: 6px;
  border: 1px solid var(--wm-border);
}

.pd-specs-box table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.84rem;
}

.pd-specs-box th,
.pd-specs-box td {
  padding: 8px 10px;
  border: 1px solid var(--wm-border-strong);
  text-align: left;
  vertical-align: top;
}

.pd-specs-box tr:nth-child(even) {
  background: #ffffff;
}

.pd-specs-box iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xs);
  margin-top: 10px;
}

/* Section generic spacing for subpages */
.page-section {
  padding: 54px 0;
}

.page-section.alt-bg {
  background: var(--wm-bg-subtle);
  border-top: 1px solid var(--wm-border);
  border-bottom: 1px solid var(--wm-border);
}

/* About page gallery strip (mirrors Elementor gallery #cccd8bc) */
.gallery-strip-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--wm-border);
  box-shadow: var(--wm-shadow-xs);
  aspect-ratio: 16 / 10;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-strip-3 .gallery-card:first-child img {
  object-position: 50% 18%;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(16, 20, 16, 0.88), transparent);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 20px 14px 10px;
}

/* Kikinda Map Wrapper matching kancelarijagalic.rs */
.map-wrapper {
  margin-top: 38px;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--wm-shadow-sm);
}

.map-header {
  background: var(--wm-dark);
  color: #ffffff;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.map-header i {
  color: var(--wm-green-bright);
}

/* Drawer items */
.drawer-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--wm-border);
}

.drawer-item:last-child {
  border-bottom: none;
}

.drawer-item-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  background: var(--wm-bg-subtle);
  padding: 4px;
  flex-shrink: 0;
}

.drawer-item-meta {
  flex: 1;
  min-width: 0;
}

.drawer-item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--wm-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}

.drawer-item-price {
  font-size: 0.8rem;
  color: var(--wm-green-dark);
  font-weight: 600;
}

.drawer-remove-btn {
  background: transparent;
  border: none;
  color: var(--wm-text-muted);
  cursor: pointer;
  padding: 6px;
}

.drawer-remove-btn:hover {
  color: #dc2626;
}

/* Active filter pills */
.active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--wm-green-tint);
  color: var(--wm-green-dark);
  border: 1px solid rgba(64, 151, 21, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.filter-pill:hover {
  background: var(--wm-green);
  color: #ffffff;
}

/* Empty states & Checkout / Account Grids */
.empty-state {
  text-align: center;
  padding: 52px 24px;
  background: var(--wm-bg-subtle);
  border: 1px dashed var(--wm-border-strong);
  border-radius: var(--radius-sm);
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--wm-text-subtitle);
  margin-bottom: 12px;
}

.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--wm-dark);
}

.empty-state p {
  font-size: 0.92rem;
  color: var(--wm-text-muted);
  margin-bottom: 18px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: start;
}

.order-summary-box {
  background: var(--wm-bg-subtle);
  border: 1px solid var(--wm-border);
  border-top: 3px solid var(--wm-green);
  border-radius: var(--radius-sm);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--wm-border);
  font-size: 0.88rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--wm-dark);
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--wm-text-muted);
  margin: 12px 0 18px;
  cursor: pointer;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: #1eb955;
  border-color: #1eb955;
  color: #ffffff;
}

.wa-popover-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.wa-dept-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--wm-bg-subtle);
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--wm-dark);
}

.wa-dept-link:hover {
  border-color: var(--wm-green);
  color: var(--wm-green-dark);
}

/* ==========================================================================
   DEDICATED PRODUCT DETAIL PAGE (SEO /proizvod/*.html)
   ========================================================================== */
.page-hero-compact {
  padding: 28px 0;
}

.page-hero-compact h1 {
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  margin-bottom: 6px;
}

.product-detail-section {
  padding: 40px 0 64px;
}

.pd-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: start;
}

.pd-gallery-card,
.pd-buy-card,
.pd-specs-card {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-sm);
  padding: 24px;
  min-width: 0;
}

.pd-page-main-img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  background: var(--wm-bg-subtle);
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  padding: 14px;
}

.pd-page-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--wm-border);
}

.pd-price-main {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--wm-green-dark);
}

.pd-short-desc {
  font-size: 0.95rem;
  color: var(--wm-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.pd-buy-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.pd-secondary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.pd-meta-note {
  background: var(--wm-bg-subtle);
  border: 1px solid var(--wm-border);
  border-radius: var(--radius-xs);
  padding: 14px 16px;
  font-size: 0.86rem;
  color: var(--wm-text-muted);
  display: grid;
  gap: 8px;
}

.pd-meta-note a {
  color: var(--wm-green-dark);
  font-weight: 700;
}

.pd-specs-card {
  margin-top: 28px;
}

.pd-specs-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wm-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--wm-border);
}

.pd-specs-card .prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xs);
}

.pd-specs-card .prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  display: block;
  overflow-x: auto;
}

.pd-specs-card .prose td,
.pd-specs-card .prose th {
  border: 1px solid var(--wm-border);
  padding: 8px 12px;
  font-size: 0.9rem;
}

.pd-specs-card .prose iframe,
.pd-specs-card .prose video,
.pd-specs-box iframe,
.article-reader-body iframe {
  max-width: 100%;
  border-radius: var(--radius-xs);
}

.pd-related-section {
  padding: 12px 0 72px;
}

@media (max-width: 900px) {
  .checkout-layout,
  .account-grid,
  .gallery-strip-3,
  .form-row,
  .pd-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .checkout-layout > *,
  .card-box,
  .prose {
    min-width: 0;
  }
  .order-summary-box {
    position: static;
  }
  .pd-page-main-img {
    height: 280px;
  }
  .pd-gallery-card,
  .pd-buy-card,
  .pd-specs-card {
    padding: 18px;
  }
  .prose iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.wm-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   STRUCTURED FOOTER DIRECTORY COLUMNS (Veleprodaja / Maloprodaja / Menadžment)
   ========================================================================== */
.site-footer .footer-inner {
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.footer-dept-col {
  display: flex;
  flex-direction: column;
}

.footer-dept-col h4 {
  font-size: 0.88rem;
  line-height: 1.38;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(64, 151, 21, 0.55);
}

.footer-dept-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-dept-group + .footer-dept-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-dept-subhead {
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--wm-green-bright);
  line-height: 1.38;
  margin-bottom: 2px;
}

.footer-contact-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-person-role {
  font-size: 0.76rem;
  color: var(--wm-text-subtitle);
  line-height: 1.3;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wm-text-white);
  line-height: 1.4;
  transition: color 0.18s ease;
  word-break: break-word;
}

.footer-contact-link:hover {
  color: var(--wm-green-bright);
}

.footer-mail-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 3px;
  font-size: 0.82rem;
  color: var(--wm-text-light);
}

.footer-mail-label {
  color: var(--wm-text-subtitle);
  font-weight: 600;
}

.footer-mail-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--wm-green-bright);
  text-decoration: underline;
  text-decoration-color: rgba(85, 166, 30, 0.45);
  text-underline-offset: 3px;
  word-break: break-word;
}

.footer-mail-link:hover {
  color: var(--wm-text-white);
  text-decoration-color: var(--wm-text-white);
}

.footer-dept-col .footer-msg-btn {
  margin-top: 14px;
  align-self: flex-start;
}

@media (min-width: 769px) {
  .site-footer .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .site-footer .footer-inner > div:first-child,
  .site-footer .footer-dept-col {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 20px 22px;
  }

  .site-footer .footer-inner > div:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 240px 1fr;
    column-gap: 28px;
    row-gap: 4px;
    align-items: center;
  }

  .site-footer .footer-inner > div:first-child .footer-logo-img,
  .site-footer .footer-inner > div:first-child .footer-company-name,
  .site-footer .footer-inner > div:first-child .footer-former {
    grid-column: 1;
  }

  .site-footer .footer-inner > div:first-child .footer-meta-list {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    margin-top: 0;
  }

  .site-footer .footer-dept-col:nth-child(2) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 20px;
    align-items: stretch;
  }

  .site-footer .footer-dept-col:nth-child(2) h4 {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }

  .site-footer .footer-dept-col:nth-child(2) .footer-dept-group + .footer-dept-group {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    padding-left: 18px;
  }

  .site-footer .footer-dept-col:nth-child(2) .footer-dept-subhead {
    min-height: 36px;
  }

  .site-footer .footer-dept-col:nth-child(2) .footer-msg-btn {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 2px;
  }

  .site-footer .footer-dept-col:nth-child(3),
  .site-footer .footer-dept-col:nth-child(4) {
    display: flex;
    flex-direction: column;
  }

  .site-footer .footer-dept-col:nth-child(3) h4,
  .site-footer .footer-dept-col:nth-child(4) h4 {
    min-height: 54px;
    display: flex;
    align-items: flex-end;
  }

  .site-footer .footer-dept-col:nth-child(3) .footer-dept-group,
  .site-footer .footer-dept-col:nth-child(4) .footer-dept-group {
    margin-bottom: 16px;
  }

  .site-footer .footer-dept-col:nth-child(3) .footer-msg-btn,
  .site-footer .footer-dept-col:nth-child(4) .footer-msg-btn {
    margin-top: auto;
  }
}

@media (min-width: 1080px) {
  .site-footer .footer-inner {
    grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }

  .site-footer .footer-inner > div:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .site-footer .footer-inner > div:first-child .footer-meta-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    width: 100%;
  }

  .site-footer .footer-dept-col:nth-child(2) {
    grid-column: 2 / span 2;
    grid-row: 1;
  }

  .site-footer .footer-dept-col:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer .footer-dept-col:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (max-width: 1480px) and (min-width: 769px) {
  .site-footer .footer-bottom-inner {
    padding-left: 88px;
    padding-right: 76px;
  }
}

@media (max-width: 768px) {
  .footer-contact-link,
  .footer-mail-link {
    min-height: 36px;
  }
  .site-footer .footer-bottom {
    padding-bottom: 84px;
  }
}


