/**
 * Theme-specific overrides on top of extracted design CSS.
 */

.parfaton-feature-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Overlays — reinforce closed state (parfaton.css also hides by default) */
#search-overlay:not(.is-open),
#mobile-nav:not(.is-open) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
#search-overlay.is-open {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#mobile-nav.is-open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Reveal animations — visible by default; JS adds .in on scroll */
.reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* Logo image (custom logo from WP admin) */
.hd-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.hd-logo .parfaton-logo-img {
  display: block;
  height: 54px;
  width: auto;
  max-width: min(280px, 48vw);
}
.hd-logo.big .parfaton-logo-img,
.parfaton-logo-img--footer {
  height: 58px;
  max-width: 280px;
}
.ft .parfaton-logo-img--footer {
  filter: brightness(0) invert(1);
}

/* Primary navigation — active orange underline (kao u HTML dizajnu) */
.hd-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 0 0 8px;
  padding: 0;
  list-style: none;
}
.hd-nav > li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.hd-nav a,
.hd-nav > li > a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hd-nav a:hover,
.hd-nav > li > a:hover {
  color: var(--ink);
}
.hd-nav a.on,
.hd-nav > li.current-menu-item > a,
.hd-nav > li.current_page_item > a,
.hd-nav > li.current-menu-ancestor > a {
  color: var(--ink);
}
.hd-nav a.on::after,
.hd-nav > li.current-menu-item > a::after,
.hd-nav > li.current_page_item > a::after,
.hd-nav > li.current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Brendovi dropdown */
.hd-nav > li.menu-item-has-children > a {
  padding-right: 14px;
}
.hd-nav > li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.55;
}
.hd-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--paper, #fff);
  border: 1px solid var(--line);
  border-radius: var(--r, 10px);
  box-shadow: var(--shadow-2, 0 12px 32px rgba(15, 12, 9, 0.12));
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 80;
}
.hd-nav > li.menu-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.hd-nav > li.menu-item-has-children:hover > .sub-menu,
.hd-nav > li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.hd-nav .sub-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hd-nav .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.hd-nav .sub-menu a::after {
  display: none !important;
}
.hd-nav .sub-menu a:hover,
.hd-nav .sub-menu .current-menu-item > a {
  color: var(--ink);
  background: var(--surface, #f6f3ef);
}

/* Mobile submenu */
.mob-nav-list .menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mob-nav-list .sub-menu {
  display: none;
  list-style: none;
  margin: 10px 0 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--line);
}
.mob-nav-list .menu-item-has-children.is-open > .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mob-nav-list .sub-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.mob-nav-toggle {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mob-nav-toggle svg {
  transition: transform 0.2s ease;
}
.mob-nav-list .menu-item-has-children.is-open > a .mob-nav-toggle svg {
  transform: rotate(180deg);
}

/* Top bar social icons */
.hd-top-r.hd-top-social {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hd-top-soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.hd-top-soc:hover {
  color: var(--ink);
  background: var(--surface-2, rgba(0, 0, 0, 0.04));
}

.hd-top-soc svg {
  display: block;
}

/* Mobile meni — aktivna stavka */
.mob-nav-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mob-nav-list > li {
  list-style: none;
}
.mob-nav-list a {
  display: inline-block;
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
}
.mob-nav-list a:hover,
.mob-nav-list .current-menu-item > a,
.mob-nav-list .current_page_item > a {
  color: var(--ink);
}
.mob-nav-list .current-menu-item > a::after,
.mob-nav-list .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-pr-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  min-height: 100%;
}

.hero-pr-grad {
  z-index: 1;
}

.hero-pr-in {
  z-index: 2;
}

.hero-pr-bg--empty {
  background: oklch(0.26 0.01 60);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 13px,
    rgba(255, 255, 255, 0.05) 13px 14px
  );
}

/* Homepage product grid */
.home-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-products-grid::before,
.home-products-grid::after {
  display: none !important;
}

