/* ===== ImperiumObuwia - Sklep obuwniczy (Luxury) ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  --color-bg: #fafaf8;
  --color-bg-alt: #f5f4f0;
  --color-surface: #ffffff;
  --color-text: #1c1c1c;
  --color-text-muted: #6b6b6b;
  --color-accent: #a68b4b;
  --color-accent-hover: #8b7238;
  --color-accent-subtle: rgba(166, 139, 75, 0.12);
  --color-border: #e8e6e1;
  --color-border-light: #f0efeb;
  --color-success: #2d5a27;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.08);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--color-text);
}

/* ===== Page loader (strona główna) ===== */
body.page-loading {
  overflow: hidden;
}
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-inner {
  text-align: center;
}
.page-loader-logo {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0;
  animation: loader-logo-in 0.6s ease 0.2s forwards;
}
.page-loader-line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--color-border);
  margin: 20px auto 0;
  transform: scaleX(0);
  transform-origin: center;
  animation: loader-line-in 0.8s ease 0.5s forwards;
}
@keyframes loader-logo-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes loader-line-in {
  to { transform: scaleX(1); }
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--color-text);
  color: white;
  font-weight: 500;
  border-radius: var(--radius);
  transition: top var(--transition);
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid white;
  outline-offset: 2px;
}

/* ===== Promo banner ===== */
.promo-banner {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 10px 48px 10px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.promo-banner-closed .promo-banner {
  display: none !important;
}
.promo-banner-track-wrap {
  overflow: hidden;
  width: 100%;
}
.promo-banner-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: nowrap;
}
.promo-banner-multi .promo-banner-track {
  justify-content: flex-start;
  animation: promo-banner-scroll 25s linear infinite;
  width: max-content;
}
.promo-banner-multi .promo-banner-track:hover {
  animation-play-state: paused;
}
@keyframes promo-banner-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.promo-banner-multi .promo-banner-track::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 16px;
}
.promo-banner-slide {
  color: inherit;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 16px;
  transition: opacity 0.2s;
}
.promo-banner-slide:hover {
  opacity: 0.9;
}
.promo-banner-slide strong {
  color: var(--color-accent);
  font-weight: 600;
}
.promo-banner-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity var(--transition);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}
.promo-banner-close:hover {
  opacity: 1;
}
.promo-banner-close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Promo cards w sekcji */
.promo-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.promo-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.promo-card-badge {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.promo-card-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}
.promo-card-code {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.25rem;
}
.promo-card-min {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}
.promo-card-cta {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Header & Nav ===== */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo a:hover {
  color: var(--color-text);
  opacity: 0.7;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-main a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.icon-btn:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.7rem;
  font-weight: 500;
  color: white;
  background: var(--color-text);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn {
  position: relative;
}

.wishlist-btn-header {
  position: relative;
}
.wishlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.7rem;
  font-weight: 500;
  color: white;
  background: var(--color-text);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wishlist button on product card */
.product-card-image .wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  color: var(--color-text-muted);
  border-radius: 50%;
}
.product-card-image .wishlist-btn:hover {
  background: white;
  color: var(--color-text);
}
.product-card-image .wishlist-btn.active {
  color: #c41e3a;
}
.product-card-image .wishlist-btn.active svg {
  fill: currentColor;
}
.product-card-image .wishlist-btn.active {
  animation: wishlist-heart 0.4s ease;
}
@keyframes wishlist-heart {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ===== Hamburger (mobile) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.hamburger-line {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile nav overlay ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
}
body.nav-open,
body.search-open {
  overflow: hidden;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-surface);
}

.btn-primary:hover {
  background: var(--color-text-muted);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 0.95rem;
}

/* ===== Focus visible ===== */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 0;
}
.hero-okladka {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 280px;
  max-height: 45vh;
  overflow: hidden;
}
.hero-okladka img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-mgielka {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.72) 50%, rgba(255,255,255,0.8) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
  opacity: 0.95;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--color-text, #1a1a1a);
}

.hero p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted, #444);
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero .btn-lg {
  letter-spacing: 0.08em;
}

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 28px 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 64px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.trust-icon svg {
  width: 20px;
  height: 20px;
}

