/* Pasek promo, header, megamenu, menu mobile, pasek korzysci, stopka. Wymiary z makiet. */

:root {
  --vz-scrim: rgba(24, 24, 24, .45);
  --vz-footer-line: #3a3842;
  --vz-footer-field: #2a2830;
  --vz-footer-text: #c9c7d3;
  --vz-mega-shadow: 0 24px 48px rgba(24, 24, 24, .12);
}

[data-vz-scrim][hidden],
.vz-mega[hidden],
.vz-mobile-nav[hidden] {
  display: none;
}

.vz-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Okruszki */
.vz-crumbs { padding-block: 16px; color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.vz-crumbs .woocommerce-breadcrumb, .vz-crumbs nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; }
.vz-crumbs a { color: var(--ink-muted); text-decoration: none; }
.vz-crumbs a:hover { color: var(--primary); }

/* Karta produktu w siatce */
.vz-card-name a { color: inherit; text-decoration: none; }
.vz-card-foot .amount { color: inherit; font-weight: inherit; }

/* Pasek promo */
.vz-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  padding: 10px 16px;
  background: var(--inverse);
  color: var(--on-inverse);
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.vz-promo-muted { color: var(--vz-footer-text); }

/* Header */
.vz-header {
  position: relative;
  z-index: 100;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
}

.vz-header-main {
  display: flex;
  align-items: center;
  gap: 16px 32px;
  padding: 20px 24px;
}

.vz-logo { display: flex; flex: none; }
.vz-logo img { display: block; width: 132px; height: auto; }

.vz-ico {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  cursor: pointer;
}

.vz-ico:hover { background: transparent; color: var(--primary); }

button.vz-burger { display: none; } /* button.: wygrywa z :is(button) z Woodmart base.min.css */
.vz-burger-close { display: none; }
.vz-burger-open, .vz-burger-close { line-height: 0; }
.vz-burger.is-open .vz-burger-open { display: none; }
.vz-burger.is-open .vz-burger-close { display: block; }

/* Wyszukiwarka */
.vz-search {
  display: flex;
  flex: 1 1 320px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 6px 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

.vz-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.vz-search:focus-within { box-shadow: var(--focus-ring); }
.vz-search input[type="search"]:focus-visible { box-shadow: none; }

.vz-search-submit {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--primary);
  box-shadow: none;
  color: var(--on-primary);
  cursor: pointer;
}

.vz-search-submit:hover { background: var(--primary-hover); color: var(--on-primary); }

.vz-header-actions { display: flex; flex: none; align-items: center; gap: 12px; }

.vz-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.vz-phone:hover { color: var(--primary); }

.vz-cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  box-sizing: border-box;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--coral);
  color: var(--ink-dark);
  font-size: 11px;
  line-height: 18px;
  font-weight: 800;
  text-align: center;
}

.vz-cart-count[data-count="0"] { display: none; }

/* Drugi rzad */
.vz-header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  padding: 8px 24px;
  border-top: 1px solid var(--line);
}

.vz-all-cats {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.vz-all-cats:hover { color: var(--primary-hover); }

.vz-nav { display: flex; flex: 1 1 400px; flex-wrap: wrap; gap: 0 28px; }

.vz-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.vz-nav-link svg { transition: transform .15s; }
.vz-nav-link:hover, .vz-nav-link.is-open { color: var(--primary); }
.vz-nav-link.is-open { border-bottom-color: var(--primary); }
.vz-nav-link.is-open svg { transform: rotate(180deg); }

/* Megamenu */
.vz-mega {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: var(--surface-raised);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--vz-mega-shadow);
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.vz-mega-body {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  padding: 40px 24px 32px;
}

.vz-mega-cols {
  display: grid;
  flex: 999 1 720px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-content: start;
  gap: 32px;
  min-width: 0;
}

.vz-mega-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

.vz-mega-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
}

.vz-mega-ic {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
}

.vz-mega-col a {
  padding-left: 46px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 22px;
  text-decoration: none;
}

.vz-mega-col a:hover { color: var(--primary); }
.vz-mega-col a.vz-mega-all { color: var(--primary); font-size: 14px; font-weight: 700; }

.vz-mega-promo {
  position: relative;
  display: flex;
  flex: 1 1 320px;
  align-items: flex-end;
  box-sizing: border-box;
  max-width: 420px;
  min-height: 320px;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface-tint);
  color: var(--ink);
  text-decoration: none;
}

