/* ========================================================
   RAKIJA A'STORIA - Shared Stylesheet
   ======================================================== */

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

:root {
  --gold:        #c9a84c;
  --gold-light:  #e2c47a;
  --gold-dark:   #9a7c30;
  --bg:          #0d0d0f;
  --bg2:         #131316;
  --bg3:         #1a1a1e;
  --glass:       rgba(255,255,255,.04);
  --glass-b:     rgba(255,255,255,.08);
  --text:        #f2ede0;
  --text-muted:  #9898a8;
  --border:      rgba(201,168,76,.22);
  --glow:        rgba(201,168,76,.18);
  --nav-h:       78px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

/* grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-dark), var(--gold)); border-radius: 2px; }

/* ---------- UTILITIES ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9.5px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  width: fit-content;
}
.label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 18px;
  letter-spacing: -.02em;
  line-height: 1.18;
}
.subtitle { font-size: 1rem; color: var(--text-muted); font-weight: 300; max-width: 580px; }

.divider {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), transparent);
  margin: 22px 0;
}

section { padding: 100px 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all .35s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .55s;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 4px 32px var(--glow);
}
.btn-solid {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--bg);
  border-color: transparent;
  font-weight: 700;
}
.btn-solid:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-light));
  border-color: transparent;
  box-shadow: 0 6px 40px rgba(201,168,76,.4);
}
/* Outline variant - transparentna pozadina, zlatni border (isti efekat kao .btn base) */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: rgba(201,168,76,.6);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ---------- NAV ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .4s, border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(13,13,15,.96);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 48px rgba(0,0,0,.5);
}
#navbar.scrolled::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.5), transparent);
  pointer-events: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; }
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity .25s;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .25s;
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  padding: 9px 22px !important;
  border: 1px solid rgba(201,168,76,.45) !important;
  color: var(--gold) !important;
  background: rgba(201,168,76,.07) !important;
  transition: all .3s !important;
  backdrop-filter: blur(8px);
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 4px 24px var(--glow) !important;
}
.nav-cta::after { display: none !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--text); transition: all .28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(13,13,15,.98);
  backdrop-filter: blur(24px) saturate(1.4);
  padding: 28px 16px 40px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-muted); transition: color .22s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ---------- PAGE HERO (sub-pages) ---------- */
.page-hero {
  position: relative;
  height: 44vh;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.48) saturate(.85);
  transform: scale(1.04);
  transition: transform 9s ease;
}
.page-hero:hover .page-hero-bg { transform: scale(1); }
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,15,.88) 0%, rgba(13,13,15,.1) 65%, transparent 100%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-content .label { margin-bottom: 10px; }
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: #fff;
  letter-spacing: -.025em;
}

/* ---------- FOOTER ---------- */
footer {
  background: #090909;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .4;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer-logo-link { display: inline-block; }
.footer-logo {
  height: 140px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: .9;
  transition: opacity .25s;
}
.footer-logo:hover { opacity: 1; }
.footer-brand-desc {
  font-size: .86rem;
  color: var(--text-muted);
  max-width: 270px;
  line-height: 1.8;
  margin-top: 20px;
}
.footer-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .86rem; color: var(--text-muted); transition: color .22s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .78rem; color: var(--text-muted); }
.footer-bottom .legal { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold); font-size: .82rem; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.95);
  display: none; align-items: center; justify-content: center;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lb-close {
  position: fixed; top: 22px; right: 28px;
  font-size: 34px; line-height: 1;
  background: none; border: none;
  color: var(--text-muted); cursor: pointer; transition: color .22s;
  font-family: sans-serif;
}
.lb-close:hover { color: var(--gold); }
.lb-caption {
  position: fixed; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif; font-style: italic;
  color: var(--text-muted); font-size: .92rem; white-space: nowrap;
}
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,13,15,.72);
  border: 1px solid rgba(201,168,76,.18);
  color: rgba(242,237,224,.55);
  cursor: pointer; z-index: 9999; user-select: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(201,168,76,.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}
.lb-prev:disabled, .lb-next:disabled { opacity: .18; cursor: default; transform: translateY(-50%); }
.lb-prev svg, .lb-next svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }
.d4 { transition-delay: .48s; }

/* ---------- PRODUCT CARDS ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2px;
}
.product-card {
  position: relative; overflow: hidden;
  aspect-ratio: 1; background: var(--bg3); cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  transition: box-shadow .4s, transform .4s cubic-bezier(.22,1,.36,1);
}
.product-card.hidden { display: none; }
.product-card:hover {
  box-shadow: 0 16px 56px rgba(0,0,0,.7), 0 0 0 1px rgba(201,168,76,.3);
  transform: translateY(-3px);
}
.product-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s ease, filter .4s;
  filter: brightness(.82) saturate(.9);
}
.product-card:hover img { transform: scale(1.07); filter: brightness(.65) saturate(1.15); }
.product-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,15,.92) 0%, transparent 52%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 22px;
  transition: background .35s;
}
.product-card:hover .product-overlay {
  background: linear-gradient(to top, rgba(13,13,15,.96) 0%, rgba(13,13,15,.18) 100%);
}
.product-type {
  font-size: 9px; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 5px;
}
.product-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: #fff; margin-bottom: 5px; }
.product-desc {
  font-size: 11.5px; color: rgba(242,237,224,.6);
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s; line-height: 1.5;
}
.product-card:hover .product-desc { opacity: 1; transform: translateY(0); }

/* ---------- FILTER TABS ---------- */
.filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-tab {
  padding: 9px 24px; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 9.5px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  cursor: pointer; transition: all .28s;
  background: transparent; font-family: 'Inter', sans-serif;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--gold); border-color: var(--gold); color: var(--bg);
  box-shadow: 0 4px 20px var(--glow);
}

/* ---------- GALLERY STRIP ---------- */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  margin-top: 72px;
}
.gs-item { aspect-ratio: 1; overflow: hidden; cursor: pointer; position: relative; }
.gs-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.6) saturate(.8);
  transition: transform .5s ease, filter .35s;
}
.gs-item:hover img { transform: scale(1.08); filter: brightness(.95) saturate(1.15); }
.gs-item::after {
  content: ''; position: absolute; inset: 0;
  border: 2px solid transparent; transition: border-color .28s; pointer-events: none;
}
.gs-item:hover::after { border-color: rgba(201,168,76,.55); }

/* ---------- KONTAKT FORM ---------- */
.kontakt-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 9.5px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 13px 15px;
  font-family: 'Inter', sans-serif; font-size: .9rem;
  outline: none; transition: border-color .25s, box-shadow .25s; resize: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--glow);
}
.form-group textarea { min-height: 110px; }
.form-group select option { background: var(--bg2); }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.form-success {
  display: none; margin-top: 10px; padding: 13px;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: .88rem; text-align: center;
}

/* ---------- KONTAKT INFO ITEMS ---------- */
.kontakt-info { display: flex; flex-direction: column; gap: 28px; }
.kontakt-item { display: flex; gap: 18px; align-items: flex-start; }
.k-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--glass);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.k-body h4 {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 5px;
}
.k-body p, .k-body a { font-size: .94rem; color: var(--text-muted); line-height: 1.6; }
.k-body a:hover { color: var(--gold); }

/* ---------- MAP ---------- */
.map-wrap {
  height: 360px; overflow: hidden;
  border: 1px solid var(--border); position: relative;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  filter: grayscale(1) invert(.88) hue-rotate(175deg) brightness(.8);
  border: 0;
}
.map-label {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(13,13,15,.94);
  border: 1px solid var(--border);
  padding: 14px 20px;
  backdrop-filter: blur(10px);
}
.map-label h4 {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 5px;
}
.map-label p { font-size: .83rem; color: var(--text-muted); }

