/* FMN theme — ported from storenest-webshop/app/templates/fmn */
.sn-theme-fmn {
  --sn-theme-code: 'fmn';
  --fmn-dark: #120F30;
  --fmn-light: #FFFBDD;
  /* Visina cijelog headera za negativni margin heroa */
  --fmn-header-height: 3.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--fmn-light);
}

html:has(.sn-theme-fmn) {
  background-color: var(--fmn-light);
}

@media (min-width: 1024px) {
  .sn-theme-fmn {
    /* top bar + secondary + main nav (logo lg:h-24) */
    --fmn-header-height: 12.5rem;
  }
}

.sn-theme-fmn h1,
.sn-theme-fmn h2,
.sn-theme-fmn .font-serif,
.sn-theme-fmn .hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Header: relative u document flow (nije fiksni) */
.sn-theme-fmn .fmn-header,
.sn-theme-fmn #fmn-header {
  position: relative;
  z-index: 40;
  overflow: visible;
}

.sn-theme-fmn #fmn-nav-shell,
.sn-theme-fmn #fmn-nav-shell nav {
  overflow: visible;
}

.sn-theme-fmn .fmn-main {
  padding-top: 0;
  background-color: var(--fmn-light);
}

.sn-theme-fmn .fmn-main:has(.checkout-page) {
  padding-top: 0;
}

/* Naš proces — sticky scroll track, snap po koraku */
.sn-theme-fmn #our-process {
  scroll-margin-top: var(--fmn-header-height, 3.5rem);
}

.sn-theme-fmn .fmn-our-process__track {
  height: calc(var(--fmn-process-steps, 3) * 100vh);
  position: relative;
}

.sn-theme-fmn .fmn-our-process__sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .sn-theme-fmn .fmn-our-process__sticky {
    flex-direction: row;
    align-items: stretch;
  }
}

.sn-theme-fmn .fmn-our-process__content {
  order: 2;
  padding: 1.5rem 1rem 1.5rem 1.25rem;
}

@media (min-width: 768px) {
  .sn-theme-fmn .fmn-our-process__content {
    padding: 2rem 1.5rem 2rem 2rem;
  }
}

@media (min-width: 1024px) {
  .sn-theme-fmn .fmn-our-process__content {
    order: 1;
    padding: 2.5rem 2rem 2.5rem 2.5rem;
  }
}

.sn-theme-fmn .fmn-our-process__media {
  order: 1;
  position: relative;
  width: 100%;
  height: 16rem;
  flex-shrink: 0;
  background-color: rgba(18, 15, 48, 0.05);
}

@media (min-width: 640px) {
  .sn-theme-fmn .fmn-our-process__media {
    height: 20rem;
  }
}

@media (min-width: 1024px) {
  .sn-theme-fmn .fmn-our-process__media {
    order: 2;
    width: 45%;
    height: auto;
    min-height: 100vh;
  }
}

@media (min-width: 1280px) {
  .sn-theme-fmn .fmn-our-process__media {
    width: 50%;
  }
}

.sn-theme-fmn .fmn-our-process__image {
  opacity: 0;
  transition: opacity 0.55s ease;
  will-change: opacity;
}

.sn-theme-fmn .fmn-our-process__image.is-active {
  opacity: 1;
}

.sn-theme-fmn .fmn-our-process__line {
  position: absolute;
  left: 0.6875rem;
  top: 0;
  width: 2px;
  border-radius: 9999px;
  transform: translateX(-50%);
}

.sn-theme-fmn .fmn-our-process__line--bg {
  bottom: 2.5rem;
  background-color: rgba(18, 15, 48, 0.15);
}

.sn-theme-fmn .fmn-our-process__line--fill {
  background-color: var(--fmn-dark);
  height: 0;
  transition: height 0.35s ease-out;
}

.sn-theme-fmn .fmn-our-process__step.is-active .fmn-our-process__step-title,
.sn-theme-fmn .fmn-our-process__step.is-past .fmn-our-process__step-title {
  color: var(--fmn-dark);
}

.sn-theme-fmn .fmn-our-process__step.is-active .fmn-our-process__step-desc,
.sn-theme-fmn .fmn-our-process__step.is-past .fmn-our-process__step-desc {
  color: rgba(18, 15, 48, 0.9);
}