/* ===== Newsletter ===== */
.newsletter {
  background: var(--color-bg-alt);
  padding: 80px 0;
  border-top: 1px solid var(--color-border-light);
}
.newsletter-inner {
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.newsletter-desc {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.newsletter-input {
  flex: 1;
  min-width: 220px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  transition: border-color var(--transition);
}
.newsletter-input:focus {
  border-color: var(--color-text);
  outline: none;
}

/* ===== Social proof ===== */
.social-proof {
  padding: 80px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
}
.social-proof-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 64px;
  margin-bottom: 32px;
}
.social-proof-stat {
  text-align: center;
}
.social-proof-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.social-proof-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}
.social-proof-headline {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.reviews-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.review-card {
  background: var(--color-bg);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  margin: 0;
  text-align: left;
}
.review-stars {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 14px;
  font-style: italic;
}
.review-author {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: normal;
}
.as-seen-in {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-light);
}
.as-seen-in-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.as-seen-in-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
}
.as-seen-in-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

/* ===== Sticky CTA (mobile) ===== */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 16px 24px;
  background: var(--color-text);
  color: white;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sticky-cta-mobile:hover {
  color: white;
  opacity: 0.95;
}
.sticky-cta-mobile.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  .sticky-cta-mobile {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .sticky-cta-mobile {
    display: block;
  }
  .page-product {
    padding-bottom: 72px;
  }
  .back-to-top {
    bottom: 80px;
  }
  .concierge-trigger {
    bottom: 80px;
  }
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-text);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 50;
}
.back-to-top:hover {
  background: var(--color-text-muted);
  color: white;
  transform: translateY(-2px);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== Concierge / Private Stylist ===== */
.concierge-trigger {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #1c1c1c;
  color: #f5f5f0;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.concierge-trigger:hover {
  background: #2a2a2a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.concierge-trigger-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.concierge-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 160;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
body.concierge-open .concierge-overlay {
  opacity: 1;
  visibility: visible;
}
body.concierge-open {
  overflow: hidden;
}

.concierge-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: linear-gradient(180deg, #141414 0%, #1a1a1a 100%);
  z-index: 165;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 48px rgba(0,0,0,0.4);
}
body.concierge-open .concierge-panel {
  transform: translateX(0);
}

.concierge-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}
.concierge-close:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.concierge-inner {
  padding: 80px 48px 64px;
  flex: 1;
}

.concierge-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.concierge-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: #f5f5f0;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.concierge-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
}

.concierge-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concierge-input {
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #f5f5f0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.3s ease;
}
.concierge-input::placeholder {
  color: rgba(255,255,255,0.35);
}
.concierge-input:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

.concierge-textarea {
  resize: none;
  min-height: 80px;
}

.concierge-submit {
  margin-top: 12px;
  padding: 18px 28px;
  background: #f5f5f0;
  color: #1c1c1c;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.concierge-submit:hover {
  background: #fff;
  transform: translateY(-1px);
}

.concierge-divider {
  margin: 40px 0 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.concierge-divider::before,
.concierge-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.concierge-divider span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.concierge-direct {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.concierge-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}
.concierge-link:hover {
  color: var(--color-accent);
}
.concierge-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-concierge-desc {
  font-size: 0.9rem;
  color: #a8a8a8;
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-concierge-trigger {
  display: inline-block;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #f5f5f5;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}
.footer-concierge-trigger:hover {
  color: var(--color-accent);
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  line-height: 1.5;
}

.footer-info-trigger {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}
.footer-info-trigger:hover {
  color: white;
}

/* Footer info modal */
body.footer-info-open { overflow: hidden; }
.footer-info-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 170;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.footer-info-open .footer-info-overlay { opacity: 1; visibility: visible; }
.footer-info-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  z-index: 175;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
body.footer-info-open .footer-info-modal {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.footer-info-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
}
.footer-info-close:hover { color: var(--color-text); }
.footer-info-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-info-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.footer-info-body p { margin-bottom: 16px; }
.footer-info-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.footer-info-body th, .footer-info-body td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}
.footer-info-body th { font-size: 0.8rem; color: var(--color-text-muted); }

@media (max-width: 540px) {
  .concierge-panel {
    max-width: 100%;
  }
  .concierge-inner {
    padding: 72px 28px 48px;
  }
  .concierge-trigger-text {
    display: none;
  }
  .concierge-trigger {
    padding: 16px;
    border-radius: 50%;
  }
}

/* ===== Quick View modal ===== */
body.quick-view-open {
  overflow: hidden;
}
.quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  z-index: 170;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.quick-view-open .quick-view-overlay {
  opacity: 1;
  visibility: visible;
}
.quick-view-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 175;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
body.quick-view-open .quick-view-modal {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.quick-view-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  z-index: 2;
  transition: color var(--transition);
}
.quick-view-close:hover {
  color: var(--color-text);
}
.quick-view-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 640px) {
  .quick-view-inner {
    grid-template-columns: 1fr;
  }
}
.quick-view-image {
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.quick-view-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quick-view-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quick-view-category {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.quick-view-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.quick-view-price {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.quick-view-price .old {
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}
.quick-view-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.quick-view-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quick-view-actions .btn {
  width: 100%;
}

/* ===== Toast ===== */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.toast-wrap.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
.toast {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--color-text);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}
.toast-msg {
  font-weight: 500;
}
.toast-actions {
  display: flex;
  gap: 8px;
}
.toast-actions .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}
.toast-actions .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: white;
}
.toast-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
}

