/* =========================================================
   TEMA / OSNOVE
   ========================================================= */
   @font-face {
    font-family: 'Selima';
    src: url('/fonts/Selima.woff2') format('woff2'),
         url('/fonts/Selima.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
   :root {
    --bg: #faf8f6;
    --text: #262626;
    --muted: #6b6b6b;
    --brand: #c9a27e;
    --brand-2: #a88463;
    --card: #ffffff;
    --border: #e8e2dc;
    --shadow: 0 10px 30px rgba(0, 0, 0, .06);
    --radius: 18px;
    --pad: 18px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html,
  body {
    height: 100%;
    overflow-x: hidden;
  }


  .caret {
    font-size: 12px !important;   /* ili recimo 12px */
    line-height: 1;
    display: inline-block;
    margin-left: 4px;    /* malo odmaka od teksta */
  }
  
  
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  
  img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .centrirani-title {
    font-family: 'Selima', 'Great Vibes', 'Brush Script MT', cursive;
    font-size: clamp(34px, 12vw, 64px);
    color: var(--brand, #c9a27e);
    text-align: center;
    margin: 0 0 24px;
    letter-spacing: -0.02em; /* opcionalno, daje sličniji look logu */
  }
  

  .centrirani-naslov2 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(70px, 6vw, 64px);
    color: var(--brand, #c9a27e);
    text-align: center;
    margin: 180px 0 24px;
  }
  /* =========================================================
     NAVBAR
     ========================================================= */
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 20px 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
  }
  
  .logo-img {
    height: 140px;
    object-fit: contain;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    font-size: 18px;
  }
  
  .nav-links li a,
  .navbar .nav-links > li > .dropdown-toggle {
    position: relative;
    font-family: "Playfair Display", serif;
    font-size: x-large;
    font-weight: 200;
    color: #333333;
  }
  
  .nav-links li a:hover {
    color: var(--brand);
  }
  
  .nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 100%;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
  }
  
  .nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  #kosarica-broj {
    background: var(--brand);
    color: #ffffff;
    padding: 2px 7px;
    font-size: 13px;
    border-radius: 50%;
    margin-left: -10px;
  }
  
  .hamburger {
    font-size: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: none;
    z-index: 1001;
  }
  
/* ========== Drawer osnova (zadržavaš iste klase za otvaranje) ========== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 2000;
  font-family: serif;                 /* TRAŽENI FONT */
}

.mobile-drawer__panel {
  height: 100%;
  width: min(84vw, 360px);
  background: #fff;
  padding: 24px 22px 28px;
  transform: translateX(100%);
  transition: transform .30s ease;
  box-shadow: -6px 0 18px rgba(0,0,0,.15);
  display: flex;
  flex-direction: column;
}

/* stanje otvoreno */
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }

.body-lock { overflow: hidden; }

/* ========== Header: logo + close ========== */
.mobile-drawer__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 8px;
}

.mobile-drawer__brand {
  justify-self: center;               /* centriran logo */
  display: inline-block;
}
.mobile-drawer__brand img {
  height: 36px;
  width: auto;
  display: block;
}

.mobile-drawer__close {
  font-size: 28px;
  line-height: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px 6px;
}

/* ========== Linkovi ========== */
.mobile-drawer__links {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;                              /* čisto kao na slici */
  text-align: center;                  /* centriran tekst */
}

.mobile-drawer__links > li > a,
#mobile-drawer .mdfix-toggle {
  display: block;
  padding: 16px 6px;
  font-size: 20px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #eee;       /* fine linije između stavki */
  transition: color .15s ease;
}

.mobile-drawer__links > li > a:hover,
#mobile-drawer .mdfix-toggle:hover {
  color: #666;
}

/* ========== Dropdown (Categories) ========== */
#mobile-drawer .mdfix-toggle {
  cursor: pointer;
  background: none;
  border: 0;
}

#mobile-drawer .mdfix-caret {
  display: inline-block;
  font-size: .8em;
  margin-left: 6px;
  transition: transform .2s ease;
  transform-origin: center;
}