.sn-theme-fmn .fmn-our-process__step.is-active .fmn-our-process__label,
.sn-theme-fmn .fmn-our-process__step.is-past .fmn-our-process__label {
  color: rgba(18, 15, 48, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .sn-theme-fmn .fmn-our-process__track {
    height: auto;
    min-height: 100vh;
  }

  .sn-theme-fmn .fmn-our-process__sticky {
    position: relative;
    max-height: none;
    overflow: visible;
  }

  .sn-theme-fmn .fmn-our-process__image {
    transition: none;
  }

  .sn-theme-fmn .fmn-our-process__line--fill {
    transition: none;
    height: 100% !important;
  }
}

body.sn-theme-fmn.template-editor-active .fmn-our-process__track {
  height: auto;
  min-height: 100vh;
}

body.sn-theme-fmn.template-editor-active .fmn-our-process__sticky {
  position: relative;
  max-height: none;
  overflow: visible;
}

/* Početna: gornji nav transparentan — logo/nav ispod tamnih traka, preko heroa */
.sn-theme-fmn.fmn-is-home #fmn-nav-shell {
  background: transparent;
}

.sn-theme-fmn.fmn-is-home #fmn-nav-shell.fmn-mega-open,
.sn-theme-fmn.fmn-is-home #fmn-nav-shell.fmn-nav-light {
  background: var(--fmn-light);
}

/* Unutarnje stranice: svijetla navigacija */
.sn-theme-fmn.fmn-is-inner #fmn-nav-shell {
  background: var(--fmn-light);
}

.sn-theme-fmn.fmn-is-inner .fmn-nav-row {
  color: var(--fmn-dark);
}

.sn-theme-fmn.fmn-is-home .fmn-nav-row:not(.fmn-on-light) {
  color: var(--fmn-light);
}

.sn-theme-fmn.fmn-is-home .fmn-nav-row:not(.fmn-on-light) .fmn-header-icon {
  color: var(--fmn-light);
}

.sn-theme-fmn.fmn-is-home .fmn-nav-row:not(.fmn-on-light) .fmn-header-icon:hover {
  opacity: 0.85;
}

.sn-theme-fmn .fmn-nav-shell.fmn-nav-light {
  background: var(--fmn-light);
}

.sn-theme-fmn .fmn-nav-shell.fmn-nav-light .fmn-nav-row,
.sn-theme-fmn .fmn-nav-shell.fmn-mega-open .fmn-nav-row {
  color: var(--fmn-dark);
}

.sn-theme-fmn .fmn-nav-shell.fmn-mega-open {
  background: var(--fmn-light);
}

@media (min-width: 1024px) {
  .sn-theme-fmn .fmn-nav-row {
    min-height: 7.5rem;
  }

  .sn-theme-fmn .fmn-nav-shell.fmn-mega-open .fmn-nav-row {
    min-height: 7.5rem;
  }
}

/* Mega menu — ispod cijelog headera (ispod nav trake s logom) */
.sn-theme-fmn .fmn-mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
}

body.sn-theme-fmn.fmn-mega-active #fmn-header {
  overflow: visible;
}

/* Hero slider wrapper (Next.js parity) */
.sn-theme-fmn .fmn-hero-slider-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
}

.sn-theme-fmn .fmn-hero-slider-wrapper .swiper,
.sn-theme-fmn .fmn-hero-slider-wrapper .swiper-wrapper,
.sn-theme-fmn .fmn-hero-slider-wrapper .swiper-slide {
  height: 100% !important;
}

/* Bijeli logo na početnoj kad je nav transparentan */
.sn-theme-fmn.fmn-is-home .fmn-nav-row:not(.fmn-on-light) .fmn-header-logo img {
  filter: brightness(0) invert(1);
}

.sn-theme-fmn.fmn-is-home .fmn-nav-row.fmn-on-light .fmn-header-logo img {
  filter: none;
}

/* Logo centriran u nav traci (Next.js Header parity) */
.sn-theme-fmn .fmn-header-logo img {
  max-height: min(6rem, 100%);
  width: auto;
}

.sn-theme-fmn ::selection {
  background: var(--fmn-dark);
  color: var(--fmn-light);
}

.sn-theme-fmn .swiper-pagination-bullet {
  background: var(--fmn-dark) !important;
  opacity: 0.3 !important;
}

.sn-theme-fmn .swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 5px !important;
}

