/* Kožna Radost — origami fold art direction */
:root{
  --teal-900:#0c3836;
  --teal-800:#124a46;
  --teal-700:#17615c;
  --teal-500:#238c83;
  --mustard-600:#c48a2a;
  --mustard-500:#dba23c;
  --mustard-300:#efc876;
  --paper-50:#faf6ec;
  --paper-100:#f2e9d8;
  --paper-200:#e7dabf;
  --ink-900:#1c1a15;
  --ink-700:#3c372c;
  --ink-500:#6b6353;
  --wine:#7a2f3a;
  --radius-s:6px;
  --radius-m:14px;
  --radius-l:28px;
  --shadow-1:0 1px 2px rgba(28,26,21,.08);
  --shadow-2:0 10px 30px -12px rgba(12,56,54,.35);
  --shadow-3:0 22px 50px -20px rgba(12,56,54,.45);
  --font-display:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  --font-body:-apple-system,"Segoe UI",system-ui,"Helvetica Neue",Arial,sans-serif;
  --font-mono:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
  --ease:cubic-bezier(.22,.9,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
html,body{overflow-x:clip}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--paper-50);
  color:var(--ink-900);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
ul{margin:0;padding:0}
li{list-style:none}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 20px;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  margin:0 0 .5em;
  color:var(--teal-900);
  font-weight:600;
  letter-spacing:-.01em;
}
h1{font-size:clamp(2.4rem,6vw + 1rem,4.6rem);line-height:1.02}
h2{font-size:clamp(1.8rem,3.2vw + .6rem,2.9rem);line-height:1.08}
h3{font-size:clamp(1.25rem,1.4vw + .8rem,1.55rem)}
p{margin:0 0 1em}

.eyebrow{
  font-family:var(--font-mono);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.74rem;
  color:var(--mustard-600);
  display:inline-flex;
  align-items:center;
  gap:.5em;
}
.eyebrow::before{content:"";width:18px;height:2px;background:var(--mustard-600);display:inline-block}

:focus-visible{outline:3px solid var(--mustard-500);outline-offset:3px;border-radius:4px}

/* ---------- buttons ---------- */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6em;
  padding:.85em 1.6em;
  border-radius:999px;
  font-weight:600;
  font-size:.95rem;
  border:2px solid var(--teal-900);
  background:var(--teal-900);
  color:var(--paper-50);
  cursor:pointer;
  overflow:hidden;
  min-height:44px;
  isolation:isolate;
  transition:color .35s var(--ease),border-color .35s var(--ease);
}
.btn::before{
  content:"";
  position:absolute;
  inset:0;
  left:-100%;
  width:100%;
  background:var(--mustard-500);
  z-index:-1;
  transition:left .4s var(--ease);
}
.btn:hover::before,.btn:focus-visible::before{left:0}
.btn:hover,.btn:focus-visible{color:var(--ink-900);border-color:var(--mustard-500)}
.btn-ghost{
  background:transparent;
  color:var(--teal-900);
  border-color:var(--teal-900);
}
.btn-ghost::before{background:var(--teal-900)}
.btn-ghost:hover,.btn-ghost:focus-visible{color:var(--paper-50)}
.btn-dark{border-color:var(--paper-50);background:transparent;color:var(--paper-50)}
.btn-dark::before{background:var(--mustard-500)}
.btn-dark:hover,.btn-dark:focus-visible{color:var(--ink-900);border-color:var(--mustard-500)}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.btn-sm{padding:.55em 1.1em;font-size:.85rem;min-height:36px}