/* submenu (skriven dok nije checkirano) */
#mobile-drawer .mdfix-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

#mobile-drawer .mdfix-check:checked + .mdfix-toggle + .mdfix-menu { display: block; }
#mobile-drawer .mdfix-check:checked + .mdfix-toggle .mdfix-caret { transform: rotate(180deg); }

/* podlinkovi — manji, centrirani, sa svijetlom donjom linijom */
#mobile-drawer .mdfix-menu .mdfix-link {
  display: block;
  padding: 12px 6px;
  font-size: 17px;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #f2f2f2;
  transition: color .15s ease;
  text-align: center;
}
#mobile-drawer .mdfix-menu .mdfix-link:hover { color: #666; }

/* ========== Social na dnu ========== */
.mobile-drawer__social {
  margin-top: auto;                    /* gurne na dno */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.mobile-drawer__social a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 20px;
  color: #111;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.mobile-drawer__social a:hover {
  background: #f7f7f7;
  color: #000;
  border-color: #e5e5e5;
}

/* malo finog spacinga na vrlo malim ekranima */
@media (max-width: 360px) {
  .mobile-drawer__panel { padding-left: 18px; padding-right: 18px; }
  .mobile-drawer__links > li > a, #mobile-drawer .mdfix-toggle { padding: 14px 4px; }
}





/* Desktop dropdown ostaje kakav je; ovo se primjenjuje samo unutar .mobile-drawer */

  
  /* =========================================================
     HERO (Crossfade + tipografija prema logu)
     ========================================================= */
  
  .hero {
    position: relative;
    height: 86vh;
    min-height: 540px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    margin-top: 140px; /* prostora jer je navbar fiksni */
    background-color: #000000;
  }
  
  .hero::before,
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 2.8s ease-in-out, transform 7s ease;
    z-index: 1;
  }
  
  .hero.show-before::before {
    opacity: 1;
    transform: scale(1);
  }
  
  .hero.show-after::after {
    opacity: 1;
    transform: scale(1);
  }
  
  .hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 0 16px;
  }
  
  .hero-title {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-size: clamp(36px, 12vw, 96px);
    color:#fff;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease-out .3s forwards;
    margin: 0 0 6px 0;
  }
  
  .hero-subtitle {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: clamp(14px, 2.2vw, 22px);
    color: #ffffff;
    text-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    opacity: .95;
    margin: 0 0 18px 0;
  }
  
  .hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
  }
  
  /* Gumbi (global) */
  
  .gumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: large;
    background: var(--brand);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  }
  
  .gumb:hover {
    transform: translateY(-1px);
    background: var(--brand-2);
  }
  
  .gumb.ghost {
    
    color: #fff;
    border-color: var(--border);
    box-shadow: none;
  }
  
  .gumb.ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
  }
  

  /* ===========================
   GUMB "Dodaj u košaricu"
   =========================== */