.sn-theme-fmn html { scroll-behavior: smooth; }

/* Legacy freitag-derived rules below */

.sn-theme-fmn ::-webkit-scrollbar { width: 8px; }
.sn-theme-fmn ::-webkit-scrollbar-track { background: #f1f1f1; }
.sn-theme-fmn ::-webkit-scrollbar-thumb { background: var(--fmn-olive); border-radius: 4px; }

.sn-theme-fmn .text-blue-600 { color: var(--fmn-olive) !important; }
.sn-theme-fmn .hover\:text-blue-600:hover { color: var(--fmn-olive) !important; }
.sn-theme-fmn .bg-blue-600 { background-color: var(--fmn-olive) !important; }
.sn-theme-fmn .hover\:bg-blue-700:hover { background-color: var(--fmn-olive-dark) !important; }
.sn-theme-fmn .bg-green-600 { background-color: var(--fmn-olive) !important; }
.sn-theme-fmn .hover\:bg-green-700:hover { background-color: var(--fmn-olive-dark) !important; }

.sn-theme-fmn .fmn-hero-slide { min-height: 100vh; height: 100vh; }
.sn-theme-fmn .fmn-product-tile { transition: transform 0.3s ease; }

/* Product card — carousel na listi (referenca FMN webshop) */
/* Categories listing (/products) */
.sn-theme-fmn .fmn-categories-list__row {
  touch-action: manipulation;
}

.sn-theme-fmn .fmn-categories-list__media {
  touch-action: manipulation;
}

.sn-theme-fmn .fmn-categories-list__content p {
  max-width: 52rem;
}

@media (hover: hover) and (pointer: fine) {
  .sn-theme-fmn .fmn-categories-list__row:hover .fmn-categories-list__media img {
    transform: scale(1.05);
  }
}

.sn-theme-fmn .fmn-product-card {
  touch-action: manipulation;
}

.sn-theme-fmn .fmn-product-card__image-link {
  pointer-events: auto;
}

.sn-theme-fmn .fmn-product-card__img {
  opacity: 0;
  pointer-events: none;
}

.sn-theme-fmn .fmn-product-card__img.is-active {
  opacity: 1;
  pointer-events: auto;
}

.sn-theme-fmn .fmn-product-card__nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #000;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font-size: 0.875rem;
  line-height: 1;
  transform: translateY(-50%);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.25s ease, background-color 0.15s ease;
}

.sn-theme-fmn .fmn-product-card__nav--prev {
  left: 0.5rem;
}

.sn-theme-fmn .fmn-product-card__nav--next {
  right: 0.5rem;
}

.sn-theme-fmn .fmn-product-card__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: #d1d5db;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.sn-theme-fmn .fmn-product-card__dot.is-active {
  background: #000;
  transform: scale(1.1);
}

.sn-theme-fmn .fmn-product-card__colors-row {
  gap: 0.375rem;
}

.sn-theme-fmn .fmn-product-card__swatch {
  position: relative;
  width: 0.875rem;
  height: 0.875rem;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #e5e7eb;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

@media (min-width: 768px) {
  .sn-theme-fmn .fmn-product-card__swatch {
    width: 1rem;
    height: 1rem;
  }
}

.sn-theme-fmn .fmn-product-card__swatch.is-selected {
  border-color: #000;
  box-shadow: 0 0 0 1.5px #000;
}

.sn-theme-fmn .fmn-product-card__swatch-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.4rem);
  z-index: 20;
  transform: translateX(-50%) translateY(2px);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: #1f2937;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.sn-theme-fmn .fmn-product-card__swatch-tip::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1f2937;
}

.sn-theme-fmn .fmn-product-card__swatch:hover .fmn-product-card__swatch-tip,
.sn-theme-fmn .fmn-product-card__swatch:focus-visible .fmn-product-card__swatch-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .sn-theme-fmn .fmn-product-card__colors-row--desktop {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .sn-theme-fmn .fmn-product-card:hover .fmn-product-card__colors-row--desktop,
  .sn-theme-fmn .fmn-product-card:focus-within .fmn-product-card__colors-row--desktop {
    opacity: 1;
    pointer-events: auto;
  }

  .sn-theme-fmn .fmn-product-card__swatch:hover {
    border-color: #6b7280;
  }

  .sn-theme-fmn .fmn-product-tile:hover {
    transform: scale(1.02);
  }

  .sn-theme-fmn .fmn-product-card__nav {
    opacity: 0;
    pointer-events: none;
  }

  .sn-theme-fmn .fmn-product-card:hover .fmn-product-card__nav,
  .sn-theme-fmn .fmn-product-card:focus-within .fmn-product-card__nav {
    opacity: 1;
    pointer-events: auto;
  }

  .sn-theme-fmn .fmn-product-card__nav:hover,
  .sn-theme-fmn .fmn-product-card__nav:focus-visible {
    background: #fff;
  }
}