/* ===== Section reveal ===== */
.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Stagger (product cards) ===== */
.product-grid-stagger .product-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.product-grid-stagger.visible .product-card,
.section-reveal.visible .product-grid-stagger .product-card {
  opacity: 1;
  transform: translateY(0);
}
.product-grid-stagger .product-card:nth-child(1) { transition-delay: 0.05s; }
.product-grid-stagger .product-card:nth-child(2) { transition-delay: 0.1s; }
.product-grid-stagger .product-card:nth-child(3) { transition-delay: 0.15s; }
.product-grid-stagger .product-card:nth-child(4) { transition-delay: 0.2s; }
.product-grid-stagger .product-card:nth-child(5) { transition-delay: 0.25s; }
.product-grid-stagger .product-card:nth-child(6) { transition-delay: 0.3s; }
.product-grid-stagger .product-card:nth-child(7) { transition-delay: 0.35s; }
.product-grid-stagger .product-card:nth-child(8) { transition-delay: 0.4s; }
.product-grid-stagger .promo-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.product-grid-stagger.visible .promo-card,
.section-reveal.visible .product-grid-stagger .promo-card {
  opacity: 1;
  transform: translateY(0);
}
.product-grid-stagger .promo-card:nth-child(1) { transition-delay: 0.05s; }
.product-grid-stagger .promo-card:nth-child(2) { transition-delay: 0.1s; }
.product-grid-stagger .promo-card:nth-child(3) { transition-delay: 0.15s; }
.product-grid-stagger .promo-card:nth-child(4) { transition-delay: 0.2s; }
.product-grid-stagger .promo-card:nth-child(5) { transition-delay: 0.25s; }
.product-grid-stagger .promo-card:nth-child(6) { transition-delay: 0.3s; }

/* ===== Search overlay ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 24px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.search-overlay-inner {
  width: 100%;
  max-width: 560px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.search-overlay.visible .search-overlay-inner {
  transform: translateY(0);
}
.search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.search-close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.search-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.search-form .search-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

/* ===== Minicart dropdown ===== */
.cart-dropdown-wrap {
  position: relative;
}
.minicart-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 320px;
  max-width: 90vw;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 110;
}
.cart-dropdown-wrap:hover .minicart-dropdown,
.cart-dropdown-wrap.open .minicart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.minicart-empty {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding: 8px 0;
  margin: 0;
}
.minicart-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.minicart-item:last-of-type {
  border-bottom: none;
}
.minicart-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
}
.minicart-item-name {
  flex: 1;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.minicart-item-price {
  color: var(--color-text-muted);
}
.minicart-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.minicart-footer .btn {
  flex: 1;
  min-width: 100px;
}

/* ===== Benefits (Dlaczego my) ===== */
.benefits {
  padding: 88px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.benefit-item {
  text-align: center;
  padding: 0 20px;
}
.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--color-accent);
}
.benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.benefit-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.benefit-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-weight: 400;
}

/* ===== Shipping progress (cart) ===== */
.shipping-progress {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 28px;
}

.shipping-progress-bar {
  height: 10px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.shipping-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-muted) 100%);
  border-radius: 999px;
  width: 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.shipping-progress.shipping-complete .shipping-progress-fill {
  background: var(--color-success);
}

.shipping-progress-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0;
}

.shipping-progress.shipping-complete .shipping-progress-text {
  color: var(--color-success);
}

/* ===== Related products ===== */
.related {
  padding-top: 64px;
  margin-top: 48px;
  border-top: 1px solid var(--color-border);
}

