/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-on-background);
  font-family: var(--font-sans);
  font-size: var(--type-body-md-size);
  line-height: var(--type-body-md-leading);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* Accessibility — visible focus ring for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-heritage-gold);
  outline-offset: 2px;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* All UI elements are sharp-cornered per design system */
button, input, select, textarea, .he-card, .he-modal, .he-btn {
  border-radius: var(--radius-none);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.he-display-lg {
  font-family: var(--font-serif);
  font-size: var(--type-display-lg-size);
  font-weight: var(--type-display-lg-weight);
  line-height: var(--type-display-lg-leading);
  letter-spacing: var(--type-display-lg-spacing);
  margin: 0;
}

.he-headline-lg {
  font-family: var(--font-serif);
  font-size: var(--type-headline-lg-size);
  font-weight: var(--type-headline-lg-weight);
  line-height: var(--type-headline-lg-leading);
  margin: 0;
}

.he-headline-md {
  font-family: var(--font-serif);
  font-size: var(--type-headline-md-size);
  font-weight: var(--type-headline-md-weight);
  line-height: var(--type-headline-md-leading);
  margin: 0;
}

.he-body-lg {
  font-family: var(--font-sans);
  font-size: var(--type-body-lg-size);
  font-weight: var(--type-body-lg-weight);
  line-height: var(--type-body-lg-leading);
}

.he-body-md {
  font-family: var(--font-sans);
  font-size: var(--type-body-md-size);
  font-weight: var(--type-body-md-weight);
  line-height: var(--type-body-md-leading);
}

.he-label-lg {
  font-family: var(--font-sans);
  font-size: var(--type-label-lg-size);
  font-weight: var(--type-label-lg-weight);
  line-height: var(--type-label-lg-leading);
  letter-spacing: var(--type-label-lg-spacing);
  text-transform: uppercase;
}

.he-label-sm {
  font-family: var(--font-sans);
  font-size: var(--type-label-sm-size);
  font-weight: var(--type-label-sm-weight);
  line-height: var(--type-label-sm-leading);
  letter-spacing: var(--type-label-sm-spacing);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .he-headline-lg {
    font-size: var(--type-headline-lg-mobile-size);
    line-height: var(--type-headline-lg-mobile-leading);
  }
  .he-display-lg {
    font-size: 40px;
    line-height: 48px;
  }
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.he-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-margin-desktop);
}

@media (max-width: 1024px) {
  .he-container { padding: 0 var(--space-margin-mobile); }
}

.he-section {
  padding-top: var(--space-section-gap);
  padding-bottom: var(--space-section-gap);
}

@media (max-width: 768px) {
  .he-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

.he-section--alt {
  background: var(--color-surface-container-low);
}

.he-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gutter);
}

.he-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-gutter);
}

@media (max-width: 1024px) {
  .he-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .he-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.he-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 40px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: var(--type-label-lg-size);
  font-weight: var(--type-label-lg-weight);
  letter-spacing: var(--type-label-lg-spacing);
  text-transform: uppercase;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
  white-space: nowrap;
}

.he-btn--primary {
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
  border-color: var(--color-onyx-black);
}

.he-btn--primary:hover {
  background: var(--color-inverse-surface);
}

.he-btn--gold {
  background: transparent;
  color: var(--color-onyx-black);
  border: 1px solid var(--color-heritage-gold);
}

.he-btn--gold:hover {
  background: var(--color-heritage-gold);
  color: var(--color-onyx-black);
}

.he-btn--ghost-white {
  background: transparent;
  color: var(--color-alabaster-white);
  border: 1px solid var(--color-alabaster-white);
}

.he-btn--ghost-white:hover {
  background: var(--color-alabaster-white);
  color: var(--color-onyx-black);
}

.he-btn--full { width: 100%; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.he-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}

.he-header.is-scrolled {
  background: var(--color-alabaster-white);
  border-bottom: var(--border-hairline);
}

.he-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.he-header.is-scrolled .he-header__inner { height: 80px; }

.he-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--color-onyx-black);
  display: inline-flex;
  align-items: center;
}

/* Custom logo (uploaded image) — keep it inside the bar so the navbar
   never grows too tall and the menu stays fully visible. */
.he-logo img {
  height: 44px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.he-header.is-scrolled .he-logo img { height: 38px; }

@media (max-width: 768px) {
  .he-logo img { height: 36px; }
}

.he-header--transparent .he-logo,
.he-header--transparent .he-nav__link,
.he-header--transparent .he-icon-btn {
  color: var(--color-alabaster-white);
}

.he-header.is-scrolled .he-logo,
.he-header.is-scrolled .he-nav__link,
.he-header.is-scrolled .he-icon-btn {
  color: var(--color-onyx-black);
}

/* Na početnoj je header proziran preko tamnog hero-a. Crni logo bi se
   "izgubio", pa ga pretvaramo u bijeli da prati bijeli tekst menija.
   Kad se skrola (bijela pozadina), logo se vraća u original (crni). */
.he-header--transparent:not(.is-scrolled) .he-logo img {
  filter: brightness(0) invert(1);
}

.he-header.is-scrolled .he-logo img { filter: none; }

/* Na svim unutrašnjim stranicama (shop, proizvod, usluge, o nama, kontakt)
   header ima čvrstu bijelu pozadinu od samog vrha — tako su crni logo i
   stavke menija uvijek jasno vidljivi. */
body:not(.he-header--transparent-page) .he-header {
  background: var(--color-alabaster-white);
  border-bottom: var(--border-hairline);
}

/* Header je fiksiran, pa sadržaj unutrašnjih stranica spuštamo ispod njega
   da ništa ne ostane skriveno iza navbara. */
body.he-inner-page { padding-top: 88px; }

.he-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.he-nav__link {
  font-family: var(--font-sans);
  font-size: var(--type-label-lg-size);
  font-weight: var(--type-label-lg-weight);
  letter-spacing: var(--type-label-lg-spacing);
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.he-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-heritage-gold);
  transition: width .3s ease;
}

.he-nav__link:hover::after { width: 100%; }

.he-header__icons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.he-icon-btn {
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  display: inline-flex;
}

.he-icon-btn svg { width: 20px; height: 20px; }

.he-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-heritage-gold);
  color: var(--color-onyx-black);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.he-mobile-toggle {
  display: none;
  background: none;
  border: none;
}

@media (max-width: 1024px) {
  .he-nav { display: none; }
  .he-mobile-toggle { display: inline-flex; }
}

/* Mobile nav drawer */
.he-mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-alabaster-white);
  z-index: 350;
  transform: translateX(100%);
  transition: transform .4s ease;
  padding: 32px var(--space-margin-mobile);
  overflow-y: auto;
}

.he-mobile-nav.is-open { transform: translateX(0); }

.he-mobile-nav__close {
  background: none;
  border: none;
  margin-bottom: 40px;
}

.he-mobile-nav__link {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  padding: 14px 0;
  border-bottom: var(--border-hairline);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.he-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-onyx-black);
}

.he-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.he-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}

.he-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: var(--color-alabaster-white);
}

.he-hero__eyebrow {
  color: var(--color-heritage-gold);
  margin-bottom: 24px;
  display: block;
}

.he-hero__title {
  color: var(--color-alabaster-white);
  margin-bottom: 24px;
}

.he-hero__subtitle {
  color: var(--color-inverse-on-surface);
  margin-bottom: 40px;
  max-width: 480px;
}

.he-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .he-hero {
    height: 92vh;
    align-items: flex-end;
    text-align: center;
    padding-bottom: 64px;
  }
  .he-hero__content {
    max-width: 100%;
    margin: 0 auto;
  }
  .he-hero__actions { justify-content: center; width: 100%; }
  .he-hero__subtitle { margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.he-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 56px;
  gap: 24px;
}

/* Naslov sa dugmetom sa strane (npr. Izdvojeni satovi) — lijevo + razmak */
.he-section-header--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}

.he-section-header__eyebrow {
  color: var(--color-secondary);
  display: block;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .he-section-header { margin-bottom: 32px; }
  .he-section-header--split {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.he-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.he-card__link {
  display: block;
  color: inherit;
}

.he-card__media {
  position: relative;
  aspect-ratio: 1 / 1.15;
  background: var(--color-surface-container-low);
  overflow: hidden;
  margin-bottom: 20px;
}

.he-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.he-card:hover .he-card__media img {
  transform: scale(1.04);
}

.he-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--color-heritage-gold);
  background: rgba(0,0,0,0.55);
  padding: 6px 10px;
  font-family: var(--font-sans);
  font-size: var(--type-label-sm-size);
  font-weight: var(--type-label-sm-weight);
  letter-spacing: var(--type-label-sm-spacing);
  text-transform: uppercase;
}

.he-card__quick-add {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}

.he-card:hover .he-card__quick-add {
  opacity: 1;
  transform: translateY(0);
}

/* Suptilni gradijent iza dugmadi da tekst bude čitljiv preko slike */
.he-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.30), rgba(0,0,0,0) 42%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 1;
}
.he-card:hover .he-card__media::after { opacity: 1; }
.he-card__badge { z-index: 2; }

/* Kompaktnija, elegantnija dugmad u kartici */
.he-card__quick-add .he-btn,
.he-card__quick-add .woosq-btn {
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
}
.he-card__quickview { margin-top: 0; }

/* Na dodirnim ekranima nema hovera → sakrij overlay (kartica vodi na proizvod) */
@media (hover: none) {
  .he-card__quick-add { display: none; }
  .he-card__title { min-height: 0; }
}

.he-card__body {
  text-align: center;
}

.he-card__brand {
  color: var(--color-on-surface-variant);
  margin-bottom: 6px;
  display: block;
}

.he-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 8px;
}

.he-card__price {
  font-family: var(--font-sans);
  font-size: var(--type-body-md-size);
  color: var(--color-on-surface);
}

.he-card__price del {
  color: var(--color-outline);
  margin-right: 8px;
  font-weight: 400;
}

/* ==========================================================================
   CHIPS / BADGES (generic, non-card use)
   ========================================================================== */

.he-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-heritage-gold);
}

.he-chip + .he-chip {
  padding-left: 10px;
  border-left: 1px solid var(--color-outline-variant);
}

/* ==========================================================================
   EDITORIAL / STORY BLOCK
   ========================================================================== */

.he-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.he-editorial__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface-container-low);
}

.he-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.he-editorial__copy {
  display: flex;
  flex-direction: column;
}

.he-editorial__eyebrow {
  color: var(--color-secondary);
  display: block;
  margin-bottom: 20px;
}

.he-editorial__title { margin-bottom: 24px; }

.he-editorial__text {
  color: var(--color-on-surface-variant);
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .he-editorial {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .he-editorial--reverse .he-editorial__media { order: -1; }
}

/* Bez slike — centrirana, elegantna tekstualna izjava. */
.he-editorial--no-media {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.he-editorial--no-media .he-editorial__copy { align-items: center; }
.he-editorial--no-media .he-editorial__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.he-editorial--no-media .he-editorial__eyebrow::after {
  content: '';
  width: 30px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--color-heritage-gold) 0 1px, transparent 1px 5px);
  flex-shrink: 0;
}
.he-editorial--no-media .he-editorial__text { max-width: 640px; }

/* ==========================================================================
   COLLECTION / CATEGORY BANNERS
   ========================================================================== */

.he-collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-gutter);
}

.he-collection-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  /* Pozadina za slučaj da kategorija nema postavljenu sliku — bez praznog/providnog polja. */
  background: var(--color-inverse-surface);
}

.he-collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

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

.he-collection-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%);
  z-index: 1;
}

