/*
Theme Name: XPeptides
Theme URI: https://xpeptid.es
Description: Dark lab-tech Child-Theme for xPeptides — electric blue on near-black, molecular hero, bold uppercase display. Based on Blocksy.
Author: xPeptides
Template: blocksy
Version: 0.2.0
Text Domain: xpeptides
*/

/* ===========================================================================
   xPeptides Design System v2 — "Dark Lab-Tech"
   Near-black background, one electric-blue accent, bold uppercase display sans.
   =========================================================================== */

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

:root {
  /* Backgrounds */
  --xp-bg:        #0A0E16;  /* near-black, slight blue */
  --xp-bg-2:      #0F1522;  /* raised dark panel */
  --xp-bg-3:      #151C2B;  /* card on dark */
  --xp-light:     #FFFFFF;  /* light sections */
  --xp-light-2:   #F4F7FB;  /* light section alt */

  /* Accent */
  --xp-blue:      #2F6BFF;  /* electric blue */
  --xp-blue-2:    #1E52E0;  /* hover */
  --xp-blue-soft: #6AA0FF;

  /* Text */
  --xp-white:     #FFFFFF;
  --xp-ink:       #0F1622;  /* text on light */
  --xp-muted:     #9AA7B8;  /* muted on dark */
  --xp-muted-2:   #5A6676;  /* muted on light */
  --xp-line:      #1E2839;  /* border on dark */
  --xp-line-2:    #E4E9F0;  /* border on light */
  --xp-alert:     #E0523A;

  /* Fonts */
  --xp-font-display: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --xp-font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --xp-font-mono:    "IBM Plex Mono", "SF Mono", Menlo, monospace;

  /* Blocksy palette overrides */
  --theme-palette-color-1: #2F6BFF;
  --theme-palette-color-2: #1E52E0;
  --theme-palette-color-3: #4A5A68;
  --theme-palette-color-4: #0F1622;
  --theme-palette-color-8: #0A0E16;
}

body {
  font-family: var(--xp-font-body);
  color: var(--xp-ink);
  background: var(--xp-light);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: var(--xp-font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--xp-ink);
}

a { color: var(--xp-blue); text-decoration: none; }
a:hover { color: var(--xp-blue-2); }

/* ---- Buttons (scoped to real CTAs — NOT bare <button>, which hits qty steppers) ---- */
.wp-block-button__link, .button, input[type="submit"], .single_add_to_cart_button,
.wc-block-components-button.contained, .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button, button.checkout-button {
  font-family: var(--xp-font-body) !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 13px !important;
  border-radius: 6px !important;
  background: var(--xp-blue) !important;
  color: #fff !important;
  border: 1px solid var(--xp-blue) !important;
  box-shadow: none !important;
  transition: background .15s ease, transform .15s ease !important;
  padding: 14px 26px !important;
}
.button:hover, .wp-block-button__link:hover,
.single_add_to_cart_button:hover { background: var(--xp-blue-2) !important; border-color: var(--xp-blue-2) !important; }
.is-style-outline .wp-block-button__link {
  background: transparent !important; border-color: rgba(255,255,255,.35) !important; color:#fff !important;
}

/* =========================================================================
   AGE / RESEARCH-USE CONFIRMATION GATE
   ========================================================================= */
.xp-agegate{ position:fixed; inset:0; z-index:100000; background:rgba(6,9,14,.94); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; padding:20px; }
.xp-agegate__box{ background:var(--xp-bg-2); border:1px solid var(--xp-line); border-radius:16px; max-width:480px; width:100%;
  padding:38px 34px; text-align:center; box-shadow:0 30px 80px rgba(0,0,0,.6); }
