/* ============================================
   XN SHOES — Main Stylesheet
   Design: Minimalist luxury, B&W palette
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

/* --- CSS Variables --- */
:root {
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray-light: #F5F5F5;
  --color-gray-mid: #E0E0E0;
  --color-gray-text: #666666;
  --color-gray-dark: #333333;

  /* Accent color — warm terracotta */
  --color-accent: #B8855A;
  --color-accent-light: #F2E8DF;
  --color-accent-dark: #8C5E35;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --header-height: 64px;
  --max-width: 1440px;
  --transition: 300ms ease-in-out;
  --letter-spacing-wide: 0.12em;
  --letter-spacing-normal: 0.06em;
}

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

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-mid);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Home link */
.header-home-link {
  position: absolute;
  left: 40px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-black);
  text-decoration: none;
  transition: opacity var(--transition);
}
.header-home-link:hover {
  opacity: 0.5;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.header-logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

/* Main Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0 20px;
  height: var(--header-height);
  line-height: var(--header-height);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-black);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-gray-text);
}

/* Dropdown */
.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown {
  position: absolute;
  top: calc(var(--header-height) - 1px);
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  border-top: none;
  min-width: 200px;
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.dropdown-link {
  display: block;
  padding: 9px 28px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: var(--letter-spacing-normal);
  text-transform: uppercase;
  color: var(--color-black);
  transition: color var(--transition), background var(--transition);
}

.dropdown-link:hover {
  color: var(--color-gray-text);
  background: var(--color-gray-light);
}

.dropdown-divider {
  height: 1px;
  background: var(--color-gray-mid);
  margin: 8px 0;
}

.dropdown-link.bridal-link {
  margin-top: 8px;
  color: var(--color-gray-dark);
}

/* Header Right */
.header-right {
  position: absolute;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 11px;
  letter-spacing: var(--letter-spacing-normal);
}

.lang-btn {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: var(--letter-spacing-normal);
  text-transform: uppercase;
  color: var(--color-gray-text);
  transition: color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.lang-btn.active {
  color: var(--color-black);
  font-weight: 500;
}

.lang-sep {
  color: var(--color-gray-mid);
  font-size: 11px;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-black);
  transition: color var(--transition);
}

.search-btn:hover {
  color: var(--color-gray-text);
}

.search-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* Mobile menu toggle */
.mobile-lang-row {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  padding: 4px 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-black);
  transition: var(--transition);
  border-radius: 1px;
}

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

.hero {
  position: relative;
  width: 100%;
  /* Landscape slika 2752x1536 ≈ 56:31 — visina = 56vw, max ceo ekran */
  height: clamp(480px, 56.8vw, calc(100vh - var(--header-height)));
  overflow: hidden;
  background: #111;
}

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
}

/* Zoom-in animacija na img */
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform-origin: center center;
  animation: heroZoomIn 7.2s ease-out forwards;
}

@keyframes heroZoomIn {
  from { transform: scale(1.15); }
  to   { transform: scale(1); }
}

@keyframes heroImgZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Overlay — richer gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%),
    linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
}

/* Content */
.hero-content {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px 60px 0;
  color: #fff;
  max-width: 500px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 18px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-accent);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #fff;
}

.hero-title .hero-line {
  display: block;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 36px;
  color: #fff;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 36px;
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 280ms, color 280ms;
}

.hero-cta-primary:hover {
  background: var(--color-accent);
  color: #fff;
}

.hero-cta-secondary {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: color 250ms, border-color 250ms;
}

.hero-cta-secondary:hover {
  color: #fff;
  border-color: #fff;
}

/* Controls */
.hero-controls {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background 300ms, transform 300ms;
  padding: 0;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.hero-progress {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ============================================
   MARQUEE STRIP
   ============================================ */

.marquee-strip {
  overflow: hidden;
  background: var(--color-accent);
  height: 44px;
  position: relative;
  white-space: nowrap;
}

.marquee-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
  padding: 0 12px;
}

.marquee-dot {
  opacity: 0.5;
  font-size: 14px;
}

/* ============================================
   SECTION EYEBROW
   ============================================ */

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-accent);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   EDITORIAL BANNER
   ============================================ */

.editorial-banner {
  width: 100%;
  background: var(--color-accent-light);
}

.editorial-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
}