.sn-theme-fmn .fmn-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: inherit;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.sn-theme-fmn .fmn-header-icon:hover {
  opacity: 0.85;
}

.sn-theme-fmn.fmn-is-inner .fmn-header-icon {
  color: var(--fmn-dark);
}

.sn-theme-fmn .fmn-header-icon-svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .sn-theme-fmn .fmn-header-icon-svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* Badge košarice — vidljiv samo kad ima stavki */
.sn-theme-fmn #header-cart-count,
.sn-theme-fmn .fmn-header-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  pointer-events: none;
}

.sn-theme-fmn #header-cart-count:has(.fmn-cart-badge),
.sn-theme-fmn #header-cart-count:has(.sn-cart-badge),
.sn-theme-fmn .fmn-header-cart-count:has(.fmn-cart-badge),
.sn-theme-fmn .fmn-header-cart-count:has(.sn-cart-badge) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sn-theme-fmn.fmn-is-home .fmn-nav-row:not(.fmn-on-light) .fmn-cart-badge {
  background: var(--fmn-light);
  color: var(--fmn-dark);
  border-color: transparent;
}

.sn-theme-fmn.fmn-is-inner .fmn-cart-badge,
.sn-theme-fmn .fmn-nav-row.fmn-on-light .fmn-cart-badge {
  background: var(--fmn-dark);
  color: var(--fmn-light);
  border-color: var(--fmn-light);
}

.sn-theme-fmn .fmn-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border: 2px solid #fff;
  border-radius: 9999px;
  background: #000;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.sn-theme-fmn .variation-attr-btn.is-selected,
