/* Princess3D — motyw biało-jasnoróżowy */
:root {
  --pink-25: #fffbfd;
  --pink-50: #fff4f8;
  --pink-100: #ffe8f0;
  --pink-200: #ffd3e3;
  --pink-300: #ffb2cc;
  --pink-400: #f990b5;
  --pink-500: #ef6d9c;
  --pink-600: #dc4f85;
  --pink-700: #b9376b;
  --lilac: #c9a8f5;
  --gold: #e8b64c;
  --ink: #3b2a35;
  --ink-2: #6d5866;
  --ink-3: #a38f9c;
  --line: #f4e1e9;
  --bg: #ffffff;
  --green: #23a065;
  --green-bg: #e8f8ef;
  --red: #dd4057;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -20px rgba(220, 79, 133, 0.35);
  --shadow-sm: 0 6px 18px -10px rgba(220, 79, 133, 0.35);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--pink-600); text-decoration: none; }
a:hover { color: var(--pink-700); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--pink-300); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding-block: 56px; }
.section-sm { padding-block: 32px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .link { font-weight: 700; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-600); margin-bottom: 8px; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; line-height: 1.1; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--pink-500), var(--pink-600)); color: #fff; box-shadow: 0 10px 22px -10px rgba(220,79,133,.7); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 28px -10px rgba(220,79,133,.8); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--pink-200); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-soft { background: var(--pink-100); color: var(--pink-700); }
.btn-soft:hover { background: var(--pink-200); color: var(--pink-700); }
.btn-outline { border-color: var(--pink-300); color: var(--pink-700); background: #fff; }
.btn-outline:hover { border-color: var(--pink-500); color: var(--pink-700); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--pink-600); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 17px 30px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--pink-50); color: var(--pink-600); }
.icon-btn svg, .btn svg { width: 22px; height: 22px; }