/* ---------- header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(250,246,236,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--paper-200);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding-top:.8rem;
  padding-bottom:.8rem;
}
.brand{display:flex;align-items:center;gap:.6rem}
.brand-mark{width:40px;height:40px;flex:none}
.brand-word{width:150px;height:28px}
.brand-word :is(text,.wm){fill:var(--teal-900)}

.main-nav{display:flex;align-items:center;gap:1.9rem}
.main-nav a{
  font-weight:600;
  font-size:.95rem;
  position:relative;
  padding:.2rem 0;
}
.main-nav a::after{
  content:"";
  position:absolute;left:0;bottom:-2px;
  width:100%;height:2px;
  background:var(--mustard-600);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s var(--ease);
}
.main-nav a:hover::after,.main-nav a[aria-current="page"]::after{transform:scaleX(1)}

.header-actions{display:flex;align-items:center;gap:.9rem}
.cart-link{
  display:inline-flex;align-items:center;gap:.4rem;
  font-weight:700;
  padding:.5em .9em;
  border-radius:999px;
  border:2px solid var(--teal-900);
  min-height:44px;
}
.cart-link svg{width:20px;height:20px}
#cart-count{
  background:var(--mustard-500);
  color:var(--ink-900);
  border-radius:999px;
  min-width:1.5em;
  height:1.5em;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.78rem;
  font-weight:800;
  transition:transform .25s var(--ease);
}
#cart-count.bump{transform:scale(1.5)}

.menu-toggle{
  display:none;
  width:44px;height:44px;
  border:2px solid var(--teal-900);
  border-radius:50%;
  background:none;
  align-items:center;justify-content:center;
  cursor:pointer;
}
.menu-toggle svg{width:20px;height:20px}

@media (max-width:860px){
  .main-nav{
    position:fixed;
    inset:0 0 0 auto;
    width:min(82vw,340px);
    height:100vh;
    background:var(--teal-900);
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:1.6rem;
    padding:6rem 2rem 2rem;
    transform:translateX(100%);
    visibility:hidden;
    transition:transform .4s var(--ease),visibility .4s;
    z-index:70;
  }
  .main-nav.open{transform:translateX(0);visibility:visible}
  .main-nav a{color:var(--paper-50);font-size:1.1rem}
  .main-nav a::after{background:var(--mustard-500)}
  .menu-toggle{display:inline-flex}
  .nav-backdrop{
    position:fixed;inset:0;background:rgba(12,24,22,.4);
    opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;z-index:65;
  }
  .nav-backdrop.open{opacity:1;visibility:visible}
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  padding:3.2rem 0 5rem;
  overflow:hidden;
}
.hero .container{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:2.5rem;
  align-items:center;
}
.hero-copy p.lead{font-size:1.15rem;color:var(--ink-700);max-width:34ch}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.6rem}
.hero-art{position:relative;aspect-ratio:1/1}
.hero-art svg{width:100%;height:100%}
.hero-draw path,.hero-draw polyline{
  stroke-dasharray:1400;
  stroke-dashoffset:1400;
  animation:draw 2.4s var(--ease) forwards;
}
@keyframes draw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){
  .hero-draw path,.hero-draw polyline{animation:none;stroke-dashoffset:0}
}
.plane{position:absolute;pointer-events:none}
.plane-1{top:-6%;right:-4%;width:180px;opacity:.5}
.plane-2{bottom:-8%;left:-6%;width:220px;opacity:.35}

/* ---------- grain overlay ---------- */
.grain{
  position:fixed;inset:0;width:100vw;height:100vh;
  pointer-events:none;mix-blend-mode:multiply;opacity:.05;z-index:5;
}

/* ---------- reveal ---------- */
.reveal{opacity:1;transform:none;clip-path:none}
.reveal.js-hide{
  opacity:0;
  transform:translateY(26px);
  clip-path:polygon(0 0,100% 0,100% 0,0 0);
  transition:opacity .7s var(--ease),transform .7s var(--ease),clip-path .7s var(--ease);
}
.reveal.js-hide.in-view{
  opacity:1;transform:translateY(0);
  clip-path:polygon(0 0,100% 0,100% 100%,0 100%);
}
@media (prefers-reduced-motion:reduce){
  .reveal.js-hide{transition:none;opacity:1;transform:none;clip-path:none}
}