.he-collection-card__label {
  position: relative;
  z-index: 2;
  color: var(--color-alabaster-white);
  padding: 28px;
}

.he-collection-card__label .he-headline-md { color: var(--color-alabaster-white); margin-bottom: 8px; }

@media (max-width: 768px) {
  .he-collections { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   TRUST / FEATURE STRIP
   ========================================================================== */

.he-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--border-hairline);
  border-bottom: var(--border-hairline);
}

.he-trust-item {
  padding: 32px 24px;
  text-align: center;
  border-left: var(--border-hairline);
}

.he-trust-item:first-child { border-left: none; }

.he-trust-item__icon {
  margin-bottom: 12px;
  color: var(--color-heritage-gold);
}

.he-trust-item__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.he-trust-item__text {
  font-size: 13px;
  color: var(--color-on-surface-variant);
}

@media (max-width: 768px) {
  .he-trust-strip { grid-template-columns: repeat(2, 1fr); }
  .he-trust-item:nth-child(3) { border-left: none; }
}

/* ==========================================================================
   NEWSLETTER / CTA BAND
   ========================================================================== */

.he-cta-band {
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
  text-align: center;
  padding: 80px var(--space-margin-desktop);
}

.he-cta-band__title { color: var(--color-alabaster-white); margin-bottom: 16px; }
.he-cta-band__text { color: var(--color-inverse-on-surface); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

.he-newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 0;
}

.he-newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-outline);
  color: var(--color-alabaster-white);
  padding: 14px 0;
  font-size: 14px;
}

.he-newsletter-form input::placeholder { color: var(--color-outline); }

.he-newsletter-form button {
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-heritage-gold);
  color: var(--color-heritage-gold);
  padding: 14px 16px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.he-footer {
  background: var(--color-onyx-black);
  color: var(--color-inverse-on-surface);
  padding-top: 80px;
}

.he-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.he-footer__brand .he-logo { color: var(--color-alabaster-white); margin-bottom: 16px; display: block; }
.he-footer__tagline { color: var(--color-outline); max-width: 280px; }

.he-footer__col {
  display: flex;
  flex-direction: column;
}

.he-footer__heading {
  color: var(--color-alabaster-white);
  margin-bottom: 20px;
  display: block;
}

.he-footer__link {
  display: block;
  color: var(--color-inverse-on-surface);
  padding: 6px 0;
  font-size: 14px;
  opacity: .85;
}

.he-footer__link:hover { color: var(--color-heritage-gold); opacity: 1; }

.he-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
  color: var(--color-outline);
}

.he-footer__socials {
  display: flex;
  gap: 16px;
}

@media (max-width: 900px) {
  .he-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .he-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ==========================================================================
   QUICK VIEW MODAL / OVERLAY
   ========================================================================== */

.he-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay-backdrop);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.he-backdrop.is-active { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.he-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 32px 0 0;
  color: var(--color-on-surface-variant);
}

.he-breadcrumbs a {
  color: var(--color-on-surface-variant);
}

.he-breadcrumbs a:hover { color: var(--color-onyx-black); }

.he-breadcrumbs__sep { color: var(--color-outline-variant); }

.he-breadcrumbs__current { color: var(--color-on-surface); }

/* ==========================================================================
   SHOP / ARCHIVE LAYOUT
   ========================================================================== */

.he-shop-header {
  padding: 32px 0 40px;
  border-bottom: var(--border-hairline);
  margin-bottom: 48px;
}

.he-shop-header__title { margin-bottom: 8px; }

.he-shop-header__count {
  color: var(--color-on-surface-variant);
}

.he-shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.he-shop-results {
  min-width: 0;
}

@media (max-width: 1024px) {
  .he-shop-layout { grid-template-columns: 1fr; }
}

/* ---- Filter sidebar ---- */

.he-filters {
  position: static;
}

@media (max-width: 1024px) {
  .he-filters {
    position: static;
    margin-bottom: 32px;
  }
}

@media (max-width: 1024px) {
  .he-filters {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    background: var(--color-alabaster-white);
    z-index: 310;
    padding: 32px 24px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .35s ease;
    margin-bottom: 0;
  }
  .he-filters.is-open {
    transform: translateX(0);
  }
}

.he-filter-group {
  border-bottom: var(--border-hairline);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.he-filter-group__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 16px;
  background: none;
  border: none;
  width: 100%;
  padding: 0;
  font-family: var(--font-sans);
  font-size: var(--type-label-lg-size);
  font-weight: var(--type-label-lg-weight);
  letter-spacing: var(--type-label-lg-spacing);
  text-transform: uppercase;
  color: var(--color-on-surface);
}

.he-filter-group__title svg {
  width: 14px;
  height: 14px;
  transition: transform .25s ease;
}

.he-filter-group.is-collapsed .he-filter-group__title svg { transform: rotate(-90deg); }
.he-filter-group.is-collapsed .he-filter-group__body { display: none; }

.he-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--color-on-surface-variant);
  cursor: pointer;
}

.he-filter-option:hover { color: var(--color-on-surface); }

.he-filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-onyx-black);
  border: 1px solid var(--color-outline);
}

.he-filter-option__count {
  margin-left: auto;
  color: var(--color-outline);
  font-size: 12px;
}

.he-filter-swatch {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-outline-variant);
  display: inline-block;
}

.he-price-range {
  display: flex;
  align-items: center;
  gap: 10px;
}

.he-price-range input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-outline);
  padding: 8px 0;
  font-size: 13px;
  color: var(--color-on-surface);
}

.he-filters__clear {
  font-size: 13px;
  text-decoration: underline;
  color: var(--color-on-surface-variant);
}

.he-filters__clear:hover { color: var(--color-onyx-black); }

/* ---- Toolbar (sort + count + mobile filter trigger) ---- */

.he-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.he-shop-toolbar__count {
  color: var(--color-on-surface-variant);
  font-size: 14px;
}

.he-sort-select {
  position: relative;
}

.he-sort-select select {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-outline);
  padding: 8px 28px 8px 0;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-on-surface);
  cursor: pointer;
}

.he-sort-select::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-on-surface);
  border-bottom: 1px solid var(--color-on-surface);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.he-mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--color-outline);
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .he-mobile-filter-trigger { display: inline-flex; }
}

/* ---- Active filter chips ---- */

.he-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.he-active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-outline-variant);
  padding: 6px 10px 6px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.he-active-filter-chip button {
  background: none;
  border: none;
  line-height: 0;
  color: var(--color-on-surface-variant);
}

/* ---- Pagination ---- */

.he-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: var(--border-hairline);
}

.he-pagination a,
.he-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  color: var(--color-on-surface-variant);
}

.he-pagination .current {
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
}

.he-pagination a:hover { color: var(--color-onyx-black); }

/* ---- Empty state ---- */

.he-shop-empty {
  text-align: center;
  padding: 100px 0;
}

.he-shop-empty p { color: var(--color-on-surface-variant); margin-bottom: 32px; }

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */

.he-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 48px 0 var(--space-section-gap);
  align-items: start;
}

.he-product-gallery {
  min-width: 0;
}

.he-product-summary {
  min-width: 0;
}

@media (max-width: 900px) {
  .he-product {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 64px;
  }
}

/* ---- Gallery ---- */

.he-product-gallery__main {
  aspect-ratio: 1 / 1;
  background: var(--color-surface-container-low);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.he-product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.he-product-gallery__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,.55);
  color: var(--color-heritage-gold);
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.he-product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.he-product-gallery__thumb {
  aspect-ratio: 1 / 1;
  background: var(--color-surface-container-low);
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0;
}

.he-product-gallery__thumb.is-active { border-color: var(--color-onyx-black); }

.he-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 480px) {
  .he-product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Summary / Buy box ---- */

.he-product-summary__brand {
  color: var(--color-on-surface-variant);
  margin-bottom: 12px;
  display: block;
}

.he-product-summary__title {
  margin-bottom: 16px;
}

.he-product-summary__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--color-on-surface-variant);
  font-size: 13px;
}

.he-product-summary__rating .stars { color: var(--color-heritage-gold); letter-spacing: 2px; }

.he-product-summary__price {
  font-family: var(--font-serif);
  font-size: 32px;
  margin-bottom: 28px;
  color: var(--color-on-surface);
}

.he-product-summary__price del {
  font-size: 20px;
  color: var(--color-outline);
  margin-right: 12px;
  font-weight: 400;
}

.he-product-summary__excerpt {
  color: var(--color-on-surface-variant);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: var(--border-hairline);
}

/* Variation selectors (e.g. strap material, case size) */

.he-option-group {
  margin-bottom: 28px;
}

.he-option-group__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--color-on-surface);
}

.he-option-group__label .he-option-group__value {
  color: var(--color-on-surface-variant);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.he-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.he-swatch {
  min-width: 56px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-outline-variant);
  background: var(--color-alabaster-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s ease;
}

.he-swatch:hover { border-color: var(--color-onyx-black); }
.he-swatch.is-selected { border-color: var(--color-onyx-black); border-width: 2px; }

.he-swatch--color {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 0;
}

/* Quantity + Add to cart row */

.he-buy-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.he-qty-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-outline-variant);
  height: 56px;
}

.he-qty-input button {
  width: 44px;
  height: 100%;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--color-on-surface);
}

.he-qty-input button:hover { background: var(--color-surface-container-low); }

.he-qty-input input {
  width: 44px;
  text-align: center;
  border: none;
  height: 100%;
  font-size: 15px;
  background: transparent;
}

.he-buy-row .he-btn {
  flex: 1;
  height: 56px;
  padding: 0 24px;
}

.he-product-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--color-on-surface-variant);
}

.he-product-summary__meta strong { color: var(--color-on-surface); font-weight: 600; }

.he-product-summary__meta a { text-decoration: underline; }

/* Trust mini-row under buy box */

.he-product-trust {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: var(--border-hairline);
}

.he-product-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-on-surface-variant);
}

.he-product-trust__item svg { color: var(--color-heritage-gold); width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Tabs (Description / Specifications / Reviews) ---- */

.he-product-tabs {
  margin-top: var(--space-section-gap);
}

@media (max-width: 900px) { .he-product-tabs { margin-top: 64px; } }

.he-tabs__nav {
  display: flex;
  gap: 48px;
  border-bottom: var(--border-hairline);
  margin-bottom: 40px;
}

.he-tabs__nav button {
  background: none;
  border: none;
  padding: 0 0 20px;
  font-family: var(--font-sans);
  font-size: var(--type-label-lg-size);
  font-weight: var(--type-label-lg-weight);
  letter-spacing: var(--type-label-lg-spacing);
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
  position: relative;
}

.he-tabs__nav button.is-active { color: var(--color-on-surface); }

.he-tabs__nav button.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--color-heritage-gold);
}

.he-tabs__panel { display: none; }
.he-tabs__panel.is-active { display: block; }

.he-spec-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 720px;
}

.he-spec-table tr { border-bottom: var(--border-hairline); }
.he-spec-table tr:first-child { border-top: var(--border-hairline); }

.he-spec-table td {
  padding: 16px 0;
  font-size: 14px;
}

