/*
Theme Name:   Blocksy Child – WINS Battery
Template:     blocksy
Version:      3.6.0
Description:  Bold light theme – Komputronik style. WINS Battery.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─────────────────────────────────────────────────────────────
   ZMIENNE
───────────────────────────────────────────────────────────── */
:root {
  --c-bg:       #ffffff;
  --c-bg2:      #f5f6f8;
  --c-surface:  #f0f2f5;
  --c-border:   #e5e7eb;
  --c-text:     #1a1a2a;
  --c-muted:    #6b7280;
  --c-muted2:   #9ca3af;
  --c-accent:   #0057cc;
  --c-accent2:  #003fa3;
  --c-green:    #16a34a;
  --c-red:      #dc2626;
  --c-radius:   10px;
  --c-shadow:   0 2px 12px rgba(0,0,0,.08);
  --c-shadow-lg: 0 8px 32px rgba(0,0,0,.12);
}

/* ─────────────────────────────────────────────────────────────
   PAGE TITLE (pasek "Sklep", "Koszyk" itp.)
───────────────────────────────────────────────────────────── */
#page-title,
.page-header,
.ct-page-header,
[class*="page-title"],
.page-title-alignment {
  background: var(--c-surface) !important;
  background-color: var(--c-surface) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--c-border) !important;
}

#page-title h1,
#page-title .page-title,
.page-header h1,
.ct-page-header h1,
[class*="page-title"] h1 {
  color: var(--c-text) !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
}

/* ─────────────────────────────────────────────────────────────
   BASE
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--c-bg) !important;
  color: var(--c-text) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  color: var(--c-text) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.2;
}

p, li, span, td, th { color: var(--c-text); }

a { color: var(--c-accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--c-accent2); text-decoration: none; }

::-webkit-scrollbar { width: 6px; background: var(--c-surface); }
::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-accent); }

/* ─────────────────────────────────────────────────────────────
   SITE TITLE – schowaj
───────────────────────────────────────────────────────────── */
.site-title,
.ct-site-title,
[class*="site-title"] { display: none !important; }

/* Logo */
.site-logo img,
.custom-logo,
.ct-site-logo img {
  max-height: 52px !important;
  width: auto !important;
}

/* ─────────────────────────────────────────────────────────────
   PRZYCISKI
───────────────────────────────────────────────────────────── */
.button, button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#place_order {
  background: var(--c-accent) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--c-radius) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 13px 28px !important;
  cursor: pointer !important;
  transition: background .18s, transform .15s, box-shadow .18s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.button:hover, button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--c-accent2) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0,87,204,.25) !important;
  color: #ffffff !important;
}

.woocommerce a.added_to_cart {
  background: transparent !important;
  border: 2px solid var(--c-border) !important;
  color: var(--c-muted) !important;
  font-size: 12px !important;
  padding: 8px 16px !important;
  box-shadow: none !important;
  transform: none !important;
}
.woocommerce a.added_to_cart:hover {
  border-color: var(--c-accent) !important;
  color: var(--c-accent) !important;
  background: transparent !important;
}

/* ─────────────────────────────────────────────────────────────
   FORMULARZE
───────────────────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
select, textarea {
  background: #fff !important;
  border: 2px solid var(--c-border) !important;
  border-radius: var(--c-radius) !important;
  color: var(--c-text) !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  font-family: 'Inter', sans-serif !important;
  transition: border-color .18s, box-shadow .18s !important;
}
input::placeholder, textarea::placeholder { color: var(--c-muted2) !important; }
input:focus, select:focus, textarea:focus {
  border-color: var(--c-accent) !important;
  box-shadow: 0 0 0 3px rgba(0,87,204,.15) !important;
  outline: none !important;
}
label {
  color: var(--c-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: block !important;
  margin-bottom: 5px !important;
}

/* ─────────────────────────────────────────────────────────────
   WOOCOMMERCE – SKLEP (lista produktów)
───────────────────────────────────────────────────────────── */

/* Grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)) !important;
  gap: 22px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Karta – modern glow card ─────────────────────────────── */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.04) !important;
  transition: box-shadow .3s cubic-bezier(.4,0,.2,1),
              transform .3s cubic-bezier(.4,0,.2,1) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  box-shadow: 0 20px 60px rgba(0,87,204,.18),
              0 4px 16px rgba(0,0,0,.08),
              0 0 0 1.5px rgba(0,87,204,.3) !important;
  transform: translateY(-8px) !important;
}

/* ── Obszar obrazka + tytułu – białe tło ─────────────────── */
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product a img {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  aspect-ratio: unset !important;
  object-fit: contain !important;
  padding: 22px !important;
  transition: transform .4s cubic-bezier(.4,0,.2,1) !important;
}
.woocommerce ul.products li.product:hover a img {
  transform: scale(1.09) !important;
}

/* ── Kategorie – ukryj ────────────────────────────────────── */
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .ct-woo-card-meta,
.woocommerce ul.products li.product .cat-links,
.woocommerce ul.products li.product .product-category-tag,
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .ct-product-extra-info,
.woocommerce ul.products li.product .ast-woo-product-category {
  display: none !important;
}