/* ===== Product share ===== */
.product-share {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.product-share-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ===== Product reviews ===== */
.product-reviews {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.product-reviews-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.product-reviews-empty {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}
.review-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.review-item:last-child {
  border-bottom: none;
}
.review-stars {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.review-author {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}
.review-date {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}
.product-reviews .btn { margin-bottom: 16px; }
.product-reviews-list { margin-top: 8px; }

/* Review modal (add opinion) */
.review-modal-open { overflow: hidden; }
.review-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.review-modal-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.review-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow: auto;
  background: var(--color-bg);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 9999;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.review-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.review-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 8px;
}
.review-modal-close:hover {
  color: var(--color-text);
  background: var(--color-border);
}
.review-modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 20px 0;
  padding-right: 40px;
}
.review-form .form-group { margin-bottom: 16px; }
.review-form .form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.review-form .form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
}
.review-form textarea.form-control { resize: vertical; min-height: 100px; }
.review-rating-input {
  display: flex;
  gap: 4px;
  font-size: 1.5rem;
  color: var(--color-border);
}
.review-rating-input .review-star-label { cursor: pointer; margin: 0; }
.review-rating-input .review-star-label span { color: inherit; }
.review-rating-input input { display: none; }
.review-rating-input[data-rating="1"] .review-star-label:nth-child(1) span { color: var(--color-accent); }
.review-rating-input[data-rating="2"] .review-star-label:nth-child(-n+2) span { color: var(--color-accent); }
.review-rating-input[data-rating="3"] .review-star-label:nth-child(-n+3) span { color: var(--color-accent); }
.review-rating-input[data-rating="4"] .review-star-label:nth-child(-n+4) span { color: var(--color-accent); }
.review-rating-input[data-rating="5"] .review-star-label:nth-child(-n+5) span { color: var(--color-accent); }
.review-form-actions { display: flex; gap: 12px; margin-top: 20px; }
.review-form-actions .btn { flex: 1; }

/* ===== Cookie consent ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-text);
  color: #c9c9c9;
  padding: 16px 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-consent.visible {
  transform: translateY(0);
}
.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-consent p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}
.cookie-consent a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}
.cookie-consent-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-consent .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #e0e0e0;
}
.cookie-consent .btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* Cookie info popup (Więcej informacji) */
.cookie-info-trigger {
  cursor: pointer;
}
body.cookie-info-open { overflow: hidden; }
.cookie-info-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 170;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cookie-info-open .cookie-info-overlay {
  opacity: 1;
  visibility: visible;
}
.cookie-info-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: 90%;
  max-width: 500px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  z-index: 175;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}
body.cookie-info-open .cookie-info-modal {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-info-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-info-close:hover { color: var(--color-text); }
.cookie-info-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-accent);
}
.cookie-info-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.cookie-info-body p { margin: 0 0 14px; }
.cookie-info-body p:last-child { margin-bottom: 0; }
.cookie-info-body ul {
  margin: 8px 0 16px;
  padding-left: 1.25rem;
}
.cookie-info-body li { margin-bottom: 8px; }
.cookie-info-body strong { color: var(--color-text); }
.cookie-info-body a {
  color: var(--color-accent);
  text-decoration: underline;
}
.cookie-info-body a:hover { color: var(--color-accent-hover); }