button.dodaj-kosarica {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;

  color: var(--brand);
  background: #ffffff;
  border: 2px solid var(--brand);
  border-radius: 30px;

  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

button.dodaj-kosarica:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

button.dodaj-kosarica:active {
  transform: scale(0.97);
}


/* ===========================
   FAQ (Najčešća pitanja)
   =========================== */

   .faq-item {
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }
  
  .faq-question {
    width: 100%;
    background: none;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: left;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
  }
  
  .faq-question:hover {
    color: var(--brand);
  }
  
  .faq-question .arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-left: 8px;
  }
  
  /* Kada je otvoreno */
  .faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding-left: 5px;
  }
  
  .faq-item.active .faq-answer {
    max-height: 200px; /* dovoljno da stane tekst */
    opacity: 1;
    margin-top: 5px;
  }
  
  /* =========================================================
     USP (Zašto odabrati nas)
     ========================================================= */
  
  .usp {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 36px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .usp-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow);
  }
  
  .usp-item i {
    font-size: 28px;
    color: var(--brand);
  }
  
  .usp-item h3 {
    font-family: "Playfair Display", serif;
    margin: 10px 0 6px 0;
  }
  
  .usp-item p {
    margin: 0;
    color: var(--muted);
  }
  
  /* =========================================================
     SEKCIJSKI NASLOV
     ========================================================= */
  
  .section-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(24px, 3.2vw, 36px);
    text-align: center;
    margin: 28px auto 20px auto;
    position: relative;
  }
  
  .section-title::after {
    content: "";
    display: block;
    width: 68px;
    height: 2px;
    background: var(--brand);
    margin: 12px auto 0 auto;
    border-radius: 1px;
  }
  
  /* =========================================================
     ISTAKNUTE KOLEKCIJE
     ========================================================= */
  
  .collections {
    padding: 10px 20px 40px 20px;
  }
  
  .grid-collections {
    display: grid;
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .collection-card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  
  .collection-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .8s ease;
  }
  
  .collection-card:hover img {
    transform: scale(1.06);
  }
  
  .collection-body {
    padding: 16px;
  }
  
  .collection-body h3 {
    font-family: "Playfair Display", serif;
    margin: 0 0 4px 0;
  }
  
  .collection-body p {
    margin: 0;
    color: var(--muted);
  }
  
  /* =========================================================
     UVODNI CTA (tvoj postojeći dio)
     ========================================================= */
  
  .uvodni-proizvodi {
    text-align: center;
    padding: 40px 20px 20px 20px;
    background: #fdf9f6;
    opacity: 0;
    transform: translateY(50px);
    transition: all .6s ease;
  }
  
  .uvodni-proizvodi.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .uvodni-tekst {
    font-size: 16px;
    color: #666666;
    max-width: 640px;
    margin: 0 auto 18px auto;
  }
  
  .uvodni-gumb {
    display: inline-block;
    background: var(--brand);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
  }
  
  .uvodni-gumb:hover {
    background: var(--brand-2);
  }
  
  /* =========================================================
     PRODUCTS GRID (dinamički #proizvodi-container)
     ========================================================= */
  
  .products-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 0 16px;
  }
  
  .proizvod-kartica {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: center;
    padding-bottom: 10px;
  }
  
  .proizvod-kartica:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .10);
  }
  
  .proizvod-kartica h3 {
    font-family: "Playfair Display", serif;
    margin: 10px 0 6px 0;
  }
  
  /* =========================================================
     RECENZIJE
     ========================================================= */
  
  .reviews {
    padding: 10px 20px 50px 20px;
  }
  
  .reviews-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .review {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  
  .review p {
    margin: 0 0 8px 0;
  }
  
  .review span {
    color: var(--muted);
    font-size: 14px;
  }
  
  /* =========================================================
     INSTAGRAM GRID
     ========================================================= */
  
  .instagram {
    padding: 10px 20px 50px 20px;
  }
  
  .ig-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .ig-grid a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    transition: transform .4s ease;
  }
  
  .ig-grid a:hover img {
    transform: scale(1.03);
  }
  
  /* =========================================================
     NEWSLETTER
     ========================================================= */
  
  .newsletter {
    padding: 20px;
  }
  
  .newsletter-box {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    text-align: center;
    box-shadow: var(--shadow);
  }
  
  .newsletter-box h3 {
    font-family: "Playfair Display", serif;
    margin: 0 0 6px 0;
  }
  
  .newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
  }
  
  .input {
    width: 300px;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #ffffff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  
  .input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(201, 162, 126, .15);
  }
  
  /* =========================================================
     BLOG
     ========================================================= */
  
  #blog-novosti {
    padding: 40px 20px;
    background: #f9f9f9;
  }
  
  .blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .blog-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .10);
    overflow: hidden;
    width: 379px;
    transition: transform .3s ease;
  }
  
  .blog-card:hover {
    transform: scale(1.03);
  }
  
  .blog-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .blog-date {
    font-size: .9rem;
    color: gray;
    margin-bottom: 10px;
  }
  
  .blog-desc {
    font-size: 1rem;
  }
  
  /* =========================================================
     FOOTER
     ========================================================= */
  
  .footer {
    background: #f7f7f7;
    border-top: 1px solid #dddddd;
    padding: 40px 20px 20px 20px;
    font-size: 15px;
    color: #333333;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-column {
    flex: 1 1 180px;
  }
  
  .footer h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .footer-column a {
    color: #000000;
    text-decoration: none;
    transition: .2s ease;
  }
  
  .footer-column a:hover {
    text-decoration: underline;
  }
  
  .footer-logo {
    max-width: 150px;
  }
  
  .footer-icons {
    display: flex;
    gap: 40px;
    margin-top: 20px;
  }
  
  .footer-icon {
    width: 40px;
    height: 40px;
    transition: transform .3s ease;
  }
  
  .footer-icon:hover {
    transform: scale(1.2);
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #777777;
  }
  
  .footer-bottom a {
    color: var(--brand);
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  /* =========================================================
     COOKIE BANNER
     ========================================================= */
  
     .cookie-banner{
      position:fixed; left:16px; right:16px; bottom:16px; z-index:9999;
      display:flex; align-items:center; justify-content:space-between; gap:12px;
      background:#fff; border:1px solid #e5e7eb; border-radius:12px;
      box-shadow:0 10px 25px rgba(0,0,0,.08); padding:12px 14px; font-size:14px;
    }
    .cookie-buttons{ display:flex; gap:8px; }
    .cookie-btn{ border:0; border-radius:10px; padding:8px 12px; font-weight:700; cursor:pointer; }
    .cookie-btn.accept{ background:linear-gradient(180deg,#c9a27e,#b68a61); color:#fff; }
    .cookie-btn.reject{ background:#f3f4f6; color:#111827; }
    @media (max-width:560px){ .cookie-banner{flex-direction:column; align-items:flex-start} .cookie-buttons{width:100%;} .cookie-buttons .cookie-btn{flex:1;} }
  
  /* =========================================================
     ANIMACIJE / UTIL
     ========================================================= */
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }




/* ===========================
   MOBILE DRAWER — slide from left (override)
   =========================== */

/* overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,0);          /* fade-in */
  opacity: 0;
  pointer-events: none;
  transition: background 260ms ease, opacity 260ms ease;
  font-family: serif;                  /* traženi font */
}
.mobile-drawer.open {
  background: rgba(0,0,0,.38);
  opacity: 1;
  pointer-events: auto;
}

/* panel s lijeve strane */
.mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;              /* KLIZI S LIJEVE STRANE */
  height: 100%;
  width: min(84vw, 420px);
  background: #fff;
  border-right: 1px solid var(--border, #e8e2dc);
  box-shadow: 10px 0 30px rgba(0,0,0,.14);
  transform: translateX(-102%);       /* start van ekrana */
  transition: transform 300ms cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;

  /* skrolanje sadržaja */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;  /* glatko na iOS-u */

  /* start state za animaciju */
  opacity: 0.98;
  backface-visibility: hidden;
  transform-origin: left center;
}

/* OTVARANJE — sofisticirana animacija (slide + micro-scale + fade) */
.mobile-drawer.open .mobile-drawer__panel {
  transform: translateX(0) scale(1);
  opacity: 1;
  animation: drawerSlideIn 380ms cubic-bezier(.23,1,.32,1);
}

/* (opcionalno) ZATVARANJE — dodaj klasu .closing prije uklanjanja .open */
.mobile-drawer.closing .mobile-drawer__panel {
  animation: drawerSlideOut 260ms cubic-bezier(.4,0,.2,1);
}

/* header u panelu (logo + IG) */
.mobile-drawer__header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2; /* iznad skrola */
  background: #fff;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border, #e8e2dc);
}
.mobile-drawer__brand img {
  display: block;
  height: 140px;
  width: auto;
}

/* Instagram gumb */
.mobile-drawer__ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border, #e8e2dc);
  color: var(--brand, #c9a27e);
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.mobile-drawer__ig:hover {
  background: var(--brand, #c9a27e);
  color: #fff;
  border-color: var(--brand, #c9a27e);
  transform: translateY(-1px);
}

/* zatvaranje (X) */
.mobile-drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border, #e8e2dc);
  background: #fff;
  color: #333;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.mobile-drawer__close:hover {
  background: #faf7f3;
  color: var(--brand, #c9a27e);
  transform: rotate(7deg);
}

/* linkovi u panelu */
.mobile-drawer__links {
  list-style: none;
  margin: 10px 0 20px;   /* ispod headera i X gumba */
  padding: 0 14px;
  display: grid;
  gap: 6px;
}

/* STAGGER ulaza za linkove (glavna lista) */
.mobile-drawer.open .mobile-drawer__links > li {
  opacity: 0;
  transform: translateX(-12px);
  animation: drawerLinkIn 420ms ease forwards;
}
.mobile-drawer.open .mobile-drawer__links > li:nth-child(1) { animation-delay: .10s; }
.mobile-drawer.open .mobile-drawer__links > li:nth-child(2) { animation-delay: .16s; }
.mobile-drawer.open .mobile-drawer__links > li:nth-child(3) { animation-delay: .22s; }
.mobile-drawer.open .mobile-drawer__links > li:nth-child(4) { animation-delay: .28s; }
.mobile-drawer.open .mobile-drawer__links > li:nth-child(5) { animation-delay: .34s; }
.mobile-drawer.open .mobile-drawer__links > li:nth-child(6) { animation-delay: .40s; }

.mobile-drawer__links a {
  display: block;
  padding: 0;
  border-radius: 12px;
  color: #222;
  font-weight: 400;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .12s ease;
}
.mobile-drawer__links a:hover {
  background: #fdf9f6;
  border-color: var(--border, #e8e2dc);
  color: var(--brand, #c9a27e);
  transform: translateX(2px);
}

/* (neobavezno) animacija otvaranja podizbornika Shop */
#mobile-drawer .mdfix-menu {
  animation: submenuReveal 260ms ease;
  transform-origin: top center;
}

/* KEYFRAMES */
@keyframes drawerSlideIn {
  0%   { transform: translateX(-102%) scale(.96); opacity: 0; }
  60%  { transform: translateX(0) scale(1.01);   opacity: 1; }
  100% { transform: translateX(0) scale(1);       opacity: 1; }
}
@keyframes drawerSlideOut {
  0%   { transform: translateX(0) scale(1);       opacity: 1; }
  100% { transform: translateX(-102%) scale(.98); opacity: 0; }
}
@keyframes drawerLinkIn {
  0%   { opacity: 0; transform: translateX(-12px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes submenuReveal {
  0%   { opacity: 0; transform: scaleY(.98); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* REDUCED MOTION — poštuj sustavne postavke */
@media (prefers-reduced-motion: reduce) {
  .mobile-drawer,
  .mobile-drawer__panel,
  .mobile-drawer__links > li,
  #mobile-drawer .mdfix-menu {
    transition: none !important;
    animation: none !important;
  }
}



/* ===========================
   Legal page (Privatnost / Uvjeti)
   =========================== */

   .legal-section{
    max-width: 960px;
    margin: 140px auto 96px;          /* prostor zbog fiksnog headera */
    padding: 0 16px;
  }
  
  .legal-section .section-title{
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
    color: #2b2a28;
    letter-spacing: .2px;
    margin: 200px 0 20px;
    position: relative;
  }
  .legal-section .section-title::after{
    content: "";
    display: block;
    width: 88px; height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand, #c9a27e), rgba(201,162,126,.25));
  }
  
  .legal-wrapper{
    background: #fff;
    border: 1px solid var(--border, #e8e2dc);
    border-radius: 18px;
    padding: clamp(18px, 2.4vw, 34px);
    box-shadow: 0 14px 36px rgba(0,0,0,.06);
  }
  
  .legal-section .section-subtitle{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(1.125rem, 1rem + .6vw, 1.35rem);
    color: #332d29;
    margin: 26px 0 10px;
  }
  
  .legal-section .section-paragraph{
    color: #4a4a4a;
    line-height: 1.8;
    margin: 0 0 14px;
  }
  
  .legal-section a.section-link{
    color: var(--brand-2, #a88463);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
  }
  .legal-section a.section-link:hover{
    color: var(--brand, #c9a27e);
  }
  
  /* liste, napomene */
  .legal-section ul, .legal-section ol{ margin: 10px 0 14px 1.2em; }
  .legal-section li{ margin: 6px 0; }
  .legal-section .note{
    background: #fdf9f6;
    border: 1px solid var(--border, #e8e2dc);
    color: #5c4f45;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 10px 0 14px;
  }
  
  /* target highlight ako dodaš id na <h2> (npr. #cookies) */
  :target{ scroll-margin-top: 120px; }
  .anchor-target{ position: relative; }
  .anchor-target::before{
    content:""; position:absolute; inset:-6px -10px;
    border-radius:12px; background: rgba(201,162,126,.08);
    opacity:0; transition: opacity .25s;
  }
  .anchor-target:target::before{ opacity:1; }




/* ===== Premium stil za postojeći hamburger (&#9776;) ===== */

.hamburger {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;

  /* hitbox */
  width: 44px;
  height: 44px;

  /* tipografija ≡ simbola */
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--brand, #2b2a28);
  -webkit-text-fill-color: var(--brand, #2b2a28);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.hamburger:focus { outline: none; }
.hamburger:focus-visible {
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 4px;
}

/* hover efekt */
.hamburger:hover {
  background: #f7f7f7;
  transform: scale(1.05);
  color: var(--brand, #c9a27e);
  -webkit-text-fill-color: var(--brand, #c9a27e);
}

/* aktivno stanje (kad je drawer otvoren, dodaj klasu .is-active u JS) */
.hamburger.is-active {
  background: var(--brand, #c9a27e);
  color: #fff;
  -webkit-text-fill-color: #fff;
  transform: rotate(90deg);
}
/* defaultno sakrij hamburger */
.hamburger-item {
  display: none;
}

/* prikaži ga samo na manjim ekranima */
@media (max-width: 992px) {   /* možeš prilagoditi breakpoint */
  .hamburger-item {
    display: block;
  }
}




/* ============ FILTER BAR LAYOUT ============ */
.filter-container {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto;
  grid-template-areas:
    "select  search  ."
    "availability availability reset";
  gap: 10px 12px;
  align-items: center;
}

/* mapiranje bez mijenjanja HTML-a */
#filter-kategorija { grid-area: select; }
#filter-pretraga   { grid-area: search; }
.filter-container .switch { grid-area: availability; }
#reset-filteri     { grid-area: reset; justify-self: end; white-space: nowrap; }

/* ============ DROPDOWN (SELECT) BEAUTY ============ */
#filter-kategorija {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1px solid var(--border, #e8e2dc);
  border-radius: 999px;
  padding: 10px 38px 10px 14px;
  font-weight: 700;
  color: #2b2a28;
  line-height: 1;
  height: 42px;
  min-width: 170px;

  /* custom strelica */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a27e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}
#filter-kategorija:focus {
  outline: none;
  border-color: #c9a27e;
  box-shadow: 0 0 0 3px rgba(201,162,126,.18);
}

/* ============ SEARCH INPUT PILL ============ */
#filter-pretraga {
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border, #e8e2dc);
  padding: 10px 14px;
}
#filter-pretraga:focus {
  outline: none;
  border-color: #c9a27e;
  box-shadow: 0 0 0 3px rgba(201,162,126,.18);
}

/* ============ SWITCH + LABEL (Dostupno odmah) ============ */
.filter-container .switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;    /* ne lomi red */
}

/* sakrij nativni checkbox */
.filter-container .switch input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

/* klizač */
.filter-container .switch .slider {
  position: relative;
  width: 54px;
  height: 30px;
  background: #eadfd6;
  border-radius: 999px;
  transition: background .2s ease;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.08);
}
.filter-container .switch .slider::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: transform .22s ease;
}
.filter-container .switch input:checked + .slider { background: var(--brand,#c9a27e); }
.filter-container .switch input:checked + .slider::after { transform: translateX(24px); }

.filter-container .switch .toggle-label {
  font-weight: 700;
  color: #2b2a28;
}

/* ============ RESET GUMB (Ukloni sve filtere) ============ */
#reset-filteri {
  background: var(--brand,#c9a27e);
  color: #fff;
  border: 1px solid var(--brand,#c9a27e);
  border-radius: 999px;
  height: 42px;
  padding: 0 18px;
  font-weight: 700;
  line-height: 42px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;     /* ostani u jednom redu */
}
#reset-filteri:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201,162,126,.35);
}
#reset-filteri:active { transform: translateY(0); }










/* Dropdown */
.navbar .dropdown { position: relative; }
.dropdown-toggle {
  background: transparent; border: 0; cursor: pointer; font: inherit; color: inherit;
  display: flex; align-items: center; gap: .35rem;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 50;
  background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.1);
  padding: .4rem; display: none; list-style: none;
}
.dropdown-menu li a {
  display: block; padding: .7rem .9rem; border-radius: 8px; color: #222;
}
.dropdown-menu li a:hover { background: #f5f5f5; }
.dropdown:hover .dropdown-menu { display: block; }




/* === Filter cijene === */
.filter-cijena {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

.filter-cijena span {
  color: #999;
  font-weight: 500;
}

.filter-cijena input {
  width: 90px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all .2s ease;
  outline: none;
  background: #fafafa;
}

/* hover/focus efekti */
.filter-cijena input:hover {
  border-color: #bbb;
  background: #fff;
}

.filter-cijena input:focus {
  border-color: #c9a27e; /* zlatna boja iz theme-color */
  box-shadow: 0 0 0 2px rgba(201,162,126,.25);
  background: #fff;
}



/* Elementi su inicijalno nevidljivi */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Mobile drawer – prikaži dropdown linkove normalno (bez hovera) */
@media (max-width: 900px) {
  .dropdown:hover .dropdown-menu { display: none; }
}

/* ============ RESPONSIVE ============ */
/* mobiteli: 2 retka; drugi red -> Dostupno odmah (lijevo) + Reset (desno) */
@media (max-width: 640px) {
  .filter-container {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "select select"
      "search search"
      "availability reset";
    gap: 10px;
  }
  #reset-filteri { justify-self: end; padding: 0px 5px; }
}


  
  /* responsive */
  @media (min-width: 900px){
    .legal-wrapper{ padding: 38px; }

    
  }
  

/* sitni tuning */
@media (max-width: 360px) {
  
  .mobile-drawer__brand img { height: 34px; }
  .mobile-drawer__panel { width: 90vw; }
}


body.drawer-open { overflow: hidden; }

  
  /* =========================================================
     RESPONSIVE (sve prilagodbe na dnu)
     ========================================================= */
  /* small screens tuning */

  /* <= 1200px */
  @media (max-width: 1200px) {
    .grid-collections {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .ig-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  
    .products-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* <= 900px */
  @media (max-width: 900px) {
    .nav-links li:not(.hamburger-item):not(:has(.kosarica-link)) {
      display: none;
    }
  
    .hamburger {
      display: inline-block;
    }
  
    .navbar {
      height: 88px;
    }
  
    .logo-img {
      height: 63px;
    }
  
    .usp {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .reviews-row {
      grid-template-columns: 3fr;
    }
    .hero {
      position: relative;
      height: 91vh;
      min-height: 540px;
      overflow: hidden;
      border-bottom: 1px solid var(--border);
      margin-top: 90px;
      background-color: #000000;
  }
  }
  
  /* <= 700px */
  @media (max-width: 700px) {
    .ig-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* <= 640px */
  @media (max-width: 640px) {
    .grid-collections {
      grid-template-columns: 1fr;
    }
  }
  
  /* <= 600px */
  @media (max-width: 600px) {
    .logo-img {
      height: 87px;
    }
  
    .products-grid {
      grid-template-columns: 1fr;
    }
  
    .hero-title {
      font-size: clamp(80px, 8vw, 64px);
  }
  
    .hero-subtitle {
      font-size: clamp(14px, 3.5vw, 18px);
    }
  }
  
  /* <= 480px */
  @media (max-width: 480px) {
    .ig-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  