/* ---------------- Accessibility ---------------- */

/* Skip-link — widoczny tylko po focus klawiaturą (WCAG 2.4.1). */
.moneo-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 12px 18px;
  background: var(--gold, #d4af37);
  color: #0a0b0e;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.moneo-skip-link:focus,
.moneo-skip-link:focus-visible {
  left: 0;
  outline: 3px solid #0e1016;
  outline-offset: 2px;
}

/* main z tabindex=-1 nie powinien pokazywać outline gdy focus jest na nim programowo. */
main#moneo-main:focus { outline: none; }

/* ---------------- Page shell ---------------- */

.app {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 80% 45% at 50% -20%, var(--gold-glow), transparent 60%),
    var(--bg-deep);
}

/* ---------------- Ticker ---------------- */

.ticker {
  width: 100%;
  padding-top: 4px;
  padding-bottom: 12px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 12px;
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.ticker-quotes {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0 32px;
  flex: 1;
  min-width: 0;
}

.ticker-shipping {
  flex-shrink: 0;
  margin: 0 0 0 auto;
  padding: 0;
  text-align: right;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-dim);
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ticker-item strong {
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1;
}

.ticker-item .price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ticker-item .price.pos {
  color: var(--success);
}

.ticker-item .price.neg {
  color: var(--danger);
}

.ticker-item .ticker-arrow {
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

/* ---------------- Header / Mega menu ---------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg-deep) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
  padding-bottom: 12px;
  min-width: 0;
  box-sizing: border-box;
}

.header-row--with-search .search-desktop {
  flex: 1;
  max-width: 480px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-text {
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--gold-bright) 0%, #7a6220 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #0a0b0e;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 22px var(--gold-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text span:first-child {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: 0.02em;
}

.brand-text span:last-child {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.search {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  transition: border-color 0.2s;
}

.search:focus-within {
  border-color: var(--gold);
}

.search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text-heading);
  font: inherit;
  outline: none;
}

.search input::placeholder {
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-heading);
  transition:
    border-color 0.2s,
    background 0.2s;
  position: relative;
}

.icon-btn:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.icon-btn .count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #0a0b0e;
  font-size: 11px;
  font-weight: 700;
}

.icon-btn-label {
  font-size: 13px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-heading);
}

/* Desktop mega-menu bar */

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2px;
  padding-block: 12px;
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}

.nav-item-wrap {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-trigger svg {
  transition: transform 0.2s;
}

.nav-item-wrap:hover .nav-trigger,
.nav-item-wrap:focus-within .nav-trigger,
.nav-item-wrap.open .nav-trigger {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
}

.nav-item-wrap:hover .nav-trigger svg,
.nav-item-wrap.open .nav-trigger svg {
  transform: rotate(180deg);
}

.nav-trigger .chip {
  margin-left: 2px;
  padding: 2px 7px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

/* mega panel */

.nav-panel {
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
  z-index: 50;
  pointer-events: none;
}

/* bridge pseudo-element keeps hover chain continuous */
.nav-panel::before {
  content: '';
  position: absolute;
  inset: 0;
}

.nav-panel-inner {
  position: relative;
  width: max-content;
  max-width: min(92vw, 760px);
  padding: 22px;
  display: grid;
  gap: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.nav-panel[data-cols='1'] .nav-panel-inner {
  grid-template-columns: minmax(200px, 280px);
}

.nav-panel[data-cols='1+f'] .nav-panel-inner {
  grid-template-columns: minmax(200px, 280px) minmax(180px, 220px);
}

.nav-panel[data-cols='2'] .nav-panel-inner {
  grid-template-columns: repeat(2, minmax(180px, 240px));
}

.nav-panel[data-cols='2+f'] .nav-panel-inner {
  grid-template-columns: repeat(2, minmax(180px, 240px)) minmax(180px, 220px);
}

.nav-panel[data-cols='3'] .nav-panel-inner {
  grid-template-columns: repeat(3, minmax(160px, 220px));
}

.nav-panel[data-cols='3+f'] .nav-panel-inner {
  grid-template-columns: repeat(3, minmax(160px, 220px)) minmax(180px, 220px);
}

/* Tylko .open (React) — bez :hover na panelu, żeby nie nakładały się dwa megamenu */
.nav-item-wrap.open .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-col h4,
.nav-col-heading {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  transition:
    color 0.15s,
    opacity 0.15s;
}

.nav-col-heading:hover {
  color: var(--gold-bright, #e8c96a);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-col a {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-col a:hover {
  color: var(--gold);
}

.nav-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 160px;
  padding: 0;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border);
  background: var(--accent, #1a1d26);
}

.nav-feature-media {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: 110px;
  padding: 14px 14px 4px;
  box-sizing: border-box;
}

.nav-feature-img {
  width: 100%;
  height: 100%;
  max-height: 118px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.nav-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--accent, #222);
  opacity: 0.92;
}

.nav-feature--has-image::before {
  opacity: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 32%, rgba(232, 201, 106, 0.22), transparent 62%),
    var(--accent, #222);
}

.nav-feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px 14px;
  background: linear-gradient(to top, rgba(6, 7, 10, 0.88) 0%, rgba(6, 7, 10, 0.55) 70%, transparent 100%);
}

.nav-feature strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-feature-copy > span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.3;
}

/* Kafelek monety — większy render, krótszy footer. */
.nav-feature--coin {
  min-height: 188px;
}

.nav-feature--coin .nav-feature-media {
  min-height: 128px;
  padding: 12px 10px 0;
}

.nav-feature--coin .nav-feature-img {
  max-height: 132px;
}

.nav-feature--coin .nav-feature-copy {
  padding-top: 6px;
  text-align: center;
}

.nav-feature--coin strong {
  font-size: 15px;
  -webkit-line-clamp: 1;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
}

.nav-mobile details {
  border-bottom: 1px solid var(--border);
}

.nav-mobile summary {
  font-weight: 600;
  color: var(--text-heading);
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile details[open] summary svg {
  transform: rotate(180deg);
}

.nav-mobile summary svg {
  transition: transform 0.2s;
}

.nav-mobile details a {
  display: block;
  padding: 8px 0 8px 12px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-mobile details a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .search {
    display: none;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile.open {
    display: flex;
  }

  .icon-btn-label {
    display: none;
  }
}

/* ---------------- Home (single .shell like PDP) ---------------- */

.home {
  padding-bottom: 48px;
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 36px 0 56px;
}

.hero-slider {
  position: relative;
  border-radius: 20px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  transition: opacity 0.5s;
  opacity: 0;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  z-index: 0;
}

.hero-slide > * {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.hero-slide h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 14px;
  max-width: 22ch;
}

.hero-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  margin: 0 0 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
  line-height: 1;
}

.hero-stats div span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Coin visual */
.hero-visual {
  justify-self: center;
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 1;
}

.hero-coin {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  filter: drop-shadow(0 28px 80px rgba(212, 175, 55, 0.35));
}

.hero-coin .moneo-gold-coin,
.hero-coin-photo {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-coin-photo {
  max-width: 92%;
  max-height: 92%;
  margin: auto;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.hero-ring {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  pointer-events: none;
  animation: spin 40s linear infinite;
}

.hero-ring::before,
.hero-ring::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-bright);
}

.hero-ring::before {
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-ring::after {
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 0;
  padding: 0;
  transition: background 0.2s;
}

.hero-dot.active {
  background: var(--gold);
}

@media (max-width: 760px) {
  .hero-slide {
    padding: 32px 20px 72px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-slide h1 {
    margin-inline: auto;
    text-align: center;
    max-width: min(22ch, 100%);
  }

  .hero-lead {
    margin-inline: auto;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    width: 200px;
  }

  .hero-stats {
    justify-content: center;
  }
}

/* ---------------- Sections ---------------- */

.section {
  padding: 40px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  margin: 0;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 32rem;
}

.link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.link-more:hover {
  text-decoration: underline;
}

/* ---------------- Home tiles (4 kafle) ---------------- */

.home-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

@media (max-width: 520px) {
  .home-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .home-tiles {
    grid-template-columns: 1fr;
  }
}

.home-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 200px;
  padding: 22px;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-tile:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-3px);
}

.home-tile-bg {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  transition: opacity 0.25s;
}

.home-tile:hover .home-tile-bg {
  opacity: 1;
}

.home-tile > * {
  position: relative;
}

.home-tile h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 4px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.home-tile p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.home-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------------- Product card ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
  .product-grid,
  .product-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .product-grid,
  .product-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid,
  .product-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 340px) {
  .product-grid,
  .product-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.product-card:hover {
  border-color: rgba(212, 175, 55, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Zdjęcia produktów (lokalne @2x w assets/images/products/) */
.product-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  display: block;
  max-width: 88%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.product-image-fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
}

.product-image--fallback .product-image-fallback {
  display: grid;
}

.product-image--fallback img {
  display: none;
}

.product-thumb .product-thumb-media img {
  max-width: 78%;
  max-height: 78%;
}

.pdp-main-image {
  min-height: 280px;
}

.pdp-main-image img {
  width: min(84%, 340px);
  height: min(84%, 340px);
}

.pdp-alt-view {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cart-thumb .cart-thumb-media {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.cart-thumb .cart-thumb-media img {
  max-width: 90%;
  max-height: 90%;
}

/* Kafelki kategorii na stronie głównej */
.home-categories {
  padding-top: 0;
  position: relative;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.home-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 218px;
  padding: 20px 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 55%),
    color-mix(in srgb, var(--bg-elevated) 90%, transparent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}

.home-cat-tile:hover {
  border-color: color-mix(in srgb, var(--gold) 50%, var(--border));
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
}

.home-cat-img {
  width: 100%;
  max-width: 140px;
  min-width: 0;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.home-cat-img img {
  display: block;
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.home-cat-text {
  text-align: center;
  min-width: 0;
}

.home-cat-text strong {
  display: block;
  color: var(--text-heading);
  font-size: 15px;
  margin-bottom: 4px;
}

.home-cat-text span {
  color: var(--text-muted);
  font-size: 12px;
}

.product-thumb {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 40% 30%, rgba(212, 175, 55, 0.22), transparent 60%),
    linear-gradient(145deg, #1e222c 0%, #0f1218 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.04),
    transparent 45%
  );
  transition: opacity 0.25s;
}

.product-card:hover .product-thumb::after {
  opacity: 0.6;
}

.product-thumb[data-metal='silver'] {
  background:
    radial-gradient(circle at 40% 30%, rgba(210, 220, 235, 0.3), transparent 60%),
    linear-gradient(145deg, #1c222b 0%, #0e1116 100%);
}

.product-thumb[data-metal='platinum'],
.product-thumb[data-metal='palladium'] {
  background:
    radial-gradient(circle at 40% 30%, rgba(180, 195, 215, 0.25), transparent 55%),
    linear-gradient(145deg, #171c25 0%, #0a0d12 100%);
}

.coin {
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.3), transparent 45%),
    radial-gradient(circle at 60% 60%, var(--gold-bright), var(--gold-dim) 60%, #2a200a 100%);
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: rgba(0, 0, 0, 0.38);
}

.coin::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
}

[data-metal='silver'] .coin,
[data-metal='platinum'] .coin,
[data-metal='palladium'] .coin {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 45%),
    radial-gradient(circle at 60% 60%, #d5dbe3, #7d8693 70%, #2a2f37 100%);
  color: rgba(0, 0, 0, 0.3);
}

.bar {
  width: 72%;
  height: 42%;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-dim) 60%, #3a2e10);
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.55);
}

.bar::before {
  content: '';
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

[data-metal='silver'] .bar {
  background: linear-gradient(145deg, #d5dbe3, #7d8693 65%, #2a2f37);
}

[data-metal='platinum'] .bar,
[data-metal='palladium'] .bar {
  background: linear-gradient(145deg, #dfe4ec, #96a0ae 65%, #2d333c);
}

.accessory {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(145deg, #262b37 0%, #12151c 100%);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

.gift-package {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.35), transparent 40%),
    radial-gradient(circle at 55% 55%, var(--gold-bright), var(--gold-dim) 60%, #2a200a);
  border: 2px solid color-mix(in srgb, var(--gold) 70%, #3d2e08);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(20, 12, 0, 0.65);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.95);
  color: #0f0f12;
  z-index: 2;
}

.product-badge[data-kind='NEW'] {
  background: #4ade80;
  color: #0a1a0f;
}

.product-badge[data-kind='SALE'] {
  background: #f87171;
  color: #1a0707;
}

.product-stock-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(10, 11, 14, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  color: var(--text-heading);
  z-index: 2;
}

.product-stock-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.product-stock-dot[data-s='low'] i {
  background: #fbbf24;
}

.product-stock-dot[data-s='preorder'] i {
  background: #60a5fa;
}

.product-stock-dot[data-s='notify'] i {
  background: var(--danger);
}

.product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-meta {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.product-body h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-heading);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.product-price .vat {
  font-size: 11.5px;
  color: var(--text-muted);
}

.product-actions {
  margin-top: auto;
  padding-top: 8px;
}

.btn-cart {
  width: 100%;
  padding: 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-heading);
  font-weight: 600;
  font-size: 13px;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  display: inline-block;
  text-align: center;
}

.product-card:hover .btn-cart,
.btn-cart:hover {
  border-color: var(--gold-dim);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
}

/* ---------------- Marketing strips ---------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

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

.why-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-card .i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold);
  display: grid;
  place-items: center;
}

.why-card h3 {
  margin: 4px 0 0;
  font-size: 15px;
}

.why-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

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

.how-step {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.how-step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

.how-step h3 {
  margin: 8px 0 4px;
  font-size: 15px;
}

.how-step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.mints-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  justify-content: center;
}

.mint-badge {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ---------------- VIP banner ---------------- */

.vip-banner {
  position: relative;
  margin: 12px 0 0;
  padding: 36px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.32), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(192, 132, 252, 0.1), transparent 55%),
    linear-gradient(160deg, #1a1822 0%, #0c0e14 100%);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 820px) {
  .vip-banner {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
}

.vip-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  margin: 0 0 10px;
}

.vip-banner p {
  margin: 0 0 18px;
  color: var(--text-muted);
  max-width: 36rem;
}

.vip-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vip-stat div {
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  text-align: center;
}

.vip-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
}

.vip-stat span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------------- Locations ---------------- */

.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

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

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

.loc-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s;
}

.loc-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.loc-card h4 {
  margin: 0;
  font-size: 15px;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-weight: 600;
}

.loc-card .addr {
  font-size: 13px;
  margin: 4px 0;
  color: var(--text);
}

.loc-card .hours {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------------- Newsletter ---------------- */

.section-newsletter {
  padding-bottom: 48px;
}

.newsletter {
  position: relative;
  margin: 24px 0 0;
  padding: clamp(28px, 4vw, 40px);
  padding-right: clamp(28px, 5vw, 48px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    radial-gradient(ellipse 65% 70% at 100% -10%, rgba(212, 175, 55, 0.12), transparent 50%),
    linear-gradient(160deg, rgba(22, 25, 34, 0.99), rgba(8, 9, 12, 1));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 24px 56px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.newsletter-mark {
  position: absolute;
  top: -18px;
  right: -12px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(232, 201, 106, 0.35), transparent 55%),
    linear-gradient(145deg, rgba(212, 175, 55, 0.2), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.newsletter-mark span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: rgba(212, 175, 55, 0.22);
  letter-spacing: 0.02em;
}

.newsletter-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(28px, 4vw, 44px);
  align-items: center;
}

.newsletter-kicker {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.85);
}

.newsletter h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.newsletter-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 28rem;
}

.newsletter-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-feedback {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.45;
}

.newsletter-feedback[hidden] {
  display: none;
}

.newsletter-feedback--ok {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #bbf7d0;
}

.newsletter-feedback--err {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.newsletter-form.is-loading .btn {
  opacity: 0.65;
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.newsletter-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-fields input {
  width: 100%;
  min-width: 280px;
  min-height: 52px;
  padding: 17px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-deep);
  color: var(--text-heading);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-fields input:focus {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.newsletter-fields input::placeholder {
  color: var(--text-muted);
}

.newsletter-fields .btn {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  font-size: 15px;
}

@media (min-width: 520px) {
  .newsletter-fields {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
  }

  .newsletter-fields input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  .newsletter-fields .btn {
    width: auto;
    flex: 0 0 auto;
    min-height: 52px;
    padding: 17px 1.5rem;
    font-size: 15px;
  }
}

/* ---------------- Footer ---------------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  gap: 28px 40px;
  align-items: start;
}

.footer-col {
  text-align: left;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid .footer-brand {
    grid-column: 1 / -1;
  }
}

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

.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 28rem;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

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

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------------- Breadcrumb ---------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 0;
  margin: 0 0 12px;
}

.shell > .breadcrumb:first-child {
  padding-top: 0;
  margin-top: 0;
}

/* Okruszki — jak strony CMS (.moneo-page); bez zmian na .moneo-page */
.shell:not(.moneo-page):not(.pdp):not(.cart-page):not(.checkout-page):not(.auth-page):not(.nf-rich) {
  padding-top: 12px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.breadcrumb .sep {
  opacity: 0.5;
}

.breadcrumb .cur {
  color: var(--text-heading);
}

.breadcrumb .breadcrumb-mid[hidden] {
  display: none;
}

.shell.pdp .breadcrumb,
.shell.pdp .pdp-breadcrumb {
  padding: 0 0 18px;
  margin: 0;
  gap: 6px 8px;
  align-items: baseline;
  font-size: 12px;
}

.shell.pdp .breadcrumb .sep,
.shell.pdp .pdp-breadcrumb .sep {
  padding: 0 4px;
  user-select: none;
}

/* ---------------- Category page ---------------- */

.cat-header {
  padding: 22px 0 20px;
}

.cat-header .kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 6px;
}

.cat-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0 0 10px;
}

.cat-header p {
  margin: 0 0 18px;
  color: var(--text-muted);
  max-width: 56rem;
  font-size: 15px;
}

.cat-tabs-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}

.cat-tab:hover {
  border-color: color-mix(in srgb, var(--gold) 45%, var(--border));
  color: var(--text-heading);
}

.cat-tab.active {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, var(--bg-elevated));
  color: var(--gold);
  font-weight: 600;
}

.cat-layout.is-filter-loading [data-cat-results-grid] {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.cat-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-areas: 'filters results';
  gap: 28px;
  padding: 20px 0 48px;
  align-items: start;
}

.cat-layout > .cat-filters {
  grid-area: filters;
}

.cat-layout > section[aria-label='Wyniki'] {
  grid-area: results;
  min-width: 0;
}

@media (max-width: 900px) {
  .cat-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      'results'
      'filters';
  }
}

.cat-filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  max-height: calc(100svh - var(--header-h) - 32px);
  overflow-y: auto;
}

@media (max-width: 900px) {
  .cat-filters {
    position: static;
    max-height: none;
  }
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-heading);
}

.filter-head .clear {
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.filter-head .clear:hover {
  text-decoration: underline;
}

.filter-group {
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  user-select: none;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary svg {
  transition: transform 0.2s;
  opacity: 0.6;
}

.filter-group[open] summary svg {
  transform: rotate(180deg);
}

.filter-body {
  padding: 0 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.filter-body label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  padding: 5px 0;
  cursor: pointer;
  color: var(--text);
}

.filter-body label:hover {
  color: var(--text-heading);
}

.filter-body input[type='checkbox'],
.filter-body input[type='radio'] {
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
}

.filter-body .count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

/* weight range */
.range-weight {
  padding: 6px 18px 20px;
}

.range-weight-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.range-weight-labels strong {
  color: var(--text-heading);
  font-variant-numeric: tabular-nums;
}

.range-dual {
  position: relative;
  height: 28px;
}

.range-dual .track {
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--border-strong);
}

.range-dual .fill {
  position: absolute;
  top: 13px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.range-dual input[type='range'] {
  position: absolute;
  inset: 0;
  width: 100%;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
}

.range-dual input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #0a0b0e;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.range-dual input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #0a0b0e;
  cursor: pointer;
  pointer-events: auto;
}

.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.4;
}

.cat-toolbar .count {
  color: var(--text-muted);
  font-size: 13px;
}

.cat-toolbar .count strong {
  color: var(--text-heading);
  font-weight: 600;
}

.cat-toolbar .count strong[data-cat-count-total] {
  color: var(--text-muted);
  font-weight: 400;
}

.cat-toolbar .cat-sort {
  margin: 0;
}

.cat-toolbar .cat-sort label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.woocommerce .cat-toolbar .cat-sort select,
.cat-toolbar .cat-sort select {
  padding: 11px 40px 11px 18px;
  min-height: 0;
  line-height: 1.35;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f6f9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  color: var(--text-heading);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.woocommerce .cat-toolbar .cat-sort select:hover,
.cat-toolbar .cat-sort select:hover {
  border-color: var(--gold-dim);
  background-color: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
}

.woocommerce .cat-toolbar .cat-sort select:focus-visible,
.cat-toolbar .cat-sort select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset: 2px;
}

.cat-applied {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.cat-applied .chip-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-bright);
  font-size: 12px;
  cursor: pointer;
}

.cat-applied .chip-clear:hover {
  background: rgba(212, 175, 55, 0.2);
}

.empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

/* Long copy at bottom of category */
.cat-longcopy {
  margin-top: 36px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  line-height: 1.75;
  color: var(--text);
}

.cat-longcopy h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.cat-longcopy h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 20px 0 6px;
}

/* ---------------- Product page ---------------- */

.pdp {
  padding-top: 0;
  padding-bottom: 48px;
  box-sizing: border-box;
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
  width: 100%;
}

.shell.pdp {
  padding-top: 12px;
}

@media (min-width: 901px) {
  .shell.pdp {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(24px, 3vw, 36px);
    row-gap: 0;
    align-items: start;
  }

  .shell.pdp > .pdp-breadcrumb {
    grid-column: 1 / -1;
    padding: 0 0 20px;
  }

  .shell.pdp > .pdp-grid {
    display: contents;
  }

  .shell.pdp .pdp-gallery {
    grid-column: 1;
    grid-row: 2;
  }

  .shell.pdp .pdp-info {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .shell.pdp > .pdp-tabs,
  .shell.pdp > .section {
    grid-column: 1 / -1;
  }
}

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

.pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-main .product-badge {
  display: none;
}

.pdp-main {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: min(470px, 75vw);
  background:
    radial-gradient(circle at 40% 30%, rgba(212, 175, 55, 0.25), transparent 55%),
    linear-gradient(145deg, #1a1e27 0%, #0b0d13 100%);
  display: grid;
  place-items: center;
}

.pdp-main[data-metal='silver'] {
  background:
    radial-gradient(circle at 40% 30%, rgba(210, 220, 235, 0.3), transparent 55%),
    linear-gradient(145deg, #181d26 0%, #0b0d13 100%);
}

.pdp-main[data-metal='platinum'],
.pdp-main[data-metal='palladium'] {
  background:
    radial-gradient(circle at 40% 30%, rgba(180, 195, 215, 0.28), transparent 55%),
    linear-gradient(145deg, #141921 0%, #0a0c11 100%);
}

.pdp-coin {
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 45%),
    radial-gradient(circle at 60% 60%, var(--gold-bright), var(--gold-dim) 60%, #2a200a 100%);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.45),
    0 16px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.4);
  position: relative;
}

.pdp-coin::before {
  content: '';
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.pdp-coin[data-metal='silver'],
.pdp-coin[data-metal='platinum'],
.pdp-coin[data-metal='palladium'] {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 45%),
    radial-gradient(circle at 60% 60%, #d5dbe3, #7d8693 70%, #2a2f37 100%);
  color: rgba(0, 0, 0, 0.3);
}

.pdp-bar {
  width: 72%;
  aspect-ratio: 2/1;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-dim) 60%, #3a2e10);
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.5);
  position: relative;
}

.pdp-bar::before {
  content: '';
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

.pdp-main[data-metal='silver'] .pdp-bar {
  background: linear-gradient(145deg, #d5dbe3, #7d8693 60%, #2a2f37);
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, 76px);
  gap: 8px;
  justify-content: start;
  width: 100%;
}

.pdp-thumb {
  width: 76px;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 0;
  color: var(--text-muted);
  overflow: hidden;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 6px 5px 3px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.pdp-thumb-label {
  width: 100%;
  padding: 5px 2px 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
}

.pdp-thumb:hover {
  border-color: color-mix(in srgb, var(--gold) 45%, var(--border));
}

.pdp-thumb.active {
  border-color: var(--gold);
  color: var(--gold);
}

.pdp-thumb.active .pdp-thumb-label {
  border-top-color: var(--gold);
  color: var(--gold);
}

/* Dedykowany PDP — Moneta MONEO */
.pdp--moneo-coin {
  min-width: 0;
}

.pdp--moneo-coin .pdp-gallery,
.pdp--moneo-coin .pdp-info,
.pdp--moneo-coin .pdp-purchase,
.pdp--moneo-coin .pdp-pricebox {
  min-width: 0;
  max-width: 100%;
}

.pdp--moneo-coin .pdp-info {
  overflow-wrap: anywhere;
  overflow-x: clip;
}

.pdp--moneo-coin .pdp-purchase,
.pdp--moneo-coin .pdp-pricebox {
  overflow: hidden;
}

/* PDP slider — wspólny dla produktów z galerią (Stonex awers/rewers + Moneta MONEO). */
.pdp-gallery--slider {
  gap: 14px;
  touch-action: pan-y;
}

.pdp-gallery--slider .pdp-slider-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.pdp-gallery--slider .pdp-main {
  min-height: 0;
  aspect-ratio: 1 / 1;
  max-height: min(520px, 78vw);
  overflow: hidden;
  width: 100%;
}

.pdp-gallery--slider .pdp-main .product-image,
.pdp-gallery--slider .pdp-main .pdp-main-image {
  width: 100%;
  height: 100%;
  padding: 6%;
  box-sizing: border-box;
  transition: opacity 0.28s ease;
}

.pdp-gallery--slider .pdp-main.is-fading .product-image,
.pdp-gallery--slider .pdp-main.is-fading .pdp-main-image {
  opacity: 0;
}

.pdp-gallery--slider .pdp-main .product-image img,
.pdp-gallery--slider .pdp-main-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  background: transparent;
}

/* Tło pod monetą MONEO — radial gold (PNG/SVG z alpha). */
.pdp--moneo-coin .pdp-main {
  background:
    radial-gradient(ellipse 70% 65% at 48% 42%, rgba(232, 201, 106, 0.28), transparent 62%),
    radial-gradient(circle at 70% 78%, rgba(120, 80, 20, 0.35), transparent 48%),
    linear-gradient(160deg, #1a1408 0%, #0a0b0e 48%, #050608 100%);
  border-color: rgba(232, 201, 106, 0.22);
}

/* Detal MONEO — kadr od lewej. */
.pdp--moneo-coin .pdp-main.is-view-detal,
.pdp--moneo-coin .pdp-main[data-view='detal'] {
  place-items: stretch;
  justify-items: stretch;
}

.pdp--moneo-coin .pdp-main.is-view-detal .product-image,
.pdp--moneo-coin .pdp-main.is-view-detal .pdp-main-image,
.pdp--moneo-coin .pdp-main[data-view='detal'] .product-image,
.pdp--moneo-coin .pdp-main[data-view='detal'] .pdp-main-image {
  padding: 0 !important;
  display: block !important;
  place-items: unset;
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.pdp--moneo-coin .pdp-main.is-view-detal .product-image img,
.pdp--moneo-coin .pdp-main.is-view-detal .pdp-main-image img,
.pdp--moneo-coin .pdp-main[data-view='detal'] .product-image img,
.pdp--moneo-coin .pdp-main[data-view='detal'] .pdp-main-image img {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: auto !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: left center !important;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}

.pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb[data-view-id='detal'] .pdp-thumb-media {
  padding: 0 0 22px;
  justify-items: stretch;
  align-items: stretch;
}

.pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb[data-view-id='detal'] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.pdp-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 106, 0.35);
  background: rgba(12, 10, 6, 0.72);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s,
    transform 0.15s;
  backdrop-filter: blur(6px);
}

.pdp-slider-btn:hover {
  border-color: var(--gold);
  background: rgba(232, 201, 106, 0.12);
  color: #fff;
}

.pdp-slider-btn:active {
  transform: scale(0.96);
}

.pdp-slider-btn--prev svg {
  transform: rotate(180deg);
}

.pdp-slider-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: -2px;
}

.pdp-slider-caption {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  line-height: 1;
}

.pdp-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pdp-slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.pdp-slider-dot:hover {
  background: rgba(232, 201, 106, 0.55);
}

.pdp-slider-dot.active {
  width: 22px;
  background: var(--gold);
}

/* Filmstrip — kompaktowe kwadraty. */
.pdp-gallery--slider .pdp-thumbs--filmstrip {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scrollbar-width: thin;
}

.pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb {
  width: 88px;
  min-width: 88px;
  aspect-ratio: 1;
  min-height: 0;
  flex: 0 0 auto;
  position: relative;
  display: block;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(232, 201, 106, 0.18);
  background:
    radial-gradient(circle at 42% 36%, rgba(232, 201, 106, 0.2), transparent 58%),
    linear-gradient(155deg, #16120a, #07080b);
  overflow: hidden;
  transition:
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}

.pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb:hover {
  border-color: rgba(232, 201, 106, 0.45);
  transform: translateY(-1px);
}

.pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb.active {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(232, 201, 106, 0.35),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.pdp-gallery--slider .pdp-thumb-media {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 8px 8px 22px;
  box-sizing: border-box;
}

.pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 4px 7px;
  border: 0;
  border-top: 0;
  background: linear-gradient(to top, rgba(4, 5, 8, 0.92), transparent);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.1;
}

.pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb.active .pdp-thumb-label {
  color: var(--gold-bright);
  border-top-color: transparent;
}

.pdp--moneo-coin .pdp-tagline {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.pdp--moneo-coin .pdp-tab-panel ul {
  margin: 12px 0 0;
  padding-left: 1.15em;
}

.pdp--moneo-coin .pdp-tab-panel li {
  margin: 0 0 6px;
}

/* Panel „wkrótce” — zawsze kolumna; bez flex row / nowrap, które rozrywały pricebox. */
.pdp-preview-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.pdp-preview-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--gold-bright);
  white-space: normal;
  overflow-wrap: break-word;
}

.pdp-preview-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pdp-preview-note {
  display: block;
  margin: 4px 0 0;
  padding: 11px 14px;
  border: 1px dashed rgba(232, 201, 106, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(232, 201, 106, 0.06);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 720px) {
  .pdp-gallery--slider .pdp-main {
    max-height: min(420px, 88vw);
  }

  .pdp-gallery--slider .pdp-slider-stage {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pdp-gallery--slider .pdp-slider-btn {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
  }

  .pdp-gallery--slider .pdp-slider-btn:active {
    transform: translateY(-50%) scale(0.96);
  }

  .pdp-gallery--slider .pdp-slider-btn--prev {
    left: 8px;
  }

  .pdp-gallery--slider .pdp-slider-btn--next {
    right: 8px;
  }

  .pdp-gallery--slider .pdp-thumbs--filmstrip {
    gap: 8px;
    justify-content: flex-start;
    padding-inline: 2px;
  }

  .pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb {
    width: 76px;
    min-width: 76px;
  }

  .pdp-gallery--slider .pdp-thumbs--filmstrip .pdp-thumb-label {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
}

.pdp-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin: 8px 0 12px;
  line-height: 1.12;
  color: var(--text-heading);
}

.pdp-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.pdp-sub .sep {
  opacity: 0.55;
}

.pdp-tagline {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  max-width: 52ch;
}

.pdp-purchase {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdp-pricebox {
  padding: 18px 20px 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--border-strong) 70%, #2d343f);
  background: linear-gradient(155deg, #1a1f2b 0%, #12161f 100%);
  display: grid;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  min-width: 0;
  overflow: hidden;
}

.pdp-price-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.pdp-price-main .val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.35rem);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 0;
}

.pdp-vat-label {
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
  text-align: right;
}

.pdp-vat-line {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text-muted) 92%, #7a869a);
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pdp-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pdp-tier {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.pdp-tier span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pdp-tier strong {
  display: block;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
  color: var(--text-heading);
}

.pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}

.pdp-stock i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.pdp-stock[data-s='low'] i {
  background: #fbbf24;
}

.pdp-stock[data-s='preorder'] i {
  background: #60a5fa;
}

.pdp-stock[data-s='notify'] i {
  background: var(--danger);
}

.pdp-cart-form {
  display: grid;
  gap: 16px;
  width: 100%;
  margin: 0;
}

.pdp-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.qty-stepper button {
  width: 40px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text-heading);
  font-size: 18px;
}

.qty-stepper button:hover {
  color: var(--gold);
}

.qty-stepper input {
  width: 54px;
  border: 0;
  background: transparent;
  text-align: center;
  color: var(--text-heading);
  font: inherit;
  outline: none;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp-line-total {
  margin-left: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.pdp-total-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.pdp-line-total .pdp-line-total-value {
  font-size: 15px;
  color: var(--text-heading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pdp-actions {
  display: block;
  width: 100%;
  margin: 0;
}

.pdp-actions .btn-block,
.pdp-pricebox .single_add_to_cart_button {
  width: 100%;
  min-height: 50px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.pdp-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-usps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 12px;
  margin-top: 0;
}

.pdp-trust .pdp-footnote {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: color-mix(in srgb, var(--text-muted) 90%, #8e8e93);
}

@media (max-width: 600px) {
  .pdp-usps {
    grid-template-columns: 1fr;
  }
}

.pdp-usp {
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  align-items: center;
}

.pdp-usp svg {
  color: var(--gold-bright);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.pdp-usp-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.35;
  min-width: 0;
}

.pdp-usp-text strong {
  color: var(--text-heading);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
}

.pdp-usp-text > span {
  color: color-mix(in srgb, var(--text-muted) 90%, #8e8e93);
  font-size: 12px;
  line-height: 1.35;
}

.pdp-tabs {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  width: 100%;
}

.pdp-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}

.pdp-tab-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
}

.pdp-tab-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.pdp-tab-panel {
  padding: 14px 0 0;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  line-height: 1.7;
  color: var(--text);
}

.pdp-tab-panel > :first-child {
  margin-top: 0;
}

.pdp-tab-panel p {
  margin: 0 0 1em;
}

.pdp-tab-panel p:last-child {
  margin-bottom: 0;
}

.pdp-tab-panel ul {
  margin: 0;
  padding-left: 1.25rem;
}

.pdp-tab-panel li + li {
  margin-top: 0.35em;
}

.spec-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 24px;
  font-size: 14px;
}

.spec-grid dt {
  color: var(--text-muted);
}

.spec-grid dd {
  margin: 0;
  color: var(--text-heading);
}

/* not found */
.nf {
  padding: 80px 20px;
  text-align: center;
}
.nf h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  margin: 0 0 10px;
}

.nf-rich {
  padding-top: 12px;
  padding-bottom: 56px;
  text-align: left;
}

.nf-rich .breadcrumb {
  margin-bottom: 14px;
}

.nf-panel {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.nf-code {
  display: inline-block;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  font-weight: 500;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nf-panel h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--text-heading);
}

.nf-lead {
  color: var(--text-muted);
  margin: 0 auto 20px;
  max-width: 480px;
}

.nf-path {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.nf-path code {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  word-break: break-all;
}

.nf-search {
  max-width: 420px;
  margin: 0 auto 24px;
}

.nf-search .search-inline {
  width: 100%;
}

.nf-ctas {
  justify-content: center;
  flex-wrap: wrap;
}

.nf-suggestions {
  margin-top: 8px;
}

.nf-suggestions .section-head h2 {
  font-size: 1.35rem;
}

/* Cookie banner (RODO) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 16px 12px;
  background: rgba(10, 12, 18, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.cookie-banner-title {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--text-heading);
  font-size: 15px;
}

.cookie-banner-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.45;
}

.cookie-banner-desc a {
  color: var(--gold-bright);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------------- Mobile scroll lock ---------------- */

body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

/* ---------------- Mobile drawer / overlays ---------------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 90;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 380px);
  background: var(--bg-deep);
  border-left: 1px solid var(--border-strong);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.6);
  padding-bottom: env(safe-area-inset-bottom);
  visibility: visible;
}

.mobile-drawer.open {
  transform: translateX(0);
}

@media (min-width: 901px) {
  .mobile-drawer,
  .mobile-nav-backdrop {
    display: none !important;
  }
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.brand-compact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-heading);
}

.brand-compact .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 18px;
  border-radius: 8px;
}

.brand-compact > span:last-child {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.search-mobile {
  margin: 12px 16px 8px;
  display: flex;
}

.mobile-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 18px 20px;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-drawer-cat-list > li {
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-cat-list > li:last-child {
  border-bottom: none;
}

.mobile-drawer-cat-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 16px 4px;
  text-decoration: none;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-drawer-cat-item:active,
.mobile-drawer-cat-item:hover {
  color: var(--gold-bright);
}

.mobile-drawer-catlabel {
  flex: 1;
  min-width: 0;
}

.mobile-drawer-catchips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mobile-drawer-foot {
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Search overlay */

.search-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 80;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
}

.search-overlay.open {
  transform: translateY(0);
}

@media (min-width: 901px) {
  .search-overlay {
    display: none !important;
  }
}

.search-overlay-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
}

.search-overlay-head .search {
  flex: 1;
  margin: 0;
}

.search-overlay-body {
  padding: 20px 16px;
  overflow-y: auto;
}

.search-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.search-quick a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}

.search-quick a:active,
.search-quick a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 900px) {
  main {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .shell {
    padding-inline: calc(22px + env(safe-area-inset-left, 0px)) calc(22px + env(safe-area-inset-right, 0px));
  }

  .ticker {
    display: none;
  }

  .footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .hero-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 34px 18px 68px;
    gap: 24px;
  }

  .hero-slide > div:first-child {
    max-width: 36rem;
    margin-inline: auto;
  }

  .hero-slide h1 {
    margin-inline: auto;
    text-align: center;
    max-width: min(22ch, 100%);
  }

  .hero-lead {
    margin-inline: auto;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    width: min(210px, 72vw);
    margin-inline: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .mobile-drawer-head {
    padding: calc(12px + env(safe-area-inset-top, 0px)) calc(18px + env(safe-area-inset-right, 0px)) 12px
      calc(18px + env(safe-area-inset-left, 0px));
  }

  /* Kolumna wyników: dziedziczenie od lewej (np. pod hero z text-align: center) */
  .cat-layout > section[aria-label='Wyniki'] {
    text-align: start;
  }

  .cat-toolbar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: start;
    gap: 10px;
  }

  .cat-toolbar .count {
    order: -1;
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: start;
    align-self: stretch;
  }

  .cat-toolbar .filter-trigger {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: center;
    align-self: stretch;
    text-align: start;
  }

  .cat-toolbar .cat-sort {
    width: 100%;
    max-width: 100%;
  }

  .cat-toolbar .cat-sort label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    text-align: start;
    font-weight: 400;
    color: var(--text-muted);
  }

  .woocommerce .cat-toolbar .cat-sort label select,
  .cat-toolbar .cat-sort label select {
    width: 100%;
    border-radius: 999px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .section-head p {
    max-width: none;
  }

  .section-head .link-more {
    white-space: normal;
    align-self: flex-start;
  }

  .shell.pdp .breadcrumb .cur {
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

}

/* ---------------- Search visibility by viewport ---------------- */

@media (max-width: 900px) {
  .search-desktop {
    display: none;
  }

  .icon-btn-desktop {
    display: none;
  }
}

@media (min-width: 901px) {
  .icon-btn-mobile {
    display: none;
  }
}

/* ---------------- Category filters as mobile drawer ---------------- */

.filter-drawer-head,
.filter-drawer-foot {
  display: none;
}

@media (max-width: 900px) {
  .cat-filters {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(92vw, 400px);
    max-height: none;
    z-index: 80;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    border-radius: 0;
    border-left: 1px solid var(--border-strong);
    background: var(--bg-deep);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cat-filters.drawer-open {
    transform: translateX(0);
  }

  .filter-drawer-head {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    background: var(--bg-deep);
    z-index: 2;
  }

  .filter-drawer-foot {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--bg-deep);
    z-index: 2;
  }

  .filter-drawer-foot .btn {
    padding: 14px 16px;
  }

  /* The original filter-head (desktop) becomes hidden on mobile (we use drawer head) */
  .cat-filters > .filter-head {
    display: none;
  }
}

/* Filter trigger button in toolbar */
.filter-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-heading);
  font: inherit;
  font-weight: 600;
  font-size: 13px;
}

.filter-trigger:active {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-dim);
}