.home-products-grid > .prod-card,
.home-products-grid > li.product {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-products-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Category cards — image fill inside design cat-link */
.cat-link .ph.has-image {
  background: var(--ink);
}
.cat-link .ph.has-image .cat-link-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

/* Bestseller section — 6 equal cards */
.bestseleri-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

@media (max-width: 1024px) {
  .bestseleri-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bestseleri-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Product cards (pcard) — design shop cards */
.pcard-media {
  position: relative;
}
.pcard-media-link {
  display: block;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
}
.pcard-img,
.pcard-media-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.pcard-name a {
  color: inherit;
  text-decoration: none;
}
.pcard-name a:hover {
  color: var(--accent-ink);
}
.pcard-foot .amount {
  font-size: 16px;
  font-weight: 700;
}
.pcard-foot del .amount {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}
.pcard-quick.button,
.pcard-quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink) !important;
  color: var(--paper) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 11px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, background 0.2s;
}
.pcard:hover .pcard-quick {
  opacity: 1;
  transform: none;
}
.pcard-quick:hover {
  background: var(--accent) !important;
}

/* Blog / Saveti cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 22px);
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: var(--r);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r);
  overflow: hidden;
}

.blog-card-img,
.blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s;
}

.blog-card-ph {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: var(--r);
  transition: filter 0.3s;
}

.blog-card:hover .blog-card-img,
.blog-card:hover .blog-card-ph {
  filter: brightness(0.96);
}

.blog-body {
  padding: 18px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-body h3 {
  font-size: 21px;
  line-height: 1.18;
  margin: 0;
}

.blog-card:hover h3 {
  color: var(--accent-ink);
}

.blog-card-time {
  font-size: 11px;
}

.blog-card-link {
  font-size: 13px;
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Blog archive page */
.blog-archive-lead {
  max-width: 640px;
  margin: 0;
}

.blog-archive-sec {
  padding-top: 0;
}

.blog-empty {
  grid-column: 1 / -1;
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.blog-pagination {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.blog-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.blog-pagination a,
.blog-pagination span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.blog-pagination a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.blog-pagination .current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.blog-pagination .dots {
  border-color: transparent;
  color: var(--muted);
}

/* Reviews / testimonials */
.review-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.review-avatar-in {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.review figcaption span.muted {
  display: block;
}

@media (max-width: 980px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Brand strip */
.brand-chip {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 560px) {
  .brands-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .brand-chip {
    padding: 16px 18px;
  }

  .brand-chip .serif {
    font-size: 17px;
  }
}

/* Unified homepage section headers */
.sec-head .sec-title {
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.sec-head .sec-title.it {
  font-style: italic;
  font-weight: 500;
}

.sec-head .kicker {
  display: block;
}

.brands .sec-head,
.reviews .sec-head {
  margin-bottom: 38px;
}

.reviews .sec-head .reviews-score {
  margin-top: 8px;
}

/* Duo teaser — Akademija + Showroom */
.duo-card {
  text-decoration: none;
  color: inherit;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.duo-in {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  flex: 1;
  width: 100%;
  min-height: 340px;
  padding: 30px;
  gap: 14px;
  color: #fff;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 12, 9, 0.35) 100%);
}

.duo-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.2;
}

.duo-in h3 {
  margin: 0;
  flex: 1;
  padding-top: 4px;
  color: #fff;
}

.duo-btn {
  margin-top: auto;
  align-self: flex-start;
}

.duo-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.duo-btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* Bottom CTA — nalog */
.bcta-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.bcta-ph {
  border: none;
  border-radius: var(--r-lg);
  min-height: 240px;
}

.bcta-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.bcta-btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.bcta-actions .btn {
  text-decoration: none;
}

/* Base */
html { scroll-behavior: smooth; }
body.parfaton-theme {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.hero-pr-bg .hero-pr-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* Placeholder image blocks from design */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--surface-2), var(--line-soft));
  border: 1px solid var(--line);
  overflow: hidden;
}
.ph-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Duo background images — must follow generic .ph rules above */
.duo-card > .duo-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  border: none;
  background: oklch(0.26 0.01 60);
  background-image: none;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.duo-card > .duo-ph.has-image {
  background: var(--ink);
  background-image: none;
}

.duo-card > .duo-ph.has-image .duo-ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.duo-card:hover > .duo-ph {
  transform: scale(1.04);
}

/* Mobile nav */
.mob-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20,16,12,.45);
  backdrop-filter: blur(4px);
}
.mob-nav-in {
  width: min(88vw, 360px);
  height: 100%;
  background: var(--paper);
  padding: 24px;
  overflow: auto;
}
.mob-nav-x {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Polylang switcher in header */
.hd-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.hd-actions .hd-ic,
.hd-actions button.hd-ic,
.hd-actions a.hd-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
  vertical-align: middle;
  line-height: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}
.hd-actions .hd-ic:hover {
  background: var(--surface-2);
}
.hd-actions .hd-ic svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.hd-actions .hd-lang-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.parfaton-cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  line-height: 0;
  pointer-events: none;
}
.parfaton-cart-count:empty {
  display: none;
}
.hd-ic .cnt {
  position: static;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.hd-actions .lang-item,
.hd-actions .pll-parent-menu-item { list-style: none; }
.hd-lang,
.pll-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}
.contact-list li strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.parfaton-cf7 .wpcf7 form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.parfaton-cf7 input,
.parfaton-cf7 textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  font: inherit;
  background: var(--surface);
}
.parfaton-cf7 input[type="submit"] {
  width: auto;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
}