.sn-theme-fmn .variation-btn.is-selected {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

.sn-theme-fmn .variation-attr-btn:not(.is-selected):not(:disabled):hover,
.sn-theme-fmn .variation-btn:not(.is-selected):not(:disabled):hover {
  background-color: #000 !important;
  color: #fff !important;
}

.sn-theme-fmn .fmn-qty-input {
  -moz-appearance: textfield;
  appearance: textfield;
}

.sn-theme-fmn .fmn-checkout-option.is-selected,
.sn-theme-fmn .fmn-checkout-option:has(input:checked) {
  background-color: var(--fmn-dark) !important;
  color: var(--fmn-light) !important;
  border-color: var(--fmn-dark) !important;
}

.sn-theme-fmn .fmn-checkout-option:not(.is-selected):not(:has(input:checked)):hover {
  background-color: rgba(18, 15, 48, 0.05) !important;
  color: var(--fmn-dark) !important;
  border-color: var(--fmn-dark) !important;
}

.sn-theme-fmn .fmn-checkout-option {
  background-color: var(--fmn-light);
  color: var(--fmn-dark);
  border-color: rgba(18, 15, 48, 0.22);
}

.sn-theme-fmn .fmn-input {
  background-color: var(--fmn-light);
  color: var(--fmn-dark);
  border-color: rgba(18, 15, 48, 0.22);
}

.sn-theme-fmn .fmn-input::placeholder {
  color: rgba(18, 15, 48, 0.4);
}

.sn-theme-fmn .fmn-input:focus {
  outline: none;
  border-color: var(--fmn-dark);
  box-shadow: 0 0 0 1px var(--fmn-dark);
}

.sn-theme-fmn .fmn-checkout-panel {
  background-color: var(--fmn-light);
  border: 1px solid var(--fmn-dark);
  box-shadow: 0 1px 0 rgba(18, 15, 48, 0.06);
}

.sn-theme-fmn .fmn-checkout-panel__header {
  border-bottom: 1px solid var(--fmn-dark);
  background-color: var(--fmn-light);
}

.sn-theme-fmn .fmn-checkout-btn {
  border: 1px solid var(--fmn-dark);
  color: var(--fmn-dark);
  background-color: var(--fmn-light);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.sn-theme-fmn .fmn-checkout-btn:hover:not(:disabled) {
  background-color: var(--fmn-dark);
  color: var(--fmn-light);
}

.sn-theme-fmn .fmn-checkout-btn--primary {
  background-color: var(--fmn-dark);
  color: var(--fmn-light);
}

.sn-theme-fmn .fmn-checkout-btn--primary:hover:not(:disabled) {
  opacity: 0.9;
}

.sn-theme-fmn .fmn-checkout-btn:focus-visible {
  outline: 2px solid var(--fmn-dark);
  outline-offset: 2px;
}

@media (min-width: 1024px) {
  .sn-theme-fmn .checkout-page .lg\:flex {
    align-items: flex-start;
  }
}

.sn-theme-fmn .fmn-hero-swiper .swiper-pagination-bullet-active {
  background: #fff !important;
}

.sn-theme-fmn .sn-cart-qty-input {
  -moz-appearance: textfield;
  appearance: textfield;
}
.sn-theme-fmn .sn-cart-qty-input::-webkit-outer-spin-button,
.sn-theme-fmn .sn-cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Cart page */
.sn-theme-fmn .fmn-cart-items,
.sn-theme-fmn .fmn-cart-summary {
  background-color: var(--fmn-light);
}

.sn-theme-fmn .fmn-cart-checkout-btn:focus-visible {
  outline: 2px solid var(--fmn-dark);
  outline-offset: 2px;
}

.sn-theme-fmn .fmn-qty-btn:focus-visible {
  outline: 2px solid var(--fmn-dark);
  outline-offset: 1px;
}

/* Legal page */
.sn-theme-fmn .fmn-legal-page {
  background-color: var(--fmn-light);
}

.sn-theme-fmn .fmn-legal-card {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sn-theme-fmn .fmn-legal-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.sn-theme-fmn .fmn-legal-card__header {
  position: relative;
  padding-left: 1.75rem;
}

@media (min-width: 768px) {
  .sn-theme-fmn .fmn-legal-card__header {
    padding-left: 2.25rem;
  }
}

.sn-theme-fmn .fmn-legal-card__header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--fmn-olive);
}

.sn-theme-fmn .fmn-legal-editor-zone {
  border-radius: 0;
}

.sn-theme-fmn .fmn-legal-editor-zone .editor-edit-btn {
  top: 1rem;
  right: 1rem;
}

.sn-theme-fmn.template-editor-active .fmn-legal-nav {
  top: calc(2rem + 2.5rem + 4rem);
}

@media (min-width: 768px) {
  .sn-theme-fmn.template-editor-active .fmn-legal-nav {
    top: calc(2rem + 2.5rem + 5rem);
  }
}

.sn-theme-fmn.fmn-scrolled .fmn-legal-nav,
body.sn-theme-fmn.fmn-scrolled .fmn-legal-nav {
  top: calc(4rem + 1px);
}

@media (min-width: 768px) {
  .sn-theme-fmn.fmn-scrolled .fmn-legal-nav,
  body.sn-theme-fmn.fmn-scrolled .fmn-legal-nav {
    top: calc(5rem + 1px);
  }
}

.sn-theme-fmn.template-editor-active.fmn-scrolled .fmn-legal-nav,
body.sn-theme-fmn.template-editor-active.fmn-scrolled .fmn-legal-nav {
  top: calc(2rem + 4rem + 1px);
}

@media (min-width: 768px) {
  .sn-theme-fmn.template-editor-active.fmn-scrolled .fmn-legal-nav,
  body.sn-theme-fmn.template-editor-active.fmn-scrolled .fmn-legal-nav {
    top: calc(2rem + 5rem + 1px);
  }
}

.sn-theme-fmn .fmn-legal-prose a {
  color: var(--fmn-olive);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sn-theme-fmn .fmn-legal-prose a:hover {
  color: var(--fmn-olive-dark);
}

/* Account area */
.sn-theme-fmn .fmn-account-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000;
}

.sn-theme-fmn .fmn-account-input {
  width: 100%;
  border: 1px solid #000;
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #000;
}

.sn-theme-fmn .fmn-account-input::placeholder {
  color: #9ca3af;
}

.sn-theme-fmn .fmn-account-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px #000;
}