/* ── Tytuł – czarny, większy, białe tło ──────────────────── */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  background: #ffffff !important;
  color: #0d0d0d !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  padding: 14px 16px 10px !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 62px !important;
  flex-shrink: 0 !important;
}

/* ── Cena – efekt: pill z czarnym tekstem ────────────────── */
.woocommerce ul.products li.product .price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 6px 16px 14px !important;
  margin: 0 !important;
  font-family: 'Inter', sans-serif !important;
  flex-grow: 1 !important;
  background: #ffffff !important;
}
.woocommerce ul.products li.product .price del {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #9ca3af !important;
  text-decoration: line-through !important;
  line-height: 1.4 !important;
  margin-bottom: 2px !important;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  display: inline-block !important;
  background: #f3f4f6 !important;
  border-radius: 10px !important;
  padding: 5px 12px 5px 10px !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #0d0d0d !important;
  letter-spacing: -0.6px !important;
  line-height: 1.2 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05) !important;
}
.woocommerce ul.products li.product .price > .amount {
  display: inline-block !important;
  background: #f3f4f6 !important;
  border-radius: 10px !important;
  padding: 5px 12px 5px 10px !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #0d0d0d !important;
  letter-spacing: -0.6px !important;
  line-height: 1.2 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05) !important;
  margin-top: 2px !important;
}

/* ── Przycisk – gradient + glow ──────────────────────────── */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  margin: 0 14px 16px !important;
  width: calc(100% - 28px) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  text-align: center !important;
  letter-spacing: .02em !important;
  background: linear-gradient(135deg, #0057cc 0%, #2d8cf0 100%) !important;
  box-shadow: 0 4px 14px rgba(0,87,204,.3) !important;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: linear-gradient(135deg, #003fa3 0%, #0057cc 100%) !important;
  box-shadow: 0 6px 22px rgba(0,87,204,.45) !important;
  transform: translateY(-1px) !important;
}

/* ── Badge SALE ───────────────────────────────────────────── */
.woocommerce span.onsale {
  background: linear-gradient(135deg, #dc2626 0%, #f87171 100%) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  border-radius: 20px !important;
  padding: 4px 12px !important;
  top: 12px !important;
  left: 12px !important;
  min-height: unset !important;
  min-width: unset !important;
  line-height: 1.5 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  box-shadow: 0 2px 10px rgba(220,38,38,.35) !important;
}

/* Wyniki / sortowanie */
.woocommerce-result-count { color: var(--c-muted) !important; font-size: 13px !important; }
.woocommerce .woocommerce-ordering select {
  background: #fff !important;
  border: 2px solid var(--c-border) !important;
  color: var(--c-text) !important;
  border-radius: var(--c-radius) !important;
  padding: 8px 14px !important;
}

/* ─────────────────────────────────────────────────────────────
   WOOCOMMERCE – STRONA PRODUKTU
───────────────────────────────────────────────────────────── */

/* ── Galeria ──────────────────────────────────────────────── */
.woocommerce div.product .woocommerce-product-gallery {
  border-radius: 20px !important;
  border: none !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.04) !important;
}
.woocommerce div.product .woocommerce-product-gallery__image {
  background: #fafafa !important;
}
.woocommerce div.product .woocommerce-product-gallery__image img {
  padding: 12px !important;
}

/* Miniatury */
.woocommerce div.product .flex-control-thumbs {
  display: flex !important;
  gap: 8px !important;
  padding: 10px 12px 12px !important;
  background: #f9fafb !important;
  border-top: 1px solid var(--c-border) !important;
}
.woocommerce div.product .flex-control-thumbs li img {
  border-radius: 10px !important;
  border: 2px solid transparent !important;
  opacity: .65 !important;
  transition: all .2s ease !important;
  background: #fff !important;
}
.woocommerce div.product .flex-control-thumbs li img.flex-active,
.woocommerce div.product .flex-control-thumbs li img:hover {
  opacity: 1 !important;
  border-color: var(--c-accent) !important;
  box-shadow: 0 2px 10px rgba(0,87,204,.2) !important;
}

/* ── Tytuł produktu ───────────────────────────────────────── */
.woocommerce div.product .product_title {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #0d0d0d !important;
  line-height: 1.25 !important;
  letter-spacing: -.4px !important;
  margin-bottom: 12px !important;
}

/* ── Oceny (gwiazdki) ─────────────────────────────────────── */
.woocommerce div.product .woocommerce-product-rating {
  margin-bottom: 14px !important;
}

/* ── Cena – pill czarny ───────────────────────────────────── */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  background: #f3f4f6 !important;
  border-radius: 14px !important;
  padding: 10px 20px !important;
  margin: 4px 0 18px !important;
  font-size: 2.4rem !important;
  font-weight: 900 !important;
  color: #0d0d0d !important;
  letter-spacing: -1px !important;
  line-height: 1.2 !important;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: #9ca3af !important;
  letter-spacing: 0 !important;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins { text-decoration: none !important; }

/* ── Dostępność ───────────────────────────────────────────── */
.woocommerce div.product .stock.in-stock {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #16a34a !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  background: rgba(22,163,74,.09) !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  margin-bottom: 14px !important;
}
.woocommerce div.product .stock.in-stock::before {
  content: "●" !important;
  font-size: 8px !important;
}
.woocommerce div.product .stock.out-of-stock {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--c-red) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  background: rgba(220,38,38,.08) !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
}

