/* Cards on single product */
.szp-b2b-cards{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}
.szp-b2b-card{border:2px solid #0b2a84;background:#ffffff;color:#0b2a84;border-radius:16px;padding:14px 18px;cursor:pointer;min-width:140px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:transform .08s ease,box-shadow .08s ease,border-color .08s ease}
.szp-b2b-card:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(0,0,0,.06)}
.szp-b2b-card[aria-pressed="true"]{background:#FFD700;color:#0b2a84;border-color:#0b2a84;box-shadow:inset 0 0 0 1px #0b2a84}
.szp-b2b-card-title{font-weight:800;margin-bottom:6px}
.szp-b2b-card-price{font-size:1.1em;line-height:1}
@media (max-width:640px){.szp-b2b-card{width:100%}}

/* Sticky buy bar (mobile only) */
.szp-b2b-sticky{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 -6px 24px rgba(0,0,0,.08);padding:10px 14px;z-index:9999;display:none}
.szp-b2b-sticky-inner{max-width:1140px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.szp-b2b-sticky .label{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#6b7280}
.szp-b2b-sticky .sel{font-weight:900;color:#0b2a84}
.szp-b2b-sticky-buy{background:#0b2a84;color:#fff;border:0;border-radius:12px;padding:8px 14px;font-weight:700;cursor:pointer}
@media (max-width:640px){.szp-b2b-sticky{display:block}}

/* Listing chips on archive */
.szp-b2b-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.szp-chip{display:inline-flex;align-items:center;gap:6px;border:1.5px solid #0b2a84;border-radius:999px;padding:6px 10px;font-size:.8rem;background:#fff;color:#0b2a84}
.szp-chip .price{font-weight:900;letter-spacing:-.01em}

/* === SZP UI 1.2.13 additions === */
/* Show placeholder gallery by default (we don't hide it) */
.woocommerce-product-gallery--without-images{ display:block !important; }

/* Spacing so the product title doesn't meet the yellow rule */
.single-product .product .summary{ margin-top:12px; }
.single-product .product .product_title{ margin-top:6px; }

/* Hide top back if any (we only keep the bottom full-width) */
.summary .szp-back-wrap:first-of-type{ display:none !important; }

/* Bottom full-width back button */
.szp-back-wrap-below{ margin-top:10px; }
.szp-back-wide{
  display:block !important; width:100% !important; text-align:center;
  border:2px solid #0b2a84; color:#0b2a84 !important; background:#fff;
  border-radius:14px; padding:12px 16px; font-weight:700; text-decoration:none !important;
}
.szp-back-wide:hover{ background:#0b2a84; color:#fff !important; }

/* Category row style */
.product_meta .posted_in{ display:none !important; }
.szp-meta-category{ margin:6px 0 8px; font-weight:600; color:#0b2a84; }
.szp-meta-category .lbl{ opacity:.85; margin-right:6px; }
.szp-meta-category .val a{ color:#0b2a84; text-decoration:underline; text-underline-offset:2px; }

/* Remove sticky mini-bar (legacy) */
.szp-b2b-sticky{ display:none !important; }

/* === v1.2.14: match FINAL preview – hide side widgets, qty, full-width CTA, clean form === */
/* Hide all theme widgets/search on single product */
.single-product .widget,
.single-product .widget-area,
.single-product .widget-title,
.single-product .search-form,
.single-product .searchform{ display:none !important; }

/* Hide base price line if any template still prints it */
.single-product .summary .price,
.single-product .summary p.price{ display:none !important; }

/* Hide qty for clean CTA (as per preview) */
.single-product .summary .quantity{ display:none !important; }

/* Make Add to Cart full-width, bold, rounded */
.single-product .summary .single_add_to_cart_button{
  width:100% !important;
  border-radius:14px !important;
  font-weight:700 !important;
  padding:12px 16px !important;
}

/* Remove any borders/backgrounds around the cart form */
.single-product .summary form.cart{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
}

/* Keep gallery visible */
.woocommerce-product-gallery--without-images{ display:block !important; }

/* === v1.2.15: aggressively hide side widgets/menus/search on single === */
.single-product #secondary,
.single-product .sidebar,
.single-product .site-sidebar,
.single-product .widget-area,
.single-product .widget,
.single-product .widget_block,
.single-product .widget_nav_menu,
.single-product .widget_search,
.single-product .wp-block-search,
.single-product .search-form,
.single-product .searchform{ display:none !important; }

/* v1.2.16: bold unit prices; spacing for hint/back */
.szp-b2b-card-price, .szp-b2b-card-price bdi{ font-weight:800 !important; }
.szp-hint{ margin-top:6px; margin-bottom:8px; opacity:.85 }
.szp-back-wrap-below{ margin-top:8px }

/* === v1.2.17: spacing, centered hint, ensure CTA clickable, footer helpers === */
/* Push gallery and summary down from yellow rule */
.single-product .product .woocommerce-product-gallery{ margin-top:14px; }
.single-product .product .summary{ margin-top:16px; }
.single-product .product .product_title{ margin-top:10px; }

/* Center the info line and make it subtler */
.szp-hint{
  text-align:center;
  font-size:12.5px;
  line-height:1.35;
  color:#5b6b87;
  margin-top:8px; margin-bottom:10px;
}

/* Keep order: CTA (full width) -> hint -> back (full width) already set */
/* Ensure Add to Cart is always clickable (no overlay) */
.single-product .summary .cart{ position:relative; z-index:1; }
.szp-b2b-cards, .szp-back-wrap-below, .szp-hint{ position:relative; z-index:0; }
.single-product .summary .single_add_to_cart_button{ position:relative; z-index:3; pointer-events:auto; }

/* Footer helpers (non-invasive) — center site info if theme exposes .site-info */
.site-info, footer .site-info{ text-align:center; }

/* === v1.2.18: CTA hover yellow, equal dimensions, extra spacing, footer center === */
/* Colors */
:root{ --szp-blue:#0b2a84; --szp-yellow:#ffd21e; }

/* Equal dimensions for CTA & Back (width/height/radius) */
.single-product .summary .single_add_to_cart_button,
.szp-back-wide{
  width:100% !important;
  border-radius:14px !important;
  padding:12px 16px !important;
  min-height:44px !important;
  line-height:1.2 !important;
}

/* CTA base + hover/active/focus states */
.single-product .summary .single_add_to_cart_button{
  background:var(--szp-blue) !important;
  color:#fff !important;
  border:0 !important;
  transition:all .15s ease-in-out;
}
.single-product .summary .single_add_to_cart_button:hover,
.single-product .summary .single_add_to_cart_button:focus,
.single-product .summary .single_add_to_cart_button:active{
  background:var(--szp-yellow) !important;
  color:var(--szp-blue) !important;
  box-shadow:0 0 0 2px var(--szp-blue) inset;
}

/* Keep Back invert look */
.szp-back-wide{ border:2px solid var(--szp-blue); background:#fff; color:var(--szp-blue) !important; }
.szp-back-wide:hover{ background:var(--szp-blue); color:#fff !important; }

/* Push media/title/summary further below yellow rule */
.single-product .product .woocommerce-product-gallery{ margin-top:24px; }
.single-product .product .summary{ margin-top:28px; }
.single-product .product .product_title{ margin-top:12px; }

/* Footer copyright center helper */
.site-info, .footer-copyright, .footer .copyright, footer .site-info{ text-align:center; }

/* === v1.2.19: lower media/title, bigger price, balanced info spacing, sticky footer === */
/* Lower image and summary a bit more below yellow line */
.single-product .product .woocommerce-product-gallery{ margin-top:34px; }
.single-product .product .summary{ margin-top:36px; }
.single-product .product .product_title{ margin-top:14px; }

/* Bigger unit price (amount + currency) in cards */
.szp-b2b-card-price bdi{ font-size:18px !important; font-weight:800 !important; }
.szp-b2b-card-price .woocommerce-Price-currencySymbol{ font-size:18px !important; font-weight:800 !important; }

/* Balanced vertical spacing for Info line */
.szp-hint{ margin-top:12px; margin-bottom:12px; text-align:center; font-size:12.5px; color:#5b6b87; }

/* Sticky footer to bottom (no overlap, flex layout) */
body.single-product{ min-height:100vh; display:flex; flex-direction:column; }
body.single-product #page, body.single-product .site, body.single-product .site-container{ display:flex; flex-direction:column; min-height:100vh; }
body.single-product .site-content, body.single-product #content, body.single-product .content-area{ flex:1 0 auto; }
body.single-product footer, body.single-product .site-footer{ margin-top:auto; }
body.single-product .site-info{ text-align:center; }

/* === v1.2.20: Brand row + short description styling === */
.szp-meta-brand{ margin:6px 0 6px; font-weight:600; color:#0b2a84; }
.szp-meta-brand .lbl{ opacity:.85; margin-right:6px; }
.szp-meta-brand .val a{ color:#0b2a84; text-decoration:underline; text-underline-offset:2px; }
.szp-short-desc{ margin:8px 0 12px; color:#445; font-size:14px; line-height:1.45; }
.szp-short-desc p{ margin:0 0 6px; }

/* === v1.2.21: stronger info centering === */
.szp-hint{ display:flex; align-items:center; justify-content:center; text-align:center; }
.szp-hint:before, .szp-hint:after{ content:''; }

/* === v1.2.22: hide duplicate brand badges; stronger info alignment === */
/* Hide common brand plugin outputs (keep our .szp-meta-brand) */
.pwb-single-product-brands,
.yith-wcb-brand,
.woocommerce-product-brand,
.product-brand,
.single-product .summary .brand,
.single-product .summary .brands{ display:none !important; }

/* Ensure info line is full width & centered between buttons */
.szp-hint{
  width:100% !important;
  display:flex; align-items:center; justify-content:center;
  margin-top:10px; margin-bottom:10px;
  text-align:center;
}
