:root {
  --bg: #f7f1e8;
  --paper: #fffdf9;
  --ink: #2b1d14;
  --muted: #74655a;
  --line: #e4d9cb;
  --accent: #b5532c;
  --accent-d: #95401f;
  --ok: #3f6b3a;
  --r: 14px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent); font-weight: 600; margin-bottom: .6em; }
.lead { font-size: 1.1rem; }
main { min-height: 60vh; }

/* gumbi */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: .8em 1.5em; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(.97); }
.btn-sm { padding: .55em 1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }

/* glava */
.demo-bar { background: var(--ink); color: #eadccb; text-align: center; font-size: .8rem; padding: .5em 1em; }
.demo-bar a { color: #fff; font-weight: 600; }
[data-header] { position: sticky; top: 0; z-index: 20; background: rgba(247, 241, 232, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 1.35rem/1 var(--serif); }
.logo small { display: block; font: .68rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
#nav { display: flex; gap: 28px; margin-left: auto; }
#nav a { text-decoration: none; font-weight: 500; padding: .3em 0; border-bottom: 2px solid transparent; }
#nav a:hover, #nav a[aria-current] { border-color: var(--accent); }
.cart-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.cart-btn svg { width: 22px; }
.count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.count[hidden] { display: none; }
.menu-btn { display: none; }

/* domača stran */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.hero h1 em { color: var(--accent); }
.hero .lead { max-width: 30em; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3e6c4, #e7cfa6 60%, #d9b98a); display: grid; place-items: center; }
.hero-art .bags { display: flex; align-items: flex-end; width: 82%; }
.hero-art .bags svg { flex: 1; margin: 0 -7%; filter: drop-shadow(0 18px 18px rgba(43, 29, 20, .18)); }
.hero-art .bags svg:nth-child(2) { transform: translateY(-8%) scale(1.12); position: relative; z-index: 1; }
.hero-stamp { position: absolute; right: 2%; top: 6%; width: 112px; height: 112px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; font: italic 1rem/1.15 var(--serif); transform: rotate(-10deg); }
.perks-strip { background: var(--paper); border-block: 1px solid var(--line); }
.perks-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 0; }
.perk { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.perk b { display: block; }
.perk i { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-style: normal; font-size: 1.2rem; }
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-card { background: var(--ink); color: #f3e8da; border-radius: 24px; padding: 48px; }
.about-card h2 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stats b { display: block; font: 2rem/1 var(--serif); color: #e7b78f; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; margin: 0; }
.review .stars { color: #c9a227; letter-spacing: 2px; }
.review blockquote { margin: 10px 0 14px; font: italic 1.08rem/1.5 var(--serif); }
.review figcaption { font-size: .88rem; color: var(--muted); }
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }

/* kartice */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(43, 29, 20, .1); }
.card-img { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10% 18%; }
.card-img svg { width: 100%; height: 100%; transition: transform .35s; }
.card:hover .card-img svg { transform: scale(1.05) rotate(-2deg); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--paper); border-radius: 999px; padding: .25em .8em; font-size: .74rem; font-weight: 600; z-index: 1; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .3em; }
.card-body h3 a { text-decoration: none; }
.card-body p { color: var(--muted); font-size: .9rem; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-weight: 700; font-size: 1.05rem; }

/* seznam izdelkov */
.page-head { padding: 48px 0 24px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .5em 1.1em; font: 500 .9rem var(--sans); cursor: pointer; color: var(--ink); }
.tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tools input, .tools select { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .55em 1em; font: .9rem var(--sans); color: var(--ink); }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* izdelek */
.crumbs { font-size: .85rem; color: var(--muted); padding: 28px 0; }
.crumbs a { text-decoration: none; }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-img { position: sticky; top: 100px; border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center; padding: 12% 22%; }
.pd-img svg { width: 100%; height: 100%; }
.pd-price { font: 1.8rem/1 var(--serif); margin: .2em 0 .3em; }
.tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .25em .85em; font-size: .85rem; }
.buy { border-top: 1px solid var(--line); padding-top: 22px; }
.opts { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.opts legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: inline-block; border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px; padding: .45em 1em; font-size: .9rem; }
.opts input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.15rem; cursor: pointer; color: var(--ink); }
.qty input, .qty output { width: 40px; text-align: center; border: 0; background: none; font: 600 1rem var(--sans); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.perks { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); font-size: .92rem; }
.perks li { padding-left: 1.6em; position: relative; margin-bottom: .45em; }
.perks li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.related { padding: 88px 0 40px; }

/* košarica in blagajna */
[data-cart], [data-checkout] { padding: 48px 0 88px; }
.note { background: #f3e6c4; border-radius: 10px; padding: .7em 1em; display: inline-block; }
.note.ok { background: #dfe8d6; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; margin-top: 16px; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto auto 32px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci-img { border-radius: 10px; aspect-ratio: 1; display: grid; place-items: center; padding: 10px 18px; }
.ci-info { display: flex; flex-direction: column; }
.ci-info a { text-decoration: none; }
.ci-total { min-width: 80px; text-align: right; }
.ci-remove { border: 0; background: none; font-size: 1.5rem; color: var(--muted); cursor: pointer; }
.ci-remove:hover { color: var(--accent); }
.summary { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.summary h2 { font-size: 1.4rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.sum-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 1.15rem; }
.summary .btn-block { margin-top: 18px; }
.link-back { display: block; text-align: center; margin-top: 14px; font-size: .9rem; }
.empty-cart { text-align: center; padding: 60px 0; }
.co-main section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; margin-bottom: 20px; }
.co-main h2 { font-size: 1.3rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: .88rem; font-weight: 500; }
.field.wide { grid-column: 1 / -1; }
.field input, .field textarea { border: 1px solid var(--line); border-radius: 10px; padding: .75em .9em; font: 1rem var(--sans); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field.invalid input { border-color: #c0392b; background: #fdf1ef; }
.choice { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); background: #fbf7f1; }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; }
.choice span { flex: 1; display: flex; flex-direction: column; }
.choice small { color: var(--muted); }
.choice em { font-style: normal; font-weight: 600; }
.mini { list-style: none; padding: 0; margin: 0 0 12px; border-bottom: 1px solid var(--line); }
.mini li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0 10px; font-size: .92rem; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin-top: 16px; }
.agree input { margin-top: 4px; accent-color: var(--accent); }
.agree.invalid { color: #c0392b; }
.form-error { color: #c0392b; font-size: .88rem; margin: 10px 0 0; }
.demo-dialog { border: 0; border-radius: 20px; padding: 36px; max-width: 440px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.demo-dialog::backdrop { background: rgba(43, 29, 20, .55); }
.dlg-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }

/* pravne strani */
.legal { padding: 48px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal section { padding-top: 32px; }
.legal h2 { font-size: 1.6rem; scroll-margin-top: 100px; }
.legal .warn { background: #f3e6c4; border-radius: 10px; padding: 1em 1.2em; }
.legal table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
.legal td, .legal th { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 6px; }
.form-box { background: var(--paper); border: 1px dashed var(--muted); border-radius: 10px; padding: 1.2em 1.4em; }

/* noga */
[data-footer] { background: var(--ink); color: #d9cab8; padding-top: 64px; }
.ftr { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.ftr .logo { color: #fff; margin-bottom: 16px; }
.ftr .logo small { color: #b8a693; }
.ftr h3 { font: 600 .8rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: #fff; }
.ftr a { display: block; text-decoration: none; margin-bottom: .45em; }
.ftr p a { display: inline; }
.ftr a:hover { color: #fff; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 28px; font-size: .82rem; }
.ftr-bottom a { color: #fff; }

/* obvestilo */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: .85em 1.3em; border-radius: 999px; font-size: .92rem; z-index: 50; transition: transform .3s; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: #f0c9a8; font-weight: 600; margin-left: .5em; }

/* telefon in tablica */
@media (max-width: 900px) {
  .hero .wrap, .about .wrap, .contact .wrap, .pd, .cart-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-art { max-width: 440px; width: 100%; margin-inline: auto; }
  .perks-strip .wrap { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .ftr { grid-template-columns: 1fr 1fr; }
  .pd-img, .summary { position: static; }
  .pd-img { padding: 10% 26%; }
}
@media (max-width: 720px) {
  .menu-btn { display: grid; gap: 6px; margin-left: auto; width: 44px; height: 44px; place-content: center; border: 0; background: none; cursor: pointer; }
  .menu-btn span { width: 24px; height: 2px; background: var(--ink); transition: transform .25s; }
  .nav-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-open #nav { display: flex; }
  #nav a { padding: .8em 0; border-bottom: 1px solid var(--line); }
  .hdr { position: relative; gap: 12px; }
  .section { padding: 64px 0; }
  .about-card { padding: 32px 24px; }
  .fields { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr auto; grid-template-areas: 'img info rm' 'img qty tot'; gap: 8px 14px; }
  .ci-img { grid-area: img; padding: 6px 12px; }
  .ci-info { grid-area: info; }
  .cart-item .qty { grid-area: qty; justify-self: start; }
  .ci-total { grid-area: tot; }
  .ci-remove { grid-area: rm; }
  .toolbar, .tools { width: 100%; }
  .tools input { flex: 1; }
  .toast { white-space: normal; width: calc(100% - 32px); text-align: center; border-radius: 16px; }
  .hero-stamp { width: 88px; height: 88px; font-size: .85rem; }
}
@media (max-width: 480px) {
  .perks-strip .wrap, .ftr { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* plačilna sredstva */
.pay-icons { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.pi { display: inline-grid; place-items: center; grid-auto-flow: column; gap: 2px; min-width: 46px; height: 28px; padding: 0 7px; border-radius: 5px; background: #fff; border: 1px solid #dcd3c6; font: italic 800 .78rem/1 var(--sans); font-style: normal; color: #1a1f71; }
.pi-visa { font-style: italic; letter-spacing: .02em; }
.pi-mc b, .pi-maestro b { width: 14px; height: 14px; border-radius: 50%; background: #eb001b; }
.pi-mc b + b { background: #f79e1b; margin-left: -6px; mix-blend-mode: multiply; }
.pi-maestro b { background: #0099df; }
.pi-maestro b + b { background: #ed0006; margin-left: -6px; mix-blend-mode: multiply; }
.pi-apple { background: #000; color: #fff; border-color: #000; font-weight: 600; }
.pi-gpay { color: #3c4043; font-weight: 600; }
.pi-gpay em, .wallet-google em { font-style: normal; font-weight: 700; background: conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 0 50%, #34a853 0 75%, #fbbc05 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pi-paypal { color: #003087; font-style: italic; }
.pi-paypal em { color: #009cde; font-style: italic; }
.ftr-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 0 0 22px; font-size: .82rem; }
.pd-info > .pay-icons { margin-top: 14px; }
.summary .pay-icons { justify-content: center; margin-top: 4px; }
.card-demo { margin-top: 6px; padding: 18px; border-radius: 12px; background: #fbf7f1; border: 1px solid var(--line); }
.card-demo[hidden] { display: none; }
.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet { height: 46px; border-radius: 10px; border: 0; background: #000; color: #fff; font: 600 1.05rem var(--sans); cursor: pointer; }
.wallet-google { background: #fff; color: #3c4043; border: 1px solid #dadce0; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; margin: 14px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.card-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.cf { display: flex; flex-direction: column; gap: 5px; font-size: .88rem; font-weight: 500; }
.cf-wide { grid-column: 1 / -1; }
.cf-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: .55em .9em; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font: 1rem var(--sans); letter-spacing: .04em; }
.cf-box .pay-icons { transform: scale(.85); transform-origin: right center; }
.cf-box .pi:nth-child(n+3) { display: none; }