/* ── Krótki opis ──────────────────────────────────────────── */
.woocommerce div.product .woocommerce-product-details__short-description {
  color: #4b5563 !important;
  font-size: 14.5px !important;
  line-height: 1.8 !important;
  border-left: none !important;
  padding-left: 0 !important;
  margin: 4px 0 20px !important;
}
.woocommerce div.product .woocommerce-product-details__short-description ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce div.product .woocommerce-product-details__short-description li {
  padding: 4px 0 4px 24px !important;
  position: relative !important;
}
.woocommerce div.product .woocommerce-product-details__short-description li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  color: #16a34a !important;
  font-weight: 700 !important;
}

/* ── Ilość + przycisk ─────────────────────────────────────── */
.woocommerce div.product form.cart {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  margin-top: 4px !important;
  margin-bottom: 20px !important;
}
.woocommerce div.product form.cart .quantity .qty {
  background: #fff !important;
  border: 2px solid var(--c-border) !important;
  border-radius: 12px !important;
  color: #0d0d0d !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  width: 80px !important;
  height: 52px !important;
  text-align: center !important;
  padding: 0 !important;
  transition: border-color .2s !important;
}
.woocommerce div.product form.cart .quantity .qty:focus {
  border-color: var(--c-accent) !important;
  outline: none !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1 !important;
  height: 52px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  letter-spacing: .01em !important;
  background: linear-gradient(135deg, #0057cc 0%, #2d8cf0 100%) !important;
  box-shadow: 0 6px 24px rgba(0,87,204,.3) !important;
  transition: all .2s cubic-bezier(.4,0,.2,1) !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #003fa3 0%, #0057cc 100%) !important;
  box-shadow: 0 8px 32px rgba(0,87,204,.45) !important;
  transform: translateY(-2px) !important;
}

/* ── Meta (kategoria, tagi) ───────────────────────────────── */
.woocommerce div.product .product_meta {
  font-size: 12px !important;
  color: #9ca3af !important;
  border-top: 1px solid var(--c-border) !important;
  padding-top: 14px !important;
  margin-top: 4px !important;
}
.woocommerce div.product .product_meta a {
  color: #6b7280 !important;
  text-decoration: underline !important;
  text-decoration-color: #d1d5db !important;
}
.woocommerce div.product .product_meta a:hover { color: var(--c-accent) !important; }

/* ── Zakładki – pill style ────────────────────────────────── */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border: none !important;
  background: transparent !important;
  padding: 0 0 0 0 !important;
  display: flex !important;
  gap: 8px !important;
  margin-bottom: 20px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #f3f4f6 !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background .2s, box-shadow .2s !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--c-accent) !important;
  box-shadow: 0 4px 14px rgba(0,87,204,.3) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block !important;
  color: #4b5563 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #ffffff !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active):hover {
  background: #e5e7eb !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active):hover a {
  color: #111827 !important;
}
.woocommerce div.product .woocommerce-tabs .panel {
  background: #fff !important;
  border: 1px solid var(--c-border) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  color: #4b5563 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.04) !important;
}

/* ── Tabela atrybutów ─────────────────────────────────────── */
.woocommerce table.shop_attributes { width: 100% !important; border-collapse: collapse !important; }
.woocommerce table.shop_attributes th {
  background: #f9fafb !important;
  color: #6b7280 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  border-color: var(--c-border) !important;
  padding: 12px 18px !important;
}
.woocommerce table.shop_attributes td {
  color: #111827 !important;
  border-color: var(--c-border) !important;
  padding: 12px 18px !important;
}