@media (max-width: 900px) {
  .filter-trigger {
    display: flex;
  }
}

/* ---------------- Mobile fine-tuning ---------------- */

@media (max-width: 700px) {
  .shell {
    padding-inline: calc(20px + env(safe-area-inset-left, 0px)) calc(20px + env(safe-area-inset-right, 0px));
  }

  /* smaller hero */
  .hero {
    padding: 18px 0 40px;
  }
  .hero-slider {
    min-height: 460px;
    border-radius: 16px;
  }
  .hero-slide {
    padding: 26px 20px 64px;
    gap: 22px;
  }
  .hero-slide h1 {
    font-size: 1.6rem;
  }
  .hero-lead {
    font-size: 14px;
  }
  .hero-kicker {
    font-size: 10.5px;
    letter-spacing: 0.16em;
  }
  .hero-cta .btn {
    padding: 11px 18px;
    font-size: 13px;
  }
  .hero-stats {
    margin-top: 18px;
    padding-top: 14px;
    gap: 14px;
    justify-content: center;
  }
  .hero-stats div strong {
    font-size: 1.2rem;
  }
  .hero-visual {
    width: 170px;
  }

  /* header compact */
  .header-row {
    padding-top: 2px;
    padding-bottom: 12px;
    gap: 10px;
  }
  .header-row .brand-text span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .brand-text span:first-child {
    font-size: 18px;
  }
  .brand-text span:last-child {
    font-size: 9.5px;
  }
  .icon-btn {
    padding: 8px 9px;
  }

  /* section spacing */
  .section {
    padding: 26px 0;
  }
  .section-head h2 {
    font-size: 1.4rem;
  }
  .section-head p {
    font-size: 13.5px;
  }

  /* category header */
  .cat-header h1 {
    font-size: 1.7rem;
  }
  .cat-header p {
    font-size: 14px;
  }

  .cat-toolbar {
    padding: 12px 16px;
    font-size: 12.5px;
  }
  .cat-toolbar .count {
    font-size: 12.5px;
  }
  .woocommerce .cat-toolbar .cat-sort select,
  .cat-toolbar .cat-sort select {
    padding: 11px 36px 11px 16px;
    line-height: 1.35;
    font-size: 13px;
    border-radius: 999px;
    background-position: right 12px center;
    background-size: 16px 16px;
  }

  /* product card compact */
  .product-body {
    padding: 10px 12px 12px;
    gap: 6px;
  }
  .product-body h3 {
    font-size: 13.5px;
  }
  .product-price .value {
    font-size: 16px;
  }
  .btn-cart {
    padding: 10px;
    font-size: 12.5px;
  }

  /* PDP */
  .shell.pdp {
    display: block;
  }

  .pdp {
    padding-top: 0;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }
  .shell.pdp .breadcrumb,
  .shell.pdp .pdp-breadcrumb {
    padding: 0 0 14px;
    font-size: 11.5px;
    gap: 6px 8px;
  }
  .shell.pdp .breadcrumb .cur {
    overflow-wrap: anywhere;
    line-height: 1.35;
  }
  .pdp-grid {
    gap: 22px;
  }
  .pdp-gallery {
    gap: 14px;
  }
  .pdp-main {
    border-radius: 14px;
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .pdp-info h1 {
    font-size: 1.55rem;
    line-height: 1.18;
    margin-top: 4px;
  }
  .pdp-sub {
    font-size: 11.5px;
    gap: 8px;
    line-height: 1.45;
  }
  .pdp-tagline {
    margin: 14px 0 18px;
    font-size: 14px;
    line-height: 1.55;
  }
  .pdp-thumbs {
    grid-template-columns: repeat(auto-fill, 68px);
  }

  .pdp-thumb {
    width: 68px;
    border-radius: 9px;
  }

  .pdp-thumb img {
    padding: 5px 4px 2px;
  }

  .pdp-thumb-label {
    padding: 4px 2px 5px;
    font-size: 8.5px;
  }
  .pdp-tabs {
    margin-top: 26px;
    padding-top: 22px;
  }
  .pdp-pricebox {
    padding: 18px 16px;
    border-radius: calc(var(--radius) + 2px);
  }
  .pdp-price-main .val {
    font-size: 1.75rem;
  }
  .pdp-tiers {
    grid-template-columns: 1fr 1fr;
  }
  .pdp-tiers .pdp-tier:last-child {
    grid-column: span 2;
  }
  .pdp-actions .btn-block {
    min-height: 48px;
    font-size: 15px;
  }
  .pdp-usps {
    gap: 10px;
  }
  .pdp-usp {
    padding: 12px 10px;
  }
  .pdp-tabs-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 -4px;
    padding: 4px 4px 8px;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 4px;
  }
  .pdp-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .pdp-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 11px 18px;
    font-size: 13px;
  }
  .pdp-tab-panel {
    padding-top: 16px;
    font-size: 14px;
  }
  .shell.pdp > .section {
    padding-top: 8px;
    padding-bottom: 28px;
  }
  .shell.pdp > .section .section-head {
    margin-bottom: 16px;
  }

  /* VIP banner tighter */
  .vip-banner {
    padding: 22px 18px;
  }
  .vip-stat {
    grid-template-columns: 1fr 1fr;
  }
  .vip-stat div:first-child {
    grid-column: span 2;
  }

  /* newsletter stacks */
  .newsletter {
    padding: 22px 18px;
  }
  .newsletter-body {
    grid-template-columns: 1fr;
  }
  .newsletter h3 {
    max-width: none;
  }
  .newsletter-cta {
    padding: 18px 16px;
  }

  /* home tile smaller */
  .home-tile {
    min-height: 160px;
    padding: 18px;
  }
  .home-tile h3 {
    font-size: 1.25rem;
  }

  .why-card {
    padding: 18px 16px;
  }
  .why-card h3 {
    font-size: 1.05rem;
  }

  .cat-longcopy {
    margin-top: 24px;
    padding: 18px 16px;
  }

  .cat-longcopy h2 {
    font-size: 1.25rem;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
    font-size: 12px;
    line-height: 1.45;
  }

  .footer-bottom span {
    overflow-wrap: anywhere;
  }

  .cookie-banner {
    padding: 14px calc(12px + env(safe-area-inset-right, 0px))
      calc(14px + env(safe-area-inset-bottom, 0px)) calc(12px + env(safe-area-inset-left, 0px));
  }

  .home-bar-savings-panel {
    padding: 22px 18px;
  }

  .home-bar-savings-panel .newsletter-copy h3 {
    font-size: 1.35rem;
  }

  /* nav feature hidden in mobile drawer – not applicable */
}