.map-wrapper { overflow: hidden; border: 1px solid var(--border); }
.map-wrapper iframe {
  filter: grayscale(1) invert(.88) hue-rotate(175deg) brightness(.8);
  display: block;
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-dl {
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-dl dt {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
  margin-top: 24px; margin-bottom: 6px;
}
.contact-dl dt:first-child { margin-top: 0; }
.contact-dl dd {
  margin: 0; color: var(--text-muted);
  font-size: .94rem; line-height: 1.7;
}
.contact-dl dd a {
  color: var(--text-muted); display: block; transition: color .22s;
}
.contact-dl dd a:hover { color: var(--gold); }

.contact-map {
  margin-top: 40px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.contact-map iframe {
  display: block; width: 100%; height: 260px;
  border: 0;
}

.contact-form-wrap {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: 40px 36px;
  position: sticky;
  top: calc(var(--nav-h) + 28px);
}
.form-wrap-header { margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .btn { align-self: flex-start; }

.has-error input,
.has-error textarea,
.has-error select {
  border-color: rgba(231,76,60,.75) !important;
  box-shadow: 0 0 0 3px rgba(231,76,60,.08);
}
.field-error { font-size: .78rem; color: #e05252; margin-top: 1px; }

.form-check label {
  display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
  font-size: .83rem; color: var(--text-muted); line-height: 1.65;
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.form-check input[type="checkbox"] {
  width: 15px; height: 15px; flex-shrink: 0;
  margin-top: 3px; accent-color: var(--gold);
  cursor: pointer;
}
.form-check a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.form-success {
  display: block;
  text-align: center; padding: 40px 28px;
  border: 1px solid rgba(201,168,76,.3);
  background: rgba(201,168,76,.04);
}
.form-success h3 {
  font-family: 'Playfair Display', serif; font-size: 1.8rem;
  color: var(--gold); font-weight: 400; margin-bottom: 14px;
  letter-spacing: -.02em;
}
.form-success p { color: var(--text-muted); font-size: .9rem; line-height: 1.75; }
.form-success .form-success-icon {
  font-size: 2.4rem; color: var(--gold); opacity: .6; margin-bottom: 18px;
  line-height: 1;
}

/* ---------- CTA BLOCK ---------- */
.cta-block {
  display: grid;
  grid-template-columns: 1fr auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,.1), transparent);
}
.cta-block-watermark {
  position: absolute;
  right: 260px; bottom: -28px;
  font-family: 'Playfair Display', serif;
  font-size: 140px;
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  opacity: .04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.cta-main { padding: 56px 60px; }
.cta-main h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-main h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.cta-main p { color: var(--text-muted); font-size: .93rem; max-width: 420px; margin-bottom: 36px; line-height: 1.7; }
.cta-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-side {
  padding: 56px 52px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 260px;
  background: rgba(255,255,255,.02);
}
.cta-side-label {
  font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.cta-side-label::before {
  content: ''; display: block; width: 20px; height: 1px;
  background: var(--gold);
}
.cta-phone {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--text);
  display: block; margin-bottom: 8px;
  transition: color .22s;
}
.cta-phone:hover { color: var(--gold); }
.cta-email {
  font-size: .84rem; color: var(--text-muted);
  margin-top: 14px; display: block;
  transition: color .22s;
}
.cta-email:hover { color: var(--gold); }

/* ---------- HERO (homepage) ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 22s ease-out alternate infinite;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.12) translate(-1%, -1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, transparent 30%, rgba(13,13,15,.72) 80%, rgba(13,13,15,.92) 100%),
    linear-gradient(180deg, rgba(13,13,15,.35) 0%, rgba(13,13,15,.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
}
.hero-text { max-width: 640px; }
.hero-eyebrow {
  font-size: 9.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-title {
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-scroll span {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .25; transform: scaleY(.35); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ---------- INTRO STRIP (stats) ---------- */
.intro-strip {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0; /* override globalnog section { padding: 100px 0 } */
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--border);
  position: relative;
}
.strip-item:last-child { border-right: none; }
.strip-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .5s cubic-bezier(.22,1,.36,1);
}
.strip-item:hover::before { width: 100%; }
.strip-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
}
.strip-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- STORY GRID (O nama teaser) ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  filter: brightness(.88) saturate(.9);
  transition: filter .6s;
}
.story-img:hover { filter: brightness(.95) saturate(1.05); }

/* ── Zlatni L-ugaoni okviri na story slici ─────────────────────────────── */
.story-img-wrap {
  position: relative;
}
/* Gornji-levi ugao */
.story-img-wrap::before {
  content: '';
  position: absolute;
  top: -11px; left: -11px;
  width: 46px; height: 46px;
  border-top: 1.5px solid var(--gold);
  border-left: 1.5px solid var(--gold);
  z-index: 2;
  pointer-events: none;
  opacity: .6;
  transition: width .5s cubic-bezier(.22,1,.36,1),
              height .5s cubic-bezier(.22,1,.36,1),
              opacity .4s;
}
/* Donji-desni ugao */
.story-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -11px; right: -11px;
  width: 46px; height: 46px;
  border-bottom: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  z-index: 2;
  pointer-events: none;
  opacity: .6;
  transition: width .5s cubic-bezier(.22,1,.36,1),
              height .5s cubic-bezier(.22,1,.36,1),
              opacity .4s;
}
/* Hover: uglovi se proširuju i zasićuju */
.story-img-wrap:hover::before,
.story-img-wrap:hover::after {
  width: 68px; height: 68px;
  opacity: 1;
}

.story-text p {
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

/* ---------- DEST CARDS (Kompleks) ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.dest-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
  box-shadow: inset 0 0 0 0 rgba(201,168,76,0);
  transition: box-shadow .4s;
}
/* Zlatna linija na vrhu kartice */
.dest-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold) 25%,
    var(--gold) 75%,
    transparent 100%);
  z-index: 3;
  opacity: .55;
  transition: opacity .4s;
}
.dest-card:hover::before { opacity: 1; }
/* Inner gold border glow na hover */
.dest-card:hover {
  box-shadow: inset 0 0 0 1.5px rgba(201,168,76,.45);
}
.dest-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.52) saturate(.8);
  transform: scale(1.04);
  transition: transform .75s cubic-bezier(.22,1,.36,1), filter .5s;
}
.dest-card:hover .dest-img {
  transform: scale(1.1);
  filter: brightness(.38) saturate(1);
}
.dest-info {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 36px 28px;
  background: linear-gradient(to top, rgba(13,13,15,.96) 0%, rgba(13,13,15,.2) 70%, transparent 100%);
  z-index: 1;
  transition: padding .4s cubic-bezier(.22,1,.36,1);
}
.dest-card:hover .dest-info { padding-bottom: 44px; }
.dest-info h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 8px;
  transition: color .3s;
}
.dest-card:hover .dest-info h3 { color: var(--gold); }
.dest-info p {
  font-size: .84rem;
  color: rgba(242,237,224,.6);
  line-height: 1.55;
}

/* ---------- PRODUCT CARDS (image + info below) ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg3);
  overflow: hidden;
  transition: transform .42s cubic-bezier(.22,1,.36,1), box-shadow .42s;
  text-decoration: none;
  cursor: pointer;
  aspect-ratio: unset;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,.65), 0 0 0 1px rgba(201,168,76,.28);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg2);
  flex-shrink: 0;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.88);
  transition: transform .65s cubic-bezier(.22,1,.36,1), filter .4s;
  display: block;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.07);
  filter: brightness(.7);
}
.product-info {
  padding: 20px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border);
  background: var(--bg3);
  flex: 1;
}
.product-cat {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.25;
  transition: color .25s;
}
.product-card:hover .product-name { color: var(--gold); }
.product-desc {
  font-size: .81rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  margin-top: 8px;
}
/* Remove old overlay styles that are no longer used */
.product-overlay { display: none; }

/* ---------- HOMEPAGE - nova komponenta: product-card-wrap (#8 #9 #11) ---------- */
.featured-section { background: var(--bg2); }

/* Wrap = flex kolona: kartica + dugme jedno ispod drugog, dugme nikad ne gazi cenu */
.product-card-wrap {
  display: flex;
  flex-direction: column;
}

/* Kartica zauzima sav dostupan prostor, dugme ostaje na dnu */
.product-card-wrap .product-card {
  flex: 1;
}

/* #11 Badge etiketa - ostaje inside .product-img-wrap (position:relative) */
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 4;
  background: var(--gold);
  color: #0d0d0f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  pointer-events: none;
}

/* #8 Zvezde na kartici */
.product-stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 6px;
}
.product-stars-val {
  font-size: .78rem;
  color: var(--text-muted);
}

/* #9 Quick-add forma - u toku, ispod kartice, uvek vidljiva */
.quick-add-form {
  flex-shrink: 0;
}
.quick-add-btn {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg3);
  color: var(--gold);
  border: none;
  border-top: 1px solid rgba(201,168,76,.25);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .22s, color .22s, border-color .22s;
}
.quick-add-btn:hover,
.product-card-wrap:hover .quick-add-btn {
  background: var(--gold);
  color: #0d0d0f;
  border-color: var(--gold);
}

