:root {
  --paper: #faf6ef;
  --cream: #f3ece1;
  --ink: #2b1d1f;
  --wine: #6d1f2b;
  --muted: #8b7c76;
  --line: #e7ddd0;
  --black: #1d1c1c;
  --white: #fbfaf7;

  --krem: #efe6d6;
  --plava: #bcd2e8;
  --zalfija: #b9c9aa;
  --puter: #f4e3a2;
  --roze: #e6bcbb;
  --lavanda: #cbbfe2;

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 500 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; color: var(--wine); letter-spacing: -.01em; }
.h1 { font-size: clamp(44px, 7vw, 92px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; }
.h3 { font-size: 26px; line-height: 1.2; }
.lead { font-size: 18px; color: #5a4a47; max-width: 34em; }
section { padding: clamp(72px, 10vw, 128px) 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: var(--wine); color: var(--paper);
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); background: #561722; }
.btn.ghost { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1px currentColor; }
.btn.ghost:hover { background: var(--wine); color: var(--paper); }
.link { font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 6px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.logo { font: 400 22px/1 var(--serif); letter-spacing: .38em; color: var(--wine); padding-left: .38em; }
.nav-links { display: flex; gap: 28px; font-size: 13px; letter-spacing: .08em; }
.nav-links a { opacity: .75; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; font-size: 13px; letter-spacing: .08em; }
.shop-btn { padding: 10px 22px; border-radius: 999px; background: var(--wine); color: var(--paper); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; transition: background .2s, transform .2s; }
.shop-btn:hover { background: #561722; transform: translateY(-1px); }
.cart-pill { display: inline-flex; align-items: center; gap: 8px; }
.cart-pill em { font-style: normal; }
.cart-pill span { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--ink); font-size: 11px; }
.nav-toggle { display: none; width: 28px; height: 28px; }
.nav-toggle i { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0; min-height: min(86vh, 860px); display: flex; align-items: center; overflow: hidden; background: #efe6da; }
.hero { background: var(--paper); }
.hero-bg { position: absolute; top: 0; right: 0; width: 60%; height: 100%; object-fit: cover; object-position: 62% center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.hero .wrap { position: relative; width: 100%; }
.seal { position: absolute; left: calc(46% - 74px); bottom: 40px; width: 148px; height: 148px; border-radius: 50%; background: var(--paper); box-shadow: 0 10px 30px rgba(60,30,30,.14); z-index: 2; display: grid; place-items: center; }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: seal-spin 28s linear infinite; }
.seal-ring text { font: 500 11.5px var(--sans); letter-spacing: .12em; fill: var(--wine); }
.seal-core { width: 92px; height: 92px; border-radius: 50%; background: var(--wine); color: var(--paper); display: grid; place-content: center; justify-items: center; gap: 2px; box-shadow: 0 0 0 1px var(--wine), 0 0 0 4px var(--paper), 0 0 0 5px rgba(122,30,40,.35); }
.seal-core .ico { width: 22px; height: 22px; margin-bottom: 2px; }
.seal-core b { font: italic 400 19px/1 var(--serif); }
.seal-core small { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; opacity: .85; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal-ring { animation: none; } }
.hero-text { max-width: 560px; padding: 80px 0; position: relative; }
.hero .h1 { margin: 22px 0 26px; font-size: clamp(44px, 6vw, 84px); }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-badge { position: absolute; right: var(--gutter); bottom: 24px; background: color-mix(in srgb, var(--paper) 90%, transparent); padding: 10px 14px; border-radius: 3px; font-size: 12px; letter-spacing: .1em; }

/* ---------- Voćke traka ---------- */
.fruits { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.fruits .wrap { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }
.fruit-cell { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 8px; border-right: 1px solid var(--line); transition: background .25s; }
.fruit-cell:last-child { border-right: 0; }
.fruit-cell:hover { background: var(--paper); }
.fruit-cell .ico { width: 44px; height: 44px; transition: transform .3s; }
.fruit-cell:hover .ico { transform: translateY(-4px) rotate(-6deg); }
.fruit-cell b { font: 400 19px/1 var(--serif); color: var(--wine); }
.fruit-cell small { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Paleta ---------- */
.palette .wrap { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.palette-img { border-radius: 4px; overflow: hidden; aspect-ratio: 2/3; }
.palette-img img { width: 100%; height: 100%; object-fit: cover; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; margin: 40px 0; }
.swatch { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.swatch i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.models h4 { font: 400 20px/1.2 var(--serif); color: var(--wine); margin-bottom: 6px; }
.models p { font-size: 14px; color: var(--muted); }

/* ---------- Lookbook ---------- */
.lookbook { background: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .h2 { margin-top: 14px; }
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.look { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 11/12; background: var(--paper); }
.look-wide { grid-column: span 2; aspect-ratio: 16/8; }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.look:hover img { transform: scale(1.03); }
.look figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.42)); }
.look figcaption b { display: block; font: 400 22px/1.2 var(--serif); }
.look figcaption span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

/* ---------- Traka sa logoima ---------- */
.logo-strip { padding: 28px 0; overflow: hidden; background: var(--paper); }
.logo-track { display: flex; width: max-content; animation: tape 120s linear infinite; }
.logo-strip:hover .logo-track { animation-play-state: paused; }
.logo-track a { flex: none; margin-right: 18px; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.08); transition: transform .3s; }
.logo-track a:hover { transform: translateY(-4px) scale(1.04); }
.logo-track img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
@media (max-width: 720px) { .logo-track a { width: 96px; height: 96px; margin-right: 12px; } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ---------- Special edition (B&W traka) ---------- */
.special { padding: 0; position: relative; overflow: hidden; }
.special-tape { background: var(--black); color: var(--white); overflow: hidden; white-space: nowrap; border-block: 1px solid #333; }
.special-tape div { display: inline-block; padding: 14px 0; font: 500 12px/1 var(--sans); letter-spacing: .4em; animation: tape 40s linear infinite; }
.special-tape.inv { background: var(--white); color: var(--black); border-color: var(--line); }
.special-tape.inv div { animation-direction: reverse; }
@keyframes tape { to { transform: translateX(-50%); } }
.special-photo { position: relative; height: min(78vh, 760px); background: var(--black); }
.special-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.special-photo figcaption { position: absolute; left: var(--gutter); bottom: 32px; color: var(--white); display: grid; gap: 10px; }
.special-photo figcaption .eyebrow { color: inherit; opacity: .8; }
.special-photo figcaption b { font: 400 clamp(36px, 5vw, 64px)/1 var(--serif); }
.special-split { display: grid; grid-template-columns: 1fr 1fr; }
.special-half { padding: clamp(56px, 8vw, 104px) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.special-half.dark { background: var(--black); color: var(--white); }
.special-half.light { background: var(--white); color: var(--black); }
.special-half .shirt { width: min(320px, 80%); }
.special-half .h2 { color: inherit; }
.special-half p { max-width: 26em; opacity: .75; font-size: 15px; }
.special-half .eyebrow { color: inherit; opacity: .6; }
.special-half.dark .btn { background: var(--white); color: var(--black); }
.special-half.light .btn { background: var(--black); color: var(--white); }
.mono-fruits { display: flex; flex-wrap: wrap; gap: 12px; }
.mono-fruits span { width: 26px; height: 26px; }

/* ---------- Kolekcije ---------- */
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collection { border-radius: 4px; overflow: hidden; background: var(--cream); display: flex; flex-direction: column; transition: transform .3s; }
.collection:hover { transform: translateY(-4px); }
.collection-art { aspect-ratio: 4/5; position: relative; overflow: hidden; }
.collection-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.collection:hover .collection-art img { transform: scale(1.03); }
.collection-art .look-art { padding: 32px 20px; }
.collection-art .look-art { align-items: flex-end; padding-bottom: 34%; }
.collection-art .look-art > div:nth-child(n) { transform: none; }
.collection-art .look-art > div + div { margin-left: -12%; }
.collection-art .look-art > div:nth-child(n+3) { flex: .62; }
.collection-body { padding: 24px 24px 28px; background: var(--paper); border: 1px solid var(--line); border-top: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.collection-body p { font-size: 14px; color: var(--muted); flex: 1; }
.tag { align-self: flex-start; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: var(--cream); }

/* ---------- Detalji / poklon ---------- */
.gift { }
.gift-img { aspect-ratio: 3/2; overflow: hidden; border-radius: 4px; }
.gift-img img { width: 100%; height: 100%; object-fit: cover; }
.gift-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 48px; align-items: start; }
.gift-text ul { list-style: none; display: grid; gap: 14px; }
.gift-text li { display: flex; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.gift-text li em { font: italic 400 18px/1.3 var(--serif); color: var(--wine); min-width: 28px; }

/* ---------- Završni CTA ---------- */
.ask { background: var(--krem); }
.ask .wrap { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ask-img { border-radius: 4px; overflow: hidden; aspect-ratio: 4/5; }
.ask-img img { width: 100%; height: 100%; object-fit: cover; }
.signup { display: flex; gap: 8px; margin-top: 32px; max-width: 440px; }
.signup input { flex: 1; min-width: 0; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: inherit; color: inherit; }
.signup input:focus { outline: 2px solid var(--wine); outline-offset: 1px; }

/* ---------- Footer ---------- */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 24px; }

/* ============ SHOP ============ */
.shop-head { padding: clamp(48px, 7vw, 88px) 0 32px; }
.shop-head .h1 { font-size: clamp(40px, 6vw, 72px); margin-top: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 28px; padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 40px; position: sticky; top: 68px; background: var(--paper); z-index: 5; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-group > span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.chip { padding: 8px 14px; border-radius: 99px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line); transition: all .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; padding-bottom: 96px; }
.card { display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
/* fotografija proizvoda + vez preko nje */
.photo { position: relative; width: 100%; aspect-ratio: 4/5; overflow: hidden; background: #fdf5ed; }
.photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo .vez { position: absolute; width: 4.8%; transform: translate(-50%, -50%); }
.photo .vez img, .photo .vez svg { width: 100%; height: auto; }
.photo .vez.mono { width: 5.6%; filter: drop-shadow(0 .5px .5px rgba(0,0,0,.25)); }
.card-art { border-radius: 4px; overflow: hidden; position: relative; }
.card-art .photo { transition: transform .5s; }
.card:hover .card-art .photo { transform: scale(1.03); }
.card-art .badge { z-index: 1; }
.card-art .badge { position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: var(--black); color: var(--white); }
.card-info { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.card-info b { font: 400 19px/1.2 var(--serif); color: var(--wine); }
.card-info small { display: block; font-size: 13px; color: var(--muted); }
.card-info span { font-size: 14px; white-space: nowrap; }
.card-dots { display: flex; gap: 6px; }
.card-dots button { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .2s; }
.card-dots button:hover, .card-dots button[aria-pressed="true"] { transform: scale(1.25); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 60px 0; }

/* Proizvod (detalj) */
.product { padding: 32px 0 96px; }
.back { font-size: 13px; letter-spacing: .08em; color: var(--muted); display: inline-flex; gap: 8px; margin-bottom: 28px; }
.back:hover { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.product-stage { position: sticky; top: 100px; border-radius: 4px; overflow: hidden; }
.product-stage .shirt { width: 100%; }
.product-stage .zoom { position: absolute; right: 20px; bottom: 20px; width: 168px; height: 168px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 0 0 4px var(--paper); }
.product-stage .zoom div { width: 60px; }
.product-stage .zoom svg { width: 100%; height: auto; display: block; }
.zoom-logo { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
@media (max-width: 720px) { .product-stage .zoom { width: 120px; height: 120px; right: 14px; bottom: 14px; } }
.product-info .h1 { font-size: clamp(36px, 4.6vw, 56px); margin: 14px 0 8px; }
.price { font: 400 22px/1 var(--serif); margin: 18px 0 30px; }
.opt { padding: 22px 0; border-top: 1px solid var(--line); }
.opt-label { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.opt-label b { color: var(--ink); font-weight: 500; letter-spacing: .06em; text-transform: none; font-size: 14px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-btn { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); transition: box-shadow .2s; }
.swatch-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); }
.fruit-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); transition: all .2s; }
.fruit-btn div { width: 30px; height: 30px; }
.fruit-btn[aria-pressed="true"] { background: var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.size-btn { min-width: 52px; padding: 12px 10px; border-radius: 3px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.size-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.buy { display: flex; gap: 10px; margin-top: 10px; }
.buy .btn { flex: 1; justify-content: center; }
.qty { display: flex; align-items: center; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { width: 42px; height: 46px; font-size: 18px; }
.qty span { min-width: 20px; text-align: center; }
.toast { font-size: 13px; color: var(--wine); min-height: 20px; margin-top: 12px; }

.story { margin-top: 36px; padding: 32px; border-radius: 4px; background: var(--cream); }
.story-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.story-head .ico { width: 56px; height: 56px; flex: none; }
.story-head i { font: italic 400 15px/1.2 var(--serif); color: var(--muted); }
.story .trait { font: italic 400 22px/1.3 var(--serif); color: var(--wine); margin-bottom: 14px; }
.story p { font-size: 15px; color: #5a4a47; }
.story ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.story li { font-size: 14px; padding-left: 22px; position: relative; }
.story li::before { content: ''; position: absolute; left: 0; top: .6em; width: 10px; height: 1px; background: var(--wine); }
.specs { margin-top: 24px; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .collections-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav .wrap { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links a { padding: 16px var(--gutter); border-top: 1px solid var(--line); }
  .nav-open .nav-links { display: flex; }
  .logo { justify-self: center; }
  .nav-right .hide-sm { display: none; }
  .nav-right { gap: 10px; }
  .shop-btn { padding: 8px 14px; letter-spacing: .12em; }
  .logo { font-size: 18px; letter-spacing: .3em; }
  .hero { flex-direction: column; min-height: 0; background: var(--paper); }
  .hero-bg { position: relative; width: 100%; height: auto; aspect-ratio: 4/5; object-position: 68% center; -webkit-mask-image: none; mask-image: none; }
  .hero-text { padding: 36px 0 56px; }
  .hero-badge { display: none; }
  .seal { left: auto; bottom: auto; right: 16px; top: 16px; transform: scale(.75); transform-origin: top right; }
  .look-wide { grid-column: auto; aspect-ratio: 4/3; }
  .special-photo { height: 60vh; }
  .palette .wrap, .ask .wrap, .product-grid, .gift-text { grid-template-columns: 1fr; }
  .fruits .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
  .fruit-cell:nth-child(3n) { border-right: 0; }
  .fruit-cell:nth-child(-n+6) { border-bottom: 1px solid var(--line); }
  .fruit-cell { padding: 22px 2px; }
  .fruit-cell small { display: none; }
  .fruit-cell b { font-size: 13px; }
  .special-split { grid-template-columns: 1fr; }
  .collections-grid, .looks { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .filters { position: static; gap: 16px; }
  .product-stage { position: relative; top: 0; }
  .gift-img { aspect-ratio: 4/3; }
  .signup { flex-direction: column; }
}
