/* =============================================
   BOZAMOTANE — Premium Handmade Shop
   Modern redesign
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg:          #FAFAF8;
  --bg2:         #F4F1EC;
  --bg3:         #EDE8E1;
  --accent:      #C0A8B8;
  --accent-dark: #8F7085;
  --gold:        #C8B0C2;
  --text:        #1E1C1A;
  --text-mid:    #5C564F;
  --text-light:  #9A948D;
  --border:      #E5E0D8;
  --white:       #FFFFFF;
  --shadow-sm:   0 1px 8px rgba(30,28,26,.06);
  --shadow:      0 4px 24px rgba(30,28,26,.08);
  --shadow-lg:   0 12px 48px rgba(30,28,26,.12);
  --radius:      2px;
  --radius-md:   8px;
  --transition:  all .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { display: block; max-width: 100%; }
.eyebrow {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }

/* ---- HEADER ---- */
.header {
  background: rgba(250,250,248,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--text);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.logo span {
  font-size: .55rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 300;
}
.nav { display: flex; gap: 36px; list-style: none; }
.nav a {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 20px; }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .72rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: var(--transition);
  padding: 8px 0;
}
.cart-btn:hover { color: var(--text); }
.cart-count {
  background: var(--text);
  color: var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
.cart-count.hidden { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1px; background: var(--text); transition: var(--transition); }

/* ---- BTN ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--text); }
.btn-sm { padding: 9px 20px; font-size: .68rem; }

/* ---- HERO ---- */
.hero {
  background: var(--bg2);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* sylwetki w tle */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-shape {
  position: absolute;
  color: #9E8088;
  opacity: .18;
}
.hero-shape--yarn-ball { width: 280px; top: -30px;   left:  -40px; transform: rotate(-8deg);  }
.hero-shape--beanie    { width: 210px; top: -15px;   right: -25px; transform: rotate(7deg);   }
.hero-shape--needles   { width:  80px; top:  12%;    right:  4.5%; transform: rotate(6deg);   }
.hero-shape--bag       { width: 200px; bottom: -25px; right: -20px; transform: rotate(4deg);  }
.hero-shape--mitten    { width: 155px; bottom: -15px; left:    2%;  transform: rotate(-9deg); }

.hero .container { position: relative; z-index: 1; }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 0 100px;
  max-width: 680px;
  margin: 0 auto;
}
.hero-inner .eyebrow { margin-bottom: 24px; }
.hero-inner h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 300;
  letter-spacing: .03em;
  line-height: 1.15;
  margin-bottom: 28px;
}
.hero-inner h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-dark);
  font-size: .65em;
  letter-spacing: .08em;
  display: block;
  margin-top: 6px;
}
.hero-sub {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 28px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-tag {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  background: rgba(255,255,255,.7);
}

/* ---- STRIP ---- */
.strip {
  background: #7A5540;
  padding: 14px 0;
  overflow: hidden;
}
.strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  animation: marquee 28s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  flex-shrink: 0;
}
.strip-dot {
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-25%, 0, 0); }
}

/* ---- CATEGORY FILTER ---- */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 48px;
}
.filter-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 7px 18px;
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mid);
  cursor: pointer;
  border-radius: 99px;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { background: var(--text); border-color: var(--text); color: var(--white); }

/* ---- PRODUCTS GRID ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

/* ---- PRODUCT CARD ---- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card.out-of-stock { opacity: .6; }

.product-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg2);
  position: relative;
  flex-shrink: 0;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-image img { transform: scale(1.05); }

.product-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.product-badge {
  background: var(--text);
  color: var(--white);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.product-badge.unavailable { background: var(--text-light); }
.product-badge.sale { background: #9B2226; }
.product-badge.new-badge { background: var(--accent-dark); }

/* ---- SALE PRICE ---- */
.price-original {
  font-size: .8rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-family: 'Cormorant Garamond', serif;
  margin-right: 4px;
}

/* ---- COLOR SWATCH STATUS ---- */
.card-swatch.status-sold-out,
.modal-swatch.status-sold-out {
  position: relative;
  opacity: .55;
}
.card-swatch.status-sold-out::after,
.modal-swatch.status-sold-out::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%);
  color: rgba(255,255,255,.7);
}