/* WooCommerce */
.parfaton-wc-content { padding-bottom: 64px; }
.parfaton-wc .woocommerce-result-count,
.parfaton-wc .woocommerce-ordering { margin-bottom: 24px; }
.parfaton-wc ul.products:not(.shop-products),
ul.products.home-products-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.prod-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.prod-card-link { display: flex; flex-direction: column; flex: 1; }
.prod-card-img {
  aspect-ratio: 1;
  background: var(--surface-2);
  display: grid;
  place-items: center;
}
.prod-card-img img { object-fit: cover; width: 100%; height: 100%; }
.prod-card-body { padding: 16px 16px 12px; display: grid; gap: 6px; }
.prod-card-foot { margin-top: 8px; }
.prod-card-price .amount { font-weight: 700; font-family: var(--serif); font-size: 18px; }
.prod-card-actions { padding: 0 16px 16px; }
.prod-card-actions .button,
.hero-pr-buy .button,
.parfaton-wc .single_add_to_cart_button,
.parfaton-wc .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.parfaton-wc table.shop_table,
.parfaton-wc .woocommerce-checkout {
  width: 100%;
  border-collapse: collapse;
}
.parfaton-wc .woocommerce-cart-form,
.parfaton-wc form.checkout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 28px);
}
.parfaton-wc .woocommerce-info,
.parfaton-wc .woocommerce-message {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--accent-wash);
  padding: 14px 18px;
  margin-bottom: 20px;
}

/* Legacy single-product rules — superseded by woocommerce.css */

@media (max-width: 680px) {
  .hd-nav { display: none; }
  .hd-burger { display: block; }
}

.ft-address {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  padding: 6px 0;
  line-height: 1.5;
}

.ft-legal a {
  color: inherit;
  text-decoration: none;
}

.ft-legal a:hover {
  color: #fff;
}

/* ——— Brendovi pages ——— */
.brands-hub-select {
  padding-top: 0;
  padding-bottom: clamp(8px, 2vw, 20px);
}

.brands-select-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft, var(--muted));
  margin-bottom: 10px;
}

.brands-select-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  max-width: 640px;
}

.brands-select {
  flex: 1 1 280px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.brands-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.brands-hub-grid .brandcard-img,
.brands-hub-grid .brandcard-ph {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--surface);
  padding: 18px;
  box-sizing: border-box;
}

.brands-hub-grid .brandcard-ph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-page-hero {
  gap: 12px;
}

.brand-back {
  margin-bottom: 8px;
  color: var(--muted);
}

.brand-back:hover {
  color: var(--ink);
}

.brand-page-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(180px, 28vw, 320px);
  padding: clamp(24px, 4vw, 48px);
}

.brand-page-img {
  display: block;
  max-width: min(520px, 100%);
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.brand-page-body {
  padding-top: clamp(28px, 4vw, 48px);
}

.brand-page-copy {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brand-page-lead {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

.brand-page-lead p,
.brands-hub-lead p {
  margin: 0 0 0.85em;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.brand-page-lead p:last-child,
.brands-hub-lead p:last-child {
  margin-bottom: 0;
}

.brands-hub-lead {
  color: var(--muted);
}

.brand-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding-top: 8px;
}

@media (max-width: 560px) {
  .brands-select-row {
    flex-direction: column;
  }

  .brands-select-row .btn {
    width: 100%;
  }
}