/* ---------- HOMEPAGE - Testimonials (#22) ---------- */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: rgba(201,168,76,.08);
  line-height: 1;
  pointer-events: none;
}
.testimonial-stars { }
.testimonial-body {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  margin: 0;
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.testimonial-name {
  font-weight: 600;
  font-size: .85rem;
  color: var(--text-light);
}
.testimonial-product {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ---------- HOMEPAGE - Newsletter (#19) ---------- */
.nl-wrap { margin-top: 4px; }
.nl-desc {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 6px 0 12px;
  line-height: 1.5;
}
.nl-form {
  display: flex;
  gap: 0;
}
.nl-input {
  flex: 1;
  padding: 11px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.22);
  border-right: none;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  outline: none;
  transition: border-color .2s;
}
.nl-input:focus { border-color: rgba(201,168,76,.55); }
.nl-input::placeholder { color: rgba(152,152,168,.4); }
.nl-btn {
  padding: 11px 18px;
  background: var(--gold);
  color: #0d0d0f;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background .2s;
}
.nl-btn:hover { background: #e2c47a; }
.nl-msg {
  margin-top: 10px;
  font-size: .82rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .quick-add-btn { font-size: .72rem; padding: 11px 12px; }
  .testimonials-grid { gap: 16px; }
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 4px 0; margin-bottom: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase;
}
.breadcrumbs a { color: var(--text-muted); transition: color .2s; }
.breadcrumbs a:hover { color: var(--gold); }
.bc-sep { color: var(--border); margin: 0 8px; }
.bc-current { color: var(--gold); font-weight: 600; }

/* ---------- PRODUCT DETAIL ---------- */
.product-detail-section {
  background: var(--bg);
  padding-top: 64px;
  padding-bottom: 96px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 0;
  padding: 0;
}

/* Gallery - tabs su sad unutar gallerije pa ne može biti sticky */
.product-gallery { }
.product-main-img {
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
}
.product-main-img img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 24px;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.product-main-img:hover img { transform: scale(1.06); }
.product-thumbs {
  display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap;
}
.product-thumb {
  width: 76px; height: 76px; object-fit: contain;
  background: var(--bg2); padding: 6px;
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color .22s, opacity .22s; opacity: .6;
}
.product-thumb:hover, .product-thumb.active { border-color: var(--gold); opacity: 1; }

/* Info panel */
.product-info-wrap {
  padding: 8px 0;
}
.product-info-wrap .label a { color: var(--gold); }
.product-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400; color: var(--text);
  letter-spacing: -.025em; margin: 12px 0 0;
  line-height: 1.2;
}
.product-detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-style: italic;
  color: var(--gold-light); margin: 20px 0 6px;
}
.product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.product-detail-desc {
  font-size: .92rem; color: var(--text-muted);
  line-height: 1.8; margin: 16px 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

/* Add to cart */
.product-add-form { display: flex; flex-direction: column; gap: 16px; }
.qty-row { display: flex; align-items: center; gap: 16px; }
.qty-wrap {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); background: var(--bg3);
}
.qty-wrap button {
  width: 44px; height: 48px;
  background: none; border: none;
  color: var(--text-muted); font-size: 1.3rem;
  cursor: pointer; transition: color .2s, background .2s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.qty-wrap button:hover { color: var(--gold); background: rgba(201,168,76,.07); }
.qty-wrap input {
  width: 56px; height: 48px;
  background: none; border: none;
  text-align: center; color: var(--text);
  font-size: .98rem; font-family: 'Inter', sans-serif;
  -moz-appearance: textfield;
}
.qty-wrap input::-webkit-outer-spin-button,
.qty-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-full { width: 100%; justify-content: center; padding-top: 15px; padding-bottom: 15px; font-size: 11px; }
.out-of-stock {
  display: inline-block; padding: 14px 24px;
  border: 1px solid rgba(231,76,60,.3);
  color: #e05252; font-size: .82rem;
  letter-spacing: 2px; text-transform: uppercase;
}

/* Wishlist */
.wishlist-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: .82rem;
  margin-top: 14px;
  font-family: 'Inter', sans-serif; letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .22s; padding: 0;
}
.wishlist-btn:hover, .wishlist-btn.active { color: var(--gold); }

/* Meta */
.product-meta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px 0;
  align-items: baseline;
}
.product-meta dt {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold);
  font-weight: 700;
}
.product-meta dd { margin: 0; color: var(--text-muted); font-size: .88rem; }

/* Full description */
.product-full-desc { padding-top: 64px; border-top: 1px solid var(--border); max-width: 780px; }

/* Prose */
.prose { color: var(--text-muted); line-height: 1.85; margin-top: 24px; }
.prose p { margin-bottom: 16px; font-size: .94rem; }
.prose ul { padding-left: 18px; margin-bottom: 16px; }
.prose li { margin-bottom: 10px; font-size: .94rem; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); font-weight: 600; }

/* Stars */
.stars {
  --pct: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: 1rem; line-height: 1;
  background: linear-gradient(90deg, var(--gold) var(--pct), rgba(201,168,76,.2) var(--pct));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reviews */
.product-reviews { padding-top: 64px; border-top: 1px solid var(--border); max-width: 780px; }
.review-item { padding: 28px 0; border-bottom: 1px solid var(--border); }
.review-header {
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.review-name { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--text); }
.review-date { font-size: .78rem; color: var(--text-muted); margin-left: auto; }
.review-body { font-size: .9rem; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 0; }
  .product-gallery { position: static; }
  .product-info-wrap { padding-top: 32px; }
  .pd-tabs-wrap { margin-top: 24px; padding-top: 24px; }
  .product-full-desc, .product-reviews { padding-top: 48px; }
}

/* ---------- SHOP FILTERS ---------- */
.shop-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-cats { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-cat {
  padding: 8px 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all .25s;
  background: transparent;
}
.filter-cat:hover, .filter-cat.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.filter-search {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  margin-left: auto;
}
.filter-search input {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 9px 14px;
  font-size: .88rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  min-width: 180px;
}
.filter-search button {
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  color: var(--gold);
  padding: 9px 14px;
  cursor: pointer;
}
.filter-sort {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 14px;
  font-size: 9.5px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  outline: none;
  cursor: pointer;
}

/* ---------- WHY / FEATURES GRID ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.why-card {
  background: var(--bg3);
  padding: 44px 36px;
  border-top: 2px solid transparent;
  transition: border-color .35s, background .35s, transform .35s;
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  border-top-color: var(--gold);
  background: var(--bg2);
  transform: translateY(-3px);
}
.why-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-style: italic;
  color: var(--gold);
  opacity: .28;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.why-title {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 400;
}
.why-text {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin: 0;
}

/* ---------- GALLERY GRID ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.72) saturate(.82);
  transition: transform .55s ease, filter .38s;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(.95) saturate(1.1);
}

/* ---------- INFO LIST (Vila / Co-branding specs) ---------- */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.info-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.info-item:first-child { border-top: 1px solid var(--border); }
.info-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}
.info-val {
  font-family: 'Playfair Display', serif;
  font-size: .92rem;
  color: var(--text);
  text-align: right;
}

/* ---------- STEPS (Co-branding) ---------- */
.steps-list { display: flex; flex-direction: column; gap: 2px; }
.step-block { margin-bottom: 0 !important; }
.step-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.step-side-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: .6;
}

/* ---------- SECTION TITLE ---------- */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: 0;
}
.section-title em { font-style: italic; color: var(--gold); }
.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 20px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .cta-block { grid-template-columns: 1fr; }
  .cta-side { border-left: none; border-top: 1px solid var(--border); min-width: 0; padding: 36px 32px; }
  .cta-main { padding: 40px 32px; }
}
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .story-grid { gap: 48px; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .dest-card:last-child { grid-column: span 2; aspect-ratio: 16/7; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { position: static; padding: 28px 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hero */
  .hero { min-height: 100svh; }
  .hero-title { font-size: clamp(2.8rem, 11vw, 4.8rem); }
  .hero-scroll { display: none; }
  /* Strip */
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item { padding: 20px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .strip-item:nth-child(2n) { border-right: none; }
  /* Story */
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-img { aspect-ratio: 16/9; }
  /* Dest */
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card { aspect-ratio: 4/3; }
  .dest-card:last-child { grid-column: auto; aspect-ratio: 4/3; }
  /* Why */
  .why-grid { grid-template-columns: 1fr; }
  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { padding: 16px 20px; border-right: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 4rem); }
}

/* ---------- NAV - CART & ACCOUNT ICONS ---------- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-account,
.nav-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: color .25s, border-color .25s;
  position: relative;
}
.nav-account:hover,
.nav-cart:hover {
  color: var(--gold);
  border-color: var(--border);
}
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--gold);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---------- FLASH MESSAGES ---------- */
.flash {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  max-width: 380px;
  padding: 14px 44px 14px 18px;
  border: 1px solid var(--border);
  background: var(--bg3);
  font-size: .88rem;
  color: var(--text);
  line-height: 1.5;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  animation: flashIn .35s cubic-bezier(.22,1,.36,1);
}
@keyframes flashIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.flash-success { border-color: #2ecc71; }
.flash-error   { border-color: #e74c3c; }
.flash-info    { border-color: var(--gold); }
.flash-warning { border-color: #f39c12; }
.flash-close {
  position: absolute;
  top: 8px; right: 10px;
  background: none; border: none;
  color: var(--text-muted); cursor: pointer;
  font-size: 18px; line-height: 1;
  transition: color .2s;
}
.flash-close:hover { color: var(--gold); }

/* ---------- PAGINATION ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; height: 44px;
  padding: 0 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
  transition: all .25s;
  background: transparent;
}
.page-link:hover,
.page-link.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.page-link.prev,
.page-link.next { font-size: 14px; }
.page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- COOKIE BANNER ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9980;
  background: rgba(13,13,15,.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .84rem;
  color: var(--text-muted);
}
#cookie-banner a { color: var(--gold); }
#cookie-accept {
  padding: 9px 24px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  border-radius: 2px;
}
#cookie-accept:hover { background: var(--gold-light); }

/* ---------- AGE GATE (18+) - Premium ---------- */

/* Keyframes */
@keyframes ag-bg-in    { from{opacity:0} to{opacity:1} }
@keyframes ag-bg-exit  { to{opacity:0} }
@keyframes ag-card-in  { from{opacity:0;transform:translateY(32px) scale(.95)} to{opacity:1;transform:none} }
@keyframes ag-card-exit{ to{opacity:0;transform:scale(1.04)} }
@keyframes ag-fade-up  { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
@keyframes ag-line-in  { from{transform:scaleX(0);opacity:0} to{transform:scaleX(1);opacity:1} }
@keyframes ag-diamond  { from{opacity:0;transform:rotate(45deg) scale(.4)} to{opacity:1;transform:rotate(45deg) scale(1)} }
@keyframes ag-glow-pulse { 0%,100%{opacity:.4;transform:scale(1)} 50%{opacity:.75;transform:scale(1.08)} }
@keyframes ag-shimmer  { 0%{background-position:-200% center} 100%{background-position:200% center} }
@keyframes ag-border-shimmer { 0%{transform:translateX(-171%);opacity:0} 10%{opacity:1} 90%{opacity:1} 100%{transform:translateX(343%);opacity:0} }

/* Overlay */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07070a;
  animation: ag-bg-in .9s ease both;
}
#age-gate.ag-exit          { animation: ag-bg-exit  .55s ease both; pointer-events:none; }
#age-gate.ag-exit .age-gate-box { animation: ag-card-exit .5s cubic-bezier(.4,0,.2,1) both; }

/* Ambient radial glow (breathing) */
#age-gate::before {
  content: '';
  position: absolute;
  width: 680px; height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.065) 0%, rgba(201,168,76,.02) 45%, transparent 70%);
  animation: ag-glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

/* Card */
.age-gate-box {
  position: relative;
  background: linear-gradient(162deg, #151519 0%, #0e0e12 100%);
  border: 1px solid rgba(201,168,76,.18);
  border-top: none;
  max-width: 460px;
  width: 92%;
  text-align: center;
  padding: 0 52px 52px;
  box-shadow:
    0 0 0 1px rgba(201,168,76,.04),
    0 60px 120px rgba(0,0,0,.9),
    0 0 120px rgba(201,168,76,.05);
  animation: ag-card-in 1.05s cubic-bezier(.16,1,.3,1) .22s both;
  overflow: hidden;
}

/* Gold top border */
.age-gate-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(154,124,48,.6) 15%,
    #c9a84c 40%,
    #e2c47a 50%,
    #c9a84c 60%,
    rgba(154,124,48,.6) 85%,
    transparent 100%);
}

/* Moving shimmer on top border */
.age-gate-box::after {
  content: '';
  position: absolute;
  top: 0; width: 35%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: ag-border-shimmer 3.5s ease 2s infinite;
}

/* ── Ornament row ── */
.age-gate-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 0 16px;
  animation: ag-fade-up .6s ease .55s both;
}
.age-gate-ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.38));
}
.age-gate-ornament-line:last-child {
  background: linear-gradient(90deg, rgba(201,168,76,.38), transparent);
}
.age-gate-ornament-diamond {
  width: 7px; height: 7px;
  background: #c9a84c;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(201,168,76,.45), 0 0 20px rgba(201,168,76,.2);
  animation: ag-diamond .65s cubic-bezier(.34,1.56,.64,1) .7s both;
  flex-shrink: 0;
}