.he-spec-table td:first-child {
  color: var(--color-on-surface-variant);
  width: 240px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.he-spec-table td:last-child { color: var(--color-on-surface); }

@media (max-width: 600px) {
  .he-tabs__nav { gap: 24px; overflow-x: auto; }
  .he-spec-table td:first-child { width: 140px; }
}

/* ---- Formatirani opis proizvoda (OLX import) ---- */
.he-desc { color: var(--color-on-surface-variant); }

.he-desc > p {
  font-size: var(--type-body-lg-size);
  line-height: var(--type-body-lg-leading);
  margin: 0 0 14px;
}
.he-desc > p strong { color: var(--color-on-surface); font-weight: 600; }

.he-desc__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-on-surface);
  margin: 44px 0 6px;
  padding-top: 28px;
  border-top: var(--border-hairline);
}
.he-desc > .he-desc__title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.he-desc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 8px;
}
.he-desc-table td {
  padding: 13px 0;
  font-size: 14px;
  border-bottom: var(--border-hairline);
  vertical-align: top;
}
.he-desc-table tr:last-child td { border-bottom: 0; }
.he-desc-table td:first-child {
  color: var(--color-on-surface-variant);
  width: 200px;
  padding-right: 24px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.he-desc-table td:last-child { color: var(--color-on-surface); font-weight: 500; }
.he-desc-table td[colspan="2"] {
  color: var(--color-on-surface);
  text-transform: none;
  font-weight: 500;
  width: auto;
}

.he-desc-list {
  list-style: none;
  margin: 8px 0;
  padding: 0;
}
.he-desc-list li {
  position: relative;
  padding: 11px 0 11px 22px;
  font-size: 15px;
  color: var(--color-on-surface);
  border-bottom: var(--border-hairline);
}
.he-desc-list li:last-child { border-bottom: 0; }
.he-desc-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 6px;
  height: 6px;
  background: var(--color-heritage-gold);
  transform: rotate(45deg);
}

@media (max-width: 600px) {
  .he-desc > p { font-size: 16px; line-height: 26px; }
  .he-desc__title { font-size: 20px; margin-top: 30px; padding-top: 20px; }
  .he-desc-table td:first-child { width: 128px; padding-right: 14px; }
}

/* Mobile accordion variant of tabs (CSS-only fallback look handled via JS toggling .is-active) */

/* ---- Related products ---- */

.he-related {
  padding-top: var(--space-section-gap);
  border-top: var(--border-hairline);
}

@media (max-width: 900px) { .he-related { padding-top: 64px; } }

/* ==========================================================================
   WOOCOMMERCE REVIEWS / COMMENTS OVERRIDE
   ========================================================================== */

#reviews .commentlist {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

#reviews .comment {
  border-bottom: var(--border-hairline);
  padding: 24px 0;
}

#reviews .comment_container {
  display: flex;
  gap: 16px;
}

#reviews .comment-text {
  flex: 1;
}

#reviews .star-rating {
  color: var(--color-heritage-gold);
  font-size: 14px;
  margin-bottom: 8px;
}

#reviews .meta {
  font-size: 13px;
  color: var(--color-on-surface-variant);
  margin-bottom: 8px;
  display: block;
}

#reviews .meta strong {
  color: var(--color-on-surface);
  font-weight: 600;
}

#reviews .description p {
  color: var(--color-on-surface-variant);
  font-size: 15px;
  line-height: 24px;
  margin: 0;
}

#review_form_wrapper {
  margin-top: 40px;
  padding-top: 40px;
  border-top: var(--border-hairline);
}

#review_form .comment-form-rating label,
#review_form .comment-form-comment label,
#review_form .comment-form-author label,
#review_form .comment-form-email label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: var(--type-label-lg-size);
  font-weight: var(--type-label-lg-weight);
  letter-spacing: var(--type-label-lg-spacing);
  text-transform: uppercase;
}

#review_form textarea,
#review_form input[type="text"],
#review_form input[type="email"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-outline);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  margin-bottom: 24px;
}

#review_form .form-submit input[type="submit"] {
  display: inline-flex;
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
  border: 1px solid var(--color-onyx-black);
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: var(--type-label-lg-size);
  font-weight: var(--type-label-lg-weight);
  letter-spacing: var(--type-label-lg-spacing);
  text-transform: uppercase;
  cursor: pointer;
}

#review_form .form-submit input[type="submit"]:hover { background: var(--color-inverse-surface); }

p.stars a {
  color: var(--color-heritage-gold);
}

.woocommerce-noreviews {
  color: var(--color-on-surface-variant);
}

/* ==========================================================================
   PAGE HERO — mali banner za podstranice (Graviranje, Popravka, O nama, Kontakt)
   ========================================================================== */

.he-page-hero {
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
  padding: 64px 0 56px;
  text-align: center;
}

.he-page-hero__eyebrow {
  color: var(--color-heritage-gold);
  display: block;
  margin-bottom: 16px;
}

.he-page-hero__title {
  color: var(--color-alabaster-white);
  margin-bottom: 16px;
}

.he-page-hero__subtitle {
  color: var(--color-inverse-on-surface);
  max-width: 620px;
  margin: 0 auto;
}

.he-page-hero .he-breadcrumbs {
  justify-content: center;
  color: var(--color-outline);
  padding-top: 0;
  margin-bottom: 24px;
}

.he-page-hero .he-breadcrumbs a { color: var(--color-outline); }
.he-page-hero .he-breadcrumbs a:hover { color: var(--color-alabaster-white); }
.he-page-hero .he-breadcrumbs__current { color: var(--color-alabaster-white); }

/* ==========================================================================
   SERVICE PAGE — intro split (tekst + slika)
   ========================================================================== */

.he-service-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  padding: var(--space-section-gap) 0;
}

@media (max-width: 900px) {
  .he-service-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 64px 0;
  }
}

/* Kad slika usluge nije postavljena u Customizer-u, tekst zauzima punu širinu. */
.he-service-intro--no-media { grid-template-columns: 1fr; }

.he-service-intro__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface-container-low);
}

.he-service-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.he-service-intro__eyebrow {
  color: var(--color-secondary);
  display: block;
  margin-bottom: 16px;
}

.he-service-intro__title { margin-bottom: 20px; }

.he-service-intro__text {
  color: var(--color-on-surface-variant);
  margin-bottom: 16px;
}

/* Process steps (e.g. "Kako funkcioniše narudžba") */

.he-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .he-process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .he-process-steps { grid-template-columns: 1fr; }
}

.he-process-step {
  text-align: left;
}

.he-process-step__number {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--color-heritage-gold);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.he-process-step__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.he-process-step__text {
  color: var(--color-on-surface-variant);
  font-size: 14px;
  line-height: 22px;
}

/* ==========================================================================
   PRICING TABLE
   ========================================================================== */

.he-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-gutter);
}

@media (max-width: 900px) {
  .he-pricing { grid-template-columns: 1fr; }
}

.he-pricing-card {
  border: var(--border-hairline);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.he-pricing-card--featured {
  border-color: var(--color-heritage-gold);
  position: relative;
}

.he-pricing-card__badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--color-heritage-gold);
  color: var(--color-onyx-black);
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.he-pricing-card__title {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 8px;
}

.he-pricing-card__desc {
  color: var(--color-on-surface-variant);
  font-size: 14px;
  margin-bottom: 24px;
}

.he-pricing-card__price {
  font-family: var(--font-serif);
  font-size: 36px;
  margin-bottom: 28px;
}

.he-pricing-card__price span {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-on-surface-variant);
}

.he-pricing-card__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  flex: 1;
}

.he-pricing-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--color-outline-variant);
  font-size: 14px;
  color: var(--color-on-surface-variant);
}

.he-pricing-card__list li:first-child { border-top: none; }

.he-pricing-card__list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-heritage-gold);
}

/* Simple price list rows (used on repair page for common services) */

.he-price-list {
  border-top: var(--border-hairline);
}

.he-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: var(--border-hairline);
}

.he-price-row__name { color: var(--color-on-surface); }
.he-price-row__desc { color: var(--color-on-surface-variant); font-size: 13px; margin-top: 4px; }
.he-price-row__price { font-family: var(--font-serif); font-size: 20px; white-space: nowrap; }

/* ==========================================================================
   ORDER / CONTACT FORM
   ========================================================================== */

.he-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .he-form-section { grid-template-columns: 1fr; gap: 48px; }
}

.he-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

.he-field {
  display: flex;
  flex-direction: column;
}

.he-field label {
  font-family: var(--font-sans);
  font-size: var(--type-label-lg-size);
  font-weight: var(--type-label-lg-weight);
  letter-spacing: var(--type-label-lg-spacing);
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--color-on-surface);
}

.he-field input,
.he-field select,
.he-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-outline);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-on-surface);
  width: 100%;
}

.he-field input:focus,
.he-field select:focus,
.he-field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-heritage-gold);
}

.he-field textarea {
  resize: vertical;
  min-height: 120px;
}

.he-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.he-field--checkbox label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 13px;
  margin-bottom: 0;
  color: var(--color-on-surface-variant);
}

.he-field--checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--color-onyx-black);
}

.he-form-aside {
  background: var(--color-surface-container-low);
  padding: 40px;
}

.he-form-aside__title {
  margin-bottom: 20px;
}

.he-form-aside__item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: var(--border-hairline);
  font-size: 14px;
  color: var(--color-on-surface-variant);
}

.he-form-aside__item:first-of-type { border-top: none; }

.he-form-aside__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-heritage-gold);
}

.he-form-aside__item strong {
  display: block;
  color: var(--color-on-surface);
  font-weight: 600;
  margin-bottom: 2px;
}

.he-form-success {
  background: var(--color-surface-container-low);
  border: 1px solid var(--color-heritage-gold);
  padding: 24px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.he-form-success svg { color: var(--color-heritage-gold); flex-shrink: 0; }

/* ==========================================================================
   ABOUT PAGE — values grid, team, timeline
   ========================================================================== */

.he-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-gutter);
}

@media (max-width: 900px) {
  .he-values-grid { grid-template-columns: 1fr; }
}

.he-value-card {
  padding: 32px 0;
  border-top: 2px solid var(--color-onyx-black);
}

.he-value-card__icon { color: var(--color-heritage-gold); margin-bottom: 20px; }
.he-value-card__title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.he-value-card__text { color: var(--color-on-surface-variant); font-size: 14px; line-height: 22px; }

.he-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.he-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .he-stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.he-stat__number {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--color-onyx-black);
  display: block;
  margin-bottom: 8px;
}

.he-stat__label {
  color: var(--color-on-surface-variant);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   CONTACT — map + info cards
   ========================================================================== */

.he-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-gutter);
  margin-bottom: var(--space-section-gap);
}

@media (max-width: 900px) {
  .he-contact-cards { grid-template-columns: 1fr; gap: 16px; margin-bottom: 64px; }
}

.he-contact-card {
  border: var(--border-hairline);
  padding: 32px 28px;
  text-align: center;
}

.he-contact-card__icon { color: var(--color-heritage-gold); margin-bottom: 16px; }
.he-contact-card__title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.he-contact-card__text { color: var(--color-on-surface-variant); font-size: 14px; line-height: 22px; }
.he-contact-card__text a { color: var(--color-on-surface-variant); text-decoration: underline; }

.he-map-embed {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: var(--border-hairline);
  overflow: hidden;
  background: var(--color-surface-container-low);
}

.he-map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ==========================================================================
   ACCESSIBILITY — Skip link
   ========================================================================== */

.he-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
}

.he-skip-link:focus {
  left: 0;
  outline: 2px solid var(--color-heritage-gold);
}

/* ==========================================================================
   HONEYPOT — vizuelno skriveno, dostupno botovima
   ========================================================================== */

.he-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */

.he-search-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-alabaster-white);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  display: flex;
  align-items: center;
}

.he-search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.he-search-overlay__close {
  position: absolute;
  top: 32px;
  right: var(--space-margin-desktop);
}

@media (max-width: 1024px) {
  .he-search-overlay__close { right: var(--space-margin-mobile); }
}