/* ---- FREE SHIPPING BANNER ---- */
.free-shipping-banner {
  background: #2e7d32;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.free-shipping-banner span { margin: 0 8px; opacity: .6; }

/* ---- DISCOUNT CODE ---- */
.discount-section { margin-bottom: 16px; }
.discount-row { display: flex; gap: 8px; }
.discount-input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  outline: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--bg);
  transition: var(--transition);
}
.discount-input:focus { border-color: var(--accent); }
.discount-apply-btn {
  padding: 9px 16px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  color: var(--text-mid);
}
.discount-apply-btn:hover { border-color: var(--text); color: var(--text); }
.discount-feedback {
  font-size: .75rem;
  margin-top: 6px;
  min-height: 18px;
}
.discount-feedback.ok { color: #2e7d32; }
.discount-feedback.err { color: #9B2226; }
.discount-line {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: #2e7d32;
  margin-bottom: 8px;
}
.shipping-line {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* ---- SHIPPING OPTIONS SELECTOR (cart) ---- */
.shipping-options {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.shipping-options-label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 10px 14px 6px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.shipping-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: .85rem;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.shipping-option:last-child { border-bottom: none; }
.shipping-option:hover { background: var(--bg2); }
.shipping-option.selected { background: #f5f0f4; }
.shipping-option input[type=radio] {
  accent-color: var(--accent-dark);
  flex-shrink: 0;
}
.shipping-option-name { flex: 1; color: var(--text); }
.shipping-option-price { font-weight: 500; color: var(--text-mid); }

/* ---- COLOR SWATCH — isNew indicator ---- */
.card-swatch.color-new::after,
.modal-swatch.color-new::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  background: var(--accent-dark);
  border-radius: 50%;
  border: 1px solid var(--white);
}

.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-category { font-size: .65rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-light); margin-bottom: 6px; }
.product-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--text); margin-bottom: 8px; }
.product-desc { font-size: .82rem; color: var(--text-light); line-height: 1.55; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- COLOR SWATCHES (card) ---- */
.card-colors-wrap { margin-bottom: 16px; }
.card-color-label {
  font-size: .68rem;
  color: var(--text-mid);
  min-height: 16px;
  margin-bottom: 6px;
  font-weight: 400;
}
.card-colors { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.card-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
}
.card-swatch:hover { transform: scale(1.2); border-color: rgba(0,0,0,.25); }
.card-swatch.selected {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.card-swatch-more { font-size: .65rem; color: var(--text-light); letter-spacing: .05em; }

.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.product-price { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--text); }
.product-price span { font-size: .72rem; font-family: 'Inter', sans-serif; color: var(--text-light); margin-left: 2px; }

.add-to-cart {
  background: var(--text);
  color: var(--white);
  border: none;
  padding: 9px 16px;
  font-size: .68rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  flex-shrink: 0;
}
.add-to-cart:hover { background: var(--accent-dark); }
.add-to-cart:disabled { background: var(--border); color: var(--text-light); cursor: not-allowed; }

/* ---- PRODUCT MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-md);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp .25s cubic-bezier(.4,0,.2,1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 20px;
  gap: 12px;
}
@keyframes slideUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
.modal-img {
  background: var(--bg2);
  overflow: hidden;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  position: relative;
}
.modal-img img { width: 100%; height: auto; display: block; }
.gallery-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,.88);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background .15s;
  padding: 0;
}
.gallery-zoom-btn:hover { background: #fff; }
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.88);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background .15s;
  padding: 0;
}
.gallery-btn:hover { background: #fff; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background .15s;
}
.gallery-dot.active { background: #fff; }
.modal-content { padding: 16px 12px; display: flex; flex-direction: column; }
.modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-mid);
  line-height: 1;
  margin-bottom: 16px;
  padding: 4px;
  margin-right: -4px;
}
.modal-close:hover { color: var(--text); }
.modal-content .eyebrow { margin-bottom: 6px; }
.modal-content h2 { margin-bottom: 12px; }
.modal-desc { font-size: .88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; flex: 1; white-space: pre-line; }

/* ---- SKŁAD / WYMIARY ---- */
.modal-specs {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: -10px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.modal-spec-row { display: flex; gap: 14px; font-size: .8rem; }
.modal-spec-label {
  flex-shrink: 0;
  width: 64px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .62rem;
  color: var(--gold);
  padding-top: 2px;
}
.modal-spec-row span:last-child { color: var(--text-mid); font-weight: 300; }

/* ---- LIGHTBOX (powiększone zdjęcie) ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(244,241,236,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fadeIn .2s ease;
}
.lightbox-img-wrap { position: relative; max-width: 100%; max-height: 100%; }
.lightbox-img-wrap img { display: block; max-width: 100%; max-height: 88vh; object-fit: contain; margin: 0 auto; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  z-index: 2;
}
.lightbox-close:hover { opacity: .6; }
@media (max-width: 640px) {
  .lightbox-overlay { padding: 16px; }
  .lightbox-close { top: 8px; right: 8px; }
}

/* ---- COLOR SWATCHES (modal) ---- */
.modal-colors { margin-bottom: 24px; }
.modal-colors-label { font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 10px; }
.modal-colors-label span { color: var(--text); font-weight: 500; }
.modal-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.1);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.modal-swatch:hover { transform: scale(1.15); }
.modal-swatch.selected {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-color: transparent;
}
.modal-swatch-tooltip { display: none; }

.modal-price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; margin-bottom: 6px; }
.modal-lead-time { font-size: .78rem; color: var(--text-mid); margin-bottom: 8px; }
.modal-shipping { font-size: .78rem; color: var(--text-light); margin-bottom: 20px; }
.modal-no-color { font-size: .78rem; color: #c0392b; margin-bottom: 12px; display: none; }

.modal-option-group { margin-bottom: 16px; }
.modal-option-group.error .modal-option-select { border-color: #c0392b; }
.modal-option-label { font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 8px; }
.modal-option-select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: .88rem; color: var(--text);
  background: var(--bg); outline: none; cursor: pointer; transition: border-color .2s;
}
.modal-option-select:focus { border-color: var(--accent); }
.cart-item-option { font-size: .72rem; color: var(--text-light); margin-bottom: 2px; }

/* ---- CART SIDEBAR ---- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,.1);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; }
.close-btn { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-mid); line-height: 1; }
.close-btn:hover { color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-empty { text-align: center; padding: 56px 0; color: var(--text-light); }
.cart-empty svg { margin: 0 auto 16px; opacity: .3; }
.cart-empty p { font-size: .9rem; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.cart-item-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--bg2);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; margin-bottom: 3px; }
.cart-item-color {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  color: var(--text-light);
  margin-bottom: 6px;
}
.cart-item-color-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); flex-shrink: 0; }
.cart-item-price { font-size: .82rem; color: var(--text-mid); }
.cart-item-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn {
  background: none;
  border: 1px solid var(--border);
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-mid);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--accent); color: var(--text); }
.qty-num { font-size: .85rem; min-width: 20px; text-align: center; }
.remove-item { background: none; border: none; cursor: pointer; color: var(--text-light); font-size: .9rem; margin-left: auto; }
.remove-item:hover { color: #c0392b; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total span:first-child { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); }
.cart-total span:last-child { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; }
.cart-note { font-size: .72rem; color: var(--text-light); text-align: center; margin-top: 10px; }
.cart-order-note { margin-bottom: 14px; }
.cart-order-note textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: .82rem; color: var(--text); background: var(--bg);
  resize: none; outline: none; transition: border-color .2s; line-height: 1.5;
}
.cart-order-note textarea:focus { border-color: var(--accent); }

.cart-customer-form { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.cart-customer-form-label {
  font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 2px;
}
.cart-customer-form input {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: .82rem; color: var(--text); background: var(--bg);
  outline: none; transition: border-color .2s;
}
.cart-customer-form input:focus { border-color: var(--accent); }
.cart-customer-form-row { display: flex; gap: 8px; }
.cart-customer-form-row input { min-width: 0; }

/* ---- ABOUT ---- */
.about-section { background: var(--bg2); }
.about-inner { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  z-index: 0;
}
.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.about-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border-radius: var(--radius-md);
}
.about-content .eyebrow { margin-bottom: 14px; }
.about-content h2 { margin-bottom: 18px; }
.about-content p { color: var(--text-mid); margin-bottom: 14px; font-weight: 300; font-size: .9rem; line-height: 1.8; }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.about-feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.feature-text strong { display: block; font-size: .85rem; margin-bottom: 1px; }
.feature-text span { font-size: .8rem; color: var(--text-light); }

/* ---- INSTAGRAM ---- */
.ig-section { text-align: center; }
.ig-section h2 { margin-bottom: 8px; }
.ig-section .eyebrow { margin-bottom: 16px; }
.divider { width: 40px; height: 1px; background: var(--gold); margin: 16px auto; }
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: var(--radius);
  color: var(--text-mid);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: var(--transition);
  margin-top: 24px;
}
.ig-link:hover { background: var(--text); color: var(--white); border-color: var(--text); }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text);
  color: var(--white);
  padding: 12px 24px 12px 20px;
  border-radius: 99px;
  font-size: .8rem;
  z-index: 999;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast::before { content: '✓'; display: inline-block; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: #9B2226; }
.toast.error::before { content: '✕'; }

/* ---- FOOTER ---- */
.footer { background: var(--text); color: rgba(255,255,255,.6); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo span { color: rgba(255,255,255,.3); }
.footer-brand p { font-size: .82rem; line-height: 1.7; max-width: 280px; font-weight: 300; }
.footer h4 { font-family: 'Inter', sans-serif; font-size: .65rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- LOADING ---- */
.loading-grid { grid-column: 1/-1; text-align: center; padding: 64px 0; color: var(--text-light); font-size: .85rem; }
.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- INFO MODAL ---- */
.info-modal-box {
  grid-template-columns: 1fr;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
}
.info-modal-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  margin: 20px 0 8px;
  color: var(--text);
}
.info-modal-body h3:first-child { margin-top: 16px; }
.info-modal-body p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 10px;
}
.info-modal-body em { color: var(--text-light); font-style: italic; font-size: .82rem; }
.info-modal-body ul {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0 0 10px 0;
  padding-left: 1.2em;
  list-style: disc;
}
.info-modal-body li { margin-bottom: 2px; }

/* ---- SUCCESS/CANCEL ---- */
.page-center { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }
.page-center-content { max-width: 440px; }
.big-icon { font-size: 3.5rem; margin-bottom: 24px; }
.page-center h1 { margin-bottom: 14px; }
.page-center p { color: var(--text-mid); margin-bottom: 32px; font-size: .9rem; }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--text); }
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
}