/* ── Logo image ── */
.age-gate-logo-img {
  display: block;
  width: 240px;
  max-width: 78%;
  height: auto;
  margin: 0 auto 44px;
  filter: drop-shadow(0 2px 18px rgba(201,168,76,.22));
  animation: ag-fade-up .8s cubic-bezier(.16,1,.3,1) .8s both;
}

/* ── Divider ── */
.age-gate-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.22), transparent);
  margin-bottom: 26px;
  transform-origin: center;
  animation: ag-line-in .7s ease 1.05s both;
}

/* ── Subtitle ── */
.age-gate-subtitle {
  color: rgba(152,152,168,.58);
  font-size: .83rem;
  line-height: 1.65;
  margin-bottom: 10px;
  animation: ag-fade-up .6s ease 1.15s both;
}

/* ── Question ── */
.age-gate-question {
  color: #ece4d4;
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 34px;
  animation: ag-fade-up .6s ease 1.28s both;
}

/* ── Buttons ── */
.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* YES */
#age-yes {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(115deg, #e2c47a 0%, #c9a84c 45%, #9a7c30 100%);
  background-size: 220% 100%;
  color: #06060a;
  border: none;
  font-family: inherit;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-position .55s ease, transform .2s ease, box-shadow .35s ease;
  animation: ag-fade-up .6s ease 1.42s both;
  position: relative;
  overflow: hidden;
}
/* Sweep shine on hover */
#age-yes::before {
  content: '';
  position: absolute;
  top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  transition: left .55s ease;
}
#age-yes:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(201,168,76,.28), 0 4px 12px rgba(201,168,76,.15);
}
#age-yes:hover::before { left: 160%; }
#age-yes:active { transform: translateY(0); box-shadow: none; }

/* NO */
#age-no {
  display: block;
  width: 100%;
  padding: 13px 32px;
  border: 1px solid rgba(201,168,76,.17);
  color: rgba(152,152,168,.5);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  transition: border-color .28s, color .28s, background .28s;
  animation: ag-fade-up .6s ease 1.58s both;
}
#age-no:hover {
  border-color: rgba(201,168,76,.38);
  color: rgba(201,168,76,.62);
  background: rgba(201,168,76,.04);
}

/* ── Legal ── */
.age-gate-legal {
  margin-top: 28px;
  font-size: .67rem;
  color: rgba(152,152,168,.26);
  line-height: 1.6;
  animation: ag-fade-up .6s ease 1.72s both;
}

/* ================================================================
   BOOKING.COM AWARD SECTION
   ================================================================ */
.ba-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0; /* override section { padding: 100px 0 } */
}

.ba-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px 0;
}

/* Booking.com brand */
.ba-brand-block {
  flex-shrink: 0;
  text-align: center;
  min-width: 160px;
}
.ba-logo-img {
  height: 38px;
  width: auto;
  display: block;
  margin: 0 auto;
  /* logo je verovatno svetao - filter mu nije potreban */
}
.ba-award-label {
  margin-top: 8px;
  font-size: .65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201,168,76,.65);
  font-weight: 600;
}

/* Vertical divider */
.ba-divider-v {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}

/* Score */
.ba-score-block {
  flex-shrink: 0;
  text-align: center;
  min-width: 120px;
}
.ba-score {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
}
.ba-score-meta {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.ba-score-meta em {
  font-style: normal;
  color: var(--text);
  font-weight: 500;
}
.ba-score-reviews {
  font-size: .68rem;
  color: rgba(201,168,76,.55);
  letter-spacing: .08em;
  margin-top: 4px;
}

/* Text */
.ba-text-block {
  flex: 1;
  min-width: 0;
}
.ba-property {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
}
.ba-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 420px;
}
.ba-link {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,.35);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.ba-link:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

/* Responsive */
@media (max-width: 860px) {
  .ba-inner {
    flex-wrap: wrap;
    gap: 28px;
    padding: 32px 0;
    justify-content: center;
    text-align: center;
  }
  .ba-divider-v { width: 60px; height: 1px; flex-basis: 100%; margin: 0 auto; }
  .ba-brand-block { min-width: unset; }
  .ba-score-block { min-width: unset; }
  .ba-text-block { text-align: center; }
  .ba-desc { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .ba-inner { padding: 28px 0; gap: 20px; }
  .ba-divider-v { display: none; }
  .ba-brand { font-size: 1.3rem; }
}

/* ================================================================
   CART PAGE
   ================================================================ */
.cart-section {
  padding-top: 64px;
  padding-bottom: 96px;
  min-height: 70vh;
}

.cart-page-header {
  text-align: center;
  margin-bottom: 56px;
}
.cart-page-header .label {
  justify-content: center;
  width: auto;
}
.cart-page-header .label::before { display: none; }

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 80px 24px;
}
.cart-empty-icon {
  font-size: 3.5rem;
  color: var(--gold);
  opacity: .5;
  margin-bottom: 20px;
}
.cart-empty p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* Two-column layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* ── Items ─────────────────────────────── */
.cart-items {
  display: flex;
  flex-direction: column;
  min-width: 0; /* sprečava grid item da proširi roditeljski grid */
}

.cart-items-header {
  display: grid;
  grid-template-columns: 1fr 140px 160px;
  gap: 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cart-items-header span:last-child { text-align: right; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr 140px 160px;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: opacity .25s;
}

/* Product column */
.cart-item-product {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.cart-item-img-link { flex-shrink: 0; }
.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--bg3);
}
.cart-item-info { min-width: 0; }
.cart-item-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: .98rem;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.cart-item-name:hover { color: var(--gold); }
.cart-item-unit {
  font-size: .79rem;
  color: var(--text-muted);
}

/* Qty column */
.cart-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.qty-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0d0d0f;
}
.cart-qty {
  min-width: 28px;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}

/* Total + remove column */
.cart-item-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.cart-item-total {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  white-space: nowrap;
}
.cart-remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 2px;
  flex-shrink: 0;
  transition: border-color .2s, color .2s, background .2s;
}
.cart-remove:hover {
  border-color: #c0392b;
  color: #e74c3c;
  background: rgba(231,76,60,.08);
}

/* ── Summary panel ──────────────────────── */
.cart-summary {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  padding: 32px 28px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.cart-summary h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 24px;
}

/* Free shipping bar */
.free-shipping-bar {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 14px 16px;
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}
.free-shipping-bar strong { color: var(--gold); }
.fsb-track {
  margin-top: 10px;
  height: 4px;
  background: rgba(255,255,255,.07);
  border-radius: 99px;
  overflow: hidden;
}
.fsb-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 99px;
  transition: width .4s ease;
}
.free-shipping-reached {
  color: #5cb85c;
  border-color: rgba(92,184,92,.25);
  background: rgba(92,184,92,.06);
  text-align: center;
  font-weight: 500;
}