/* ---------- sections ---------- */
section{padding:4.6rem 0}
.section-head{max-width:640px;margin:0 au0 2.4rem}
.divider{width:100%;height:34px;display:block;margin:0}
.divider path{fill:var(--paper-100)}
.divider.c-teal path{fill:var(--teal-900)}
.divider.c-paper path{fill:var(--paper-100)}
.divider.c-mustard path{fill:var(--mustard-500)}
.divider.c-paper50 path{fill:var(--paper-50)}

.brand-word text{font-family:var(--font-display);font-weight:700}
.section-mark{width:52px;height:18px;margin-bottom:.8rem}
.stitch{width:100%;height:10px;display:block;color:var(--paper-200)}
.bg-teal .stitch{color:var(--teal-700)}
.seal{width:100%;height:auto}

.bg-teal{background:var(--teal-900);color:var(--paper-50)}
.bg-teal h2,.bg-teal h3{color:var(--paper-50)}
.bg-paper-100{background:var(--paper-100)}

/* ---------- cards / grid ---------- */
.grid{display:grid;gap:1.6rem}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
@media (max-width:860px){.grid-3,.grid-2{grid-template-columns:1fr}}

.card{
  background:var(--paper-50);
  border-radius:var(--radius-m);
  box-shadow:var(--shadow-1);
  overflow:hidden;
  border:1px solid var(--paper-200);
}

/* product card */
.product-card{
  display:flex;flex-direction:column;
  background:var(--paper-50);
  border-radius:var(--radius-m);
  overflow:hidden;
  box-shadow:var(--shadow-1);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
  border:1px solid var(--paper-200);
}
.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-2)}
.product-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--paper-200)}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.product-card:hover .product-media img{transform:scale(1.08)}
.product-body{padding:1.1rem 1.2rem 1.4rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.product-cat{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--mustard-600)}
.product-body h3{margin:0}
.product-body .price{font-family:var(--font-display);font-size:1.3rem;color:var(--teal-700);margin-top:auto;font-weight:700}
.product-actions{display:flex;gap:.6rem;margin-top:.6rem;align-items:center;flex-wrap:wrap}

.strip{
  display:flex;gap:1.1rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.6rem;
}
.strip .product-card{min-width:240px;scroll-snap-align:start}
@media (min-width:861px){.strip{overflow-x:visible;flex-wrap:wrap}}

/* ---------- badges / icons ---------- */
.icon{width:22px;height:22px;stroke:currentColor;fill:none}
.feature-list{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem;margin-top:1.6rem}
@media (max-width:640px){.feature-list{grid-template-columns:1fr}}
.feature-item{display:flex;gap:.9rem;align-items:flex-start}
.feature-item .icon{flex:none;margin-top:.15rem;color:var(--teal-700)}

/* ---------- studio inicijala (signature feature) ---------- */
.studio{
  position:relative;
  background:var(--teal-900);
  color:var(--paper-50);
  border-radius:var(--radius-l);
  padding:2.6rem;
  overflow:hidden;
}
.studio-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.4rem;align-items:center}
@media (max-width:860px){.studio-grid{grid-template-columns:1fr}}
.studio h2{color:var(--paper-50)}
.studio-field{margin-bottom:1.1rem}
.studio-field label{display:block;font-weight:600;margin-bottom:.4rem;font-size:.9rem}
.studio-field input[type="text"]{
  width:100%;max-width:220px;
  padding:.7em .9em;
  border-radius:var(--radius-s);
  border:2px solid var(--paper-100);
  font-size:1.1rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-family:var(--font-display);
  accent-color:var(--mustard-500);
}
.swatches{display:flex;gap:.6rem;flex-wrap:wrap}
.swatch{
  width:38px;height:38px;border-radius:50%;
  border:3px solid transparent;cursor:pointer;
  min-width:44px;min-height:44px;
}
.swatch[aria-pressed="true"]{border-color:var(--mustard-500)}
.style-options{display:flex;gap:.6rem;flex-wrap:wrap}
.style-options button{
  padding:.5em 1em;border-radius:999px;border:2px solid var(--paper-100);
  background:transparent;color:var(--paper-50);cursor:pointer;font-size:.85rem;min-height:40px;
}
.style-options button[aria-pressed="true"]{background:var(--mustard-500);color:var(--ink-900);border-color:var(--mustard-500)}