/* ---------- Pasek ogłoszeń ---------- */
.announce { background: linear-gradient(90deg, var(--pink-600), #e45e93, var(--pink-600)); color: #fff; font-weight: 700; font-size: .88rem; text-align: center; padding: 8px 16px; min-height: 36px; }
.announce span { display: inline-block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; color: var(--pink-500); }
.logo b { color: var(--pink-500); font-weight: 700; }
.main-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.main-nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .96rem; }
.main-nav a:hover, .main-nav a.active { background: var(--pink-50); color: var(--pink-600); }
.main-nav a.nav-promo { color: var(--pink-600); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.search-form { position: relative; }
.search-form input { width: 210px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--pink-25); padding: 0 16px 0 40px; outline: none; transition: border .2s, width .25s; }
.search-form input:focus { border-color: var(--pink-300); width: 250px; background: #fff; }
.search-form svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--pink-500); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.2); } 60% { transform: scale(.92); } }
.menu-btn { display: none; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 20%, var(--pink-100), transparent 45%), radial-gradient(circle at 10% 90%, #f6ecff, transparent 40%), linear-gradient(180deg, var(--pink-25), #fff); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--pink-200); color: var(--pink-700); font-weight: 800; font-size: .85rem; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--pink-500), #b77bf0); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 520px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div { font-size: .88rem; color: var(--ink-2); }
.hero-stats b { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 500px; justify-self: center; width: 100%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; box-shadow: var(--shadow); }
.hero-blob { position: absolute; inset: 6%; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; background: linear-gradient(140deg, var(--pink-200), var(--pink-100) 45%, #efe2ff); display: grid; place-items: center; box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.hero-blob svg { width: 46%; height: 46%; color: #fff; filter: drop-shadow(0 12px 20px rgba(220,79,133,.35)); }
.hero-float { position: absolute; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); font-weight: 800; font-size: .88rem; display: flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite; }
.hero-float.f1 { top: 10%; left: -2%; animation-delay: -2s; }
.hero-float.f2 { bottom: 12%; right: -2%; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Pasek zaufania ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--pink-50); display: grid; place-items: center; color: var(--pink-600); }
.trust-ico svg { width: 24px; height: 24px; }
.trust-item b { display: block; font-size: .95rem; }
.trust-item span { font-size: .84rem; color: var(--ink-2); }

/* ---------- Promocje ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.promo-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px; background: linear-gradient(135deg, var(--pink-500), #f59bbd); color: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; min-height: 180px; transition: transform .2s; }
.promo-card:nth-child(3n+2) { background: linear-gradient(135deg, #b880f2, #e59ad6); }
.promo-card:nth-child(3n+3) { background: linear-gradient(135deg, #f3a35b, #f17aa6); }
.promo-card:hover { transform: translateY(-3px); color: #fff; }
.promo-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.15); }
.promo-card .promo-label { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; line-height: 1.05; }
.promo-card .promo-name { font-weight: 800; opacity: .95; }
.promo-card p { margin: 0; font-size: .92rem; opacity: .95; }
.promo-card .promo-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 800; font-size: .88rem; position: relative; z-index: 1; }
.countdown-pill { background: rgba(255,255,255,.22); padding: 5px 11px; border-radius: 999px; font-variant-numeric: tabular-nums; }

/* ---------- Kategorie ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; background: linear-gradient(140deg, var(--pink-100), #f4e9ff); display: flex; align-items: flex-end; padding: 18px; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(59,42,53,.55)); z-index: 1; }
.cat-card.has-img { color: #fff; }
.cat-card .cat-name { position: relative; z-index: 2; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.cat-card .cat-count { position: relative; z-index: 2; display: block; font-size: .84rem; font-weight: 700; opacity: .85; font-family: var(--font); }
.cat-card .cat-ico { position: absolute; top: 16px; right: 16px; width: 54px; height: 54px; color: var(--pink-400); opacity: .9; }

/* ---------- Karty produktów ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--pink-200); }
.card-img { position: relative; display: block; aspect-ratio: 1; background: var(--pink-50); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.card:hover .card-img img + img { opacity: 1; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(140deg, var(--pink-100), #f6ecff); color: #fff; }
.ph svg { width: 42%; height: 42%; filter: drop-shadow(0 8px 14px rgba(220,79,133,.3)); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .02em; background: #fff; color: var(--ink); box-shadow: 0 3px 10px -4px rgba(0,0,0,.18); }
.badge-sale { background: var(--pink-600); color: #fff; }
.badge-promo { background: linear-gradient(135deg, #f7b24a, #f07aa5); color: #fff; }
.badge-new { background: #7c5cf0; color: #fff; }
.badge-best { background: var(--gold); color: #fff; }
.badge-hit { background: #ff6b6b; color: #fff; }
.badge-limited { background: var(--ink); color: #fff; }
.badge-eco { background: var(--green); color: #fff; }
.badge-custom { background: #fff; color: var(--pink-700); }
.soldout { position: absolute; inset: 0; background: rgba(255,255,255,.65); display: grid; place-items: center; font-weight: 800; color: var(--ink-2); z-index: 1; font-size: 1.05rem; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .76rem; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.card-title { font-weight: 800; color: var(--ink); line-height: 1.3; font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title:hover { color: var(--pink-600); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 1.15rem; font-weight: 900; color: var(--ink); }
.price.is-sale b { color: var(--pink-600); }
.price s { color: var(--ink-3); font-size: .9rem; }
.omnibus { font-size: .74rem; color: var(--ink-3); line-height: 1.3; }
.stock-low { font-size: .8rem; font-weight: 800; color: #e2572b; }
.card .add-btn { margin-top: auto; }
.card-actions { margin-top: auto; padding-top: 6px; }

/* ---------- Newsletter ---------- */
.newsletter { border-radius: 28px; padding: 44px; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.35), transparent 40%), linear-gradient(135deg, var(--pink-400), var(--pink-600)); color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow); }
.newsletter h2 { color: #fff; }
.newsletter p { opacity: .95; margin: 0; }
.nl-form { display: flex; gap: 10px; background: #fff; padding: 6px; border-radius: 999px; }
.nl-form input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; background: transparent; color: var(--ink); }
.nl-done { background: rgba(255,255,255,.18); border-radius: 18px; padding: 16px 20px; font-weight: 700; }
.nl-done code { background: #fff; color: var(--pink-700); padding: 4px 10px; border-radius: 8px; font-size: 1.1rem; font-weight: 900; letter-spacing: .06em; }
.hp { position: absolute; left: -9999px; }

/* ---------- Stopka ---------- */
.site-footer { margin-top: 40px; background: var(--pink-25); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--pink-600); }
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pay-icons span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: .74rem; font-weight: 800; color: var(--ink-2); }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-3); font-size: .85rem; }