.editorial-img {
  overflow: hidden;
  position: relative;
}

.editorial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms ease;
}

.editorial-banner:hover .editorial-img img {
  transform: scale(1.04);
}

.editorial-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
}

.editorial-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.editorial-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-accent);
}

.editorial-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #111;
}

.editorial-heading em {
  font-style: italic;
  color: var(--color-accent);
}

.editorial-desc {
  font-size: 14px;
  line-height: 1.85;
  color: #555;
  max-width: 360px;
  margin-bottom: 36px;
}

.editorial-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 3px;
  width: fit-content;
  transition: color 250ms, border-color 250ms;
}

.editorial-link:hover {
  color: #000;
  border-color: #000;
}

/* ============================================
   BRIDAL — updated
   ============================================ */

.bridal-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--color-gray-light));
  pointer-events: none;
}

.bridal-content {
  background: var(--color-gray-light);
}

/* ============================================
   LOOKBOOK — updated grid
   ============================================ */

.lookbook-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3px;
}

.lookbook-item-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lookbook-item {
  overflow: hidden;
  position: relative;
}

.lookbook-item a {
  display: block;
  overflow: hidden;
}

.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms ease;
}

.lookbook-item:hover img {
  transform: scale(1.05);
}

.lookbook-item--large img {
  aspect-ratio: 3/4;
}

.lookbook-item-col .lookbook-item img {
  aspect-ratio: 3/4;
}

.lookbook-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 400ms;
  pointer-events: none;
}

.lookbook-item:hover .lookbook-item-overlay {
  background: rgba(0,0,0,0.08);
}

/* ============================================
   HOME SECTION SPACING
   ============================================ */

.home-new-in {
  padding-top: 90px;
  padding-bottom: 90px;
}

.home-lookbook {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section {
  padding: 80px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.section-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.section-link:hover {
  color: var(--color-gray-text);
  border-color: var(--color-gray-text);
}

/* ============================================
   PRODUCT GRID
   ============================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5mm;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--color-gray-light);
  cursor: pointer;
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, opacity 400ms ease;
}

/* Hover image swap */
.img-primary {
  position: relative;
  z-index: 1;
}

.img-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 400ms ease;
}

.product-card:hover .img-hover {
  opacity: 1;
}

.product-card:hover .img-primary {
  transform: scale(1.04);
}

/* Cursor pointer za lightbox */
.product-card {
  cursor: pointer;
}

.product-card-info {
  padding: 16px 0 24px;
  background: var(--color-white);
}

.product-name {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: var(--letter-spacing-normal);
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--color-black);
}

.product-color {
  font-size: 11px;
  color: var(--color-gray-text);
  letter-spacing: 0.02em;
}

.product-sizes {
  font-size: 10px;
  color: var(--color-gray-text);
  margin-top: 4px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price {
  margin-top: 5px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-black);
}

.price-original {
  text-decoration: line-through;
  color: var(--color-gray-text);
  font-size: 11px;
}

.price-sale {
  color: #c00;
}

.size-chart-trigger {
  font-size: 9px;
  color: var(--color-gray-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  opacity: 0.7;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.size-chart-trigger:hover {
  opacity: 1;
}

/* ============================================
   SIZE CHART MODAL
   ============================================ */
.size-chart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.size-chart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.size-chart-modal {
  background: #fff;
  padding: 48px;
  max-width: 480px;
  width: calc(100% - 40px);
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s;
}

.size-chart-overlay.open .size-chart-modal {
  transform: translateY(0);
}

.size-chart-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-black);
  line-height: 1;
  padding: 0;
}

.size-chart-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.size-chart-subtitle {
  font-size: 11px;
  color: var(--color-gray-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.size-chart-table {
  width: 100%;
  border-collapse: collapse;
}

.size-chart-table th {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-black);
  padding: 10px 16px;
  text-align: center;
  border-bottom: 1px solid #000;
}

.size-chart-table td {
  font-size: 13px;
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--color-gray-border);
  color: var(--color-black);
}

.size-chart-table tr:last-child td {
  border-bottom: none;
}

.size-chart-table tr:nth-child(even) td {
  background: var(--color-gray-light);
}

.size-chart-note {
  font-size: 10px;
  color: var(--color-gray-text);
  margin-top: 20px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  padding: 4px 10px;
}

