/* ==========================================================
   borsa — ručno štrikane torbe
   ========================================================== */

:root {
  --green: #143F3E;
  --green-deep: #0E2F2E;
  --green-soft: #1F5150;
  --cream: #F4F1EA;
  --paper: #FBFAF6;
  --sand: #E7D9C4;
  --terra: #B8734F;
  --ink: #1B2524;
  --muted: #5E6B69;
  --line: rgba(20, 63, 62, .14);
  --white: #F4F4F2;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* knit "V" stitch texture, used as a brand motif */
  --knit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='22'%3E%3Cpath d='M1 1C4 6 7 14 10 20 9 12 6 5 1 1Z' fill='%23F4F4F2' fill-opacity='.07'/%3E%3Cpath d='M19 1C16 6 13 14 10 20 11 12 14 5 19 1Z' fill='%23F4F4F2' fill-opacity='.07'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.45rem; }
em { font-style: italic; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--terra);
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .95em 1.9em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--sand); }
.btn-ghost { border-color: rgba(244, 244, 242, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(244, 244, 242, .08); }
.btn-dark { background: var(--green); color: var(--white); }
.btn-dark:hover { background: var(--green-deep); }
.btn-ghost-dark { border-color: var(--line); color: var(--green); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--green); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: transparent;
  transition: background .35s, box-shadow .35s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: var(--green);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 132px; height: auto; }
.main-nav { display: flex; gap: 36px; }
.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  color: var(--white);
}
.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--terra);
  color: #fff;
  font-size: .68rem;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
}
.cart-count.is-empty { display: none; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--white);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--green) var(--knit);
  color: var(--white);
  padding: calc(var(--header-h) + 64px) 0 96px;
  overflow: hidden;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero .eyebrow { color: var(--sand); }
