/* Madame Vintage - podglad strony glownej */
:root {
  --ink: #191510;
  --ink-soft: #5c554a;
  --paper: #ffffff;
  --cream: #f6f2eb;
  --cream-deep: #ece5d8;
  --gold: #9a7b4f;
  --gold-dark: #7d6340;
  --line: #e6dfd2;
  --w: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }

/* ---- pasek podgladu ---- */
.preview-note {
  background: var(--ink);
  color: #cfc8bc;
  font-size: 12px;
  letter-spacing: .02em;
  text-align: center;
  padding: 8px var(--pad);
}

/* ---- header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}
.logo__sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--gold);
  margin-top: 4px;
}
.nav { display: flex; gap: 34px; }
.nav a {
  font-size: 15px;
  font-weight: 400;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav a:hover { border-bottom-color: var(--gold); }
.header__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background .2s;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn--cart { position: relative; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.burger { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; padding: 10px 8px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
.burger--open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---- hero ---- */
.hero { border-bottom: 1px solid var(--line); background: var(--paper); }
.hero__inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero__lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- przyciski ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 32px;
  border: 1px solid var(--ink);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ---- placeholdery zdjec ---- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--cream);
  overflow: hidden;
}
.ph__mono {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: rgba(25, 21, 16, .16);
  font-size: clamp(48px, 8vw, 110px);
  user-select: none;
}
.ph__label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(25, 21, 16, .38);
  white-space: nowrap;
}
.ph--a { background: #efe8dc; }
.ph--b { background: #e9e2d9; }
.ph--c { background: #f1ece2; }
.ph--d { background: #e5ddd0; }
.ph--hero { aspect-ratio: 4 / 5; }
.ph--cat { aspect-ratio: 3 / 4; margin-bottom: 16px; transition: opacity .25s; }
.ph--prod { aspect-ratio: 1 / 1; }
.ph--story { aspect-ratio: 4 / 5; }
.ph--insta { aspect-ratio: 1 / 1; }

/* ---- pasek zaufania ---- */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust__inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 28px var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item svg { width: 30px; height: 30px; color: var(--gold); flex-shrink: 0; }
.trust__item strong { display: block; font-weight: 500; font-size: 14.5px; }
.trust__item span { font-size: 13px; color: var(--ink-soft); }

/* ---- naglowki sekcji ---- */
.section-head { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 8px; }
.section-head p { color: var(--ink-soft); font-size: 16px; }
.section-head a { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* ---- kategorie ---- */
.categories { max-width: var(--w); margin: 0 auto; padding: clamp(56px, 8vw, 100px) var(--pad); }
.categories__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat { text-align: center; }
.cat:hover .ph--cat { opacity: .8; }
.cat h3 { font-size: 22px; }
.cat__count { font-size: 13px; color: var(--ink-soft); }

/* ---- produkty ---- */
.products { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.products .section-head, .products__grid, .products__more { max-width: var(--w); margin-left: auto; margin-right: auto; }
.products { padding: clamp(56px, 8vw, 100px) var(--pad); }
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); transition: border-color .25s; display: flex; flex-direction: column; }
.card:hover { border-color: var(--gold); }
.card .ph--prod { background: #f1ece2; }
.card__body { padding: 18px 18px 20px; }
.card__body h3 { font-size: 19px; margin-bottom: 4px; }
.card__meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.card__price { font-weight: 500; font-size: 16px; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 5px 10px;
}
.badge--sold { background: #a33b2e; }
.products__more { text-align: center; margin-top: clamp(32px, 4vw, 48px); }

/* ---- historia ---- */
.story { max-width: var(--w); margin: 0 auto; padding: clamp(56px, 8vw, 100px) var(--pad); }
.story__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story__content h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
.story__content p { color: var(--ink-soft); margin-bottom: 16px; max-width: 55ch; }
.story__content .btn { margin-top: 12px; }

/* ---- instagram ---- */
.insta { background: var(--cream); border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 100px) var(--pad); }
.insta .section-head, .insta__grid { max-width: var(--w); margin-left: auto; margin-right: auto; }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }

/* ---- newsletter ---- */
.newsletter { background: var(--ink); color: #f0ebe2; padding: clamp(56px, 8vw, 90px) var(--pad); }
.newsletter__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 10px; }
.newsletter p { color: #b3aa9b; margin-bottom: 28px; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 18px;
  border: 1px solid #474035;
  background: transparent;
  color: #f0ebe2;
  outline: none;
}
.newsletter__form input::placeholder { color: #857c6c; }
.newsletter__form input:focus { border-color: var(--gold); }

/* ---- footer ---- */
.footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer__inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--pad) 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer__col--brand p { font-size: 14px; color: var(--ink-soft); margin-top: 14px; max-width: 32ch; }
.footer__col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer__col a { display: block; font-size: 14.5px; color: var(--ink-soft); padding: 4px 0; transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__pay { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.footer__bottom {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 20px var(--pad);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---- responsywnosc ---- */
@media (max-width: 1000px) {
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .categories__grid, .products__grid { grid-template-columns: repeat(2, 1fr); }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 20px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 40;
  }
  .nav--open { transform: translateX(0); }
  .nav a { font-size: 22px; font-family: var(--serif); }
  .burger { display: flex; position: relative; z-index: 45; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .ph--hero { aspect-ratio: 16 / 10; }
  .story__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .categories__grid, .products__grid { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr; gap: 16px; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter__form { flex-direction: column; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; text-align: center; }
}
