:root {
  --navy: #0d3f69;
  --navy-deep: #082f52;
  --navy-soft: #1d557f;
  --gold: #b78a3b;
  --gold-light: #d6b878;
  /* Zlatna za sitan tekst: --gold na ivory podlozi daje oko 3:1,
     što je premalo za 13px. Ova varijanta drži ~4,9:1. */
  --gold-ink: #8a6520;
  --ivory: #f8f5ee;
  --ivory-deep: #f1ebdf;
  --paper: #fffdfa;
  --ink: #14283a;
  --muted: #687683;
  --line: #e7e0d4;
  /* Ivica kartica je neutralno siva: zlatna je bila prekičasta. */
  --card-line: #e3e2df;
  --card-line-strong: #cfcdc8;
  --success: #2e8a57;
  --success-ink: #276a41;
  --success-soft: #eff8f2;
  --danger: #a04845;
  --danger-ink: #91483e;
  --danger-soft: #fff4f2;
  /* Naslovi, dugmad i labele: Montserrat. Tijelo i interfejs: Roboto.
     Oba se dopremaju lokalno — vidi assets/css/fonts.css. Slot se prije zvao
     --serif i držao Georgiju; ime je promijenjeno jer Montserrat nije serif. */
  --display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { margin-inline: auto; max-width: 1240px; padding-inline: 28px; width: 100%; }
.sr-only { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); }