.hero h1 em { color: var(--sand); }
.hero .lead {
  font-size: 1.12rem;
  max-width: 34em;
  color: rgba(244, 244, 242, .82);
  margin: 0 0 2.4rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.hero-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card--main { width: 68%; right: 0; top: 0; aspect-ratio: 4 / 5; }
.hero-card--small { width: 42%; left: 0; bottom: 0; aspect-ratio: 4 / 5; border: 8px solid var(--green); }
.hero-mark {
  position: absolute;
  left: 4%;
  top: 6%;
  width: 22%;
  opacity: .9;
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* ---------- USP strip ---------- */
.usp { background: var(--cream); border-bottom: 1px solid var(--line); }
.usp-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.usp-inner > div {
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.usp-inner > div + div { border-left: 1px solid var(--line); }
.usp strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--green); }
.usp span { font-size: .88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-sub { color: var(--muted); margin: 0; }

/* ---------- Collection ---------- */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.filter {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55em 1.3em;
  font-size: .85rem;
  color: var(--green);
  transition: all .25s;
}
.filter:hover { border-color: var(--green); }
.filter.is-active { background: var(--green); border-color: var(--green); color: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.product { animation: fadeUp .6s var(--ease) both; }
.product:nth-child(2) { animation-delay: .06s; }
.product:nth-child(3) { animation-delay: .12s; }
.product:nth-child(4) { animation-delay: .18s; }
.product:nth-child(5) { animation-delay: .24s; }
.product:nth-child(6) { animation-delay: .30s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }

.product-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--cream);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.product:hover .product-media img { transform: scale(1.05); }
.badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 1;
  background: var(--paper);
  color: var(--green);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .4em .9em;
  border-radius: 999px;
}
.quick-add {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  padding: 1em;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .35s var(--ease), background .25s;
}
.quick-add:hover { background: var(--green-deep); }
.product:hover .quick-add,
.quick-add:focus-visible { opacity: 1; transform: none; }

.product-info { padding-top: 18px; }
.product-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product-row h3 { margin: 0; font-size: 1.6rem; }
.price { font-weight: 400; color: var(--green); white-space: nowrap; }
.product-type {
  margin: 2px 0 8px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 400;
}
.product-desc { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.swatches { display: flex; align-items: center; gap: 8px; }
.swatch {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 0 var(--green);
  transition: box-shadow .2s;
}
.swatch.is-active { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--paper), 0 0 0 3px var(--green); }
.swatch-name { font-size: .85rem; color: var(--muted); margin-left: 6px; }

/* ---------- Story ---------- */
.story { background: var(--cream); }
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.story-visual { position: relative; padding: 0 0 40px 40px; }
.story-visual img { position: relative; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(20, 63, 62, .5); }
.knit-panel {
  position: absolute;
  left: 0; bottom: 0;
  width: 70%; height: 70%;
  border-radius: var(--radius);
  background: var(--green) var(--knit);
  background-size: 14px auto;
}
.story-text p { color: #3E4A48; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--green) !important; }

/* ---------- Process ---------- */
.process { background: var(--green) var(--knit); color: var(--white); }
.section-head--light .eyebrow { color: var(--sand); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.steps li {
  padding: 40px 36px;
  border: 1px solid rgba(244, 244, 242, .16);
  border-radius: var(--radius);
  background: rgba(14, 47, 46, .5);
  transition: border-color .3s, transform .4s var(--ease);
}
.steps li:hover { border-color: rgba(244, 244, 242, .4); transform: translateY(-4px); }
.step-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 24px;
}
.steps p { margin: 0; color: rgba(244, 244, 242, .75); }

/* ---------- Quote ---------- */
.quote { text-align: center; padding: 110px 0; }
.quote blockquote { margin: 0 auto; max-width: 820px; }
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.35;
  color: var(--green);
  margin: 0 0 1.2rem;
}
.quote cite {
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
  align-items: start;
}
.contact-text > p { color: #3E4A48; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; color: var(--green); font-weight: 400; }
.contact-list a:hover { text-decoration: underline; }

.contact-form,
.order-form { display: grid; gap: 18px; }
.contact-form {
  background: var(--paper);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -30px rgba(20, 63, 62, .35);
}
label {
  display: grid;
  gap: 6px;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
input, textarea {
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  border-radius: 0;
  resize: vertical;
  transition: border-color .25s;
}
input:focus, textarea:focus { outline: none; border-color: var(--green); }
.contact-form .btn { justify-self: start; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(244, 244, 242, .7);
  padding: 64px 0 40px;
  font-size: .9rem;
}
.footer-inner { display: grid; justify-items: center; gap: 16px; text-align: center; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 28px; margin: 8px 0 16px; }
.footer-inner nav a { text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; color: var(--white); }
.footer-inner nav a:hover { text-decoration: underline; }
.copy { font-size: .8rem; opacity: .6; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(14, 47, 46, .5);
  opacity: 0;
  transition: opacity .3s;
}
.cart-overlay.is-open { opacity: 1; }
.cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 70;
  width: min(440px, 100%);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  visibility: hidden;
}
.cart.is-open { transform: none; visibility: visible; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { margin: 0; font-size: 1.8rem; }
.cart-close { background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--green); padding: 0 4px; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.cart-empty { text-align: center; color: var(--muted); margin-top: 64px; }
.cart-empty a { color: var(--green); }
.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item img { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.cart-item h3 { margin: 0; font-size: 1.25rem; }
.cart-meta { display: flex; align-items: center; gap: 6px; margin: 2px 0 10px; font-size: .85rem; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 30px; height: 30px; background: none; border: 0; color: var(--green); font-size: 1rem; }
.qty span { min-width: 20px; text-align: center; font-size: .9rem; }
.cart-item-price { text-align: right; font-size: .95rem; color: var(--green); white-space: nowrap; }
.remove { display: block; margin: 8px 0 0 auto; background: none; border: 0; padding: 0; font-size: .78rem; color: var(--muted); text-decoration: underline; }
.cart-foot { padding: 24px 28px 28px; border-top: 1px solid var(--line); background: var(--cream); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.cart-total strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--green); }
.cart-note { font-size: .82rem; color: var(--muted); margin: 6px 0 18px; }

/* ---------- Order dialog ---------- */
.order-dialog {
  width: min(520px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 40px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}
.order-dialog::backdrop { background: rgba(14, 47, 46, .6); }
.order-form h2 { font-size: 2rem; margin-bottom: 4px; }
.order-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  transform: translate(-50%, 20px);
  background: var(--green);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: .9rem;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.steps li.reveal:nth-child(2) { transition-delay: .1s; }
.steps li.reveal:nth-child(3) { transition-delay: .2s; }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-inner, .contact-inner { gap: 56px; }
  .usp-inner { grid-template-columns: repeat(2, 1fr); }
  .usp-inner > div:nth-child(3) { border-left: 0; }
  .usp-inner > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 800px) {
  :root { --header-h: 64px; }
  .brand img { width: 108px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--green);
    padding: 8px 24px 28px;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .4s var(--ease);
  }
  .menu-open .main-nav { clip-path: inset(0 0 0 0); }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid rgba(244, 244, 242, .12); font-size: .9rem; }
  .main-nav a::after { display: none; }

  .hero { min-height: 0; padding: calc(var(--header-h) + 40px) 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; width: 100%; margin: 0 auto; }

  .section { padding: 80px 0; }
  .story-inner, .contact-inner { grid-template-columns: 1fr; }
  .story-visual { max-width: 460px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }

  .quick-add { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .usp-inner > div { padding: 20px 10px; }
  .order-dialog { padding: 28px 22px; }
  .order-actions { flex-direction: column-reverse; }
  .order-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