/* ===== Footer social & payments ===== */
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social-link {
  font-size: 0.9rem;
  color: #c9c9c9;
}
.footer-social-link:hover {
  color: white;
}
.footer-social-icon {
  display: block;
  width: 24px;
  height: 24px;
}
.footer-payments {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-payment-icon {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== 404 page ===== */
.page-404 {
  padding: 120px 0 140px;
  text-align: center;
}
.error-content {
  max-width: 480px;
  margin: 0 auto;
}
.error-icon {
  color: var(--color-border);
  margin-bottom: 32px;
}
.error-icon svg {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}
.error-code {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.page-404 h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.error-desc {
  color: var(--color-text-muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.page-404 .btn {
  display: inline-flex;
}

/* ===== Sections ===== */
.section {
  padding: 88px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== Categories strip ===== */
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.category-chip {
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 999px;
  transition: all var(--transition);
}

.category-chip:hover,
.category-chip.active {
  background: var(--color-text);
  color: white;
  border-color: var(--color-text);
}

/* ===== Product grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(90deg, var(--color-bg-alt) 0%, var(--color-border-light) 50%, var(--color-bg-alt) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  overflow: hidden;
}

@keyframes skeleton-shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.product-card-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-bg-alt);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card-image.loaded {
  animation: none;
  background: var(--color-bg-alt);
}

.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--color-text);
  color: white;
  border-radius: 2px;
}

.product-card-quick-add {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
}

.product-card:hover .product-card-quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-card-quick-add .btn {
  width: 100%;
}

.product-card-body {
  padding: 24px 20px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.product-card-category {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.product-card-price {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-card-price .old {
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.product-card-badge-sale {
  background: var(--color-accent);
  color: white;
}

/* ===== Kategorie (sekcja główna) ===== */
.categories-section {
  padding: 96px 0 100px;
}
.categories-section .section-header {
  margin-bottom: 64px;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 36px;
  max-width: 1000px;
  margin: 0 auto;
}
.category-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border-light);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.category-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.category-card:hover .category-card-image img {
  transform: scale(1.05);
}
.category-card:hover .category-card-cta {
  opacity: 1;
}
.category-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card-cta {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}
.category-card-body {
  padding: 28px 24px 32px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.category-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.category-card-desc {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .categories-section {
    padding: 64px 0 72px;
  }
  .categories-section .section-header {
    margin-bottom: 40px;
  }
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .category-card-body {
    padding: 24px 20px 28px;
  }
  .category-card-cta {
    opacity: 1;
    background: rgba(0,0,0,0.6);
  }
}

/* ===== Product detail page ===== */
.page-product {
  padding: 48px 0 80px;
}

.product-not-found {
  padding: 48px 0 64px;
  text-align: center;
}
.product-not-found-inner {
  max-width: 520px;
  margin: 0 auto;
}
.product-not-found-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 16px;
}
.product-not-found-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.page-promocje .promocje-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 12px;
}
.promocje-empty {
  text-align: center;
  padding: 48px 24px;
}
.promocje-empty .section-empty {
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (min-width: 901px) {
  .product-gallery {
    position: sticky;
    top: 96px;
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-gallery {
    position: static;
    top: auto;
    max-width: 100%;
    margin-bottom: 0;
    z-index: auto;
    background: transparent;
    padding-bottom: 0;
  }
  .product-gallery-main {
    max-height: 70vh;
    aspect-ratio: 4 / 3;
  }
  .product-gallery-main img {
    object-fit: contain;
  }
}

.product-gallery-main {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto 12px;
  position: relative;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6%;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-gallery-main.zoom-active img {
  cursor: zoom-out;
}
.product-gallery-main.zoom-active {
  cursor: zoom-out;
}

.product-gallery-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.product-gallery-main:hover .product-gallery-zoom-hint {
  opacity: 1;
}

.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.product-gallery-thumbs button {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  cursor: pointer;
  transition: border-color var(--transition);
}

.product-gallery-thumbs button:hover,
.product-gallery-thumbs button.active {
  border-color: var(--color-text);
}

.product-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.product-info-head .product-info-category {
  margin-bottom: 0;
}
.wishlist-btn-detail {
  flex-shrink: 0;
  color: var(--color-text-muted);
}
.wishlist-btn-detail:hover,
.wishlist-btn-detail.active {
  color: #c41e3a;
}
.wishlist-btn-detail.active svg {
  fill: currentColor;
}
.wishlist-btn-detail.active {
  animation: wishlist-heart 0.4s ease;
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-info-category {
  font-size: 0.9rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.product-info-price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.product-info-price .old {
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-right: 12px;
}

.product-info-desc {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.product-options {
  margin-bottom: 28px;
}

.product-options label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.product-options-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.product-options-label label {
  margin-bottom: 0;
}
.size-guide-trigger {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.size-guide-trigger:hover {
  color: var(--color-text);
}

/* ===== Lightbox ===== */
body.lightbox-open {
  overflow: hidden;
}
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 180;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.lightbox-open .lightbox-overlay {
  opacity: 1;
  visibility: visible;
}
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  z-index: 185;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.lightbox-open .lightbox {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 186;
  transition: background 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ===== Size guide modal ===== */
body.size-guide-open {
  overflow: hidden;
}
.size-guide-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 170;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.size-guide-open .size-guide-overlay {
  opacity: 1;
  visibility: visible;
}
.size-guide-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 40px 36px;
  z-index: 175;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
body.size-guide-open .size-guide-modal {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.size-guide-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.size-guide-close:hover {
  color: var(--color-text);
}
.size-guide-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.size-guide-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.size-guide-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 540px) {
  .size-guide-tables {
    grid-template-columns: 1fr;
  }
}
.size-guide-table-wrap h3 {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.size-guide-table th,
.size-guide-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}
.size-guide-table th {
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.size-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-select input {
  display: none;
}

.size-select label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 0;
  transition: all var(--transition);
}

.size-select input:checked + label {
  border-color: var(--color-text);
  background: var(--color-accent-subtle);
  color: var(--color-text);
}

.size-select label:hover {
  border-color: var(--color-text);
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-actions .btn-primary {
  flex: 1;
  min-width: 200px;
}

/* ===== Sticky add to cart (mobile) ===== */
.product-actions-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  padding: 12px 24px;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  display: none;
}
.product-actions-sticky.visible {
  transform: translateY(0);
}
.product-actions-sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-actions-sticky-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-actions-sticky-title {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.product-actions-sticky-price {
  font-size: 1rem;
  font-weight: 600;
}
.product-actions-sticky .btn {
  flex-shrink: 0;
}
@media (min-width: 901px) {
  .product-actions-sticky {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .product-actions-sticky {
    display: block;
  }
}
.product-actions .btn-primary.add-success {
  animation: add-success-pulse 0.4s ease;
}
@keyframes add-success-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* ===== Products listing ===== */
.page-products .section {
  padding-top: 40px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.toolbar p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.sort-select {
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

/* ===== Cart page ===== */
.page-cart {
  padding: 48px 0 80px;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
}

.cart-table td {
  padding: 20px;
  border-top: 1px solid var(--color-border);
}

.cart-item-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-name {
  font-weight: 500;
}

.cart-item-variant {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.cart-qty button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.cart-qty span {
  min-width: 28px;
  text-align: center;
}

.cart-summary {
  margin-top: 32px;
  max-width: 360px;
  margin-left: auto;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-summary-row.total {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.cart-empty {
  text-align: center;
  padding: 96px 24px;
}

.cart-empty-icon {
  color: var(--color-border);
  margin-bottom: 28px;
}
.cart-empty-icon svg {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.cart-empty-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cart-empty-desc {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: auto;
  background: #181818;
  color: #a8a8a8;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: #f5f5f5;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.02em;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-text);
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* ===== Strona prawna (Polityka prywatności) ===== */
.page-legal {
  padding-bottom: 64px;
}
.legal-article {
  max-width: 720px;
  margin: 0 auto;
}
.legal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin: 0 0 8px;
}
.legal-updated {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 40px;
}
.legal-section {
  margin-bottom: 32px;
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-light);
}
.legal-section p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}
.legal-section ul {
  margin: 8px 0 16px;
  padding-left: 1.25rem;
}
.legal-section li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.legal-section a {
  color: var(--color-accent);
  text-decoration: underline;
}
.legal-section a:hover {
  color: var(--color-accent-hover);
}
.footer-legal-link {
  color: inherit;
  text-decoration: underline;
  opacity: 0.9;
}
.footer-legal-link:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* ===== Utilities ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ===== Product card (filter/sort) ===== */
.product-card.hidden {
  display: none;
}
.products-empty {
  text-align: center;
  padding: 72px 24px;
  color: var(--color-text-muted);
}
.products-empty.hidden {
  display: none;
}
.products-empty-icon {
  color: var(--color-border);
  margin-bottom: 24px;
}
.products-empty-icon svg {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}
.products-empty-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
}
.products-empty-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.products-empty a {
  color: var(--color-text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.products-empty .btn {
  margin-top: 8px;
}
.product-grid.empty {
  display: none;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .site-header .logo {
    display: none;
  }
  .header-inner {
    height: 56px;
    gap: 12px;
    justify-content: flex-start;
  }
  .header-actions {
    gap: 8px;
    margin-left: auto;
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    max-width: 100vw;
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    z-index: 95;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }
  body.nav-open .nav-main {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-main a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 72px 0 96px;
  }
  
  .product-actions .btn-primary {
    min-width: 100%;
  }
  
  .trust-strip-inner {
    flex-direction: column;
    align-items: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-input {
    min-width: 100%;
  }
  /* Kontrast i dostępność: pola formularzy min. 16px (unikamy powiększenia na iOS), czytelność */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 44px;
  }
  textarea {
    min-height: 80px;
  }
  .footer a,
  .footer .footer-legal-link {
    color: var(--color-text-muted);
  }
  .footer a:hover,
  .footer .footer-legal-link:hover {
    color: var(--color-text);
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .minicart-dropdown {
    right: 0;
    left: auto;
  }
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