/* ─────────────────────────────────────────────────────────────
   KOSZYK
───────────────────────────────────────────────────────────── */
.woocommerce-cart-form table.cart {
  background: #fff !important;
  border: 2px solid var(--c-border) !important;
  border-radius: 14px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
}
.woocommerce-cart-form table.cart thead th {
  background: var(--c-surface) !important;
  color: var(--c-muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  padding: 14px 20px !important;
  border-bottom: 2px solid var(--c-border) !important;
}
.woocommerce-cart-form table.cart td {
  color: var(--c-text) !important;
  border-bottom: 1px solid var(--c-border) !important;
  padding: 18px 20px !important;
  vertical-align: middle !important;
}
.woocommerce-cart-form table.cart .product-name a {
  color: var(--c-text) !important;
  font-weight: 600 !important;
}
.woocommerce-cart-form table.cart .product-name a:hover { color: var(--c-accent) !important; }
.woocommerce-cart-form table.cart .product-price .amount,
.woocommerce-cart-form table.cart .product-subtotal .amount {
  color: var(--c-accent) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.cart-collaterals .cart_totals {
  background: #fff !important;
  border: 2px solid var(--c-border) !important;
  border-radius: 14px !important;
  padding: 24px !important;
}
.cart_totals h2 {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: var(--c-muted) !important;
  margin-bottom: 18px !important;
}
.cart_totals table.shop_table tr { border-bottom: 1px solid var(--c-border) !important; }
.cart_totals table.shop_table td,
.cart_totals table.shop_table th {
  color: var(--c-muted) !important;
  padding: 11px 0 !important;
  font-size: 14px !important;
}
.cart_totals table.shop_table .order-total td,
.cart_totals table.shop_table .order-total th {
  color: var(--c-text) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}
.cart_totals table.shop_table .order-total .amount { color: var(--c-accent) !important; }

/* ─────────────────────────────────────────────────────────────
   CHECKOUT
───────────────────────────────────────────────────────────── */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: var(--c-muted) !important;
  border-bottom: 2px solid var(--c-border) !important;
  padding-bottom: 11px !important;
  margin-bottom: 22px !important;
}
#order_review {
  background: #fff !important;
  border: 2px solid var(--c-border) !important;
  border-radius: 14px !important;
  padding: 24px !important;
}
#order_review table.shop_table tr { border-bottom: 1px solid var(--c-border) !important; }
#order_review table.shop_table td,
#order_review table.shop_table th { color: var(--c-muted) !important; padding: 11px 0 !important; }
#order_review table.shop_table .order-total td,
#order_review table.shop_table .order-total th {
  color: var(--c-accent) !important;
  font-weight: 800 !important;
  font-size: 20px !important;
}
#payment {
  background: #fff !important;
  border: 2px solid var(--c-border) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
#payment ul.payment_methods {
  padding: 20px 24px !important;
  border-bottom: 1px solid var(--c-border) !important;
}
#payment ul.payment_methods li label {
  color: var(--c-text) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  font-size: 15px !important;
  cursor: pointer !important;
}
#payment div.payment_box {
  background: var(--c-surface) !important;
  color: var(--c-muted) !important;
  font-size: 13px !important;
}
#payment div.place-order { padding: 20px 24px !important; }

.woocommerce-shipping-totals td ul#shipping_method { list-style: none !important; padding: 0 !important; }
.woocommerce-shipping-totals td ul#shipping_method li {
  padding: 10px 14px !important;
  border: 2px solid var(--c-border) !important;
  border-radius: var(--c-radius) !important;
  margin-bottom: 8px !important;
  cursor: pointer !important;
}
.woocommerce-shipping-totals td ul#shipping_method li:has(input:checked) {
  border-color: var(--c-accent) !important;
  background: rgba(0,87,204,.04) !important;
}

/* ─────────────────────────────────────────────────────────────
   NOTICES
───────────────────────────────────────────────────────────── */
.woocommerce-message {
  background: rgba(22,163,74,.06) !important;
  border-top: 4px solid var(--c-green) !important;
  color: var(--c-text) !important;
}
.woocommerce-error {
  background: rgba(220,38,38,.06) !important;
  border-top: 4px solid var(--c-red) !important;
  color: var(--c-text) !important;
  list-style: none !important;
}
.woocommerce-info {
  background: rgba(0,87,204,.06) !important;
  border-top: 4px solid var(--c-accent) !important;
  color: var(--c-text) !important;
}

/* ─────────────────────────────────────────────────────────────
   BREADCRUMBS + PAGINATION
───────────────────────────────────────────────────────────── */
.woocommerce .woocommerce-breadcrumb, .ct-breadcrumbs {
  color: var(--c-muted) !important;
  font-size: 12px !important;
}
.woocommerce .woocommerce-breadcrumb a, .ct-breadcrumbs a { color: var(--c-muted) !important; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--c-accent) !important; }

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: #fff !important;
  border: 2px solid var(--c-border) !important;
  color: var(--c-text) !important;
  border-radius: 8px !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
  color: #fff !important;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
#footer, .ct-footer, .site-footer, footer.site-footer {
  background: #0f1117 !important;
  border-top: none !important;
  color: #9ca3af !important;
  position: relative !important;
}

/* Gradient kreska na górze stopki */
#footer::before, .ct-footer::before {
  content: '' !important;
  display: block !important;
  height: 3px !important;
  background: linear-gradient(90deg, #0057cc 0%, #2d8cf0 40%, #60a5fa 60%, #2d8cf0 80%, #0057cc 100%) !important;
}

/* Nagłówki widgetów */
#footer h2, #footer h3, #footer h4,
.ct-footer h2, .ct-footer h3, .ct-footer h4,
.ct-footer .widget-title {
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .14em !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
}