/* ---- KONTAKT ---- */
.contact-section { background: var(--bg2); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-info .eyebrow { margin-bottom: 14px; }
.contact-info h2 { margin-bottom: 0; }
.contact-info .divider { margin: 20px 0; }
.contact-info > p { color: var(--text-mid); font-weight: 300; font-size: .9rem; line-height: 1.8; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-mid);
}
.contact-detail svg { flex-shrink: 0; color: var(--gold); }
.contact-detail a:hover { color: var(--accent-dark); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-group input,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: var(--text);
  transition: border-color .2s ease;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.contact-submit { align-self: flex-start; }
.contact-note { font-size: .75rem; color: var(--text-light); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { padding: 80px 0 72px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap::after { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-shape--yarn-ball { width: 180px; }
  .hero-shape--beanie    { width: 140px; }
  .hero-shape--bag       { width: 140px; }
  .hero-shape--mitten    { width: 110px; }
}
@media (max-width: 768px) {
  .nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .modal-box { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal-img { border-radius: var(--radius-md); }
  .modal-content { padding: 24px 20px; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .hero-inner { padding: 64px 0 56px; }
  .hero-shape--needles { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .btn { padding: 11px 22px; }
  .ig-link { font-size: .82rem; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cart-sidebar { width: 100%; max-width: 100vw; }
  .product-body { padding: 12px 14px 14px; }
  .add-to-cart { padding: 8px 12px; font-size: .65rem; }
  .hero-inner { padding: 48px 0 44px; }
  .hero-shape--yarn-ball, .hero-shape--beanie,
  .hero-shape--bag, .hero-shape--mitten { display: none; }
  .hero-sub { font-size: .88rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .product-card .product-body { padding: 12px; }
  .product-name { font-size: 1rem; }
  .modal-box { border-radius: var(--radius-md) var(--radius-md) 0 0; position: fixed; bottom: 0; left: 0; right: 0; top: auto; max-height: 88vh; }
  .modal-overlay { align-items: flex-end; }
  .cart-items { padding: 8px 16px; }
  .cart-header, .cart-footer { padding-left: 16px; padding-right: 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-form { gap: 14px; }
  .strip-item { font-size: .7rem; }
}