@media (max-width: 420px) {
  .header-row .brand-text span:last-child {
    display: none;
  }

  .hero-slide h1 {
    font-size: 1.45rem;
  }
  .hero-slide {
    padding: 22px 16px 58px;
  }
  .hero-stats {
    gap: 10px;
  }
  .hero-stats div strong {
    font-size: 1.05rem;
  }

  /* two-column product grid stays but smaller gap */
  .product-grid,
  .product-grid.cols-3 {
    gap: 10px;
  }

  .pdp-thumbs {
    grid-template-columns: repeat(auto-fill, 64px);
    gap: 6px;
  }

  .pdp-thumb {
    width: 64px;
  }
}

/* ---------------- Cart + Checkout ---------------- */

.cart-page {
  padding-block: 12px 60px;
}

.cart-page > .breadcrumb {
  padding-top: 0;
  margin: 0 0 10px;
}

.cart-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.cart-empty {
  margin-top: 28px;
  padding: 48px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.cart-empty h1 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  margin: 0 0 8px;
}

.cart-empty p {
  color: var(--text-muted);
  margin: 0 0 24px;
}

.cart-empty-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cart-page .cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-template-rows: auto auto;
  column-gap: 32px;
  row-gap: 12px;
  align-items: start;
}

.cart-page .cart-grid > .cart-items-head {
  grid-column: 1;
  grid-row: 1;
}