.sn-theme-fmn .fmn-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.sn-theme-fmn .fmn-account-btn--primary {
  border: 1px solid #000;
  color: #000;
  background: #fff;
}

.sn-theme-fmn .fmn-account-btn--primary:hover {
  background: #000;
  color: #fff;
}

.sn-theme-fmn .fmn-account-btn--secondary {
  border: 1px solid #000;
  color: #000;
  background: #fff;
}

.sn-theme-fmn .fmn-account-btn--secondary:hover {
  opacity: 0.7;
}

.sn-theme-fmn .fmn-account-alert {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border: 1px solid;
}

.sn-theme-fmn .fmn-account-alert--success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.sn-theme-fmn .fmn-account-alert--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.sn-theme-fmn .fmn-account-card-link {
  display: block;
  padding: 1.5rem;
  border: 1px solid #000;
  background: #fff;
  transition: opacity 0.2s ease;
}

.sn-theme-fmn .fmn-account-card-link:hover {
  opacity: 0.85;
}

.sn-theme-fmn .fmn-account-order-card {
  border: 1px solid #000;
  background: #fff;
  transition: opacity 0.2s ease;
}

.sn-theme-fmn .fmn-account-order-card:hover {
  opacity: 0.75;
}

.sn-theme-fmn .fmn-account-panel {
  border: 1px solid #000;
  background: #fff;
}

.sn-theme-fmn .fmn-account-panel__header {
  border-bottom: 1px solid #000;
  padding: 1rem 1.5rem;
  background: #fff;
}

.sn-theme-fmn .fmn-account-panel__body {
  padding: 1.5rem;
}

.sn-theme-fmn .fmn-account-auth {
  background: #fff;
}

/* Cart added modal */
.fmn-cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.fmn-cart-modal__viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.fmn-cart-modal__panel {
  position: relative;
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border: 1px solid #000;
  padding: 1.5rem;
  pointer-events: auto;
  animation: fmn-cart-modal-in 0.22s ease;
}

@keyframes fmn-cart-modal-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fmn-cart-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: #000;
  transition: opacity 0.2s ease;
}

.fmn-cart-modal__close:hover {
  opacity: 0.55;
}

.fmn-cart-modal__close-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.fmn-cart-modal__status {
  margin-bottom: 1rem;
}

.fmn-cart-modal__status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #000;
  color: #000;
}

.fmn-cart-modal__status-icon svg {
  width: 1rem;
  height: 1rem;
}

.fmn-cart-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fmn-olive);
}

.fmn-cart-modal__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  line-height: 1.3;
}

.fmn-cart-modal__product {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.fmn-cart-modal__image-wrap {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  overflow: hidden;
}

.fmn-cart-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fmn-cart-modal__product-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  line-height: 1.45;
}

.fmn-cart-modal__hint {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4b5563;
}

.fmn-cart-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 480px) {
  .fmn-cart-modal__actions {
    flex-direction: row;
  }
}

.fmn-cart-modal__btn {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.fmn-cart-modal__btn--secondary {
  border: 1px solid #000;
  color: #000;
  background: #fff;
}

.fmn-cart-modal__btn--secondary:hover {
  background: #000;
  color: #fff;
}

.fmn-cart-modal__btn--primary {
  border: 1px solid #000;
  color: #fff;
  background: #000;
}

.fmn-cart-modal__btn--primary:hover {
  background: var(--fmn-olive);
  border-color: var(--fmn-olive);
}

/* Search modal + autocomplete */
body.fmn-search-open {
  overflow: hidden;
}

.fmn-search-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  overflow-y: auto;
}

.fmn-search-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
}

.fmn-search-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  min-height: 100vh;
  padding: 1.5rem 1rem 2rem;
  animation: fmn-search-modal-in 0.22s ease;
}

@media (min-width: 768px) {
  .fmn-search-modal__panel {
    padding: 3rem 1.5rem 2rem;
  }
}

@keyframes fmn-search-modal-in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fmn-search-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.fmn-search-modal__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fmn-olive);
}

.fmn-search-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #000;
  transition: opacity 0.2s ease;
}

.fmn-search-modal__close:hover {
  opacity: 0.55;
}