/* Coupon */
.coupon-form {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.coupon-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  font-size: .84rem;
  font-family: 'Inter', sans-serif;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.coupon-input:focus { border-color: var(--gold); }
.coupon-input:disabled { opacity: .55; cursor: not-allowed; }
.coupon-btn {
  white-space: nowrap;
  font-size: .78rem;
  padding: 10px 16px;
  letter-spacing: 1.5px; /* override btn-ovih 3px - sprečava overflow na mobilnom */
  flex-shrink: 0;        /* ne smanjuje se, ali ne smanjuje ni input */
}
.coupon-applied {
  font-size: .8rem;
  color: #5cb85c;
  margin-bottom: 20px;
}

/* Summary rows */
.summary-rows {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-muted);
}
.summary-row span:first-child { flex-shrink: 0; }
.summary-row span:last-child { color: var(--text); text-align: right; min-width: 0; }
.summary-discount { color: #5cb85c; }
.summary-discount span { color: #5cb85c !important; }
.summary-shipping { font-style: italic; }
.summary-total {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 600;
}
.summary-total span:first-child { color: var(--text); font-weight: 700; }
.summary-total span:last-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
}

.cart-checkout-btn {
  display: block;
  text-align: center;
  width: 100%;
  margin-bottom: 14px;
}
.cart-continue-link {
  display: block;
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .05em;
  transition: color .2s;
}
.cart-continue-link:hover { color: var(--gold); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  /* Tablet portrait - prebaci na jednu kolonu */
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cart-summary {
    position: static;
  }
}

@media (max-width: 860px) {
  .cart-items-header { display: none; }

  /* Svaka cart stavka postaje vertikalni flex - nijedan red ne može da prekorači širinu ekrana */
  .cart-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
  }

  /* Red 1: slika + naziv */
  .cart-item-product { gap: 14px; }
  .cart-item-img { width: 60px; height: 60px; }

  /* Red 2: qty dugmad - poravnanje levo */
  .cart-qty-wrap { justify-content: flex-start; }

  /* Red 3: ukupna cena levo, × dugme desno */
  .cart-item-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  /* Summary: manji padding odmah od 860px, ne čekati 480px */
  .cart-summary { padding: 22px 18px; }

  /* Kupon forma: dugme kompaktnije na mob */
  .coupon-btn {
    padding: 10px 14px;
    font-size: .72rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .cart-item-img { width: 52px; height: 52px; }
  .cart-summary { padding: 18px 14px; }

  /* Na malim telefonima smanjiti padding price kolone u summary */
  .summary-row {
    font-size: .82rem;
  }
  .summary-total {
    font-size: .95rem;
  }
  .summary-total span:last-child {
    font-size: 1.1rem;
  }
}

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */
.checkout-section {
  padding-top: 80px;
  padding-bottom: 96px;
}
.checkout-page-header { margin-bottom: 48px; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}

.checkout-form h2,
.checkout-summary h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: .03em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* Payment methods */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}
.payment-option input[type="radio"] { accent-color: var(--gold); }
.payment-option:hover { border-color: var(--gold-dark); color: var(--text); }
.payment-option.selected {
  border-color: var(--gold);
  color: var(--text);
  background: rgba(201,168,76,.06);
}

/* Checkout summary panel */
.checkout-summary {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  padding: 28px 24px;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  color: var(--text-muted);
  padding: 8px 0;
}
.summary-item span:last-child { color: var(--text); white-space: nowrap; }
.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

@media (max-width: 860px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary { position: static; }
}

/* ================================================================
   ORDER TRACKING PAGE
   ================================================================ */
.track-section {
  padding-top: 72px;
  padding-bottom: 96px;
  min-height: 60vh;
}

.order-track-result {
  margin-top: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px 28px;
}

.order-status-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.status-pending    { background: rgba(243,156,18,.12);  color: #f39c12; border: 1px solid rgba(243,156,18,.3); }
.status-confirmed  { background: rgba(46,204,113,.1);   color: #2ecc71; border: 1px solid rgba(46,204,113,.3); }
.status-processing { background: rgba(52,152,219,.1);   color: #3498db; border: 1px solid rgba(52,152,219,.3); }
.status-shipped    { background: rgba(201,168,76,.1);   color: var(--gold); border: 1px solid var(--border); }
.status-delivered  { background: rgba(46,204,113,.1);   color: #2ecc71; border: 1px solid rgba(46,204,113,.3); }
.status-cancelled  { background: rgba(231,76,60,.1);    color: #e74c3c; border: 1px solid rgba(231,76,60,.3); }
.status-refunded   { background: rgba(127,140,141,.1);  color: #7f8c8d; border: 1px solid rgba(127,140,141,.3); }

.order-track-dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 20px;
  font-size: .9rem;
}
.order-track-dl dt { color: var(--text-muted); font-weight: 500; }
.order-track-dl dd { color: var(--text); }

/* ================================================================
   TRACK PAGE - NOVO (trk-*)
   ================================================================ */

/* ── Search card ── */
.trk-search-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 48px 40px 40px;
  text-align: center;
}
.trk-search-icon {
  width: 66px; height: 66px;
  background: rgba(201,168,76,.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
}
.trk-search-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.trk-search-card > p {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 32px;
  line-height: 1.6;
}
.trk-form { text-align: left; }
.trk-input-wrap { position: relative; }
.trk-input-wrap input { padding-left: 40px; }
.trk-input-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.trk-hint {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(201,168,76,.05);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: .8rem;
  line-height: 1.5;
  text-align: left;
}
.trk-hint svg { flex-shrink: 0; margin-top: 1px; color: var(--gold); }

/* ── Result card ── */
.trk-result {
  max-width: 840px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

/* Header */
.trk-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.trk-order-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.trk-order-date { color: var(--text-muted); font-size: .82rem; }
.trk-result-head .order-status-badge { margin-bottom: 0; }

/* ── Timeline ── */
.trk-timeline-wrap {
  padding: 36px 36px 28px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.trk-timeline {
  display: flex;
  align-items: flex-start;
  min-width: 480px;
}
.trk-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.trk-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-top: 16px; /* centers with 34px dot */
  min-width: 20px;
  transition: background .4s;
}
.trk-connector.done { background: var(--gold); }
.trk-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: all .3s;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.trk-dot-num { font-size: .72rem; font-weight: 700; }
.trk-step.done .trk-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}
.trk-step.active .trk-dot {
  background: rgba(201,168,76,.1);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,168,76,.15);
  color: var(--gold);
}
.trk-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: trkPulse 1.5s ease-in-out infinite;
}
@keyframes trkPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.35); opacity: .65; }
}
.trk-step-label {
  font-size: .7rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  max-width: 68px;
}
.trk-step.done .trk-step-label,
.trk-step.active .trk-step-label {
  color: var(--gold);
  font-weight: 600;
}

/* Cancelled banner */
.trk-cancelled-banner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 28px 36px;
  padding: 16px 24px;
  background: rgba(231,76,60,.08);
  border: 1px solid rgba(231,76,60,.25);
  border-radius: 4px;
  color: #e74c3c;
  font-weight: 600;
  font-size: .9rem;
}

/* ── Meta grid ── */
.trk-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.trk-meta-card {
  background: var(--bg2);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.trk-meta-icon { color: var(--gold); opacity: .7; }
.trk-meta-label {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.trk-meta-value { font-size: .95rem; font-weight: 600; }
.trk-meta-price { color: var(--gold); font-size: 1.05rem; }

/* ── Items section ── */
.trk-items-section {
  padding: 32px 36px;
  border-bottom: 1px solid var(--border);
}
.trk-section-title {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.trk-section-title svg { color: var(--gold); flex-shrink: 0; }
.trk-items-list { display: flex; flex-direction: column; gap: 0; }
.trk-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201,168,76,.07);
}
.trk-item:last-child { border-bottom: none; }
.trk-item-img-link { flex-shrink: 0; }
.trk-item-img {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 3px;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: block;
}
.trk-item-info { flex: 1; min-width: 0; }
.trk-item-name {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .2s;
}
.trk-item-name:hover { color: var(--gold); }
.trk-item-unit { font-size: .78rem; color: var(--text-muted); margin-top: 2px; display: block; }
.trk-item-qty {
  background: rgba(201,168,76,.12);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}
.trk-item-subtotal {
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  flex-shrink: 0;
  min-width: 90px;
  text-align: right;
}

/* Totals */
.trk-totals {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  max-width: 320px;
  margin-left: auto;
}
.trk-total-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: .88rem;
  color: var(--text-muted);
}
.trk-discount-row { color: var(--gold); }
.trk-grand-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}
.trk-grand-total span:last-child { color: var(--gold); }