.monogram-preview{
  background:var(--paper-50);
  border-radius:var(--radius-m);
  aspect-ratio:4/3;
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-3);
  position:relative;
  overflow:hidden;
}
.monogram-preview .plate{
  width:62%;height:40%;border-radius:10px;display:flex;align-items:center;justify-content:center;
  transition:background .3s;
}
.monogram-preview text{
  font-family:var(--font-display);
  font-weight:700;
  dominant-baseline:middle;
  text-anchor:middle;
}
.studio-saved{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1rem}
.studio-saved .saved-chip{
  background:rgba(250,246,236,.1);
  border:1px solid rgba(250,246,236,.3);
  padding:.4em .8em;border-radius:999px;font-size:.78rem;display:flex;gap:.5em;align-items:center;
}
.studio-saved .saved-chip button{background:none;border:none;color:var(--mustard-400);cursor:pointer;font-size:1rem;line-height:1;padding:0}
.studio-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.2rem}

/* ---------- forms ---------- */
.form-grid{display:grid;gap:1.1rem}
.field{display:flex;flex-direction:column;gap:.4rem}
.field label{font-weight:600;font-size:.9rem}
.field input,.field textarea,.field select{
  padding:.75em .9em;
  border:2px solid var(--paper-200);
  border-radius:var(--radius-s);
  font-size:1rem;
  background:var(--paper-50);
  font-family:inherit;
  accent-color:var(--teal-700);
  min-height:44px;
}
.field textarea{min-height:120px;resize:vertical}
.field.has-error input,.field.has-error textarea{border-color:var(--wine)}
.field .error-msg{color:var(--wine);font-size:.82rem;display:none}
.field.has-error .error-msg{display:block}
.honeypot{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form-msg{padding:.9em 1.1em;border-radius:var(--radius-s);margin-top:1rem;font-weight:600;display:none}
.form-msg.show{display:block}
.form-msg.ok{background:#e4efdc;color:#3a5a28}
.form-msg.err{background:#f3dede;color:var(--wine)}

/* ---------- cookie banner ---------- */
.cookie-banner{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:90;
  background:var(--teal-900);color:var(--paper-50);
  border-radius:var(--radius-m);
  padding:1.2rem 1.4rem;
  display:flex;gap:1.2rem;align-items:center;flex-wrap:wrap;
  box-shadow:var(--shadow-3);
  max-width:760px;margin:0 auto;
  transform:translateY(130%);
  transition:transform .5s var(--ease);
}
.cookie-banner.show{transform:translateY(0)}
.cookie-banner p{margin:0;flex:1;min-width:220px;font-size:.92rem}
.cookie-actions{display:flex;gap:.7rem;flex-wrap:wrap}

/* ---------- footer ---------- */
.site-footer{background:var(--ink-900);color:var(--paper-100);padding:3.6rem 0 1.6rem;margin-top:3rem}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:2.2rem}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:540px){.footer-grid{grid-template-columns:1fr}}
.footer-grid h4{color:var(--mustard-400);font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;font-family:var(--font-body)}
.footer-grid ul{display:flex;flex-direction:column;gap:.55rem}
.footer-grid a:hover{color:var(--mustard-400)}
.footer-brand .brand-word :is(text,.wm){fill:var(--paper-100)}
.footer-brand p{color:var(--paper-200);max-width:30ch;margin-top:.8rem}
.newsletter-form{display:flex;gap:.6rem;margin-top:.8rem;flex-wrap:wrap}
.newsletter-form input{
  flex:1;min-width:160px;padding:.7em .9em;border-radius:var(--radius-s);
  border:2px solid var(--ink-700);background:var(--ink-700);color:var(--paper-50);min-height:44px;
}
.footer-bottom{
  border-top:1px solid var(--ink-700);
  margin-top:2.6rem;padding-top:1.4rem;
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  font-size:.84rem;color:var(--paper-200);
}

/* ---------- misc pages ---------- */
.legal p,.legal li{color:var(--ink-700)}
.legal h2{margin-top:1.6em}
.breadcrumb{font-family:var(--font-mono);font-size:.78rem;letter-spacing:.06em;color:var(--ink-500);text-transform:uppercase;margin-bottom:1rem}

.page-head{padding:3rem 0 1rem}

.filter-bar{display:flex;gap:.7rem;flex-wrap:wrap;margin-bottom:2rem}
.filter-bar button{
  padding:.55em 1.2em;border-radius:999px;border:2px solid var(--teal-900);background:transparent;color:var(--teal-900);
  cursor:pointer;font-weight:600;font-size:.88rem;min-height:40px;
}
.filter-bar button[aria-pressed="true"]{background:var(--teal-900);color:var(--paper-50)}

.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:2.6rem;align-items:start}
@media (max-width:860px){.product-detail{grid-template-columns:1fr}}
.product-detail .product-media{aspect-ratio:1/1;border-radius:var(--radius-m)}
.qty-row{display:flex;align-items:center;gap:.8rem;margin:1rem 0}
.qty-row button{width:40px;height:40px;border-radius:50%;border:2px solid var(--teal-900);background:none;font-size:1.1rem;cursor:pointer}
.qty-row input{width:3.2em;text-align:center;padding:.5em;border-radius:var(--radius-s);border:2px solid var(--paper-200);min-height:40px}
.color-options{display:flex;gap:.6rem;flex-wrap:wrap;margin:.6rem 0 1rem}
.color-options button{padding:.4em 1em;border-radius:999px;border:2px solid var(--paper-200);background:none;cursor:pointer;font-size:.85rem;min-height:40px}
.color-options button[aria-pressed="true"]{border-color:var(--teal-900);background:var(--teal-900);color:var(--paper-50)}