.he-search-overlay__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.he-search-form {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-onyx-black);
}

.he-search-form__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 18px 0;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--color-on-surface);
}

.he-search-form__input:focus { outline: none; }
.he-search-form__input::placeholder { color: var(--color-outline-variant); }

.he-search-form__submit {
  background: none;
  border: none;
  color: var(--color-onyx-black);
  padding: 12px;
}

@media (max-width: 600px) {
  .he-search-form__input { font-size: 22px; }
}

/* ==========================================================================
   MOBILE NAV — account/cart actions
   ========================================================================== */

.he-mobile-nav__actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.he-mobile-nav__action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-on-surface);
}

.he-mobile-nav__action svg { color: var(--color-heritage-gold); }

/* ==========================================================================
   NEWSLETTER — poruke o uspjehu/grešci
   ========================================================================== */

.he-newsletter-msg {
  max-width: 440px;
  margin: 0 auto 20px;
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
}

.he-newsletter-msg--ok {
  color: var(--color-heritage-gold);
  border: 1px solid var(--color-heritage-gold);
}

.he-newsletter-msg--error {
  color: #ffb4ab;
  border: 1px solid #ffb4ab;
}

/* ==========================================================================
   PAGE / BLOG CONTENT
   ========================================================================== */

.he-page-content p { margin: 0 0 24px; }
.he-page-content h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 40px;
  color: var(--color-on-surface);
  margin: 48px 0 16px;
}
.he-page-content h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-on-surface);
  margin: 32px 0 12px;
}
.he-page-content a {
  color: var(--color-on-surface);
  text-decoration: underline;
  text-decoration-color: var(--color-heritage-gold);
  text-underline-offset: 3px;
}

/* Link-stil iznad je zatamnio i podvukao tekst crnih dugmadi ("Brzo dodaj",
   "Nastavite do blagajne") i naslove kartica u WooCommerce stranicama — vraćamo bijelo/čisto. */
.he-card__quick-add .he-btn,
.wc-proceed-to-checkout a.checkout-button,
.he-page-content .he-card a {
  text-decoration: none;
}
.he-card__quick-add .he-btn--primary,
.wc-proceed-to-checkout a.checkout-button,
.wc-proceed-to-checkout a.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:focus {
  color: var(--color-alabaster-white);
}
.he-page-content .he-card__title { color: var(--color-on-surface); }
.he-page-content .he-card:hover .he-card__title { color: var(--color-secondary); }

/* WooCommerce Blocks korpa/blagajna: dugmad ("Brzo dodaj" na preporukama,
   "Nastavite do blagajne", "Naruči") su <a> koje .he-page-content a zatamni i
   podvuče. Vraćamo bijeli, nepodvučeni tekst na tim tamnim dugmadima. */
.he-page-content a.wp-block-button__link,
.he-page-content a.wc-block-components-button,
.he-page-content a.add_to_cart_button,
.he-page-content .wc-block-cart__submit-button,
.he-page-content .wc-block-components-checkout-place-order-button {
  color: var(--color-alabaster-white) !important;
  text-decoration: none !important;
}
.he-page-content ul,
.he-page-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.he-page-content ul { list-style: disc; }
.he-page-content ol { list-style: decimal; }
.he-page-content li { margin-bottom: 8px; }
.he-page-content blockquote {
  border-left: 2px solid var(--color-heritage-gold);
  padding-left: 24px;
  margin: 32px 0;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 34px;
  color: var(--color-on-surface);
}
.he-page-content img { margin: 24px 0; }

.he-page-links {
  margin-top: 32px;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.he-page-links a {
  border: var(--border-hairline);
  padding: 6px 12px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.he-text-center { text-align: center; }
.he-mt-0 { margin-top: 0; }
.he-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* =============================================
   FIKS ZA PREVELIKI LOGO U ZAGLAVLJU (NAVBARU)
============================================= */

/* Neprobojno pravilo koje cilja sve moguće klase logotipa */
.site-logo img,
.site-logo .logo-icon,
.custom-logo,
img.logo-icon,
.logo-icon img,
.header-inner img {
    max-height: 80px !important; /* Prisilno zaključava visinu logotipa unutar okvira navbara */
    width: auto !important; /* Automatski prilagođava širinu kako se slika ne bi stisnula */
    object-fit: contain !important; /* Čuva omjer slike bez ikakvog izobličenja */
    display: inline-block !important;
    vertical-align: middle !important;
    background: transparent !important; /* Osigurava da nema nepoželjnih pozadinskih boja */
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================================================
   EDITORIAL LIGHT REDESIGN — svijetli, minimalistički izgled
   Hero bez fotografije + usklađeni baneri podstranica.
   ========================================================================== */

/* ---- HERO (početna) — svijetlo, tipografski, elegantno ---- */

.he-hero--editorial {
  background:
    radial-gradient(120% 90% at 100% 0%, var(--color-surface-container-low) 0%, var(--color-surface) 55%);
  color: var(--color-on-surface);
  height: auto;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}

/* Suptilan zlatni sjaj u pozadini */
.he-hero__glow {
  position: absolute;
  top: -12%;
  right: -6%;
  width: 62vw;
  height: 62vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(227, 200, 70, 0.20) 0%, rgba(227, 200, 70, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

.he-hero__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.he-hero--editorial .he-hero__content {
  max-width: 600px;
  color: var(--color-on-surface);
}

.he-hero--editorial .he-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-secondary);
  margin-bottom: 26px;
}

.he-hero--editorial .he-hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--color-heritage-gold) 0 1px, transparent 1px 5px);
}

.he-hero--editorial .he-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--color-on-surface);
  margin: 0 0 26px;
}

.he-hero--editorial .he-hero__subtitle {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 30px;
  color: var(--color-on-surface-variant);
  max-width: 470px;
  margin: 0 0 40px;
}

.he-hero--editorial .he-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.he-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  list-style: none;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--color-outline-variant);
}

.he-hero__points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
}

.he-hero__points li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-heritage-gold);
  display: inline-block;
}

/* Vizual desno — brojčanik sata (line-art) ili slika ako je postavljena */
.he-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.he-hero__photo {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--color-outline-variant);
}

.he-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.he-hero__dial {
  width: min(440px, 86%);
  position: relative;
  z-index: 1;
}

/* Sunburst („soleil") atmosfera brojčanika — potpis hero sekcije.
   Fine zlatne zrake koje se šire iz centra i mekano nestaju, kao završna
   obrada pravog sata. Diskretno, ispod animiranog brojčanika. */
.he-hero__guilloche {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(680px, 148%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(227, 200, 70, 0.22) 0deg 0.7deg, transparent 0.7deg 3deg);
  -webkit-mask: radial-gradient(circle closest-side, #000 12%, #000 34%, rgba(0,0,0,0.5) 56%, transparent 80%);
          mask: radial-gradient(circle closest-side, #000 12%, #000 34%, rgba(0,0,0,0.5) 56%, transparent 80%);
  animation: he-guilloche-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

@keyframes he-guilloche-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.84); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .he-hero__guilloche { animation: none; opacity: 1; }
}

.he-hero__dial svg {
  width: 100%;
  height: auto;
  display: block;
}

.he-hero__second {
  transform-box: view-box;
  transform-origin: 200px 200px;
  animation: he-rotate 60s linear infinite;
}

/* Svi rotirajući/animirani dijelovi brojčanika dijele isti centar rotacije. */
.he-dial__pulse,
.he-dial__ring,
.he-dial__orbit,
.he-dial__hour,
.he-dial__min {
  transform-box: view-box;
  transform-origin: 200px 200px;
}

.he-dial__ring   { animation: he-rotate 90s linear infinite; }
.he-dial__orbit  { animation: he-rotate 24s linear infinite; }
.he-dial__orbit--rev { animation: he-rotate 40s linear infinite reverse; }
.he-dial__min    { animation: he-rotate 600s linear infinite; }
.he-dial__hour   { animation: he-rotate 7200s linear infinite; }
.he-dial__pulse  { animation: he-pulse 4.5s ease-in-out infinite; }

/* Cijeli brojčanik nježno lebdi. */
.he-hero__dial { animation: he-float 7s ease-in-out infinite alternate; }

@keyframes he-rotate {
  to { transform: rotate(360deg); }
}

@keyframes he-float {
  from { transform: translateY(-10px); }
  to   { transform: translateY(10px); }
}

@keyframes he-pulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(1.05); }
}

/* Suptilna ulazna animacija sadržaja hero-a */
@keyframes he-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.he-hero--editorial .he-hero__content > * {
  animation: he-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.he-hero--editorial .he-hero__eyebrow  { animation-delay: 0.05s; }
.he-hero--editorial .he-hero__title    { animation-delay: 0.14s; }
.he-hero--editorial .he-hero__subtitle { animation-delay: 0.23s; }
.he-hero--editorial .he-hero__actions  { animation-delay: 0.32s; }
.he-hero--editorial .he-hero__points   { animation-delay: 0.40s; }
.he-hero--editorial .he-hero__visual   { animation: he-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }

@media (prefers-reduced-motion: reduce) {
  .he-hero__second,
  .he-dial__ring,
  .he-dial__orbit,
  .he-dial__min,
  .he-dial__hour,
  .he-dial__pulse,
  .he-hero__dial,
  .he-hero--editorial .he-hero__content > *,
  .he-hero--editorial .he-hero__visual { animation: none; }
}

@media (max-width: 900px) {
  .he-hero--editorial {
    min-height: auto;
    padding: 124px 0 64px;
  }
  .he-hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .he-hero__content { max-width: 100%; }
  .he-hero--editorial .he-hero__subtitle { max-width: 100%; }
  .he-hero__visual { order: 2; }
  .he-hero__dial { width: 240px; }
  .he-hero__photo { max-width: 320px; }
}

/* ---- PODSTRANICE — svijetli baner umjesto tamnog ---- */

.he-page-hero {
  background: var(--color-surface);
  color: var(--color-on-surface);
  border-bottom: 1px solid var(--color-outline-variant);
  padding: 64px 0 52px;
}

.he-page-hero__eyebrow {
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.he-page-hero__eyebrow::before {
  content: '';
  width: 30px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--color-heritage-gold) 0 1px, transparent 1px 5px);
}

.he-page-hero__title { color: var(--color-on-surface); }
.he-page-hero__subtitle { color: var(--color-on-surface-variant); }

.he-page-hero .he-breadcrumbs { color: var(--color-on-surface-variant); }
.he-page-hero .he-breadcrumbs a { color: var(--color-on-surface-variant); }
.he-page-hero .he-breadcrumbs a:hover { color: var(--color-onyx-black); }
.he-page-hero .he-breadcrumbs__sep { color: var(--color-outline-variant); }
.he-page-hero .he-breadcrumbs__current { color: var(--color-on-surface); }

/* ==========================================================================
   GLOBALNA EDITORIAL PROFINJENJA — ista vizuelna gramatika svuda
   ========================================================================== */

/* ---- Ujednačen "eyebrow" sa zlatnom crticom (kao u hero-u) ---- */
.he-section-header__eyebrow,
.he-editorial__eyebrow,
.he-service-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-secondary);
}

.he-section-header__eyebrow::before,
.he-editorial__eyebrow::before,
.he-service-intro__eyebrow::before {
  content: '';
  width: 30px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--color-heritage-gold) 0 1px, transparent 1px 5px);
  flex-shrink: 0;
}

.he-section-header { margin-bottom: 64px; }

/* Centrirani naslovi — index-crtice (minutna skala) sa obje strane (simetrično) */
.he-section-header:not(.he-section-header--split) .he-section-header__eyebrow::after {
  content: '';
  width: 30px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--color-heritage-gold) 0 1px, transparent 1px 5px);
  flex-shrink: 0;
}