.cart-page .cart-grid > .woocommerce-cart-form {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.cart-page .cart-grid > .cart-summary {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-items-head {
  display: grid;
  grid-template-columns: 96px 1fr 140px 120px 32px;
  gap: 18px;
  align-items: end;
  padding: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-items-head .cart-col-product {
  grid-column: 1;
  justify-self: start;
  text-align: left;
}

.cart-items-head .cart-col-qty {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

.cart-items-head .cart-col-total {
  grid-column: 4;
  text-align: right;
}

.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr 140px 120px 32px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cart-thumb {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  text-decoration: none;
  background: linear-gradient(145deg, #1c2029, #0e1015);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.cart-thumb[data-metal='gold'] {
  background:
    radial-gradient(circle at 32% 32%, rgba(232, 201, 106, 0.55), transparent 60%),
    linear-gradient(145deg, #2a200d, #0e0a02);
}
.cart-thumb[data-metal='silver'] {
  background:
    radial-gradient(circle at 32% 32%, rgba(210, 220, 235, 0.5), transparent 55%),
    linear-gradient(145deg, #1e242c, #0a0d12);
}
.cart-thumb[data-metal='platinum'],
.cart-thumb[data-metal='palladium'] {
  background:
    radial-gradient(circle at 32% 32%, rgba(180, 195, 215, 0.5), transparent 55%),
    linear-gradient(145deg, #121820, #0a0d12);
}

.cart-thumb-coin {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: #0a0b0e;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-dim));
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.cart-thumb[data-metal='silver'] .cart-thumb-coin {
  background: linear-gradient(145deg, #e8ecf2, #8a93a3);
}
.cart-thumb[data-metal='platinum'] .cart-thumb-coin,
.cart-thumb[data-metal='palladium'] .cart-thumb-coin {
  background: linear-gradient(145deg, #d8dde5, #767f90);
}

.cart-thumb-bar {
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  color: #0a0b0e;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-dim));
  font-size: 14px;
}

.cart-thumb[data-metal='silver'] .cart-thumb-bar {
  background: linear-gradient(145deg, #e8ecf2, #8a93a3);
}

.cart-thumb-acc {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
}

.cart-info {
  min-width: 0;
}

.cart-name {
  display: block;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.35;
}

.cart-name:hover {
  color: var(--gold-bright);
}

.cart-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-unit {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text);
}

.cart-qty {
  display: flex;
  justify-content: flex-start;
}

.cart-line-total {
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--text-heading);
  font-size: 16px;
}

.cart-remove {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.cart-remove:hover {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.08);
}

.cart-continue {
  margin-top: 8px;
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  max-height: calc(100svh - var(--header-h) - 56px);
  overflow-y: auto;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, var(--border));
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.cart-summary h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 14px;
}

.cart-summary-list {
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.cart-summary-list dt {
  color: var(--text-muted);
  margin: 0;
}

.cart-summary-list dd {
  margin: 0;
  color: var(--text-heading);
  font-variant-numeric: tabular-nums;
}

.cart-total {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 17px !important;
}

.cart-total dt {
  color: var(--text-heading) !important;
  font-weight: 600;
}

.cart-total dd {
  font-weight: 700;
  color: var(--gold-bright) !important;
  font-size: 20px;
}

.cart-free-hint {
  margin: 14px 0 16px;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text);
}

.cart-free-hint strong {
  color: var(--gold-bright);
}

.cart-free-hint-ok {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.25);
  color: #86efac;
}

.cart-checkout-btn {
  margin-bottom: 16px;
  font-size: 15px;
  padding: 15px 22px;
}

.cart-checkout-btn:hover {
  transform: translateY(-1px);
}

.cart-usps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-usps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.cart-usps svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Checkout */

.checkout-page form.checkout.woocommerce-checkout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.checkout-page .checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  column-gap: 32px;
  align-items: start;
  width: 100%;
}

.checkout-page .checkout-main {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.checkout-page .checkout-main > .checkout-section {
  padding: 16px 18px;
}

.checkout-page .checkout-section .moneo-checkout-fields + .moneo-checkout-fields {
  margin-top: 2px;
}

.checkout-page .checkout-section .moneo-invoice-toggle {
  margin-top: 10px;
}

.checkout-page .checkout-summary {
  grid-column: 2;
  min-width: 0;
}

.checkout-section {
  padding: 20px 20px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.checkout-section > h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 14px;
  color: var(--text-heading);
}

/* .form-row — tylko poza checkoutem (w checkout używamy .moneo-checkout-fields) */
.auth-layout .form-row,
.moneo-edit-address-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.form-row {
  margin-bottom: 12px;
}

.form-row-2-3 {
  grid-template-columns: minmax(0, 180px) 1fr;
}

.form-full {
  display: block;
  margin-bottom: 12px;
}

.checkout-main label {
  display: block;
  min-width: 0;
}

.checkout-main label:not(.option) > span:not(.required):not(.optional) {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.checkout-main input,
.checkout-main textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-heading);
  font: inherit;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.checkout-main input:focus,
.checkout-main textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
  background: rgba(212, 175, 55, 0.06);
}

.checkout-main input[aria-invalid='true'],
.checkout-main textarea[aria-invalid='true'] {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(248, 113, 113, 0.05);
}

.form-err {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-style: normal;
  color: #fca5a5;
}

.form-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.form-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-top: 10px;
}

.form-checkbox input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.form-checkbox > span {
  display: inline !important;
  font-size: 13.5px !important;
  color: var(--text) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  line-height: 1.5;
}

.form-checkbox a {
  color: var(--gold-bright);
}

.form-checkbox-err {
  color: #fca5a5;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.option:hover {
  border-color: var(--border-strong);
}

.option.active {
  border-color: var(--gold-dim);
  background: rgba(212, 175, 55, 0.07);
}

.option input[type='radio'] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.checkout-main .option > .option-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  margin: 0;
  font-size: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: inherit;
}

.checkout-main .option .option-title {
  display: block;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.checkout-main .option .option-sub {
  display: block;
  color: var(--text-muted);
  font-size: 12.5px;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  line-height: 1.45;
}

.checkout-main .option > .option-price {
  display: block;
  margin: 0;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold-bright);
  font-weight: 600;
}

.option-price {
  font-weight: 600;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Checkout summary */

.checkout-summary {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  max-height: calc(100svh - var(--header-h) - 56px);
  overflow-y: auto;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, var(--border));
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.checkout-summary h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 14px;
}

.checkout-summary .cart-summary-list {
  margin-bottom: 14px;
}

.checkout-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.checkout-lines li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: start;
  font-size: 13px;
}

.checkout-line-name {
  color: var(--text);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.checkout-line-qty {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}


.checkout-line-price {
  color: var(--text-heading);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.checkout-submit {
  margin-top: 16px;
}

.checkout-secure {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.pdp-goto-cart {
  margin-top: 10px;
}

/* Order confirmed */

.order-done {
  max-width: 560px;
  margin: 28px auto;
  padding: 48px 28px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.order-done-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  color: #0a0b0e;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-dim));
  box-shadow: 0 10px 30px var(--gold-glow);
}

.order-done h1 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  margin: 0 0 12px;
}

.order-done-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 15px;
  color: var(--text);
  margin: 0 0 16px;
}

.order-done-lead strong {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.order-done p {
  color: var(--text-muted);
  margin: 0 auto 22px;
  max-width: 420px;
}

.cart-cross-sells {
  margin-top: 40px;
  padding-top: 8px;
}

.order-thankyou-page .order-thankyou-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}

.order-done-rich {
  max-width: none;
  margin: 0;
  text-align: left;
  padding: 36px 32px;
  min-width: 0;
}

.order-done-rich .order-done-badge {
  margin: 0 0 18px;
}

.order-done-rich h1,
.order-done-rich .order-done-title {
  text-align: left;
}

.order-done-intro,
.order-done-rich .order-done-lead {
  text-align: left;
  max-width: none;
}

.order-done-status {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  vertical-align: middle;
  flex-shrink: 0;
}

.order-done-lead-main {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.order-done-lead-sep {
  color: var(--text-muted);
}

.order-done-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.2;
}

.order-done-rich .order-done-title {
  text-align: left;
}

.order-section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--text-heading);
}

.order-thankyou-notice {
  text-align: left;
  margin: 0 0 20px;
  max-width: none;
}

.order-thankyou-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}

.order-thankyou-steps li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.order-thankyou-steps li:last-child {
  border-bottom: none;
}

.order-thankyou-steps li strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.order-thankyou-steps li.is-done .order-step-marker {
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.order-step-marker {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--border);
}

.order-thankyou-ctas {
  justify-content: flex-start;
}

.order-thankyou-details {
  position: sticky;
  top: 100px;
  min-width: 0;
}

.order-thankyou-details > h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 16px;
}

.order-thankyou-lines {
  margin-bottom: 16px;
}

.order-thankyou-lines .order-thankyou-line {
  grid-template-columns: 52px 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
}

.checkout-line-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #1c2029, #0e1015);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.checkout-line-thumb[data-metal='gold'] {
  background:
    radial-gradient(circle at 32% 32%, rgba(232, 201, 106, 0.45), transparent 60%),
    linear-gradient(145deg, #2a200d, #0e0a02);
}

.checkout-line-thumb[data-metal='silver'] {
  background:
    radial-gradient(circle at 32% 32%, rgba(210, 220, 235, 0.4), transparent 55%),
    linear-gradient(145deg, #1e242c, #0a0d12);
}

.checkout-line-thumb[data-metal='platinum'],
.checkout-line-thumb[data-metal='palladium'] {
  background:
    radial-gradient(circle at 32% 32%, rgba(180, 195, 215, 0.4), transparent 55%),
    linear-gradient(145deg, #121820, #0a0d12);
}

.checkout-line-thumb-media {
  width: 100%;
  height: 100%;
}

.checkout-line-thumb .product-image img {
  max-width: 86%;
  max-height: 86%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.checkout-line-name-link {
  color: inherit;
  text-decoration: none;
}

.checkout-line-name-link:hover {
  color: var(--gold-bright);
}

.order-thankyou-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

.order-thankyou-meta > p {
  margin: 0 0 10px;
}

.order-thankyou-meta strong {
  color: var(--text);
}

.order-thankyou-address {
  margin: 0 0 10px;
}

.order-thankyou-address strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.order-thankyou-address address {
  font-style: normal;
  line-height: 1.55;
  color: var(--text-muted);
}

.order-thankyou-footnote {
  margin-top: 16px;
}

.order-done-badge--pending {
  background: linear-gradient(145deg, #e8b84a, #c4922e);
}

.order-done-badge--progress {
  background: linear-gradient(145deg, var(--gold-dim), #8a6f2a);
  font-size: 22px;
  letter-spacing: 0.12em;
}

.order-thankyou-shipping-status {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  color: var(--text-muted);
}

.order-thankyou-shipping-status p {
  margin: 0 0 8px;
  max-width: none;
}

.order-thankyou-shipping-status p:last-child {
  margin-bottom: 0;
}

.order-thankyou-shipping-status strong {
  color: var(--text);
}

.order-tracking-code {
  display: inline-block;
  margin-top: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: var(--gold-bright);
  word-break: break-all;
}

.order-view-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.order-view-order-actions .woocommerce-message,
.order-view-order-actions .woocommerce-info {
  margin: 0 0 12px;
  width: 100%;
}

.moneo-order-notes-block {
  margin-bottom: 24px;
}

.moneo-order-notes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.moneo-order-notes li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

.moneo-order-notes li:last-child {
  border-bottom: none;
}

.moneo-order-notes .moneo-order-note-body,
.moneo-order-notes .moneo-order-note-body p {
  margin: 0 0 6px;
  color: var(--text);
}

.moneo-order-notes .moneo-order-note-body p:last-child {
  margin-bottom: 0;
}

.moneo-order-notes time {
  font-size: 12px;
  color: var(--text-muted);
}


.order-thankyou-page--account .order-thankyou-layout {
  margin-top: 0;
}

/* Instrukcje płatności (BACS itd.) pod własnym layoutem */
.order-thankyou-page .woocommerce-order-overview,
.order-thankyou-page .woocommerce-bacs-bank-details,
.order-thankyou-page .woocommerce-info {
  margin: 20px 0 0;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@media (max-width: 980px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .cart-page {
    padding-block: 10px 40px;
  }
  .cart-page .cart-grid,
  .checkout-page .checkout-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 20px;
  }

  .checkout-page .checkout-main,
  .checkout-page .checkout-summary {
    grid-column: 1;
    grid-row: auto;
  }

  .cart-page .cart-grid > .cart-items-head,
  .cart-page .cart-grid > .woocommerce-cart-form,
  .cart-page .cart-grid > .cart-summary {
    grid-column: 1;
    grid-row: auto;
  }

  .cart-summary,
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .cart-page,
  .checkout-page {
    padding-block: 8px calc(32px + env(safe-area-inset-bottom, 0px));
  }

  .cart-h1 {
    font-size: 1.7rem;
    margin: 0 0 16px;
  }

  .cart-items-head {
    display: none;
  }

  /* Cart row — 2x2 compact layout */
  .cart-row {
    grid-template-columns: 72px 1fr auto;
    grid-template-areas:
      'thumb info remove'
      'thumb qty total';
    gap: 10px 12px;
    padding: 12px;
  }
  .cart-thumb {
    grid-area: thumb;
    width: 72px;
    height: 72px;
    align-self: start;
  }
  .cart-info {
    grid-area: info;
    min-width: 0;
  }
  .cart-name {
    font-size: 14px;
    line-height: 1.3;
  }
  .cart-meta {
    font-size: 11px;
  }
  .cart-unit {
    font-size: 12px;
    margin-top: 4px;
  }
  .cart-qty {
    grid-area: qty;
    justify-content: flex-start;
  }
  .cart-qty .qty-stepper {
    width: auto;
  }
  .cart-qty .qty-stepper button {
    min-width: 32px;
    height: 32px;
  }
  .cart-qty .qty-stepper input {
    width: 40px;
    height: 32px;
  }
  .cart-line-total {
    grid-area: total;
    text-align: right;
    align-self: center;
    font-size: 15px;
    white-space: nowrap;
  }
  .cart-remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
    width: 28px;
    height: 28px;
  }
  .cart-thumb-coin {
    width: 48px;
    height: 48px;
    font-size: 14px;
  }
  .cart-thumb-bar {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* Summary boxes */
  .cart-summary,
  .checkout-summary {
    padding: 18px;
  }
  .cart-summary h2,
  .checkout-summary h2 {
    font-size: 1.25rem;
  }
  .cart-total {
    font-size: 16px !important;
  }
  .cart-total dd {
    font-size: 18px;
  }

  /* Cart empty state */
  .cart-empty {
    padding: 32px 18px;
    margin-top: 16px;
  }
  .cart-empty h1 {
    font-size: 1.6rem;
  }
  .cart-empty-ctas .btn {
    flex: 1;
    min-width: 0;
  }

  /* Checkout form */
  .auth-layout .form-row,
  .moneo-edit-address-form .form-row,
  .form-row-2-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .checkout-section {
    padding: 16px;
  }
  .checkout-section > h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  .checkout-main input,
  .checkout-main textarea {
    padding: 11px 12px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }
  .option {
    padding: 12px 14px;
    gap: 10px;
  }
  .checkout-main .option {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .checkout-main .option > .option-body {
    flex: 1 1 calc(100% - 34px);
  }
  .checkout-main .option > .option-price {
    flex: 1 1 100%;
    padding-left: 32px;
    text-align: left;
  }
  .option-title {
    font-size: 13.5px;
  }
  .option-sub {
    font-size: 12px;
  }

  .checkout-page .breadcrumb {
    font-size: 11.5px;
    gap: 4px 6px;
  }

  /* Checkout summary lines */
  .checkout-lines li {
    grid-template-columns: 28px 1fr auto;
    font-size: 12.5px;
  }

  /* Sticky mobile CTA for checkout submit */
  .checkout-submit {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  }

  /* PDP — after adding to cart, stacked CTAs */
  .pdp-goto-cart {
    margin-top: 8px;
  }

  /* Order confirmed — RWD */
  .order-thankyou-page .order-thankyou-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .order-thankyou-details {
    position: static;
  }

  .order-done,
  .order-done-rich {
    padding: 28px 18px;
    margin: 0;
  }

  .order-done-title,
  .order-done h1 {
    font-size: 1.55rem;
  }

  .order-done-badge {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 14px;
  }

  .order-done-lead {
    font-size: 14px;
  }

  .order-thankyou-steps {
    margin-bottom: 20px;
  }

  .order-thankyou-steps li {
    font-size: 13px;
    gap: 10px;
    padding: 10px 0;
  }

  .order-thankyou-shipping-status {
    padding: 12px 14px;
    font-size: 13px;
  }

  .order-thankyou-ctas,
  .order-done .cart-empty-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .order-thankyou-ctas .btn,
  .order-done .cart-empty-ctas .btn {
    flex: 1 1 auto;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .order-view-order-actions {
    flex-direction: column;
  }

  .order-view-order-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .order-thankyou-page .woocommerce-order-overview,
  .order-thankyou-page .woocommerce-bacs-bank-details,
  .order-thankyou-page .woocommerce-info {
    padding: 14px 16px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .order-thankyou-page.shell {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .order-done-rich {
    padding: 22px 16px;
  }

  .order-done-title {
    font-size: 1.4rem;
  }

  .order-done-status {
    font-size: 11px;
    padding: 2px 8px;
  }

  .order-thankyou-meta {
    font-size: 13px;
  }

  .order-thankyou-lines .order-thankyou-line {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas:
      "thumb name price"
      "thumb qty price";
    column-gap: 10px;
    row-gap: 2px;
    align-items: start;
  }

  .order-thankyou-lines .checkout-line-thumb {
    grid-area: thumb;
    width: 48px;
    height: 48px;
  }

  .order-thankyou-lines .checkout-line-name {
    grid-area: name;
  }

  .order-thankyou-lines .checkout-line-qty {
    grid-area: qty;
  }

  .order-thankyou-lines .checkout-line-price {
    grid-area: price;
    align-self: center;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .cart-row {
    grid-template-columns: 60px 1fr auto;
    gap: 8px 10px;
  }
  .cart-thumb {
    width: 60px;
    height: 60px;
  }
  .cart-thumb-coin {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }
  .cart-qty .qty-stepper button {
    min-width: 28px;
    height: 28px;
  }
  .cart-qty .qty-stepper input {
    width: 32px;
    height: 28px;
  }
  .cart-empty-ctas {
    flex-direction: column;
  }
  .cart-empty-ctas .btn {
    width: 100%;
  }
}

.shipping-footnote {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.cat-header-footnote {
  margin-top: 0.75rem;
}

.hero-shipping-footnote {
  margin-top: 1rem;
  padding: 0 0.25rem;
}

.footer-footnote {
  margin-top: 0.75rem;
}

.cart-footnote {
  margin-top: 0.75rem;
}

.checkout-footnote {
  margin-top: 0.75rem;
}

/* —— Zbieranie na sztabkę —— */
.bar-savings-viz {
  --bar-progress: 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.bar-savings-viz__stage {
  position: relative;
  width: min(220px, 100%);
  overflow: hidden;
}

.bar-savings-viz:not(.bar-savings-viz--home) .bar-savings-viz__glow {
  display: none;
}

.bar-savings-viz:not(.bar-savings-viz--home) .bar-savings-viz__bar {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.12),
    inset 0 -8px 24px rgba(0, 0, 0, 0.45);
}

.bar-savings-viz__glow {
  position: absolute;
  inset: -18% -12%;
  background: radial-gradient(ellipse at 50% 70%, rgba(212, 175, 55, 0.35), transparent 65%);
  pointer-events: none;
}

.bar-savings-viz__bar {
  position: relative;
  width: 100%;
  aspect-ratio: 0.42;
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(145deg, #4a4030 0%, #2a2418 40%, #1a1610 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.12),
    inset 0 -8px 24px rgba(0, 0, 0, 0.45),
    0 24px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.bar-savings-viz__fill {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 10%;
  height: 78%;
  border-radius: 8px 8px 6px 6px;
  overflow: hidden;
  clip-path: inset(calc(100% - var(--bar-progress)) 0 0 0);
  transition: clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-savings-viz__liquid {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    #f5e6a8 0%,
    #d4af37 28%,
    #b8942e 55%,
    #8b6914 100%
  );
  box-shadow: inset 0 4px 12px rgba(255, 255, 255, 0.35);
  animation: bar-savings-shimmer 3s ease-in-out infinite;
}

@keyframes bar-savings-shimmer {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

.bar-savings-viz__face {
  position: absolute;
  inset: 12% 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

.bar-savings-viz__fineness {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.06em;
}

.bar-savings-viz__brand {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.85);
}

.bar-savings-viz__weight {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
}

.bar-savings-viz__shine {
  position: absolute;
  top: 0;
  left: 15%;
  width: 28%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-12deg);
  pointer-events: none;
  z-index: 3;
}

.bar-savings-viz__pct {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.bar-savings-viz__pct strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-bright);
  line-height: 1.1;
}

.bar-savings-viz__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.bar-savings-viz__metric {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  text-align: center;
}

.bar-savings-viz__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-heading);
}

.bar-savings-viz__metric span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.bar-savings-viz__hint,
.bar-savings-viz__ready {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
  max-width: 28rem;
}

.bar-savings-viz__ready {
  color: var(--gold-bright);
  font-weight: 500;
}

.bar-savings-viz--complete .bar-savings-viz__bar {
  border-color: var(--gold);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.15),
    0 0 32px rgba(212, 175, 55, 0.35);
}

.bar-savings-viz--compact .bar-savings-viz__stage {
  width: min(180px, 100%);
}

.bar-savings-viz--compact .bar-savings-viz__hint {
  display: none;
}

.home-bar-savings-panel {
  margin: 0;
  padding: clamp(36px, 4.5vw, 48px) clamp(32px, 5vw, 52px);
  overflow: hidden;
  isolation: isolate;
}

.home-bar-savings-panel .newsletter-mark {
  top: 20px;
  right: 20px;
  width: 88px;
  height: 88px;
}

.home-bar-savings-panel .newsletter-mark span {
  font-size: 2.4rem;
}

.home-bar-savings-body {
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: 260px;
}

.home-bar-savings-panel .newsletter-copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  max-width: 22ch;
  margin-bottom: 14px;
}

.home-bar-savings-panel .newsletter-lead {
  font-size: 15px;
  line-height: 1.55;
  max-width: 38rem;
}

.home-bar-savings__cta {
  margin-top: 24px;
}

.home-bar-savings__viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 8px 0;
  min-width: 220px;
}

.home-bar-savings__viz .bar-savings-viz {
  width: 100%;
  max-width: 208px;
}

.home-bar-savings__viz .bar-savings-viz__stage {
  width: 100%;
  max-width: 208px;
  margin: 0 auto;
}

/* Strona główna: sama sztabka (bez bloku wypełnienia), bez cienia na zewnątrz */
.home-bar-savings__viz .bar-savings-viz__glow {
  display: none;
}

.home-bar-savings__viz .bar-savings-viz__fill {
  display: none;
}

.home-bar-savings__viz .bar-savings-viz__bar {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.12),
    inset 0 -6px 18px rgba(0, 0, 0, 0.4);
  background: linear-gradient(165deg, #5c4e2a 0%, #3d3420 28%, #2a2418 55%, #1a1610 100%);
}

.home-bar-savings__viz .bar-savings-viz__pct,
.home-bar-savings__sample {
  display: none;
}

@media (max-width: 900px) {
  .home-bar-savings-panel {
    padding: 28px 24px;
  }

  .home-bar-savings-body {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
  }

  .home-bar-savings__viz {
    order: -1;
    padding: 4px 0 8px;
    min-width: 0;
    width: 100%;
  }

  .home-bar-savings__cta .btn {
    width: 100%;
  }
}