.vz-mega-promo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vz-mega-promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-card);
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 20px;
}

.vz-mega-promo-card strong { color: var(--ink); font-size: 18px; line-height: 24px; font-weight: 800; }
.vz-mega-promo-cta { padding-top: 4px; color: var(--primary); font-weight: 700; }

.vz-mega-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 20px;
}

.vz-mega-benefits { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.vz-mega-foot a { color: var(--primary); font-weight: 700; text-decoration: none; }

.vz-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--vz-scrim);
}

/* Menu mobile */
.vz-scroll-lock, .vz-scroll-lock body { overflow: hidden; }

.vz-mobile-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
}

.vz-mobile-list { display: flex; flex-direction: column; padding: 8px 20px 0; }

.vz-acc > summary,
.vz-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.vz-mobile-link span { color: var(--ink-muted); }
.vz-acc > summary, .vz-sub > summary { list-style: none; }
.vz-acc > summary::-webkit-details-marker, .vz-sub > summary::-webkit-details-marker { display: none; }
.vz-acc > summary svg { transition: transform .2s; }
.vz-acc[open] > summary { border-bottom-color: transparent; color: var(--primary); }
.vz-acc[open] > summary svg { transform: rotate(180deg); }

.vz-acc-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--surface-tint);
}

.vz-sub > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.vz-sub[open] > summary { background: var(--surface-raised); }
.vz-sub-sign { color: var(--primary); font-size: 18px; }
.vz-sub-sign::before { content: "+"; }
.vz-sub[open] .vz-sub-sign::before { content: "−"; }

.vz-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; }

.vz-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.vz-acc-all {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.vz-mobile-tile-wrap { padding: 20px; }

.vz-mobile-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  text-decoration: none;
}

.vz-mobile-tile:hover { color: var(--on-primary); }

.vz-mobile-tile::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  border-radius: var(--radius-pill);
  background: var(--lavender);
}

.vz-mobile-tile > * { position: relative; }
.vz-mobile-tile strong { color: var(--on-primary); font-size: 20px; line-height: 26px; font-weight: 800; }
.vz-mobile-tile-label { color: var(--primary-soft); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.vz-mobile-tile-cta { font-weight: 700; }

.vz-mobile-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-raised);
}

.vz-mobile-contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }

.vz-mobile-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.vz-mobile-contact svg { color: var(--primary); }

/* Pasek korzysci */
.vz-benefits { background: var(--surface-tint); }

.vz-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px 24px;
  box-sizing: border-box;
  max-width: calc(var(--container-max) + 2 * var(--vz-gutter));
  margin: 0 auto;
  padding: 56px var(--vz-gutter);
  color: var(--ink);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vz-benefit { display: flex; align-items: center; gap: 14px; }
.vz-benefit svg { flex: none; }

/* Stopka */
.vz-footer { background: var(--inverse); color: var(--on-inverse); }

.vz-footer-inner {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-width: calc(var(--container-max) + 2 * var(--vz-gutter));
  margin: 0 auto;
  padding: 96px var(--vz-gutter) 32px;
}

.vz-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--vz-footer-line);
}

.vz-footer-logo { display: block; width: 200px; height: auto; }
.vz-newsletter { display: flex; flex: 0 1 690px; flex-direction: column; gap: 16px; min-width: 0; }

.vz-footer-heading {
  margin: 0 0 12px;
  color: var(--on-inverse);
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.vz-newsletter .vz-footer-heading { margin: 0; }

.vz-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 24px;
  padding: 48px 0 72px;
  color: var(--vz-footer-text);
  font-size: 16px;
  line-height: 26px;
}

.vz-footer-col { display: flex; flex-direction: column; gap: 8px; }
.vz-footer-col a { color: var(--vz-footer-text); text-decoration: none; }
.vz-footer-col a:hover { color: var(--on-inverse); }
.vz-footer-text { max-width: 280px; margin: 0 0 12px; }
.vz-footer-contact { display: flex; align-items: center; gap: 10px; }
.vz-footer-contact svg { flex: none; }
.vz-socials { display: flex; gap: 8px; }

.vz-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--vz-footer-line);
}

.vz-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--vz-footer-line);
  color: var(--vz-footer-text);
  font-size: 13px;
  line-height: 20px;
}