/* ---- Brojevi (stats) traka na početnoj ---- */
.he-stats-section { padding: 84px 0; }
.he-stats-section .he-stats-row {
  border-top: 1px solid var(--color-outline-variant);
  border-bottom: 1px solid var(--color-outline-variant);
  padding: 46px 0;
}
.he-stats-section .he-stat__number {
  font-size: clamp(38px, 4.8vw, 54px);
  letter-spacing: -0.02em;
}
.he-stats-section .he-stat__number em {
  font-style: normal;
  color: var(--color-heritage-gold);
}

/* ---- Recenzije kupaca (Šta kažu kupci) ---- */
.he-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.he-review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 32px;
  background: var(--color-surface-container-lowest);
  border: var(--border-hairline);
  transition: transform .3s ease, box-shadow .3s ease;
}
.he-review:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.4);
}
.he-review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.he-review__stars {
  color: var(--color-heritage-gold);
  letter-spacing: 3px;
  font-size: 15px;
}
.he-review__g { display: block; flex-shrink: 0; }
.he-review__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 27px;
  color: var(--color-on-surface);
  flex-grow: 1;
}
.he-review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.he-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.he-review__meta { display: flex; flex-direction: column; line-height: 1.35; }
.he-review__name { font-weight: 600; font-size: 14px; color: var(--color-on-surface); }
.he-review__src { font-size: 12px; color: var(--color-on-surface-variant); }
.he-reviews__cta { text-align: center; margin-top: 48px; }

@media (max-width: 860px) {
  .he-reviews__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

/* ---- Trustindex live widget — uklapanje u crno-zlatnu temu (best-effort) ----
   Napomena: najčistije uklapanje se postiže i izborom svijetlog/minimalnog
   layouta unutar samog Trustindex plugina. Ovi override-i su neškodljivi ako se
   Trustindex klase razlikuju (jednostavno se ne primijene). */
.he-reviews__embed { max-width: 1040px; margin: 0 auto; }

.he-reviews__embed .ti-widget,
.he-reviews__embed .ti-widget * {
  font-family: var(--font-sans) !important;
}
.he-reviews__embed .ti-review-item {
  background: var(--color-surface-container-lowest) !important;
  border: 1px solid var(--color-outline-variant) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.he-reviews__embed .ti-name,
.he-reviews__embed .ti-review-text,
.he-reviews__embed .ti-rating-text,
.he-reviews__embed .ti-widget-title {
  color: var(--color-on-surface) !important;
}
.he-reviews__embed .ti-date,
.he-reviews__embed .ti-footer {
  color: var(--color-on-surface-variant) !important;
}
.he-reviews__embed .ti-star,
.he-reviews__embed .ti-stars svg {
  color: var(--color-heritage-gold) !important;
  fill: var(--color-heritage-gold) !important;
}
.he-reviews__embed a { color: var(--color-secondary) !important; }

/* ---- Trust traka — više zraka, mekše linije ---- */
.he-trust-strip {
  border-color: var(--color-outline-variant);
}

.he-trust-item {
  padding: 40px 28px;
  border-left-color: var(--color-outline-variant);
}

.he-trust-item__title {
  letter-spacing: 0.02em;
  font-size: 13px;
  text-transform: uppercase;
}

/* ---- Kartice proizvoda — profinjeno i mirno ---- */
.he-card__media {
  margin-bottom: 22px;
  background: var(--color-surface-container-low);
}

.he-card__brand {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-on-surface-variant);
}

.he-card__title {
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.005em;
  transition: color .25s ease;
  /* ograniči na 2 reda da se kartice poravnaju (naslovi su često dugački) */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 46px;
}

.he-card:hover .he-card__title {
  color: var(--color-secondary);
}

.he-card__price {
  font-size: 15px;
  color: var(--color-on-surface);
}

/* ---- Kartice kolekcija — finiji natpis ---- */
.he-collection-card__label {
  padding: 32px 28px;
}

.he-collection-card__label .he-headline-md {
  font-size: 26px;
}

/* ---- Dugmad — mrvicu profinjenija ---- */
.he-btn {
  padding: 17px 38px;
  letter-spacing: 0.12em;
}

/* ---- Sekcija razmaci na manjim ekranima ---- */
@media (max-width: 768px) {
  .he-section-header { margin-bottom: 40px; }
  .he-trust-item { padding: 28px 20px; }
}

/* ==========================================================================
   SVIJETLI NEWSLETTER + FOOTER (umjesto tamnih)
   ========================================================================== */

/* ---- Newsletter / CTA traka — čista bijela ploča ---- */
.he-cta-band {
  background: var(--color-surface-container-lowest);
  color: var(--color-on-surface);
  border-top: 1px solid var(--color-outline-variant);
  border-bottom: 1px solid var(--color-outline-variant);
}

.he-cta-band__title { color: var(--color-on-surface); }
.he-cta-band__text { color: var(--color-on-surface-variant); }

.he-newsletter-form input {
  border-bottom: 1px solid var(--color-outline);
  color: var(--color-on-surface);
}
.he-newsletter-form input::placeholder { color: var(--color-outline); }

.he-newsletter-form button {
  border-bottom: 1px solid var(--color-heritage-gold);
  color: var(--color-secondary);
}

.he-newsletter-msg--ok {
  color: var(--color-secondary);
  border-color: var(--color-heritage-gold);
}
.he-newsletter-msg--error {
  color: var(--color-error);
  border-color: var(--color-error);
}

/* ---- Footer — svijetlo sivi, taman tekst, zlatni hover ---- */
.he-footer {
  background: var(--color-surface-container-low);
  color: var(--color-on-surface-variant);
  border-top: 1px solid var(--color-outline-variant);
}

.he-footer__grid {
  border-bottom: 1px solid var(--color-outline-variant);
}

.he-footer__brand .he-logo { color: var(--color-onyx-black); }
.he-footer__tagline { color: var(--color-on-surface-variant); }
.he-footer__heading { color: var(--color-onyx-black); }

.he-footer__link { color: var(--color-on-surface-variant); opacity: 1; }
.he-footer__link:hover { color: var(--color-secondary); }

.he-footer__bottom { color: var(--color-outline); }

.he-footer__socials a {
  color: var(--color-on-surface-variant);
  transition: color .25s ease;
}
.he-footer__socials a:hover { color: var(--color-secondary); }

/* ---- Footer — dodatno dotjerivanje ---- */
.he-footer {
  border-top: 2px solid var(--color-heritage-gold);
  padding-top: 76px;
}

.he-footer__brand .he-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.04em;
}

.he-footer__tagline { margin-top: 14px; line-height: 1.7; }

.he-footer__heading {
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.he-footer__link {
  padding: 7px 0;
  transition: color .2s ease, padding-left .2s ease;
}
.he-footer__link:hover { padding-left: 6px; }

.he-footer__bottom {
  border-top: 1px solid var(--color-outline-variant);
  margin-top: 8px;
}

.he-footer__socials {
  gap: 10px;
}
.he-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--color-outline-variant);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.he-footer__socials a:hover {
  border-color: var(--color-heritage-gold);
  color: var(--color-secondary);
}

/* ==========================================================================
   PROFINJENJA PODSTRANICA — shop, proizvod, usluge
   ========================================================================== */

/* ---- Shop / ponuda ---- */
.he-shop-header { border-bottom-color: var(--color-outline-variant); }
.he-shop-header__title {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.01em;
}

.he-filter-group { border-bottom-color: var(--color-outline-variant); }
.he-filter-group__title { color: var(--color-on-surface); }
.he-filters__clear { display: inline-block; margin-top: 8px; }

.he-pagination { border-top-color: var(--color-outline-variant); }

/* ---- Pojedinačni proizvod ---- */
.he-product-summary__price { letter-spacing: -0.01em; }

/* ---- Cjenovnik graviranja — kartice se dižu na hover ---- */
.he-pricing-card {
  transition: border-color .3s ease, transform .3s ease;
}
.he-pricing-card:hover {
  border-color: var(--color-heritage-gold);
  transform: translateY(-4px);
}

/* ---- Cjenovnik popravke — suptilan pomak reda na hover ---- */
.he-price-row {
  transition: padding-left .25s ease;
}
.he-price-row:hover { padding-left: 8px; }
.he-price-row:hover .he-price-row__price { color: var(--color-secondary); }

/* ---- Forme — bočna ploča usklađena sa svijetlim tonom ---- */
.he-form-aside { background: var(--color-surface-container-low); }
.he-form-aside__item { border-top-color: var(--color-outline-variant); }