.cart-table{width:100%;border-collapse:collapse;margin-bottom:1.6rem}
.cart-table th,.cart-table td{text-align:left;padding:.9rem .6rem;border-bottom:1px solid var(--paper-200)}
.cart-table img{width:64px;height:64px;object-fit:cover;border-radius:var(--radius-s)}
.cart-line-main{display:flex;gap:.8rem;align-items:center}
.remove-link{color:var(--wine);font-size:.82rem;font-weight:600;cursor:pointer;background:none;border:none;padding:0}
.cart-summary{display:flex;justify-content:flex-end;gap:2rem;font-size:1.2rem;font-weight:700;margin-bottom:2rem}
.empty-cart{padding:3rem 0;text-align:center;color:var(--ink-500)}

.faq-item{border-bottom:1px solid var(--paper-200)}
.faq-item summary{
  padding:1.1rem .2rem;font-weight:700;cursor:pointer;font-family:var(--font-display);font-size:1.1rem;
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:44px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:1.4rem;color:var(--mustard-600);transition:transform .3s}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{padding-bottom:1.1rem;color:var(--ink-700)}

.map-seal{width:96px;height:96px}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.4rem}
@media (max-width:860px){.contact-grid{grid-template-columns:1fr}}

.not-found{
  min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:1.4rem;padding:4rem 1rem;
}

.about-hero{display:grid;grid-template-columns:1fr 1fr;gap:2.4rem;align-items:center}
@media (max-width:860px){.about-hero{grid-template-columns:1fr}}
.about-hero img{border-radius:var(--radius-l);aspect-ratio:4/5;object-fit:cover}

.parallax-layer{position:relative}