/* Linki w stopce */
#footer a, .ct-footer a {
  color: #9ca3af !important;
  font-size: 13.5px !important;
  line-height: 1 !important;
  transition: color .15s ease !important;
}
#footer a:hover, .ct-footer a:hover {
  color: #60a5fa !important;
}

/* Listy w widgetach stopki */
.ct-footer ul, #footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ct-footer ul li, #footer ul li {
  padding: 6px 0 !important;
  border: none !important;
}
.ct-footer ul li a, #footer ul li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.ct-footer ul li a::before, #footer ul li a::before {
  content: '→' !important;
  font-size: 11px !important;
  color: #0057cc !important;
  flex-shrink: 0 !important;
  opacity: .7 !important;
  transition: opacity .15s, transform .15s !important;
}
.ct-footer ul li a:hover::before, #footer ul li a:hover::before {
  opacity: 1 !important;
  transform: translateX(3px) !important;
}

/* Logo w stopce – białe */
.ct-footer .site-logo img,
.ct-footer .custom-logo,
.ct-footer [class*="site-logo"] img,
#footer .site-logo img {
  max-height: 42px !important;
  filter: brightness(0) invert(1) !important;
  opacity: .88 !important;
}

/* Opis pod logo */
.wb-foot-desc {
  color: #6b7280;
  font-size: 13.5px;
  line-height: 1.75;
  margin: 14px 0 0;
  max-width: 260px;
}

/* ── Pasek płatności / dostawa ────────────────────────────── */
.wb-foot-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.wb-foot-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 8px 14px;
  transition: background .2s;
}
.wb-foot-logo-chip:hover {
  background: rgba(255,255,255,.12);
}
.wb-foot-logo-chip img {
  height: 22px !important;
  width: auto !important;
  filter: brightness(0) invert(1) !important;
  opacity: .75 !important;
  margin: 0 !important;
}
.wb-foot-logo-chip span {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

/* ── Bottom bar ───────────────────────────────────────────── */
.ct-bottom-bar {
  background: #080a10 !important;
  color: #4b5563 !important;
  font-size: 12.5px !important;
  border-top: 1px solid rgba(255,255,255,.05) !important;
  padding: 14px 0 !important;
}
.ct-bottom-bar a {
  color: #4b5563 !important;
  transition: color .15s !important;
}
.ct-bottom-bar a:hover { color: #60a5fa !important; }

/* ── Separator wierszy stopki ─────────────────────────────── */
.ct-footer [class*="footer-row"] + [class*="footer-row"] {
  border-top: 1px solid rgba(255,255,255,.06) !important;
}

/* ─────────────────────────────────────────────────────────────
   WIDGETY
───────────────────────────────────────────────────────────── */
.widget {
  background: #fff !important;
  border: 2px solid var(--c-border) !important;
  border-radius: 14px !important;
  padding: 24px !important;
}
.widget .widget-title, .widget h2 {
  color: var(--c-text) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  border-bottom: 2px solid var(--c-border) !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
}
.price_slider_wrapper .ui-slider-range { background: var(--c-accent) !important; }
.price_slider_wrapper .ui-slider-handle {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
}

/* ─────────────────────────────────────────────────────────────
   TREŚĆ CMS
───────────────────────────────────────────────────────────── */
.ct-main-content-area, .entry-content {
  color: var(--c-muted) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}
.wp-block-quote {
  border-left: 4px solid var(--c-accent) !important;
  background: var(--c-surface) !important;
  padding: 18px 22px !important;
  border-radius: 0 10px 10px 0 !important;
}
table { border-collapse: collapse !important; }
table th {
  background: var(--c-surface) !important;
  color: var(--c-muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  padding: 11px 16px !important;
  border: 1px solid var(--c-border) !important;
}
table td {
  color: var(--c-text) !important;
  padding: 11px 16px !important;
  border: 1px solid var(--c-border) !important;
}

/* ─────────────────────────────────────────────────────────────
   STRONA GŁÓWNA – HERO
───────────────────────────────────────────────────────────── */

/* ── full-bleed: Blocksy obsługuje .alignfull natywnie ───────
   Gutenberg Group block z alignment="full" dostaje tę klasę
   i Blocksy sam aplikuje margin-left: calc(-50vw + 50%)      */
.alignfull:has(.wb-hero),
.wp-block-group.alignfull:has(.wb-hero) {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.wb-hero {
  background: linear-gradient(135deg, #080e1f 0%, #0b1736 45%, #071a52 100%);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

/* siatka dot-pattern w tle */
.wb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* glow niebieski prawy */
.wb-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,87,204,.28) 0%, transparent 60%);
  pointer-events: none;
}

.wb-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Lewa kolumna — treść */
.wb-hero__content { max-width: 560px; }

.wb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,87,204,.18);
  color: #93c5fd;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,87,204,.3);
  backdrop-filter: blur(4px);
}

.wb-hero__title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  letter-spacing: -1.5px !important;
  margin: 0 0 22px !important;
}
.wb-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wb-hero__sub {
  font-size: 16.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin: 0 0 38px;
}