/* ── Bottom grid (shipping + tracking) ── */
.trk-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}
.trk-info-box {
  background: var(--bg2);
  padding: 24px 28px;
}
.trk-info-title {
  display: flex; align-items: center; gap: 7px;
  font-size: .7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 14px;
}
.trk-address {
  font-style: normal;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.trk-address strong { color: var(--text); display: block; margin-bottom: 2px; }
.trk-delivery-msg { font-size: .88rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.trk-msg-active { color: var(--gold); }
.trk-msg-ok { color: #2ecc71; }

/* Tracking box */
.trk-tracking-box { background: var(--bg3); }
.trk-tracking-num {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 12px;
  word-break: break-all;
}
.trk-copy-btn {
  background: rgba(201,168,76,.1);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .04em;
}
.trk-copy-btn:hover { background: rgba(201,168,76,.2); border-color: var(--gold); }

/* Note box */
.trk-note-box {
  padding: 22px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.trk-note-text { font-size: .88rem; color: var(--text-muted); font-style: italic; margin: 0; line-height: 1.6; }

/* ── Actions ── */
.trk-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 24px 36px;
  background: var(--bg3);
  border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .trk-search-card { padding: 36px 24px 28px; }
  .trk-result-head { padding: 20px 20px; }
  .trk-timeline-wrap { padding: 24px 20px 20px; }
  .trk-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .trk-items-section { padding: 24px 20px; }
  .trk-bottom-grid { grid-template-columns: 1fr; }
  .trk-totals { max-width: 100%; }
  .trk-actions { padding: 20px; }
  .trk-info-box { padding: 20px; }
}
@media (max-width: 480px) {
  /* Horizontalna traka narudžbine → vertikalna na telefonu */
  .trk-timeline {
    flex-direction: column;
    min-width: 0;          /* uklanja 480px minimum koji izaziva overflow */
    align-items: flex-start;
  }
  .trk-connector {
    width: 2px;
    height: 24px;
    min-width: 2px;
    margin: 0 0 0 16px;   /* centrira ispod 34px tačke */
    margin-top: 0;
  }
  .trk-step {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .trk-dot { margin-bottom: 0; flex-shrink: 0; }
  .trk-step-label { text-align: left; }
  .trk-step-date  { text-align: left; }
}
@media (max-width: 420px) {
  .trk-meta-grid { grid-template-columns: 1fr 1fr; }
  .trk-item-img { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  /* Age gate - 52px padding premalo prostora na malim telefonima */
  .age-gate-box { padding: 0 28px 40px; }
}

/* ================================================================
   SEARCH PAGE
   ================================================================ */
.search-section {
  padding-top: 72px;
  padding-bottom: 96px;
}
.search-header {
  max-width: 640px;
  margin: 0 auto 48px;
}

.search-form-big {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.search-form-big input[type="search"] {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 18px;
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.search-form-big input[type="search"]:focus { border-color: var(--gold); }
.search-form-big .btn { flex-shrink: 0; }

/* ================================================================
   HVALA PAGE (Thank you)
   ================================================================ */
.hvala-section {
  padding-top: 80px;
  padding-bottom: 96px;
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
}
.hvala-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.hvala-check {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,204,113,.1);
  border: 1px solid rgba(46,204,113,.3);
  border-radius: 50%;
  font-size: 1.6rem;
  color: #2ecc71;
  margin: 0 auto 28px;
}
.hvala-section .label { justify-content: center; width: auto; }
.hvala-section .label::before { display: none; }
.hvala-section .divider { margin: 0 auto 24px; }
.hvala-sub {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: .95rem;
}
.hvala-id { color: var(--gold); }
.hvala-cta { text-align: left; margin: 32px 0 40px; }

/* ================================================================
   404 ERROR PAGE
   ================================================================ */
.error-section {
  padding-top: 80px;
  padding-bottom: 96px;
  min-height: 50vh;
  display: flex;
  align-items: center;
}
.error-inner { text-align: center; }
.error-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 12px;
}
.error-desc {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: .95rem;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;}

/* ================================================================
   AUTH PAGES (Login / Register)
   ================================================================ */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
}

/* Brand panel */
.auth-brand-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.auth-brand-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.38) saturate(.8);
}
.auth-brand-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  width: 100%;
}
.auth-brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: .03em;
  margin-bottom: 14px;
  display: block;
  transition: color .2s;
}
.auth-brand-logo em { color: var(--gold-light); font-style: italic; }
.auth-brand-logo:hover { color: var(--gold-light); }
.auth-brand-tagline {
  color: var(--text-muted);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.auth-brand-sep {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 28px;
  opacity: .6;
}
.auth-brand-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.75;
  opacity: .7;
  max-width: 340px;
  margin: 0 0 40px;
}
.auth-brand-awards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-brand-awards span {
  font-size: .78rem;
  color: var(--gold);
  letter-spacing: .08em;
  opacity: .8;
}
.auth-brand-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-brand-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--text-muted);
}
.auth-brand-perks li svg { color: var(--gold); flex-shrink: 0; }

/* Form panel */
.auth-form-panel {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  border-left: 1px solid var(--border);
}
.auth-form-wrap {
  width: 100%;
  max-width: 420px;
}
.auth-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -.02em;
}

/* Auth errors */
.auth-errors {
  background: rgba(231,76,60,.08);
  border: 1px solid rgba(231,76,60,.25);
  border-radius: 3px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.auth-errors p {
  color: #e05252;
  font-size: .86rem;
  margin: 0;
  line-height: 1.5;
}
.auth-errors p + p { margin-top: 4px; }
.auth-errors a { color: var(--gold); text-decoration: underline; }

/* Simple auth card (forgot-password, reset-password) */
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 40px 40px 48px;
}
.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}
@media (max-width: 520px) {
  .auth-card { padding: 28px 20px 36px; }
  .auth-title { font-size: 1.5rem; }
}

/* Forgot password link in label */
.forgot-link {
  float: right;
  color: var(--gold);
  font-size: .79rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: color .2s;
}
.forgot-link:hover { color: var(--gold-light); }

/* Input with icon (show/hide password) */
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap input {
  padding-right: 44px;
  width: 100%;
}
.toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color .2s;
}
.toggle-pass:hover { color: var(--gold); }

/* Remember me / auth options row */
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: var(--text-muted);
  cursor: pointer;
}
.auth-checkbox input { accent-color: var(--gold); }

/* Submit */
.auth-submit { margin-bottom: 0; letter-spacing: .1em; }

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--text-muted);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Password strength */
.pass-strength {
  margin-top: 7px;
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 99px;
  overflow: hidden;
}
.pass-strength-fill {
  height: 100%;
  border-radius: 99px;
  width: 0;
  transition: width .3s, background .3s;
}
.pass-strength-label {
  font-size: .74rem;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 860px) {
  .auth-split {
    grid-template-columns: 1fr;
  }
  .auth-brand-panel {
    display: none;
  }
  .auth-form-panel {
    border-left: none;
    padding: 48px 24px 60px;
    min-height: calc(100vh - var(--nav-h));
  }
}

@media (max-width: 480px) {
  .auth-form-panel { padding: 32px 20px 48px; }
}

/* ================================================================
   ACCOUNT DASHBOARD (account/*)
   ================================================================ */

.account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 80px;
}

/* ── Sidebar ── */
.account-sidebar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.acc-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  min-height: 320px;
}

.acc-nav-link {
  display: block;
  padding: 11px 20px;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--text-muted);
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
  border-left: 2px solid transparent;
  font-family: inherit;
}
.acc-nav-link:hover { color: var(--text); background: var(--glass); }
.acc-nav-link.active { color: var(--gold); border-left-color: var(--gold); background: rgba(201,168,76,.05); }
.acc-nav-logout { color: var(--text-muted) !important; margin-top: auto; border-top: 1px solid var(--border); }
.acc-nav-logout:hover { color: #e74c3c !important; }
.acc-nav-link[href*="brisanje"] { color: rgba(192,57,43,.7); }
.acc-nav-link[href*="brisanje"]:hover { color: #c0392b; background: rgba(192,57,43,.06); }

/* ── Main ── */
.account-main { min-width: 0; }
.account-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}

/* ── Stats ── */
.account-stats {
  display: flex;
  gap: 20px;
  margin: 28px 0;
}
.acc-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 20px 28px;
  text-align: center;
  flex: 1;
}
.acc-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.acc-stat-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Table ── */
.acc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin-top: 8px;
}
.acc-table th {
  text-align: left;
  padding: 9px 12px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.acc-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  vertical-align: middle;
  color: var(--text);
}
.acc-table tbody tr:hover { background: var(--glass); }
.acc-table tbody tr:last-child td { border-bottom: none; }

/* ── Order detail header ── */
.order-detail-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  font-size: .88rem;
  margin-top: 20px;
}
.order-detail-header > div { line-height: 1.6; }
.order-detail-header strong { color: var(--gold); margin-right: 4px; }

/* ── Wishlist grid ── */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.wishlist-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .2s;
}
.wishlist-card:hover { border-color: var(--gold); }
.wishlist-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.wishlist-info { padding: 14px; }

/* ── Address grid ── */
.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.address-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 20px;
  font-size: .88rem;
  line-height: 1.7;
  position: relative;
  transition: border-color .2s;
}
.address-card:hover { border-color: var(--gold); }
.address-card p { color: var(--text-muted); margin: 0; }
.address-card p strong { color: var(--text); }
.address-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ── Account status badges (shared with main site) ── */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-pending    { background: rgba(241,196,15,.1); color: #f1c40f; }
.status-confirmed  { background: rgba(52,152,219,.1);  color: #3498db; }
.status-processing { background: rgba(155,89,182,.1);  color: #9b59b6; }
.status-shipped    { background: rgba(230,126,34,.1);  color: #e67e22; }
.status-delivered  { background: rgba(39,174,96,.1);   color: #27ae60; }
.status-cancelled  { background: rgba(231,76,60,.1);   color: #e74c3c; }
.status-refunded   { background: rgba(127,140,141,.1); color: #7f8c8d; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .account-sidebar {
    position: static;
  }
  .acc-nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 4px;
    gap: 2px;
    min-height: unset;
  }
  .acc-nav-link {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-left: none;
    border-bottom: 2px solid transparent;
    font-size: .78rem;
  }
  .acc-nav-link.active { border-left-color: transparent; border-bottom-color: var(--gold); }
  .acc-nav-logout { margin-top: 0; border-top: none; border-left: none; }
  .account-stats { flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .wishlist-grid { grid-template-columns: 1fr 1fr; }
  .address-grid  { grid-template-columns: 1fr; }
  .acc-table { font-size: .8rem; }
  .acc-table th, .acc-table td { padding: 8px 8px; }
}

/* ========================================================
   VILA PAGE - Location cards & House rules board
   ======================================================== */

/* --- Location grid --- */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 0;
}
.loc-card {
  background: var(--bg3);
  padding: 40px 36px;
  transition: background .3s;
}
.loc-card:hover { background: #1e1e23; }
.loc-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.loc-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold);
  opacity: .28;
  line-height: 1;
  flex-shrink: 0;
}
.loc-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.loc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(201,168,76,.07);
  font-size: .875rem;
}
.loc-row:last-child { border-bottom: none; padding-bottom: 0; }
.loc-row > span { color: var(--text-muted); }
.loc-dist {
  color: var(--gold);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .07em;
  white-space: nowrap;
}
.loc-dist-note {
  color: var(--text-muted);
  font-style: italic;
  font-size: .8rem;
  white-space: nowrap;
}

/* --- House rules board --- */
.rules-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.rb-cell {
  background: var(--bg2);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: background .25s;
}
.rb-cell:hover { background: var(--bg3); }
.rb-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(201,168,76,.7), transparent 75%);
}
.rb-label {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .75;
}
.rb-val {
  font-size: .98rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .loc-grid   { grid-template-columns: 1fr; }
  .loc-card   { padding: 28px 24px; }
  .rules-board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .rules-board { grid-template-columns: 1fr; }
  .rb-cell { padding: 22px 20px; }
}