.product-badge.sale {
  background: var(--color-gray-dark);
}

/* ============================================
   BRIDAL EDITORIAL SECTION
   ============================================ */

.bridal-section {
  width: 100%;
  border-top: 1px solid var(--color-gray-mid);
  border-bottom: 1px solid var(--color-gray-mid);
}

.bridal-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.bridal-image {
  overflow: hidden;
}

.bridal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.bridal-section:hover .bridal-image img {
  transform: scale(1.03);
}

.bridal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background: var(--color-gray-light);
}

.bridal-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-gray-text);
  margin-bottom: 24px;
}

.bridal-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 24px;
}

.bridal-desc {
  font-size: 13px;
  color: var(--color-gray-text);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 40px;
}

.btn-outline {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid var(--color-black);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-black);
  transition: background var(--transition), color var(--transition);
  width: fit-content;
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* ============================================
   LOOKBOOK TEASER
   ============================================ */

.lookbook-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2px;
}

.lookbook-item {
  overflow: hidden;
  position: relative;
}

.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2/3;
  transition: transform 600ms ease;
}

.lookbook-item:first-child img {
  aspect-ratio: 3/4;
}

.lookbook-item:hover img {
  transform: scale(1.04);
}

/* ============================================
   FILTER BAR (Category pages)
   ============================================ */

.page-category-header {
  padding: 60px 40px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--color-gray-mid);
}

.page-category-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 8px;
}

.product-count {
  font-size: 11px;
  color: var(--color-gray-text);
  letter-spacing: 0.04em;
}

.filter-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  border-bottom: 1px solid var(--color-gray-mid);
}

.filter-bar-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.filter-group {
  position: relative;
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-normal);
  text-transform: uppercase;
  color: var(--color-black);
  background: none;
  border: none;
  border-right: 1px solid var(--color-gray-mid);
  cursor: pointer;
  transition: background var(--transition);
}

.filter-toggle:hover {
  background: var(--color-gray-light);
}

.filter-toggle svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  transition: transform var(--transition);
}

.filter-group.open .filter-toggle svg {
  transform: rotate(180deg);
}

.filter-panel {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  border-top: none;
  min-width: 220px;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.filter-group.open .filter-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Size filter */
.size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.size-option {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border: 1px solid var(--color-gray-mid);
  font-size: 12px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}

.size-option input {
  display: none;
}

.size-option:hover {
  border-color: var(--color-black);
}

.size-option.selected,
.size-option input:checked + span {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* Color filter */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.color-swatch input {
  display: none;
}

.swatch-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gray-mid);
  transition: border-color var(--transition), transform var(--transition);
}

.color-swatch:hover .swatch-circle {
  transform: scale(1.1);
  border-color: var(--color-black);
}

.color-swatch input:checked + .swatch-circle {
  border-color: var(--color-black);
  box-shadow: 0 0 0 2px var(--color-white), 0 0 0 3.5px var(--color-black);
}

.swatch-label {
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--color-gray-text);
  text-transform: uppercase;
}

/* Price filter */
.price-ranges {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-option,
.heel-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  font-size: 12px;
}

.price-option input[type="checkbox"],
.heel-option input[type="checkbox"] {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--color-gray-text);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

.price-option input[type="checkbox"]:checked,
.heel-option input[type="checkbox"]:checked {
  background: var(--color-black);
  border-color: var(--color-black);
}

.price-option input[type="checkbox"]:checked::after,
.heel-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: 1.5px solid var(--color-white);
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
}

/* Active filters */
.active-filters {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 56px;
}

.active-filter-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--color-gray-mid);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.active-filter-tag button {
  font-size: 16px;
  line-height: 1;
  color: var(--color-gray-text);
  cursor: pointer;
  background: none;
  border: none;
}

.clear-all-btn {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-gray-text);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 6px 0;
  transition: color var(--transition);
}

.clear-all-btn:hover {
  color: var(--color-black);
}

/* Category product grid */
.category-grid-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 80px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5mm;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--color-gray-text);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ============================================
   LOOKBOOK PAGE
   ============================================ */

/* Lookbook — editorial layout */
.lookbook-editorial {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 0 80px;
}

.lb-duo,
.lb-duo-left,
.lb-duo-right,
.lb-trio {
  gap: 3px;
}