.fmn-search-modal__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.fmn-search-modal__hint {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.fmn-search-form {
  position: relative;
}

.fmn-search-form__field {
  display: flex;
  align-items: stretch;
  border: 1px solid #000;
  background: #fff;
}

.fmn-search-form--page .fmn-search-form__field {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.fmn-search-form__icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin: auto 0 auto 1rem;
  color: #000;
}

.fmn-search-form__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 1rem 0.75rem;
  font-size: 1rem;
  color: #000;
}

.fmn-search-form__input:focus {
  outline: none;
}

.fmn-search-form__input::placeholder {
  color: #9ca3af;
}

.fmn-search-form__submit {
  flex-shrink: 0;
  border: 0;
  border-left: 1px solid #000;
  background: #000;
  color: #fff;
  padding: 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.fmn-search-form__submit:hover {
  background: var(--fmn-olive);
}

.fmn-search-suggest {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: min(24rem, 60vh);
  overflow: auto;
  border: 1px solid #000;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.fmn-search-form--page .fmn-search-suggest {
  position: relative;
  top: 0.75rem;
}

.fmn-search-suggest__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  color: #000;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.fmn-search-suggest__item:last-child {
  border-bottom: 0;
}

.fmn-search-suggest__item:hover,
.fmn-search-suggest__item.is-active {
  background: #f9fafb;
}

.fmn-search-suggest__image {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}

.fmn-search-suggest__image--empty {
  display: block;
}

.fmn-search-suggest__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.fmn-search-suggest__name {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
}

.fmn-search-suggest__price {
  font-size: 0.8125rem;
  color: #4b5563;
}

/* Header — hamburger samo na mobilu */
@media (min-width: 1024px) {
  .sn-theme-fmn .fmn-header-menu-btn,
  .sn-theme-fmn #fmn-mobile-menu {
    display: none !important;
  }
}

/* Contact page */
.fmn-contact-editor-zone .editor-edit-btn {
  top: 0.5rem;
  right: 0.5rem;
}

.fmn-contact-info {
  border: 1px solid #000;
  padding: 1.5rem;
  background: #fff;
}

.fmn-contact-info__title {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
}

.fmn-contact-info__list {
  margin: 0;
}

.fmn-contact-info__item + .fmn-contact-info__item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.fmn-contact-info__item dt {
  margin: 0 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.fmn-contact-info__item dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #000;
}

.fmn-contact-info__item a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fmn-contact-info__item a:hover {
  color: var(--fmn-olive);
}

.fmn-contact-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
}

.fmn-contact-input {
  display: block;
  width: 100%;
  border: 1px solid #000;
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #000;
}

.fmn-contact-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px #000;
}

.fmn-contact-input.is-invalid {
  border-color: #dc2626;
}

.fmn-contact-input::placeholder {
  color: #9ca3af;
}

.fmn-contact-input--textarea {
  min-height: 9rem;
}

.fmn-contact-upload {
  border: 2px dashed #d1d5db;
  padding: 2rem 1rem;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fmn-contact-upload.is-dragover {
  border-color: #000;
  background: #f9fafb;
}

.fmn-contact-upload__icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  color: #9ca3af;
}

.fmn-contact-upload__text {
  font-size: 0.75rem;
  color: #4b5563;
}

.fmn-contact-upload__link {
  cursor: pointer;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fmn-contact-upload__link:hover {
  opacity: 0.7;
}

.fmn-contact-upload__hint {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  color: #9ca3af;
}

.fmn-contact-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .fmn-contact-preview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fmn-contact-preview__item {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.fmn-contact-preview__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fmn-contact-preview__remove {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.fmn-contact-submit {
  width: 100%;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  padding: 0.875rem 1.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.fmn-contact-submit:hover {
  background: #000;
  color: #fff;
}

.fmn-contact-form.is-submitting .fmn-contact-submit {
  opacity: 0.6;
  cursor: wait;
}

.fmn-contact-form__alert {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border: 1px solid;
}

.fmn-contact-form__alert.is-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.fmn-contact-form__alert.is-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Smart editor modal — gumbi vidljivi na bijeloj pozadini */
.sn-theme-fmn #template-editor-modal .template-editor-btn {
  background-color: #fff;
  color: #120F30;
  border-color: rgba(18, 15, 48, 0.22);
}

.sn-theme-fmn #template-editor-modal .template-editor-btn:hover {
  background-color: #f9fafb;
  color: #120F30;
}