.wb-hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Prawa kolumna — dekoracja */
.wb-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 340px;
}
.wb-hero__orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(45,140,240,.45), rgba(0,57,130,.2) 60%, transparent);
  border: 1px solid rgba(0,87,204,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  animation: wb-float 5s ease-in-out infinite;
  box-shadow: 0 0 80px rgba(0,87,204,.25), inset 0 0 60px rgba(0,87,204,.1);
}
.wb-hero__orb::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(0,87,204,.2);
  animation: wb-pulse-ring 3s ease-in-out infinite;
}
.wb-hero__orb::after {
  content: '';
  position: absolute;
  inset: -38px;
  border-radius: 50%;
  border: 1px solid rgba(0,87,204,.1);
  animation: wb-pulse-ring 3s ease-in-out infinite .6s;
}

@keyframes wb-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}
@keyframes wb-pulse-ring {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.06); }
}

/* Przyciski hero */
.wb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0057cc 0%, #2d8cf0 100%);
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 6px 24px rgba(0,87,204,.4);
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.wb-btn-primary:hover {
  background: linear-gradient(135deg, #003fa3 0%, #0057cc 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0,87,204,.55);
  color: #fff !important;
}
.wb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,.75) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 12px;
  text-decoration: none !important;
  border: 1.5px solid rgba(255,255,255,.18);
  transition: all .2s;
}
.wb-btn-ghost:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.38);
  color: #fff !important;
}

/* ─────────────────────────────────────────────────────────────
   STRONA GŁÓWNA – SEKCJE
───────────────────────────────────────────────────────────── */
.wb-section {
  padding: 72px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.wb-section--gray { background: #f5f6f8; }
.wb-section__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 10px;
}
.wb-section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  font-weight: 900 !important;
  color: #0d0d0d !important;
  letter-spacing: -.5px !important;
  margin: 0 0 8px !important;
}
.wb-section__sub {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}
.wb-section__header {
  margin-bottom: 40px;
}
.wb-section__header--center { text-align: center; }

/* ─────────────────────────────────────────────────────────────
   STRONA GŁÓWNA – DEAL (Zestaw który się opłaca)
───────────────────────────────────────────────────────────── */
.wb-deal {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05);
}

/* Lewa kolumna – wizualna */
.wb-deal__visual {
  position: relative;
  background: linear-gradient(145deg, #eef3ff 0%, #dce8ff 100%);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  overflow: hidden;
}
.wb-deal__visual::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0,87,204,.12), transparent 70%);
  border-radius: 50%;
}
.wb-deal__visual img {
  max-width: 78%;
  max-height: 280px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 28px rgba(0,87,204,.18));
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.wb-deal:hover .wb-deal__visual img {
  transform: scale(1.04) translateY(-4px);
}
.wb-deal__save-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #dc2626, #f87171);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 15px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .07em;
  box-shadow: 0 3px 14px rgba(220,38,38,.4);
}

/* Prawa kolumna – treść */
.wb-deal__content {
  background: #ffffff;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wb-deal__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 10px;
}
.wb-deal__name {
  font-size: 1.65rem;
  font-weight: 900;
  color: #0d0d0d;
  letter-spacing: -.4px;
  line-height: 1.25;
  margin: 0 0 14px;
}
.wb-deal__desc {
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.75;
  margin: 0 0 22px;
}

/* Zawartość zestawu */
.wb-deal__includes {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid #f3f4f6;
}
.wb-deal__includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.wb-deal__includes li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(22,163,74,.1);
  color: #16a34a;
  font-weight: 900;
  font-size: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Cena */
.wb-deal__pricing {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}
.wb-deal__old-price {
  font-size: 15px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 400;
}
.wb-deal__new-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: #0d0d0d;
  letter-spacing: -1.2px;
  line-height: 1;
}

/* CTA */
.wb-deal__cta {
  align-self: flex-start;
  padding: 15px 36px !important;
  font-size: 15px !important;
}