/* ========================================================
   COBRANDING PAGE - Zanimljivosti section
   ======================================================== */

.zanimljivosti-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.znim-lead {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 32px;
}

/* Numbered list */
.znim-list {
  list-style: none;
  counter-reset: znim-counter;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.znim-list li {
  counter-increment: znim-counter;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 28px;
  background: var(--bg3);
  border-left: 2px solid rgba(201,168,76,.45);
  font-size: .94rem;
  line-height: 1.8;
  color: var(--text-muted);
  transition: border-color .25s, background .25s;
}
.znim-list li:hover {
  border-left-color: var(--gold);
  background: #1e1e23;
}
.znim-list li::before {
  content: counter(znim-counter);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  opacity: .45;
  flex-shrink: 0;
  line-height: 1.1;
  min-width: 20px;
}

/* Bullet list */
.znim-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}
.znim-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  font-size: .94rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-bottom: 1px solid var(--border);
}
.znim-bullets li:last-child { border-bottom: none; }
.znim-bullets li::before {
  content: '-';
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

/* Body paragraphs */
.zanimljivosti-wrap > p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}
.zanimljivosti-wrap > p:last-child { margin-bottom: 0; }

/* ========================================================
   LEGAL / PROSE PAGES
   (politika-privatnosti, kolacici, uslovi-koriscenja)
   ======================================================== */

.prose-page {
  padding: 64px 0 80px;
  color: var(--text);
}

/* Last-updated meta line */
.prose-meta {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .65;
  margin-bottom: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

/* Section headings */
.prose-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--text);
  margin: 52px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.prose-page h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.prose-page h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  color: var(--gold-light);
  margin: 28px 0 10px;
}

/* Body text */
.prose-page p {
  font-size: .96rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 18px;
}
.prose-page p strong {
  color: var(--text);
  font-weight: 600;
}
.prose-page p:last-child { margin-bottom: 0; }

/* Ordered and unordered lists */
.prose-page ol,
.prose-page ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prose-page ol {
  counter-reset: prose-counter;
}
.prose-page ol li,
.prose-page ul li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 20px;
  font-size: .94rem;
  color: var(--text-muted);
  line-height: 1.75;
  background: var(--bg3);
  border-left: 2px solid rgba(201,168,76,.3);
}
.prose-page ol li {
  counter-increment: prose-counter;
}
.prose-page ol li::before {
  content: counter(prose-counter);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  opacity: .55;
  flex-shrink: 0;
  line-height: 1.4;
  min-width: 18px;
}
.prose-page ul li::before {
  content: '-';
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}
.prose-page li strong {
  color: var(--text);
}
.prose-page li a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,.35);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.prose-page li a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* Inline links in paragraphs */
.prose-page p a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,.35);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.prose-page p a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* Data tables (impressum, retention table) */
.prose-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin: 20px 0 28px;
  border: 1px solid var(--border);
}
.prose-table th,
.prose-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  vertical-align: top;
}
.prose-table thead th {
  font-family: 'Playfair Display', serif;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg3);
  font-weight: 400;
}
.prose-table tbody tr:nth-child(odd)  td { background: var(--bg3); }
.prose-table tbody tr:nth-child(even) td { background: var(--bg2); }
.prose-table tbody tr:last-child td { border-bottom: none; }
.prose-table tbody tr td:first-child {
  color: var(--text-muted);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  width: 200px;
}
.prose-table a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,.35);
  text-underline-offset: 3px;
}
.prose-table a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* Inline code (cookie names) */
.prose-table code {
  font-family: 'Courier New', Courier, monospace;
  font-size: .82rem;
  background: rgba(201,168,76,.10);
  color: var(--gold-light);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid rgba(201,168,76,.18);
  letter-spacing: .03em;
}

/* Responsive */
@media (max-width: 700px) {
  .prose-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose-table tbody tr td:first-child { width: auto; white-space: normal; }
  .prose-page h2 { font-size: 1.2rem; }
}

/* ========================================================
   CART TOAST NOTIFICATION
   ======================================================== */
.cart-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1200;
  width: 340px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 18px 40px 18px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
  transform: translateX(calc(100% + 50px));
  transition: transform .38s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.cart-toast.ct-visible { transform: translateX(0); }
.cart-toast.ct-hiding  { transform: translateX(calc(100% + 50px)); transition: transform .25s ease-in; }

.ct-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color .2s, background .2s;
}
.ct-close:hover { color: var(--text); background: var(--border); }

.ct-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}
.ct-icon-ok {
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-icon-ok svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 2.5; fill: none; }
.ct-toast-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gold);
}
.ct-product {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.ct-img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.ct-name {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin: 0 0 3px;
}
.ct-price {
  font-size: .84rem;
  color: var(--gold);
  font-weight: 500;
  margin: 0;
}
.ct-actions {
  display: flex;
  gap: 8px;
}
.ct-btn-cart {
  flex: 1;
  padding: 9px 12px !important;
  font-size: .83rem !important;
  text-align: center;
  text-decoration: none;
}
.ct-btn-continue {
  flex: 1;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .83rem;
  font-family: inherit;
  cursor: pointer;
  padding: 9px 12px;
  border-radius: 2px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.ct-btn-continue:hover { color: var(--text); border-color: var(--text-muted); }

/* Auto-dismiss progress bar */
.ct-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--gold);
  transform-origin: left;
  border-radius: 0 0 0 4px;
  animation: ct-shrink 5s linear forwards;
}
@keyframes ct-shrink { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* Mobile: slide up from bottom */
@media (max-width: 540px) {
  .cart-toast {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
    border-left: none;
    border-top: 4px solid var(--gold);
    transform: translateY(110%);
    box-shadow: 0 -8px 30px rgba(0,0,0,.18);
    padding: 20px 44px 28px 20px;
  }
  .cart-toast.ct-visible { transform: translateY(0); }
  .cart-toast.ct-hiding  { transform: translateY(110%); transition: transform .25s ease-in; }
  .ct-progress { top: 0; bottom: auto; border-radius: 0; }
}

/* ── Star rating (oceni.php) ──────────────────────────── */
.star-rating-wrap { margin-bottom: 28px; }
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 6px;
}
.star-rating input[type="radio"] { display: none; }
.star-rating label {
  font-size: 3rem;
  color: rgba(201,168,76,.2);
  cursor: pointer;
  transition: color .15s;
  line-height: 1;
  user-select: none;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--gold); }
.star-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 0 4px;
}

/* ── Notification toggle (account/notifikacije.php) ───── */
.notif-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
}
.notif-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.notif-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--border);
  border-radius: 26px;
  transition: background .25s, border-color .25s;
}
.notif-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 2px; top: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform .25s, background .25s;
}
.notif-toggle input:checked + .notif-slider {
  background: rgba(201,168,76,.2);
  border-color: var(--gold);
}
.notif-toggle input:checked + .notif-slider::before {
  transform: translateX(22px);
  background: var(--gold);
}

/* ── Back to top ─────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .2s, border-color .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
}
#back-to-top.btt-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover {
  background: rgba(201,168,76,.12);
  border-color: var(--gold);
}
@media (max-width: 600px) {
  #back-to-top { bottom: 20px; right: 16px; width: 38px; height: 38px; }
}

/* ── Page transitions (#36) ──────────────────────────── */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageOut {
  to { opacity: 0; transform: translateY(-4px); }
}
body {
  animation: pageIn .32s cubic-bezier(.22,1,.36,1);
}
body.page-leaving {
  animation: pageOut .2s ease forwards;
  pointer-events: none;
}

/* ── Footer social icons ──────────────────────────────── */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--glass);
  transition: color .22s, border-color .22s, background .22s, transform .22s;
}
.footer-social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,168,76,.10);
  transform: translateY(-2px);
}

/* ================================================================
   CHECKOUT UX - new components
   ================================================================ */

/* ── Error summary ────────────────────────────────────────────── */
.checkout-error-summary {
  background: rgba(220,53,69,.10);
  border: 1px solid rgba(220,53,69,.40);
  border-left: 4px solid #dc3545;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 28px;
  color: #f8a9b0;
  font-size: .9rem;
}
.checkout-error-summary strong {
  display: block;
  margin-bottom: 8px;
  color: #f8a9b0;
}
.checkout-error-summary ul {
  margin: 0;
  padding-left: 18px;
}
.checkout-error-summary li { margin-bottom: 4px; }

