/* ==========================================================================
   DEPOT PHARM PEPTIDES — Design System
   Mobile-first, clean, premium, laboratory / biotech style
   ========================================================================== */

/* Fix: mobile horizontal-overflow (from carousel wrappers) was expanding
   the mobile layout viewport, pushing position:fixed elements (mobile nav
   panel) off-screen to the right. Clip overflow at the root as a safety net.
   overscroll-behavior-x additionally stops the browser's own horizontal
   rubber-band/bounce animation, so even a stray px of overflow from a future
   change can't flash blank page background when someone swipes sideways. */
html{overflow-x:hidden;max-width:100vw;overscroll-behavior-x:none}
body{max-width:100vw;overflow-x:hidden;overscroll-behavior-x:none}

:root{
  --dp-purple:#8B5CF6;
  --dp-purple-btn:#C4B5FD;
  --dp-purple-dark:#4C1D95;
  --dp-purple-darker:#3B0F73;
  --dp-purple-mid:#9333EA;
  --dp-purple-light:#F4EFFE;
  --dp-purple-soft:#EDE4FC;
  --dp-navy:#14142B;
  --dp-gray:#6B7280;
  --dp-gray-light:#9CA3AF;
  --dp-border:#EAE3F7;
  --dp-white:#FFFFFF;
  --dp-success:#16A34A;
  --radius-sm:8px;
  --radius:14px;
  --radius-lg:22px;
  --shadow-sm:0 2px 10px rgba(76,29,149,.06);
  --shadow:0 8px 30px rgba(76,29,149,.10);
  --container:1240px;
  --gap:20px;
  font-size:16px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  color:var(--dp-navy);
  background:var(--dp-white);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,h4{margin:0 0 8px;font-weight:800;letter-spacing:-.02em;color:var(--dp-navy)}
p{margin:0 0 12px;color:var(--dp-gray)}
button{font-family:inherit;cursor:pointer}

.container{max-width:var(--container);margin:0 auto;padding:0 18px}
/* Fix: .section used the shorthand "padding:44px 0", which — combined with
   .container on the same <section class="section container"> elements —
   silently wiped out .container's 18px side padding (later same-specificity
   shorthand always wins over an earlier one, even for the sides it didn't
   mean to touch). Every "section container" block was rendering edge-to-edge
   with 0 horizontal inset instead of 18px, and on mobile that let the
   absolutely-positioned carousel arrows (left:-4px / right:-4px, meant to
   sit just past the container's own padding) poke a few px past the real
   screen edge — enough to trigger the browser's horizontal overscroll/
   rubber-band bounce on a swipe (a flash of blank page background). Using
   the longhand top/bottom properties here leaves .container's side padding
   alone. */
.section{padding-top:44px;padding-bottom:44px}
.section-title{font-size:1.5rem;text-align:center;margin-bottom:6px}
.section-sub{text-align:center;color:var(--dp-gray);margin-bottom:26px;font-size:.95rem}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 24px;border-radius:var(--radius-sm);font-weight:700;font-size:.95rem;
  border:2px solid transparent;transition:.2s ease;cursor:pointer;white-space:nowrap;
}
.btn-primary{background:var(--dp-purple-btn);color:var(--dp-navy)}
.btn-primary:hover{background:var(--dp-purple);color:#fff}
.btn-cart{background:var(--dp-purple-btn);color:var(--dp-navy)}
.btn-cart:hover{background:var(--dp-purple);color:#fff}
.btn-outline{background:#fff;border-color:var(--dp-purple);color:var(--dp-purple)}
.btn-outline:hover{background:var(--dp-purple-light)}
.btn-sm{padding:9px 16px;font-size:.85rem;border-radius:var(--radius-sm);width:100%}
.btn-block{width:100%}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position:sticky;top:0;z-index:100;
  background:#fff;border-bottom:1px solid var(--dp-border);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 18px;max-width:var(--container);margin:0 auto;
}
.header-left{display:flex;align-items:center;gap:10px;min-width:0}
.site-logo{display:flex;align-items:center}
.site-logo img{height:26px;width:auto;max-width:100%}
.site-logo{font-weight:800;font-size:.95rem;color:var(--dp-navy)}
.main-nav{display:none}
.main-nav ul{display:flex;gap:26px}
.main-nav a{font-weight:600;font-size:.92rem;color:var(--dp-navy)}
.main-nav a:hover{color:var(--dp-purple)}

.header-actions{display:flex;align-items:center;gap:14px}
.header-icon-btn{position:relative;background:none;border:none;color:var(--dp-navy);display:flex}
.cart-count{
  position:absolute;top:-6px;right:-8px;background:var(--dp-purple);color:#fff;
  font-size:.65rem;font-weight:700;border-radius:50%;width:17px;height:17px;
  display:flex;align-items:center;justify-content:center;
}
.hamburger{display:flex;background:none;border:none;color:var(--dp-navy)}

.mobile-nav{
  display:none;position:fixed;inset:0 0 0 auto;width:82%;max-width:340px;
  background:#fff;z-index:200;box-shadow:-10px 0 30px rgba(0,0,0,.12);
  padding:20px;transform:translateX(100%);transition:transform .25s ease;overflow-y:auto;
}
.mobile-nav.is-open{display:block;transform:translateX(0)}
.mobile-nav-close{background:none;border:none;margin-bottom:20px}
.mobile-nav ul{display:flex;flex-direction:column;gap:4px}
.mobile-nav a{display:block;padding:14px 6px;font-weight:700;font-size:1.05rem;border-bottom:1px solid var(--dp-border)}
.nav-overlay{display:none;position:fixed;inset:0;background:rgba(20,20,43,.4);z-index:190}
.nav-overlay.is-open{display:block}

@media(min-width:960px){
  .main-nav{display:block}
  .hamburger{display:none}
  .header-inner{padding:16px 24px}
  .site-logo img{height:34px}
  .site-logo{font-size:1.1rem}
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--dp-purple-light) 0%,var(--dp-purple-soft) 55%,#fff 100%);
}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img.hero-img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-bg img.hero-img-mobile{object-fit:contain;object-position:center}
.hero-bg img.hero-img-desktop{display:none!important;object-fit:contain;object-position:center}
.hero-bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(20,10,40,.5) 0%,rgba(20,10,40,.25) 40%,rgba(20,10,40,0) 75%);
}
.hero-no-overlay .hero-bg::after{display:none}
.hero-no-overlay .hero-inner{min-height:0;padding:0}
.hero-no-overlay .hero-bg{position:static}
.hero-no-overlay .hero-bg img.hero-img{width:100%;height:auto;object-fit:contain}

