/*
Theme Name: Premium Cell Hunter
Theme URI: https://premiumcellhunter.com/
Description: Motyw potomny Shoptimizer przygotowany dla sklepu Premium Cell Hunter.
Author: Premium Cell Hunter
Author URI: https://premiumcellhunter.com/
Template: shoptimizer
Version: 1.19.0
Text Domain: premium-cell-hunter
*/

:root {
  --pch-navy: #071827;
  --pch-blue: #0a4f78;
  --pch-cyan: #16b8d4;
  --pch-green: #2fc477;
  --pch-ink: #12202b;
  --pch-muted: #647482;
  --pch-surface: #f3f7f9;
  --pch-line: #dce5ea;
}

body {
  color: var(--pch-ink);
  background: #fff;
}

a {
  text-underline-offset: 3px;
}

.site-header,
.main-header {
  border-bottom-color: var(--pch-line);
}

.site-branding .site-title a,
.pch-wordmark {
  color: var(--pch-navy);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  font-weight: 650;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.nav-menu > li > a:hover {
  color: var(--pch-blue);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.added_to_cart,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 8px;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.single-product div.product form.cart .button {
  background: var(--pch-blue);
  color: #fff;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.single-product div.product form.cart .button:hover {
  background: var(--pch-navy);
}

ul.products li.product {
  border-color: var(--pch-line);
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
  color: var(--pch-ink);
  font-weight: 750;
  line-height: 1.28;
}

ul.products li.product .price,
.single-product div.product p.price {
  color: var(--pch-blue);
  font-weight: 800;
}

.woocommerce-product-gallery img,
ul.products li.product img {
  border-radius: 10px;
  background: var(--pch-surface);
}

.pch-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e9f9f0;
  color: #12653c;
  font-size: 12px;
  font-weight: 750;
}

.pch-stock-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pch-green);
}

.site-footer,
.below-content {
  background: var(--pch-navy);
  color: #c6d5dd;
}

.site-footer a,
.below-content a {
  color: #e2edf2;
}

@media (max-width: 770px) {
  .site-branding .site-title {
    font-size: 20px;
  }
}

/* Premium Cell Hunter storefront */
.pch-front-page .shoptimizer-archive > .archive-header,
.pch-front-page .shoptimizer-archive > .col-full > .woocommerce-breadcrumb {
  display: none;
}

.pch-front-page .site-content > .shoptimizer-archive > .col-full {
  max-width: none;
  padding: 0;
}

.pch-front-page .content-area {
  width: 100%;
  float: none;
}

.pch-homepage {
  --pch-max: 1240px;
  margin: 0;
}

.pch-shell {
  width: min(var(--pch-max), calc(100% - 48px));
  margin-inline: auto;
}

.pch-section {
  padding: 88px 0;
}

.pch-kicker {
  margin: 0 0 14px;
  color: var(--pch-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}

.pch-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.pch-section-heading h2,
.pch-wholesale-card h2 {
  margin: 0;
  color: var(--pch-navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -.052em;
}

.pch-section-heading > p {
  margin: 0;
  color: var(--pch-muted);
  font-size: 17px;
  line-height: 1.65;
}

.pch-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 86px 0 32px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 40%, rgba(22,184,212,.3), transparent 26%),
    linear-gradient(126deg, #061522 0%, #092a41 62%, #0a4f78 100%);
}

.pch-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}

.pch-hero-grid,
.pch-trust-row {
  position: relative;
  z-index: 1;
}

.pch-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 70px;
  align-items: center;
}

.pch-hero .pch-kicker { color: #8be7f4; }
.pch-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .96;
  letter-spacing: -.065em;
}

.pch-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: #c5d9e3;
  font-size: 19px;
  line-height: 1.65;
}

.pch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.pch-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 780;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pch-btn:hover { transform: translateY(-2px); }
.pch-btn-primary { background: var(--pch-cyan); color: var(--pch-navy); box-shadow: 0 12px 30px rgba(22,184,212,.22); }
.pch-btn-primary:hover { background: #5bd5e7; color: var(--pch-navy); }
.pch-btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; background: rgba(255,255,255,.05); }
.pch-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); }

.pch-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #a9c2ce;
  font-size: 13px;
}
.pch-checks li::before { content: "✓"; margin-right: 7px; color: var(--pch-green); font-weight: 900; }

.pch-hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}