/* Gornja traka je navy sa bijelim tekstom; red sa logom ostaje svijetao. */
.utility-bar { background: var(--navy); border-bottom: 1px solid var(--navy-deep); color: rgba(255,255,255,.82); font-size: 12px; }
.utility-inner { align-items: center; display: flex; height: 32px; justify-content: space-between; }
.utility-inner p { margin: 0; }
.utility-inner p a { border-bottom: 1px solid rgba(255,255,255,.4); color: #fff; }
.utility-inner nav { align-items: center; display: flex; gap: 20px; }
.utility-inner a { transition: color .2s; }
.utility-inner a:hover { color: #fff; }
.language-button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 13px; font-weight: 700; padding: 0; }
.language-switcher { position: relative; }
.language-switcher > summary { align-items: center; display: flex; gap: 4px; list-style: none; }
.language-switcher > summary::-webkit-details-marker { display: none; }
.language-switcher > summary .nav-caret { font-size: 11px; transition: transform .2s; }
.language-switcher[open] > summary .nav-caret { transform: rotate(180deg); }
.language-menu { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 14px 34px rgba(12,39,60,.13); list-style: none; margin: 0; min-width: 178px; padding: 6px; position: absolute; right: 0; top: calc(100% + 7px); z-index: 45; }
.language-menu a { border-radius: 4px; color: #51606d; display: block; font-size: 12px; padding: 8px 11px; white-space: nowrap; }
.language-menu a:hover { background: var(--ivory); color: var(--navy); }
.language-menu a.is-active { background: var(--ivory-deep); color: var(--navy); font-weight: 600; }

/* Čisto bijela podloga. backdrop-filter je otišao: na neprozirnoj podlozi
   ništa ne radi, a pravi containing block za position:fixed potomke —
   zbog toga je korpa morala da se teleportuje u <body>. */
.site-header { background: #fff; border-bottom: 1px solid var(--card-line); position: sticky; top: 0; z-index: 30; }
.header-inner { align-items: center; display: grid; gap: 26px; grid-template-columns: auto 1fr auto; min-height: 88px; }
/* Bez znaka krsta: naziv stoji centriran nad natpisom. */
.brand { align-items: center; display: inline-flex; flex-shrink: 0; }
.cross-icon { display: block; }
.brand-copy { align-items: center; display: flex; flex-direction: column; gap: 5px; }
.brand-copy strong { color: var(--navy); font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: .045em; text-align: center; white-space: nowrap; }
.brand-copy small { align-items: center; color: #756e65; display: flex; font-family: var(--display); font-size: 11px; gap: 7px; letter-spacing: .17em; justify-content: center; }
.brand-copy small i { background: var(--gold-light); height: 1px; width: 22px; }
.main-nav { align-items: center; display: flex; gap: clamp(24px, 2.8vw, 42px); justify-content: center; }
.mobile-shop, .mobile-nav-brand { display: none; }
.main-nav > a, .nav-shop-button { background: none; border: 0; color: #2c4152; cursor: pointer; font-family: var(--display); font-size: 14px; font-weight: 500; letter-spacing: .055em; padding: 34px 0 31px; position: relative; text-transform: uppercase; }
.main-nav > a::after, .nav-shop-button::after { background: var(--gold); bottom: 24px; content: ""; height: 1px; left: 50%; position: absolute; transform: translateX(-50%) scaleX(0); transition: transform .25s; width: 28px; }
.main-nav > a:hover::after, .main-nav > a.active::after, .nav-shop-button:hover::after, .nav-shop-button.is-open::after, .nav-shop-button.active::after { transform: translateX(-50%) scaleX(1); }
.main-nav > a:hover, .main-nav > a.active, .nav-shop-button:hover, .nav-shop-button.is-open, .nav-shop-button.active { color: var(--navy); }
.nav-caret { color: var(--gold); display: inline-block; margin-left: 4px; transition: transform .2s; }
.nav-shop-button.is-open .nav-caret { transform: rotate(180deg); }
.mobile-nav-close { display: none; }
.mobile-wishlist-link { display: none; }
.header-actions { align-items: center; display: flex; gap: 8px; }
.search-box { align-items: stretch; border: 1px solid var(--line); display: flex; height: 43px; overflow: hidden; transition: border-color .2s, box-shadow .2s; width: clamp(180px, 17vw, 240px); }
.search-box:focus-within { border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(13,63,105,.08); }
.search-box input { background: #fff; border: 0; color: var(--ink); font-size: 15px; min-width: 0; outline: none; padding: 0 14px; width: 100%; }
.search-box input::placeholder { color: #a39e95; font-family: var(--sans); font-size: 14px; }
.search-box button { align-items: center; background: var(--navy); border: 0; color: white; cursor: pointer; display: flex; justify-content: center; transition: background .2s; width: 44px; }
.search-box button:hover { background: var(--navy-deep); }
.icon-button { align-items: center; background: transparent; border: 0; border-radius: 50%; color: var(--navy); cursor: pointer; display: inline-flex; height: 40px; justify-content: center; position: relative; transition: background .2s, transform .2s; width: 40px; }
.icon-button:hover { background: var(--ivory-deep); }
.icon-button:active { transform: scale(.94); }
.action-count { align-items: center; background: var(--gold); border: 2px solid white; border-radius: 50%; color: white; display: flex; font-size: 11px; font-weight: 700; height: 21px; justify-content: center; position: absolute; right: -1px; top: 0; width: 21px; }
.menu-button { display: none; }

.mega-scrim { animation: mega-fade-in .2s ease both; background: rgba(19,31,39,.58); border: 0; inset: 0; position: fixed; width: 100%; z-index: 25; backdrop-filter: blur(1.5px); }
.mega-menu { animation: mega-drop-in .24s ease both; background: var(--paper); border-top: 2px solid var(--gold); box-shadow: 0 24px 60px rgba(9,24,36,.24); left: 50%; max-height: calc(100vh - 112px); overflow-y: auto; padding: 30px; position: absolute; top: 100%; transform: translateX(-50%); width: min(1180px, calc(100vw - 48px)); z-index: 40; }
.mega-categories { align-content: start; display: grid; gap: 30px 28px; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.mega-category h2 { border-bottom: 1px solid var(--card-line); color: var(--navy); font-family: var(--display); font-size: 16px; font-weight: 500; letter-spacing: .015em; margin: 0 0 12px; padding-bottom: 9px; }
.mega-category ul { display: flex; flex-direction: column; gap: 9px; list-style: none; margin: 0; padding: 0; }
.mega-category li button, .mega-category li a { align-items: baseline; background: none; border: 0; color: #55636d; cursor: pointer; display: flex; font-family: var(--sans); font-size: 13px; gap: 6px; line-height: 1.35; padding: 0; text-align: left; transition: color .18s, transform .18s; }
.mega-category li button:hover, .mega-category li a:hover { color: var(--navy); transform: translateX(2px); }
.mega-category li small { color: #a0aab1; font-family: var(--sans); font-size: 12px; }
.mega-view-more { background: none; border: 0; border-bottom: 1px solid var(--card-line-strong); color: var(--navy); cursor: pointer; display: inline-block; font-family: var(--display); font-size: 13px; font-weight: 500; margin-top: 14px; padding: 0 0 5px; transition: border-color .2s, color .2s; }
.mega-view-more:hover { border-color: var(--navy); color: var(--navy); }
.mega-close { align-items: center; background: var(--ivory); border: 0; border-radius: 50%; color: var(--navy); cursor: pointer; display: none; height: 38px; justify-content: center; position: absolute; right: 18px; top: 18px; width: 38px; z-index: 2; }

@keyframes mega-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mega-drop-in { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }

.hero { background-image: url("/img/hero.jpg"); background-position: center; background-size: cover; min-height: 620px; overflow: hidden; position: relative; }
.hero-overlay { background: linear-gradient(90deg, rgba(250,247,240,.98) 0%, rgba(250,247,240,.91) 28%, rgba(250,247,240,.54) 49%, rgba(250,247,240,.1) 70%, rgba(250,247,240,0) 84%); inset: 0; position: absolute; }
.hero-inner { align-items: center; display: flex; min-height: 620px; position: relative; z-index: 1; }
.hero-copy { max-width: 455px; padding: 54px 0 70px 10px; }
.eyebrow { align-items: center; color: var(--gold); display: flex; font-family: var(--display); font-size: 14px; gap: 10px; letter-spacing: .16em; margin-bottom: 16px; text-transform: uppercase; }
.eyebrow b { align-items: center; display: inline-flex; }
.hero h1 { color: var(--navy); font-family: var(--display); font-size: clamp(40px, 3.9vw, 60px); font-weight: 400; letter-spacing: -.015em; line-height: .91; margin: 0; text-transform: uppercase; }
.ornament { align-items: center; color: var(--gold); display: flex; gap: 8px; margin: 25px 0 20px; width: 156px; }
.ornament i { background: var(--gold-light); height: 1px; flex: 1; }
.ornament b { font-size: 12px; font-weight: 400; }
.hero-copy > p { color: #465460; font-family: var(--sans); font-size: 16px; line-height: 1.7; margin: 0 0 28px; max-width: 405px; }
.primary-button { align-items: center; background: var(--navy); border: 1px solid var(--navy); border-radius: 4px; color: #fff; display: inline-flex; font-family: var(--display); font-size: 13px; gap: 22px; justify-content: center; letter-spacing: .09em; min-height: 50px; padding: 0 27px; text-transform: uppercase; transition: background .2s, box-shadow .2s, transform .2s; }
.primary-button:hover { background: var(--navy-deep); box-shadow: 0 10px 25px rgba(8,47,82,.18); transform: translateY(-2px); }

.benefits-shell { background: var(--paper); position: relative; z-index: 3; }
.benefits-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); padding-bottom: 24px; padding-top: 24px; }
.benefit-card { align-items: center; background: white; border: 1px solid var(--line); border-radius: 8px; display: flex; gap: 15px; min-height: 92px; padding: 18px 20px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.benefit-card:hover { border-color: #d8c8aa; box-shadow: 0 12px 30px rgba(32,45,57,.07); transform: translateY(-3px); }
.benefit-icon { align-items: center; color: var(--navy); display: flex; flex-shrink: 0; justify-content: center; }
.benefit-card > span:last-child { display: flex; flex-direction: column; gap: 6px; }
.benefit-card strong { color: var(--navy); font-family: var(--display); font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.benefit-card small { color: var(--muted); font-family: var(--sans); font-size: 13px; line-height: 1.35; }

.section { padding-bottom: 70px; padding-top: 78px; position: relative; }
.section-heading { align-items: center; display: flex; gap: 19px; justify-content: center; margin-inline: auto; text-align: center; }
.section-heading > span { background: var(--gold-light); height: 1px; width: 58px; }
.section-heading p { color: var(--gold-ink); font-size: 13px; font-weight: 700; letter-spacing: .23em; margin: 0 0 8px; text-transform: uppercase; }
.section-heading h2 { color: var(--navy); font-family: var(--display); font-size: clamp(32px, 3vw, 44px); font-weight: 400; letter-spacing: .015em; line-height: 1; margin: 0; text-transform: uppercase; }
.view-all { align-items: center; border: 1px solid var(--line); border-radius: 4px; color: var(--navy); display: flex; font-family: var(--display); font-size: 13px; gap: 12px; letter-spacing: .08em; margin: 34px auto 0; min-height: 48px; padding: 0 30px; text-transform: uppercase; transition: background .2s, border-color .2s, color .2s; width: max-content; }
.view-all:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.category-carousel { align-items: center; display: grid; gap: 12px; grid-template-columns: auto minmax(0, 1fr) auto; margin-top: 32px; }
.category-track { display: grid; gap: 14px; grid-auto-columns: calc((100% - 5 * 14px) / 6); grid-auto-flow: column; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.category-track::-webkit-scrollbar { display: none; }
.category-track > * { scroll-snap-align: start; }
.carousel-arrow { align-items: center; background: #fff; border: 1px solid var(--card-line); border-radius: 50%; color: var(--navy); cursor: pointer; display: inline-flex; flex-shrink: 0; height: 40px; justify-content: center; transition: background .2s, border-color .2s, color .2s, opacity .2s; width: 40px; }
.carousel-arrow:hover:not([disabled]) { background: var(--navy); border-color: var(--navy); color: #fff; }
.carousel-arrow[disabled] { cursor: default; opacity: .3; }
.carousel-arrow--prev .icon { transform: rotate(180deg); }
.category-card { background: #fff; border: 1px solid var(--card-line); border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .25s; }
.category-card:hover { border-color: var(--card-line-strong); }
.category-card-frame { aspect-ratio: 1 / 1; background: #fff; display: block; overflow: hidden; }
.category-card img { height: 100%; object-fit: cover; transition: transform .55s ease; width: 100%; }
.category-card:hover img { transform: scale(1.04); }
.category-name { align-items: center; color: var(--navy); display: flex; flex-direction: column; font-family: var(--display); font-size: 15px; hyphens: auto; justify-content: center; letter-spacing: .04em; min-height: 86px; overflow-wrap: break-word; padding: 16px 14px; text-align: center; text-transform: uppercase; }
.category-name i { background: var(--gold-light); display: block; height: 2px; margin: 10px auto 0; transition: width .25s; width: 26px; }
.category-card:hover .category-name i { width: 46px; }

.products-section { padding-top: 56px; }
.story-strip { background: var(--ivory); border: 1px solid var(--card-line); border-radius: 8px; margin-bottom: 84px; overflow: hidden; }
.story-heading { padding: 40px 25px 30px; text-align: center; }
.story-mark { color: var(--gold); display: inline-flex; }
.story-heading p { color: var(--gold-ink); font-size: 13px; font-weight: 700; letter-spacing: .2em; margin: 12px 0 11px; text-transform: uppercase; }
.story-heading h2 { color: var(--navy); font-family: var(--display); font-size: clamp(23px, 2.1vw, 31px); font-weight: 500; line-height: 1.25; margin: 0; text-transform: uppercase; }
/* Pregrade su gap na mreži, ne apsolutni pseudo-elementi: same se sklapaju na prelomima. */
.story-values { background: var(--card-line); display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); }
.story-values article { align-items: flex-start; background: var(--paper); display: flex; gap: 14px; padding: 26px 22px; }
.story-value-icon { align-items: center; background: var(--ivory); border-radius: 50%; color: var(--gold); display: inline-flex; flex-shrink: 0; height: 44px; justify-content: center; width: 44px; }
.story-values article > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.story-values strong { color: var(--navy); font-family: var(--display); font-size: 16px; font-weight: 500; line-height: 1.3; }
.story-values small { color: #5f6b74; font-family: var(--sans); font-size: 14px; line-height: 1.6; }
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); margin-top: 32px; }
.product-card { background: #fff; border: 1px solid var(--card-line); border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .25s; }
.product-card:hover { border-color: var(--card-line-strong); }
.product-image-wrap { aspect-ratio: 1 / 1; background: #fff; flex-shrink: 0; overflow: hidden; padding: 16px; position: relative; }
.product-image-wrap img { height: 100%; object-fit: contain; transition: transform .45s; width: 100%; }
.product-card:hover .product-image-wrap img { transform: scale(1.035); }
.favorite-button { align-items: center; background: rgba(255,255,255,.92); border: 1px solid rgba(223,218,209,.9); border-radius: 50%; color: var(--navy); cursor: pointer; display: flex; height: 38px; justify-content: center; position: absolute; right: 14px; top: 14px; transition: background .2s, color .2s, transform .2s; width: 38px; }
.favorite-button:hover { transform: scale(1.06); }
.favorite-button.is-favorite { background: var(--navy); color: white; }
.favorite-button.is-favorite svg { fill: currentColor; }
.product-body { display: flex; flex: 1; flex-direction: column; min-height: 184px; padding: 19px; }
/* Cijena i dugme su bili priljubljeni; dugme dobija vazduha iznad sebe. */
.product-body .cart-button { margin-top: 16px; }
.product-meta-row { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 9px; }
.product-code { color: #87909a; font-size: 12px; letter-spacing: .11em; }
.product-meta-row .stock { flex-shrink: 0; margin: 0; }
.product-body h3 { -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #273b4b; display: -webkit-box; font-family: var(--display); font-size: 16px; font-weight: 400; line-height: 1.35; margin: 0 0 8px; min-height: 43px; overflow: hidden; }
.product-price { color: var(--navy); font-family: var(--display); font-size: 20px; font-weight: 500; }
.stock { align-items: center; color: #65726c; display: flex; font-size: 13px; gap: 7px; margin: 10px 0 15px; }
.stock i { background: var(--success); border-radius: 50%; height: 7px; width: 7px; }
.cart-button { align-items: center; background: var(--navy); border: 1px solid var(--navy); border-radius: 4px; color: #fff; cursor: pointer; display: flex; font-family: var(--display); font-size: 12px; gap: 10px; justify-content: center; letter-spacing: .055em; min-height: 43px; text-transform: uppercase; transition: background .2s, transform .2s; width: 100%; }
.cart-button:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); }
.cart-button:active { transform: scale(.98); }
.cart-button.added { background: var(--success); border-color: var(--success); color: #fff; }


footer { background: var(--navy-deep); color: rgba(255,255,255,.74); padding-top: 58px; }
.footer-grid { display: grid; gap: 55px; grid-template-columns: 1.55fr 1fr 1fr 1fr; padding-bottom: 48px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid p { font-family: var(--display); font-size: 13px; line-height: 1.7; margin: 0; max-width: 290px; }
.footer-brand { margin-bottom: 10px; }
.footer-brand .brand-copy strong { color: white; }
.footer-brand .brand-copy small { color: rgba(255,255,255,.55); }
.footer-grid h3 { color: white; font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: .08em; margin: 7px 0 10px; text-transform: uppercase; }
.footer-grid a { font-family: var(--display); font-size: 13px; transition: color .2s; width: max-content; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; font-size: 13px; justify-content: space-between; padding-bottom: 22px; padding-top: 22px; }

.page-scrim { background: rgba(4,18,29,.55); border: 0; inset: 0; position: fixed; z-index: 60; backdrop-filter: blur(2px); }
/* Dok je mobilni meni otvoren, header (a s njim i meni unutar njega) ide
   iznad scrima: <header> je stacking kontekst, pa se z-index menija (75)
   poredi unutar njega, a scrim sjedi u <body> na 60. Vidi site.js. */
body.nav-open .site-header { z-index: 90; }
.cart-drawer { background: var(--paper); bottom: 0; max-width: 470px; overflow: hidden; padding: 26px; position: fixed; right: 0; top: 0; transform: translateX(105%); transition: transform .3s ease; width: 94vw; z-index: 70; }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-heading { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 20px; }
.drawer-heading small { color: var(--gold-ink); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.drawer-heading h2 { color: var(--navy); font-family: var(--display); font-size: 32px; font-weight: 400; margin: 4px 0 0; }
.drawer-heading h2 span { color: var(--muted); font-family: var(--sans); font-size: 13px; font-weight: 500; }
.empty-cart, .filled-cart { align-items: center; display: flex; flex-direction: column; height: calc(100% - 90px); justify-content: center; text-align: center; }
.empty-cart > span, .success-icon { align-items: center; background: var(--ivory-deep); border-radius: 50%; color: var(--navy); display: flex; height: 76px; justify-content: center; margin-bottom: 22px; width: 76px; }
.success-icon { background: #e5f3eb; color: var(--success); }
.empty-cart h3, .filled-cart h3 { color: var(--navy); font-family: var(--display); font-size: 24px; font-weight: 400; margin: 0 0 10px; }
.empty-cart p, .filled-cart p { color: var(--muted); font-family: var(--sans); font-size: 14px; line-height: 1.6; margin: 0 0 26px; max-width: 290px; }
.empty-cart .primary-button, .filled-cart .primary-button { cursor: pointer; }
.cart-content { display: flex; flex-direction: column; height: calc(100% - 89px); }
.shipping-progress { background: #f5f2eb; border-radius: 6px; margin: 18px 0 7px; padding: 13px 14px; }
.shipping-progress > div { align-items: center; color: #5d6b75; display: flex; font-family: var(--display); font-size: 13px; gap: 9px; line-height: 1.35; }
.shipping-progress svg { color: var(--gold); flex-shrink: 0; }
.shipping-progress strong { color: var(--navy); font-weight: 600; }
.shipping-progress > i { background: #ded9cf; border-radius: 99px; display: block; height: 4px; margin-top: 10px; overflow: hidden; }
.shipping-progress > i > b { background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: inherit; display: block; height: 100%; transition: width .3s ease; }
.cart-items { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 5px 8px 0; scrollbar-color: #c9c1b5 transparent; scrollbar-width: thin; }
.cart-item { border-bottom: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: 88px minmax(0, 1fr); padding: 15px 0; }
.cart-item > img { background: var(--ivory); border-radius: 6px; height: 104px; object-fit: cover; width: 88px; }
.cart-item-body { min-width: 0; }
.cart-item-body > small { color: #9aa2a8; display: block; font-size: 11px; letter-spacing: .1em; margin-bottom: 5px; }
.cart-item-body h3 { color: #314757; font-family: var(--display); font-size: 14px; font-weight: 400; line-height: 1.3; margin: 0 0 7px; }
.cart-item-body > strong { color: var(--navy); font-family: var(--display); font-size: 15px; font-weight: 600; }
.cart-item-actions { align-items: center; display: flex; justify-content: space-between; margin-top: 11px; }
.quantity-control { align-items: center; border: 1px solid #d9d2c7; border-radius: 4px; display: inline-flex; height: 31px; overflow: hidden; }
.quantity-control button { background: #faf8f3; border: 0; color: var(--navy); cursor: pointer; font-size: 17px; height: 100%; line-height: 1; width: 30px; }
.quantity-control button:hover { background: var(--ivory-deep); }
.quantity-control span { align-items: center; border-inline: 1px solid #e4ddd2; color: #4d5b65; display: flex; font-size: 13px; height: 100%; justify-content: center; min-width: 31px; }
.remove-cart-item, .clear-cart, .continue-shopping { background: none; border: 0; color: #8b6d52; cursor: pointer; font-family: var(--display); font-size: 12px; padding: 0; text-decoration: underline; text-decoration-color: #d8c5ad; text-underline-offset: 3px; }
.remove-cart-item:hover, .clear-cart:hover, .continue-shopping:hover { color: var(--navy); }
.cart-summary { background: var(--paper); border-top: 1px solid var(--line); padding-top: 16px; }
.clear-cart { display: block; margin-left: auto; margin-bottom: 10px; }
.summary-row { align-items: center; color: #51616d; display: flex; font-family: var(--display); font-size: 14px; justify-content: space-between; }
.summary-row strong { color: var(--navy); font-size: 22px; font-weight: 600; }
.cart-summary > p { color: #879198; font-family: var(--sans); font-size: 12px; line-height: 1.45; margin: 7px 0 13px; }
/* Natpis i strelica su bili razvučeni na krajeve (space-between uz 27px
   padding), pa je sredina dugmeta ostajala prazna. Sada su jedna
   centrirana cjelina. */
.checkout-button { border: 0; cursor: pointer; gap: 10px; justify-content: center; padding-inline: 18px; width: 100%; }
.continue-shopping { display: block; margin: 13px auto 0; }
.checkout-notice { align-items: flex-start; background: #e9f4ed; border: 1px solid #c8dfd0; border-radius: 6px; color: var(--success); display: flex; font-family: var(--display); font-size: 12px; gap: 8px; line-height: 1.45; margin-bottom: 12px; padding: 10px; }
.checkout-notice svg { flex-shrink: 0; }

/* Unutrašnje stranice */
.internal-page { min-height: 100vh; }
.breadcrumb-bar { background: #fbfaf7; border-bottom: 1px solid var(--line); }
.breadcrumb-bar .breadcrumb { min-height: 50px; }
.breadcrumb { align-items: center; color: #899197; display: flex; font-family: var(--sans); font-size: 13px; gap: 9px; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.breadcrumb strong { color: var(--navy); font-weight: 500; }
.section-kicker { color: var(--gold-ink); display: block; font-size: 13px; font-weight: 800; letter-spacing: .22em; margin-bottom: 13px; text-transform: uppercase; }
.section-kicker.light { color: var(--gold-light); }
.gold-rule { background: var(--gold-light); display: block; height: 2px; margin: 23px 0 25px; width: 46px; }

.about-intro { padding: 52px 0 0; text-align: center; }
.about-intro h1 { color: var(--navy); font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 500; margin: 10px 0 12px; }
.about-intro p { color: #5f6b74; font-family: var(--sans); font-size: 15px; line-height: 1.7; margin: 0 auto; max-width: 660px; }
.about-story { align-items: center; display: grid; gap: clamp(42px, 6vw, 84px); grid-template-columns: 1fr 1fr; padding-bottom: 86px; padding-top: 56px; }
.about-story-copy h2 { color: var(--navy); font-family: var(--display); font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -.01em; line-height: 1.18; margin: 0; }
.about-story-copy > p { color: #5a6873; font-family: var(--sans); font-size: 15px; line-height: 1.8; margin: 0 0 16px; }
.about-signature { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 14px; margin-top: 26px; padding-top: 22px; }
.about-signature > span { align-items: center; background: var(--ivory-deep); border-radius: 50%; color: var(--gold-ink); display: inline-flex; flex-shrink: 0; height: 46px; justify-content: center; width: 46px; }
.about-signature div { display: flex; flex-direction: column; gap: 3px; }
.about-signature strong { color: var(--navy); font-family: var(--display); font-size: 15px; font-weight: 500; }
.about-signature small { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.about-story-visual { background-image: linear-gradient(180deg, rgba(7,40,68,.04), rgba(7,40,68,.22)), url("/img/hero.jpg"); background-position: 75% center; background-size: cover; border-radius: 8px; box-shadow: 0 24px 54px rgba(12,39,60,.15); height: 500px; margin: 0; position: relative; }
.about-story-visual::before { border: 1px solid rgba(255,255,255,.35); border-radius: 4px; content: ""; inset: 16px; position: absolute; }
/* Natpis je unutar slike (donji lijevi ugao) — prije je visio 28px izvan
   okvira i lijevo od njega, pa je na uskom ekranu izlazio iz kolone. */
.about-visual-frame { align-items: center; background: rgba(8,47,82,.92); border-radius: 6px; bottom: 26px; color: #fff; display: flex; gap: 11px; left: 26px; padding: 14px 20px; position: absolute; right: 26px; }
.about-visual-frame span { align-items: center; color: var(--gold-light); display: inline-flex; flex-shrink: 0; }
.about-visual-frame strong { font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.about-values-section { background: var(--ivory); border-block: 1px solid var(--line); padding: 78px 0 82px; }
.about-block-heading { margin: 0 auto 36px; max-width: 640px; text-align: center; }
.about-block-heading .section-kicker { margin-bottom: 10px; }
.about-block-heading h2 { color: var(--navy); font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; margin: 0; }
/* Četiri vrijednosti u jednom redu; kartica je uspravna (ikona, naslov,
   tekst) jer u koloni od ~250px ikona i tekst jedno uz drugo ostave
   pretijesnu kolonu za tekst. */
.about-values-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.about-value-card { background: #fff; border: 1px solid var(--card-line); border-radius: 8px; display: flex; flex-direction: column; gap: 13px; padding: 26px 22px 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.about-value-card:hover { border-color: var(--card-line-strong); box-shadow: 0 14px 32px rgba(27,45,59,.08); transform: translateY(-3px); }
.about-value-icon { align-items: center; background: var(--ivory-deep); border-radius: 50%; color: var(--gold-ink); display: inline-flex; flex-shrink: 0; height: 48px; justify-content: center; width: 48px; }
.about-value-card h3 { color: var(--navy); font-family: var(--display); font-size: 17px; font-weight: 500; line-height: 1.3; margin: 0; }
.about-value-card p { color: #5f6b74; font-family: var(--sans); font-size: 13px; line-height: 1.65; margin: 0; }
.about-services { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); padding-top: 66px; }
.about-service-card { align-items: flex-start; background: #fff; border: 1px solid var(--card-line); border-radius: 8px; display: flex; gap: 14px; padding: 20px 22px; }
.about-service-icon { align-items: center; background: var(--ivory); border-radius: 50%; color: var(--gold-ink); display: inline-flex; flex-shrink: 0; height: 42px; justify-content: center; width: 42px; }
.about-service-card h3 { color: var(--navy); font-family: var(--display); font-size: 16px; font-weight: 500; margin: 0 0 6px; }
.about-service-card p { color: #5f6b74; font-family: var(--sans); font-size: 13px; line-height: 1.6; margin: 0; }
.about-cta-wrap { padding-bottom: 86px; padding-top: 66px; }
.about-cta { align-items: center; background: radial-gradient(circle at 85% 10%, rgba(214,184,120,.14), transparent 28%), linear-gradient(135deg, var(--navy-deep), #124e7a); border-radius: 8px; color: white; display: flex; gap: 26px; justify-content: space-between; overflow: hidden; padding: 42px 50px; position: relative; }
.about-cta div > span { color: var(--gold-light); display: inline-flex; }
.about-cta p { color: var(--gold-light); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; margin: 9px 0; text-transform: uppercase; }
.about-cta h2 { font-family: var(--display); font-size: clamp(23px, 2.4vw, 30px); font-weight: 400; margin: 0; max-width: 590px; }
.light-button { align-items: center; background: white; border: 1px solid white; border-radius: 4px; color: var(--navy); display: inline-flex; flex-shrink: 0; font-family: var(--display); font-size: 12px; gap: 17px; letter-spacing: .08em; margin-left: 28px; min-height: 50px; padding: 0 23px; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.light-button:hover { background: var(--gold-light); color: var(--navy-deep); transform: translateY(-2px); }
/* Isto dugme na kremastoj podlozi (panel "novi kupac" na prijavi) — bijelo
   na krem se ne vidi, pa je tu popunjeno navy bojom. */
.auth-new-customer .light-button { align-self: flex-start; background: var(--navy); border-color: var(--navy); color: #fff; margin-left: 0; }
/* .section-kicker.light je svijetlo zlatna — za tamnu podlogu. Panel je
   krem, pa tu ide tamnija zlatna, isto kao ostali kickeri na sajtu. */
.auth-new-customer .section-kicker.light { color: var(--gold-ink); }
.auth-new-customer .light-button:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--gold-light); }

.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; padding-bottom: 76px; padding-top: 64px; }
.contact-form-card { background: white; border: 1px solid var(--line); border-left: 0; border-radius: 0 0 8px 8px; box-shadow: 0 25px 55px rgba(21,42,59,.08); padding: 54px 58px; }
.contact-form-card h2 { color: var(--navy); font-family: var(--display); font-size: 40px; font-weight: 400; margin: 0 0 10px; }
.form-intro { color: var(--muted); font-family: var(--display); font-size: 13px; line-height: 1.6; margin: 0 0 28px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; gap: 17px; grid-template-columns: 1fr 1fr; }
.contact-form label { color: #485966; display: flex; flex-direction: column; font-size: 12px; font-weight: 700; gap: 8px; letter-spacing: .06em; text-transform: uppercase; }
.contact-form label > span { color: var(--gold); }
.contact-form input:not([type="checkbox"]), .contact-form textarea { background: #fbfaf7; border: 1px solid #ded8cd; border-radius: 4px; color: var(--ink); font-size: 13px; font-weight: 400; letter-spacing: normal; outline: none; padding: 13px 14px; text-transform: none; transition: background .2s, border-color .2s, box-shadow .2s; width: 100%; }
.contact-form input:not([type="checkbox"]) { height: 47px; }
.contact-form textarea { min-height: 135px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { background: white; border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(13,63,105,.07); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a7a29a; }
.contact-form .privacy-check { align-items: flex-start; color: #77828a; flex-direction: row; font-size: 12px; font-weight: 400; letter-spacing: normal; line-height: 1.5; text-transform: none; }
.privacy-check input { accent-color: var(--navy); flex-shrink: 0; height: 16px; margin: 0; width: 16px; }
.privacy-check span { color: inherit !important; }
.form-submit { cursor: pointer; width: max-content; }
.form-success { align-items: flex-start; background: #eaf5ee; border: 1px solid #c9e4d3; border-radius: 6px; color: var(--success); display: flex; gap: 12px; margin-bottom: 22px; padding: 14px; }
.form-success svg { flex-shrink: 0; margin-top: 2px; }
.form-success div { display: flex; flex-direction: column; gap: 4px; }
.form-success strong { font-family: var(--display); font-size: 14px; font-weight: 600; }
.form-success span { color: #557265; font-size: 12px; line-height: 1.5; }

/* Prijava i registracija */
.auth-page { background: linear-gradient(180deg, #fffdfa 0%, #f7f4ed 60%, #fffdfa 100%); }
.auth-section { padding-bottom: 96px; padding-top: 38px; }
.auth-heading { align-items: baseline; display: flex; gap: 24px; justify-content: space-between; padding-bottom: 14px; }
.auth-heading h1 { color: #29475f; font-family: var(--display); font-size: 27px; font-weight: 400; letter-spacing: 0; line-height: 1.1; margin: 0; }
.auth-heading p { color: #7b858c; font-family: var(--display); font-size: 12px; line-height: 1.5; margin: 0; text-align: right; }
.auth-heading p a { border-bottom: 1px solid var(--gold-light); color: var(--navy); }
.login-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-top: 10px; }
.auth-card { background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 45px rgba(20,41,57,.06); padding: 38px; position: relative; }
.auth-card h2, .register-aside h2 { color: var(--navy); font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1.1; margin: 0 0 13px; }
.auth-card > p, .register-aside > p { color: var(--muted); font-family: var(--sans); font-size: 13px; line-height: 1.7; margin: 0; }
.auth-new-customer { background: linear-gradient(145deg, #f4f0e7, #fffdfa); display: flex; flex-direction: column; overflow: hidden; }
.auth-card-icon { color: rgba(183,138,59,.11); font-family: var(--display); font-size: 190px; line-height: 1; position: absolute; right: -22px; top: -40px; }
.auth-new-customer > *:not(.auth-card-icon) { position: relative; z-index: 1; }
.auth-benefit-list { display: flex; flex-direction: column; gap: 13px; list-style: none; margin: 28px 0 30px; padding: 0; }
.auth-benefit-list li { align-items: center; color: #52616c; display: flex; font-family: var(--display); font-size: 13px; gap: 11px; }
.auth-benefit-list li > svg { color: var(--gold); flex-shrink: 0; }
.primary-button.auth-full-button, .secondary-button.auth-full-button { cursor: pointer; justify-content: space-between; margin-top: auto; width: 100%; }
.secondary-button { align-items: center; background: transparent; border: 1px solid var(--navy); border-radius: 4px; color: var(--navy); display: inline-flex; font-family: var(--display); font-size: 12px; gap: 18px; justify-content: center; letter-spacing: .08em; min-height: 50px; padding: 0 24px; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.secondary-button:hover { background: var(--navy); color: white; transform: translateY(-2px); }
.auth-form { display: flex; flex-direction: column; gap: 19px; margin-top: 27px; }
.auth-form label:not(.auth-check):not(.radio-choice) { color: #435663; display: flex; flex-direction: column; font-size: 12px; font-weight: 700; gap: 8px; letter-spacing: .06em; text-transform: uppercase; }
.auth-form label:not(.auth-check):not(.radio-choice) > span { color: var(--gold); }
.auth-form input:not([type="checkbox"]):not([type="radio"]) { background: #fbfaf7; border: 1px solid #ded8cd; border-radius: 4px; color: var(--ink); font-size: 13px; font-weight: 400; height: 48px; letter-spacing: normal; outline: none; padding: 0 14px; text-transform: none; transition: background .2s, border-color .2s, box-shadow .2s; width: 100%; }
.auth-form input:not([type="checkbox"]):not([type="radio"]):focus { background: white; border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(13,63,105,.07); }
.auth-form input::placeholder { color: #a7a29a; }
.auth-form-meta { align-items: center; display: flex; justify-content: space-between; }
.auth-form-meta > a { border-bottom: 1px solid #dbcaa8; color: var(--navy); font-family: var(--display); font-size: 12px; }
.auth-check { align-items: flex-start; color: #6d7880; cursor: pointer; display: flex; font-family: var(--display); font-size: 12px; gap: 9px; line-height: 1.5; }
.auth-check input { accent-color: var(--navy); flex-shrink: 0; height: 16px; margin: 1px 0 0; width: 16px; }
.auth-check span { color: inherit !important; }
.form-error { background: #fff1ee; border: 1px solid #efcdc5; border-radius: 6px; color: #9b473a; display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; padding: 14px; }
.form-error strong { font-family: var(--display); font-size: 14px; }
.form-error span { font-size: 12px; }

.register-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1.45fr) 330px; margin-top: 10px; }
.register-card { padding: 40px; }
.register-form { margin-top: 0; }
.register-form fieldset { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 0 0 31px; }
.register-form fieldset + fieldset { padding-top: 31px; }
.register-form legend { align-items: center; color: var(--navy); display: flex; font-family: var(--display); font-size: 20px; gap: 10px; margin-bottom: 21px; padding: 0; width: 100%; }
.register-form legend span { align-items: center; background: var(--ivory-deep); border-radius: 50%; color: var(--gold); display: flex; font-family: var(--sans); font-size: 11px; font-weight: 800; height: 27px; justify-content: center; letter-spacing: .04em; width: 27px; }
.auth-form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 21px; }
.radio-choice { align-items: center; background: #fbfaf7; border: 1px solid var(--line); border-radius: 8px; color: #53636e; cursor: pointer; display: inline-flex; font-family: var(--display); font-size: 12px; gap: 8px; min-height: 39px; padding: 0 14px; }
.radio-choice:has(input:checked) { background: #edf3f7; border-color: #b7c8d4; color: var(--navy); }
.radio-choice input { accent-color: var(--navy); margin: 0; }
.radio-choice span { color: inherit !important; }
.register-options { align-items: center; display: flex; gap: 25px; justify-content: space-between; }
.register-options strong { color: #435663; font-family: var(--display); font-size: 13px; font-weight: 500; }
.register-options p { color: var(--muted); font-family: var(--display); font-size: 13px; line-height: 1.5; margin: 5px 0 0; }
.choice-row.compact { flex-shrink: 0; margin-bottom: 0; }
.auth-check.privacy { margin-top: 21px; }
.register-submit { cursor: pointer; margin-top: 3px; width: max-content; }
.register-aside { background: radial-gradient(circle at 100% 0, rgba(214,184,120,.13), transparent 31%), linear-gradient(155deg, var(--navy-deep), #124a76); border-radius: 8px; color: white; overflow: hidden; padding: 38px 30px; position: sticky; top: 142px; }
.register-aside-mark { color: rgba(214,184,120,.12); font-family: var(--display); font-size: 145px; line-height: 1; position: absolute; right: -12px; top: -26px; }
.register-aside > *:not(.register-aside-mark) { position: relative; z-index: 1; }
.register-aside h2 { color: white; }
.register-aside > p { color: rgba(255,255,255,.68); }
.light-list { margin-bottom: 0; }
.light-list li { align-items: flex-start; color: white; gap: 13px; }
.light-list li > svg { color: var(--gold-light); margin-top: 2px; }
.light-list li > span { display: flex; flex-direction: column; gap: 4px; }
.light-list strong { color: white; font-family: var(--display); font-size: 13px; font-weight: 500; }
.light-list small { color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.4; }

/* Kategorijska pretraga */
.category-page { background: #fffdfa; }
.category-intro { align-items: flex-end; border-bottom: 1px solid var(--line); display: flex; gap: 40px; justify-content: space-between; padding-bottom: 32px; padding-top: 38px; }
.category-intro .section-kicker { margin-bottom: 8px; }
.category-intro h1 { color: var(--navy); font-family: var(--display); font-size: 40px; font-weight: 400; line-height: 1; margin: 0; }
.category-intro > p { color: var(--muted); font-family: var(--sans); font-size: 13px; line-height: 1.65; margin: 0; max-width: 570px; text-align: right; }
.category-layout { align-items: start; display: grid; gap: 28px; grid-template-columns: 250px minmax(0, 1fr); padding-bottom: 96px; padding-top: 32px; }
.filter-close { align-items: center; background: var(--ivory); border: 0; border-radius: 50%; color: var(--navy); cursor: pointer; display: none; height: 38px; justify-content: center; width: 38px; }
.filter-search input::placeholder { color: #aaa49c; }
.price-range-label { align-items: center; color: var(--muted); display: flex; font-family: var(--display); font-size: 12px; justify-content: space-between; }
.price-range-label strong { color: var(--navy); font-size: 13px; font-weight: 500; }
.price-range-bounds { color: #98a0a5; display: flex; font-size: 11px; justify-content: space-between; }
.category-content { min-width: 0; }

/* ── Pojas potkategorija u desnoj koloni (šest u redu) ────────────────────── */
.subcategory-strip { display: grid; gap: 10px; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 26px; }
.subcategory-tile { background: #fff; border: 1px solid var(--card-line); border-radius: 6px; color: #55636d; display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, color .2s; }
.subcategory-tile:hover { border-color: var(--navy); color: var(--navy); }
.subcategory-tile-frame { aspect-ratio: 1 / 1; background: #fff; display: block; overflow: hidden; padding: 9px; }
.subcategory-tile-frame img { height: 100%; object-fit: contain; width: 100%; }
.subcategory-tile-name { align-items: center; display: flex; flex: 1; font-family: var(--sans); font-size: 12px; justify-content: center; line-height: 1.3; padding: 7px 6px 10px; text-align: center; }

/* ── Filteri (sidebar) i traka nad listom ─────────────────────────────────── */
/* Bijela podloga i siva zaglavlja grupa: na krem stranici se sidebar prije
   stapao sa pozadinom. */
.product-filters { background: #fff; border: 1px solid var(--card-line); border-radius: 8px; box-shadow: 0 1px 3px rgba(20,40,58,.04); overflow: hidden; padding-bottom: 4px; position: sticky; top: 140px; }
.filters-cover { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; }
.filters-cover img { height: 100%; object-fit: cover; width: 100%; }
.filters-heading { align-items: flex-start; background: #f5f5f3; border-bottom: 1px solid var(--card-line); display: flex; gap: 10px; justify-content: space-between; padding: 19px 18px 15px; }
.filters-heading small { color: var(--gold-ink); font-size: 13px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.filters-heading h2 { color: var(--navy); font-family: var(--display); font-size: 21px; font-weight: 500; margin: 5px 0 0; }
.filters-reset { align-items: center; background: none; border: 1px solid var(--card-line); border-radius: 4px; color: #6d7981; cursor: pointer; display: inline-flex; font-family: var(--sans); font-size: 11px; gap: 5px; padding: 6px 9px; transition: border-color .2s, color .2s; white-space: nowrap; }
.filters-reset:hover { border-color: var(--navy); color: var(--navy); }
.filters-reset--block { justify-content: center; margin: 6px 18px 16px; width: calc(100% - 36px); }
.filter-search { background: #fff; color: #5a6872; display: flex; flex-direction: column; font-size: 11px; font-weight: 700; gap: 8px; letter-spacing: .06em; padding: 16px 18px; text-transform: uppercase; }
.filter-search > div { align-items: center; background: #fff; border: 1px solid var(--card-line); border-radius: 4px; color: #8d989f; display: flex; height: 40px; padding-right: 10px; }
.filter-search input { background: transparent; border: 0; color: var(--ink); font-family: var(--sans); font-size: 13px; letter-spacing: normal; min-width: 0; outline: none; padding: 0 10px; text-transform: none; width: 100%; }
.filter-group { border-top: 1px solid var(--card-line); }
.filter-group > summary { align-items: center; background: #f7f7f5; color: var(--navy); cursor: pointer; display: flex; font-family: var(--display); font-size: 14px; font-weight: 500; gap: 8px; justify-content: space-between; list-style: none; padding: 13px 18px; transition: background .2s; }
.filter-group > summary:hover { background: #f0f0ec; }
.filter-group[open] > summary { border-bottom: 1px solid var(--card-line); }
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary em { color: var(--muted); font-size: 12px; font-style: normal; }
.filter-group > summary .icon { color: var(--muted); flex-shrink: 0; transition: transform .2s; }
.filter-group[open] > summary .icon { transform: rotate(90deg); }
.filter-body { background: #fff; display: flex; flex-direction: column; gap: 9px; padding: 14px 18px 16px; }
.filter-body--scroll { max-height: 234px; overflow-y: auto; }
.filter-choice { align-items: center; color: #55636d; cursor: pointer; display: grid; font-family: var(--sans); font-size: 13px; gap: 9px; grid-template-columns: 15px minmax(0, 1fr) auto; transition: color .2s; }
.filter-choice:hover { color: var(--navy); }
.filter-choice input { accent-color: var(--navy); height: 15px; margin: 0; width: 15px; }
.filter-choice b { color: #9ba4aa; font-size: 11px; font-weight: 400; }
.filter-choice--sale { border-top: 1px solid var(--card-line); grid-template-columns: 15px minmax(0, 1fr) auto; margin-top: 5px; padding-top: 11px; }
.filter-swatch { border: 1px solid var(--card-line); border-radius: 50%; display: block; height: 13px; width: 13px; }
.filter-note { color: var(--muted); font-family: var(--sans); font-size: 11px; margin: 6px 0 0; }
.price-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.price-quick button { background: #fff; border: 1px solid var(--card-line); border-radius: 4px; color: #55636d; cursor: pointer; font-family: var(--sans); font-size: 12px; padding: 6px 9px; transition: background .2s, border-color .2s, color .2s; }
.price-quick button:hover { border-color: var(--navy); color: var(--navy); }
.price-quick button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters-reset--icon { flex-shrink: 0; padding: 7px; }
.price-inputs { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 10px; }
.price-inputs label { color: #7b858c; display: flex; flex-direction: column; font-family: var(--sans); font-size: 11px; gap: 5px; }
.price-inputs input { background: #fff; border: 1px solid var(--card-line); border-radius: 4px; color: var(--ink); font-family: var(--sans); font-size: 13px; height: 38px; min-width: 0; padding: 0 9px; width: 100%; }
.filter-thumbs { background: #fff; display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 12px 10px 14px; }
.filter-thumbs a { align-items: center; border-radius: 6px; color: #55636d; display: grid; font-family: var(--sans); font-size: 13px; gap: 10px; grid-template-columns: 34px minmax(0, 1fr); padding: 6px 8px; transition: background .2s, color .2s; }
.filter-thumbs a:hover { background: var(--ivory); color: var(--navy); }
.filter-thumbs img { aspect-ratio: 1 / 1; border: 1px solid var(--card-line); border-radius: 4px; object-fit: cover; width: 34px; }
.product-toolbar { align-items: center; border-bottom: 1px solid var(--card-line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 26px; padding-bottom: 14px; }
.toolbar-results { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.toolbar-count { color: var(--muted); font-family: var(--sans); font-size: 13px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { align-items: center; background: var(--ivory); border: 1px solid var(--card-line); border-radius: 99px; color: var(--navy); cursor: pointer; display: inline-flex; font-family: var(--sans); font-size: 12px; gap: 6px; padding: 5px 11px; transition: background .2s, border-color .2s, color .2s; }
.filter-chip:hover { background: var(--danger-soft); border-color: var(--danger); color: var(--danger-ink); }
.toolbar-controls { display: flex; gap: 10px; }
.toolbar-select { align-items: center; color: #7b858c; display: flex; font-family: var(--sans); font-size: 12px; gap: 8px; }
.toolbar-select select { background: #fff; border: 1px solid var(--card-line); border-radius: 4px; color: #465966; font-family: var(--sans); font-size: 13px; height: 38px; outline: none; padding: 0 10px; }
.view-switch { display: flex; flex-shrink: 0; }
.view-switch button { align-items: center; background: #fff; border: 1px solid var(--card-line); color: var(--muted); cursor: pointer; display: inline-flex; height: 38px; justify-content: center; transition: background .2s, border-color .2s, color .2s; width: 38px; }
.view-switch button:first-child { border-radius: 4px 0 0 4px; }
.view-switch button:last-child { border-left: 0; border-radius: 0 4px 4px 0; }
.view-switch button:hover { color: var(--navy); }
.view-switch button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
/* Lista: kartica postaje horizontalna — slika lijevo, podaci desno. */
.product-grid.is-list { grid-template-columns: minmax(0, 1fr); }
.is-list .product-card { flex-direction: row; }
.is-list .product-image-wrap { flex: 0 0 158px; }
.is-list .product-body { justify-content: center; }
.is-list .product-body .cart-button { min-width: 210px; width: max-content; }
.results-context-card { align-items: center; background: linear-gradient(135deg, #f7f4ed, var(--paper)); border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 17px; grid-template-columns: 54px minmax(0, 1fr) auto; min-height: 118px; padding: 22px 25px; }
.results-context-icon { align-items: center; background: var(--navy); border-radius: 50%; color: var(--gold-light); display: flex; height: 54px; justify-content: center; width: 54px; }
.results-context-card > div { min-width: 0; }
.results-context-card > div > small { color: var(--gold); display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; margin-bottom: 5px; text-transform: uppercase; }
.results-context-card h2 { color: var(--navy); font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.08; margin: 0; }
.results-context-card p { color: var(--muted); font-family: var(--display); font-size: 13px; margin: 7px 0 0; }
.results-context-card > a { align-items: center; border-bottom: 1px solid var(--gold-light); color: var(--navy); display: flex; font-family: var(--display); font-size: 13px; gap: 6px; padding-bottom: 5px; white-space: nowrap; }
.results-context-card > a:hover { color: var(--gold); }
.results-page .product-toolbar { margin-top: 25px; }
.subcategory-icon { align-items: center; background: var(--ivory); border-radius: 50%; color: var(--gold); display: flex; height: 38px; justify-content: center; width: 38px; }
.mobile-filter-button { align-items: center; background: var(--navy); border: 0; border-radius: 4px; color: white; cursor: pointer; display: none; font-family: var(--display); font-size: 12px; gap: 7px; min-height: 36px; padding: 0 13px; text-transform: uppercase; }
.category-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.category-product-grid .product-body { min-height: 178px; }
.stock.out-of-stock { color: #9a6a45; }
.stock.out-of-stock i { background: #c89a70; }
.infinite-loader { align-items: center; color: var(--muted); display: flex; flex-direction: column; font-family: var(--display); gap: 10px; justify-content: center; min-height: 118px; padding-top: 25px; text-align: center; }
.infinite-loader p { font-size: 13px; margin: 0; }
.infinite-loader > span:not(.loader-spinner) { color: var(--gold); font-size: 22px; }
.loader-spinner { border: 2px solid #e7e0d4; border-radius: 50%; border-top-color: var(--gold); height: 26px; opacity: .45; width: 26px; }
.loader-spinner.is-loading { animation: category-spin .75s linear infinite; opacity: 1; }
.category-empty { align-items: center; background: #faf8f3; border: 1px dashed #d9d0c1; border-radius: 8px; color: var(--gold); display: flex; flex-direction: column; margin-top: 22px; min-height: 300px; padding: 45px; text-align: center; }
.category-empty h3 { color: var(--navy); font-family: var(--display); font-size: 23px; font-weight: 400; margin: 16px 0 8px; }
.category-empty p { color: var(--muted); font-family: var(--display); font-size: 12px; margin: 0 0 20px; }
.filter-scrim { background: rgba(6,24,38,.55); border: 0; inset: 0; position: fixed; z-index: 78; backdrop-filter: blur(2px); }
/* Wishlist */
.wishlist-page { background: #fffdfa; }
.wishlist-heading { align-items: flex-end; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 34px; padding-top: 46px; }
.wishlist-heading h1 { color: var(--navy); font-family: var(--display); font-size: clamp(40px, 4.6vw, 58px); font-weight: 400; letter-spacing: -.025em; line-height: 1; margin: 7px 0 13px; }
.wishlist-heading p { color: var(--muted); font-family: var(--display); font-size: 13px; line-height: 1.65; margin: 0; max-width: 620px; }
.wishlist-count-badge { align-items: center; background: linear-gradient(135deg, #0b345a, #174f7d); border-radius: 8px; color: var(--gold-light); display: grid; gap: 0 10px; grid-template-columns: 28px auto; min-width: 154px; padding: 17px 20px; }
.wishlist-count-badge svg { grid-row: 1 / 3; }
.wishlist-count-badge strong { color: white; font-family: var(--display); font-size: 23px; font-weight: 400; line-height: 1; }
.wishlist-count-badge small { color: #c7d3dc; font-family: var(--display); font-size: 11px; margin-top: 4px; }
.wishlist-content { padding-bottom: 52px; padding-top: 30px; }
.wishlist-toolbar { align-items: center; background: #f8f5ee; border: 1px solid var(--line); border-radius: 8px; display: flex; justify-content: space-between; padding: 14px 17px 14px 21px; }
.wishlist-toolbar > div { align-items: center; display: flex; gap: 9px; }
.wishlist-toolbar > div:first-child strong { color: var(--navy); font-family: var(--display); font-size: 22px; font-weight: 400; }
.wishlist-toolbar > div:first-child span { color: var(--muted); font-family: var(--display); font-size: 13px; }
.wishlist-clear { background: none; border: 0; border-bottom: 1px solid #d2b987; color: var(--navy); cursor: pointer; font-family: var(--display); font-size: 13px; padding: 0 0 4px; }
.wishlist-clear:hover { color: var(--gold); }
.wishlist-add-all { min-height: 43px; padding-inline: 18px; }
.wishlist-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 25px; }
.wishlist-card .product-image-wrap { height: 270px; }
.wishlist-card .product-body { min-height: 216px; }
.wishlist-card .cart-button:disabled { background: #a7afb4; cursor: not-allowed; opacity: .75; }
.wishlist-remove { align-self: center; background: none; border: 0; border-bottom: 1px solid #d7c49f; color: #75818a; cursor: pointer; font-family: var(--display); font-size: 12px; margin-top: 9px; padding: 0 0 4px; }
.wishlist-remove:hover { color: #a05252; }
.wishlist-empty { align-items: center; display: flex; flex-direction: column; justify-content: center; min-height: 510px; padding-bottom: 70px; padding-top: 70px; text-align: center; }
.wishlist-empty-icon { align-items: center; background: var(--ivory); border: 1px solid var(--line); border-radius: 50%; color: var(--gold); display: flex; height: 86px; justify-content: center; margin-bottom: 20px; width: 86px; }
.wishlist-empty h2 { color: var(--navy); font-family: var(--display); font-size: 32px; font-weight: 400; margin: 10px 0 12px; }
.wishlist-empty p { color: var(--muted); font-family: var(--display); font-size: 13px; line-height: 1.65; margin: 0 0 25px; max-width: 540px; }
.wishlist-loading { align-items: center; color: var(--muted); display: flex; flex-direction: column; font-family: var(--display); gap: 14px; justify-content: center; min-height: 430px; }
.wishlist-note { align-items: center; background: #f7f4ed; border: 1px solid var(--line); border-radius: 8px; color: var(--gold); display: flex; gap: 14px; margin-bottom: 75px; padding: 17px 20px; }
.wishlist-note strong { color: var(--navy); display: block; font-family: var(--sans); font-size: 13px; font-weight: 500; }
.wishlist-note p { color: var(--muted); font-family: var(--sans); font-size: 12px; margin: 4px 0 0; }
.icon-button.is-active { background: var(--ivory-deep); color: var(--gold); }
/* Checkout */
.checkout-page { background: #f7f6f2; }
.checkout-page footer { margin-top: 88px; }
.checkout-heading { align-items: flex-end; display: flex; justify-content: space-between; padding-bottom: 34px; padding-top: 46px; }
.checkout-heading h1 { color: var(--navy); font-family: var(--display); font-size: clamp(36px, 4vw, 52px); font-weight: 400; letter-spacing: -.02em; margin: 0 0 10px; }
.checkout-heading p { color: var(--muted); font-family: var(--display); font-size: 13px; line-height: 1.65; margin: 0; }
.checkout-trust { align-items: center; background: #eef3f5; border: 1px solid #dce6ea; border-radius: 8px; color: var(--navy); display: flex; gap: 12px; padding: 13px 17px; }
.checkout-trust > span { display: flex; flex-direction: column; gap: 3px; }
.checkout-trust strong { font-family: var(--display); font-size: 12px; font-weight: 600; }
.checkout-trust small { color: #7c898f; font-size: 11px; }
.checkout-layout { align-items: start; display: grid; gap: 27px; grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr); }
.checkout-form-column { display: flex; flex-direction: column; gap: 17px; }
.checkout-card { background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 25px rgba(22,39,52,.035); padding: 29px 31px 31px; }
.checkout-card-heading { align-items: flex-start; border-bottom: 1px solid #eee9e0; display: flex; gap: 15px; margin-bottom: 24px; padding-bottom: 19px; }
.checkout-card-heading > span { align-items: center; background: var(--ivory-deep); border-radius: 50%; color: var(--gold); display: flex; flex-shrink: 0; font-family: var(--display); font-size: 13px; height: 36px; justify-content: center; width: 36px; }
.checkout-card-heading h2 { color: var(--navy); font-family: var(--display); font-size: 22px; font-weight: 500; margin: 0 0 5px; }
.checkout-card-heading p { color: #899198; font-family: var(--display); font-size: 12px; line-height: 1.5; margin: 0; }
.checkout-fields { display: grid; gap: 18px 16px; }
.checkout-fields.two-columns { grid-template-columns: 1fr 1fr; }
.checkout-fields .field-wide { grid-column: 1 / -1; }
.checkout-fields label, .compact-card > label { color: #4e5d67; display: flex; flex-direction: column; font-size: 11px; font-weight: 800; gap: 8px; letter-spacing: .075em; text-transform: uppercase; }
.checkout-fields label > b { color: var(--gold); display: contents; }
.checkout-fields input, .checkout-fields select, .compact-card textarea { background: #fbfaf7; border: 1px solid #ddd7cc; border-radius: 6px; color: var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 400; height: 47px; letter-spacing: normal; outline: none; padding: 0 13px; text-transform: none; transition: background .2s, border-color .2s, box-shadow .2s; width: 100%; }
.checkout-fields input:focus, .checkout-fields select:focus, .compact-card textarea:focus, .coupon-box input:focus { background: white; border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(13,63,105,.07); }
.checkout-fields input::placeholder, .compact-card textarea::placeholder, .coupon-box input::placeholder { color: #aaa69f; }
.checkout-login-note { align-items: flex-start; background: #f8f5ee; border-radius: 6px; justify-content: center; min-height: 47px; padding: 9px 13px; }
.checkout-login-note > span { color: #818a90 !important; font-size: 11px; font-weight: 500; letter-spacing: normal; text-transform: none; }
.checkout-login-note > a { color: var(--navy); font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: normal; text-transform: none; }
.checkout-check, .terms-check { align-items: flex-start; color: #6e7981; cursor: pointer; display: flex; font-family: var(--display); font-size: 13px; gap: 9px; line-height: 1.45; margin-top: 20px; }
.checkout-check input, .terms-check input { accent-color: var(--navy); flex-shrink: 0; height: 16px; margin: 0; width: 16px; }
.company-fields { border-top: 1px dashed #ddd5c9; margin-top: 18px; padding-top: 18px; }
.checkout-options { display: flex; flex-direction: column; gap: 9px; }
.checkout-options > label { align-items: center; background: #fbfaf7; border: 1px solid #dfd9ce; border-radius: 6px; cursor: pointer; display: grid; gap: 12px; grid-template-columns: 18px 43px minmax(0, 1fr) auto; min-height: 72px; padding: 11px 15px; transition: background .2s, border-color .2s, box-shadow .2s; }
.checkout-options > label:hover { border-color: #cdbd9f; }
.checkout-options > label.is-selected { background: #f2f6f7; border-color: #8ca9bb; box-shadow: 0 0 0 2px rgba(13,63,105,.035); }
.checkout-options input { accent-color: var(--navy); height: 16px; margin: 0; width: 16px; }
.checkout-options .option-icon { align-items: center; background: white; border: 1px solid #e3ded4; border-radius: 50%; color: var(--gold); display: flex; height: 43px; justify-content: center; width: 43px; }
.checkout-options > label > span:nth-of-type(2) { display: flex; flex-direction: column; gap: 5px; }
.checkout-options strong { color: #344c5e; font-family: var(--display); font-size: 13px; font-weight: 600; }
.checkout-options small { color: #8a9399; font-family: var(--sans); font-size: 12px; }
.checkout-options > label > b { color: var(--navy); font-family: var(--display); font-size: 13px; font-weight: 600; }
.payment-options > label { grid-template-columns: 18px 43px minmax(0, 1fr); }
.card-fields { background: #f7f8f7; border: 1px solid #e1e5e2; border-radius: 6px; margin-top: 13px; padding: 17px; }
.card-security { align-items: center; color: #61726e; display: flex; font-family: var(--display); font-size: 12px; gap: 8px; margin-bottom: 16px; }
.card-security svg { color: var(--success); }
.compact-card textarea { height: auto; min-height: 100px; padding: 13px; resize: vertical; }
.order-summary-card { background: white; border: 1px solid #ddd5c8; border-radius: 8px; box-shadow: 0 20px 48px rgba(21,40,55,.09); padding: 28px; position: sticky; top: 112px; }
.order-summary-heading { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 18px; }
.order-summary-heading .section-kicker { margin-bottom: 6px; }
.order-summary-heading h2 { color: var(--navy); font-family: var(--display); font-size: 25px; font-weight: 400; margin: 0; }
.order-summary-heading > small { background: var(--ivory-deep); border-radius: 99px; color: #6d777d; font-size: 11px; padding: 7px 9px; white-space: nowrap; }
.checkout-products { display: flex; flex-direction: column; max-height: 355px; overflow-y: auto; padding-right: 3px; scrollbar-color: #c9c1b5 transparent; scrollbar-width: thin; }
.checkout-product { border-bottom: 1px solid #ece7de; display: grid; gap: 11px; grid-template-columns: 68px minmax(0, 1fr) auto; padding: 17px 0; }
.checkout-product > img { background: var(--ivory); border-radius: 6px; height: 82px; object-fit: cover; width: 68px; }
.checkout-product > div { min-width: 0; }
.checkout-product > div > small { color: #9ca3a7; display: block; font-size: 7px; letter-spacing: .1em; margin-bottom: 4px; }
.checkout-product h3 { color: #344b5c; font-family: var(--display); font-size: 12px; font-weight: 500; line-height: 1.25; margin: 0 0 5px; }
.checkout-product > div > strong { color: #7a858b; font-family: var(--display); font-size: 12px; font-weight: 400; }
.checkout-product > b { color: var(--navy); font-family: var(--display); font-size: 12px; font-weight: 600; white-space: nowrap; }
.checkout-product-actions { align-items: center; display: flex; gap: 11px; margin-top: 8px; }
.checkout-product-actions .quantity-control { height: 28px; }
.checkout-product-actions .quantity-control button { font-size: 14px; width: 26px; }
.checkout-product-actions .quantity-control span { min-width: 27px; }
.checkout-product-actions > button { background: none; border: 0; color: #9a6e58; cursor: pointer; font-family: var(--display); font-size: 11px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.coupon-box { border-bottom: 1px solid var(--line); padding: 18px 0; }
.coupon-box > label { color: #5f6d76; display: block; font-size: 11px; font-weight: 800; letter-spacing: .11em; margin-bottom: 8px; text-transform: uppercase; }
.coupon-box > div { display: flex; }
.coupon-box input { background: #fbfaf7; border: 1px solid #ddd7cc; border-radius: 4px 0 0 4px; flex: 1; font-size: 13px; height: 40px; min-width: 0; outline: none; padding: 0 11px; }
.coupon-box button { background: var(--navy); border: 0; border-radius: 0 4px 4px 0; color: white; cursor: pointer; font-family: var(--display); font-size: 12px; padding: 0 15px; }
.coupon-box p { color: #9a664d; font-family: var(--display); font-size: 11px; line-height: 1.4; margin: 7px 0 0; }
.coupon-box p.is-valid { color: var(--success); }
.delivery-status { align-items: center; background: #f5f1e8; border-radius: 6px; color: #6c756f; display: flex; font-family: var(--display); font-size: 12px; gap: 8px; margin-top: 17px; padding: 10px 11px; }
.delivery-status svg { color: var(--gold); flex-shrink: 0; }
.checkout-totals { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; }
.checkout-totals > div { align-items: center; color: #67747d; display: flex; font-family: var(--display); font-size: 13px; justify-content: space-between; }
.checkout-totals > div > strong { color: #3e5363; font-size: 12px; font-weight: 600; }
.checkout-totals .discount-row, .checkout-totals .discount-row > strong { color: var(--success); }
.checkout-totals .vat-row { color: #929a9f; font-size: 11px; }
.checkout-totals .vat-row > strong { color: #7d878d; font-size: 12px; }
.checkout-totals .checkout-grand-total { border-top: 1px solid #d8d0c3; color: var(--navy); font-size: 16px; margin-top: 4px; padding-top: 16px; }
.checkout-totals .checkout-grand-total > strong { color: var(--navy); font-size: 24px; }
.terms-check { font-size: 11px; margin: 0 0 14px; }
.terms-check a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.place-order-button { border: 0; cursor: pointer; justify-content: space-between; width: 100%; }
.summary-security { align-items: center; color: #829098; display: flex; font-family: var(--display); font-size: 11px; gap: 18px; justify-content: center; margin-top: 14px; }
.summary-security span { align-items: center; display: flex; gap: 5px; }
.summary-security svg { color: var(--gold); }
.checkout-loading, .checkout-empty, .checkout-success-page { align-items: center; background: white; border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; justify-content: center; margin-bottom: 90px; min-height: 390px; padding: 50px; text-align: center; }
.checkout-loading { color: var(--muted); font-family: var(--display); gap: 13px; }
.checkout-empty > span, .checkout-success-icon { align-items: center; background: var(--ivory-deep); border-radius: 50%; color: var(--navy); display: flex; height: 78px; justify-content: center; margin-bottom: 20px; width: 78px; }
.checkout-empty h2, .checkout-success-page h2 { color: var(--navy); font-family: var(--display); font-size: 34px; font-weight: 400; margin: 0 0 10px; }
.checkout-empty p, .checkout-success-page > p { color: var(--muted); font-family: var(--sans); font-size: 13px; line-height: 1.7; margin: 0 0 24px; max-width: 620px; }
.checkout-success-icon { background: #e5f3eb; color: var(--success); }
.checkout-success-page .section-kicker { margin-bottom: 10px; }
.success-order-meta { border-block: 1px solid var(--line); display: flex; gap: 30px; margin-bottom: 26px; padding: 18px 10px; }
.success-order-meta > span { align-items: center; color: var(--gold); display: flex; flex-direction: column; gap: 7px; }
.success-order-meta small { color: #71808a; font-family: var(--sans); font-size: 12px; }
.checkout-success-actions { display: flex; gap: 10px; }

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

@media (max-width: 1080px) {
  .header-inner { gap: 14px; }
  .brand-copy strong { font-size: 17px; }
  .main-nav { gap: 20px; }
  .search-box { width: 180px; }
  .benefit-card { padding: 15px; }
  .story-values article { padding-inline: 18px; }
  .category-layout { grid-template-columns: 225px minmax(0, 1fr); }
  .category-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subcategory-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wishlist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 370px; }
  .checkout-card { padding-inline: 25px; }
  .order-summary-card { padding: 24px; }
}

@media (max-width: 900px) {
  .shell { padding-inline: 20px; }
  .utility-inner > p { display: none; }
  .utility-inner { justify-content: flex-end; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 76px; }
  .main-nav { align-items: stretch; background: #fff; border-right: 1px solid var(--card-line); bottom: 0; box-shadow: 22px 0 60px rgba(9,24,36,.18); display: flex; flex-direction: column; gap: 0; justify-content: flex-start; left: 0; overflow-y: auto; padding: 74px 20px 26px; position: fixed; top: 0; transform: translateX(-105%); transition: transform .3s ease; width: min(340px, 90vw); z-index: 75; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > a, .main-nav > .nav-shop-button { align-items: center; border-bottom: 1px solid var(--card-line); color: var(--navy); display: flex; font-size: 16px; font-weight: 500; gap: 8px; justify-content: space-between; letter-spacing: .04em; min-height: 56px; padding: 0; text-align: left; width: 100%; }
  .main-nav > a:last-child, .main-nav > .nav-shop-button:last-child { border-bottom: 0; }
  .main-nav > a:active, .main-nav > .nav-shop-button:active { color: var(--gold-ink); }
  .main-nav > .nav-shop-button { display: none; }
  .mobile-shop { border-bottom: 1px solid var(--card-line); display: block; }
  .mobile-shop > summary { align-items: center; color: var(--navy); cursor: pointer; display: flex; font-family: var(--display); font-size: 16px; font-weight: 500; justify-content: space-between; letter-spacing: .04em; list-style: none; min-height: 56px; text-transform: uppercase; }
  .mobile-shop > summary::-webkit-details-marker, .mobile-shop-group > summary::-webkit-details-marker { display: none; }
  .mobile-shop > summary .icon, .mobile-shop-group > summary .icon { color: var(--muted); transition: transform .2s; }
  .mobile-shop[open] > summary .icon, .mobile-shop-group[open] > summary .icon { transform: rotate(90deg); }
  .mobile-shop-body { padding: 2px 0 14px; }
  .mobile-shop-group { border-top: 1px solid var(--card-line); }
  .mobile-shop-group > summary { align-items: center; color: #3a4d5c; cursor: pointer; display: flex; font-family: var(--sans); font-size: 15px; justify-content: space-between; list-style: none; min-height: 48px; padding-left: 4px; }
  .mobile-shop-group ul { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 0 0 12px 4px; }
  .mobile-shop-group li a { align-items: baseline; color: #55636d; display: flex; font-family: var(--sans); font-size: 14px; gap: 6px; padding: 9px 0 9px 14px; }
  .mobile-shop-group li small { color: #a0aab1; font-size: 12px; }
  .mobile-shop-all { color: var(--navy); font-weight: 500; }
  .mobile-shop-all--root { border-top: 1px solid var(--card-line); display: block; font-family: var(--display); padding: 15px 0 4px; }
  .mobile-nav-brand { display: block; color: var(--navy); font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: .05em; padding-bottom: 18px; }
  .mobile-nav-close { align-items: center; background: #fff; border: 1px solid var(--card-line); border-radius: 50%; color: var(--navy); cursor: pointer; display: flex; font-size: 20px; height: 40px; justify-content: center; line-height: 1; position: absolute; right: 18px; top: 20px; width: 40px; }
  .main-nav > a.mobile-wishlist-link { display: block; }
  .main-nav > a::after, .main-nav > .nav-shop-button::after { display: none; }
  .mega-menu { max-height: calc(100vh - 90px); padding: 28px; width: calc(100vw - 28px); }
  .mega-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega-close { display: flex; }
  .search-box { display: none; }
  .menu-button { display: inline-flex; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-track { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .story-values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .about-story { gap: 45px; grid-template-columns: 1fr 1fr; }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cta .light-button { margin-left: 0; }
  .about-cta { align-items: flex-start; flex-direction: column; gap: 28px; }
  .light-button { margin-left: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-card { border-left: 1px solid var(--line); border-radius: 0 0 8px 8px; }
  .register-layout { grid-template-columns: 1fr; }
  .register-aside { position: relative; top: auto; }
  .category-layout { display: block; }
  .results-context-card { grid-template-columns: 46px minmax(0, 1fr); padding: 19px 17px; }
  .results-context-icon { height: 46px; width: 46px; }
  .results-context-card h2 { font-size: 22px; }
  .results-context-card > a { grid-column: 2; justify-self: start; }
  .product-filters { bottom: 0; border-radius: 0; left: 0; max-width: 340px; overflow-y: auto; padding: 26px 23px; position: fixed; top: 0; transform: translateX(-105%); transition: transform .3s ease; width: 88vw; z-index: 80; }
  .product-filters.is-open { transform: translateX(0); }
  .filter-close, .mobile-filter-button { display: flex; }
  .category-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
  .category-intro > p { text-align: left; }
  .wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-heading { align-items: flex-start; gap: 22px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary-card { order: -1; position: static; }
  .checkout-products { max-height: 430px; }
}

@media (max-width: 640px) {
  /* Šifra i stanje izlaze na telefonu — kartica se skraćuje, a te informacije
     stoje na stranici proizvoda. */
  .product-image-wrap { padding: 6px; }

  /* Na telefonu je sav tekst centriran — jedna kolona, pa lijevo poravnanje
     ostavlja tekst da visi na jednoj strani. */
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-copy .ornament { justify-content: center; margin-inline: auto; }
  .hero-copy > p { margin-inline: auto; }
  .hero-copy .primary-button { margin-inline: auto; }
  .category-heading, .content-heading, .category-heading > div { text-align: center; }
  .category-heading > p { margin-inline: auto; }
  .breadcrumb { justify-content: center; }
  .product-body h3 { text-align: center; }
  .product-body h3 a { justify-content: center; }
  .footer-grid, .footer-bottom { text-align: center; }
  .footer-grid ul, .footer-grid nav { align-items: center; }
  .footer-brand { justify-content: center; }
  .story-values article { align-items: center; flex-direction: column; text-align: center; }
  .filters-heading { justify-content: center; text-align: center; }
  .toolbar-results { justify-content: center; }
  .product-toolbar { justify-content: center; }
  .shell { padding-inline: 16px; }
  .utility-inner nav { gap: 13px; }
  .utility-inner nav a:nth-child(2), .utility-inner nav a:nth-child(3) { display: none; }
  .site-header { top: 0; }
  .header-inner { min-height: 70px; }
  .brand-copy strong { font-size: clamp(13px, 4.2vw, 17px); }
  .brand-copy small { font-size: 6px; gap: 4px; }
  .brand-copy small i { width: 12px; }
  .header-actions { gap: 0; }
  .wishlist-heading { align-items: flex-start; flex-direction: column; gap: 20px; padding-bottom: 27px; padding-top: 31px; }
  .wishlist-heading p { font-size: 12px; }
  .wishlist-count-badge { min-width: 145px; }
  .wishlist-toolbar { align-items: flex-start; flex-direction: column; gap: 15px; }
  .wishlist-toolbar > div:last-child { align-items: stretch; flex-direction: column-reverse; width: 100%; }
  .wishlist-add-all { width: 100%; }
  .wishlist-grid { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wishlist-card .product-image-wrap { height: 185px; }
  .wishlist-card .product-body { min-height: 224px; }
  .wishlist-empty { min-height: 430px; padding-inline: 16px; }
  .wishlist-empty h2 { font-size: 27px; }
  .wishlist-note { align-items: flex-start; margin-bottom: 55px; }
  .desktop-action { display: none; }
  .icon-button { height: 38px; width: 38px; }
  .mega-menu { border-left: 0; border-right: 0; max-height: calc(100vh - 70px); padding: 54px 22px 28px; width: 100vw; }
  .mega-categories { gap: 26px; grid-template-columns: 1fr; }
  .mega-category { border-bottom: 1px solid var(--card-line); padding-bottom: 22px; }
  .mega-category h2 { font-size: 19px; }
  .mega-category li button, .mega-category li a { font-size: 14px; }
  .mega-category li small { font-size: 12px; }
  .hero { background-position: 62% center; min-height: 650px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(250,247,240,.99) 0%, rgba(250,247,240,.9) 62%, rgba(250,247,240,.25) 100%); }
  .hero-inner { align-items: flex-end; min-height: 650px; }
  .hero-copy { max-width: 355px; padding: 80px 10px 68px 4px; }
  .eyebrow { font-size: 13px; }
  .hero h1 { font-size: clamp(48px, 15vw, 64px); line-height: .94; }
  .hero-copy > p { font-size: 14px; line-height: 1.6; max-width: 320px; }
  .benefits-grid { gap: 10px; grid-template-columns: repeat(2, 1fr); padding-bottom: 16px; padding-top: 16px; }
  .benefit-card { align-items: flex-start; flex-direction: column; gap: 9px; min-height: 120px; padding: 16px; }
  .benefit-card strong { font-size: 13px; }
  .benefit-card small { font-size: 12px; }
  .section { padding-bottom: 48px; padding-top: 60px; }
  .section-heading { gap: 10px; }
  .section-heading > span { width: 26px; }
  .section-heading h2 { font-size: 29px; }
  .view-all { margin: 24px auto 0; }
  /* Na telefonu traka ide punom širinom (prevlačenje), a strelice idu ispod
     nje — sa strane bi na 390px pojele skoro trećinu prostora. */
  .category-carousel { column-gap: 14px; grid-template-areas: "traka traka" "prethodna sljedeca"; grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .category-track { gap: 10px; grid-area: traka; grid-auto-columns: calc((100% - 10px) / 2.2); }
  .carousel-arrow { height: 38px; width: 38px; }
  .carousel-arrow--prev { grid-area: prethodna; justify-self: end; }
  .carousel-arrow--next { grid-area: sljedeca; justify-self: start; }
  .category-name { font-size: 13px; letter-spacing: .03em; min-height: 74px; padding: 13px 9px; }
  .product-grid { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subcategory-strip { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-price { font-size: 16px; }
  .cart-button { font-size: 12px; gap: 6px; padding: 0 8px; }
  .story-strip { border-radius: 0; margin-bottom: 0; margin-inline: 0; padding-inline: 0; width: 100%; }
  .story-heading h2 { font-size: 24px; }
  .story-values { grid-template-columns: 1fr; }
  .footer-grid { gap: 36px; grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 8px; flex-direction: column; }
  .breadcrumb-bar .breadcrumb { min-height: 46px; overflow-x: auto; white-space: nowrap; }
  .about-intro { padding-top: 34px; text-align: center; }
  .about-story { display: flex; flex-direction: column; gap: 34px; padding-bottom: 62px; padding-top: 46px; }
  .about-story-copy h2 { font-size: 28px; }
  .about-story-visual { height: 330px; width: 100%; }
  .about-visual-frame { bottom: 18px; left: 18px; padding: 12px 16px; right: 18px; }
  .about-values-section { padding: 56px 0 58px; }
  .about-block-heading { margin-bottom: 26px; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-value-card { padding: 20px 18px 22px; }
  .about-services { grid-template-columns: 1fr; padding-top: 46px; }
  .about-cta-wrap { padding-bottom: 56px; padding-top: 52px; }
  .about-cta { align-items: flex-start; border-radius: 8px; flex-direction: column; gap: 22px; padding: 30px 24px; }
  .about-cta h2 { font-size: 23px; }
  .about-cta .light-button { margin-left: 0; width: 100%; justify-content: center; }
  .contact-layout { padding-bottom: 56px; padding-top: 60px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
  .cart-drawer { max-width: none; padding: 20px 17px; width: 100vw; }
  .drawer-heading { padding-bottom: 15px; }
  .drawer-heading h2 { font-size: 28px; }
  .cart-content { height: calc(100% - 76px); }
  .shipping-progress { margin-top: 13px; }
  .cart-item { gap: 11px; grid-template-columns: 76px minmax(0, 1fr); }
  .cart-item > img { height: 92px; width: 76px; }
  .cart-item-body h3 { font-size: 13px; }
  .summary-row strong { font-size: 19px; }
  .auth-section { padding-bottom: 68px; padding-top: 30px; }
  .auth-heading { align-items: flex-start; flex-direction: column; gap: 6px; padding-bottom: 12px; }
  .auth-heading h1 { font-size: 25px; }
  .auth-heading p { text-align: left; }
  .login-grid { grid-template-columns: 1fr; }
  .auth-card, .register-card { border-radius: 8px; padding: 28px 22px; }
  .auth-form-grid { grid-template-columns: 1fr; }
  .register-options { align-items: flex-start; flex-direction: column; }
  .register-submit { width: 100%; }
  .auth-form-meta { align-items: flex-start; flex-direction: column; gap: 13px; }
  .register-aside { padding: 31px 24px; }
  .category-intro { padding-bottom: 24px; padding-top: 28px; }
  .category-intro h1 { font-size: 32px; }
  .category-layout { padding-bottom: 68px; padding-top: 22px; }
  .product-toolbar { align-items: flex-start; gap: 13px; }
  .product-toolbar label { align-items: flex-start; flex-direction: column; gap: 5px; }
  .product-toolbar select { max-width: 148px; }
  .category-product-grid { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-product-grid .product-body { min-height: 188px; }
  .checkout-page footer { margin-top: 64px; }
  .checkout-heading { flex-direction: column; padding-bottom: 25px; padding-top: 30px; }
  .checkout-heading h1 { font-size: 35px; }
  .checkout-trust { width: 100%; }
  .checkout-card { border-radius: 8px; padding: 23px 18px; }
  .checkout-card-heading { gap: 11px; margin-bottom: 20px; }
  .checkout-card-heading h2 { font-size: 20px; }
  .checkout-fields.two-columns { grid-template-columns: 1fr; }
  .checkout-fields .field-wide { grid-column: auto; }
  .checkout-options > label { gap: 9px; grid-template-columns: 17px 39px minmax(0, 1fr); padding-inline: 11px; }
  .checkout-options > label > b { grid-column: 3; }
  .checkout-options .option-icon { height: 39px; width: 39px; }
  .order-summary-card { border-radius: 8px; padding: 21px 17px; }
  .order-summary-heading h2 { font-size: 22px; }
  .checkout-product { gap: 9px; grid-template-columns: 60px minmax(0, 1fr); }
  .checkout-product > img { height: 74px; width: 60px; }
  .checkout-product > b { grid-column: 2; justify-self: end; margin-top: -18px; }
  .checkout-totals .checkout-grand-total > strong { font-size: 21px; }
  .checkout-loading, .checkout-empty, .checkout-success-page { min-height: 340px; padding: 34px 20px; }
  .checkout-empty h2, .checkout-success-page h2 { font-size: 29px; }
  .success-order-meta { flex-direction: column; gap: 14px; width: 100%; }
  .success-order-meta > span { flex-direction: row; justify-content: center; }
  .checkout-success-actions { flex-direction: column; width: 100%; }
  .checkout-success-actions a { width: 100%; }
}

@media (max-width: 380px) {
  .brand-copy small { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image-wrap { height: 280px; }
  .product-body { min-height: auto; }
  .product-body h3 { min-height: auto; }
  .category-product-grid { grid-template-columns: 1fr; }
  .wishlist-grid { grid-template-columns: 1fr; }
  .wishlist-card .product-image-wrap { height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Laravel integration ---------------------------------------------------- */
.utility-inner form { display: contents; }
.utility-link { background: none; border: 0; color: inherit; cursor: pointer; font-size: inherit; padding: 0; }
.utility-link:hover { color: #fff; }
.cart-widget { display: contents; }
.cart-overlay { border: 0; }
body:has(.cart-drawer.is-open) { overflow: hidden; }
.checkout-button { display: flex; width: 100%; }
.continue-shopping { display: block; margin: 12px auto 0; text-align: center; width: max-content; }
.product-ribbon { background: var(--gold-light); color: var(--navy-deep); font-size: 12px; font-weight: 800; left: 13px; letter-spacing: .08em; padding: 7px 10px; position: absolute; top: 13px; z-index: 2; }
.product-ribbon--new { background: var(--navy); }
.product-price-row { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-top: auto; }
.product-price-wrap { align-items: baseline; display: flex; flex-wrap: wrap; gap: 8px; }
.product-price-wrap del { color: #939ba0; font-family: var(--display); font-size: 12px; }
.stock--out { color: #a35b51; }
.stock--out i { background: #a35b51; }
.product-secondary-actions { display: flex; flex-shrink: 0; gap: 8px; }
.product-secondary-actions button { align-items: center; background: none; border: 1px solid var(--card-line); border-radius: 4px; color: #6d7981; cursor: pointer; display: inline-flex; height: 34px; justify-content: center; transition: border-color .2s, color .2s; width: 34px; }
.product-secondary-actions button:hover { border-color: var(--navy); color: var(--navy); }
.product-secondary-actions .btn-compare.active { border-color: var(--navy); color: var(--navy); }
.product-detail-actions button { background: none; border: 0; border-bottom: 1px solid var(--card-line-strong); color: #6d7981; cursor: pointer; font-family: var(--display); font-size: 12px; padding: 0 0 3px; }
.product-detail-actions button:hover { color: var(--navy); }
.product-detail-actions .btn-compare.active { color: var(--navy); }
.p-tab-switch { background: none; border: 0; color: var(--muted); cursor: pointer; font-family: var(--display); font-size: 12px; padding: 0; text-decoration: underline; }
.p-tab-switch:hover { color: var(--navy); }
.favorite-button.has-error { background: #9e4f49; color: white; }
.field-error { color: var(--danger); display: block; font-size: 12px; margin-top: 6px; }
.category-product-grid > div > .product-card, .wishlist-grid > div > .product-card { height: 100%; }
.category-product-grid .product-body { min-height: 200px; }
.category-product-grid .category-empty { grid-column: 1 / -1; }
.category-heading { align-items: flex-end; border-bottom: 1px solid var(--line); display: flex; gap: 40px; justify-content: space-between; padding-bottom: 32px; padding-top: 38px; }
.category-heading h1 { color: var(--navy); font-family: var(--display); font-size: clamp(38px, 4.3vw, 56px); font-weight: 400; line-height: 1; margin: 7px 0 0; }
.category-heading > p { color: var(--muted); font-family: var(--sans); font-size: 13px; line-height: 1.65; margin: 0; max-width: 570px; text-align: right; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 30px; }
.is-loading { opacity: .5; pointer-events: none; }
.filter-mobile-button { background: var(--navy); border: 0; border-radius: 4px; color: #fff; display: none; margin-bottom: 12px; padding: 10px 14px; }
.form-alert { border: 1px solid; border-radius: 6px; font-family: var(--display); font-size: 13px; line-height: 1.5; margin-bottom: 20px; padding: 13px 16px; }
.form-alert ul { margin: 0; padding-left: 18px; }
.form-alert--error { background: var(--danger-soft); border-color: #e9c6c0; color: var(--danger-ink); }
.form-alert--success { background: var(--success-soft); border-color: #bfdcc8; color: var(--success-ink); }
.customer-type { align-items: center; border-bottom: 1px solid var(--line); color: #5d6971; display: flex; flex-wrap: wrap; font-family: var(--display); font-size: 12px; gap: 16px; margin-bottom: 22px; padding-bottom: 19px; }
.customer-type > span { color: var(--navy); font-weight: 600; margin-right: auto; }
.customer-type label { align-items: center; cursor: pointer; display: flex; gap: 6px; }
.customer-type input { accent-color: var(--navy); }
.captcha-field, .captcha-contact { margin-top: 18px; }
.captcha-field > label, .captcha-contact { color: #53616b; display: flex; flex-direction: column; font-size: 11px; font-weight: 800; gap: 8px; letter-spacing: .075em; text-transform: uppercase; }
.captcha-field label > span, .captcha-contact > span:last-child { display: flex; gap: 10px; }
.captcha-field input, .captcha-contact input { background: #fbfaf7; border: 1px solid #ddd7cc; border-radius: 4px; height: 46px; min-width: 0; padding: 0 12px; width: 100%; }
.captcha-field strong, .captcha-contact strong { align-items: center; background: var(--ivory-deep); border: 1px dashed #cbbfAA; border-radius: 4px; color: var(--navy); display: flex; font-family: monospace; font-size: 17px; justify-content: center; letter-spacing: .15em; min-width: 120px; padding: 0 12px; text-transform: lowercase; }
.empty-summary { padding: 28px 0 4px; text-align: center; }

/* Full cart */
.cart-page-layout { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 330px; padding-bottom: 90px; padding-top: 30px; }
.cart-page-layout > .wishlist-empty { grid-column: 1 / -1; }
.cart-page-items { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0 24px; }
.cart-page-item { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: 92px minmax(0, 1fr) auto auto auto; padding: 20px 0; }
.cart-page-item:last-child { border-bottom: 0; }
.cart-page-item > img { background: var(--ivory); border-radius: 6px; height: 108px; object-fit: cover; width: 92px; }
.cart-page-item-copy small { color: #9aa2a8; font-size: 11px; letter-spacing: .1em; }
.cart-page-item-copy h2 { color: var(--navy); font-family: var(--display); font-size: 17px; font-weight: 500; margin: 6px 0; }
.cart-page-item-copy > span, .cart-page-item > strong { color: var(--navy); font-family: var(--sans); font-size: 14px; }
.cart-page-summary { background: white; border: 1px solid #ddd5c8; border-radius: 8px; box-shadow: 0 18px 42px rgba(21,40,55,.08); padding: 27px; position: sticky; top: 112px; }
.cart-page-summary .checkout-grand-total { align-items: center; border-block: 1px solid var(--line); display: flex; font-family: var(--display); justify-content: space-between; margin: 16px 0; padding: 18px 0; }
.cart-page-summary .checkout-grand-total strong { color: var(--navy); font-size: 23px; }
.cart-page-summary p { color: var(--muted); font-family: var(--display); font-size: 13px; line-height: 1.5; }
.cart-page-summary .primary-button { width: 100%; }

/* Product detail */
.product-detail { padding-bottom: 92px; padding-top: 50px; }
.product-detail-grid { align-items: start; display: grid; gap: clamp(35px, 5vw, 70px); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.product-gallery-main { align-items: center; background: #f5f2ec; border-radius: 8px; display: flex; justify-content: center; min-height: 570px; overflow: hidden; }
.product-gallery-main img { height: 570px; object-fit: contain; width: 100%; }
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.product-thumbs button { background: #f6f3ed; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; height: 78px; overflow: hidden; padding: 0; width: 70px; }
.product-thumbs button.active { border-color: var(--gold); }
.product-thumbs img { height: 100%; object-fit: cover; width: 100%; }
.product-info h1 { color: var(--navy); font-family: var(--display); font-size: clamp(26px, 2.3vw, 36px); font-weight: 400; line-height: 1.05; margin: 10px 0 14px; }
.product-rating { align-items: center; color: var(--gold); display: flex; font-size: 14px; gap: 12px; }
.product-rating button { background: none; border: 0; color: var(--muted); cursor: pointer; font-family: var(--display); font-size: 13px; text-decoration: underline; }
.product-lead { color: #596872; font-family: var(--sans); font-size: 14px; line-height: 1.75; margin: 24px 0; }
.product-detail-price { align-items: baseline; display: flex; gap: 12px; margin: 20px 0; }
.product-detail-price del { color: #929ba1; font-family: var(--display); font-size: 16px; }
.product-detail-price strong { color: var(--navy); font-family: var(--display); font-size: 32px; font-weight: 500; }
.product-meta { border-block: 1px solid var(--line); margin: 0 0 22px; padding: 14px 0; }
.product-meta > div { display: flex; font-family: var(--sans); font-size: 12px; gap: 10px; padding: 5px 0; }
.product-meta dt { color: #7b878e; min-width: 95px; }
.product-meta dd { color: var(--navy); margin: 0; }
.product-meta dd.is-out { color: #a34d45; }
.product-purchase { align-items: center; display: flex; gap: 12px; }
.product-purchase .quantity-control { height: 50px; }
.product-purchase .quantity-control button { width: 40px; }
.product-purchase .quantity-control span { min-width: 42px; }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.product-trust { background: var(--ivory); border-radius: 6px; color: #69767e; display: flex; flex-wrap: wrap; font-family: var(--display); font-size: 12px; gap: 18px; margin-top: 25px; padding: 13px 15px; }
.product-tabs { border-top: 1px solid var(--line); margin-top: 65px; padding-top: 0; }
.product-tab-list { display: flex; gap: 5px; }
.p-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; color: #6c7880; cursor: pointer; font-family: var(--display); padding: 18px 22px 14px; }
.p-tab.active { border-bottom-color: var(--gold); color: var(--navy); }
.p-tab-content { color: #53636d; font-family: var(--display); font-size: 14px; line-height: 1.8; max-width: 900px; padding: 28px 22px; }
.review-card { border-bottom: 1px solid var(--line); padding: 15px 0; }
.review-card > div { color: var(--gold); }

/* Content pages */
.content-heading { padding-bottom: 28px; padding-top: 45px; }
.content-heading h1, .cms-page h1 { color: var(--navy); font-family: var(--display); font-size: clamp(38px, 4.5vw, 58px); font-weight: 400; margin: 8px 0 0; }
.faq-layout { align-items: start; display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) 310px; padding-bottom: 90px; }
.faq-main { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.faq-main > h2, .faq-sidebar h2 { color: var(--navy); font-family: var(--display); font-size: 24px; font-weight: 500; margin: 0 0 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { color: #354c5d; cursor: pointer; font-family: var(--display); font-size: 15px; padding: 17px 4px; }
.faq-answer { color: var(--muted); font-family: var(--display); font-size: 13px; line-height: 1.7; padding: 0 5px 14px; }
.faq-sidebar { background: linear-gradient(145deg, var(--navy-deep), var(--navy-soft)); border-radius: 8px; color: white; padding: 28px; }
.faq-sidebar > span { color: var(--gold-light); font-size: 30px; }
.faq-sidebar h2 { color: white; margin-top: 16px; }
.faq-sidebar p { color: rgba(255,255,255,.75); font-family: var(--display); font-size: 13px; line-height: 1.7; }
.faq-sidebar .secondary-button { border-color: var(--gold-light); color: white; }
.cms-page { padding-bottom: 95px; padding-top: 50px; }
.cms-lead { border-left: 2px solid var(--gold); color: var(--muted); font-family: var(--sans); font-size: 17px; line-height: 1.7; max-width: 800px; padding-left: 18px; }
.cms-content { color: #485b68; font-family: var(--display); line-height: 1.8; max-width: 900px; }
.cms-content h2, .cms-content h3 { color: var(--navy); font-weight: 500; margin-top: 1.7em; }
.cms-content a { color: var(--navy); text-decoration: underline; }

/* Account views retained by the application */
.container, .account-container, .contact-container, .faq-container { margin-inline: auto; max-width: 1240px; padding-inline: 28px; width: 100%; }
.account-page { background: #f8f6f1; padding: 45px 0 90px; }
.account-title { color: var(--navy); font-family: var(--display); font-size: clamp(34px, 4vw, 50px); font-weight: 400; margin: 0 0 28px; }
.account-grid { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 280px; }
.account-grid > .account-panel + .account-panel { grid-column: 1; }
.account-grid > .account-menu-wrap { grid-column: 2; grid-row: 1 / span 4; }
.account-panel, .account-main, .account-actions-section { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 27px; }
.account-actions-section { margin-bottom: 18px; }
.account-actions-section:last-child { margin-bottom: 0; }
.account-section-title, .account-menu-title, .account-actions-section h3, .account-subtitle { color: var(--navy); font-family: var(--display); font-size: 20px; font-weight: 500; margin: 0 0 16px; }
.account-copy, .account-intro, .account-empty { color: var(--muted); font-family: var(--sans); font-size: 13px; line-height: 1.7; }
.account-form-row { display: grid; gap: 8px; margin-bottom: 16px; }
.account-form-row label { color: #52616b; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.account-input { background: #fbfaf7; border: 1px solid #ddd7cc; border-radius: 6px; min-height: 46px; outline: none; padding: 10px 12px; width: 100%; }
.account-input:focus { border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(13,63,105,.07); }
.account-textarea { min-height: 115px; }
.account-btn, .btn-primary-site, .btn-outline-gold { align-items: center; background: var(--navy); border: 1px solid var(--navy); border-radius: 4px; color: white; cursor: pointer; display: inline-flex; font-family: var(--display); font-size: 12px; justify-content: center; letter-spacing: .06em; min-height: 45px; padding: 0 22px; }
.account-btn { width: 100%; }
.account-btn.secondary, .btn-outline-gold { background: transparent; color: var(--navy); }
.account-menu-wrap { background: var(--navy-deep); border-radius: 8px; color: white; padding: 24px; }
.account-menu-wrap .account-menu-title { color: white; }
.account-menu { list-style: none; margin: 0; padding: 0; }
.account-menu li + li { border-top: 1px solid rgba(255,255,255,.12); }
.account-menu a { color: rgba(255,255,255,.78); display: block; font-family: var(--display); font-size: 12px; padding: 11px 0; }
.account-menu a:hover { color: var(--gold-light); }
.account-action-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-action-grid.orders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.account-action-card { align-items: center; background: var(--ivory); border: 1px solid var(--line); border-radius: 6px; color: var(--navy); display: flex; font-family: var(--display); font-size: 12px; gap: 10px; min-height: 72px; padding: 15px; }
.account-action-card i::before { content: "✦"; font-style: normal; }
/* Zamjena za FontAwesome — biblioteka se ne učitava, glifovi dolaze iz fonta */
i.fas, i.far { font-style: normal; }
.fas.fa-edit::before { content: "✎"; }
.fas.fa-unlock-alt::before { content: "⚿"; }
.fas.fa-address-card::before { content: "▤"; }
.fas.fa-heart-broken::before { content: "♡"; }
.fas.fa-list-alt::before { content: "☰"; }
.fas.fa-cloud-download-alt::before { content: "⤓"; }
.fas.fa-coins::before { content: "◈"; }
.fas.fa-reply::before { content: "↩"; }
.fas.fa-exchange-alt::before { content: "⇄"; }
.fas.fa-history::before { content: "↻"; }
.fas.fa-users::before { content: "⁂"; }
.fas.fa-envelope::before { content: "✉"; }
.fas.fa-eye::before { content: "⊙"; }
.account-table-wrap, .cmp-table-wrap { overflow-x: auto; }
.account-table, .cmp-table { border-collapse: collapse; min-width: 680px; width: 100%; }
.account-table th, .account-table td, .cmp-table th, .cmp-table td { border-bottom: 1px solid var(--line); color: #566670; font-family: var(--sans); font-size: 12px; padding: 14px; text-align: left; }
.account-table th, .cmp-table th { background: var(--ivory); color: var(--navy); font-weight: 600; }
.table-actions { display: flex; gap: 6px; }
.icon-btn { align-items: center; border: 0; border-radius: 4px; color: white; cursor: pointer; display: inline-flex; height: 32px; justify-content: center; text-decoration: none; width: 32px; }
.icon-btn.primary { background: var(--navy); }
.icon-btn.danger, .account-btn.danger { background: #9b2429; border-color: #9b2429; color: white; }
.account-btn.danger:hover { background: #7d1d21; border-color: #7d1d21; color: white; }
.registration-form { max-width: 680px; }
.address-card { background: white; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 16px; padding: 18px 20px; }
.address-card.is-default { border-color: var(--gold); }
.address-card h3 { color: var(--navy); font-family: var(--display); font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.address-card p { color: var(--muted); font-family: var(--display); font-size: 13px; line-height: 1.7; margin: 0 0 4px; }
.address-card-badge { background: var(--gold); border-radius: 4px; color: white; display: inline-block; font-family: var(--sans); font-size: 12px; letter-spacing: .06em; margin-left: 8px; padding: 3px 8px; text-transform: uppercase; vertical-align: middle; }
.address-card-actions { display: flex; gap: 8px; margin-top: 14px; }
.address-card-actions .account-btn { font-size: 13px; min-height: 36px; padding: 0 18px; width: auto; }
/* Razvojna traka na checkoutu — vidljiva samo uz CHECKOUT_TEST_FILL=true */
.checkout-test-fill { align-items: center; background: #fff8e6; border: 1px dashed #d8b458; border-radius: 8px; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 20px; padding: 13px 18px; }
.checkout-test-fill strong { color: #7a5a12; display: block; font-family: var(--display); font-size: 13px; }
.checkout-test-fill small { color: #90783f; display: block; font-size: 13px; margin-top: 3px; }
.checkout-test-fill code { background: #f3e6c4; border-radius: 4px; font-size: 12px; padding: 1px 5px; }
.checkout-test-fill button { background: #7a5a12; border: 0; border-radius: 4px; color: white; cursor: pointer; flex-shrink: 0; font-family: var(--display); font-size: 12px; padding: 9px 18px; }
.checkout-test-fill button:hover { background: #5d4410; }
.pagination-wrap { display: flex; justify-content: center; margin-top: 28px; }
.form-error-list { list-style: none; margin: 0; padding: 0; }

/* Modali: pitanje o proizvodu i recenzija (otvara ih JS preko style.display) */
.ask-modal { background: rgba(10,26,40,.55); display: none; inset: 0; overflow-y: auto; position: fixed; z-index: 9999; }
.ask-modal-dialog { background: var(--paper); border-radius: 8px; box-shadow: 0 26px 70px rgba(8,26,45,.28); margin: 60px auto 40px; max-width: 480px; padding: 30px; position: relative; }
.ask-modal-close { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 24px; line-height: 1; position: absolute; right: 16px; top: 12px; }
.ask-modal-close:hover { color: var(--navy); }
.ask-modal-title { color: var(--navy); font-family: var(--display); font-size: 20px; font-weight: 500; margin: 0 0 8px; }
.ask-modal-rule { background: var(--gold); height: 3px; margin-bottom: 20px; width: 40px; }
.ask-modal-product { color: var(--muted); font-family: var(--display); font-size: 13px; margin-bottom: 16px; }
.ask-field { margin-bottom: 15px; }
.ask-field > label { color: #52616b; display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; margin-bottom: 6px; text-transform: uppercase; }
.ask-field input, .ask-field textarea { background: #fbfaf7; border: 1px solid #ddd7cc; border-radius: 6px; font-family: var(--sans); font-size: 13px; padding: 10px 12px; width: 100%; }
.ask-field input:focus, .ask-field textarea:focus { border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(13,63,105,.07); outline: none; }
.ask-field textarea { min-height: 100px; resize: vertical; }
.ask-required { color: var(--danger); }
.ask-captcha-row { align-items: center; display: flex; gap: 10px; }
.ask-captcha-row canvas { border: 1px solid #ddd7cc; border-radius: 6px; }
.ask-captcha-refresh { background: none; border: 0; color: var(--gold); cursor: pointer; font-size: 12px; text-decoration: underline; }
.ask-captcha-input { margin-top: 8px; max-width: 150px; }
.ask-modal-error, .ask-modal-success { display: none; font-family: var(--display); font-size: 12px; margin-bottom: 10px; }
.ask-modal-error { color: var(--danger); }
.ask-modal-success { color: var(--success); }
.ask-submit { background: var(--navy); border: 1px solid var(--navy); border-radius: 4px; color: white; cursor: pointer; font-family: var(--display); font-size: 13px; letter-spacing: .06em; min-height: 46px; width: 100%; }
.ask-submit:hover { background: var(--navy-deep); }
.review-stars { color: #d5cec1; cursor: pointer; font-size: 26px; letter-spacing: 4px; }
.review-stars .is-on { color: var(--gold); }

/* Poređenje proizvoda */
.cmp-bar__count { color: var(--muted); font-family: var(--display); font-size: 12px; white-space: nowrap; }
.cmp-feature-col { min-width: 160px; width: 160px; }
.cmp-note { color: var(--muted); font-family: var(--sans); font-size: 12px; margin: 18px 0 0; }
.cmp-price-old { color: var(--muted); font-size: 12px; margin-right: 6px; text-decoration: line-through; }
.cmp-price-new { color: var(--navy); font-family: var(--display); font-size: 15px; font-weight: 600; }
.badge { background: var(--ivory-deep); border-radius: 99px; color: var(--navy); display: inline-block; font-family: var(--sans); font-size: 13px; letter-spacing: .04em; padding: 6px 12px; }
.badge.fs-5 { font-size: 13px; padding: 8px 16px; }
.badge.bg-warning { background: #fdf2dd; color: #8a6216; }
.badge.bg-info { background: #e7f1f7; color: #1d557f; }
.badge.bg-primary { background: #e6edf4; color: var(--navy); }
.badge.bg-success { background: #eaf6ee; color: var(--success-ink); }
.badge.bg-danger { background: #fbeceb; color: var(--danger-ink); }
.badge.bg-secondary { background: var(--ivory-deep); color: var(--muted); }
.checkout-summary .summary-row { padding: 11px 0; }
.checkout-summary .summary-row.total { border-top: 1px solid var(--gold); margin-top: 8px; padding-top: 16px; }
.alert { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 18px; padding: 13px 15px; }
.alert-danger { background: var(--danger-soft); color: var(--danger-ink); }
.alert-success { background: var(--success-soft); color: var(--success-ink); }
.alert-info { background: #eef5f8; color: var(--navy); }
.radio-group, .newsletter-row, .newsletter-options, .captcha-row { display: flex; flex-wrap: wrap; gap: 13px; }
.captcha-code { background: var(--ivory-deep); border: 1px dashed #c8baa0; color: var(--navy); font-family: monospace; letter-spacing: .12em; padding: 10px 15px; }
.form-divider { border-top: 1px solid var(--line); margin: 8px 0 18px; }
.pagination, .pagination-nav { align-items: center; display: flex; justify-content: center; }
.pagination { gap: 5px; list-style: none; padding: 0; }
.page-link { align-items: center; border: 1px solid var(--line); border-radius: 4px; color: var(--navy); display: flex; font-size: 13px; min-height: 36px; padding: 0 11px; }
.page-item.active .page-link { background: var(--navy); border-color: var(--navy); color: white; }
.page-item.disabled { opacity: .45; }

/* Compare */
.cmp-section { padding: 48px 0 90px; }
.cmp-title { color: var(--navy); font-family: var(--display); font-size: 46px; font-weight: 400; }
.cmp-table { background: white; border: 1px solid var(--line); }
.cmp-table thead img { height: 190px; margin: 0 auto 12px; object-fit: contain; width: 190px; }
.cmp-name { color: var(--navy); display: block; font-size: 15px; text-align: center; }
.cmp-remove { background: var(--ivory); border: 0; border-radius: 50%; color: #8f5148; cursor: pointer; float: right; height: 30px; width: 30px; }
.cmp-actions { align-items: center; display: flex; justify-content: space-between; margin-top: 20px; }
.cmp-bar { background: var(--navy-deep); bottom: 0; color: white; display: none; left: 0; position: fixed; right: 0; z-index: 55; }
.cmp-bar.is-visible { display: block; }
.cmp-bar__inner { align-items: center; display: flex; gap: 14px; min-height: 76px; }
.cmp-bar__items { display: flex; flex: 1; gap: 10px; }
.cmp-bar__item { align-items: center; background: rgba(255,255,255,.1); border-radius: 4px; display: flex; font-size: 12px; gap: 7px; padding: 6px 9px; }
.cmp-bar__item img { border-radius: 4px; height: 38px; object-fit: cover; width: 38px; }
.cmp-bar__remove { background: none; border: 0; color: white; cursor: pointer; }
.cmp-bar .btn-outline-gold { border-color: var(--gold-light); color: white; }

@media (max-width: 900px) {
  .category-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .category-heading > p { text-align: left; }
  .product-filters { display: none; }
  .product-filters.is-open { display: block; }
  .filter-mobile-button { display: inline-flex; }
  .cart-page-layout, .product-detail-grid, .faq-layout, .account-grid { grid-template-columns: 1fr; }
  .cart-page-summary { position: static; }
  .account-grid > .account-menu-wrap { grid-column: auto; grid-row: auto; }
  .product-gallery-main, .product-gallery-main img { height: 480px; min-height: 480px; }
}

@media (max-width: 620px) {
  .cart-page-item { align-items: start; gap: 12px; grid-template-columns: 75px minmax(0, 1fr) auto; }
  .cart-page-item > img { grid-row: 1 / 3; height: 88px; width: 75px; }
  .cart-page-item > .quantity-control { grid-column: 2; }
  .cart-page-item > strong { grid-column: 3; grid-row: 1; }
  .cart-page-item > .remove-cart-item { grid-column: 3; grid-row: 2; }
  .product-gallery-main, .product-gallery-main img { height: 370px; min-height: 370px; }
  .product-purchase { align-items: stretch; flex-direction: column; }
  .product-purchase .primary-button { width: 100%; }
  .account-action-grid, .account-action-grid.orders { grid-template-columns: 1fr; }
  .cmp-bar__item { display: none; }
}


/* ─────────────────────────────────────────────────────────────────────────────
   Kontakt — iza starijih pravila .contact-layout i .contact-form-card, koja bi
   inače pobijedila. Posljednji blok u fajlu je kartica na telefonu.
   ────────────────────────────────────────────────────────────────────────────── */
.contact-intro { padding: 52px 0 0; text-align: center; }
.contact-intro h1 { color: var(--navy); font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 500; margin: 10px 0 12px; }
.contact-intro p { color: #5f6b74; font-family: var(--sans); font-size: 15px; line-height: 1.7; margin: 0 auto; max-width: 620px; }
.contact-layout { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 358px; padding: 34px 0 88px; }
.contact-form-card { background: #fff; border: 1px solid var(--card-line); border-left: 1px solid var(--card-line); border-radius: 8px; box-shadow: 0 1px 3px rgba(20,40,58,.04); padding: 32px 34px 34px; }
.contact-form-card h2 { color: var(--navy); font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; margin: 10px 0 8px; }
.contact-form-card .form-intro { color: #5f6b74; font-family: var(--sans); font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
/* Labela je bila flex kolona, pa je zvjezdica padala u svoj red. */
.contact-form > label, .contact-form .form-row > label { display: block; }
.contact-form > label > span, .contact-form .form-row > label > span { margin-left: 3px; }
.contact-form > label input, .contact-form > label textarea,
.contact-form .form-row > label input { margin-top: 8px; }
.contact-form-foot { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.contact-form-foot small { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: normal; text-transform: none; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-card { align-items: flex-start; background: #fff; border: 1px solid var(--card-line); border-radius: 8px; display: flex; gap: 14px; padding: 17px 18px; }
.contact-card-icon { align-items: center; background: var(--ivory); border-radius: 50%; color: var(--gold-ink); display: inline-flex; flex-shrink: 0; height: 42px; justify-content: center; width: 42px; }
.contact-card > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-card small { color: var(--gold-ink); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-card a, .contact-card strong { color: var(--navy); font-family: var(--display); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.contact-card a { transition: color .2s; }
.contact-card a:hover { color: var(--gold-ink); }
.contact-card > div > span { color: #5f6b74; font-family: var(--sans); font-size: 13px; line-height: 1.55; }
.contact-card--details { display: block; }
.contact-card--details dl { display: grid; gap: 5px 14px; grid-template-columns: auto minmax(0, 1fr); margin: 11px 0 0; }
.contact-card--details dt { color: #5f6b74; font-family: var(--sans); font-size: 13px; }
.contact-card--details dd { color: var(--navy); font-family: var(--sans); font-size: 13px; margin: 0; }
.contact-faq { align-items: center; background: var(--ivory); border: 1px solid var(--card-line); border-radius: 8px; color: var(--navy); display: flex; font-family: var(--display); font-size: 14px; font-weight: 500; gap: 10px; padding: 15px 18px; transition: background .2s, border-color .2s; }
.contact-faq:hover { background: #fff; border-color: var(--navy); }
.contact-faq > span { align-items: center; color: var(--gold-ink); display: inline-flex; }
.contact-faq > svg:last-child { margin-left: auto; }
.contact-privacy { align-items: flex-start; color: var(--muted); display: flex; font-family: var(--sans); font-size: 12px; gap: 8px; line-height: 1.6; margin: 2px 2px 0; }
.contact-privacy svg { flex-shrink: 0; margin-top: 1px; }
.contact-map { padding-bottom: 88px; }
.contact-map h2 { color: var(--navy); font-family: var(--display); font-size: 24px; font-weight: 500; margin: 0 0 16px; }
.contact-map-frame { aspect-ratio: 16 / 7; border: 1px solid var(--card-line); border-radius: 8px; overflow: hidden; }
.contact-map-frame iframe { border: 0; display: block; height: 100%; width: 100%; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); padding: 26px 0 64px; }
  .contact-form-card { padding: 24px 20px 26px; }
}

@media (max-width: 640px) {
  .contact-intro { padding-top: 34px; }
  .contact-form-foot { flex-direction: column; align-items: stretch; }
  .contact-form-foot .form-submit { justify-content: center; width: 100%; }
  .contact-form-foot small { text-align: center; }
  .contact-map-frame { aspect-ratio: 4 / 3; }
}

/* ── Nastavak plaćanja (Mollie povratak) ─────────────────────────────────── */
.resume-layout { display: flex; justify-content: center; padding: 56px 0 88px; }
.resume-card { background: #fff; border: 1px solid var(--card-line); border-radius: 8px; box-shadow: 0 1px 3px rgba(20,40,58,.04); max-width: 620px; padding: 34px; width: 100%; }
.resume-icon { align-items: center; background: var(--ivory); border-radius: 50%; color: var(--gold-ink); display: inline-flex; height: 52px; justify-content: center; width: 52px; }
.resume-card h1 { color: var(--navy); font-family: var(--display); font-size: clamp(23px, 2.4vw, 30px); font-weight: 500; margin: 18px 0 10px; }
.resume-lead { color: #5f6b74; font-family: var(--sans); font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
.resume-meta { border-top: 1px solid var(--card-line); display: grid; gap: 10px 16px; grid-template-columns: auto minmax(0, 1fr); margin: 0 0 22px; padding-top: 18px; }
.resume-meta dt { color: #5f6b74; font-family: var(--sans); font-size: 13px; }
.resume-meta dd { color: var(--navy); font-family: var(--display); font-size: 14px; margin: 0; text-align: right; }
.resume-meta dd strong { font-size: 18px; font-weight: 600; }
.resume-items { border-top: 1px solid var(--card-line); display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0 0 24px; padding: 18px 0 0; }
.resume-items li { align-items: center; display: grid; gap: 12px; grid-template-columns: 56px minmax(0, 1fr); }
.resume-items img { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--card-line); border-radius: 6px; object-fit: contain; padding: 4px; width: 56px; }
.resume-items div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.resume-items strong { color: var(--navy); font-family: var(--sans); font-size: 14px; font-weight: 500; }
.resume-items small { color: var(--muted); font-family: var(--sans); font-size: 12px; }
.resume-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.resume-actions form { display: contents; }
.resume-actions .primary-button, .resume-actions .secondary-button { cursor: pointer; }
.resume-help { align-items: center; border-top: 1px solid var(--card-line); color: var(--muted); display: flex; font-family: var(--sans); font-size: 13px; gap: 8px; margin: 22px 0 0; padding-top: 16px; }
.resume-help a { border-bottom: 1px solid var(--card-line-strong); color: var(--navy); }

@media (max-width: 640px) {
  .resume-layout { padding: 30px 0 56px; }
  .resume-card { padding: 22px 18px 24px; }
  .resume-actions { flex-direction: column; }
  .resume-actions .primary-button, .resume-actions .secondary-button { justify-content: center; width: 100%; }
  .resume-meta dd { text-align: left; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Kartica proizvoda na telefonu — namjerno na kraju fajla.

   Zato je ovaj blok POSLJEDNJI u fajlu. Pravila su tri puta gubila od baznih (`.product-price-row { display: flex }`,
   `.category-product-grid .product-body { min-height: 200px }`), jer kod iste
   specifičnosti pobjeđuje ono što je niže u fajlu — bez obzira na media query.
   Ovdje su zadnja, pa nema šta da ih pregazi.
   ────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .product-meta-row { display: none; }
  /* Na 170px širine cijena je dijelila red sa ikonama i lomila se u dva reda
     („12,00" / „EUR"). Zato tijelo kartice na telefonu ide u mrežu: naslov,
     pa cijena u svom redu, pa zadnji red — ikone lijevo, „у корпу" desno.
     `display: contents` na redu cijene pušta njegovu djecu u tu mrežu. */
  .product-body { align-content: start; column-gap: 8px; display: grid; grid-template-areas: "naslov naslov" "cijena cijena" "ikone korpa"; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: auto; padding: 10px 10px 12px; row-gap: 6px; }
  .product-body h3 { font-size: 14px; grid-area: naslov; margin: 0; min-height: 36px; }
  /* Specifičnost, ne slučajno: bazno `.product-price-row { display: flex }`
     stoji kasnije u fajlu, pa bi pobijedilo ovaj media blok. */
  .product-body .product-price-row { display: contents; }
  /* Prekrižena i nova cijena u istom redu: kad se lome, kartica sa akcijom
     postane viša i ostale u redu dobiju prazan prostor na dnu. */
  .product-body .product-price-wrap { flex-wrap: nowrap; grid-area: cijena; justify-content: center; }
  .product-price { font-size: 16px; white-space: nowrap; }
  .product-price-wrap del { font-size: 11px; }
  .product-body .product-secondary-actions { align-self: end; display: flex; gap: 6px; grid-area: ikone; }
  .product-secondary-actions button { height: 32px; width: 32px; }
  /* Na uskoj kartici natpis „у корпу" se lomio u dva reda, pa dugme nosi samo
     ikonu; pristupačnost drži aria-label na dugmetu. */
  .product-body .cart-button { align-self: end; grid-area: korpa; margin: 0; min-height: 38px; padding: 0; }
  .product-body .cart-button > span { display: none; }
  .product-body .cart-button svg { display: block; }
  /* Nijedna varijanta kartice ne drži fiksnu visinu tijela na telefonu —
     odatle je dolazio prazan prostor ispod dugmadi. */
  .product-body, .category-product-grid .product-body, .wishlist-card .product-body { min-height: auto; }
  /* Sva dugmad u zadnjem redu iste visine. */
  .product-body .product-secondary-actions button { height: 38px; width: 38px; }

  /* Traka nad listom: dugme filtera svoj red, pa broj rezultata, pa kontrole
     u jednom redu. Natpisi „Сортирај"/„Прикажи" izlaze (aria-label ostaje). */
  .filter-mobile-button { align-items: center; display: inline-flex; font-family: var(--display); font-size: 13px; gap: 8px; justify-content: center; letter-spacing: .05em; margin-bottom: 0; min-height: 44px; padding: 0 16px; text-transform: uppercase; width: 100%; }
  .product-toolbar { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 16px; }
  .toolbar-results { justify-content: center; }
  .toolbar-controls { align-items: center; display: grid; gap: 8px; grid-template-columns: auto minmax(0, 1fr) 74px; }
  .toolbar-select { gap: 0; }
  .toolbar-select > span { display: none; }
  .toolbar-select select { height: 40px; width: 100%; }
  .view-switch button { height: 40px; width: 40px; }
  /* Lista na telefonu: slika uža, tekst lijevo poravnan jer je u redu. */
  .is-list .product-image-wrap { flex: 0 0 118px; }
  .is-list .product-body { padding: 10px 10px 10px 12px; text-align: left; }
  .is-list .product-body h3 { text-align: left; }
  .is-list .product-body .product-price-wrap { justify-content: flex-start; }
}