/* ---------- Szuflada koszyka (prawy sidebar) ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(59,42,53,.35); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; z-index: 100; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 50px -20px rgba(220,79,133,.35); }
.cart-drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.3rem; }
.drawer-head h3 span { color: var(--ink-3); font-weight: 500; font-size: 1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: var(--pink-25); display: grid; gap: 10px; }
.drawer-empty { text-align: center; padding: 36px 10px; display: grid; gap: 12px; justify-items: center; }
.drawer-empty svg { width: 70px; height: 70px; color: var(--pink-300); }

.ship-progress { background: var(--pink-50); border-radius: 14px; padding: 12px 14px; font-size: .9rem; }
.ship-progress.done { background: var(--green-bg); color: #13784a; }
.sp-bar { height: 8px; border-radius: 99px; background: #fff; margin-top: 8px; overflow: hidden; }
.sp-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--pink-400), var(--pink-600)); transition: width .5s ease; }
.ship-progress.done .sp-bar span { background: var(--green); }
.hint { background: #fff8e8; border: 1px dashed #f1c86a; border-radius: 12px; padding: 9px 12px; font-size: .86rem; font-weight: 700; color: #8a5a00; }

.line { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-img { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--pink-50); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-title { display: block; font-weight: 800; color: var(--ink); line-height: 1.3; padding-right: 26px; font-size: .95rem; }
.line-meta { font-size: .82rem; color: var(--ink-2); }
.line-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.line-price { text-align: right; line-height: 1.2; }
.line-price s { display: block; color: var(--ink-3); font-size: .8rem; }
.line-price b { font-weight: 900; }
.line-remove { position: absolute; top: 0; right: 0; width: 28px; height: 28px; border: 0; background: transparent; color: var(--ink-3); border-radius: 50%; font-size: 1.2rem; line-height: 1; }
.line-remove:hover { background: var(--pink-50); color: var(--red); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 32px; height: 32px; border: 0; background: transparent; font-size: 1.1rem; font-weight: 800; color: var(--ink-2); border-radius: 50%; }
.qty button:hover { color: var(--pink-600); background: var(--pink-50); }
.qty span, .qty input { min-width: 28px; width: 34px; text-align: center; font-weight: 800; border: 0; background: transparent; outline: none; }
.qty-lg button { width: 44px; height: 48px; }
.qty-lg input { width: 44px; font-size: 1.05rem; }

.upsell h4 { font-size: .95rem; margin: 6px 0 10px; }
.upsell-list { display: grid; gap: 10px; }
.upsell-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; background: var(--pink-25); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.upsell-item .line-img { width: 52px; height: 52px; border-radius: 10px; }
.upsell-item a { color: var(--ink); font-weight: 700; font-size: .88rem; line-height: 1.25; display: block; }
.upsell-item small { color: var(--pink-600); font-weight: 800; }

.totals { display: grid; gap: 7px; font-size: .95rem; }
.t-row { display: flex; justify-content: space-between; gap: 12px; }
.t-disc { color: var(--green); font-weight: 700; }
.t-total { font-size: 1.2rem; font-weight: 900; padding-top: 8px; border-top: 1px dashed var(--pink-200); margin-top: 4px; }
.free { color: var(--green); font-weight: 900; }
.t-save { text-align: center; background: var(--green-bg); color: #13784a; border-radius: 10px; padding: 7px; font-weight: 800; font-size: .88rem; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--ink-3); }
.secure-note svg { width: 15px; height: 15px; }

/* ---------- Sklep ---------- */
.page-head { background: linear-gradient(180deg, var(--pink-25), #fff); padding: 36px 0 18px; }
.breadcrumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--ink-2); }
.toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin: 8px 0 24px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink); transition: all .15s; }
.chip:hover { border-color: var(--pink-300); color: var(--pink-700); }
.chip.active { background: var(--pink-500); border-color: var(--pink-500); color: #fff; }
.chip:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.select { height: 42px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 36px 0 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a38f9c' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 700; outline: none; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }
.empty svg { width: 64px; height: 64px; color: var(--pink-300); margin: 0 auto 12px; }

/* ---------- Produkt ---------- */
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 28px 0 48px; align-items: start; }
.product-layout > *, .checkout > *, .hero-inner > * { min-width: 0; }
.gallery { position: sticky; top: 96px; display: grid; gap: 12px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: var(--pink-50); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--pink-50); }
.thumbs button.active { border-color: var(--pink-500); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.pinfo .badges { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 12px; }
.pinfo .short { color: var(--ink-2); font-size: 1.05rem; }
.p-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 14px 0 4px; }
.p-price b { font-size: 2rem; font-weight: 900; font-family: var(--font-head); }
.p-price.is-sale b { color: var(--pink-600); }
.p-price s { font-size: 1.15rem; color: var(--ink-3); }
.p-price .save-pill { background: var(--pink-100); color: var(--pink-700); font-weight: 800; padding: 4px 10px; border-radius: 999px; font-size: .85rem; }
.promo-box { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, #fff6e6, var(--pink-50)); border: 1.5px solid #f8d39a; border-radius: 16px; padding: 14px 16px; margin: 14px 0; }
.promo-box .pb-ico { font-size: 1.5rem; line-height: 1; }
.promo-box b { display: block; font-size: 1.02rem; }
.promo-box p { margin: 2px 0 0; font-size: .9rem; color: var(--ink-2); }
.promo-box .countdown-inline { font-weight: 800; color: var(--pink-700); font-variant-numeric: tabular-nums; font-size: .88rem; }
.opt-group { margin: 18px 0; }
.opt-label { font-weight: 800; margin-bottom: 8px; display: block; }
.opt-label span { color: var(--ink-2); font-weight: 600; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 800; font-size: .92rem; }
.field small { color: var(--ink-3); font-size: .8rem; }
.input, .field input, .field select, .field textarea { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px; outline: none; transition: border .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink-400); box-shadow: 0 0 0 4px var(--pink-100); }
.field.has-error input { border-color: var(--red); }
.field .err { color: var(--red); font-size: .82rem; font-weight: 700; }
.buy-row { display: flex; gap: 12px; margin: 20px 0 12px; }
.buy-row .btn { flex: 1; }
.stock-info { font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: 6px; }
.stock-info.ok { color: var(--green); }
.stock-info.low { color: #e2572b; }
.stock-info.out { color: var(--red); }
.perks { display: grid; gap: 10px; margin: 20px 0; padding: 16px; border-radius: 18px; background: var(--pink-25); border: 1px solid var(--line); }
.perk { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.perk svg { width: 22px; height: 22px; color: var(--pink-600); flex: none; }
.desc { padding: 32px 0; border-top: 1px solid var(--line); }
.rich h2, .rich h3 { margin-top: 1.2em; }
.rich ul { padding-left: 1.2em; }
.rich li { margin: 4px 0; }
.rich li::marker { color: var(--pink-500); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; box-shadow: 0 -10px 30px -18px rgba(220,79,133,.5); transform: translateY(110%); transition: transform .3s; }
.sticky-buy.show { transform: none; }
.sticky-buy .sb-price { font-weight: 900; font-size: 1.1rem; }
.sticky-buy .btn { flex: 1; }

/* ---------- Kasa ---------- */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; padding-block: 24px 48px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--pink-500); color: #fff; display: inline-grid; place-items: center; font-size: .95rem; font-family: var(--font); font-weight: 900; }
.summary { position: sticky; top: 96px; background: var(--pink-25); border: 1px solid var(--pink-200); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.paczkomat-row { display: flex; gap: 10px; }
.paczkomat-row input { text-transform: uppercase; font-weight: 800; letter-spacing: .05em; }
.paczkomat-row .btn { flex: none; }
.inpost-chip { display: inline-flex; align-items: center; gap: 6px; background: #ffcd00; color: #1d1d1b; font-weight: 900; font-size: .78rem; padding: 3px 9px; border-radius: 6px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { text-transform: uppercase; }
.coupon-ok { display: flex; justify-content: space-between; align-items: center; background: var(--green-bg); color: #13784a; border-radius: 12px; padding: 10px 14px; font-weight: 800; font-size: .9rem; }
.coupon-ok button { border: 0; background: none; color: inherit; text-decoration: underline; font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 10px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--pink-500); flex: none; margin-top: 1px; }
.form-error { background: #fdecef; color: #b3263c; border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: .92rem; }
.pay-methods { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pay-methods span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; font-size: .72rem; font-weight: 800; color: var(--ink-2); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(59,42,53,.45); display: grid; place-items: center; padding: 16px; }
.modal-box { background: #fff; border-radius: 24px; width: min(900px, 100%); max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; }
.modal-body { flex: 1; min-height: 70vh; }

/* ---------- Toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); animation: fadeUp .3s ease; font-size: .94rem; }
.toast.ok { background: #1f8f5b; }
.toast.err { background: var(--red); }

/* ---------- Strona sukcesu / treści ---------- */
.success-box { max-width: 640px; margin: 48px auto; text-align: center; }
.success-ico { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--green-bg); color: var(--green); }
.success-ico svg { width: 50px; height: 50px; }
.success-ico.wait { background: var(--pink-50); color: var(--pink-500); }
.order-card { text-align: left; margin-top: 24px; }
.content-page { max-width: 820px; margin: 0 auto; padding: 32px 20px 56px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 28px; }
.contact-card { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--pink-25); }
.contact-card b { display: block; margin-bottom: 4px; }

.skeleton { background: linear-gradient(90deg, var(--pink-50), #fff, var(--pink-50)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.spinner { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .search-form input { width: 160px; }
  .search-form input:focus { width: 190px; }
  .main-nav a { padding: 8px 10px; }
}
@media (max-width: 900px) {
  .main-nav, .search-form { display: none; }
  .menu-btn { display: inline-grid; }
  .header-inner { gap: 8px; }
  .logo { font-size: 1.35rem; }
  .mobile-nav { display: block; position: fixed; inset: 0; z-index: 95; pointer-events: none; }
  .mobile-nav .mn-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: #fff; padding: 20px; transform: translateX(-105%); transition: transform .3s; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
  .mobile-nav.open { pointer-events: auto; background: rgba(59,42,53,.35); }
  .mobile-nav.open .mn-panel { transform: none; }
  .mobile-nav a { padding: 12px 14px; border-radius: 12px; color: var(--ink); font-weight: 800; }
  .mobile-nav a:hover { background: var(--pink-50); }
  .mobile-nav .search-form { display: block; margin: 8px 0 12px; }
  .mobile-nav .search-form input, .mobile-nav .search-form input:focus { width: 100%; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 36px 48px; gap: 28px; }
  .hero-visual { max-width: 300px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .gallery { position: static; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .newsletter { grid-template-columns: 1fr; padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-buy { display: flex; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding-block: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: .92rem; }
  .price b { font-size: 1.02rem; }
  .card .btn-sm { padding: 8px 10px; font-size: .84rem; }
  .badge { font-size: .68rem; padding: 3px 8px; }
  .badges { top: 8px; left: 8px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .trust-ico { width: 40px; height: 40px; }
  .trust-item span { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-float { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card .cat-name { font-size: 1.05rem; }
  .cat-card .cat-ico { width: 36px; height: 36px; }
  .paczkomat-row { flex-direction: column; }
  .nl-form { flex-direction: column; border-radius: 18px; }
  .nl-form input { height: 46px; }
  .buy-row { gap: 8px; }
  .buy-row .btn-lg { padding: 14px 12px; font-size: .98rem; }
  .qty-lg button { width: 38px; }
  .qty-lg input { width: 34px; }
  .toolbar { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .chips { max-width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chip { flex: none; }
}