.lb-full {
  width: 100%;
  overflow: hidden;
}

.lb-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 75vw;
  gap: 3px;
}

/* asimetrični par — leva šira (60/40) */
.lb-duo-left {
  display: grid;
  grid-template-columns: 3fr 2fr;
  height: 75vw;
  gap: 3px;
}

/* asimetrični par — desna šira (40/60) */
.lb-duo-right {
  display: grid;
  grid-template-columns: 2fr 3fr;
  height: 75vw;
  gap: 3px;
}

/* trio — tri jednake kolone */
.lb-trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 50vw;
  gap: 3px;
}

/* lb-item se razvlači na visinu reda — nema fiksnog aspect-ratio */
.lb-item {
  overflow: hidden;
}
/* sakrij prazne ćelije (broken img) */
.lb-item:empty {
  display: none;
}

.lb-full {
  aspect-ratio: 3 / 4;
}

.lb-full img,
.lb-full video,
.lb-item img,
.lb-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms ease;
}

.lb-full:hover img,
.lb-full:hover video,
.lb-item:hover img,
.lb-item:hover video {
  transform: scale(1.03);
}

/* Video u lb-full — prirodne proporcije, bez isecanja i bez rastezanja */
.lb-full--video {
  aspect-ratio: unset !important;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-full--video video {
  width: 100% !important;
  height: auto !important;
  max-height: 90vh;
  object-fit: contain !important;
  display: block;
}

/* Video u lb-item (trio/duo panel) — cover zumiira da nema crnih traka */
.lb-item video {
  object-fit: cover !important;
  background: #111;
}

@media (max-width: 768px) {
  /* Sve u jednu kolonu — nema isecanja, nema praznih polja */
  .lb-duo,
  .lb-duo-left,
  .lb-duo-right,
  .lb-trio {
    grid-template-columns: 1fr;
    height: auto;
    gap: 3px;
  }
  .lb-item {
    height: auto;
  }
  .lb-item img,
  .lb-item video,
  .lb-full img {
    width: 100%;
    height: auto;
    object-fit: unset;
  }
  .lb-full {
    height: auto;
    aspect-ratio: unset;
  }
}

/* ============================================
   PRODAJNA MESTA
   ============================================ */

.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--color-gray-mid);
  background: var(--color-gray-mid);
}

.store-card {
  background: var(--color-white);
  padding: 48px 40px;
}

.store-city {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.store-address {
  font-size: 13px;
  color: var(--color-gray-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.store-hours {
  font-size: 12px;
  color: var(--color-gray-text);
  margin-bottom: 8px;
}

.store-phone {
  font-size: 12px;
  margin-top: 16px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1000px;
}

.contact-info-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 32px;
  font-weight: 400;
}

.contact-info-item {
  margin-bottom: 24px;
}

.contact-info-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-gray-text);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 13px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-gray-text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--color-gray-mid);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-black);
  background: transparent;
  outline: none;
  transition: border-color var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--color-black);
}

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

.form-submit {
  display: inline-block;
  padding: 14px 48px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  border: 1px solid var(--color-black);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: var(--font-sans);
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--color-white);
  color: var(--color-black);
}

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

.site-footer {
  border-top: 1px solid var(--color-gray-mid);
  padding: 60px 40px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--color-gray-text);
  line-height: 1.6;
  max-width: 240px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--color-black);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 12px;
  color: var(--color-gray-text);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-black);
}

.footer-instagram {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-gray-text);
  transition: color var(--transition);
  margin-bottom: 12px;
}

.footer-instagram:hover {
  color: var(--color-black);
}

.footer-instagram svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 11px;
  color: var(--color-gray-text);
  letter-spacing: 0.02em;
}

.footer-lang {
  display: flex;
  align-items: center;
  gap: 0;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  padding: 40px 40px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--color-gray-mid);
  margin-bottom: 0;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 8px;
}

.page-hero-desc {
  font-size: 13px;
  color: var(--color-gray-text);
  max-width: 500px;
  line-height: 1.7;
  margin-top: 12px;
}

/* ============================================
   SALE BADGE
   ============================================ */

.sale-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
}

/* ============================================
   UTILITY
   ============================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.product-card[data-hidden="true"] {
  display: none;
}

/* Page fade in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 500ms ease forwards;
}
