/* ============================================================
   BenchPeptides — UKP-clone shop chrome + WooCommerce styling
   Shared design system (matches approved front-page.php 2026-06-05).
   Teal accent (#0d9488) on light/clinical paper. Loaded on shop,
   product-category and single-product templates.
   ============================================================ */

/* ── DESIGN SYSTEM ─────────────────────────────────────── */
:root{
  --paper: #f5f5f2;
  --ink:   #0e1115;
  --teal:  #0d9488;
  --teal-dark: #0a7a70;
  --bone:  #ebebe5;
  --bone2: #e8e8e3;
  --graphite: #5b6170;
  --ice:   #ebf5f4;
  --signal:#22c55e;
  --border: rgba(14,17,21,.10);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body.bp-ukp{
  font-family:'Inter',system-ui,sans-serif;
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.bp-ukp a{text-decoration:none;color:inherit}
body.bp-ukp button{font-family:inherit;cursor:pointer}
body.bp-ukp img{max-width:100%}

/* ── PROGRESS BAR ───────────────────────────────────────── */
#progress-bar{position:fixed;top:0;left:0;z-index:999;height:2px;width:0;background:var(--teal);transition:width .1s linear}

/* ── ANNOUNCEMENT BAR ───────────────────────────────────── */
.announce-bar{background:var(--teal);color:#fff;text-align:center;font-size:12.5px;font-weight:500;letter-spacing:.02em;padding:9px 16px;position:relative}
.announce-bar span{display:inline-flex;align-items:center;gap:6px}
.announce-bar .close-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;color:rgba(255,255,255,.7);font-size:16px;line-height:1}
.announce-bar .close-btn:hover{color:#fff}
@media(max-width:640px){.announce-bar .desktop-only{display:none}}

/* ── HEADER ─────────────────────────────────────────────── */
header.bp-header{position:sticky;top:0;z-index:100;background:rgba(245,245,242,.85);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.header-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;padding:0 24px;height:60px;gap:32px;min-width:0}
.logo{font-size:15px;font-weight:800;letter-spacing:-.02em;display:flex;align-items:center;gap:6px;white-space:nowrap}
.logo-icon{width:28px;height:28px;background:var(--teal);border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:900}
nav.main-nav{display:flex;align-items:center;gap:4px;flex:1}
nav.main-nav a{padding:7px 12px;font-size:13.5px;font-weight:500;color:var(--graphite);border-radius:var(--radius-sm);transition:all .15s}
nav.main-nav a:hover{color:var(--ink);background:rgba(14,17,21,.055)}
nav.main-nav a.active{color:var(--ink)}
.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.icon-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);background:none;border:none;color:var(--graphite);transition:all .15s}
.icon-btn:hover{background:rgba(14,17,21,.07);color:var(--ink)}
.cart-btn{display:flex;align-items:center;gap:8px;padding:7px 14px;background:var(--ink);color:#fff;border:none;border-radius:var(--radius-sm);font-size:13px;font-weight:600;transition:background .15s}
.cart-btn:hover{background:var(--teal)}
.cart-count{background:var(--teal);color:#fff;font-size:10px;font-weight:700;min-width:18px;height:18px;padding:0 4px;border-radius:9px;display:flex;align-items:center;justify-content:center}
.nav-divider{width:1px;height:20px;background:var(--border);margin:0 4px}
@media(max-width:768px){nav.main-nav,.nav-divider{display:none}}
@media(max-width:360px){
  .header-inner{padding:0 12px;gap:8px}
  .logo{font-size:13px}
  .logo-icon{width:26px;height:26px}
  .header-actions{gap:4px}
  .cart-btn{position:relative;width:38px;height:36px;padding:0;gap:0;justify-content:center;font-size:0}
  .cart-btn .cart-count{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;font-size:9px}
}

/* ── MARQUEE ────────────────────────────────────────────── */
.marquee-strip{background:#e9e9e4;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:13px 0;overflow:hidden;white-space:nowrap}
.marquee-track{display:inline-flex;gap:0;animation:scroll-left 28s linear infinite}
@keyframes scroll-left{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.marquee-item{display:inline-flex;align-items:center;gap:8px;padding:0 40px;font-size:12.5px;font-weight:600;color:var(--graphite);letter-spacing:.01em;border-right:1px solid var(--border)}
.marquee-item .teal{color:var(--teal)}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ── SHOP HERO STRIP ────────────────────────────────────── */
.shop-hero{background:linear-gradient(135deg,var(--ice) 0%,var(--paper) 60%,#e8f0f0 100%);border-bottom:1px solid var(--border);padding:48px 24px 40px}
.shop-hero-inner{max-width:1200px;margin:0 auto}
.shop-crumbs{font-size:12px;color:var(--graphite);margin-bottom:14px;display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.shop-crumbs a{color:var(--graphite)}
.shop-crumbs a:hover{color:var(--teal)}
.shop-crumbs .sep{opacity:.4}
.shop-label{display:inline-flex;align-items:center;gap:7px;font-family:'JetBrains Mono',monospace;font-size:10.5px;font-weight:500;color:var(--teal);letter-spacing:.06em;text-transform:uppercase;background:rgba(13,148,136,.1);border:1px solid rgba(13,148,136,.2);padding:5px 10px;border-radius:4px;margin-bottom:16px}
.shop-label .hero-dot{width:6px;height:6px;border-radius:50%;background:var(--signal);animation:pulse 2s infinite}
.shop-hero h1{font-size:clamp(28px,3.6vw,44px);font-weight:900;line-height:1.08;letter-spacing:-.03em;color:var(--ink);margin-bottom:14px}
.shop-hero h1 .accent{color:var(--teal)}
.shop-hero p{font-size:15px;line-height:1.6;color:var(--graphite);max-width:560px}

/* ── CATEGORY PILL NAV ──────────────────────────────────── */
.cat-nav{max-width:1200px;margin:0 auto;padding:24px 24px 0;display:flex;gap:8px;flex-wrap:wrap}
.cat-pill{padding:8px 16px;font-size:13px;font-weight:600;color:var(--graphite);background:#fff;border:1px solid var(--border);border-radius:999px;transition:all .15s}
.cat-pill:hover{border-color:var(--teal);color:var(--teal)}
.cat-pill.active{background:var(--ink);color:#fff;border-color:var(--ink)}

/* ── SHOP TOOLBAR (count + sort) ────────────────────────── */
.shop-toolbar{max-width:1200px;margin:24px auto 0;padding:0 24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.shop-count{font-size:13px;color:var(--graphite)}
.shop-toolbar .woocommerce-ordering select{font-family:inherit;font-size:13px;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;color:var(--ink)}

/* ── PRODUCT GRID + CARD ────────────────────────────────── */
.bp-products{padding:24px 24px 64px}
.products-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-auto-flow:dense;gap:2px;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}
.product-card{background:#fff;border-right:1px solid var(--border);border-bottom:1px solid var(--border);transition:background .2s;display:flex;flex-direction:column;color:inherit;position:relative;min-width:0}
.product-card:hover{background:#fafaf8}
.product-card:hover .product-img img{transform:scale(1.04)}
.product-card-link{display:block;color:inherit;min-width:0}
.product-img{aspect-ratio:1/1;background:#f0f0ec;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}
.product-img img{width:86%;height:auto;max-height:86%;object-fit:contain;transition:transform .35s ease;display:block;filter:drop-shadow(0 4px 12px rgba(0,0,0,.12))}
.product-card.is-bundle{grid-column:span 2}
.product-card.is-bundle .product-img{aspect-ratio:2/1}
.product-card.is-bundle .product-img img{width:94%;height:auto;max-height:88%}
.purity-badge{position:absolute;top:10px;left:10px;background:rgba(245,245,242,.93);backdrop-filter:blur(6px);border:1px solid var(--border);padding:4px 8px;border-radius:4px;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:5px;z-index:2}
.purity-dot{width:5px;height:5px;border-radius:50%;background:var(--signal)}
.stock-badge{position:absolute;top:10px;right:10px;background:rgba(14,17,21,.85);color:#fff;padding:3px 8px;border-radius:4px;font-size:9.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;z-index:2}
.stock-badge.out{background:rgba(180,40,40,.9)}
.product-info{padding:16px;display:flex;flex-direction:column;flex:1;min-width:0}
.product-info .name{font-size:13.5px;font-weight:700;color:var(--ink);margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-info .subtitle{font-size:11px;color:var(--graphite);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:12px;opacity:.75}
.product-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;margin-bottom:12px;min-width:0}
.product-foot .price{font-size:16px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
.product-foot .price del{opacity:.4;font-weight:600;font-size:13px;margin-right:5px}
.product-foot .price ins{text-decoration:none}
/* Add-to-cart button (WooCommerce-enhanced) */
.bp-add-btn{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:11px 14px;background:var(--ink);color:#fff;border:none;border-radius:var(--radius-sm);font-size:13px;font-weight:700;letter-spacing:-.01em;transition:all .18s;text-align:center}
.bp-add-btn:hover{background:var(--teal)}
.bp-add-btn.loading{opacity:.6;pointer-events:none}
.bp-add-btn.added{background:var(--signal)}
.bp-add-btn svg{width:15px;height:15px}
.bp-add-btn.read-more{background:#fff;color:var(--ink);border:1.5px solid var(--border)}
.bp-add-btn.read-more:hover{border-color:var(--teal);color:var(--teal)}
@media(max-width:520px){
  .bp-products{padding-left:16px;padding-right:16px}
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-card.is-bundle{grid-column:1/-1}
  .product-info{padding:12px}
}
@media(max-width:360px){
  .products-grid{grid-template-columns:1fr}
  .product-card.is-bundle{grid-column:auto}
}

/* ── PAGINATION ─────────────────────────────────────────── */
.bp-pagination{max-width:1200px;margin:36px auto 0;padding:0 24px;display:flex;justify-content:center}
.bp-pagination .page-numbers{list-style:none;display:flex;gap:6px;padding:0}
.bp-pagination .page-numbers li{margin:0}
.bp-pagination .page-numbers a,.bp-pagination .page-numbers span{display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13px;font-weight:600;color:var(--graphite);background:#fff;transition:all .15s}
.bp-pagination .page-numbers a:hover{border-color:var(--teal);color:var(--teal)}
.bp-pagination .page-numbers .current{background:var(--ink);color:#fff;border-color:var(--ink)}

/* ── TRUST STRIP (shop) ─────────────────────────────────── */
.shop-trust{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:28px 24px}
.shop-trust-inner{max-width:1200px;margin:0 auto;display:flex;gap:0;flex-wrap:wrap;justify-content:space-between}
.shop-trust-item{flex:1;min-width:180px;display:flex;align-items:center;gap:12px;padding:8px 16px}
.shop-trust-item .ti-ico{width:38px;height:38px;flex-shrink:0;background:var(--ice);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-size:17px}
.shop-trust-item h4{font-size:12.5px;font-weight:700;color:var(--ink)}
.shop-trust-item p{font-size:11px;color:var(--graphite);line-height:1.35}

/* ============================================================
   SINGLE PRODUCT (PDP)
   ============================================================ */
.bp-pdp{max-width:1200px;margin:0 auto;padding:40px 24px 64px}
.bp-pdp-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
@media(max-width:860px){.bp-pdp-grid{grid-template-columns:1fr;gap:32px}}
.pdp-gallery{position:sticky;top:84px}
.pdp-image{background:#f0f0ec;border:1px solid var(--border);border-radius:var(--radius-lg);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.pdp-image img{width:78%;height:78%;object-fit:contain;filter:drop-shadow(0 8px 24px rgba(0,0,0,.14))}
.pdp-image .purity-badge{top:16px;left:16px}
.pdp-label{display:inline-flex;align-items:center;gap:7px;font-family:'JetBrains Mono',monospace;font-size:10.5px;font-weight:500;color:var(--teal);letter-spacing:.06em;text-transform:uppercase;background:rgba(13,148,136,.1);border:1px solid rgba(13,148,136,.2);padding:5px 10px;border-radius:4px;margin-bottom:16px}
.bp-pdp h1.product_title{font-size:clamp(26px,3.4vw,40px);font-weight:900;letter-spacing:-.03em;line-height:1.08;margin-bottom:8px;color:var(--ink)}
.pdp-amount{font-size:14px;color:var(--graphite);font-family:'JetBrains Mono',monospace;margin-bottom:18px}
.bp-pdp .price{font-size:26px;font-weight:900;color:var(--ink);margin-bottom:20px;font-variant-numeric:tabular-nums}
.bp-pdp .price del{opacity:.4;font-size:18px;font-weight:600;margin-right:8px}
.bp-pdp .price ins{text-decoration:none}
.pdp-short{font-size:14.5px;line-height:1.7;color:var(--graphite);margin-bottom:24px;max-width:480px}
.bp-pdp form.cart{display:flex;gap:12px;align-items:center;margin-bottom:24px;flex-wrap:wrap}
.bp-pdp form.cart .quantity input{width:72px;height:48px;border:1px solid var(--border);border-radius:var(--radius-sm);font-family:inherit;font-size:15px;text-align:center;color:var(--ink)}
.bp-pdp .single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 32px;background:var(--ink);color:#fff;border:none;border-radius:var(--radius-sm);font-size:15px;font-weight:700;transition:all .18s}
.bp-pdp .single_add_to_cart_button:hover{background:var(--teal)}
.pdp-trust-row{display:flex;gap:18px;flex-wrap:wrap;padding:20px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:24px}
.pdp-trust-row .pt{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--graphite)}
.pdp-trust-row .pt span.ic{font-size:15px}
.pdp-meta{font-size:12.5px;color:var(--graphite);line-height:1.9}
.pdp-meta b{color:var(--ink);font-weight:700}
/* PDP tabs */
.bp-pdp-tabs{max-width:1200px;margin:0 auto;padding:0 24px 72px}
.bp-pdp-tabs .wc-tabs{list-style:none;display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:0;padding:0;flex-wrap:wrap}
.bp-pdp-tabs .wc-tabs li{margin:0}
.bp-pdp-tabs .wc-tabs li a{display:block;padding:14px 20px;font-size:13.5px;font-weight:600;color:var(--graphite);border-bottom:2px solid transparent;transition:all .15s}
.bp-pdp-tabs .wc-tabs li.active a,.bp-pdp-tabs .wc-tabs li a:hover{color:var(--ink);border-bottom-color:var(--teal)}
.bp-pdp-tabs .woocommerce-Tabs-panel{padding:28px 0;font-size:14.5px;line-height:1.75;color:var(--graphite)}
.bp-pdp-tabs .woocommerce-Tabs-panel h2{font-size:18px;font-weight:800;color:var(--ink);margin-bottom:14px;letter-spacing:-.02em}

/* ── FOOTER ─────────────────────────────────────────────── */
footer.bp-footer{background:var(--ink);color:rgba(255,255,255,.45);padding:64px 24px 32px;border-top:2px solid var(--teal)}
.footer-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:48px}
@media(max-width:900px){.footer-inner{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.footer-inner{grid-template-columns:1fr}}
.footer-brand .logo{color:#fff;margin-bottom:14px;font-size:16px}
.footer-brand p{font-size:13px;line-height:1.7;max-width:280px;margin-bottom:20px}
.footer-live{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.12);padding:6px 12px;border-radius:4px}
.footer-live .live-dot{width:6px;height:6px;border-radius:50%;background:var(--signal);animation:pulse 2s infinite}
.footer-col h5{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:16px}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:10px}
.footer-col ul li a{font-size:13.5px;color:rgba(255,255,255,.55);transition:color .15s}
.footer-col ul li a:hover{color:#fff}
.footer-bottom{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:28px;border-top:1px solid rgba(255,255,255,.08);font-size:12px}
.footer-bottom .copy{color:rgba(255,255,255,.3)}
.footer-links{display:flex;gap:20px}
.footer-links a{color:rgba(255,255,255,.3);transition:color .15s}
.footer-links a:hover{color:rgba(255,255,255,.65)}
.footer-disclaimer{max-width:1200px;margin:16px auto 0;font-size:11px;line-height:1.6;color:rgba(255,255,255,.2);padding-top:16px;border-top:1px solid rgba(255,255,255,.05)}

/* keep the clone chrome clear of the WP admin bar */
body.admin-bar header.bp-header{top:32px}
@media(max-width:782px){body.admin-bar header.bp-header{top:46px}}

/* Hide any leftover Kadence/Woo default notices styling clashes */
body.bp-ukp .woocommerce-message,body.bp-ukp .woocommerce-info,body.bp-ukp .woocommerce-error{
  max-width:1200px;margin:16px auto;border-radius:var(--radius-sm);border-left:3px solid var(--teal);
  background:#fff;border-top:1px solid var(--border);border-right:1px solid var(--border);border-bottom:1px solid var(--border);
  padding:14px 18px;font-size:13.5px;color:var(--ink);list-style:none
}
body.bp-ukp .woocommerce-error{border-left-color:#c0392b}

/* Module 14 — Synergy bundle PDP "Bundle Contents" tab */
.bp-bundle-contents{width:100%;margin:8px 0 16px}
.bp-bundle-contents th{text-align:left;font-weight:700}
.bp-bundle-contents th a{color:var(--ink,#0e1115);text-decoration:none}
.bp-bundle-contents th a:hover{color:var(--teal,#0d9488)}
.bp-bundle-save{font-size:15px;margin:6px 0 4px}
.bp-bundle-save s{color:#9aa0ac}
.bp-save-pill{display:inline-block;background:var(--teal,#0d9488);color:#fff;font-weight:800;font-size:12px;padding:3px 10px;border-radius:999px;margin-left:6px}
.bp-bundle-note{font-size:12px;color:var(--graphite,#5b6170);margin-top:6px}