/* ── Free shipping nudge ──────────────────────────────────────── */
.co-free-nudge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.28);
  border-radius: 4px;
  padding: 12px 18px;
  margin-bottom: 24px;
  font-size: .88rem;
  color: var(--text-muted);
}
.co-free-nudge strong { color: var(--gold); }
.co-free-nudge a { color: var(--gold); text-decoration: underline; margin-left: auto; white-space: nowrap; }
.co-free-nudge svg { flex-shrink: 0; color: var(--gold); }

/* ── Address book ─────────────────────────────────────────────── */
.co-addr-book {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 24px;
}
.co-addr-book select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 3px;
  font-size: .88rem;
  cursor: pointer;
  appearance: auto;
}
.co-addr-book select:focus { outline: none; border-color: var(--gold); }

/* ── Section title ────────────────────────────────────────────── */
.co-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: .03em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ── Delivery option card ─────────────────────────────────────── */
.co-delivery-option {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 8px;
  transition: border-color .2s;
}
.co-delivery-option.co-delivery-free {
  border-color: rgba(92,184,92,.35);
  background: rgba(92,184,92,.05);
}
.co-delivery-eta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(201,168,76,.10);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: 3px;
  padding: 4px 10px;
  font-size: .78rem;
  color: var(--gold);
  white-space: nowrap;
}

/* ── Payment grid ─────────────────────────────────────────────── */
.co-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
@media (max-width: 560px) {
  .co-payment-grid { grid-template-columns: 1fr; }
}
.co-payment-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.co-payment-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.co-payment-card:hover {
  border-color: var(--gold-dark);
}
.co-payment-card.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,.07);
  box-shadow: 0 0 0 1px var(--gold) inset;
}
.co-pay-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.co-pay-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.co-pay-desc {
  font-size: .76rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Items list in summary ────────────────────────────────────── */
.co-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}
.co-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.co-item-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.co-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.co-item-name {
  font-size: .84rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-item-qty {
  font-size: .76rem;
  color: var(--text-muted);
}
.co-item-price {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Free shipping progress bar ───────────────────────────────── */
.co-free-bar {
  margin-bottom: 12px;
}
.co-free-track {
  height: 5px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
}
.co-free-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 99px;
  transition: width .6s ease;
}
.co-free-reached {
  font-size: .82rem;
  color: #5cb85c;
  margin-bottom: 12px;
  font-weight: 600;
}

/* ── ETA box ──────────────────────────────────────────────────── */
.co-eta-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.06);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.co-eta-box strong { color: var(--text); }
.co-eta-box svg { flex-shrink: 0; color: var(--gold); }

/* ── Trust signals ────────────────────────────────────────────── */
.co-trust {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.co-trust span {
  font-size: .73rem;
  color: var(--text-muted);
  text-align: center;
  flex: 1;
}

/* ── Review overlay ───────────────────────────────────────────── */
.co-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.co-review-modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 36px 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: coModalIn .22s ease;
}
@keyframes coModalIn {
  from { opacity: 0; transform: translateY(-16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.co-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .2s;
}
.co-modal-close:hover { color: var(--text); }
.co-review-section {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.co-review-section:last-of-type { border-bottom: none; }
.co-review-label {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 6px;
}
.co-review-value {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.co-review-total {
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: .95rem;
  color: var(--text-muted);
  text-align: center;
  margin: 20px 0 0;
}
.co-review-total strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
}

/* ── ZIP autofill flash ───────────────────────────────────────── */
@keyframes coAutofill {
  0%,100% { border-color: var(--border); background: transparent; }
  30%     { border-color: var(--gold); background: rgba(201,168,76,.08); }
}
.co-autofilled {
  animation: coAutofill 1.8s ease forwards;
}

/* ── Responsive tweaks for checkout ──────────────────────────── */
@media (max-width: 860px) {
  .co-payment-grid { grid-template-columns: 1fr 1fr; }
  .co-trust { flex-wrap: wrap; gap: 8px 4px; }
}
@media (max-width: 600px) {
  .co-payment-grid { grid-template-columns: 1fr; }
  .co-review-modal { padding: 28px 20px; }
  .co-trust { justify-content: center; }
  .co-trust span { flex: none; min-width: 30%; }
}

/* ── Star rating (oceni.php) ──────────────────────────────────── */
.star-rating-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 6px;
  justify-content: center;
}
.star-rating input { display: none; }
.star-rating label {
  font-size: 2.4rem;
  color: rgba(255,255,255,.18);
  cursor: pointer;
  transition: color .15s, transform .15s;
  line-height: 1;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--gold);
  transform: scale(1.12);
}
.star-labels {
  display: flex;
  flex-direction: row-reverse;
  gap: 6px;
  justify-content: center;
  font-size: .72rem;
  color: var(--text-muted);
}
.star-labels span { width: 2.6rem; text-align: center; }

/* ================================================================
   PRODUCT PAGE - new components (proizvod.php)
   ================================================================ */

/* ── #9 Dostava i povrat blok ─────────────────────────────────── */
.pd-delivery-info {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.pd-delivery-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.pd-delivery-row:last-child { border-bottom: none; }
.pd-delivery-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.pd-delivery-row strong {
  display: block;
  color: var(--text);
  font-size: .85rem;
  margin-bottom: 2px;
}
.pd-delivery-row span {
  color: var(--text-muted);
  font-size: .8rem;
  line-height: 1.5;
}

/* ── #11 Kupon podsećanje ─────────────────────────────────────── */
.pd-coupon-hint {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(201,168,76,.05);
  border: 1px dashed rgba(201,168,76,.25);
  border-radius: 3px;
}
.pd-coupon-hint a {
  color: var(--gold);
  text-decoration: underline;
}

/* ── #17 Share dugmići ────────────────────────────────────────── */
.pd-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.pd-share-label {
  font-size: .75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-right: 2px;
}
.pd-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text-muted);
  font-size: .78rem;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: color .2s, border-color .2s, background .2s;
}
.pd-share-btn:hover { color: var(--text); border-color: var(--gold-dark); }
.pd-share-fb:hover  { color: #4267B2; border-color: #4267B2; }
.pd-share-wa:hover  { color: #25D366; border-color: #25D366; }
.pd-share-copy.copied { color: #5cb85c; border-color: #5cb85c; }

/* ── #15 Tab navigacija ───────────────────────────────────────── */
.pd-tabs-wrap {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  /* max-width uklonjen - širinu diktira roditeljska kolona */
}
.pd-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.pd-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  letter-spacing: .5px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.pd-tab-btn:hover { color: var(--text); }
.pd-tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.pd-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: rgba(201,168,76,.15);
  color: var(--gold);
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
}
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }

/* ── #14 Recenzije - verified badge + distribucija ───────────── */
.pd-reviews-summary {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  flex-wrap: wrap;
}
.pd-reviews-avg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}
.pd-avg-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}
.pd-rating-bars {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
}
.pd-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--text-muted);
}
.pd-rating-bar-row > span:first-child { width: 22px; text-align: right; flex-shrink: 0; }
.pd-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.07);
  border-radius: 99px;
  overflow: hidden;
}
.pd-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 99px;
  transition: width .6s ease;
}
.pd-bar-count { width: 18px; flex-shrink: 0; }
.pd-reviews-list { margin-bottom: 40px; }
.pd-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: .72rem;
  color: #5cb85c;
  background: rgba(92,184,92,.08);
  border: 1px solid rgba(92,184,92,.25);
  border-radius: 3px;
  padding: 2px 7px;
  font-weight: 600;
}

/* ── #12 Forma za recenziju ───────────────────────────────────── */
.pd-review-form-wrap {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 8px;
}
.pd-review-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text);
}
.pd-review-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pd-review-gate {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .88rem;
  color: var(--text-muted);
  max-width: 440px;
}
.pd-review-gate a { color: var(--gold); text-decoration: underline; }
.pd-review-gate svg { flex-shrink: 0; color: var(--gold); }

/* ── #19 Nedavno pregledano ───────────────────────────────────── */
.pd-recent {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.pd-recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.pd-recent-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 12px;
  transition: border-color .22s, transform .22s;
}
.pd-recent-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}
.pd-recent-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: var(--bg3);
  padding: 8px;
}
.pd-recent-name {
  font-size: .84rem;
  color: var(--text);
  line-height: 1.4;
}
.pd-recent-price {
  font-size: .82rem;
  color: var(--gold);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .pd-recent-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-reviews-summary { gap: 24px; }
}
@media (max-width: 560px) {
  .pd-tab-btn { padding: 10px 16px; font-size: .82rem; }
  .pd-recent-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pd-reviews-summary { flex-direction: column; align-items: center; }
}

/* ── Language switcher (#47) ──────────────────────────────────────────────── */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(201,168,76,.2);
}
.lang-btn {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-muted);
  padding: 3px 1px;
  transition: color .2s;
  cursor: pointer;
}
.lang-btn:hover  { color: var(--gold-light); }
.lang-btn.lang-active { color: var(--gold); pointer-events: none; }
.lang-sep {
  font-size: 10px;
  color: rgba(201,168,76,.25);
  user-select: none;
}

/* Mobile menu lang row */
.ml-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
  border-top: 1px solid rgba(201,168,76,.12);
  margin-top: 4px;
}
.ml-lang .lang-btn { font-size: 12px; padding: 4px 8px; }
.ml-lang .lang-sep { font-size: 12px; }

@media (max-width: 900px) {
  .nav-lang { display: none; } /* shown in mobile menu instead */
}