/* ---- Shop mreža — više kolona (4, pa 5 na širokim ekranima) ---- */
.he-shop-results .he-product-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* Tablet — 3 kolone */
@media (max-width: 1024px) {
  .he-shop-results .he-product-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Telefon — 2 kolone */
@media (max-width: 760px) {
  .he-shop-results .he-product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   IZDVOJENI SATOVI — beskonačna traka koja se sama vrti (shop, prije footera)
   ========================================================================== */

.he-marquee-section {
  padding: 64px 0 76px;
  border-top: 1px solid var(--color-outline-variant);
  overflow: hidden;
}

.he-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.he-marquee::-webkit-scrollbar { display: none; }
.he-marquee.is-dragging { cursor: grabbing; }

.he-marquee__track {
  display: flex;
  gap: 22px;
  width: max-content;
}

.he-marquee__item {
  flex: 0 0 190px;
  width: 190px;
  color: inherit;
  -webkit-user-drag: none;
}

.he-marquee__item img { -webkit-user-drag: none; }

.he-marquee__media {
  display: block;
  aspect-ratio: 1 / 1.15;
  background: var(--color-surface-container-low);
  overflow: hidden;
  margin-bottom: 16px;
}

.he-marquee__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.he-marquee__item:hover .he-marquee__media img { transform: scale(1.05); }

.he-marquee__name {
  display: block;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 24px;
  margin-bottom: 6px;
  color: var(--color-on-surface);
  transition: color .25s ease;
}

.he-marquee__item:hover .he-marquee__name { color: var(--color-secondary); }

.he-marquee__price {
  display: block;
  text-align: center;
  font-size: 14px;
  color: var(--color-on-surface-variant);
}

@media (max-width: 600px) {
  .he-marquee__item { flex-basis: 150px; width: 150px; }
}

/* ==========================================================================
   FIBOSEARCH — usklađivanje sa dizajnom (u search overlay-u)
   ========================================================================== */

.he-search-overlay .dgwt-wcas-search-wrapp {
  width: 100%;
  max-width: 100%;
}

.he-search-overlay .dgwt-wcas-search-form {
  border-bottom: 2px solid var(--color-onyx-black);
}

.he-search-overlay .dgwt-wcas-sf-wrapp {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.he-search-overlay input.dgwt-wcas-search-input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-serif) !important;
  font-size: 32px !important;
  line-height: 1.25 !important;
  height: auto !important;
  padding: 16px 0 !important;
  color: var(--color-on-surface) !important;
}

.he-search-overlay input.dgwt-wcas-search-input::placeholder {
  color: var(--color-outline-variant) !important;
}

.he-search-overlay .dgwt-wcas-search-submit,
.he-search-overlay .dgwt-wcas-search-submit:hover,
.he-search-overlay .dgwt-wcas-search-submit:focus {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.he-search-overlay .dgwt-wcas-ico-magnifier { fill: var(--color-onyx-black) !important; }

/* Padajući rezultati (FiboSearch ih dodaje na <body>, pa ciljamo globalno) */
.dgwt-wcas-suggestions-wrapp {
  border: 1px solid var(--color-outline-variant) !important;
  border-radius: 0 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
  font-family: var(--font-sans) !important;
}

.dgwt-wcas-suggestion {
  border-radius: 0 !important;
}

.dgwt-wcas-suggestion:hover,
.dgwt-wcas-suggestion-selected {
  background: var(--color-surface-container-low) !important;
}

.dgwt-wcas-st--title,
.dgwt-wcas-st--title strong {
  font-family: var(--font-serif) !important;
  color: var(--color-on-surface) !important;
}

.dgwt-wcas-st-woocommerce-price,
.dgwt-wcas-st-woocommerce-price ins {
  color: var(--color-secondary) !important;
  font-weight: 600 !important;
}

.dgwt-wcas-suggestion-headline span {
  color: var(--color-on-surface-variant) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

@media (max-width: 600px) {
  .he-search-overlay input.dgwt-wcas-search-input { font-size: 22px !important; }
}

/* ==========================================================================
   TRAJNA SEARCH TRAKA U ZAGLAVLJU (ispod glavnog reda navbara)
   ========================================================================== */

.he-header__search {
  border-top: 1px solid var(--color-outline-variant);
  background: var(--color-alabaster-white);
  padding: 10px 0;
}

.he-header__search .he-container {
  display: flex;
  justify-content: center;
}

.he-header__search .dgwt-wcas-search-wrapp,
.he-header__search .dgwt-wcas-sf-wrapp,
.he-header__search form,
.he-header__search .search-form {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.he-header__search .dgwt-wcas-sf-wrapp {
  border-radius: 28px !important;
  overflow: hidden;
}

.he-header__search input[type="search"],
.he-header__search input.dgwt-wcas-search-input {
  border: 1px solid var(--color-outline-variant) !important;
  background: var(--color-surface-container-low) !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  height: 46px !important;
  line-height: normal !important;
  padding: 0 22px !important;
  color: var(--color-on-surface) !important;
  border-radius: 28px !important;
  box-shadow: none !important;
  width: 100% !important;
  padding: 0 22px 0 50px !important;
  transition: border-color .2s ease, background-color .2s ease;
}

.he-header__search input[type="search"]::placeholder,
.he-header__search input.dgwt-wcas-search-input::placeholder {
  color: var(--color-outline) !important;
}

.he-header__search input[type="search"]:focus,
.he-header__search input.dgwt-wcas-search-input:focus {
  border-color: var(--color-heritage-gold) !important;
  background: var(--color-alabaster-white) !important;
  outline: none !important;
}

.he-header__search .dgwt-wcas-search-submit,
.he-header__search .dgwt-wcas-search-submit:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.he-header__search .dgwt-wcas-ico-magnifier { fill: var(--color-on-surface-variant) !important; }

/* Lupa čvrsto na lijevoj strani polja, vertikalno centrirana */
.he-header__search .dgwt-wcas-ico-magnifier,
.he-header__search .dgwt-wcas-ico-magnifier-handler,
.he-header__search .dgwt-wcas-search-submit {
  left: 16px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
}
.he-header__search .dgwt-wcas-ico-magnifier {
  width: 18px !important;
  height: 18px !important;
}

/* Standardna WP forma — ikona desno unutar zaobljenog polja */
.he-header__search .he-search-form {
  position: relative;
  display: block;
  border: none;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.he-header__search .he-search-form__input {
  font-size: 15px !important;
}
.he-header__search .he-search-form__submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-on-surface-variant);
  padding: 6px;
}

/* Razmak ispod zaglavlja: standardno 88px; na stranici ponude (sa search trakom) više. */
body.he-inner-page { padding-top: 88px; }
body.he-inner-page.he-has-searchbar { padding-top: 156px; }

/* ==========================================================================
   BRENDOVI — zid brendova na početnoj
   ========================================================================== */

.he-brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.he-brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 24px;
  text-align: center;
  background: var(--color-alabaster-white);
  border: 1px solid var(--color-outline-variant);
  transition: border-color .25s ease, transform .25s ease;
}

.he-brand-card:hover {
  border-color: var(--color-heritage-gold);
  transform: translateY(-3px);
}

.he-brand-card img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter .25s ease, opacity .25s ease;
}

.he-brand-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.he-brand-card__name {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--color-on-surface);
  transition: color .25s ease;
}

.he-brand-card:hover .he-brand-card__name { color: var(--color-secondary); }

@media (max-width: 600px) {
  .he-brands { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .he-brand-card { min-height: 84px; padding: 16px; }
  .he-brand-card__name { font-size: 16px; }
}

/* Brendovi kao rotirajuća traka */
.he-brand-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.he-brand-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: he-brand-scroll 45s linear infinite;
}

.he-brand-marquee:hover .he-brand-marquee__track { animation-play-state: paused; }

@keyframes he-brand-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.he-brand-marquee .he-brand-card {
  flex: 0 0 180px;
  width: 180px;
}

@media (prefers-reduced-motion: reduce) {
  .he-brand-marquee__track { animation: none; }
}

@media (max-width: 600px) {
  .he-brand-marquee .he-brand-card { flex-basis: 150px; width: 150px; min-height: 84px; }
}

/* Brend logo na stranici proizvoda */
.he-product-summary__brand-logo-link {
  display: inline-block;
  margin-bottom: 14px;
}
.he-product-summary__brand-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

/* Strelice za listanje galerije proizvoda */
.he-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-outline-variant);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-onyx-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background-color .2s ease, border-color .2s ease;
}
.he-gallery-nav:hover {
  background: #fff;
  border-color: var(--color-onyx-black);
}
.he-gallery-nav--prev { left: 14px; }
.he-gallery-nav--next { right: 14px; }

/* ==========================================================================
   PROIZVOD — WhatsApp + OLX dugmad
   ========================================================================== */
.he-product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 8px;
}

.he-btn-viber,
.he-btn-pik {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.he-btn-viber {
  background: #7360f2;
  color: #fff;
  border: 1px solid #7360f2;
}
.he-btn-viber:hover {
  background: #5b4bd4;
  border-color: #5b4bd4;
  color: #fff;
}
.he-btn-viber svg { width: 20px; height: 20px; flex-shrink: 0; }

.he-btn-pik {
  background: #002f34;
  color: #fff;
  border: 1px solid #002f34;
}
.he-btn-pik:hover {
  background: #013e46;
  border-color: #013e46;
  color: #fff;
}

/* "pik" znak (chip na Pik dugmetu) */
.he-pik-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #002f34;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Uploadovan PIK logo — na bijelom chipu da se vidi na tamnom dugmetu.
   Viša specifičnost + !important: WooCommerce postavlja `img { height:auto; max-width:100% }`
   pa bi slika inače popunila cijelu kolonu. Ovako je fiksna i dugme se NE poveća. */
.he-btn-pik .he-pik-logo {
  display: block;
  height: 46px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain;
  box-sizing: border-box;
  flex-shrink: 0;
}
/* Uploadovana Viber ikonica — fiksna visina, ide direktno na ljubičasto dugme. */
.he-btn-viber .he-viber-logo {
  display: block;
  height: 56px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain;
  flex-shrink: 0;
}
/* Kad je logo prisutan, smanji padding dugmeta da ostane kompaktno. */
.he-btn-viber:has(.he-viber-logo) {
  padding-top: 2px;
  padding-bottom: 2px;
}
.he-btn-pik:has(.he-pik-logo) {
  padding-top: 4px;
  padding-bottom: 4px;
}

@media (max-width: 600px) {
  .he-gallery-nav { width: 40px; height: 40px; font-size: 20px; }
}

/* ==========================================================================
   OPIS PROIZVODA — čitljivija tipografija
   ========================================================================== */
.he-tabs__panel[data-tab-panel="description"] {
  max-width: 820px;
  color: var(--color-on-surface-variant);
  line-height: 1.8;
}
.he-tabs__panel[data-tab-panel="description"] p { margin: 0 0 18px; }
.he-tabs__panel[data-tab-panel="description"] strong { color: var(--color-on-surface); }
.he-tabs__panel[data-tab-panel="description"] a {
  color: var(--color-on-surface);
  text-decoration: underline;
  text-decoration-color: var(--color-heritage-gold);
  text-underline-offset: 3px;
}

/* ==========================================================================
   DEKORATIVNE GRAFIKE — zlatni sjaj + suptilni prstenovi (punija stranica)
   ========================================================================== */
.he-section--alt,
.he-page-hero,
.he-cta-band,
.he-section:has(.he-editorial) {
  position: relative;
  overflow: hidden;
}

.he-section--alt > *,
.he-page-hero > *,
.he-cta-band > *,
.he-section:has(.he-editorial) > * {
  position: relative;
  z-index: 1;
}

.he-section--alt::before,
.he-page-hero::before,
.he-cta-band::before,
.he-section:has(.he-editorial)::before {
  content: '';
  position: absolute;
  top: -28%;
  right: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(227, 200, 70, 0.13) 0%, rgba(227, 200, 70, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Suptilni prstenovi (poput brojčanika) u suprotnom uglu alt sekcija */
.he-section--alt::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -140px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 24px, rgba(126, 117, 118, 0.05) 24px 25px);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .he-section--alt::before,
  .he-page-hero::before,
  .he-cta-band::before,
  .he-section:has(.he-editorial)::before { width: 300px; height: 300px; }
  .he-section--alt::after { width: 280px; height: 280px; bottom: -150px; left: -110px; }
}

/* ==========================================================================
   WPC SMART QUICK VIEW — dugme "Brzi pregled" u kartici proizvoda
   ========================================================================== */
.he-card__quick-add .woosq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  background: var(--color-alabaster-white);
  color: var(--color-onyx-black);
  border: 1px solid var(--color-onyx-black);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}

.he-card__quick-add .woosq-btn:hover {
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
}

/* ---- Quick View modal — usklađen sa temom ---- */
.woosq-popup {
  background: var(--color-alabaster-white) !important;
  border-radius: 0 !important;
  max-width: 1000px;
  margin: 24px auto;
  padding: 0 !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.woosq-sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  border-bottom: 1px solid var(--color-outline-variant);
}

.woosq-heading {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--color-on-surface);
}

.woosq-close {
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: var(--color-on-surface-variant);
  transition: color .2s ease;
}
.woosq-close:hover { color: var(--color-onyx-black); }

.woosq-product { padding: 28px !important; }

.woosq-product .product_title,
.woosq-product .entry-title {
  font-family: var(--font-serif) !important;
  font-weight: 400 !important;
  font-size: 27px !important;
  line-height: 1.2 !important;
  color: var(--color-on-surface) !important;
  margin: 0 0 12px !important;
}

.woosq-product .price,
.woosq-product .price .amount,
.woosq-product .price ins {
  font-family: var(--font-serif) !important;
  color: var(--color-on-surface) !important;
  text-decoration: none !important;
}
.woosq-product .price del,
.woosq-product .price del .amount {
  font-family: var(--font-sans) !important;
  color: var(--color-outline) !important;
}

.woosq-product .star-rating { color: var(--color-heritage-gold) !important; }

.woosq-product .woocommerce-product-details__short-description {
  color: var(--color-on-surface-variant);
  margin-bottom: 18px;
}

.woosq-product .cart { margin-top: 18px; }

.woosq-product .woosq-view-details a {
  color: var(--color-on-surface);
  text-decoration: underline;
  text-decoration-color: var(--color-heritage-gold);
  text-underline-offset: 3px;
}

/* ---- Širina sadržaja obične stranice ---- */
.he-page-content--narrow {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-on-surface-variant);
}
.he-page-content--full {
  color: var(--color-on-surface);
}