/* ─────────────────────────────────────────────────────────────
   STRONA GŁÓWNA – RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .wb-deal { grid-template-columns: 1fr; }
  .wb-deal__visual { min-height: 260px; font-size: 5rem; }
  .wb-deal__content { padding: 36px 32px; }
  .wb-hero { padding: 72px 32px; }
  .wb-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .wb-hero__content { max-width: 100%; }
  .wb-hero__sub { margin-left: auto; margin-right: auto; }
  .wb-hero__cta { justify-content: center; }
  .wb-hero__visual {
    display: flex;
    height: 200px;
    order: -1; /* orb PRZED tekstem na tablet/mobile */
  }
  .wb-hero__orb {
    width: 160px;
    height: 160px;
    font-size: 3.2rem;
  }
}
@media (max-width: 768px) {
  .wb-hero { padding: 56px 24px; }
  .wb-hero__title { letter-spacing: -0.5px !important; }
  .wb-hero__visual { height: 160px; }
  .wb-hero__orb { width: 130px; height: 130px; font-size: 2.8rem; }
  .wb-categories { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .wb-cat-card { padding: 20px 12px 16px; }
  .wb-cat-icon { font-size: 2rem; margin-bottom: 10px; }
}
@media (max-width: 480px) {
  .wb-hero { padding: 48px 20px; }
  .wb-hero__sub { font-size: 15px; }
  .wb-hero__cta { flex-direction: column; align-items: center; }
  .wb-btn-primary, .wb-btn-ghost { width: 100%; justify-content: center; }
  .wb-hero__visual { height: 140px; }
  .wb-hero__orb { width: 110px; height: 110px; font-size: 2.4rem; }
  .wb-deal__content { padding: 28px 24px; }
  .wb-deal__name { font-size: 1.35rem; }
  .wb-deal__new-price { font-size: 2rem; }
  .wb-deal__cta { width: 100% !important; justify-content: center; }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE – WooCommerce
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* ═════════════════════════════════════════════════════════════
   HERO v2  –  .wb-h
   Animowana bateria, rotating rings, gradient text, stats bar
═════════════════════════════════════════════════════════════ */

/* ── Kontener główny ─────────────────────────────────────── */
.wb-h {
  position: relative;
  overflow: hidden;
  padding: 90px 40px 0;
  background-color: #060911;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px, 22px 22px;
  background-position: 0 0, 11px 11px;
  animation: wbh-bgscroll 30s linear infinite;
}
@keyframes wbh-bgscroll {
  to { background-position: 44px 44px, 55px 55px; }
}

/* ── Glowy blobs ─────────────────────────────────────────── */
.wb-h__bg { position: absolute; inset: 0; pointer-events: none; }

.wb-h__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.wb-h__glow--1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0,87,204,.22), transparent 65%);
  top: -220px; right: -80px;
  animation: wbh-glow 9s ease-in-out infinite;
}
.wb-h__glow--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(45,140,240,.14), transparent 65%);
  bottom: 0; left: 8%;
  animation: wbh-glow 9s ease-in-out infinite 3s;
}
.wb-h__glow--3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(139,92,246,.1), transparent 65%);
  top: 25%; left: -80px;
  animation: wbh-glow 11s ease-in-out infinite 5s;
}
@keyframes wbh-glow {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 1; }
  50%       { transform: scale(1.18) translate(18px, -18px); opacity: .7; }
}

/* ── Inner grid ──────────────────────────────────────────── */
.wb-h__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 80px;
}

/* ── Copy ────────────────────────────────────────────────── */
.wb-h__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,87,204,.14);
  border: 1px solid rgba(0,87,204,.28);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 30px;
  backdrop-filter: blur(8px);
  animation: wbh-in .6s ease both;
}
.wb-h__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: wbh-ping 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
}
@keyframes wbh-ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.wb-h__title {
  font-size: clamp(2.6rem, 4.8vw, 4.2rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.07 !important;
  letter-spacing: -2px !important;
  margin: 0 0 24px !important;
  animation: wbh-in .7s .1s ease both;
}
.wb-h__grad {
  display: block;
  background: linear-gradient(100deg, #60a5fa 0%, #a78bfa 35%, #f472b6 65%, #fb923c 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wbh-gradmove 4s linear infinite;
}
@keyframes wbh-gradmove {
  to { background-position: 200% center; }
}

.wb-h__sub {
  font-size: 16px !important;
  color: rgba(255,255,255,.52) !important;
  line-height: 1.8 !important;
  margin: 0 0 38px !important;
  max-width: 480px !important;
  animation: wbh-in .7s .2s ease both;
}
.wb-h__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  animation: wbh-in .7s .3s ease both;
}
@keyframes wbh-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Battery visual ──────────────────────────────────────── */
.wb-h__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wbh-in .9s .2s ease both;
}
.wb-h__battery-wrap {
  position: relative;
  width: 260px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating rings */
.wb-h__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.wb-h__ring--1 {
  width: 310px; height: 310px;
  border: 1.5px solid rgba(0,87,204,.2);
  border-top-color: rgba(45,140,240,.85);
  animation: wbh-spin 12s linear infinite;
}
.wb-h__ring--2 {
  width: 400px; height: 400px;
  border: 1px solid rgba(45,140,240,.1);
  border-right-color: rgba(45,140,240,.55);
  animation: wbh-spin 22s linear infinite reverse;
}
@keyframes wbh-spin { to { transform: rotate(360deg); } }

/* Battery */
.wb-h__bat {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: wbh-float 5s ease-in-out infinite;
  filter: drop-shadow(0 0 44px rgba(0,87,204,.5));
}
@keyframes wbh-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.wb-h__bat-tip {
  width: 54px; height: 14px;
  background: linear-gradient(135deg, #3b9eff, #0057cc);
  border-radius: 5px 5px 0 0;
  box-shadow: 0 -3px 14px rgba(0,87,204,.45);
}
.wb-h__bat-body {
  width: 138px; height: 240px;
  background: rgba(255,255,255,.03);
  border: 2px solid rgba(0,87,204,.45);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow:
    inset 0 0 40px rgba(0,87,204,.08),
    0 0 70px rgba(0,87,204,.18),
    0 0 140px rgba(0,87,204,.08);
}

/* Charging fill */
.wb-h__bat-fill {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, #003fa3 0%, #0057cc 40%, #2d8cf0 80%, #60a5fa 100%);
  border-radius: 0 0 12px 12px;
  animation: wbh-charge 3.2s cubic-bezier(.4,0,.2,1) infinite;
  box-shadow: 0 -4px 24px rgba(0,87,204,.5);
}
@keyframes wbh-charge {
  0%   { height: 8%;  opacity: .7; }
  55%  { height: 96%; opacity: 1; }
  75%  { height: 96%; opacity: 1; }
  100% { height: 8%;  opacity: .7; }
}

/* Shine stripe */
.wb-h__bat-shine {
  position: absolute;
  top: 0; left: 18%; width: 22%; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.28), transparent 60%);
  border-radius: 0 0 4px 4px;
  z-index: 1;
  pointer-events: none;
  animation: wbh-charge 3.2s cubic-bezier(.4,0,.2,1) infinite;
}