.vz-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.vz-footer-legal a { color: var(--vz-footer-text); text-decoration: none; }
.vz-footer-legal a:hover { color: var(--on-inverse); }

/* Uproszczony layout checkoutu */
.vz-header-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}

.vz-secure { display: flex; align-items: center; gap: 8px; color: var(--ink-muted); font-size: 14px; font-weight: 600; }

.vz-footer-minimal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 20px;
}

.vz-footer-minimal a { color: var(--ink-muted); }

/* Mobile i tablet: ponizej 1024 px */
@media (max-width: 1023px) {
  .vz-header-nav, .vz-mega, .vz-scrim, .vz-phone, .vz-desktop-only { display: none; }

  .vz-header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px 4px;
    padding: 8px 8px 12px;
  }

  button.vz-burger { display: flex; }
  .vz-logo { justify-content: center; }
  .vz-logo img { width: 104px; }
  .vz-header-actions { gap: 0; justify-content: flex-end; }

  .vz-search {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 44px;
    margin: 0 8px;
    padding: 0 4px 0 16px;
  }

  /* 16 px: iOS nie powieksza strony po dotknieciu pola */
  .vz-search input[type="search"] { font-size: 16px; }
  .vz-search-submit { width: 36px; height: 36px; }
}

@media (min-width: 1024px) {
  .vz-mobile-nav { display: none; }
}

@media (max-width: 767px) {
  .vz-promo { padding: 8px 16px; font-size: 13px; line-height: 18px; }
  .vz-footer-inner { padding-top: 64px; }
}

/* Woodmart stosuje wersaliki do przyciskow */
.vz-btn { text-transform: none; }

/* Tresc z edytora: opisy produktow i kategorii */
.vz-prose { color: var(--ink-muted); font-size: 16px; line-height: 26px; }
.vz-prose h2, .vz-prose h3 { margin: 24px 0 12px; color: var(--ink); }
.vz-prose h2:first-child { margin-top: 0; }
.vz-prose p { margin: 0 0 16px; }
.vz-prose ul { margin: 0 0 16px; padding-left: 20px; }
.vz-prose h2 { font-size: 24px; line-height: 30px; letter-spacing: -.01em; }
.vz-prose h3 { font-size: 18px; line-height: 26px; letter-spacing: 0; }
.vz-prose a { color: var(--link); }

/* Newsletter w stopce (makieta Main) */
.vz-newsletter-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.vz-newsletter-form .vz-footer-heading { margin: 0; }
.vz-newsletter-row { display: flex; flex-wrap: wrap; gap: 10px; }

.vz-newsletter-row input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--vz-footer-field);
  box-shadow: none;
  color: var(--on-inverse);
  font: inherit;
  font-size: 15px;
}

.vz-newsletter-row input[type="email"]::placeholder { color: var(--vz-footer-text); opacity: 1; }

.vz-newsletter-row button {
  height: 44px;
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--lavender);
  box-shadow: none;
  color: var(--ink-dark);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
  cursor: pointer;
}

.vz-newsletter-row button:hover { background: var(--primary-soft); color: var(--ink-dark); }
.vz-newsletter-msg { margin: 0; color: var(--vz-footer-text); font-size: 14px; }

/* Newsletter: zgoda, komunikat, pulapka na boty */
.vz-newsletter-form { position: relative; display: flex; flex-direction: column; gap: 12px; }
.vz-nl-lead { margin: 0; color: var(--vz-footer-text); font-size: 15px; line-height: 22px; }
.vz-nl-lead strong { color: var(--on-inverse); }
.vz-nl-consent { display: flex; gap: 10px; align-items: flex-start; color: var(--vz-footer-text); font-size: 12.5px; line-height: 1.5; cursor: pointer; }
.vz-nl-consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--lavender); }
.vz-nl-consent a { color: var(--vz-footer-text); text-decoration: underline; }
.vz-newsletter-form .vz-newsletter-msg { margin: 0; color: var(--chartreuse); font-size: 14px; }
.vz-newsletter-form .vz-newsletter-msg:empty { display: none; }
.vz-newsletter-form .vz-newsletter-msg.is-error { color: #ff8fa3; }
.vz-newsletter-form.is-busy button { opacity: .6; pointer-events: none; }
.vz-nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