/* ==========================================================================
   MOBILNI MENI (drawer) — redizajn
   ========================================================================== */

.he-mobile-nav {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Gornja traka: brend + zatvori */
.he-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--space-margin-mobile);
  border-bottom: 1px solid var(--color-outline-variant);
  flex-shrink: 0;
}

.he-mobile-nav__brand {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 0.04em;
  color: var(--color-onyx-black);
}

.he-mobile-nav__close {
  background: none;
  border: none;
  color: var(--color-onyx-black);
  padding: 6px;
  margin: 0;
  line-height: 0;
  cursor: pointer;
}

/* Lista stavki — bez tačkica, veliki tap-target */
.he-mobile-nav__menu {
  list-style: none;
  margin: 0;
  padding: 10px var(--space-margin-mobile) 8px;
  flex: 1;
}

.he-mobile-nav__menu li {
  list-style: none;
  display: block;
}

.he-mobile-nav__link {
  display: block;
  position: relative;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 27px;
  line-height: 1;
  padding: 20px 28px 20px 0;
  border-bottom: 1px solid var(--color-outline-variant);
  color: var(--color-on-surface-variant);
  transition: color .2s ease, padding-left .25s ease;
}

.he-mobile-nav__link::after {
  content: '→';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  color: var(--color-heritage-gold);
  font-size: 18px;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.he-mobile-nav__link:hover,
.he-mobile-nav__link:active {
  color: var(--color-secondary);
  padding-left: 8px;
}

.he-mobile-nav__link:hover::after,
.he-mobile-nav__link:active::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Stagger ulazak stavki kad se meni otvori */
.he-mobile-nav__menu > * {
  opacity: 0;
  transform: translateX(26px);
  transition: opacity .45s ease, transform .45s ease;
}
.he-mobile-nav.is-open .he-mobile-nav__menu > * {
  opacity: 1;
  transform: translateX(0);
}
.he-mobile-nav.is-open .he-mobile-nav__menu > *:nth-child(1) { transition-delay: .08s; }
.he-mobile-nav.is-open .he-mobile-nav__menu > *:nth-child(2) { transition-delay: .14s; }
.he-mobile-nav.is-open .he-mobile-nav__menu > *:nth-child(3) { transition-delay: .20s; }
.he-mobile-nav.is-open .he-mobile-nav__menu > *:nth-child(4) { transition-delay: .26s; }
.he-mobile-nav.is-open .he-mobile-nav__menu > *:nth-child(5) { transition-delay: .32s; }
.he-mobile-nav.is-open .he-mobile-nav__menu > *:nth-child(6) { transition-delay: .38s; }
.he-mobile-nav.is-open .he-mobile-nav__menu > *:nth-child(7) { transition-delay: .44s; }

/* Akcije (nalog / korpa) — kao dva dugmeta */
.he-mobile-nav__actions {
  margin: 0;
  padding: 22px var(--space-margin-mobile) 32px;
  border-top: 1px solid var(--color-outline-variant);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex-shrink: 0;
}

.he-mobile-nav__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  border: 1px solid var(--color-outline);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-on-surface);
  transition: border-color .2s ease, color .2s ease;
}

.he-mobile-nav__action:hover {
  border-color: var(--color-onyx-black);
  color: var(--color-secondary);
}

.he-mobile-nav__action svg { color: var(--color-heritage-gold); }

@media (prefers-reduced-motion: reduce) {
  .he-mobile-nav__menu > * { transition: none; opacity: 1; transform: none; }
}

.he-mobile-toggle { color: var(--color-onyx-black); }

@media (max-width: 600px) {
  .he-header__icons { gap: 16px; }
  .he-mobile-nav__link { font-size: 24px; }
  .he-hero--editorial .he-hero__title { font-size: clamp(34px, 11vw, 46px); }
  .he-cta-band { padding: 56px var(--space-margin-mobile); }
}

/* ==========================================================================
   WOOCOMMERCE — korpa / blagajna / nalog usklađeni sa temom
   ========================================================================== */

/* ---- Dugmad ---- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce-page a.button,
.woocommerce-page button.button {
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
  border: 1px solid var(--color-onyx-black);
  border-radius: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  transition: background-color .3s ease, border-color .3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--color-inverse-surface);
  border-color: var(--color-inverse-surface);
  color: var(--color-alabaster-white);
}

/* Sporedno dugme (npr. "Ažuriraj korpu") — outline */
.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
  background: transparent;
  color: var(--color-onyx-black);
  border-color: var(--color-outline);
}
.woocommerce button[name="update_cart"]:hover,
.woocommerce input[name="update_cart"]:hover {
  background: transparent;
  border-color: var(--color-onyx-black);
  color: var(--color-onyx-black);
}

/* ---- Polja formi ---- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single,
.woocommerce-page form .form-row input.input-text {
  border: 1px solid var(--color-outline);
  border-radius: 0;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-on-surface);
  background: var(--color-alabaster-white);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--color-heritage-gold);
}

.woocommerce form .form-row label,
.woocommerce-checkout label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-on-surface);
}

/* ---- Moj račun: Prijava (odjavljen) + zasebna stranica „Registracija" ---- */
.he-account-auth { max-width: 460px; margin: 0 auto; }

.he-account-auth .he-auth-card,
#customer_login .u-column1,
#customer_login .u-column2 {
  position: relative;
  overflow: hidden;
  border: var(--border-hairline);
  background: var(--color-surface-container-lowest);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(27, 27, 27, 0.08);
  padding: 38px 32px 32px;
}

.he-account-auth .he-auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-heritage-gold), #f7edab, var(--color-heritage-gold));
}

/* Rezervni izgled ako se ikad prikaže podrazumijevani WooCommerce obrazac (2 kolone) */
#customer_login.u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
#customer_login .u-column1,
#customer_login .u-column2 { float: none; width: auto; }

.he-account-auth .he-auth-card h2,
#customer_login h2 {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-outline-variant);
}

.he-auth-kicker {
  margin: 0 0 10px;
  color: var(--color-heritage-gold);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.he-auth-note {
  margin: -2px 0 24px;
  color: var(--color-on-surface-variant);
  font-size: 14px;
  line-height: 1.7;
}

.he-account-auth .woocommerce-form {
  margin-top: 8px;
}

.he-account-auth .woocommerce-form .form-row {
  margin-bottom: 17px;
}

.he-account-auth .woocommerce-form .form-row label:not(.woocommerce-form__label-for-checkbox) {
  display: block;
  margin: 0 0 8px;
  color: var(--color-on-surface);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.he-account-auth .woocommerce-form .form-row .required {
  color: var(--color-heritage-gold);
  font-weight: 700;
}

.he-account-auth .woocommerce-form .form-row input.input-text,
.he-account-auth .woocommerce-form .form-row input[type="text"],
.he-account-auth .woocommerce-form .form-row input[type="email"],
.he-account-auth .woocommerce-form .form-row input[type="password"] {
  appearance: none;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--color-outline-variant);
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 20px rgba(27, 27, 27, 0.04);
  color: var(--color-on-surface);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.2;
  padding: 0 16px;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease, transform .25s ease;
}

.he-account-auth .woocommerce-form .form-row input.input-text:focus,
.he-account-auth .woocommerce-form .form-row input[type="text"]:focus,
.he-account-auth .woocommerce-form .form-row input[type="email"]:focus,
.he-account-auth .woocommerce-form .form-row input[type="password"]:focus {
  background: var(--color-surface-container-lowest);
  border-color: var(--color-heritage-gold);
  box-shadow: 0 0 0 3px rgba(227, 200, 70, 0.18), 0 12px 26px rgba(27, 27, 27, 0.06);
  transform: translateY(-1px);
}

.he-account-auth .woocommerce-form .button,
#customer_login form .button,
.he-account-auth a.he-btn--gold {
  align-items: center;
  background: var(--color-onyx-black);
  border: 1px solid var(--color-onyx-black);
  border-radius: 999px;
  color: var(--color-alabaster-white);
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.12em;
  line-height: 1;
  min-height: 52px;
  padding: 0 28px;
  text-align: center;
  text-transform: uppercase;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
  width: 100%;
}

.he-account-auth .woocommerce-form .button,
#customer_login form .button {
  margin-top: 6px;
}

.he-account-auth .woocommerce-form .button:hover,
.he-account-auth .woocommerce-form .button:focus,
#customer_login form .button:hover,
#customer_login form .button:focus,
.he-account-auth a.he-btn--gold:hover,
.he-account-auth a.he-btn--gold:focus {
  background: var(--color-inverse-surface);
  border-color: var(--color-inverse-surface);
  box-shadow: 0 14px 30px rgba(27, 27, 27, 0.16);
  color: var(--color-alabaster-white);
  transform: translateY(-1px);
}

.he-account-auth .woocommerce-form-login__rememberme,
#customer_login .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
}
.he-account-auth .woocommerce-LostPassword,
#customer_login .woocommerce-LostPassword { margin: 16px 0 0; }
.he-account-auth .woocommerce-privacy-policy-text,
#customer_login .woocommerce-privacy-policy-text { font-size: 12px; color: var(--color-on-surface-variant); }

/* „Nemate račun? / Već imate račun?" red ispod forme */
.he-auth-alt {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-outline-variant);
  text-align: center;
}
.he-auth-alt p { margin: 0 0 14px; font-size: 14px; color: var(--color-on-surface-variant); }

@media (max-width: 760px) {
  #customer_login.u-columns { grid-template-columns: 1fr; gap: 18px; max-width: 460px; }
  .he-account-auth .he-auth-card,
  #customer_login .u-column1,
  #customer_login .u-column2 { padding: 34px 22px 26px; }
}

/* ---- Tabele (korpa, narudžba) ---- */
.woocommerce table.shop_table {
  border: 1px solid var(--color-outline-variant);
  border-radius: 0;
  border-collapse: collapse;
}
.woocommerce table.shop_table th {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
  padding: 16px 14px;
}
.woocommerce table.shop_table td {
  border-top: 1px solid var(--color-outline-variant);
  padding: 16px 14px;
}
.woocommerce table.shop_table .product-name a {
  color: var(--color-on-surface);
  font-family: var(--font-serif);
}
.woocommerce table.shop_table .product-name a:hover { color: var(--color-secondary); }

/* ---- Sažetak korpe / pregled narudžbe ---- */
.woocommerce .cart-collaterals .cart_totals > h2,
.woocommerce-checkout #order_review_heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 16px;
}
.woocommerce .cart_totals table,
.woocommerce-checkout #order_review {
  border: 1px solid var(--color-outline-variant);
}
.woocommerce-checkout #order_review { padding: 8px 24px 24px; }

/* ---- Cijene ---- */
.woocommerce .amount,
.woocommerce .price .amount {
  color: var(--color-on-surface);
  font-weight: 600;
}

/* ---- Količina ---- */
.woocommerce .quantity input.qty {
  border: 1px solid var(--color-outline);
  border-radius: 0;
  padding: 10px;
  width: 64px;
}

/* ---- Obavještenja ---- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce .woocommerce-info {
  border-top: 2px solid var(--color-heritage-gold);
  border-radius: 0;
  background: var(--color-surface-container-low);
  color: var(--color-on-surface);
  font-family: var(--font-sans);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--color-secondary); }
.woocommerce-error { border-top-color: var(--color-error); }
.woocommerce-error::before { color: var(--color-error); }

/* ---- Nalog (My Account) navigacija ---- */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  border: 1px solid var(--color-outline-variant);
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--color-outline-variant);
}
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 14px 18px;
  color: var(--color-on-surface-variant);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: background-color .2s ease, color .2s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--color-surface-container-low);
  color: var(--color-onyx-black);
}

