:root {
  --cream: #f6f1ea;
  --sand: #ece3d6;
  --ink: #1e1b18;
  --ink-2: #5b544c;
  --line: #e0d6c8;
  --accent: #b5562f;
  --accent-dark: #93421f;
  --sage: #7d8b74;
  --white: #fffdf9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 27, 24, .10);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.container { width: min(1280px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; margin-bottom: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--white); padding: 14px 26px; border-radius: 999px; font-weight: 600; transition: transform .2s, background .2s; }
.btn:hover { background: var(--accent); transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: var(--white); }
.btn--ghost-light { border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.15); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--small { padding: 9px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.link { font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg, .search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .25s; }
.badge-count.show { transform: scale(1); }
.badge-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.4); } }

/* Demo oznaka */
.demo-bar { background: var(--accent); color: #fff; text-align: center; font-size: .82rem; padding: 8px 16px; }
.demo-note { background: var(--sand); border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: 8px; font-size: .88rem; margin-top: 8px; }

/* Announcement */
.announce { background: var(--ink); color: var(--cream); font-size: .82rem; overflow: hidden; height: 36px; }
.announce__track { display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.6,0,.2,1); }
.announce__track span { height: 36px; display: grid; place-items: center; text-align: center; padding: 0 12px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 234, .88); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; letter-spacing: -.03em; }
.logo span { font-style: italic; font-weight: 300; color: var(--accent); }
.logo--light { color: var(--cream); }
.nav { display: flex; gap: 22px; font-size: .92rem; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: currentColor; transition: width .25s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav__sale { color: var(--accent); font-weight: 700; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.search { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 42px; margin-right: 6px; }
.search svg { width: 18px; height: 18px; color: var(--ink-2); }
.search input { border: 0; outline: 0; background: transparent; width: 180px; }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: zoom 18s ease-out forwards; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(20,16,12,.65)); }
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__content { position: relative; padding: 0 0 72px; }
.hero h1 { font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 300; }
.hero h1 em { font-style: italic; color: #f3c9a8; }
.hero__lead { max-width: 480px; margin: 20px 0 30px; font-size: 1.1rem; opacity: .92; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__content > * { animation: rise .9s both; }
.hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__content > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.trust__item { display: flex; gap: 14px; align-items: center; }
.trust__item span { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--white); border-radius: 50%; flex: none; }
.trust__item b { display: block; font-size: .95rem; }
.trust__item small { color: var(--ink-2); font-size: .82rem; }

/* Sections */
.section { padding: 80px 0 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }

/* Nav dropdown (podkategorije) */
.nav__item { position: relative; }
.nav__item > a { display: inline-block; }
.nav__drop { position: absolute; top: 100%; left: -18px; min-width: 210px; padding: 10px; margin-top: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; }
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__drop a { padding: 9px 12px !important; border-radius: 8px; }
.nav__drop a::after { display: none; }
.nav__drop a:hover { background: var(--cream); color: var(--accent); }
.nav__item:hover .nav__drop { opacity: 1; visibility: visible; transform: none; }

/* Asortimani */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.group { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.group:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.group__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.group__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.group:hover .group__media img { transform: scale(1.06); }
.group__count { position: absolute; top: 14px; left: 14px; background: var(--white); padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.group__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.group__body h3 { font-size: 1.6rem; }
.group__body h3 a:hover { color: var(--accent); }
.group__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.group__links a { font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); transition: all .2s; }
.group__links a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Tabovi asortimana */
.tabs { display: flex; gap: 4px; padding: 5px; background: var(--sand); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 16px; }
.tab { padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; white-space: nowrap; color: var(--ink-2); transition: all .2s; }
.tab:hover { color: var(--ink); }
.tab.active { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* Toolbar + chips */
.toolbar { display: flex; gap: 12px; align-items: center; }
.toolbar select { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; outline: 0; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; cursor: pointer; }
.toggle input { accent-color: var(--accent); width: 18px; height: 18px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chips[hidden] { display: none; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .88rem; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.card { position: relative; animation: rise .5s both; }
.card__media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--sand); cursor: pointer; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s; }
.card__media img.alt { opacity: 0; }
.card:hover .card__media img.alt { opacity: 1; }
.card:hover .card__media img { transform: scale(1.04); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: var(--white); }
.tag--sale { background: var(--accent); color: #fff; }
.tag--new { background: var(--sage); color: #fff; }
.heart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform .2s; }
.heart:hover { transform: scale(1.1); }
.heart svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.heart.on svg { fill: var(--accent); stroke: var(--accent); }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; background: var(--white); color: var(--ink); border-radius: 999px; padding: 12px; font-weight: 600; font-size: .9rem; transform: translateY(130%); transition: transform .3s, background .2s; }
.quick:hover { background: var(--ink); color: var(--white); }
.card:hover .quick { transform: none; }
.card__info { padding: 14px 2px 0; }
.card__cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.card__name { font-weight: 600; margin: 3px 0 4px; cursor: pointer; }
.card__rating { font-size: .8rem; color: var(--ink-2); }
.card__rating b { color: #c88a1e; }
.card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-weight: 700; font-size: 1.05rem; }
.price s { color: var(--ink-2); font-weight: 400; font-size: .88rem; margin-left: 6px; }
.price--sale { color: var(--accent); }
.dots { display: flex; gap: 5px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.add { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.3rem; display: grid; place-items: center; transition: background .2s, transform .2s; }
.add:hover { background: var(--accent); transform: rotate(90deg); }
.empty { text-align: center; padding: 60px 0; color: var(--ink-2); }

/* Look */
.look { background: var(--sand); margin-top: 100px; padding: 90px 0; }
.look__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.look__text h2 { margin-bottom: 18px; }
.look__text .btn { margin-top: 28px; }
.look__total { margin-top: 12px; font-size: .9rem; color: var(--ink-2); }
.look__media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.look__media img { width: 100%; height: 100%; object-fit: cover; }
.hotspot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; }
.hotspot::after { content: "+"; display: grid; place-items: center; height: 100%; font-weight: 700; color: var(--ink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* Reviews */
.rating-big { font-family: var(--serif); font-size: 1.8rem; }
.rating-big small { font-family: var(--sans); font-size: .9rem; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.stars { color: #c88a1e; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; margin-bottom: 16px; }
.review figcaption { font-size: .85rem; color: var(--ink-2); font-weight: 600; }

/* Newsletter */
.newsletter { margin-top: 90px; margin-bottom: 90px; background: var(--accent); color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.newsletter p { opacity: .9; margin-top: 10px; }
.newsletter__form { display: flex; gap: 10px; background: rgba(255,255,255,.15); padding: 6px; border-radius: 999px; }
.newsletter__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; padding: 0 18px; }
.newsletter__form input::placeholder { color: rgba(255,255,255,.75); }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; opacity: .6; }
.footer__grid a { display: block; margin-bottom: 8px; opacity: .85; }
.footer__grid a:hover { opacity: 1; color: #f3c9a8; }
.muted-light { opacity: .6; margin-top: 10px; font-size: .9rem; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; opacity: .6; }

/* Overlay + drawer */
.overlay { position: fixed; inset: 0; background: rgba(20,16,12,.45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--cream); z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.6,0,.2,1); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.ship { padding: 16px 24px; background: var(--white); border-bottom: 1px solid var(--line); font-size: .88rem; }
.ship__bar { height: 6px; background: var(--sand); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ship__bar div { height: 100%; background: var(--sage); border-radius: 3px; transition: width .5s; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 80px; height: 96px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.line__name { font-weight: 600; font-size: .95rem; }
.line__meta { font-size: .8rem; color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 10px; background: var(--white); }
.qty button { width: 30px; height: 30px; font-size: 1.1rem; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: .9rem; }
.line__right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.remove { font-size: .8rem; color: var(--ink-2); text-decoration: underline; }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--white); }
.promo { display: flex; gap: 8px; margin-bottom: 14px; }
.promo input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; outline: 0; background: var(--cream); }
.sum { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.sum--total { font-size: 1.15rem; font-weight: 700; margin: 12px 0 16px; }
.drawer-empty { text-align: center; padding: 60px 10px; color: var(--ink-2); }
.drawer-empty div { font-size: 3rem; margin-bottom: 10px; }
.drawer-empty .btn { margin-top: 18px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; background: rgba(20,16,12,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal__box { position: relative; background: var(--cream); border-radius: 22px; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; transform: translateY(20px) scale(.98); transition: transform .3s; }
.modal.show .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--white); }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media { aspect-ratio: 4/5; background: var(--sand); }
.qv__media img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.qv__info h3 { font-size: 2rem; }
.qv__info .price { font-size: 1.4rem; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 3px var(--cream); outline: 1px solid var(--line); }
.swatch.active { border-color: var(--ink); }
.perks { list-style: none; font-size: .88rem; color: var(--ink-2); display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.stock { font-size: .85rem; color: var(--sage); font-weight: 600; }

/* Checkout */
.checkout { padding: 40px; }
.checkout h3 { font-size: 2rem; margin-bottom: 6px; }
.checkout__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: .85rem; font-weight: 600; }
.field input, .field textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); outline: 0; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field input.error { border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay { display: grid; gap: 10px; margin-bottom: 20px; }
.pay label { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; font-weight: 500; }
.pay label:has(input:checked) { border-color: var(--ink); }
.pay input { accent-color: var(--ink); }
.summary { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--line); align-self: start; }
.summary__item { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; margin-bottom: 8px; }
.success { padding: 60px 40px; text-align: center; }
.success__icon { width: 80px; height: 80px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 2.5rem; display: grid; place-items: center; margin: 0 auto 20px; animation: pop .5s; }
@keyframes pop { from { transform: scale(0); } }
.success h3 { font-size: 2.2rem; margin-bottom: 10px; }
.success p { color: var(--ink-2); max-width: 420px; margin: 0 auto 24px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 150%); background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-size: .9rem; font-weight: 500; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.6,0,.2,1); white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__item > a { display: block; font-weight: 700; }
  .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; margin: 0; padding: 0 0 0 14px; border: 0; box-shadow: none; background: none; min-width: 0; }
  .nav__drop a { font-size: .92rem; color: var(--ink-2); }
  .menu-btn { display: grid; }
  .groups { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .search { display: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .look__inner, .newsletter, .qv, .checkout__grid { grid-template-columns: 1fr; }
  .newsletter { padding: 36px 24px; }
  .reviews { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .qv__info, .checkout { padding: 28px 20px; }
  .quick { display: none; }
  .header__inner { gap: 8px; }
}
@media (max-width: 520px) {
  .groups { grid-template-columns: 1fr; }
  .tab { padding: 9px 16px; }
  .trust { grid-template-columns: 1fr; }
  .toolbar { width: 100%; justify-content: space-between; }
  .row2 { grid-template-columns: 1fr; }
  .card__info { font-size: .9rem; }
  .dots { display: none; }
  .price { font-size: .95rem; }
  .price s { display: block; margin: 0; font-size: .8rem; }
  .add { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Pravi proizvodi iz kataloga ===== */
/* Katalog fotografije: kvadrat, cijeli proizvod vidljiv na bijeloj podlozi */
.card__media { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); }
.card__media img { object-fit: contain; padding: 6px; }
.card:hover .card__media img { transform: scale(1.03); }
.card__opts { font-size: .78rem; color: var(--ink-2); margin-bottom: 2px; }
.price small { font-weight: 500; font-size: .78rem; color: var(--ink-2); }
.more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.qv__media { aspect-ratio: 1 / 1; background: #fff; }
.qv__media img { object-fit: contain; padding: 16px; }
.qv__code { font-size: .8rem; color: var(--ink-2); letter-spacing: .02em; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-size: .86rem; font-weight: 600; transition: border-color .15s, background .15s; }
.opt:hover:not(:disabled) { border-color: var(--ink); }
.opt.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.opt:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.line img { object-fit: contain; background: #fff; border: 1px solid var(--line); }
.group__media { background: #fff; }
.look__media { aspect-ratio: 548 / 334; }

/* ===== Jedinstveni stil fotografija (topla krem pozadina iz _alati/unify.py) ===== */
:root { --photo-bg: #F3ECE2; }
.card__media { background: var(--photo-bg); border: 0; border-radius: 18px; box-shadow: 0 1px 0 rgba(30, 27, 24, .04); }
.card__media img { object-fit: cover; padding: 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.045); }
.card:hover .card__media { box-shadow: 0 14px 34px rgba(92, 70, 50, .14); }
.card__media { transition: box-shadow .4s; }
.qv__media { background: var(--photo-bg); }
.qv__media img { object-fit: cover; padding: 0; }
.line img { background: var(--photo-bg); border: 0; object-fit: cover; }
.group__media { background: var(--photo-bg); }

/* ===== Naslovna: soba u koju padaju proizvodi (hero.js) ===== */
.hero--room { --wall-1: #efe5d8; --wall-2: #e6d8c6; --floor-1: #c9a27c; --floor-2: #b48a63; --plank: rgba(92, 62, 36, .16);
  position: relative; min-height: clamp(560px, 88vh, 800px); display: block; color: var(--ink); overflow: hidden; background: var(--wall-1); }
.room { position: absolute; inset: 0; }
.room__wall { position: absolute; inset: 0 0 20% 0; background:
  radial-gradient(120% 90% at 70% 0%, rgba(255, 248, 236, .9), transparent 60%),
  linear-gradient(180deg, var(--wall-1), var(--wall-2)); }
/* prozor i sunčeva svjetlost koja pada po zidu */
.room__window { position: absolute; top: 9%; right: 9%; width: min(26vw, 300px); aspect-ratio: 3 / 4; border-radius: 6px 6px 0 0;
  background: linear-gradient(160deg, #fbf6ee 0%, #f3e6d3 100%);
  box-shadow: inset 0 0 0 10px #e9dccb, inset 0 0 0 12px rgba(120, 90, 60, .12), 0 30px 60px -30px rgba(92, 70, 50, .35); }
.room__window::before, .room__window::after { content: ""; position: absolute; background: #e9dccb; }
.room__window::before { left: 50%; top: 10px; bottom: 0; width: 8px; transform: translateX(-50%); }
.room__window::after { top: 45%; left: 10px; right: 10px; height: 8px; }
.room__sun { position: absolute; top: 18%; right: 24%; width: min(34vw, 420px); height: 70%;
  background: linear-gradient(200deg, rgba(255, 236, 200, .55), rgba(255, 236, 200, 0) 70%);
  transform: skewX(-18deg); filter: blur(18px); animation: sun 9s ease-in-out infinite alternate; }
@keyframes sun { from { opacity: .7; } to { opacity: 1; } }
/* drveni pod sa daskama u perspektivi */
.room__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 20%;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), var(--plank) calc(12.5% - 1px) 12.5%),
    linear-gradient(180deg, var(--floor-1), var(--floor-2));
  transform-origin: top; box-shadow: inset 0 14px 18px -12px rgba(60, 38, 20, .35); }
.room__floor::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; background: #f6efe5; box-shadow: 0 2px 0 rgba(92, 62, 36, .12); } /* lajsna */
.hero__canvas { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; }
.hero--room .hero__content { position: relative; z-index: 2; padding: clamp(56px, 12vh, 120px) 0 0; max-width: min(1280px, 100% - 32px); pointer-events: none; }
.hero--room .hero__content > * { pointer-events: auto; max-width: 470px; }
.hero--room h1 { color: var(--ink); font-size: clamp(2.8rem, 5.6vw, 5.4rem); }
.hero--room h1 em { color: var(--accent); }
.hero--room .hero__lead { color: var(--ink-2); opacity: 1; }
.hero__hint { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translate(-50%, 8px); margin: 0; padding: 7px 8px 7px 16px;
  background: rgba(255, 253, 249, .85); backdrop-filter: blur(6px); border-radius: 999px; font-size: .8rem; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px; white-space: nowrap; opacity: 0; transition: opacity .6s, transform .6s; pointer-events: none; }
.hero__hint.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hero__replay { padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .78rem; font-weight: 600; }
.hero__replay:hover { background: var(--accent); }
@media (pointer: coarse) { .hero__hint-mouse { display: none; } }
@media (max-width: 800px) {
  .hero--room { min-height: 720px; }
  .room__wall { bottom: 16%; }
  .room__floor { height: 16%; }
  .room__window { top: auto; bottom: 26%; right: 6%; width: 34vw; }
  .room__sun { display: none; }
  .hero--room .hero__content { padding-top: 40px; }
  .hero--room .hero__content > * { max-width: 100%; }
  .hero__hint { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) { .room__sun { animation: none; } }

/* Naslovna: prava fotografija toplog doma u pozadini */
.room__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 72%;
  filter: blur(1.4px) saturate(1.05) sepia(.08); transform: scale(1.03); }
.room__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(246, 241, 234, .94) 0%, rgba(246, 241, 234, .82) 30%, rgba(246, 241, 234, .25) 52%, rgba(246, 241, 234, 0) 68%),
  linear-gradient(180deg, rgba(246, 241, 234, 0) 60%, rgba(120, 86, 56, .10) 100%),
  radial-gradient(90% 70% at 75% 30%, rgba(255, 236, 205, .28), transparent 70%); }
.hero--room .room__wall, .hero--room .room__floor { display: none; }
@media (max-width: 800px) {
  .room__photo { object-position: 55% 80%; }
  .room__veil { background:
    linear-gradient(180deg, rgba(246, 241, 234, .95) 0%, rgba(246, 241, 234, .86) 38%, rgba(246, 241, 234, .2) 62%, rgba(246, 241, 234, 0) 75%),
    linear-gradient(180deg, transparent 70%, rgba(120, 86, 56, .12) 100%); }
}