.xp-agegate__logo{ display:inline-flex; align-items:center; gap:9px; color:#fff; font-family:var(--xp-font-display); font-weight:800; font-size:20px; margin-bottom:18px; }
.xp-agegate__box h2{ color:#fff; font-family:var(--xp-font-display); text-transform:uppercase; font-size:22px; margin:0 0 12px; letter-spacing:.01em; }
.xp-agegate__box p{ color:var(--xp-muted); font-size:14.5px; line-height:1.65; margin:0 0 26px; }
.xp-agegate__box strong{ color:#EAF0F8; }
.xp-agegate__btns{ display:flex; flex-direction:column; gap:10px; }
.xp-agegate__btns .xp-btn{ justify-content:center; width:100%; }
.xp-agegate__btns .xp-btn--ghost{ border-color:rgba(255,255,255,.25); }

/* =========================================================================
   TOP ANNOUNCEMENT BAR (injected via functions.php)
   ========================================================================= */
.xp-topbar {
  background: #05070C; color: var(--xp-muted);
  font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid var(--xp-line);
}
.xp-topbar__inner {
  max-width: 1290px; margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.xp-topbar__center { display: flex; gap: 34px; }
.xp-topbar__center span, .xp-topbar__right span { display:inline-flex; align-items:center; gap:7px; }
.xp-topbar strong { color:#C4D0E0; font-weight:600; }
.xp-topbar__right { display:flex; gap:18px; align-items:center; }
.xp-topbar__right .xp-cur { color:#7C8AA0; }
.xp-cur-switch{ display:inline-flex; gap:2px; align-items:center; }
.xp-cur-switch a.xp-cur{ color:#7C8AA0; padding:2px 5px; border-radius:4px; text-decoration:none; }
.xp-cur-switch a.xp-cur.is-active{ color:#fff; background:rgba(47,107,255,.18); }
.xp-cur-switch a.xp-cur:hover{ color:var(--xp-blue); }
.xp-cur--lang{ color:#7C8AA0; }
.xp-topbar .xp-ic { color:#C4D0E0; display:inline-flex; align-items:center; position:relative; }
.xp-topbar .xp-ic:hover { color:var(--xp-blue); }
.xp-topbar .xp-ic--cart b { position:absolute; top:-7px; right:-9px; background:var(--xp-blue); color:#fff;
  font-size:9px; font-weight:700; min-width:14px; height:14px; line-height:14px; text-align:center; border-radius:50%; padding:0 2px; }
@media (max-width: 900px){ .xp-topbar__center{display:none;} }

/* ---- Logo "X" mark ---- */
.ct-header [data-id="logo"] .site-title a::before,
.ct-header [data-id="logo"] .site-logo-container a::before {
  content:''; display:inline-block; width:30px; height:30px; margin-right:11px; vertical-align:-7px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M3 3h11l23 34H26z' fill='%232F6BFF'/%3E%3Cpath d='M37 3H26L3 37h11z' fill='%23DCE6F5'/%3E%3C/svg%3E") no-repeat center/contain;
}
.ct-header [data-id="logo"] .site-title a { display:inline-flex; align-items:center; font-family:var(--xp-font-display); font-weight:800; letter-spacing:-.01em; }

/* ---- Header search trigger (icon, in the nav menu) ---- */
/* remove Blocksy's default search in all its forms (keep only our menu trigger) */
.ct-header [data-id="search"],
.ct-header-search,
.ct-header [data-id="searchform"],
.ct-header [data-toggle-panel="#search-modal"],
.ct-header a[href="#search-modal"],
#header [data-items] > [data-id="search"] { display:none !important; }
.xp-search-li{ display:flex; align-items:center; }
.xp-search-trigger{ background:transparent !important; border:none !important; color:#D5DEEA !important; width:38px; height:38px;
  display:inline-flex; align-items:center; justify-content:center; cursor:pointer; padding:0 !important; margin-left:6px; }
.xp-search-trigger:hover{ color:var(--xp-blue) !important; }

/* ---- Live-search overlay ---- */
.xp-search-modal{ position:fixed; inset:0; z-index:1002; background:rgba(4,7,12,.75); backdrop-filter:blur(4px);
  opacity:0; visibility:hidden; transition:opacity .2s ease; }
.xp-search-modal.is-open{ opacity:1; visibility:visible; }
.xp-search-modal__inner{ max-width:680px; margin:8vh auto 0; padding:0 20px; }
.xp-search-box{ display:flex; align-items:center; gap:12px; background:var(--xp-bg-2); border:1px solid var(--xp-line);
  border-radius:12px; padding:0 16px; height:64px; color:var(--xp-blue-soft); box-shadow:0 20px 60px rgba(0,0,0,.5); }
.xp-search-box input{ flex:1; background:transparent; border:none !important; outline:none; color:#fff; font-size:18px; height:100%; }
.xp-search-box input::placeholder{ color:#6B7788; }
.xp-search-close{ background:none !important; border:none !important; color:var(--xp-muted) !important; font-size:26px; cursor:pointer; width:36px; height:36px; padding:0 !important; }
.xp-search-close:hover{ color:#fff !important; }
.xp-search-results{ background:var(--xp-bg-2); border:1px solid var(--xp-line); border-top:none; border-radius:0 0 12px 12px;
  margin-top:-1px; max-height:60vh; overflow-y:auto; }
.xp-search-results.is-loading{ opacity:.5; }
.xp-search-hint{ color:var(--xp-muted-2); font-size:14px; padding:22px 18px; margin:0; }
.xp-sr-list{ list-style:none; margin:0; padding:6px; }
.xp-sr-list li a{ display:flex; align-items:center; gap:14px; padding:10px 12px; border-radius:8px; text-decoration:none; }
.xp-sr-list li a:hover{ background:var(--xp-bg-3); }
.xp-sr-thumb img{ width:48px; height:48px; object-fit:contain; background:#fff; border-radius:6px; }
.xp-sr-meta{ display:flex; flex-direction:column; min-width:0; }
.xp-sr-name{ color:#fff; font-weight:600; font-size:14.5px; }
.xp-sr-price{ color:var(--xp-blue-soft); font-family:var(--xp-font-mono); font-size:13px; }
.xp-sr-price .amount, .xp-sr-price bdi{ color:var(--xp-blue-soft); }
.xp-sr-all{ display:block; text-align:center; padding:14px; color:var(--xp-blue) !important; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.04em; border-top:1px solid var(--xp-line); }
@media(max-width:560px){ .xp-search-modal__inner{ margin-top:0; padding:0; } .xp-search-box{ border-radius:0; height:60px; } .xp-search-results{ border-radius:0; max-height:calc(100vh - 60px); } }

/* =========================================================================
   DARK HEADER (Blocksy)
   ========================================================================= */
[data-header] .ct-header,
[data-header*="type-1"] .ct-header [data-row*="middle"] {
  background-color: var(--xp-bg) !important;
  background-image: none !important;
}
.ct-header [data-id="menu"] > ul > li > a { color: #D5DEEA !important; text-transform: uppercase; letter-spacing:.04em; font-size:13px !important; font-weight:600 !important; }
.ct-header [data-id="menu"] > ul > li.current-menu-item > a,
.ct-header [data-id="menu"] > ul > li > a:hover { color: var(--xp-blue) !important; }
.ct-header [data-id="logo"] .site-title { color:#fff !important; }
.ct-header [data-id="logo"] .site-title a { color:#fff !important; }

/* =========================================================================
   HERO
   ========================================================================= */
.xp-hero {
  position: relative; background-color: var(--xp-bg); color:#fff; overflow:hidden;
  border-bottom: 1px solid var(--xp-line);
  background-repeat:no-repeat; background-position:right center; background-size:auto 108%;
  min-height: 460px; display:flex; align-items:center;
}
.xp-hero::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg, var(--xp-bg) 34%, rgba(10,14,22,.55) 56%, rgba(10,14,22,0) 82%);
}
.xp-hero__inner { position:relative; max-width:1290px; margin:0 auto; padding:64px 24px; width:100%; }
.xp-hero__content { max-width: 720px; }
.xp-hero h1 {
  font-family: var(--xp-font-display); font-weight:800; color:#fff;
  font-size: clamp(1.6rem, 4.4vw, 2.6rem); text-transform:uppercase; line-height:1.07; margin:0;
  letter-spacing:-.02em;
}
.xp-hero h1 .hl { display:block; white-space:nowrap; }
@media (max-width: 560px){ .xp-hero h1 .hl{ white-space:normal; } }
.xp-hero h1 .accent { color: var(--xp-blue); }
.xp-hero__sub { color:#EAF0F8; font-size:20px; font-weight:700; margin:22px 0 8px; }
.xp-hero__lead { color:#93A0B2; max-width:460px; margin:12px 0 30px; font-size:16px; }
.xp-hero__btns { display:flex; gap:14px; flex-wrap:wrap; }
.xp-btn { display:inline-flex; align-items:center; gap:10px; padding:15px 28px; border-radius:6px;
  font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-size:13px; }
.xp-btn--primary { background: var(--xp-blue); color:#fff; }
.xp-btn--primary:hover { background: var(--xp-blue-2); color:#fff; }
.xp-btn--ghost { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.3); }
.xp-btn--ghost:hover { border-color: var(--xp-blue); color:var(--xp-blue-soft); }
.xp-hero__ticks { display:flex; gap:30px; margin-top:34px; color:#C4D0E0; font-size:13px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; flex-wrap:wrap; }
.xp-hero__ticks span { display:inline-flex; align-items:center; gap:8px; }
.xp-hero__ticks svg { color: var(--xp-blue); }
@media (max-width: 820px){
  .xp-hero{ background-size:cover; min-height:0; }
  .xp-hero::before{ background:linear-gradient(180deg, rgba(10,14,22,.5) 0%, rgba(10,14,22,.82) 55%, var(--xp-bg) 100%); }
  .xp-hero__inner{ padding:48px 20px; }
  .xp-hero__content{ max-width:100%; }
  .xp-hero__sub{ font-size:17px; }
  .xp-hero__lead{ font-size:15px; }
  .xp-hero__ticks{ gap:16px 20px; font-size:12px; }
  .xp-hero__btns{ gap:10px; }
  .xp-btn{ padding:13px 20px; font-size:12px; }
}
@media (max-width: 480px){
  .xp-hero__btns{ flex-direction:column; align-items:stretch; }
  .xp-btn{ justify-content:center; }
  .xp-topbar__inner{ padding:8px 16px; }
  .xp-topbar__left strong{ font-size:10px; }
}

/* =========================================================================
   FEATURE ROW (dark)
   ========================================================================= */
.xp-features { background: var(--xp-bg-2); border-bottom:1px solid var(--xp-line); }
.xp-features__grid { max-width:1290px; margin:0 auto; padding: 34px 24px; display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.xp-feature { display:flex; gap:16px; padding: 8px 28px; border-left:1px solid var(--xp-line); }
.xp-feature:first-child { border-left:none; }
.xp-feature svg { color: var(--xp-blue); flex:none; }
.xp-feature h4 { color:#fff; font-size:14px; text-transform:uppercase; letter-spacing:.03em; margin:2px 0 5px; font-weight:700; }
.xp-feature p { color: var(--xp-muted); font-size:13px; margin:0; line-height:1.5; }
@media (max-width: 900px){ .xp-features__grid{ grid-template-columns:repeat(2,1fr); gap:24px;} .xp-feature{border-left:none;padding:8px;} }

/* =========================================================================
   CATEGORY CARDS (light)
   ========================================================================= */
.xp-section { max-width:1290px; margin:0 auto; padding: 56px 24px; }
.xp-section__eyebrow { text-align:center; color: var(--xp-blue); font-weight:700; font-size:13px; letter-spacing:.14em; text-transform:uppercase; margin-bottom:10px; }
.xp-section__title { text-align:center; font-size: clamp(1.5rem,3vw,2rem); text-transform:uppercase; font-weight:800; margin:0 0 8px; color:var(--xp-ink); }
.xp-section__title .accent { color: var(--xp-blue); }
.xp-section__rule { width:64px; height:3px; background:var(--xp-blue); margin:14px auto 46px; border-radius:2px; }
.xp-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.xp-card {
  background:#fff; border:1px solid var(--xp-line-2); border-radius:12px; padding:28px 20px 24px;
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px;
  transition:border-color .15s, box-shadow .15s, transform .15s; overflow:hidden;
}
.xp-card:hover { border-color: var(--xp-blue); box-shadow: 0 18px 40px -18px rgba(47,107,255,.35); transform: translateY(-3px); }
.xp-card__img { width:auto; height:132px; max-width:100%; object-fit:contain; flex:none; }
.xp-card > div { min-width:0; width:100%; display:flex; flex-direction:column; align-items:center; }
.xp-card h3 { font-size:15px; text-transform:uppercase; letter-spacing:.02em; margin:4px 0 6px; color:var(--xp-ink); font-weight:800; line-height:1.2; overflow-wrap:break-word; }
.xp-card p { font-size:13px; color:var(--xp-muted-2); margin:0 0 12px; line-height:1.5; }
.xp-card a { font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--xp-blue); margin-top:auto; white-space:nowrap; }
@media (max-width: 1000px){ .xp-cards{ grid-template-columns:repeat(2,1fr);} }
@media (max-width: 560px){ .xp-cards{ grid-template-columns:1fr 1fr; gap:12px;} .xp-card{ padding:20px 12px 16px; } .xp-card__img{ height:104px; } }

/* =========================================================================
   TRUST BAR (light)
   ========================================================================= */
.xp-trust { border-top:1px solid var(--xp-line-2); background: var(--xp-light-2); }
.xp-trust__grid { max-width:1290px; margin:0 auto; padding: 30px 24px; display:grid; grid-template-columns:repeat(4,1fr); }
.xp-trust__item { display:flex; align-items:center; gap:12px; justify-content:center; border-left:1px solid var(--xp-line-2); padding:6px; }
.xp-trust__item:first-child { border-left:none; }
.xp-trust__item svg { color: var(--xp-blue); flex:none; }
.xp-trust__item b { display:block; font-size:13px; text-transform:uppercase; letter-spacing:.03em; color:var(--xp-ink); }
.xp-trust__item span { font-size:12px; color:var(--xp-muted-2); text-transform:uppercase; letter-spacing:.03em; }
@media (max-width: 800px){ .xp-trust__grid{ grid-template-columns:repeat(2,1fr); gap:20px;} .xp-trust__item{border-left:none;} }

/* =========================================================================
   WOO: product cards + datasheet (kept, re-accented)
   ========================================================================= */
.woocommerce ul.products li.product {
  background:#fff; border:1px solid var(--xp-line-2); border-radius:10px; padding:16px !important;
  transition:border-color .15s, box-shadow .15s;
  display:flex !important; flex-direction:column; height:100%;
}
/* align all cards: push CTA to a consistent baseline, shipping note last */
.woocommerce ul.products li.product > * { flex:0 0 auto; }
.woocommerce ul.products li.product .price { margin-bottom:10px; }
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart { margin-top:auto !important; }
.woocommerce ul.products li.product .wc-gzd-additional-info,
.woocommerce ul.products li.product .woocommerce-gzd-additional-info,
.woocommerce ul.products li.product [class*="gzd"] { order:99; margin-top:8px; font-size:11px; }
.woocommerce ul.products { align-items:stretch; }
.woocommerce ul.products li.product:hover { border-color:var(--xp-blue); box-shadow:0 14px 34px -18px rgba(47,107,255,.35); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family:var(--xp-font-display); font-weight:700; font-size:1rem; text-transform:uppercase; letter-spacing:.01em; }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price { color:var(--xp-blue); font-family:var(--xp-font-mono); font-weight:600; }
.woocommerce div.product .product_title { font-family:var(--xp-font-display); text-transform:uppercase; font-weight:800; }

.xp-spec-table { width:100%; border-collapse:collapse; margin:24px 0; font-family:var(--xp-font-mono); font-size:.92rem; }
.xp-spec-table th, .xp-spec-table td { text-align:left; padding:10px 14px; border-bottom:1px solid var(--xp-line-2); }
.xp-spec-table th { color:var(--xp-muted-2); font-weight:500; width:42%; }
.xp-purity { color:var(--xp-blue); font-weight:600; }
.xp-ruo { border-left:3px solid var(--xp-alert); background:#FCF3F1; padding:16px 22px; margin:24px 0; font-size:.92rem; color:var(--xp-ink); }
.xp-ruo strong { color:var(--xp-alert); }

.xp-trustbar { display:flex; flex-wrap:wrap; gap:32px; justify-content:center; padding:24px;
  background:var(--xp-light-2); border-top:1px solid var(--xp-line-2); border-bottom:1px solid var(--xp-line-2);
  font-family:var(--xp-font-mono); font-size:.82rem; letter-spacing:.04em; text-transform:uppercase; color:var(--xp-muted-2); }

/* =========================================================================
   DARK FOOTER
   ========================================================================= */
[data-footer*="type-1"] .ct-footer { background-color: var(--xp-bg) !important; }
[data-footer] .ct-footer, [data-footer] .ct-footer a { color: var(--xp-muted); }
[data-footer] .ct-footer a:hover { color: var(--xp-blue); }

input, select, textarea { border-radius:6px !important; }

/* Hide Blocksy page title on landing pages (custom hero handles it) */
body.home .entry-header, body.xp-landing .entry-header,
body.home .page-title, body.xp-landing .page-title,
body.home [data-prefix="single_page"] .hero-section,
body.xp-landing [data-prefix="single_page"] .hero-section { display:none !important; }
/* Let custom sections span full width */
body.home .entry-content > .alignwide,
body.home article .entry-content, body.xp-landing article .entry-content { max-width:none; }
body.home .xp-hero, body.home .xp-features, body.home .xp-trust,
body.xp-landing .xp-hero, body.xp-landing .xp-features, body.xp-landing .xp-trust,
body.xp-landing .xp-band, body.xp-landing .xp-lhero, body.xp-landing .xp-trustbar {
  margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
  width:100vw !important; max-width:100vw !important;
}
body.xp-landing .xp-prose{ box-sizing:border-box; }
/* Kill Blocksy content wrapper padding/spacing so the hero touches the header (no white gap) */
body.home .site-main, body.xp-landing .site-main,
body.home .site-main > .ct-container-full, body.xp-landing .site-main > .ct-container-full,
body.home .ct-container-full, body.xp-landing .ct-container-full {
  padding-top:0 !important; padding-bottom:0 !important;
  --theme-content-vertical-spacing:0px !important;
}
body.home .site-main > .ct-container-full,
body.xp-landing .site-main > .ct-container-full { margin-top:-40px !important; }
/* Remove WordPress block-layout gaps so sections stack flush */
body.home .entry-content, body.xp-landing .entry-content { margin-top:0 !important; }
body.home .entry-content > *, body.xp-landing .entry-content > * { margin-top:0 !important; margin-bottom:0 !important; }
/* Landing-page section helpers */
.xp-band{ background:var(--xp-bg); color:#fff; }
.xp-band--light{ background:var(--xp-light-2); color:var(--xp-ink); }
.xp-lhero{ background:var(--xp-bg); color:#fff; text-align:center; padding:72px 24px; border-bottom:1px solid var(--xp-line); }
.xp-lhero h1{ font-family:var(--xp-font-display); font-weight:800; text-transform:uppercase; color:#fff; font-size:clamp(1.9rem,4.2vw,3rem); line-height:1.05; margin:0 auto; max-width:820px; }
.xp-lhero h1 .accent{ color:var(--xp-blue); }
.xp-lhero p{ color:#93A0B2; max-width:620px; margin:18px auto 26px; font-size:16px; }
.xp-lhero__btns{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.xp-prose{ max-width:820px; margin:0 auto; padding:56px 24px; }
.xp-prose h2{ font-family:var(--xp-font-display); text-transform:uppercase; font-size:1.5rem; margin:0 0 12px; color:var(--xp-navy); }
.xp-prose h3{ font-size:1.05rem; margin:26px 0 8px; color:var(--xp-ink); }
.xp-prose p, .xp-prose li{ color:var(--xp-slate); line-height:1.7; font-size:15.5px; }
.xp-prose ul{ padding-left:20px; }
.xp-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:1000px; margin:0 auto; }
.xp-step{ text-align:center; padding:8px; }
.xp-step__n{ width:42px; height:42px; border-radius:50%; background:var(--xp-blue); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; font-family:var(--xp-font-mono); }
.xp-step h4{ color:#fff; text-transform:uppercase; font-size:14px; margin:0 0 6px; }
.xp-band--light .xp-step h4{ color:var(--xp-ink); }
.xp-step p{ color:var(--xp-muted); font-size:13.5px; margin:0; line-height:1.5; }
.xp-band--light .xp-step p{ color:var(--xp-muted-2); }
.xp-spec-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; max-width:1000px; margin:0 auto; }
.xp-spec-card{ background:var(--xp-bg-2); border:1px solid var(--xp-line); border-radius:10px; padding:22px 18px; text-align:center; }
.xp-spec-card b{ display:block; font-family:var(--xp-font-mono); color:var(--xp-blue-soft); font-size:22px; margin-bottom:4px; }
.xp-spec-card span{ color:var(--xp-muted); font-size:12px; text-transform:uppercase; letter-spacing:.03em; }
.xp-faqs{ max-width:820px; margin:0 auto; }
.xp-faq{ border-bottom:1px solid var(--xp-line-2); padding:18px 0; }
.xp-faq b{ display:block; color:var(--xp-ink); font-size:15px; margin-bottom:6px; }
.xp-faq p{ color:var(--xp-muted-2); font-size:14px; margin:0; line-height:1.6; }
@media(max-width:800px){ .xp-steps{grid-template-columns:1fr; gap:24px;} .xp-spec-grid{grid-template-columns:1fr 1fr;} .xp-lhero{padding:52px 20px;} .xp-prose{padding:40px 20px;} }

/* FAQ accordion (native details/summary) */
.xp-acc{ max-width:820px; margin:0 auto; }
.xp-acc details{ border-bottom:1px solid var(--xp-line-2); }
.xp-acc summary{ list-style:none; cursor:pointer; padding:18px 0; font-weight:600; font-size:15.5px; color:var(--xp-ink); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.xp-acc summary::-webkit-details-marker{ display:none; }
.xp-acc summary::after{ content:'+'; color:var(--xp-blue); font-size:22px; font-weight:400; flex:none; transition:transform .2s; }
.xp-acc details[open] summary::after{ content:'−'; }
.xp-acc details > p{ color:var(--xp-muted-2); font-size:14.5px; line-height:1.7; margin:0 0 18px; }
.xp-acc__cat{ font-family:var(--xp-font-display); text-transform:uppercase; font-size:1.1rem; color:var(--xp-navy); margin:32px 0 6px; }
/* support option cards */
.xp-support{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:1000px; margin:0 auto; }
.xp-support__card{ background:#fff; border:1px solid var(--xp-line-2); border-radius:12px; padding:26px 22px; text-align:center; transition:border-color .15s, transform .15s; }
.xp-support__card:hover{ border-color:var(--xp-blue); transform:translateY(-2px); }
.xp-support__ic{ width:48px; height:48px; border-radius:12px; background:var(--xp-light-2); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; color:var(--xp-blue); }
.xp-support__card h3{ font-size:16px; text-transform:uppercase; margin:0 0 6px; color:var(--xp-ink); }
.xp-support__card p{ font-size:13.5px; color:var(--xp-muted-2); margin:0 0 12px; line-height:1.5; }
.xp-support__card a{ font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.04em; color:var(--xp-blue); }
@media(max-width:800px){ .xp-support{ grid-template-columns:1fr; } }

/* =========================================================================
   AUTHENTICITY VERIFY
   ========================================================================= */
.xp-verify{ max-width:560px; margin:0 auto; }
.xp-verify__form{ display:flex; gap:10px; margin:0 0 8px; }
.xp-verify__form input{ flex:1; height:56px; border:1px solid var(--xp-line-2) !important; border-radius:10px; padding:0 18px;
  font-family:var(--xp-font-mono); font-size:18px; letter-spacing:1px; text-transform:uppercase; text-align:center; background:#fff; color:var(--xp-ink); }
.xp-verify__form button{ height:56px; min-height:56px; flex:0 0 auto; }
.xp-verify__hint{ text-align:center; font-size:13px; color:var(--xp-muted-2); margin:0 0 20px; }
.xp-vr{ border-radius:12px; padding:24px 22px; text-align:center; margin-top:8px; }
.xp-vr__ic{ width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; margin:0 auto 12px; color:#fff; font-weight:800; }
.xp-vr b{ display:block; font-size:18px; font-family:var(--xp-font-display); text-transform:uppercase; margin-bottom:6px; }
.xp-vr p{ font-size:14px; line-height:1.6; margin:8px 0 0; }
.xp-vr--ok{ background:#EAFBF3; border:1px solid #BDECD5; }
.xp-vr--ok .xp-vr__ic{ background:#1B9E5A; }
.xp-vr--ok b{ color:#127544; }
.xp-vr--bad{ background:#FCF0EE; border:1px solid #F3C9C1; }
.xp-vr--bad .xp-vr__ic{ background:var(--xp-alert); }
.xp-vr--bad b{ color:#A5341F; }
.xp-vr--warn{ background:var(--xp-light-2); border:1px solid var(--xp-line-2); }
.xp-vr__tbl{ width:100%; max-width:380px; margin:16px auto 0; border-collapse:collapse; font-size:14px; }
.xp-vr__tbl th{ text-align:left; color:var(--xp-muted-2); font-weight:500; padding:8px 10px; border-bottom:1px solid var(--xp-line-2); width:40%; }
.xp-vr__tbl td{ text-align:left; padding:8px 10px; border-bottom:1px solid var(--xp-line-2); font-family:var(--xp-font-mono); color:var(--xp-ink); }
.xp-vr__meta{ color:var(--xp-muted-2) !important; font-size:12.5px !important; margin-top:14px !important; }
.xp-vr__first{ color:#1B9E5A; font-weight:600; }
.xp-vr__note{ color:#A5341F !important; font-size:13px !important; }
/* camera QR scanner modal */
.xp-scan{ position:fixed; inset:0; z-index:100001; background:rgba(4,7,12,.92); display:flex; align-items:center; justify-content:center; padding:20px; }
.xp-scan[hidden]{ display:none; }
.xp-scan__box{ position:relative; width:100%; max-width:420px; text-align:center; }
.xp-scan__close{ position:absolute; top:-6px; right:-6px; z-index:2; width:40px; height:40px; border-radius:50%; background:#151C2B !important; color:#fff !important; border:1px solid #2a3a55 !important; font-size:24px; cursor:pointer; padding:0 !important; }
.xp-scan__video{ position:relative; border-radius:16px; overflow:hidden; background:#000; aspect-ratio:1/1; }
.xp-scan__video video{ width:100%; height:100%; object-fit:cover; display:block; }
.xp-scan__frame{ position:absolute; inset:16%; border:3px solid rgba(255,255,255,.9); border-radius:14px; box-shadow:0 0 0 100vmax rgba(0,0,0,.25); }
.xp-scan__frame::before,.xp-scan__frame::after{ content:""; position:absolute; width:26px; height:26px; border:4px solid var(--xp-blue); }
.xp-scan__frame::before{ top:-4px; left:-4px; border-right:0; border-bottom:0; border-radius:10px 0 0 0; }
.xp-scan__frame::after{ bottom:-4px; right:-4px; border-left:0; border-top:0; border-radius:0 0 10px 0; }
.xp-scan__status{ color:#DCE6F5; font-size:14px; margin:16px 0 0; }

/* =========================================================================
   BRAND GUIDE
   ========================================================================= */
.xp-bg-grid{ display:grid; gap:18px; max-width:1000px; margin:0 auto; }
.xp-bg-grid.cols-2{ grid-template-columns:1fr 1fr; }
.xp-bg-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
.xp-bg-grid.cols-4{ grid-template-columns:repeat(4,1fr); }
.xp-logo-tile{ border:1px solid var(--xp-line-2); border-radius:12px; padding:34px 20px 16px; text-align:center; }
.xp-logo-tile--dark{ background:var(--xp-bg); border-color:var(--xp-line); }
.xp-logo-tile--light{ background:#fff; }
.xp-logo-tile img{ max-width:180px; max-height:60px; height:auto; margin-bottom:18px; }
.xp-logo-tile .cap{ font-size:12px; color:var(--xp-muted-2); display:block; margin-bottom:8px; }
.xp-logo-tile--dark .cap{ color:var(--xp-muted); }
.xp-dl{ display:inline-flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.xp-dl a{ font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--xp-blue); border:1px solid var(--xp-line-2); border-radius:5px; padding:5px 10px; }
.xp-logo-tile--dark .xp-dl a{ border-color:var(--xp-line); color:var(--xp-blue-soft); }
.xp-dl a:hover{ background:var(--xp-blue); color:#fff !important; border-color:var(--xp-blue); }
/* swatches */
.xp-swatch{ border:1px solid var(--xp-line-2); border-radius:12px; overflow:hidden; }
.xp-swatch__c{ height:88px; }
.xp-swatch__m{ padding:12px 14px; }
.xp-swatch__m b{ display:block; font-size:13px; color:var(--xp-ink); }
.xp-swatch__m span{ font-family:var(--xp-font-mono); font-size:12px; color:var(--xp-muted-2); }
/* type specimen */
.xp-type{ border:1px solid var(--xp-line-2); border-radius:12px; padding:22px 24px; text-align:left; }
.xp-type small{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--xp-muted-2); margin-bottom:8px; }
.xp-type .sample{ color:var(--xp-ink); line-height:1.1; }
/* label preview */
.xp-labelprev{ max-width:640px; margin:0 auto; }
.xp-labelprev img{ width:100%; border-radius:10px; box-shadow:0 20px 50px -20px rgba(0,0,0,.4); }
@media(max-width:800px){ .xp-bg-grid.cols-2,.xp-bg-grid.cols-3,.xp-bg-grid.cols-4{ grid-template-columns:1fr 1fr; } }
@media(max-width:520px){ .xp-bg-grid.cols-2,.xp-bg-grid.cols-3,.xp-bg-grid.cols-4{ grid-template-columns:1fr; } }
body.home .xp-hero { border-bottom:none; }

/* =========================================================================
   TOPBAR responsive text toggle
   ========================================================================= */
.xp-tb-short{ display:none; }
@media (max-width: 700px){
  .xp-tb-full{ display:none; }
  .xp-tb-short{ display:inline; }
  .xp-topbar__inner{ flex-wrap:nowrap; padding:7px 14px; gap:10px; }
  .xp-topbar__left strong{ font-size:10px; white-space:nowrap; }
  .xp-topbar__right{ gap:13px; flex:none; }
  .xp-topbar__right .xp-cur{ font-size:10px; }
}

/* =========================================================================
   PRODUCT DETAIL PAGE (PDP) — conversion-optimized, denser
   ========================================================================= */
.woocommerce div.product .product_title{
  font-family:var(--xp-font-display); text-transform:uppercase; font-weight:800;
  font-size: clamp(1.35rem, 3vw, 2rem) !important; line-height:1.1; margin:.2em 0 .35em !important; letter-spacing:-.01em;
}
.woocommerce div.product p.price,
.woocommerce div.product .price{ font-size:1.6rem !important; color:var(--xp-blue) !important; font-weight:600; margin:.2em 0 !important; }
.woocommerce div.product form.cart{ margin:1.1em 0 !important; }
.woocommerce div.product form.cart .ct-cart-actions,
.woocommerce div.product form.cart{ display:flex !important; align-items:stretch; gap:10px; width:100% !important; }
.woocommerce div.product form.cart .quantity{ height:56px; flex:0 0 auto; }
.woocommerce div.product form.cart .quantity input{ height:56px; }
.woocommerce div.product form.cart .single_add_to_cart_button{
  flex:1 1 0 !important; width:auto !important; min-width:0 !important;
  justify-content:center; min-height:56px; font-size:15px !important; letter-spacing:.05em;
}
/* Trim the big empty gap between header and content on inner (non-home) pages */
body:not(.home) .site-main > .ct-container-full{ padding-top:20px !important; margin-top:-40px !important; --theme-content-vertical-spacing:24px !important; }
/* Compact the oversized page/archive title banner (was 250px min-height + 50px padding) */
body:not(.home) .entry-header{ min-height:0 !important; padding-top:22px !important; padding-bottom:22px !important; background:transparent !important; }
body:not(.home) .entry-header .page-title{ font-family:var(--xp-font-display); font-weight:800; text-transform:uppercase; font-size:1.9rem !important; }
@media (max-width:800px){
  body:not(.home) .entry-header{ padding-top:16px !important; padding-bottom:16px !important; }
  body:not(.home) .entry-header .page-title{ font-size:1.5rem !important; }
}
/* delivery / stock block under CTA (nutrition-shop pattern) */
.xp-pdp-delivery{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; margin:12px 0 4px; }
.xp-pdp-delivery .xp-instock{ color:#1B9E5A; font-weight:700; font-size:14px; }
.xp-pdp-delivery .xp-deliv{ color:var(--xp-muted-2); font-size:13px; }
/* trust strip under CTA (injected) */
.xp-pdp-trust{ display:flex; flex-wrap:wrap; gap:10px 18px; margin:12px 0 6px; padding-top:14px; border-top:1px solid var(--xp-line-2); }

/* =========================================================================
   FLOATING SUPPORT / WHATSAPP BUTTON
   ========================================================================= */
.xp-fab{ position:fixed; right:22px; bottom:22px; z-index:998; display:flex; flex-direction:column; align-items:flex-end; gap:12px; }
.xp-fab__btn{ width:58px; height:58px; border-radius:50%; background:var(--xp-blue) !important; color:#fff !important;
  border:none !important; cursor:pointer; box-shadow:0 10px 30px rgba(47,107,255,.45); display:flex; align-items:center; justify-content:center;
  padding:0 !important; transition:transform .18s ease, background .18s ease; position:relative; }
.xp-fab__btn:hover{ transform:scale(1.06); background:var(--xp-blue-2) !important; }
.xp-fab__ico{ position:absolute; display:flex; transition:opacity .15s, transform .15s; }
.xp-fab__ico--close{ opacity:0; transform:rotate(-45deg); }
.xp-fab.is-open .xp-fab__ico--open{ opacity:0; transform:rotate(45deg); }
.xp-fab.is-open .xp-fab__ico--close{ opacity:1; transform:rotate(0); }
/* pulse ring */
.xp-fab__btn::before{ content:""; position:absolute; inset:0; border-radius:50%; box-shadow:0 0 0 0 rgba(47,107,255,.5); animation:xpPulse 2.4s infinite; }
.xp-fab.is-open .xp-fab__btn::before{ animation:none; }
@keyframes xpPulse{ 70%{ box-shadow:0 0 0 14px rgba(47,107,255,0);} 100%{ box-shadow:0 0 0 0 rgba(47,107,255,0);} }
.xp-fab__menu{ display:none; flex-direction:column; gap:10px; align-items:flex-end; }
.xp-fab.is-open .xp-fab__menu{ display:flex; animation:xpFabIn .18s ease; }
@keyframes xpFabIn{ from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:none;} }
.xp-fab__item{ display:inline-flex; align-items:center; gap:10px; background:#fff; color:#0F1622 !important; text-decoration:none;
  padding:10px 16px 10px 12px; border-radius:30px; font-weight:600; font-size:14px; box-shadow:0 8px 24px rgba(0,0,0,.18); white-space:nowrap; }
.xp-fab__item svg{ flex:none; }
.xp-fab__item--wa{ }
.xp-fab__item--wa svg{ color:#25D366; }
.xp-fab__item--sup svg{ color:var(--xp-blue); }
.xp-fab__item:hover{ transform:translateX(-2px); }
/* raise above sticky mobile add-to-cart bar on product pages */
@media (max-width:800px){
  .xp-fab{ right:16px; bottom:16px; }
  .single-product .xp-fab{ bottom:104px; }
  .xp-fab__btn{ width:54px; height:54px; }
}

/* =========================================================================
   STICKY mobile add-to-cart bar (PDP)
   ========================================================================= */
.xp-sticky-atc{ position:fixed; left:0; right:0; bottom:0; z-index:999; display:none;
  align-items:center; gap:12px; padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  background:#0A0E16; border-top:1px solid var(--xp-line); box-shadow:0 -4px 18px rgba(0,0,0,.35);
  transform:translateY(100%); transition:transform .22s ease; }
.xp-sticky-atc.is-visible{ transform:translateY(0); }
.xp-sticky-atc__info{ display:flex; flex-direction:column; min-width:0; flex:1 1 auto; }
.xp-sticky-atc__name{ color:#fff; font-weight:700; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.xp-sticky-atc__price{ color:var(--xp-blue-soft); font-family:var(--xp-font-mono); font-weight:600; font-size:14px; }
.xp-sticky-atc__price .amount, .xp-sticky-atc__price bdi{ color:var(--xp-blue-soft); }
.xp-sticky-atc__btn{ flex:0 0 auto; background:var(--xp-blue); color:#fff; border:none; border-radius:8px;
  font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-size:13px; padding:14px 22px; cursor:pointer; }
.xp-sticky-atc__btn:hover{ background:var(--xp-blue-2); }
@media (max-width:800px){ .xp-sticky-atc{ display:flex; } .single-product .site-main{ padding-bottom:90px; } }

/* =========================================================================
   BLOCK CART + CHECKOUT (WooCommerce blocks) — fix stepper overlap, tidy CRO
   ========================================================================= */
/* collapse the empty aria-hidden spacer div that leaves a huge white gap on the block checkout */
.wc-block-components-sidebar-layout > div[aria-hidden="true"]:empty,
.wp-block-woocommerce-checkout div[aria-hidden="true"]:empty{ height:0 !important; min-height:0 !important; padding:0 !important; margin:0 !important; }
/* compact quantity stepper (was blown up by the global button rule) */
.wc-block-components-quantity-selector{
  display:inline-flex !important; align-items:stretch; width:auto !important; max-width:120px;
  border:1px solid var(--xp-line-2) !important; border-radius:8px !important; overflow:hidden; background:#fff;
}
.wc-block-components-quantity-selector__button{
  background:#fff !important; color:var(--xp-ink) !important; border:none !important; box-shadow:none !important;
  width:38px !important; min-width:38px !important; min-height:40px !important; height:40px !important;
  padding:0 !important; margin:0 !important; font-size:20px !important; line-height:1 !important;
  border-radius:0 !important; text-transform:none !important; letter-spacing:0 !important;
}
.wc-block-components-quantity-selector__button:hover{ background:var(--xp-light-2) !important; color:var(--xp-blue) !important; }
.wc-block-components-quantity-selector__input{
  width:40px !important; min-height:40px !important; border:none !important; text-align:center; font-weight:600; background:#fff !important; padding:0 !important;
}
/* remove link: small, subtle, no button styling */
.wc-block-cart-item__remove-link{
  background:none !important; border:none !important; color:var(--xp-muted-2) !important;
  font-size:12px !important; text-transform:none !important; letter-spacing:0 !important; padding:0 !important;
  text-decoration:underline; width:auto !important; min-height:0 !important;
}
.wc-block-cart-item__remove-link:hover{ color:var(--xp-alert) !important; }

/* cart / checkout typography + layout */
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button{ width:100% !important; min-height:54px; justify-content:center; }
.wp-block-woocommerce-cart .wc-block-cart-items__header,
.wc-block-cart-item__prices .wc-block-components-product-price__value{ font-family:var(--xp-font-mono); }
.wc-block-components-product-price__value{ color:var(--xp-navy); font-weight:600; }
.wc-block-cart-item__product-name a, .wc-block-components-product-name{ font-weight:600 !important; color:var(--xp-ink) !important; }
/* totals box */
.wc-block-components-totals-item__value, .wc-block-components-totals-footer-item__value{ font-family:var(--xp-font-mono); }
/* thumbnails not oversized */
.wc-block-cart-item__image img{ max-width:72px; border:1px solid var(--xp-line-2); border-radius:8px; }

@media (max-width:800px){
  .wc-block-cart-item__image img{ max-width:60px; }
  .wp-block-woocommerce-cart .wc-block-cart__submit-button{ min-height:52px; }
}

/* =========================================================================
   PREMIUM CHECKOUT (injected enhancements)
   ========================================================================= */
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .page-title{ display:none !important; }
body.woocommerce-checkout{ background:#F7F9FC; }
.xp-co-topwrap{ max-width:1200px; margin:0 auto; padding:8px 16px 0; }
/* top trust pill */
.xp-co-trustbar{ display:flex; gap:8px; justify-content:space-between; background:#fff; border:1px solid var(--xp-line-2);
  border-radius:40px; padding:14px 26px; box-shadow:0 10px 30px -20px rgba(15,22,34,.3); flex-wrap:wrap; }
.xp-co-tb{ display:flex; align-items:center; gap:12px; }
.xp-co-tb__ic{ color:var(--xp-blue); display:flex; }
.xp-co-tb__ic svg{ width:26px; height:26px; }
.xp-co-tb b{ display:block; font-size:12.5px; text-transform:uppercase; letter-spacing:.02em; color:var(--xp-ink); }
.xp-co-tb small{ font-size:11.5px; color:var(--xp-muted-2); }
.xp-co-head{ padding:26px 4px 4px; }
.xp-co-head h1{ font-family:var(--xp-font-display); text-transform:uppercase; font-size:2rem; margin:0; color:var(--xp-ink); }
.xp-co-head p{ color:var(--xp-muted-2); margin:6px 0 0; font-size:14.5px; }
/* progress steps */
.xp-co-steps{ display:flex; align-items:center; margin:22px 0 6px; max-width:640px; }
.xp-co-step{ display:flex; flex-direction:column; align-items:center; gap:8px; flex:0 0 auto; }
.xp-co-step__n{ width:34px; height:34px; border-radius:50%; background:#E4E9F0; color:var(--xp-muted-2); display:flex; align-items:center; justify-content:center; font-weight:700; font-family:var(--xp-font-mono); font-size:14px; }
.xp-co-step__n--ic svg{ width:16px; height:16px; }
.xp-co-step.is-active .xp-co-step__n{ background:var(--xp-blue); color:#fff; box-shadow:0 0 0 4px rgba(47,107,255,.18); }
.xp-co-step__l{ font-size:12px; color:var(--xp-muted-2); font-weight:600; }
.xp-co-step.is-active .xp-co-step__l{ color:var(--xp-blue); }
.xp-co-stepline{ flex:1 1 auto; height:2px; background:#E4E9F0; margin:0 6px; margin-bottom:22px; }
/* order-summary card */
.wc-block-checkout__sidebar{ background:#fff !important; border:1px solid var(--xp-line-2); border-radius:16px !important; padding:26px !important; box-shadow:0 20px 50px -30px rgba(15,22,34,.35); align-self:start; }
.wc-block-components-checkout-place-order-button{ min-height:56px; border-radius:10px !important; font-size:15px !important; }
/* secure box in summary */
.xp-co-securebox{ display:flex; gap:12px; align-items:flex-start; background:#EEF3FF; border:1px solid #D3E0FF; border-radius:12px; padding:14px 16px; margin:8px 0 16px; }
.xp-co-securebox svg{ width:22px; height:22px; color:var(--xp-blue); flex:none; }
.xp-co-securebox span{ font-size:13px; color:#33456b; line-height:1.5; }
.xp-co-securebox b{ color:var(--xp-ink); }
/* accepted payments in summary */
.xp-co-accept{ text-align:center; margin-top:20px; padding-top:18px; border-top:1px solid var(--xp-line-2); }
.xp-co-accept__l{ display:block; font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--xp-muted-2); margin-bottom:12px; }
.xp-co-payicons{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.xp-co-payicons .xp-pay-badge{ width:52px; height:32px; }
.xp-co-payicons .xp-pay-badge svg{ width:52px; height:32px; }
/* bottom trust row */
.xp-co-bottomwrap{ max-width:1200px; margin:0 auto; padding:34px 16px 90px; }
.xp-co-trustrow{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.xp-co-tr{ display:flex; gap:14px; align-items:flex-start; }
.xp-co-tr__ic{ color:var(--xp-blue); flex:none; }
.xp-co-tr__ic svg{ width:30px; height:30px; }
.xp-co-tr b{ display:block; font-size:13px; text-transform:uppercase; color:var(--xp-ink); margin-bottom:4px; }
.xp-co-tr p{ font-size:12.5px; color:var(--xp-muted-2); margin:0; line-height:1.5; }
/* bottom sticky legal bar */
.xp-co-legalbar{ position:fixed; left:50%; transform:translateX(-50%); bottom:16px; z-index:900; max-width:960px; width:calc(100% - 32px);
  background:#0A0E16; color:#C4D0E0; border-radius:40px; padding:12px 26px; text-align:center; font-size:13px;
  display:flex; align-items:center; justify-content:center; gap:8px; box-shadow:0 16px 40px rgba(0,0,0,.3); }
.xp-co-legalbar svg{ width:15px; height:15px; color:var(--xp-blue-soft); }
.xp-co-legalbar a{ color:var(--xp-blue-soft); }
@media (max-width:900px){
  .xp-co-trustbar{ border-radius:16px; gap:14px 8px; }
  .xp-co-tb{ flex:1 1 45%; }
  .xp-co-trustrow{ grid-template-columns:1fr 1fr; gap:20px; }
  .xp-co-steps{ overflow-x:auto; }
}
@media (max-width:560px){
  .xp-co-trustrow{ grid-template-columns:1fr; }
  .xp-co-step__l{ font-size:10.5px; }
  .xp-co-legalbar{ font-size:11.5px; padding:11px 16px; bottom:8px; }
  .xp-fab{ bottom:70px; } /* clear the legal bar */
}

/* =========================================================================
   SIDE-CART DRAWER
   ========================================================================= */
html.xp-drawer-lock{ overflow:hidden; }
.xp-drawer-overlay{ position:fixed; inset:0; background:rgba(4,7,12,.55); opacity:0; visibility:hidden; transition:opacity .25s ease; z-index:1000; }
.xp-drawer-overlay.is-open{ opacity:1; visibility:visible; }
.xp-drawer{
  position:fixed; top:0; right:0; height:100%; width:400px; max-width:100vw; background:var(--xp-bg); color:#fff;
  display:flex; flex-direction:column; transform:translateX(100%); transition:transform .28s cubic-bezier(.4,0,.2,1);
  z-index:1001; box-shadow:-8px 0 40px rgba(0,0,0,.4);
}
.xp-drawer.is-open{ transform:translateX(0); }
.xp-drawer.is-loading{ opacity:.6; pointer-events:none; }
.xp-drawer__head{ display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid var(--xp-line); }
.xp-drawer__title{ font-family:var(--xp-font-display); font-weight:800; text-transform:uppercase; font-size:16px; letter-spacing:.02em; }
.xp-drawer__close{ background:none !important; border:none !important; color:#fff !important; font-size:26px; line-height:1; cursor:pointer; width:40px; height:40px; padding:0 !important; }
.xp-drawer__close:hover{ color:var(--xp-blue-soft) !important; }
.xp-drawer__scroll{ flex:1 1 auto; overflow-y:auto; display:flex; flex-direction:column; }
.xp-drawer__body{ display:flex; flex-direction:column; min-height:100%; }

.xp-drawer__ship{ padding:16px 20px; border-bottom:1px solid var(--xp-line); }
.xp-drawer__ship p{ margin:0 0 8px; font-size:13px; color:var(--xp-muted); }
.xp-drawer__ship strong{ color:#fff; }
.xp-drawer__ship--done{ color:#3DD68C !important; font-weight:600; }
.xp-drawer__bar{ height:6px; border-radius:4px; background:var(--xp-bg-3); overflow:hidden; }
.xp-drawer__bar span{ display:block; height:100%; background:var(--xp-blue); border-radius:4px; transition:width .3s ease; }

.xp-drawer__items{ list-style:none; margin:0; padding:6px 20px; flex:1 1 auto; }
.xp-drawer__item{ display:flex; gap:12px; padding:16px 0; border-bottom:1px solid var(--xp-line); }
.xp-drawer__thumb img{ width:64px; height:64px; object-fit:contain; background:#fff; border-radius:8px; }
.xp-drawer__meta{ flex:1 1 auto; min-width:0; }
.xp-drawer__name{ display:block; color:#fff !important; font-weight:600; font-size:14px; line-height:1.3; margin-bottom:4px; }
.xp-drawer__name:hover{ color:var(--xp-blue-soft) !important; }
.xp-drawer__price{ font-family:var(--xp-font-mono); color:var(--xp-blue-soft); font-size:14px; margin-bottom:10px; }
.xp-drawer__price .amount, .xp-drawer__price bdi{ color:var(--xp-blue-soft); }
.xp-drawer__qty{ display:flex; align-items:center; gap:0; }
.xp-drawer__qty .xp-q{ width:34px; height:34px; min-height:0; background:var(--xp-bg-3) !important; color:#fff !important; border:1px solid var(--xp-line) !important; font-size:16px; line-height:1; cursor:pointer; padding:0 !important; border-radius:0; }
.xp-drawer__qty .xp-q:first-of-type{ border-radius:7px 0 0 7px; }
.xp-drawer__qty .xp-q:hover{ background:var(--xp-blue) !important; border-color:var(--xp-blue) !important; }
.xp-drawer__qty .xp-q-val{ min-width:38px; height:34px; display:flex; align-items:center; justify-content:center; background:var(--xp-bg-2); border-top:1px solid var(--xp-line); border-bottom:1px solid var(--xp-line); font-weight:600; font-size:14px; }
.xp-drawer__qty .xp-q + .xp-q-val + .xp-q{ border-radius:0 7px 7px 0; }
.xp-drawer__remove{ margin-left:auto; background:none !important; border:none !important; color:var(--xp-muted) !important; font-size:12px; text-decoration:underline; cursor:pointer; padding:0 !important; min-height:0; text-transform:none !important; letter-spacing:0 !important; }
.xp-drawer__remove:hover{ color:var(--xp-alert) !important; }

.xp-drawer__foot{ padding:18px 20px calc(18px + env(safe-area-inset-bottom)); border-top:1px solid var(--xp-line); background:var(--xp-bg-2); position:sticky; bottom:0; }
.xp-drawer__subtotal{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:4px; }
.xp-drawer__subtotal span{ color:var(--xp-muted); font-size:14px; }
.xp-drawer__subtotal strong{ font-family:var(--xp-font-mono); font-size:18px; color:#fff; }
.xp-drawer__subtotal .amount, .xp-drawer__subtotal bdi{ color:#fff; }
.xp-drawer__note{ color:var(--xp-muted-2); font-size:11.5px; margin:0 0 12px; }
.xp-drawer__checkout{ display:flex; align-items:center; justify-content:center; width:100%; min-height:54px; background:var(--xp-blue); color:#fff !important; border-radius:8px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-size:14px; }
.xp-drawer__checkout:hover{ background:var(--xp-blue-2); color:#fff !important; }
.xp-drawer__checkout .amount, .xp-drawer__checkout bdi{ color:#fff; }
.xp-drawer__cartlink{ display:block; text-align:center; color:var(--xp-muted) !important; font-size:13px; margin-top:12px; text-decoration:underline; }
.xp-drawer__pay{ text-align:center; color:var(--xp-muted-2); font-size:11px; letter-spacing:.04em; margin-top:12px; }
.xp-drawer__empty{ text-align:center; padding:60px 24px; color:var(--xp-muted); }
.xp-drawer__empty p{ margin-bottom:20px; }

@media (max-width:480px){ .xp-drawer{ width:100vw; } }

/* =========================================================================
   CUSTOM FOOTER
   ========================================================================= */
.ct-footer{ display:none !important; } /* hide Blocksy default footer */
.xp-footer{ background:var(--xp-bg); color:var(--xp-muted); border-top:1px solid var(--xp-line); }
.xp-footer__inner{ max-width:1290px; margin:0 auto; padding:56px 24px 40px; display:grid;
  grid-template-columns:1.8fr 1fr 1fr 1fr 1fr; gap:36px; }
.xp-foot-brandlink{ text-decoration:none; }
.xp-foot-logo{ display:inline-flex; align-items:center; gap:9px; color:#fff; font-family:var(--xp-font-display); font-weight:800; font-size:20px; }
.xp-footer__brand p{ font-size:13.5px; line-height:1.6; margin:16px 0 0; max-width:320px; }
.xp-footer__ruo{ color:#8794A6 !important; font-size:12px !important; border-left:2px solid var(--xp-alert); padding-left:10px; }
.xp-footer__col h4{ color:#fff; font-family:var(--xp-font-display); font-weight:700; text-transform:uppercase; font-size:13px; letter-spacing:.05em; margin:0 0 16px; }
.xp-footer__col ul{ list-style:none; margin:0; padding:0; }
.xp-footer__col li{ margin-bottom:10px; }
.xp-footer__col a{ color:var(--xp-muted); font-size:13.5px; text-decoration:none; transition:color .15s; }
.xp-footer__col a:hover{ color:var(--xp-blue); }
.xp-footer__chev{ display:none; }
/* payment methods row */
.xp-footer__payments{ border-top:1px solid var(--xp-line); }
.xp-footer__payments{ max-width:1290px; margin:0 auto; padding:20px 24px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.xp-footer__pay-label{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--xp-muted-2); }
.xp-footer__pay-icons{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.xp-pay-badge{ display:inline-flex; align-items:center; justify-content:center; width:46px; height:29px;
  border-radius:5px; background:#fff; border:1px solid var(--xp-line); overflow:hidden; padding:0; }
.xp-pay-badge svg{ width:46px; height:29px; display:block; }
.xp-footer__bar{ border-top:1px solid var(--xp-line); }
.xp-footer__bar-inner{ max-width:1290px; margin:0 auto; padding:18px 24px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  font-size:12px; color:var(--xp-muted-2); letter-spacing:.02em; }
.xp-footer__legal-links a{ color:var(--xp-muted-2); }
.xp-footer__legal-links a:hover{ color:var(--xp-blue); }
@media (max-width:900px){ .xp-footer__inner{ grid-template-columns:1fr 1fr; gap:32px; } .xp-footer__brand{ grid-column:1 / -1; } }
@media (max-width:700px){
  /* footer accordion on mobile */
  .xp-footer__inner{ grid-template-columns:1fr; gap:0; padding:32px 20px 12px; }
  .xp-footer__brand{ margin-bottom:20px; }
  .xp-footer__col{ border-top:1px solid var(--xp-line); }
  .xp-footer__toggle{ display:flex; justify-content:space-between; align-items:center; cursor:pointer; margin:0; padding:16px 0; }
  .xp-footer__chev{ display:inline; transition:transform .2s; color:var(--xp-muted); }
  .xp-footer__col.is-open .xp-footer__chev{ transform:rotate(180deg); }
  .xp-footer__col ul{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
  .xp-footer__col.is-open ul{ max-height:400px; padding-bottom:12px; }
  .xp-footer__bar-inner{ flex-direction:column; align-items:flex-start; gap:8px; }
  .xp-footer__payments{ padding:18px 20px; }
}
.xp-pdp-trust span{ display:inline-flex; align-items:center; gap:7px; font-size:12px; font-weight:600; color:var(--xp-muted-2); text-transform:uppercase; letter-spacing:.02em; }
.xp-pdp-trust svg{ color:var(--xp-blue); flex:none; }
/* cap the product image on desktop too (was ~625x833 — far too big) */
.woocommerce div.product .woocommerce-product-gallery{ max-width:430px !important; }
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.woocommerce div.product .woocommerce-product-gallery img{ max-height:430px !important; width:auto !important; margin-left:auto !important; margin-right:auto !important; object-fit:contain; }
/* breadcrumb compact */
.woocommerce .woocommerce-breadcrumb, .ct-breadcrumbs{ font-size:11px !important; margin-bottom:12px !important; }

@media (max-width: 800px){
  /* cap the giant product image so title+price+CTA reach the first viewport */
  .woocommerce div.product .woocommerce-product-gallery{
    max-width:260px !important; margin:0 auto 8px !important;
  }
  .woocommerce div.product .woocommerce-product-gallery img{ max-height:260px !important; width:auto !important; margin:0 auto !important; }
  .woocommerce div.product .product_title{ font-size:1.35rem !important; }
  .woocommerce div.product p.price, .woocommerce div.product .price{ font-size:1.35rem !important; }
  body:not(.home) .site-main > .ct-container-full{ padding-top:12px !important; }
  .woocommerce .woocommerce-breadcrumb, .ct-breadcrumbs{ font-size:10.5px !important; margin-bottom:8px !important; }
  /* stacked, full-width CTA on mobile */
  .woocommerce div.product form.cart .ct-cart-actions{ flex-direction:column; gap:10px; }
  .woocommerce div.product form.cart .quantity,
  .woocommerce div.product form.cart .quantity input{ width:100% !important; }
  .woocommerce div.product form.cart .single_add_to_cart_button{ width:100% !important; flex:none !important; }
}

/* =========================================================================
   GENERAL mobile density (shop, sections, headings)
   ========================================================================= */
@media (max-width: 800px){
  .xp-section{ padding:44px 18px; }
  .xp-section__title{ font-size:1.5rem; }
  .xp-features__grid{ padding:26px 18px; }
  .xp-trust__grid{ padding:22px 18px; }
  .woocommerce ul.products{ gap:12px !important; }
  .woocommerce ul.products li.product{ padding:10px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title{ font-size:.9rem; }
}
/* 2-column product grid on phones (denser, like nutrition shops) */
@media (max-width: 600px){
  .woocommerce ul.products[class*="columns-"]{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:12px !important; }
  .woocommerce ul.products li.product{ width:auto !important; margin:0 !important; float:none !important; }
  .woocommerce ul.products li.product .button, .woocommerce ul.products li.product .added_to_cart{ font-size:11px !important; padding:10px 8px !important; }
}