/* ---- Linkovi i akcenti ---- */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { font-size: 14px; }
.woocommerce a.remove {
  color: var(--color-on-surface-variant) !important;
}
.woocommerce a.remove:hover {
  background: var(--color-onyx-black) !important;
  color: var(--color-alabaster-white) !important;
}

/* =============================================
   PREMIUM DIZAJN ZA SLIKOVNE IKONE U FOOTERU
============================================= */

/* Poravnanje i udaljenost donjeg dijela footera */
.he-footer__bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    padding: 20px 0 !important;
    border-top: 1px solid var(--border) !important;
}

/* Slažemo ikone u vodoravni Flexbox */
.he-footer__socials {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Pretvaramo linkove u male diskretne krugove sa staklenim sjajem */
.he-footer__socials a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important; /* Savršen krug */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: var(--transition) !important;
}

/* Na hover, krug svijetli u našoj narančastoj boji */
.he-footer__socials a:hover {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3) !important;
}

/* Prilagođavanje veličine slike unutar kruga */
.he-footer__socials a img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain !important;
    transition: var(--transition) !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* MAGIČNI EFEKT: Ako su ikone u originalu crne ili tamne,
   na hover preko gumba će se automatski pretvoriti u kristalno bijelu boju! */
.he-footer__socials a:hover img {
    filter: brightness(0) invert(1) !important;
}

/* ==========================================================================
   MOBILNA OPTIMIZACIJA — dopune
   ========================================================================== */

/* Spriječi horizontalni pomak (scroll) zbog širokih elemenata */
html { overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }

/* WhatsApp / OLX dugmad uvijek puna širina */
.he-product-actions .he-btn-viber,
.he-product-actions .he-btn-pik { width: 100%; }

/* ---- Stranica proizvoda na telefonu ---- */
@media (max-width: 600px) {
  .he-product { gap: 26px; padding-top: 20px; }
  .he-product-summary__title { font-size: 26px; line-height: 1.2; }
  .he-product-summary__price { font-size: 26px; }
  .he-buy-row { flex-wrap: wrap; }
  .he-buy-row .he-qty-input { flex: 0 0 auto; }
  .he-buy-row .he-btn { flex: 1 1 100%; }
  .he-btn-viber, .he-btn-pik { font-size: 13px; padding: 14px 16px; letter-spacing: 0.03em; }
  .he-product-summary__excerpt { margin-bottom: 24px; padding-bottom: 24px; }
}

/* ---- WooCommerce korpa/blagajna — uredno slaganje na telefonu ---- */
@media (max-width: 768px) {
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tbody tr {
    display: block;
    border: 1px solid var(--color-outline-variant);
    margin-bottom: 14px;
  }
  .woocommerce table.shop_table_responsive tbody tr td {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: auto !important;
    text-align: right;
    border: none !important;
    border-top: 1px solid var(--color-outline-variant) !important;
    padding: 12px 14px !important;
  }
  .woocommerce table.shop_table_responsive tbody tr td:first-child { border-top: none !important; }
  .woocommerce table.shop_table_responsive tbody tr td::before {
    content: attr(data-title);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-on-surface-variant);
  }
  .woocommerce table.shop_table_responsive tbody td.product-remove::before { content: ""; }
  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-checkout #order_review,
  .woocommerce #customer_details {
    width: 100% !important;
    float: none !important;
  }
  .woocommerce-checkout #order_review { padding: 8px 16px 20px; }
  .woocommerce .quantity input.qty { width: 72px; }
  .woocommerce .cart-collaterals .cart_totals { margin-top: 20px; }
}

/* ---- Quick View modal na telefonu ---- */
@media (max-width: 600px) {
  .woosq-popup { margin: 12px auto !important; }
  .woosq-product { padding: 16px !important; }
  .woosq-sidebar-heading { padding: 14px 16px; }
  .woosq-product .product_title,
  .woosq-product .entry-title { font-size: 22px !important; }
}

/* ---- Zaglavlje na vrlo uskim ekranima ---- */
@media (max-width: 380px) {
  .he-header__icons { gap: 12px; }
  .he-logo img { height: 30px; }
}

/* ==========================================================================
   USLUGE — kartice na početnoj (Graviranje / Popravka)
   ========================================================================== */
.he-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.he-service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-alabaster-white);
  border: 1px solid var(--color-outline-variant);
  overflow: hidden;
  color: inherit;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.he-service-card:hover {
  border-color: var(--color-heritage-gold);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

/* Slika / vizual */
.he-service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-container-low);
}

.he-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.he-service-card:hover .he-service-card__media img { transform: scale(1.05); }

.he-service-card__media--empty {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(227, 200, 70, 0.18) 0%, rgba(227, 200, 70, 0) 55%),
    linear-gradient(135deg, var(--color-surface-container-low) 0%, var(--color-surface-container-high) 100%);
}

.he-service-card__icon {
  color: var(--color-heritage-gold);
  line-height: 0;
  opacity: 0.9;
}
.he-service-card__icon svg { width: 64px; height: 64px; }

/* Badge sa cijenom preko slike */
.he-service-card__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--color-onyx-black);
  color: var(--color-alabaster-white);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
  padding: 10px 16px;
}
.he-service-card__badge em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-heritage-gold);
}

/* Tekstualni dio */
.he-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 32px 32px;
}

.he-service-card__title {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--color-on-surface);
}

.he-service-card__text {
  color: var(--color-on-surface-variant);
  margin: 0 0 22px;
  flex: 1;
}

.he-service-card__link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  transition: color .25s ease;
}
.he-service-card:hover .he-service-card__link { color: var(--color-onyx-black); }

@media (max-width: 768px) {
  .he-services { grid-template-columns: 1fr; gap: 16px; }
  .he-service-card__body { padding: 24px 24px 28px; }
  .he-service-card__icon svg { width: 52px; height: 52px; }
}

/* ==========================================================================
   ZAKAZIVANJE — CTA na servisnim stranicama + wrapper kalendara
   ========================================================================== */
.he-page-hero__cta { margin-top: 28px; }

.he-booking {
  max-width: 1040px;
  margin: 0 auto;
}
/* Boje i font BookingPress kalendara se postavljaju u samom pluginu:
   BookingPress → Customize (radi jer se ubacuje unutar Shadow DOM-a). */

/* ==========================================================================
   FINALNI DIZAJN POLISH — premium doradа (početna, shop, proizvod, servis, info)
   ========================================================================== */

/* Zlatni highlight pri selekciji teksta */
::selection { background: rgba(227, 200, 70, 0.28); color: var(--color-onyx-black); }

/* Ujednačeni, mekani prijelazi na svim interaktivnim elementima */
.he-btn,
.he-card,
.he-pricing-card,
.he-value-card,
.he-contact-card,
.he-collection-card,
.he-service-card,
.he-brand-card,
.he-trust-item,
.he-process-step,
.he-nav__link,
.he-footer__link,
.he-product-gallery__thumb {
  transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .3s ease, border-color .25s ease, color .25s ease, background-color .25s ease;
}

/* ---- Dugmad ---- */
.he-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}
.he-btn--gold:hover { transform: translateY(-2px); }

/* ---- Kartice proizvoda (početna + shop) ---- */
.he-card:hover { transform: translateY(-3px); }
.he-card__title { font-feature-settings: "liga" 1; }

/* ---- Trust traka (početna) ---- */
.he-trust-item__icon { display: inline-flex; transition: transform .3s ease; }
.he-trust-item:hover { background: var(--color-surface-container-low); }
.he-trust-item:hover .he-trust-item__icon { transform: scale(1.1); }

/* ---- Kartice: vrijednosti / kontakt / kolekcije ---- */
.he-value-card:hover { transform: translateY(-3px); }
.he-value-card:hover .he-value-card__icon { transform: scale(1.08); }
.he-value-card__icon { display: inline-flex; transition: transform .3s ease; }
.he-contact-card:hover { transform: translateY(-3px); border-color: var(--color-heritage-gold); }
.he-collection-card:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12); }

/* ---- Proces koraci (servisne stranice) ---- */
.he-process-step:hover { transform: translateY(-3px); }
.he-process-step:hover .he-process-step__number { color: var(--color-onyx-black); }
.he-process-step__number { transition: color .3s ease; }

/* ---- Statistika (O nama) — suptilno ---- */
.he-stat:hover .he-stat__number { color: var(--color-secondary); }
.he-stat__number { transition: color .3s ease; }

/* ---- Cjenovnik ---- */
.he-pricing-card__badge { letter-spacing: 0.06em; }

/* ---- Pojedinačni proizvod: buy-box + tabovi ---- */
.he-product-summary__title { letter-spacing: -0.01em; }
.he-tabs__nav button { transition: color .25s ease; }
.he-tabs__nav button:hover { color: var(--color-on-surface); }
.he-product-gallery__thumb:hover { border-color: var(--color-outline); transform: translateY(-2px); }

/* ---- Linkovi u sadržaju (info stranice / blog) ---- */
.he-page-content a { transition: text-decoration-color .25s ease, color .25s ease; }
.he-page-content a:hover { color: var(--color-secondary); }

/* ---- Breadcrumbs (podstranice) — sitno ---- */
.he-breadcrumbs a { transition: color .2s ease; }

/* ---- Fina serif kurziv nota za „eyebrow" zlatnu crticu (dosljednost) ---- */
.he-hero__eyebrow::before,
.he-section-header__eyebrow::before,
.he-page-hero__eyebrow::before { transition: width .3s ease; }

/* Blagi ulaz sekcija pri skrolu (bez JS-a, samo ako browser podržava) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .he-section > .he-container,
    .he-service-intro,
    .he-editorial {
      animation: he-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    @keyframes he-rise {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }
  }
}
/* ==========================================================================
   FOOTER — dorada (kontakt blok, dekor, kredit, ikone)
   ========================================================================== */
.he-footer { position: relative; overflow: hidden; }
.he-footer__glow {
  position: absolute;
  top: -45%;
  right: -6%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227, 200, 70, 0.10) 0%, rgba(227, 200, 70, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.he-footer > .he-container { position: relative; z-index: 1; }

/* Kontakt lista u brend koloni */
.he-footer__contact {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.he-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-on-surface-variant);
}
.he-footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-heritage-gold);
}
.he-footer__contact a { color: var(--color-on-surface-variant); transition: color .2s ease; }
.he-footer__contact a:hover { color: var(--color-secondary); }

/* Kredit dizajnera (ispravka: prije je koristio nepostojeći --orange) */
.he-footer__credit {
  color: var(--color-secondary);
  font-weight: 600;
  transition: color .2s ease;
}
.he-footer__credit:hover { color: var(--color-onyx-black); }

/* Socials — uredni kvadratni chipovi; na hover crni chip + bijela ikona */
.he-footer__socials { gap: 10px; }
.he-footer__socials a {
  width: 38px;
  height: 38px;
  min-width: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-outline-variant);
}
.he-footer__socials a:hover {
  background: var(--color-onyx-black);
  border-color: var(--color-onyx-black);
}
.he-footer__socials img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  transition: transform .2s ease, filter .2s ease;
}
.he-footer__socials a:hover img { transform: scale(1.12); filter: brightness(0) invert(1); }

@media (max-width: 900px) {
  .he-footer__contact { margin-top: 18px; }
}

/* Footer logo */
.he-footer__logo { display: inline-block; margin-bottom: 4px; }
.he-footer__logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
@media (max-width: 600px) {
  .he-footer__logo img { height: 44px; }
}