.pch-cell {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 20px;
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 80px 80px 24px 24px;
  background: linear-gradient(155deg, #1781a0, #0b3c59);
  box-shadow: inset 0 0 30px rgba(255,255,255,.08), 0 18px 36px rgba(0,0,0,.2);
  text-align: center;
}
.pch-hero-panel .pch-cell {
  color: #fff;
  text-decoration: none;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, filter .24s ease;
  cursor: pointer;
}
.pch-hero-panel .pch-cell:hover,
.pch-hero-panel .pch-cell:focus-visible {
  z-index: 3;
  color: #fff;
  border-color: rgba(255,255,255,.7);
  box-shadow: 0 18px 42px rgba(0,0,0,.3), 0 0 0 3px rgba(22,184,212,.18);
  transform: translateZ(0) scale(1.045);
  filter: saturate(1.12) brightness(1.08);
  outline: none;
}
.pch-shop-categories { width: 100%; margin: 0 0 42px; padding: 28px; border: 1px solid var(--pch-line); border-radius: 14px; background: var(--pch-surface); }
.pch-shop-categories-head { margin-bottom: 22px; }
.pch-shop-categories-head h2 { margin: 4px 0 0; color: var(--pch-navy); font-size: clamp(25px,3vw,38px); letter-spacing: -.035em; }
.pch-cell-large { min-height: 330px; background: linear-gradient(155deg, #24a6bc, #0a4f78); }
.pch-cell-square { min-height: 155px; border-radius: 18px; grid-column: 1 / -1; background: linear-gradient(140deg, #12633e, #0a4a35); }
.pch-cell span { font-size: 26px; font-weight: 900; letter-spacing: -.04em; }
.pch-cell small { color: #c8e5ed; font-size: 12px; line-height: 1.45; }

.pch-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.pch-trust-row div { padding: 0 24px; border-right: 1px solid rgba(255,255,255,.12); }
.pch-trust-row div:first-child { padding-left: 0; }
.pch-trust-row div:last-child { border-right: 0; }
.pch-trust-row strong, .pch-trust-row span { display: block; }
.pch-trust-row strong { color: #fff; font-size: 20px; }
.pch-trust-row span { margin-top: 4px; color: #91adba; font-size: 12px; }

.pch-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pch-category-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 22px;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--pch-line);
  border-radius: 16px;
  color: var(--pch-ink);
  background: #fff;
  box-shadow: 0 8px 28px rgba(7,24,39,.05);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pch-category-card:hover { color: var(--pch-ink); border-color: #a9d3df; transform: translateY(-5px); box-shadow: 0 20px 50px rgba(7,24,39,.11); }
.pch-category-code { display: grid; width: 62px; height: 86px; place-items: center; border-radius: 31px 31px 12px 12px; color: #fff; background: linear-gradient(150deg, var(--pch-cyan), var(--pch-blue)); font-weight: 900; }
.pch-category-wide { border-radius: 12px; background: linear-gradient(150deg, var(--pch-green), #12633e); }
.pch-category-card h3 { margin: 0 0 10px; color: var(--pch-navy); font-size: 23px; letter-spacing: -.035em; }
.pch-category-card p { color: var(--pch-muted); line-height: 1.55; }
.pch-card-link, .pch-text-link { color: var(--pch-blue); font-weight: 750; }

.pch-products { width: 100vw; margin-left: calc(50% - 50vw); background: var(--pch-surface); }
.pch-heading-row { grid-template-columns: 1fr auto; }
.pch-product-grid ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pch-product-grid ul.products li.product { width: auto !important; margin: 0 !important; padding: 14px 14px 18px !important; border: 1px solid var(--pch-line); border-radius: 14px; background: #fff; box-shadow: 0 7px 24px rgba(7,24,39,.05); }
.pch-product-grid ul.products li.product:hover { box-shadow: 0 18px 44px rgba(7,24,39,.11); transform: translateY(-3px); }

.pch-wholesale-section { padding-top: 96px; }
.pch-wholesale-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 70px; align-items: center; padding: 62px; border-radius: 24px; color: #fff; background: var(--pch-navy); box-shadow: 0 24px 70px rgba(7,24,39,.18); }
.pch-wholesale-card h2 { color: #fff; }
.pch-wholesale-card .pch-kicker { color: #83deeb; }
.pch-wholesale-copy > p:not(.pch-kicker) { margin: 22px 0 30px; color: #b9cdd7; font-size: 17px; line-height: 1.65; }
.pch-tier-box { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.055); }
.pch-tier-head, .pch-tier-row { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.pch-tier-head { color: #7cdcea; font-size: 11px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.pch-tier-row:last-child { border-bottom: 0; }
.pch-tier-row strong { color: #fff; }
.pch-tier-row span { color: #b9cdd7; }
.pch-tier-highlight { background: rgba(22,184,212,.13); }

.pch-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pch-guide-grid article { position: relative; padding: 30px; border-left: 3px solid var(--pch-cyan); background: var(--pch-surface); }
.pch-guide-grid article > span { color: #a6bdc8; font-size: 13px; font-weight: 850; }
.pch-guide-grid h3 { margin: 18px 0 12px; color: var(--pch-navy); font-size: 23px; }
.pch-guide-grid p { color: var(--pch-muted); line-height: 1.6; }
.pch-guide-grid a { color: var(--pch-blue); font-weight: 750; text-decoration: none; }

.pch-service-strip { width: 100vw; margin-left: calc(50% - 50vw); padding: 34px 0; background: #eaf2f5; }
.pch-service-strip .pch-shell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pch-service-strip strong, .pch-service-strip span { display: block; }
.pch-service-strip strong { color: var(--pch-navy); }
.pch-service-strip span { margin-top: 4px; color: var(--pch-muted); font-size: 12px; }

@media (max-width: 1024px) {
  .pch-hero-grid, .pch-wholesale-card { grid-template-columns: 1fr; }
  .pch-hero-panel { max-width: 640px; }
  .pch-category-grid, .pch-guide-grid { grid-template-columns: 1fr 1fr; }
  .pch-product-grid ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 770px) {
  .pch-shell { width: min(var(--pch-max), calc(100% - 30px)); }
  .pch-section { padding: 62px 0; }
  .pch-section-heading, .pch-heading-row { grid-template-columns: 1fr; gap: 18px; }
  .pch-hero { padding-top: 60px; }
  .pch-hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .pch-hero-grid { gap: 40px; }
  .pch-hero-panel { min-height: 300px; padding: 20px; }
  .pch-cell { min-height: 210px; }
  .pch-cell-large { min-height: 260px; }
  .pch-cell-square { min-height: 120px; }
  .pch-trust-row, .pch-service-strip .pch-shell { grid-template-columns: 1fr 1fr; gap: 22px; }
  .pch-trust-row div { padding: 0; border: 0; }
  .pch-category-grid, .pch-guide-grid { grid-template-columns: 1fr; }
  .pch-product-grid ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pch-wholesale-card { padding: 36px 24px; gap: 38px; }
}

@media (max-width: 480px) {
  .pch-hero-panel { grid-template-columns: 1fr 1fr; }
  .pch-product-grid ul.products { grid-template-columns: 1fr; }
  .pch-trust-row, .pch-service-strip .pch-shell { grid-template-columns: 1fr; }
}

/* Header and navigation */
.pch-topline {
  width: 100%;
  color: #d4e3ea;
  background: var(--pch-navy);
  font-size: 12px;
}
.pch-topline .pch-shell {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.pch-topline a { color: #fff; text-decoration: none; }
.pch-topline strong { color: #fff; }
.pch-topline-right { display: flex; gap: 18px; }

.site-header .main-header {
  display: grid;
  grid-template-columns: minmax(210px, .75fr) minmax(340px, 1.5fr) auto auto;
  gap: 22px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.pch-branding { min-width: 210px; }
.pch-branding a { display: inline-flex; flex-direction: column; color: var(--pch-navy); text-decoration: none; }
.pch-brand-main { font-size: 24px; font-weight: 900; line-height: .92; letter-spacing: -.06em; text-transform: uppercase; }
.pch-brand-sub { margin-top: 6px; color: var(--pch-blue); font-size: 10px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.site-header .site-search { max-width: none; }
.site-header .site-search form { border: 1px solid var(--pch-line); border-radius: 9px; background: #f7fafb; }
.site-header .site-search input[type="search"] { min-height: 46px; }
.col-full-nav { border-top: 1px solid var(--pch-line); border-bottom: 1px solid var(--pch-line); background: #fff; }
.pch-primary-menu { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.pch-primary-menu > li > a { display: flex; min-height: 50px; align-items: center; padding: 0 18px; color: var(--pch-ink); font-size: 14px; font-weight: 750; text-decoration: none; }
.pch-primary-menu > li > a:hover { color: var(--pch-blue); background: var(--pch-surface); }
.pch-primary-menu .pch-menu-accent a { color: #fff; background: var(--pch-blue); }
.pch-primary-menu .pch-menu-accent a:hover { color: #fff; background: var(--pch-navy); }
.pch-account-link { display: inline-flex; align-items: center; gap: 7px; color: var(--pch-ink); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pch-account-link::before { content: "◯"; color: var(--pch-blue); font-size: 18px; }

/* Keep the category bar visible until the real mobile breakpoint. Shoptimizer
   switches its navigation to a 300px off-canvas panel too early by default. */
@media (min-width: 771px) {
  body .col-full-nav {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }
  body .col-full-nav .col-full {
    display: flex;
    width: min(100% - 36px, 1240px);
    max-width: 1240px;
    margin-inline: auto;
    padding: 0;
  }
  body .col-full-nav .col-full > .site-search {
    display: none !important;
  }
  body .col-full-nav .main-navigation {
    position: static !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }
  body .col-full-nav .menu-toggle { display: none !important; }
  body .col-full-nav .pch-primary-menu {
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: center;
    width: 100%;
  }
  body .col-full-nav .pch-primary-menu > li { flex: 0 1 auto; }
  body .col-full-nav .pch-primary-menu > li > a {
    padding-inline: clamp(9px, 1.3vw, 18px);
    color: #fff !important;
    white-space: nowrap;
  }
  body .col-full-nav .pch-primary-menu > li > a:hover,
  body .col-full-nav .pch-primary-menu > li > a:focus {
    color: #fff !important;
    background: var(--pch-blue) !important;
  }
  body .col-full-nav .site-header-cart {
    position: static !important;
    display: flex !important;
    flex: 0 0 auto;
    align-self: stretch;
    align-items: center;
    width: auto !important;
    min-width: 118px;
    margin: 0 0 0 auto !important;
  }
  body .col-full-nav .site-header-cart .shoptimizer-cart {
    display: flex;
    height: 100%;
    align-items: center;
  }
  body .col-full-nav .site-header-cart .cart-contents {
    display: flex !important;
    flex-direction: row;
    gap: 10px;
    height: 100% !important;
    min-height: 50px;
    align-items: center;
    justify-content: flex-end;
    color: #fff !important;
    white-space: nowrap;
  }
  body .col-full-nav .site-header-cart .cart-contents .count {
    position: relative !important;
    inset: auto !important;
    order: -1;
    flex: 0 0 28px;
    margin: 0 !important;
    transform: none !important;
  }
  body .col-full-nav .site-header-cart .cart-contents .amount {
    display: inline !important;
    margin: 0 !important;
    color: #fff !important;
    line-height: 1;
  }
}

/* Product cards and tiered pricing */
.pch-product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.pch-product-specs span { display: inline-flex; padding: 4px 7px; border-radius: 5px; color: #29424f; background: #eaf2f5; font-size: 11px; font-weight: 800; }
ul.products li.product .pch-stock-badge { position: relative; z-index: 2; }
.tier-pricing-summary-table,
.tiered-pricing-blocks,
.tiered-pricing-wrapper,
.tier-pricing-table { overflow: hidden; width: 100%; border: 1px solid var(--pch-line) !important; border-radius: 10px; background: #fff; }
.tier-pricing-summary-table tr:nth-child(even),
.tier-pricing-table tr:nth-child(even) { background: var(--pch-surface); }
.tier-pricing-summary-table td,
.tier-pricing-summary-table th,
.tier-pricing-table td,
.tier-pricing-table th { padding: 10px 12px !important; border-color: var(--pch-line) !important; }
.tier-pricing-summary-table th,
.tier-pricing-table th { color: var(--pch-navy); font-size: 12px; font-weight: 800; }

/* Footer */
.pch-footer { width: 100%; padding: 68px 0 24px; color: #b9cbd4; background: #06131f; }
.pch-footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.1fr; gap: 44px; }
.pch-footer h2, .pch-footer h3 { margin-top: 0; color: #fff; }
.pch-footer h2 { margin-bottom: 16px; font-size: 26px; letter-spacing: -.04em; }
.pch-footer h3 { margin-bottom: 15px; font-size: 15px; }
.pch-footer p { color: #a9bdc7; font-size: 13px; line-height: 1.7; }
.pch-footer ul { margin: 0; padding: 0; list-style: none; }
.pch-footer li { margin-bottom: 9px; }
.pch-footer a { color: #d4e1e7; text-decoration: none; }
.pch-footer a:hover { color: #fff; }
.pch-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #829ba7; font-size: 11px; }

@media (max-width: 1024px) {
  .site-header .main-header { grid-template-columns: 1fr auto auto; }
  .site-header .site-search { grid-column: 1 / -1; grid-row: 2; }
  .pch-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 770px) {
  .pch-topline .pch-shell { justify-content: center; text-align: center; }
  .pch-topline-right { display: none; }
  .site-header .main-header { display: flex; }
  .site-header .site-search { display: none; }
  .pch-brand-main { font-size: 19px; }
  .pch-brand-sub { font-size: 8px; }
  .pch-primary-menu { flex-direction: column; align-items: stretch; }
  .pch-primary-menu > li > a { min-height: 46px; }
  .pch-footer-grid { grid-template-columns: 1fr; }
  .pch-footer-bottom { flex-direction: column; }
}

/* Ceny hurtowe na kartach produktów (styl BatteryBuddy) */
:root { --pch-tier-highlight: #ffeb3b; }
ul.products li.product .price .pch-wholesale-teaser { display: block; margin: 4px 0 10px; color: #333; font-size: 14px; font-weight: 400; line-height: 1.55; }
.pch-wholesale-teaser .pch-wt-line { display: block; }
.pch-wholesale-teaser .pch-wt-price { display: inline-block; padding: 0 4px; border-radius: 3px; background: #fff; }
.pch-wholesale-teaser .pch-wt-price strong,
.pch-wholesale-teaser .pch-wt-price .amount { color: #000; font-weight: 700; }
.pch-wholesale-teaser .pch-wt-highlight { background: var(--pch-tier-highlight); }
.pch-wholesale-teaser .pch-wt-line-3,
.pch-wholesale-teaser .pch-wt-line-3 .amount { color: #607562; font-size: 12px; font-weight: 400; }

/* Partie / data produkcji (styl BatteryBuddy) */
.pch-batches { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 2px 0 10px; }
.pch-batch { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 7px; border: 1px solid #d6d6d6; border-radius: 4px; background: #fff; color: #4d4d4d; font-size: 12px; font-weight: 600; line-height: 1; text-decoration: none !important; }
.pch-batch.is-current { border-color: #1a1a1a; color: #1a1a1a; }
a.pch-batch:hover { border-color: #1a1a1a; color: #1a1a1a; }
.pch-batch.is-out-of-stock { color: #8a8a8a; }
.pch-dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: #3bb54a; }
.pch-batch.is-out-of-stock .pch-dot { background: #c3c3c3; }
.pch-batches--single { margin: 4px 0 14px; }
.pch-batches-label { margin-right: 4px; color: var(--pch-muted, #647482); font-size: 13px; font-weight: 600; }

/* Szerokość kontenerów poza stroną główną + odstęp paska górnego od krawędzi */
:root { --pch-max: 1240px; }
.pch-topline .pch-shell { width: auto; max-width: none; margin-inline: 0; padding-inline: 5%; box-sizing: border-box; }

/* Koszyk: czytelna lista metod wysyłki do wyboru */
#shipping_method li { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
#shipping_method li input[type="radio"] { flex: 0 0 auto; margin: 4px 0 0; }
#shipping_method li label { display: flex; flex: 1; justify-content: space-between; gap: 12px; line-height: 1.4; cursor: pointer; }
#shipping_method li label .amount { float: none; flex: 0 0 auto; white-space: nowrap; font-weight: 600; }

/* Górny pasek: tylko niewielki odstęp od krawędzi ekranu */
.pch-topline .pch-shell { padding-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right)); }

/* Paragon / Faktura VAT w zamówieniu */
.pch-doc-choice { margin: 0 0 22px; }
.pch-doc-title { margin: 0 0 10px; font-weight: 700; color: var(--pch-ink, #12202b); }
.pch-doc-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pch-doc-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; padding: 10px 14px; border: 2px solid; border-radius: 8px; background: #fff; text-align: center; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.pch-doc-btn input { position: absolute; opacity: 0; pointer-events: none; }
.pch-doc-name { font-size: 17px; font-weight: 800; line-height: 1.2; }
.pch-doc-sub { margin-top: 2px; font-size: 12px; opacity: .85; }
.pch-doc-paragon { border-color: #3bb54a; color: #2a8a36; }
.pch-doc-faktura { border-color: #0a4f78; color: #0a4f78; }
.pch-doc-paragon.is-active { background: #3bb54a; color: #fff; box-shadow: 0 6px 18px rgba(59,181,74,.3); }
.pch-doc-faktura.is-active { background: #0a4f78; color: #fff; box-shadow: 0 6px 18px rgba(10,79,120,.3); }
.pch-doc-btn:focus-within { outline: 3px solid rgba(22,184,212,.45); outline-offset: 2px; }
#billing_nip_field .woocommerce-input-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
#billing_nip_field input#billing_nip { flex: 1 1 180px; }
.pch-nip-btn { flex: 0 0 auto; padding: 0 14px; min-height: 40px; border: 0; border-radius: 6px; background: #0a4f78; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.pch-nip-btn:hover { background: #083d5d; }
.pch-nip-status { margin: 8px 0 0; font-size: 13px; }
.pch-nip-status.is-ok { color: #2a8a36; }
.pch-nip-status.is-error { color: #b32d2e; }
.pch-nip-status.is-loading { color: #647482; }
@media (max-width: 480px) { .pch-doc-buttons { gap: 8px; } .pch-doc-name { font-size: 15px; } }

/* Porównywarka ogniw */
.pch-compare-lead { max-width: 720px; color: var(--pch-muted, #647482); }
.pch-compare-pick { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: end; gap: 14px; margin: 18px 0 26px; padding: 20px; border: 1px solid var(--pch-line, #dce5ea); border-radius: 12px; background: #fff; }
.pch-compare-pick label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; }
.pch-compare-pick select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--pch-line, #dce5ea); border-radius: 8px; background: var(--pch-surface, #f3f7f9); font-size: 15px; }
.pch-compare-vs { padding-bottom: 14px; color: var(--pch-muted, #647482); font-weight: 800; }
.pch-compare-go { min-height: 48px; padding: 0 26px; border: 0; border-radius: 8px; background: var(--pch-navy, #071827); color: #fff; font-weight: 800; cursor: pointer; }
.pch-compare-go:hover { background: #0a4f78; }
.pch-cmp-table-wrap { overflow-x: auto; margin-bottom: 30px; border: 1px solid var(--pch-line, #dce5ea); border-radius: 12px; }
.pch-cmp-table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; background: #fff; }
.pch-cmp-table th, .pch-cmp-table td { padding: 11px 14px; border-bottom: 1px solid var(--pch-line, #dce5ea); text-align: left; vertical-align: middle; font-size: 14px; }
.pch-cmp-table tbody th { width: 34%; color: var(--pch-muted, #647482); font-weight: 600; }
.pch-cmp-table thead th { vertical-align: top; background: var(--pch-surface, #f3f7f9); }
.pch-cmp-table td.is-better { background: #e8f7ea; color: #1f6e2a; font-weight: 800; }
.pch-cmp-head { display: flex; flex-direction: column; gap: 6px; }
.pch-cmp-head img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #fff; }
.pch-cmp-head a { font-weight: 800; color: var(--pch-ink, #12202b); }
.pch-cmp-price { font-weight: 700; color: #0a4f78; }
.pch-cmp-head .pch-cmp-buy { align-self: flex-start; padding: 6px 12px; border-radius: 6px; background: #3bb54a; color: #fff !important; font-size: 12px; text-decoration: none; }
.pch-na { color: #b6c2ca; }
.pch-cmp-msg { color: var(--pch-muted, #647482); }
.pch-compare-h2 { margin: 10px 0 4px; }
.pch-compare-sub { color: var(--pch-muted, #647482); }
.pch-compare-pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.pch-pair { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--pch-line, #dce5ea); border-radius: 10px; background: #fff; text-align: left; cursor: pointer; }
.pch-pair:hover { border-color: #0a4f78; box-shadow: 0 6px 18px rgba(7,24,39,.08); }
.pch-pair-imgs { display: flex; flex: 0 0 auto; }
.pch-pair-imgs img { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--pch-line, #dce5ea); border-radius: 8px; background: #fff; }
.pch-pair-imgs img + img { margin-left: -10px; }
.pch-pair-names { display: flex; flex: 1; flex-direction: column; font-size: 13px; line-height: 1.3; }
.pch-pair-names em { color: var(--pch-muted, #647482); font-size: 11px; font-style: normal; }
.pch-pair-fmt { align-self: flex-start; padding: 2px 8px; border-radius: 5px; background: #eaf2f5; font-size: 11px; font-weight: 800; }
.pch-compare-note { font-size: 12px; color: var(--pch-muted, #647482); }
@media (max-width: 900px) { .pch-compare-pairs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pch-compare-pick { grid-template-columns: 1fr; } .pch-compare-vs { padding: 0; text-align: center; } .pch-compare-pairs { grid-template-columns: 1fr; } }

/* Zamówienie: wyrównanie metod wysyłki */
#shipping_method { width: 100%; margin: 0; padding: 0; text-align: left; }
#shipping_method li label { margin: 0 !important; padding: 0 !important; text-align: left; font-weight: 400; }
#shipping_method li input:checked + label { font-weight: 700; }

/* Koszyk aktualizuje się automatycznie – przycisk ręczny ukryty */
.woocommerce-cart-form [name="update_cart"] { display: none !important; }

/* Ilustracje ogniw na stronie głównej */
.pch-cell .pch-cell-svg { display: block; width: 100%; max-width: 110px; height: auto; margin: 0 auto 8px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }

/* Kafle ogniw: jednakowe odstępy treści */
.pch-hero-panel .pch-cell { justify-content: center !important; gap: 4px; }
.pch-hero-panel .pch-cell .pch-cell-svg { margin-bottom: 6px; }

.pch-cell .pch-cell-photo { max-width: 120px; border-radius: 10px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }

/* Pasek zalet: wyśrodkowanie, logo DPD, zdjęcie LiFePO4 bez tła */
.pch-trust-row > div { text-align: center; align-items: center; }
.pch-trust-with-logo { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.pch-trust-with-logo img { height: 26px; width: auto; padding: 3px 6px; border-radius: 5px; background: #fff; }
.pch-cell .pch-cell-photo { border-radius: 0; max-width: 100px; }

.pch-trust-row > div { display: flex !important; flex-direction: column; align-items: center; justify-content: center; }
.pch-trust-row .pch-trust-with-logo { flex-direction: row; }
.pch-trust-row strong.pch-trust-with-logo { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 10px; }

.pch-tier-top strong, .pch-tier-top span { color: #7cdcea !important; font-weight: 800; }
.pch-tier-top a { color: #fff; text-decoration: underline; }

/* Tabela modeli dostawy: wyśrodkowanie */
.pch-tier-head, .pch-tier-row { align-items: center; text-align: center; }
.pch-tier-head > *, .pch-tier-row > * { display: flex; align-items: center; justify-content: center; text-align: center; }
.pch-tier-row > span { display: block; align-self: center; }

/* Artykuły poradnika: zdjęcia i galeria produktów */
.pch-art-figure { margin: 26px 0; }
.pch-art-figure img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 12px; }
.pch-art-figure figcaption { margin-top: 8px; color: #647482; font-size: 13px; }
.pch-art-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 26px; }
.pch-art-product { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid #dce5ea; border-radius: 12px; background: #fff; color: #12202b; text-decoration: none !important; transition: box-shadow .15s, transform .15s; }
.pch-art-product:hover { box-shadow: 0 10px 26px rgba(7,24,39,.1); transform: translateY(-2px); }
.pch-art-product img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #f3f7f9; }
.pch-art-product-name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.pch-art-product-price { color: #0a4f78; font-size: 13px; font-weight: 800; }
@media (max-width: 900px) { .pch-art-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Tabele w artykułach Poradnika */
.single-post .entry-content table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 15px; border: 0; }
.single-post .entry-content table th { padding: 12px 14px; background: #f3f7f9; color: #12202b; font-weight: 800; text-align: left; border: 0; border-bottom: 2px solid #0a4f78; }
.single-post .entry-content table td { padding: 12px 14px; border: 0; border-bottom: 1px solid #dce5ea; vertical-align: middle; }
.single-post .entry-content table tbody tr:hover td { background: #f8fbfc; }
.pch-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pch-cell-table th:nth-child(2), .pch-cell-table th:nth-child(3), .pch-cell-table th:nth-child(4),
.pch-cell-table td:nth-child(2), .pch-cell-table td:nth-child(3), .pch-cell-table td:nth-child(4) { text-align: center; white-space: nowrap; }
.pch-cell-table td:first-child { white-space: nowrap; font-weight: 700; }
.pch-cell-table td:first-child a { text-decoration: none; }
.pch-cell-table td:nth-child(4) strong { color: #0a4f78; }
.pch-cell-table td:last-child { color: #4a5a66; font-size: 14px; }
@media (max-width: 700px) { .pch-cell-table { min-width: 640px; } }

/* Autor artykułu i komentarzy – wyśrodkowany pod awatarem */
.single-post .entry-meta .vcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.single-post .entry-meta .vcard .avatar, .single-post .entry-meta .vcard .author-details { float: none; width: auto; margin: 0; }
.single-post .entry-meta .vcard .avatar img { width: 80px; height: 80px; border-radius: 50%; }
.single-post .entry-meta .author-details a { font-weight: 700; text-decoration: none; }
.single-post .entry-meta .post-meta { text-align: center; }
.single-post .entry-meta .cat-links { display: flex; justify-content: center; align-items: center; gap: 6px; }
.comment-list .comment-meta .vcard, .comment-list .comment-author { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.comment-list .comment-author img.avatar { float: none; margin: 0; }

/* Wpis: najpierw tytuł, potem zdjęcie wyróżniające */
.single-post .site-main > .type-post { display: flex; flex-direction: column; }
.single-post .site-main > .type-post > .entry-header { order: -1; }
.single-post .site-main > .type-post > img.wp-post-image { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; border-radius: 12px; margin: 0 0 28px; }

/* Seria artykułów i lead */
.pch-lead { font-size: 18px; line-height: 1.65; color: #24323d; }
.pch-series { margin: 32px 0 8px; padding: 20px 24px; border: 1px solid #dce5ea; border-left: 4px solid #0a4f78; border-radius: 12px; background: #f6f9fb; }
.pch-series-title { margin: 0 0 10px; font-weight: 800; color: #12202b; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.pch-series ol { margin: 0; padding-left: 22px; }
.pch-series li { margin: 6px 0; }
.pch-series a { text-decoration: none; font-weight: 600; }
.pch-series a:hover { text-decoration: underline; }

/* Tabela AWG i przypisy */
.pch-awg-table td, .pch-awg-table th { text-align: center !important; white-space: nowrap; }
.pch-awg-table td:first-child, .pch-awg-table th:first-child { text-align: left !important; }
.pch-awg-table td:last-child strong { color: #0a4f78; }
.pch-note { font-size: 13px; color: #647482; line-height: 1.55; margin-top: -14px; }
@media (max-width: 700px) { .pch-awg-table { min-width: 600px; } }

/* Schematy SVG w artykułach */
.pch-diagram { margin: 26px 0; }
.pch-diagram svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.pch-diagram figcaption { margin-top: 8px; color: #647482; font-size: 13px; line-height: 1.5; }

/* Informacja o stawce VAT (koszyk, zamówienie) */
.pch-vat-row td { padding: 10px 0 4px !important; border: 0 !important; }
.pch-vat-info { padding: 10px 12px; border-radius: 8px; background: #f3f6f8; border-left: 4px solid #9fb1bd; font-size: 13px; line-height: 1.5; color: #33424d; font-weight: 400; text-align: left; }
.pch-vat-info.is-ok { background: #e7f6ec; border-left-color: #2e9d5b; color: #1d5e37; }
.pch-vat-info.is-ok strong { color: #17803f; }
.pch-vat-info.is-export { background: #eef4fb; border-left-color: #0a4f78; }
.pch-wdt-confirm { margin: 10px 0 14px; padding: 10px 12px; background: #fff8e6; border: 1px solid #f0d58a; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.pch-wdt-confirm label { display: flex !important; gap: 8px; align-items: flex-start; }
.pch-wdt-confirm input { margin-top: 3px; flex: 0 0 auto; }
.pch-nip-status.is-ok { color: #17803f; }

/* Minimalna ilość hurtowa */
.pch-min-qty { width: 100%; margin: 0 0 8px; font-size: 13px; color: #0a4f78; }

/* Nagłówek: Konto · Koszyk (ilość) · Wartość zamówienia w jednej linii */
@media (min-width: 771px) {
  body .col-full-nav .site-header-cart { display: none !important; }
  .site-header .main-header { grid-template-columns: minmax(210px, .75fr) minmax(320px, 1.5fr) auto auto; gap: 18px; }
  .site-header .main-header > .site-header-cart {
    display: flex !important; position: static !important; width: auto !important; margin: 0 !important; padding: 0; align-items: center;
  }
  .site-header .main-header > .site-header-cart .shoptimizer-cart { display: flex; align-items: center; }
  .site-header .main-header > .site-header-cart .cart-contents {
    display: inline-flex !important; flex-direction: row; align-items: center; gap: 10px; height: 44px !important; padding: 0 16px 0 12px;
    border-radius: 9px; color: #fff !important; background: var(--pch-blue); font-size: 14px; font-weight: 800; white-space: nowrap; text-decoration: none;
  }
  .site-header .main-header > .site-header-cart .cart-contents:hover { background: var(--pch-navy); }
  .site-header .main-header > .site-header-cart .cart-contents::before {
    content: ""; width: 20px; height: 20px; flex: 0 0 20px;
    background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E");
  }
  .site-header .main-header > .site-header-cart .cart-contents .count {
    position: static !important; inset: auto !important; transform: none !important; order: 0; display: inline-flex; min-width: 0; height: auto; margin: 0 !important;
    padding: 2px 8px; border: 0 !important; border-radius: 20px; color: var(--pch-navy) !important; background: #fff !important; font-size: 12px; line-height: 1.4;
  }
  .site-header .main-header > .site-header-cart .cart-contents .count::after { content: "\00a0szt."; position: static !important; display: inline !important; width: auto !important; height: auto !important; margin: 0 !important; border: 0 !important; background: none !important; transform: none !important; inset: auto !important; }
  .site-header .main-header > .site-header-cart .cart-contents .amount { order: 1; display: inline !important; margin: 0 !important; color: #fff !important; line-height: 1; }
  .site-header .main-header > .site-header-cart .cart-contents .amount .amount { order: 0; }
  .pch-account-link { height: 44px; padding: 0 14px; border: 1px solid var(--pch-line); border-radius: 9px; background: #fff; }
  .pch-account-link:hover { border-color: var(--pch-blue); color: var(--pch-blue); }
  .pch-account-link::before {
    content: ""; width: 18px; height: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6fa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  }
}

/* Wyszukiwarka paczkomatów po adresie */
.pch-inpost-finder { margin-top: 12px; padding: 12px; border: 1px solid var(--pch-line); border-radius: 10px; background: #f7fafb; text-align: left; }
.pch-inpost-finder label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--pch-navy); }
.pch-inpost-row { display: flex; gap: 8px; }
.pch-inpost-row input { flex: 1 1 auto; min-width: 0; min-height: 40px; padding: 6px 10px; border: 1px solid var(--pch-line); border-radius: 8px; background: #fff; font-size: 14px; }
.pch-inpost-row .button { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: 8px; }
.pch-inpost-list { display: grid; gap: 6px; margin-top: 10px; }
.pch-inpost-msg { margin: 4px 0 0; font-size: 13px; color: #4a5d68; }
.pch-inpost-item { display: grid; grid-template-columns: auto 1fr auto auto; gap: 4px 10px; align-items: center; width: 100%; padding: 8px 10px; border: 1px solid var(--pch-line); border-radius: 8px; background: #fff; color: var(--pch-ink); font-size: 13px; line-height: 1.3; text-align: left; cursor: pointer; }
.pch-inpost-item:hover { border-color: var(--pch-blue); }
.pch-inpost-item.is-chosen { border-color: #1f9d55; background: #eefaf2; }
.pch-inpost-code { font-weight: 800; color: var(--pch-navy); }
.pch-inpost-addr small { display: block; color: #6b7d87; font-size: 11px; }
.pch-inpost-dist { color: #4a5d68; white-space: nowrap; }
.pch-inpost-pick { padding: 3px 9px; border-radius: 6px; color: #fff; background: var(--pch-blue); font-size: 12px; font-weight: 800; white-space: nowrap; }
.pch-inpost-item.is-chosen .pch-inpost-pick { background: #1f9d55; }
@media (max-width: 600px) {
  .pch-inpost-item { grid-template-columns: 1fr auto; }
  .pch-inpost-addr { grid-column: 1 / -1; grid-row: 2; }
}

/* Komunikat o zmianie kosztu wysyłki */
.pch-ship-change { display: none; margin: 0 0 14px; padding: 10px 14px; border: 1px solid #f0c36d; border-left: 4px solid #e0a100; border-radius: 8px; background: #fff8e6; color: #5a4300; font-size: 13px; line-height: 1.45; }
.pch-ship-change.is-visible { display: block; }

/* Formularze odstąpienia / reklamacji */
.pch-form { margin: 18px 0 34px; padding: 22px; border: 1px solid var(--pch-line); border-radius: 12px; background: #fff; box-shadow: 0 6px 22px rgba(6, 19, 31, .05); }
.pch-form-head h3 { margin: 0 0 6px; color: var(--pch-navy); font-size: 21px; }
.pch-form-head p { margin: 0 0 6px; color: #4a5d68; font-size: 13px; }
.pch-form-head .pch-form-intro { margin-top: 10px; color: var(--pch-ink); font-weight: 700; }
.pch-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin-top: 14px; }
.pch-form-field { margin: 0 0 10px; }
.pch-form-field.is-wide { grid-column: 1 / -1; }
.pch-form-field label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--pch-ink); }
.pch-form-field input, .pch-form-field textarea, .pch-form-field select { width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid var(--pch-line); border-radius: 8px; background: #f9fbfc; font-size: 14px; }
.pch-form-field input[type=file] { padding: 8px; background: #fff; }
.pch-form-field textarea { min-height: 96px; resize: vertical; }
.pch-form-field .is-invalid { border-color: #c62828; background: #fff5f5; }
.pch-form-hp { position: absolute !important; left: -9999px !important; }
.pch-form-safety { margin: 6px 0 14px; padding: 10px 12px; border-left: 4px solid #e0a100; border-radius: 6px; background: #fff8e6; color: #5a4300; font-size: 13px; }
.pch-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pch-form-actions .button { min-height: 44px; padding: 0 18px; border-radius: 8px; font-weight: 800; }
.pch-form-actions .pch-form-pdf { border: 1px solid var(--pch-blue); color: var(--pch-blue); background: #fff; }
.pch-form-status { font-size: 13px; }
.pch-form-status.is-ok { color: #1f7a45; font-weight: 700; }
.pch-form-status.is-error { color: #c62828; font-weight: 700; }
.pch-form-note { margin: 10px 0 0; color: #6b7d87; font-size: 12px; }
@media (max-width: 640px) { .pch-form { padding: 16px; } .pch-form-grid { grid-template-columns: 1fr; } }
/* Dokument PDF (renderowany poza ekranem) */
.pch-pdf-holder { position: fixed; left: -10000px; top: 0; width: 186mm; }
.pch-pdf { width: 186mm; padding: 0; color: #10222c; background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.45; }
.pch-pdf-top { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 2px solid #0a4f78; color: #0a4f78; font-size: 11px; }
.pch-pdf h1 { margin: 16px 0 10px; font-size: 20px; color: #06131f; }
.pch-pdf p { margin: 0 0 8px; }
.pch-pdf table { width: 100%; margin-top: 8px; border-collapse: collapse; }
.pch-pdf th, .pch-pdf td { padding: 7px 8px; border-bottom: 1px solid #cfd9de; text-align: left; vertical-align: top; }
.pch-pdf th { width: 36%; color: #33505f; font-weight: 700; }
.pch-pdf .l { display: block; height: 18px; border-bottom: 1px dotted #8aa0ab; }
.pch-pdf-sign { display: flex; gap: 30px; margin-top: 34px; font-size: 11px; color: #4a5d68; }
.pch-pdf-sign div { flex: 1; text-align: center; }
.pch-pdf-sign .l { margin-bottom: 4px; }
.pch-pdf-foot { margin-top: 22px !important; padding-top: 8px; border-top: 1px solid #cfd9de; color: #4a5d68; font-size: 10px; }
.pch-returns-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.pch-returns-nav a { padding: 9px 16px; border: 1px solid var(--pch-line); border-radius: 999px; color: var(--pch-navy); background: #f7fafb; font-size: 14px; font-weight: 800; text-decoration: none; }
.pch-returns-nav a:hover { border-color: var(--pch-blue); color: var(--pch-blue); }

/* Mobile: Konto obok koszyka bez nachodzenia */
@media (max-width: 770px) {
  .site-header .main-header .pch-branding { min-width: 0; flex: 1 1 auto; }
  .pch-account-link { margin: 0 52px 0 auto; padding: 6px 8px; border: 1px solid var(--pch-line); border-radius: 8px; font-size: 12px; }
  .pch-account-link::before {
    content: ""; width: 16px; height: 16px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6fa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  }
}

/* Drugi przycisk: najbliższe paczkomaty */
.apaczka-parcel-machine-select .pch-inpost-toggle { margin-top: 8px; }
.apaczka-parcel-machine-select #apaczka_pl_geowidget_classic,
.apaczka-parcel-machine-select .pch-inpost-toggle { display: block; width: 100%; }
.pch-inpost-finder[hidden] { display: none !important; }
.apaczka-parcel-machine-select #apaczka_pl_geowidget_classic,
.apaczka-parcel-machine-select .pch-inpost-toggle { min-height: 46px; padding: 10px 14px !important; border: 0 !important; border-radius: 8px !important; color: #fff !important; background: #29bb15 !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.25 !important; white-space: normal !important; text-align: center; box-shadow: none; }
.apaczka-parcel-machine-select #apaczka_pl_geowidget_classic:hover,
.apaczka-parcel-machine-select .pch-inpost-toggle:hover { background: #22a011 !important; }

/* Lista paczkomatów na całą szerokość podsumowania (rozwija się w lewo) */
tr.pch-inpost-tr > td { padding: 0 !important; border: 0 !important; text-align: left !important; }
tr.pch-inpost-tr .pch-inpost-finder { box-sizing: border-box; width: 100%; max-width: 100%; margin: 0 0 12px; }
.pch-inpost-item { min-width: 0; }
.pch-inpost-addr { min-width: 0; overflow-wrap: anywhere; }

/* =========================================================
 * Strona główna – jasna sekcja hero (pasek zalet zostaje ciemny)
 * ========================================================= */
.pch-hero {
  padding-bottom: 0;
  color: var(--pch-ink);
  background:
    radial-gradient(circle at 80% 35%, rgba(22,184,212,.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f1f8fb 100%);
}
.pch-hero::before {
  opacity: 1;
  background-image: linear-gradient(rgba(10,79,120,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,79,120,.05) 1px, transparent 1px);
}
.pch-hero .pch-kicker { color: var(--pch-blue); }
.pch-hero h1 { color: var(--pch-navy); }
.pch-hero .pch-lead { color: #3d5563; }
.pch-hero .pch-btn-primary { color: #fff; background: var(--pch-blue); box-shadow: 0 12px 28px rgba(10,79,120,.22); }
.pch-hero .pch-btn-primary:hover { color: #fff; background: var(--pch-navy); }
.pch-hero .pch-btn-ghost { border-color: #b9ccd6; color: var(--pch-navy); background: #fff; }
.pch-hero .pch-btn-ghost:hover { border-color: var(--pch-blue); color: var(--pch-blue); background: #fff; }
.pch-hero .pch-checks { color: #3d5563; }
.pch-hero-panel {
  border-color: var(--pch-line);
  background: #fff;
  box-shadow: 0 24px 60px rgba(7,24,39,.10);
  backdrop-filter: none;
}
.pch-hero-panel .pch-cell { border-color: rgba(255,255,255,.55); box-shadow: 0 14px 30px rgba(7,24,39,.14); }
.pch-hero-panel .pch-cell:hover,
.pch-hero-panel .pch-cell:focus-visible { box-shadow: 0 18px 40px rgba(7,24,39,.22), 0 0 0 3px rgba(22,184,212,.25); }
/* Ciemny pasek zalet na całą szerokość pod jasnym hero */
.pch-hero .pch-trust-row { margin-top: 64px; padding: 26px 0 30px; border-top: 0; }
.pch-hero .pch-trust-row::before {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: -1; width: 100vw; transform: translateX(-50%); content: "";
  background: linear-gradient(126deg, #061522 0%, #092a41 62%, #0a4f78 100%);
}

/* Wyszukiwarka z podpowiedziami */
.pch-sr-form { position: relative; }
.pch-sr-panel { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 9999; max-height: 70vh; overflow: auto; padding: 14px; border: 1px solid var(--pch-line); border-radius: 12px; background: #fff; box-shadow: 0 18px 50px rgba(7,24,39,.16); text-align: left; }
.pch-sr-form.is-open .pch-sr-panel { display: block; }
.pch-sr-h { margin: 4px 0 8px; color: #6b7d87; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pch-sr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pch-sr-chips button { padding: 6px 12px; border: 0; border-radius: 6px; background: #eef2f4; color: var(--pch-ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.pch-sr-chips button:hover { background: #dbe7ec; }
.pch-sr-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 6px; border-radius: 8px; color: var(--pch-ink); text-decoration: none; }
.pch-sr-item:hover { background: #f4f8fa; color: var(--pch-ink); }
.pch-sr-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: #f6f8f9; }
.pch-sr-main strong { display: block; font-size: 14px; line-height: 1.3; }
.pch-sr-main em { color: #6b7d87; font-style: normal; font-weight: 600; }
.pch-sr-main > span { color: #6b7d87; font-size: 12px; }
.pch-sr-main .ok { color: #1f9d55; } .pch-sr-main .soon { color: #b26a00; } .pch-sr-main .no { color: #c62828; }
.pch-sr-price { text-align: right; white-space: nowrap; }
.pch-sr-price b { display: block; font-size: 14px; }
.pch-sr-price small { color: #b26a00; font-size: 12px; font-weight: 700; }
.pch-sr-empty { margin: 6px 0; color: #4a5d68; font-size: 13px; }
.pch-sr-all { width: 100%; margin-top: 8px; padding: 9px; border: 1px solid var(--pch-line); border-radius: 8px; background: #f7fafb; color: var(--pch-blue); font-weight: 800; cursor: pointer; }
/* Planowana dostawa */
.pch-restock { margin: 2px 0 10px; padding: 6px 10px; border-radius: 6px; background: #fff6e5; color: #7a4b00; font-size: 13px; line-height: 1.4; }
.pch-restock--loop { font-size: 12px; padding: 4px 8px; }
/* Partia: zielona „fajka” zamiast kropki */
.pch-dot { width: auto; height: auto; border-radius: 0; background: none !important; }
.pch-dot::before { content: "~"; color: #1f9d55; font-size: 17px; font-style: normal; font-weight: 900; line-height: 1; }
.pch-batch.is-out-of-stock .pch-dot::before { content: "–"; color: #a0a0a0; }
.pch-batch.is-current.is-in-stock { border-color: #1f9d55; color: #14532d; background: #f0fbf4; }

/* Proforma – box na stronie zamówienia */
.pch-pf-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin: 0 0 26px; padding: 16px 18px; border: 2px solid #29bb15; border-radius: 12px; background: #f2fbf0; }
.pch-pf-box .pch-pf-label { display: block; color: #4a5d68; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pch-pf-box strong { font-size: 22px; color: var(--pch-navy); }
.pch-pf-box p { margin: 6px 0 0; font-size: 14px; }
.pch-pf-btns { display: flex; gap: 8px; }
.pch-pf-btns .button { border-radius: 8px; background: #29bb15; color: #fff; font-weight: 800; }
.pch-pf-btns .pch-pf-view { background: #fff; color: var(--pch-navy); border: 1px solid var(--pch-line); }
.pch-pf-choice { margin: 0 0 14px; padding: 10px 12px; border: 1px dashed #29bb15; border-radius: 8px; background: #f7fdf5; font-size: 14px; }

/* Logo w nagłówku */
.pch-branding .pch-logo { display: block; width: 175px; height: auto; }
@media (max-width: 770px) { .pch-branding .pch-logo { width: 125px; } }

/* Nagłówek: telefon i informacja o dostawie (wzór: duży numer + godziny) */
.pch-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--pch-navy); text-decoration: none; white-space: nowrap; }
.pch-phone:hover { color: var(--pch-blue); }
.pch-phone strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: .01em; line-height: 1.15; }
.pch-phone small { display: block; color: #6b7d87; font-size: 12px; line-height: 1.2; }
.pch-phone-ico, .pch-delivery-ico { flex: 0 0 22px; width: 22px; height: 22px; background: no-repeat center/contain; }
.pch-phone-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306131f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.pch-delivery { display: none; }
@media (min-width: 771px) { .site-header .main-header { grid-template-columns: minmax(150px, .6fr) minmax(240px, 1.5fr) auto auto auto; } }
@media (min-width: 1100px) {
  #site-navigation.main-navigation { display: flex !important; align-items: center; width: 100%; }
  #site-navigation .pch-primary-menu { flex: 1 1 auto; width: auto !important; }
  #site-navigation .pch-delivery { flex: 0 0 auto; width: auto !important; }
  .pch-delivery { display: flex; align-items: center; gap: 10px; margin-left: auto; padding-left: 18px; color: #e8f1f5; font-size: 13px; line-height: 1.25; white-space: nowrap; }
  .pch-delivery b { color: #fff; font-weight: 800; }
  .pch-delivery small { display: block; color: #9fb6c2; font-size: 11.5px; }
  .pch-delivery-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 3h15v13H1z'/%3E%3Cpath d='M16 8h4l3 3v5h-7V8z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E"); }
}
@media (max-width: 1099px) { .pch-phone small { display: none; } }
@media (max-width: 770px) { .pch-phone { display: none; } }

/* Menu + dostawa w jednej linii */
@media (min-width: 1100px) {
  #site-navigation .pch-primary-menu { justify-content: flex-start; }
  #site-navigation .pch-primary-menu > li > a { padding-left: 8px !important; padding-right: 8px !important; font-size: 13.5px; }
  #site-navigation .pch-delivery { padding-left: 6px; gap: 8px; font-size: 12.5px; }
  #site-navigation .pch-delivery small { font-size: 11px; }
}
@media (min-width: 1100px) and (max-width: 1399px) { #site-navigation .pch-delivery small { display: none; } #site-navigation .pch-primary-menu > li > a { padding-left: 8px !important; padding-right: 8px !important; font-size: 13px; } }

/* Stopka – jasna, wzór: logo + kontakt + 3 kolumny linków */
.pch-footer { padding: 56px 0 22px; color: #3d5563; background: #f4f6f7; border-top: 1px solid #e3e9ec; }
.pch-footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 40px; }
.pch-footer h3 { margin-bottom: 16px; color: var(--pch-ink); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pch-footer li { margin-bottom: 11px; }
.pch-footer a { color: #2b3b45; font-size: 14px; }
.pch-footer a:hover { color: var(--pch-blue); }
.pch-footer-logo img { display: block; width: 180px; height: auto; mix-blend-mode: multiply; }
.pch-footer-tag { margin: 10px 0 18px; color: #4a5d68 !important; font-size: 14px !important; }
.pch-footer-contacts { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.pch-footer-contacts a { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--pch-ink); }
.pch-footer-contacts strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; }
.pch-footer-contacts small { display: block; color: #6b7d87; font-size: 12px; }
.pch-ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; background: no-repeat center/contain; }
.pch-ico-phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306131f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.pch-ico-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306131f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }
.pch-footer-addr { margin-top: 18px; color: #6b7d87 !important; font-size: 12px !important; }
.pch-footer-bottom { border-top-color: #dfe6ea; color: #6b7d87; }
/* FAQ i Kontakt */
.pch-faq details { margin: 0 0 10px; border: 1px solid var(--pch-line); border-radius: 10px; background: #fff; }
.pch-faq summary { padding: 14px 18px; color: var(--pch-navy); font-weight: 800; cursor: pointer; }
.pch-faq details p { margin: 0; padding: 0 18px 16px; }
.pch-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 28px; }
.pch-contact-card { padding: 18px; border: 1px solid var(--pch-line); border-radius: 12px; background: #fff; font-size: 13px; color: #6b7d87; }
.pch-contact-card > * { display: block; }
.pch-contact-k { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pch-contact-v { margin: 6px 0 4px; color: var(--pch-navy); font-size: 18px; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
@media (max-width: 768px) { .pch-contact { grid-template-columns: 1fr; } }