.hero-inner{
  position:relative;z-index:1;
  padding:44px 18px;max-width:var(--container);margin:0 auto;
  display:flex;flex-direction:column;gap:22px;justify-content:center;
}
.has-hero-image .hero-inner{min-height:440px}
.hero-content h1{font-size:1.8rem;line-height:1.14;margin-bottom:10px}
.hero-content p{font-size:.92rem;opacity:.8;margin-bottom:0}
.has-hero-image .hero-content h1,
.has-hero-image .hero-content p{color:#fff}
.has-hero-image .hero-content p{color:rgba(255,255,255,.88)}

.hero-cta{display:flex;flex-direction:column;gap:10px;max-width:300px}
.hero-cta .btn{width:100%}
.has-hero-image .btn-outline{background:rgba(255,255,255,.1);border-color:#fff;color:#fff}
.has-hero-image .btn-outline:hover{background:rgba(255,255,255,.22)}

/* Mobile: przyciski nachodziły na fiolki (obraz baneru był tłem na całą
   sekcję, treść wyśrodkowana na nim) — na telefonie obraz wraca do
   normalnego przepływu (naturalna wysokość, bez przycinania) i sekcja z
   treścią/przyciskami renderuje się POD nim, a nie na nim. */
@media(max-width:959px){
  .has-hero-image .hero-bg{position:relative;inset:auto;z-index:0}
  .has-hero-image .hero-bg img.hero-img-mobile{
    width:100%;height:auto;display:block;object-fit:cover;object-position:center;
  }
  .has-hero-image .hero-bg::after{display:none}
  .has-hero-image .hero-inner{position:relative;min-height:0;padding:22px 18px 34px}
  .has-hero-image .hero-content h1{color:var(--dp-navy)}
  .has-hero-image .hero-content p{color:var(--dp-gray-light)}
  .has-hero-image .btn-outline{background:transparent;border-color:var(--dp-purple);color:var(--dp-purple)}
  .has-hero-image .btn-outline:hover{background:var(--dp-purple-light)}
  /* Wyśrodkuj przyciski pod banerem na mobilu */
  .hero-cta{margin-left:auto;margin-right:auto}
}

/* Real overflow source on mobile: this ONLY affects logged-in staff (the WP
   admin toolbar, never shown to shoppers) — its account name is a nowrap
   inline span that doesn't shrink, which widened the page's layout viewport
   and made it possible to pan/swipe sideways onto blank space. Neutralise it
   outright at admin-bar's own responsive breakpoint (confirmed: logged-out
   visitors already measure 0px of horizontal overflow, this is admin-only). */
@media(max-width:782px){
  #wpadminbar{max-width:100vw!important;overflow:hidden!important}
  #wpadminbar .display-name{display:none!important}
  #wpadminbar li.menupop.with-avatar>.ab-item{white-space:nowrap}
}

@media(min-width:960px){
  .hero-inner{padding:90px 24px}
  .has-hero-image .hero-inner{min-height:540px}
  .hero-content h1{font-size:2.8rem}
  .hero-content p{font-size:1.05rem}
  .hero-cta{flex-direction:column;max-width:300px}
  .hero-bg img.hero-img-mobile{display:none!important}
  .hero-bg img.hero-img-desktop{display:block!important}
}

/* ==========================================================================
   SHOP LAYOUT — kategorie: pigułki na telefonie, drzewo w sidebarze na desktopie
   ========================================================================== */
.shop-layout{display:block}
.shop-main{min-width:0}
.shop-sidebar{margin:0 0 22px}
.shop-sidebar-title{
  font-weight:800;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--dp-gray-light);margin:0 0 10px;
}
.shop-cat-tree{
  list-style:none;margin:0;padding:0;
  display:flex;flex-wrap:wrap;gap:8px;
}
.shop-cat-tree li{flex:0 0 auto}
.shop-cat-tree a{
  display:flex;align-items:center;gap:6px;white-space:nowrap;
  padding:8px 12px;border-radius:100px;border:1px solid var(--dp-border);
  background:#fff;color:var(--dp-navy);font-weight:600;font-size:.78rem;
  transition:.2s;
}
.shop-cat-tree a svg{width:16px;height:16px;flex:0 0 auto}
.shop-cat-tree a em{font-style:normal;display:none}
.shop-cat-tree a:hover{border-color:var(--dp-purple);color:var(--dp-purple)}
.shop-cat-tree a.is-active{background:var(--dp-purple);border-color:var(--dp-purple);color:#fff}

/* Mobile: pełnotekstowe pigułki zawijały się do kilku rzędów i "wyglądały
   beznadziejnie" (feedback klienta) — zamiana na przewijaną poziomo listę
   kompaktowych okrągłych ikon z krótką etykietą pod spodem, w duchu
   minimalnych pasków kategorii/filtrów u konkurencji (peptideslabuk.com,
   retatrutidepeptide.com.au). */
@media(max-width:959px){
  .shop-sidebar{
    margin:0 0 18px;
    -webkit-mask-image:linear-gradient(to right,transparent,#000 16px,#000 calc(100% - 28px),transparent);
    mask-image:linear-gradient(to right,transparent,#000 16px,#000 calc(100% - 28px),transparent);
  }
  .shop-cat-tree{
    flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:14px;
    padding:2px 16px 10px;margin:0 -16px;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;-ms-overflow-style:none;
  }
  .shop-cat-tree::-webkit-scrollbar{display:none}
  .shop-cat-tree li{flex:0 0 auto}
  .shop-cat-tree a{
    flex-direction:column;justify-content:flex-start;align-items:center;gap:6px;
    width:64px;padding:0;border:none;background:none;border-radius:0;
    white-space:normal;text-align:center;
  }
  .shop-cat-tree a svg{
    width:22px;height:22px;flex:0 0 auto;padding:13px;box-sizing:content-box;
    border-radius:50%;background:var(--dp-purple-light);color:var(--dp-purple);
    transition:.2s;
  }
  .shop-cat-tree a.is-active{background:none;color:var(--dp-navy)}
  .shop-cat-tree a.is-active svg{background:var(--dp-purple);color:#fff}
  .shop-cat-tree a:hover:not(.is-active) svg{background:var(--dp-purple);color:#fff}
  .shop-cat-tree a span{
    font-size:.64rem;line-height:1.2;font-weight:700;color:var(--dp-navy);
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .shop-cat-tree a.is-active span{color:var(--dp-purple)}
  .shop-cat-tree a em{display:none}
}

@media(min-width:960px){
  .shop-layout{display:flex;gap:32px;align-items:flex-start}
  .shop-sidebar{
    flex:0 0 230px;position:sticky;top:90px;margin:0;
    -webkit-mask-image:none;mask-image:none;
  }
  .shop-cat-tree{
    flex-direction:column;overflow:visible;gap:2px;
    -webkit-mask-image:none;mask-image:none;
  }
  .shop-cat-tree a{
    border:none;border-radius:10px;padding:10px 12px;justify-content:flex-start;
  }
  .shop-cat-tree a svg{color:var(--dp-purple)}
  .shop-cat-tree a.is-active svg{color:#fff}
  .shop-cat-tree a:hover:not(.is-active){background:var(--dp-purple-light)}
  .shop-cat-tree a em{
    display:inline-block;margin-left:auto;font-weight:700;font-size:.75rem;
    color:var(--dp-gray-light);
  }
  .shop-cat-tree a.is-active em{color:rgba(255,255,255,.75)}
}

/* ==========================================================================
   SHOP BY CATEGORY
   ========================================================================== */
.category-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:14px;
}
.category-card{
  background:#fff;border:1px solid var(--dp-border);border-radius:var(--radius);
  padding:20px 12px;text-align:center;transition:.2s;
}
.category-card:hover{box-shadow:var(--shadow);border-color:var(--dp-purple)}
.category-icon{
  width:52px;height:52px;border-radius:50%;background:var(--dp-purple-light);
  display:flex;align-items:center;justify-content:center;margin:0 auto 10px;color:var(--dp-purple);
}
.category-card span{font-weight:700;font-size:.88rem}

@media(min-width:640px){.category-grid{grid-template-columns:repeat(4,1fr)}}
@media(min-width:960px){.category-grid{grid-template-columns:repeat(8,1fr)}
  .category-card span{font-size:.8rem}}

/* ==========================================================================
   PRODUCT CARDS / POPULAR PRODUCTS
   ========================================================================== */
.product-scroller{
  display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:8px;-webkit-overflow-scrolling:touch;
}
.product-scroller::-webkit-scrollbar{display:none}
.product-card{
  scroll-snap-align:start;flex:0 0 200px;
  background:#fff;border:1px solid var(--dp-border);border-radius:var(--radius);
  padding:16px;text-align:left;
  display:flex;flex-direction:column;
}
.product-card .prod-img{
  background:var(--dp-purple-light);border-radius:var(--radius-sm);
  aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;margin-bottom:12px;overflow:hidden;
}
.product-card .prod-img img{width:100%;height:100%;object-fit:cover}
.product-card h4{
  font-size:.86rem;line-height:1.25;margin-bottom:2px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.5em;
}
.product-card .prod-strength{font-size:.78rem;color:var(--dp-gray-light);margin-bottom:6px}
.product-card .prod-price{font-weight:800;color:var(--dp-purple-dark);margin-bottom:10px;display:block;min-height:1.2em}
/* Fix: WooCommerce prints a hidden screen-reader-text span AFTER the add-to-cart
   markup, so it — not our visible .dp-loop-cart block — was the true last child
   picking up the auto top-margin. That left a variable, invisible gap below the
   button depending on how much the title above wrapped, so buttons drifted out
   of line across a row. Target the real control directly instead. */
.product-card>*:last-child{margin-top:0}
.product-card .dp-loop-cart,
.product-card>.add_to_cart_button{margin-top:auto}
.product-card .button{
  display:inline-flex;align-items:center;justify-content:center;width:100%;
  background:var(--dp-purple-btn);color:var(--dp-navy)!important;font-weight:700;font-size:.78rem;
  padding:9px 10px;border-radius:var(--radius-sm);border:none;transition:.2s;
}
.product-card .button:hover{background:var(--dp-purple);color:#fff!important}
.product-card .added_to_cart{display:block;text-align:center;margin-top:8px;font-size:.75rem;color:var(--dp-purple-dark);font-weight:700}

.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}

@media(min-width:640px){.product-card{flex:0 0 220px}}
@media(min-width:960px){.product-card{flex:0 0 240px}}

/* ==========================================================================
   CAROUSEL (scroll-snap track + prev/next arrow buttons)
   Shared by Popular Products (.product-scroller) and Offers & Bundles
   (.bundle-grid) — both stay horizontally scrollable at every breakpoint,
   mobile included, with buttons layered on top for pointer/desktop use.
   ========================================================================== */
.dp-carousel{position:relative}
.dp-carousel-btn{
  position:absolute;top:40%;transform:translateY(-50%);z-index:3;
  width:34px;height:34px;border-radius:50%;border:1px solid var(--dp-border);
  background:#fff;color:var(--dp-purple-dark);display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 16px -6px rgba(15,15,36,.35);cursor:pointer;transition:.2s;padding:0;
}
.dp-carousel-btn:hover{background:var(--dp-purple);color:#fff}
.dp-carousel-btn:disabled{opacity:0;pointer-events:none}
.dp-carousel-prev{left:-4px}
.dp-carousel-next{right:-4px}
@media(min-width:640px){
  .dp-carousel-prev{left:-14px}
  .dp-carousel-next{right:-14px}
  .dp-carousel-btn{width:40px;height:40px}
}

/* ==========================================================================
   OFFERS & BUNDLES
   ========================================================================== */
.bundle-grid{
  display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:8px;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;-ms-overflow-style:none;
}
.bundle-grid::-webkit-scrollbar{display:none}
.bundle-card{
  background:var(--dp-purple-light);border-radius:var(--radius-lg);
  padding:16px;position:relative;overflow:hidden;
  scroll-snap-align:start;flex:0 0 220px;
  display:flex;flex-direction:column;
}
@media(min-width:640px){.bundle-card{flex:0 0 260px}}
@media(min-width:960px){.bundle-card{flex:0 0 280px}}
.bundle-card .bundle-img-single{
  width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--radius);
  background:#fff;margin-bottom:12px;
}
.bundle-card h4{font-size:1.05rem;margin-bottom:4px}
.bundle-meta{font-size:.8rem;color:var(--dp-gray);margin-bottom:10px}
.bundle-card .prod-price{font-size:1.2rem;font-weight:800;color:var(--dp-purple-darker);display:block;margin:10px 0}
/* Same trailing screen-reader-text fix as .product-card, see comment there. */
.bundle-card>*:last-child{margin-top:0}
.bundle-card .dp-loop-cart,
.bundle-card>.add_to_cart_button{margin-top:auto}
.bundle-card .bundle-save{
  position:absolute;top:14px;left:14px;z-index:2;
  background:linear-gradient(135deg,var(--dp-purple-mid),var(--dp-purple-darker));color:#fff;
  font-size:.72rem;font-weight:800;padding:5px 12px;border-radius:100px;
  box-shadow:0 4px 10px -2px rgba(59,15,115,.5);
}
.bundle-card .button{
  display:inline-flex;align-items:center;justify-content:center;width:100%;
  background:var(--dp-purple-btn);color:var(--dp-navy)!important;font-weight:700;font-size:.85rem;
  padding:11px 14px;border-radius:var(--radius-sm);border:none;transition:.2s;
}
.bundle-card .button:hover{background:var(--dp-purple);color:#fff!important}
.bundle-card .added_to_cart{display:block;text-align:center;margin-top:8px;font-size:.75rem;color:var(--dp-purple-darker);font-weight:700}

/* ==========================================================================
   HOMEPAGE — LAB TESTS / COA SPLIT SECTION
   ========================================================================== */
.home-split{display:flex;flex-direction:column;gap:22px}
.home-split>*{flex:1;min-width:0}
.home-split-text{display:flex;flex-direction:column;gap:14px}
.coa-preview-box{background:#fff;border:1px solid var(--dp-border);border-radius:var(--radius);overflow:hidden}
.coa-preview-box .coa-table{margin:0}
.coa-preview-box .coa-table th,.coa-preview-box .coa-table td{padding:10px 14px}

@media(min-width:860px){.home-split{flex-direction:row;align-items:center;gap:40px}}

/* ---------- Generic inline link ---------- */
.link{color:var(--dp-purple);font-weight:700;font-size:.88rem}
.link:hover{color:var(--dp-purple-dark)}

/* ==========================================================================
   INFO TILES (Lab Tests / Calculator / Storage / Supplies)
   ========================================================================== */
.info-grid{display:grid;grid-template-columns:1fr;gap:16px}
.info-card{
  border:1px solid var(--dp-border);border-radius:var(--radius);padding:22px;
  display:flex;flex-direction:column;gap:8px;
}
.info-card .icon{
  width:44px;height:44px;border-radius:12px;background:var(--dp-purple-light);
  display:flex;align-items:center;justify-content:center;color:var(--dp-purple);margin-bottom:6px;
}
.info-card h4{font-size:1.02rem}
.info-card .link{color:var(--dp-purple);font-weight:700;font-size:.88rem;margin-top:auto}

@media(min-width:768px){.info-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.info-grid{grid-template-columns:repeat(4,1fr)}}

/* ---------- Why Depot Pharm strip ---------- */
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:center}
.why-item .icon{color:var(--dp-purple);margin-bottom:8px}
.why-item h4{font-size:.92rem}
.why-item p{font-size:.82rem;margin:0}
@media(min-width:768px){.why-grid{grid-template-columns:repeat(4,1fr)}}

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid{display:grid;grid-template-columns:1fr;gap:18px}
.blog-card{border:1px solid var(--dp-border);border-radius:var(--radius);overflow:hidden}
.blog-card .thumb{aspect-ratio:16/9;background:var(--dp-purple-light);overflow:hidden}
.blog-card .thumb img{width:100%;height:100%;object-fit:cover}
.blog-card .content{padding:16px}
.blog-card .cat{color:var(--dp-purple);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.blog-card h4{font-size:1rem;margin:6px 0}
.blog-card .excerpt{font-size:.85rem}
@media(min-width:768px){.blog-grid{grid-template-columns:repeat(3,1fr)}}

/* ==========================================================================
   DISCLAIMER STRIP
   ========================================================================== */
.disclaimer-strip{
  background:var(--dp-navy);color:#fff;border-radius:var(--radius);
  padding:20px;display:flex;gap:12px;align-items:flex-start;
}
.disclaimer-strip svg{flex-shrink:0;color:#fff;margin-top:2px}
.disclaimer-strip strong{display:block;margin-bottom:2px}
.disclaimer-strip p{color:rgba(255,255,255,.75);font-size:.85rem;margin:0}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter{background:linear-gradient(120deg,var(--dp-purple),var(--dp-purple-dark));border-radius:var(--radius-lg);
  padding:30px 22px;color:#fff;text-align:center}
.newsletter h3{color:#fff;margin-bottom:4px}
.newsletter p{color:rgba(255,255,255,.8);margin-bottom:18px}
.newsletter-form{display:flex;flex-direction:column;gap:10px;max-width:460px;margin:0 auto}
.newsletter-form input{
  padding:13px 16px;border-radius:100px;border:none;font-size:.95rem;width:100%;
}
.newsletter-form button{width:100%}
@media(min-width:640px){.newsletter-form{flex-direction:row}.newsletter-form button{width:auto}}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{background:#0F0F24;color:#fff;padding:44px 0 18px;margin-top:40px}
.footer-top{display:grid;grid-template-columns:1fr 1fr;gap:26px 16px}
.footer-col h5{color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:12px}
.footer-col ul li{margin-bottom:9px}
.footer-col a{color:rgba(255,255,255,.65);font-size:.88rem}
.footer-col a:hover{color:#fff}
.footer-brand{grid-column:1/-1;margin-bottom:8px}
.footer-brand .site-logo{display:inline-flex;margin-bottom:12px}
.footer-brand .site-logo img{height:34px;width:auto;border-radius:6px;background:#fff;padding:4px 8px}
.footer-brand p{color:rgba(255,255,255,.55);font-size:.85rem;max-width:340px}
.footer-social{display:flex;gap:10px;margin-top:12px}
.footer-social a{
  width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);margin-top:30px;padding-top:18px;
  text-align:center;font-size:.78rem;color:rgba(255,255,255,.5);
}
@media(min-width:768px){.footer-top{grid-template-columns:1.4fr repeat(4,1fr)}.footer-brand{grid-column:auto}}

/* ==========================================================================
   GENERIC PAGE TEMPLATES (Lab Tests / Calculator / Storage / Supplies)
   ========================================================================== */
.page-hero{background:var(--dp-purple-light);padding:36px 0;text-align:center}
.page-hero h1{font-size:1.7rem}
.page-hero p{max-width:560px;margin:0 auto}

.search-bar{display:flex;gap:8px;max-width:480px;margin:22px auto 0}
.search-bar input{flex:1;padding:12px 16px;border-radius:100px;border:1px solid var(--dp-border)}

.coa-table{width:100%;border-collapse:collapse;margin-top:24px;font-size:.88rem}
.coa-table th,.coa-table td{padding:12px 10px;border-bottom:1px solid var(--dp-border);text-align:left}
.coa-table th{color:var(--dp-gray);font-size:.75rem;text-transform:uppercase}

.calc-box{max-width:520px;margin:30px auto;border:1px solid var(--dp-border);border-radius:var(--radius);padding:22px}
.calc-row{margin-bottom:16px}
.calc-row label{display:block;font-weight:700;font-size:.85rem;margin-bottom:6px}
.calc-row input,.calc-row select{width:100%;padding:11px 14px;border-radius:var(--radius-sm);border:1px solid var(--dp-border)}
.calc-result{background:var(--dp-purple-light);border-radius:var(--radius-sm);padding:16px;margin-top:16px;font-weight:700;text-align:center}

.storage-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:24px}
@media(min-width:768px){.storage-grid{grid-template-columns:repeat(2,1fr)}}

/* ---------- FAQ accordion ---------- */
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.faq-item{
  border:1px solid var(--dp-border);border-radius:var(--radius-sm);padding:16px 18px;background:#fff;
}
.faq-item summary{
  font-weight:700;font-size:.95rem;color:var(--dp-navy);cursor:pointer;list-style:none;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:'+';flex:0 0 auto;color:var(--dp-purple);font-weight:800;font-size:1.1rem;transition:transform .2s;
}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{margin:12px 0 0;font-size:.9rem}

/* ---------- Legal / policy pages ---------- */
.dp-legal-text h4{margin-top:26px;font-size:1rem}
.dp-legal-text h4:first-child{margin-top:0}
.dp-legal-text p{font-size:.92rem}
.storage-card{border:1px solid var(--dp-border);border-radius:var(--radius);padding:20px}

.woocommerce ul.products{
  display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:10px;
  list-style:none;margin:0!important;padding:0!important;
}
.woocommerce ul.products li.product{
  background:#fff;border:1px solid var(--dp-border);border-radius:var(--radius);
  padding:10px;text-align:left;position:relative;transition:.2s;
  width:auto!important;float:none!important;min-width:0!important;
  display:flex;flex-direction:column;
}
/* Same trailing screen-reader-text fix as .product-card, see comment there. */
.woocommerce ul.products li.product>*:last-child{margin-top:0}
.woocommerce ul.products li.product .dp-loop-cart,
.woocommerce ul.products li.product>.add_to_cart_button{margin-top:auto}
.woocommerce ul.products li.product:hover{
  box-shadow:0 16px 32px -12px rgba(76,29,149,.28);border-color:var(--dp-purple);
  transform:translateY(-4px);
}
.woocommerce ul.products li.product a{text-decoration:none}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:block;overflow:hidden;border-radius:var(--radius-sm);margin-bottom:10px;
}
.woocommerce ul.products li.product img{
  width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:cover;
  border-radius:var(--radius-sm);background:var(--dp-purple-light);
  margin-bottom:10px;transition:transform .4s ease;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img{margin-bottom:0;border-radius:0}
.woocommerce ul.products li.product:hover img{transform:scale(1.08)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:.76rem;font-weight:700;color:var(--dp-navy);margin:0 0 4px;line-height:1.25;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.5em;
}
.woocommerce ul.products li.product .price{
  display:block;font-weight:800;font-size:.85rem;color:var(--dp-purple-dark);margin-bottom:8px;
  min-height:1.2em;
}
.woocommerce ul.products li.product .price del{color:var(--dp-gray-light);opacity:.7;font-weight:400;margin-right:4px}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .star-rating{color:var(--dp-purple);margin-bottom:6px;font-size:.8rem}
.woocommerce ul.products li.product .button{
  display:inline-flex;align-items:center;justify-content:center;width:100%;
  background:var(--dp-purple-btn);color:var(--dp-navy)!important;font-weight:700;font-size:.78rem;
  padding:9px 10px;border-radius:var(--radius-sm);border:none;transition:.2s;
}
.woocommerce ul.products li.product .button:hover{background:var(--dp-purple);color:#fff!important;transform:translateY(-1px);box-shadow:0 6px 14px -4px rgba(76,29,149,.5)}
.woocommerce ul.products li.product .onsale{
  position:absolute;top:10px;left:10px;
  background:linear-gradient(135deg,var(--dp-purple-mid),var(--dp-purple));color:#fff;
  font-size:.65rem;font-weight:700;padding:4px 10px;border-radius:100px;z-index:2;
  box-shadow:0 4px 10px -2px rgba(76,29,149,.5);
}
.woocommerce ul.products li.product .added_to_cart{
  display:block;text-align:center;margin-top:8px;font-size:.75rem;color:var(--dp-purple-dark);font-weight:700;
}

/* ---------- Steper ilości na kafelku produktu (przed Add to Cart) ---------- */
.dp-loop-cart{display:flex;flex-direction:column;gap:6px}
.dp-qty-stepper{
  display:flex;align-items:stretch;justify-content:space-between;
  border:1px solid var(--dp-border);border-radius:var(--radius-sm);overflow:hidden;background:#fff;
}
.dp-qty-btn{
  background:var(--dp-purple-light);color:var(--dp-purple-dark);border:none;
  width:30px;flex:0 0 30px;font-size:1rem;font-weight:700;line-height:1;cursor:pointer;transition:.2s;
}
.dp-qty-btn:hover{background:var(--dp-purple);color:#fff}
.dp-qty-btn:disabled{cursor:not-allowed;opacity:.4}
.dp-qty-btn:disabled:hover{background:var(--dp-purple-light);color:var(--dp-purple-dark)}
.dp-qty-stepper--locked .dp-qty-input{color:var(--dp-gray-light)}
.dp-qty-input{
  width:100%;min-width:0;border:none;text-align:center;font-weight:700;font-size:.8rem;color:var(--dp-navy);
  -moz-appearance:textfield;
}
.dp-qty-input::-webkit-outer-spin-button,
.dp-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.dp-qty-input:focus{outline:none}

@media(min-width:640px){.woocommerce ul.products{grid-template-columns:repeat(4,1fr)!important;gap:16px}
  .woocommerce ul.products li.product{padding:14px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.92rem}
  .woocommerce ul.products li.product .price{font-size:.95rem}}
@media(min-width:1024px){.woocommerce ul.products{grid-template-columns:repeat(5,1fr)!important;gap:20px}
  .woocommerce ul.products li.product{padding:18px}
  .woocommerce ul.products li.product img{margin-bottom:16px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem}
  .woocommerce ul.products li.product .price{font-size:1.05rem}
  .woocommerce ul.products li.product .button{font-size:.85rem;padding:11px 14px}}

/* ---------- Sortowanie / wyniki / paginacja ---------- */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{color:var(--dp-gray);font-size:.85rem;margin-bottom:18px}
.woocommerce .woocommerce-ordering select{
  border:1px solid var(--dp-border);border-radius:100px;padding:8px 14px;font-size:.85rem;
}
.woocommerce nav.woocommerce-pagination ul{display:flex;gap:6px;border:none}
.woocommerce nav.woocommerce-pagination ul li{border:none;margin:0}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  display:flex;align-items:center;justify-content:center;width:38px;height:38px;
  border-radius:50%;border:1px solid var(--dp-border);color:var(--dp-navy);font-weight:700;
}
.woocommerce nav.woocommerce-pagination ul li .current,
.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--dp-purple);border-color:var(--dp-purple);color:#fff}

/* ---------- Strona pojedynczego produktu ---------- */
.woocommerce div.product{display:grid;grid-template-columns:1fr;gap:24px}
.woocommerce div.product .woocommerce-product-gallery{border-radius:var(--radius-lg);overflow:hidden;background:var(--dp-purple-light)}
.woocommerce div.product .woocommerce-product-gallery img{border-radius:var(--radius-lg)}
.woocommerce div.product .product_title{font-size:1.5rem;margin-bottom:6px}
.woocommerce div.product p.price,
.woocommerce div.product span.price{color:var(--dp-purple-dark);font-size:1.4rem;font-weight:800}
.woocommerce div.product .cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button{
  background:var(--dp-purple-btn);color:var(--dp-navy)!important;border:none;border-radius:var(--radius-sm);
  padding:13px 26px;font-weight:700;
}
.woocommerce div.product .cart .button:hover,
.woocommerce a.button:hover{background:var(--dp-purple);color:#fff!important}
.woocommerce div.product .quantity input.qty{
  border:1px solid var(--dp-border);border-radius:var(--radius-sm);padding:10px;width:64px;text-align:center;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--dp-navy);font-weight:700}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--dp-purple)}

@media(min-width:960px){
  .woocommerce div.product{grid-template-columns:1fr 1fr;gap:40px}
}

/* ---------- Koszyk / checkout: kolorystyka spójna z motywem ---------- */
.woocommerce table.shop_table{border-radius:var(--radius);overflow:hidden;border:1px solid var(--dp-border)}
.woocommerce table.shop_table th{background:var(--dp-purple-light);color:var(--dp-navy)}
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]{accent-color:var(--dp-purple)}
.woocommerce a.checkout-button,
.woocommerce #place_order{
  background:var(--dp-purple-btn);color:var(--dp-navy)!important;border-radius:var(--radius-sm);padding:14px 24px;font-weight:700;border:none;
}
.woocommerce a.checkout-button:hover,
.woocommerce #place_order:hover{background:var(--dp-purple);color:#fff!important}


/* ==========================================================================
   My Account — tabbed Login/Register + password field UX (2026-09-06)
   ========================================================================== */
.woocommerce-account #customer_login{grid-template-columns:1fr!important;max-width:480px}
.woocommerce-account #customer_login .u-column2{display:none}
.woocommerce-account #customer_login.dp-show-register .u-column1{display:none}
.woocommerce-account #customer_login.dp-show-register .u-column2{display:block}

.dp-account-tabs{display:flex;gap:6px;max-width:480px;margin:0 auto 20px;background:var(--dp-purple-light);padding:6px;border-radius:var(--radius)}
.dp-account-tabs button{flex:1;border:none;background:transparent;padding:11px 16px;border-radius:var(--radius-sm);font-weight:700;font-size:.92rem;color:var(--dp-gray);cursor:pointer;transition:.2s;font-family:inherit}
.dp-account-tabs button.is-active{background:#fff;color:var(--dp-navy);box-shadow:var(--shadow-sm)}
.dp-account-tabs button:hover{color:var(--dp-navy)}

/* Password show/hide toggle — the theme doesn't load WooCommerce's own icon */
.password-input{position:relative;display:block}
.password-input input{padding-right:44px!important}
.show-password-input{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  width:32px;height:32px;border:none;background-color:transparent;cursor:pointer;
  background-repeat:no-repeat;background-position:center;background-size:18px 18px;padding:0;border-radius:6px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.show-password-input:hover{background-color:var(--dp-purple-light)}
.show-password-input.display-password{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a21.8 21.8 0 0 1 5.06-6.06M9.9 4.24A10.94 10.94 0 0 1 12 4c7 0 11 8 11 8a21.8 21.8 0 0 1-2.16 3.19M14.12 14.12a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

/* Password strength meter — WooCommerce renders it with no styling at all */
.woocommerce-password-strength{margin-top:8px;padding:9px 12px;border-radius:var(--radius-sm);font-size:.85rem;font-weight:600;background:var(--dp-purple-light);color:var(--dp-gray)}
.woocommerce-password-strength.short,.woocommerce-password-strength.bad{background:#FEF2F2;color:#DC2626}
.woocommerce-password-strength.good{background:#FFFBEB;color:#B45309}
.woocommerce-password-strength.strong{background:#F0FDF4;color:var(--dp-success)}
.woocommerce-password-hint{display:block;margin-top:6px;font-size:.8rem;color:var(--dp-gray-light)}

.woocommerce-account .woocommerce-notice .button{order:2;flex-shrink:0}

/* ==========================================================================
   Strength pills on product cards (2026-09-06)
   ========================================================================== */
.prod-strength-options{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 4px}
.strength-pill{
  display:inline-block;padding:4px 12px;
  border:1.5px solid var(--dp-purple);border-radius:999px;
  background:transparent;color:var(--dp-purple);
  font-size:.78rem;font-weight:700;font-family:inherit;line-height:1.4;
  cursor:pointer;transition:.15s;
}
button.strength-pill{border:1.5px solid var(--dp-purple)} /* reset button defaults */
.strength-pill.is-active,
button.strength-pill:hover{background:var(--dp-purple);color:#fff}
span.strength-pill{cursor:default} /* shop-page decorative pills */
span.strength-pill:hover{background:transparent;color:var(--dp-purple)}
.dp-var-add-cart{width:100%;margin-top:4px}
.dp-var-add-cart:disabled{opacity:.45;cursor:not-allowed}

/* Shop / category loop: Strength <select> (outside the product link,
   so choosing an option never navigates -- see functions.php) */
.prod-strength-select{
  display:block;width:100%;margin:6px 0 4px;
  padding:6px 28px 6px 12px;
  border:1.5px solid var(--dp-purple);border-radius:999px;
  background:#fff;color:var(--dp-purple);
  font-size:.82rem;font-weight:700;font-family:inherit;
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238B5CF6' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;
  cursor:pointer;
}
.prod-strength-select:focus{outline:2px solid var(--dp-purple-mid);outline-offset:1px}

/* ==========================================================================
   Mobile compactness pass (2026-09-11) -- smaller icons, shorter buttons,
   tighter vertical spacing in Shop by Goal, Popular Products, Calculator
   and Storage & Handling, so a phone needs less scrolling through them.
   Scoped to max-width:640px so desktop/tablet keep their current sizing.
   ========================================================================== */
@media(max-width:640px){
  /* Shop by Goal */
  .category-grid{gap:7px}
  .category-card{padding:10px 7px}
  .category-icon{width:28px;height:28px;margin:0 auto 6px}
  .category-card span{font-size:.72rem}

  /* Popular Products (homepage cards) -- shrunk further (~30%) per client
     request. Card-specific rules are scoped to .product-card so they don't
     leak into the Shop/category grid or the single-product pills below. */
  .product-card{padding:8px;flex:0 0 140px}
  .product-card .prod-img{margin-bottom:6px}
  .product-card h4{font-size:.74rem}
  .product-card .prod-strength{margin-bottom:3px;font-size:.68rem}
  .product-card .prod-price{margin-bottom:4px}
  .product-card .button{padding:5px 7px;font-size:.7rem}
  .product-card .dp-loop-cart{gap:3px}
  .product-card .dp-qty-btn{width:22px;flex:0 0 22px;font-size:.8rem}
  .product-card .dp-qty-input{font-size:.7rem}
  .product-card .strength-pill{padding:3px 8px;font-size:.68rem}

  /* Same product-card controls, shared with the Shop/category loop and the
     single-product pills -- left at their existing mobile size. */
  .dp-loop-cart{gap:4px}
  .woocommerce ul.products li.product .button{padding:7px 10px}
  .strength-pill{padding:3px 10px}
  .prod-strength-select{padding:5px 26px 5px 10px}
  .dp-qty-btn{font-size:.9rem}

  /* Offers & Bundles -- shrunk ~30%, scoped to .bundle-card only */
  .bundle-card{padding:10px;flex:0 0 150px}
  .bundle-card .bundle-img-single{margin-bottom:8px}
  .bundle-card h4{font-size:.9rem}
  .bundle-meta{font-size:.7rem;margin-bottom:7px}
  .bundle-card .prod-price{font-size:1rem;margin:7px 0}
  .bundle-card .bundle-save{top:10px;left:10px;font-size:.65rem;padding:4px 9px}
  .bundle-card .button{padding:8px 10px;font-size:.74rem}
  .bundle-card .added_to_cart{margin-top:6px;font-size:.68rem}

  /* Lab Tests / COA (homepage section) -- shrunk ~20% per client request,
     scoped to #lab-tests-coa so shared classes (.btn, .link, .coa-table)
     used elsewhere on the site stay untouched. */
  #lab-tests-coa .home-split{gap:17px}
  #lab-tests-coa .home-split-text{gap:11px}
  #lab-tests-coa .search-bar{margin:18px auto 0}
  #lab-tests-coa .search-bar input{padding:10px 13px}
  #lab-tests-coa .search-bar .btn{padding:10px 19px;font-size:.85rem}
  #lab-tests-coa .link{font-size:.78rem}
  #lab-tests-coa .coa-table{margin-top:19px;font-size:.8rem}
  #lab-tests-coa .coa-table th,#lab-tests-coa .coa-table td{padding:8px 11px}

  /* Reconstitution Calculator -- shrunk further still (~20-30% more) per
     client request, on top of the earlier ~40% pass */
  .calc-box{padding:8px;margin:9px auto}
  .calc-row{margin-bottom:4px}
  .calc-row label{margin-bottom:2px;font-size:.66rem}
  .calc-row input,.calc-row select{padding:4px 5px}
  .calc-result{padding:5px;margin-top:5px}

  /* Storage & Handling */
  .storage-grid{gap:10px;margin-top:16px}
  .storage-card{padding:14px}
  .storage-card .icon{width:36px!important;height:36px!important;margin-bottom:8px!important}

  /* Section-level vertical rhythm -- every .section shared the same 44px
     top/bottom padding as desktop, and that adds up fast across ~9 stacked
     homepage sections plus the footer. Tightened here only; the order and
     layout of sections themselves is unchanged. */
  .section{padding-top:28px;padding-bottom:28px}
  .section-sub{margin-bottom:18px}
  .site-footer{padding:28px 0 18px;margin-top:24px}

  /* Hero CTA buttons ("Shop Peptides" / "View Lab Tests") -- shrunk ~15% per
     client request. Scoped to .hero-cta .btn so the shared .btn class used
     elsewhere on the site (Lab Tests/COA search button, My Account, etc.)
     stays untouched. */
  .hero-cta{gap:7px}
  .hero-cta .btn{padding:10px 18px;font-size:.73rem;gap:6px}
}


/* ==========================================================================
   MOBILE (<=640px) -- poprawki z WhatsApp od klienta 23.10.2026.
   Desktop/laptop bez zmian (wszystko w media query). Selektory hero
   maja podbita specyficznosc, bo Additional CSS (Customizer) laduje sie
   po main.css i ma te same reguly.
   ========================================================================== */
/* Offers & Bundles: zdjecie + nazwa sa teraz linkiem do produktu (front-page.php) */
.bundle-card .bundle-link{display:block;color:inherit;text-decoration:none}

@media(max-width:640px){
  /* Shop Peptides: szerszy, ta sama wysokosc */
  .hero .hero-cta .btn{padding-left:46px;padding-right:46px}
  /* Mniej pustej przestrzeni miedzy banerem a Shop by Goal */
  .hero.has-hero-image .hero-inner{padding:14px 18px 12px}
  .hero + .section{padding-top:16px}

  /* ---- Karta produktu ---- */
  .woocommerce div.product{gap:16px}
  .woocommerce div.product .woocommerce-product-gallery{position:relative;padding:0}
  .woocommerce div.product .woocommerce-product-gallery__trigger{
    position:absolute;top:10px;right:10px;z-index:5;width:34px;height:34px;
    display:flex;align-items:center;justify-content:center;
    background:#fff;border-radius:50%;box-shadow:var(--shadow-sm);
  }
  .woocommerce div.product .woocommerce-product-gallery__trigger img.emoji{width:16px!important;height:16px!important;margin:0!important}
  .woocommerce div.product .woocommerce-product-gallery__wrapper{margin:0}
  .woocommerce div.product .woocommerce-product-gallery__image>a{display:block}
  .woocommerce div.product .woocommerce-product-gallery__image img.wp-post-image{
    display:block;width:100%!important;height:auto!important;border-radius:var(--radius-lg)
  }
  .woocommerce div.product .flex-control-thumbs{display:flex;gap:8px;list-style:none;margin:8px 0 0;padding:0}
  .woocommerce div.product .flex-control-thumbs li{width:56px;flex:0 0 56px}
  .woocommerce div.product .flex-control-thumbs img{border-radius:8px;opacity:.6;cursor:pointer}
  .woocommerce div.product .flex-control-thumbs img.flex-active{opacity:1}

  .woocommerce div.product .product_title{font-size:1.3rem;margin-bottom:4px}
  .woocommerce div.product .summary p.price{font-size:1.2rem;margin-bottom:12px}
  /* wariantowe: zamiast zakresu (np. 50-120) pokazujemy tylko cene wybranej dawki pod pigulkami */
  .woocommerce div.product .summary:has(.woocommerce-variation-price .price)>p.price{display:none}

  /* Strength + ilosc + Add to Cart */
  .woocommerce div.product form.cart{margin:0 0 14px}
  .woocommerce div.product form.cart table.variations{width:100%;border:0;margin:0 0 10px;border-collapse:collapse}
  .woocommerce div.product form.cart table.variations tbody{display:block}
  .woocommerce div.product form.cart table.variations tr{display:flex;align-items:center;gap:10px}
  .woocommerce div.product form.cart table.variations th,
  .woocommerce div.product form.cart table.variations td{padding:0;border:0;text-align:left}
  .woocommerce div.product form.cart table.variations label{font-weight:700;font-size:.85rem;color:var(--dp-navy)}
  .woocommerce div.product form.cart table.variations select{
    padding:8px 30px 8px 12px;border:1px solid var(--dp-purple);border-radius:100px;
    font-family:inherit;font-size:.85rem;font-weight:700;color:var(--dp-purple-dark);background-color:#fff
  }
  .woocommerce div.product .dp-pdp-strength{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}
  .woocommerce div.product .reset_variations{display:none!important}
  .woocommerce div.product .single_variation_wrap .woocommerce-variation-price{margin:0 0 8px}
  .woocommerce div.product .single_variation_wrap .woocommerce-variation-price .price{font-size:1.1rem}
  .woocommerce div.product .woocommerce-variation-add-to-cart,
  .woocommerce div.product form.cart:not(.variations_form){
    display:flex;align-items:stretch;gap:10px;flex-wrap:nowrap
  }
  .woocommerce div.product form.cart .quantity{flex:0 0 72px;margin:0}
  .woocommerce div.product form.cart .quantity input.qty{
    width:100%;height:100%;min-height:44px;padding:0 6px;text-align:center;
    border:1px solid var(--dp-border);border-radius:8px;font-family:inherit;font-size:1rem;font-weight:700
  }
  .woocommerce div.product form.cart .single_add_to_cart_button{
    flex:1 1 auto;min-height:44px;padding:0 16px!important;font-size:.95rem;margin:0
  }
  .woocommerce div.product .product_meta{
    display:flex;flex-direction:column;gap:2px;font-size:.78rem;color:var(--dp-gray-light);
    padding-top:12px;border-top:1px solid var(--dp-border)
  }
  .woocommerce div.product .product_meta a{color:var(--dp-purple);font-weight:600}

  /* ---- Zakladki: Additional information / Reviews ---- */
  .woocommerce div.product .woocommerce-tabs{margin-top:6px}
  .woocommerce div.product .woocommerce-tabs ul.tabs{
    display:flex;gap:8px;list-style:none;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--dp-border)
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0}
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{
    display:block;padding:8px 14px;border-radius:100px;background:var(--dp-purple-light);
    font-size:.8rem;line-height:1.2;white-space:nowrap
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{background:var(--dp-purple);color:#fff}
  .woocommerce div.product .woocommerce-tabs .panel{margin:0;font-size:.88rem}
  .woocommerce div.product .woocommerce-tabs .panel>h2,
  .woocommerce div.product .woocommerce-Reviews-title{font-size:1.05rem;margin:0 0 10px}
  .woocommerce div.product table.shop_attributes{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--dp-border);border-radius:8px;overflow:hidden}
  .woocommerce div.product table.shop_attributes th,
  .woocommerce div.product table.shop_attributes td{padding:10px 12px;font-size:.85rem;text-align:left;vertical-align:middle;border-bottom:1px solid var(--dp-border)}
  .woocommerce div.product table.shop_attributes th{width:40%;font-weight:700;color:var(--dp-navy);background:var(--dp-purple-light)}
  .woocommerce div.product table.shop_attributes tr:last-child th,
  .woocommerce div.product table.shop_attributes tr:last-child td{border-bottom:0}
  .woocommerce div.product table.shop_attributes td p{margin:0;color:var(--dp-gray)}

  /* Reviews: formularz + gwiazdki (zamiast tekstu "1 of 5 stars...") */
  .woocommerce #reviews .woocommerce-noreviews{font-size:.85rem;color:var(--dp-gray-light);margin:0 0 12px}
  .woocommerce #review_form #respond{background:var(--dp-purple-light);border-radius:var(--radius);padding:16px}
  .woocommerce #review_form .comment-reply-title{display:block;font-size:.95rem;font-weight:700;color:var(--dp-navy);margin-bottom:10px}
  .woocommerce #review_form .comment-form>p{margin:0 0 12px}
  .woocommerce #review_form label{display:block;font-weight:700;font-size:.82rem;color:var(--dp-navy);margin-bottom:6px}
  .woocommerce #review_form .required{color:var(--dp-purple)}
  .woocommerce #review_form textarea,
  .woocommerce #review_form input[type=text],
  .woocommerce #review_form input[type=email]{
    width:100%;padding:10px 12px;border:1px solid var(--dp-border);border-radius:8px;
    font-family:inherit;font-size:.9rem;background:#fff;box-sizing:border-box
  }
  .woocommerce #review_form textarea{min-height:110px;resize:vertical}
  .woocommerce #review_form .comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start;font-size:.78rem}
  .woocommerce #review_form .comment-form-cookies-consent label{font-weight:400;margin:0}
  .woocommerce #review_form .form-submit{margin:0}
  .woocommerce #review_form #submit{width:100%;padding:12px 16px;border:none;font-family:inherit;font-weight:700;font-size:.9rem;cursor:pointer}
  .woocommerce p.stars{margin:0 0 4px;line-height:1}
  .woocommerce p.stars span{display:inline-flex;gap:4px}
  .woocommerce p.stars a{
    position:relative;display:inline-block;width:28px;height:28px;
    overflow:hidden;text-indent:-9999px;text-decoration:none
  }
  .woocommerce p.stars a::before{
    content:"\2605";position:absolute;inset:0;text-indent:0;
    font-size:28px;line-height:28px;text-align:center;color:#C4B5FD
  }
  .woocommerce p.stars:hover a::before,
  .woocommerce p.stars.selected a::before{color:var(--dp-purple)}
  .woocommerce p.stars a:hover~a::before,
  .woocommerce p.stars.selected a.active~a::before{color:#C4B5FD}
  .woocommerce p.stars.selected:hover a::before{color:var(--dp-purple)}
  .woocommerce p.stars.selected:hover a:hover~a::before{color:#C4B5FD}
  .woocommerce #reviews .star-rating{color:var(--dp-purple)}

  /* Related products: 2 rowne kolumny na pelna szerokosc */
  .woocommerce div.product .related ul.products{grid-template-columns:1fr 1fr!important;gap:10px}
  .woocommerce div.product .related>h2{font-size:1.15rem;margin-bottom:10px}
}


/* 23.10.2026 (2): na telefonie/dotyku wylaczony efekt "zoom" zdjecia produktu
   (jquery.zoom WooCommerce) -- przy dotknieciu/przewijaniu palcem pokazywal
   powiekszony 2000px fragment zdjecia, przez co obraz "rozjezdzal sie".
   Pelny podglad nadal dziala przez ikone lupy (lightbox). */
@media(max-width:640px),(hover:none){
  .woocommerce div.product .woocommerce-product-gallery .zoomImg{display:none!important}
}


/* 23.10.2026 (3): karta produktu "Out of stock" (np. Mazdutide, HGH) --
   zablokowany pasek ilosci + szary, nieaktywny przycisk (desktop i mobile). */
.woocommerce ul.products li.product .button.dp-oos-button,
.dp-loop-cart .button.dp-oos-button{
  background:#ECEAF3!important;color:#8A879A!important;cursor:not-allowed;box-shadow:none
}
.dp-loop-cart--oos .dp-qty-input{color:var(--dp-gray-light)}


/* ==========================================================================
   23.10.2026 (4): DESKTOP/LAPTOP (>=641px) -- te same poprawki strony produktu
   co na telefonie (zgloszenie z 22.10: zdjecie z lupa nad nim, Strength /
   ilosc / Add to Cart zle ulozone, Additional information / Reviews bez
   stylu, gwiazdki jako tekst). Przyczyna: motyw wylacza woocommerce.css, a
   strona produktu nie miala wlasnych stylow dla tych elementow.
   ========================================================================== */
@media(min-width:641px){
  .woocommerce div.product .woocommerce-product-gallery{position:relative;padding:0}
  .woocommerce div.product .woocommerce-product-gallery__trigger{
    position:absolute;top:10px;right:10px;z-index:5;width:34px;height:34px;
    display:flex;align-items:center;justify-content:center;
    background:#fff;border-radius:50%;box-shadow:var(--shadow-sm);
  }
  .woocommerce div.product .woocommerce-product-gallery__trigger img.emoji{width:16px!important;height:16px!important;margin:0!important}
  .woocommerce div.product .woocommerce-product-gallery__wrapper{margin:0}
  .woocommerce div.product .woocommerce-product-gallery__image>a{display:block}
  .woocommerce div.product .woocommerce-product-gallery__image img.wp-post-image{
    display:block;width:100%!important;height:auto!important;border-radius:var(--radius-lg)
  }
  .woocommerce div.product .flex-control-thumbs{display:flex;gap:8px;list-style:none;margin:8px 0 0;padding:0}
  .woocommerce div.product .flex-control-thumbs li{width:56px;flex:0 0 56px}
  .woocommerce div.product .flex-control-thumbs img{border-radius:8px;opacity:.6;cursor:pointer}
  .woocommerce div.product .flex-control-thumbs img.flex-active{opacity:1}

  .woocommerce div.product .summary{align-self:start}
  .woocommerce div.product .summary p.price{font-size:1.2rem;margin-bottom:12px}
  .woocommerce div.product .summary:has(.woocommerce-variation-price .price)>p.price{display:none}

  .woocommerce div.product form.cart{margin:0 0 14px}
  .woocommerce div.product form.cart table.variations{width:100%;border:0;margin:0 0 10px;border-collapse:collapse}
  .woocommerce div.product form.cart table.variations tbody{display:block}
  .woocommerce div.product form.cart table.variations tr{display:flex;align-items:center;gap:10px}
  .woocommerce div.product form.cart table.variations th,
  .woocommerce div.product form.cart table.variations td{padding:0;border:0;text-align:left}
  .woocommerce div.product form.cart table.variations label{font-weight:700;font-size:.85rem;color:var(--dp-navy)}
  .woocommerce div.product .dp-pdp-strength{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}
  .woocommerce div.product .reset_variations{display:none!important}
  .woocommerce div.product .single_variation_wrap .woocommerce-variation-price{margin:0 0 8px}
  .woocommerce div.product .single_variation_wrap .woocommerce-variation-price .price{font-size:1.1rem}
  .woocommerce div.product .woocommerce-variation-add-to-cart,
  .woocommerce div.product form.cart:not(.variations_form){
    display:flex;align-items:stretch;gap:10px;flex-wrap:nowrap
  }
  .woocommerce div.product form.cart .quantity{flex:0 0 80px;margin:0}
  .woocommerce div.product form.cart .quantity input.qty{
    width:100%;height:100%;min-height:44px;padding:0 6px;text-align:center;
    border:1px solid var(--dp-border);border-radius:8px;font-family:inherit;font-size:1rem;font-weight:700
  }
  .woocommerce div.product form.cart .single_add_to_cart_button{
    flex:0 1 260px;min-height:44px;padding:0 16px!important;font-size:.95rem;margin:0
  }
  .woocommerce div.product .product_meta{
    display:flex;flex-direction:column;gap:2px;font-size:.78rem;color:var(--dp-gray-light);
    padding-top:12px;border-top:1px solid var(--dp-border)
  }
  .woocommerce div.product .product_meta a{color:var(--dp-purple);font-weight:600}

  .woocommerce div.product .woocommerce-tabs{margin-top:6px}
  .woocommerce div.product .woocommerce-tabs ul.tabs{
    display:flex;gap:8px;list-style:none;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--dp-border)
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0}
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{
    display:block;padding:8px 14px;border-radius:100px;background:var(--dp-purple-light);
    font-size:.8rem;line-height:1.2;white-space:nowrap
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{background:var(--dp-purple);color:#fff}
  .woocommerce div.product .woocommerce-tabs .panel{margin:0;font-size:.88rem}
  .woocommerce div.product .woocommerce-tabs .panel>h2,
  .woocommerce div.product .woocommerce-Reviews-title{font-size:1.05rem;margin:0 0 10px}
  .woocommerce div.product table.shop_attributes{width:100%;max-width:640px;border-collapse:separate;border-spacing:0;border:1px solid var(--dp-border);border-radius:8px;overflow:hidden}
  .woocommerce div.product table.shop_attributes th,
  .woocommerce div.product table.shop_attributes td{padding:10px 12px;font-size:.85rem;text-align:left;vertical-align:middle;border-bottom:1px solid var(--dp-border)}
  .woocommerce div.product table.shop_attributes th{width:40%;font-weight:700;color:var(--dp-navy);background:var(--dp-purple-light)}
  .woocommerce div.product table.shop_attributes tr:last-child th,
  .woocommerce div.product table.shop_attributes tr:last-child td{border-bottom:0}
  .woocommerce div.product table.shop_attributes td p{margin:0;color:var(--dp-gray)}

  .woocommerce #reviews .woocommerce-noreviews{font-size:.85rem;color:var(--dp-gray-light);margin:0 0 12px}
  .woocommerce #review_form #respond{background:var(--dp-purple-light);border-radius:var(--radius);padding:20px;max-width:640px}
  .woocommerce #review_form .comment-reply-title{display:block;font-size:.95rem;font-weight:700;color:var(--dp-navy);margin-bottom:10px}
  .woocommerce #review_form .comment-form>p{margin:0 0 12px}
  .woocommerce #review_form label{display:block;font-weight:700;font-size:.82rem;color:var(--dp-navy);margin-bottom:6px}
  .woocommerce #review_form .required{color:var(--dp-purple)}
  .woocommerce #review_form textarea,
  .woocommerce #review_form input[type=text],
  .woocommerce #review_form input[type=email]{
    width:100%;padding:10px 12px;border:1px solid var(--dp-border);border-radius:8px;
    font-family:inherit;font-size:.9rem;background:#fff;box-sizing:border-box
  }
  .woocommerce #review_form textarea{min-height:110px;resize:vertical}
  .woocommerce #review_form .comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start;font-size:.78rem}
  .woocommerce #review_form .comment-form-cookies-consent label{font-weight:400;margin:0}
  .woocommerce #review_form .form-submit{margin:0}
  .woocommerce #review_form #submit{padding:12px 28px;border:none;font-family:inherit;font-weight:700;font-size:.9rem;cursor:pointer}
  .woocommerce p.stars{margin:0 0 4px;line-height:1}
  .woocommerce p.stars span{display:inline-flex;gap:4px}
  .woocommerce p.stars a{
    position:relative;display:inline-block;width:28px;height:28px;
    overflow:hidden;text-indent:-9999px;text-decoration:none
  }
  .woocommerce p.stars a::before{
    content:"\2605";position:absolute;inset:0;text-indent:0;
    font-size:28px;line-height:28px;text-align:center;color:#C4B5FD
  }
  .woocommerce p.stars:hover a::before,
  .woocommerce p.stars.selected a::before{color:var(--dp-purple)}
  .woocommerce p.stars a:hover~a::before,
  .woocommerce p.stars.selected a.active~a::before{color:#C4B5FD}
  .woocommerce p.stars.selected:hover a::before{color:var(--dp-purple)}
  .woocommerce p.stars.selected:hover a:hover~a::before{color:#C4B5FD}
  .woocommerce #reviews .star-rating{color:var(--dp-purple)}
}

/* Out of stock: przycisk na stronie produktu wyszarzony + czytelny komunikat;
   na kartach w siatce napis "Out of Stock" w jednej linii. */
.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.wc-variation-is-unavailable{
  background:#ECEAF3!important;color:#8A879A!important;cursor:not-allowed
}
.woocommerce div.product .stock.out-of-stock{color:#B42318;font-weight:700;font-size:.85rem;margin:0 0 8px}
.dp-loop-cart .button.dp-oos-button{white-space:nowrap;padding-left:4px!important;padding-right:4px!important}


/* 23.10.2026 (5): wyswietlanie opinii -- motyw nie laduje woocommerce.css,
   wiec ocena pokazywala sie jako tekst "Rated 5 out of 5", a lista opinii
   jako numerowana lista z duzym awatarem. Gwiazdki rysowane znakiem ★
   (szare tlo + fioletowe wypelnienie przyciete do % oceny z WooCommerce). */
.woocommerce .star-rating{
  position:relative;display:inline-block;overflow:hidden;white-space:nowrap;
  width:5.5em;height:1.15em;line-height:1.15;font-size:1rem;letter-spacing:.1em;
  vertical-align:middle;color:transparent
}
.woocommerce .star-rating::before{
  content:"\2605\2605\2605\2605\2605";position:absolute;top:0;left:0;color:#D9D0F5
}
.woocommerce .star-rating span{
  position:absolute;top:0;left:0;height:100%;overflow:hidden;color:transparent;font-size:0
}
.woocommerce .star-rating span::before{
  content:"\2605\2605\2605\2605\2605";position:absolute;top:0;left:0;
  font-size:1rem;letter-spacing:.1em;line-height:1.15;color:var(--dp-purple)
}
.woocommerce div.product .woocommerce-product-rating{
  display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:.8rem
}
.woocommerce div.product .woocommerce-product-rating .woocommerce-review-link{color:var(--dp-gray-light)}
.woocommerce #reviews .commentlist{list-style:none;margin:0 0 18px;padding:0}
.woocommerce #reviews .commentlist li{padding:14px 0;border-bottom:1px solid var(--dp-border)}
.woocommerce #reviews .commentlist li:first-child{padding-top:0}
.woocommerce #reviews .comment_container{display:flex;gap:12px;align-items:flex-start}
.woocommerce #reviews .comment_container img.avatar{width:40px;height:40px;border-radius:50%;flex:0 0 40px}
.woocommerce #reviews .comment-text{flex:1;min-width:0}
.woocommerce #reviews .comment-text .star-rating{font-size:.9rem;margin-bottom:4px}
.woocommerce #reviews .comment-text .meta{margin:0 0 6px;font-size:.78rem;color:var(--dp-gray-light)}
.woocommerce #reviews .comment-text .meta strong{color:var(--dp-navy)}
.woocommerce #reviews .comment-text .description p{margin:0;font-size:.88rem;color:var(--dp-gray)}
.woocommerce #reviews .woocommerce-review__verified{color:#16A34A;font-style:normal;font-weight:600}


/* 23.10.2026 (6): baner na desktopie na cala szerokosc ekranu, ta sama
   wysokosc. Obraz banera (1916x821) przy wysokosci 432px ma ok. 1000px
   szerokosci -- rozciagniecie go proporcjonalnie na cala szerokosc wymagaloby
   uciecia ~45% wysokosci (napis i fiolki). Zamiast tego obraz zostaje caly
   i ostry na srodku, a boki wypelnia to samo zdjecie rozmyte (tlo z
   --hero-desktop ustawianego w front-page.php). Usunieta tez szara nakladka. */
@media(min-width:960px){
  .has-hero-image .hero-bg{overflow:hidden}
  .has-hero-image .hero-bg::before{
    content:"";position:absolute;inset:-40px;z-index:0;
    background:var(--hero-desktop) center/cover no-repeat;
    filter:blur(28px) brightness(.85)
  }
  .has-hero-image .hero-bg::after{display:none}
  .has-hero-image .hero-bg .hero-img-desktop{position:relative;z-index:1}
}


/* 23.10.2026 (7): baner desktop delikatnie szerszy (+10%) przy tej samej
   wysokosci 432px -- proporcje zachowane, obraz powiekszony o 10% i przyciety
   minimalnie gora/dol (wiecej z dolu, zeby napis u gory zostal caly).
   Boki dalej wypelnia rozmyte tlo z bloku (6). */
@media(min-width:960px){
  .has-hero-image .hero-bg .hero-img-desktop{
    width:calc(432px * 1916 / 821 * 1.1)!important;max-width:100%;
    height:100%!important;margin:0 auto;
    object-fit:cover!important;object-position:center 25%!important
  }
}


/* 23.10.2026 (8): na prosbe klienta boki banera wracaja do jasnego fioletu
   (gradient tla .hero) -- wylaczone rozmyte tlo z bloku (6). Szara nakladka
   (::after) dalej ukryta, wiec oba boki sa rowne. Szerokosc +10% z (7) zostaje. */
@media(min-width:960px){
  .has-hero-image .hero-bg::before{display:none!important}
}