/* Lightning bolt */
.wb-h__bat-icon {
  position: relative;
  z-index: 2;
  font-size: 3.4rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(255,240,60,.9));
  animation: wbh-bolt 3.2s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes wbh-bolt {
  0%, 100% { opacity: .45; transform: scale(1); }
  55%, 75%  { opacity: 1;   transform: scale(1.12); filter: drop-shadow(0 0 20px rgba(255,240,60,1)); }
}

/* Percentage label */
.wb-h__bat-pct {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  font-size: 11px; font-weight: 800;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,.85);
  letter-spacing: .08em;
}

/* Sparks */
.wb-h__spark {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  font-size: 15px;
  animation: wbh-spark 2.8s ease-in-out infinite;
}
.wb-h__spark--1 { top: 18%; left:  8%; color: #60a5fa;  animation-delay: 0s; }
.wb-h__spark--2 { top: 28%; right: 4%; color: #fbbf24;  animation-delay: .7s; }
.wb-h__spark--3 { bottom: 22%; left: 4%; color: #a78bfa; animation-delay: 1.4s; }
.wb-h__spark--4 { top: 58%; right: 7%; color: #60a5fa;  animation-delay: 2.1s; font-size: 20px; }
.wb-h__spark--1 { --tx: -18px; --ty: -22px; }
.wb-h__spark--2 { --tx:  20px; --ty: -18px; }
.wb-h__spark--3 { --tx: -15px; --ty:  18px; }
.wb-h__spark--4 { --tx:  22px; --ty: -12px; }
@keyframes wbh-spark {
  0%   { opacity: 0; transform: scale(0) translate(0,0); }
  18%  { opacity: 1; transform: scale(1) translate(0,0); }
  78%  { opacity: .8; }
  100% { opacity: 0; transform: scale(.5) translate(var(--tx,15px),var(--ty,-20px)); }
}

/* ── Stats bar ───────────────────────────────────────────── */
.wb-h__stats {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.06);
}
.wb-h__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  gap: 7px;
  border-right: 1px solid rgba(255,255,255,.05);
  transition: background .22s;
  cursor: default;
}
.wb-h__stat:last-child { border-right: none; }
.wb-h__stat:hover { background: rgba(0,87,204,.06); }

.wb-h__stat-n {
  display: block;
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: -1px !important;
  line-height: 1 !important;
  font-family: 'Inter', sans-serif !important;
  background: linear-gradient(135deg, #fff 50%, rgba(255,255,255,.65));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wb-h__stat-l {
  font-size: 12px;
  color: rgba(255,255,255,.38);
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .wb-h__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 48px;
  }
  .wb-h__sub  { margin-left: auto; margin-right: auto; }
  .wb-h__actions { justify-content: center; }
  .wb-h__ring--1 { width: 240px; height: 240px; }
  .wb-h__ring--2 { width: 300px; height: 300px; }
  .wb-h__battery-wrap { width: 200px; height: 290px; }
  .wb-h__bat-body { width: 104px; height: 185px; }
  .wb-h__bat-tip  { width: 42px; height: 11px; }
  .wb-h__bat-icon { font-size: 2.6rem; }
  .wb-h__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wb-h { padding: 60px 20px 0; }
  .wb-h__title { letter-spacing: -.5px !important; }
  .wb-h__ring--1 { width: 190px; height: 190px; }
  .wb-h__ring--2 { width: 240px; height: 240px; }
  .wb-h__battery-wrap { width: 160px; height: 230px; }
  .wb-h__bat-body { width: 86px; height: 148px; }
  .wb-h__bat-tip  { width: 34px; height: 9px; }
  .wb-h__bat-icon { font-size: 2.1rem; }
  .wb-h__stat { padding: 20px 14px; }
  .wb-h__stat-n { font-size: 1.6rem !important; }
}
