@import  "https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap";

/* ═══ ESA Sales Page Styles ═══ */
.sp-wrap { max-width: 100%; margin: 0 auto; font-family: 'Roboto', sans-serif; color: #fff; background: #080810; }
.sp-wrap * { box-sizing: border-box; }
.sp-hero { text-align: center; padding: 80px 32px 60px; background: linear-gradient(180deg,rgba(46,163,242,0.08) 0%,transparent 60%); position: relative; }
.sp-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(46,163,242,0.3),transparent); }
.sp-tag { font-family: 'Oswald', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 18px; }
.sp-tag--green { color: #2ECC71; }
.sp-tag--blue { color: #2EA3F2; }
.sp-tag--orange { color: #E8A020; }
.sp-hero h1 { font-family: 'Oswald', sans-serif; font-size: clamp(32px,5vw,56px); font-weight: 700; line-height: 1.1; margin-bottom: 12px; color: #fff; }
.sp-hero .sp-sub { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.sp-hero .sp-desc { font-size: 14px; color: rgba(255,255,255,0.65); max-width: 600px; margin: 0 auto 28px; line-height: 1.65; }
.sp-price { font-family: 'Oswald', sans-serif; font-size: clamp(42px,6vw,64px); font-weight: 700; line-height: 1; margin-bottom: 6px; }
.sp-price--green { color: #2ECC71; }
.sp-price--blue { color: #2EA3F2; }
.sp-price--orange { color: #E8A020; }
.sp-meta { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 32px; }
.sp-features { padding: 60px 32px; background: #0c0c0f; }
.sp-features h2 { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; margin-bottom: 24px; text-align: center; color: #fff; }
.sp-features h3 { font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin: 28px auto 14px; text-align: center; }
.sp-features ul { list-style: none; padding: 0; max-width: 600px; margin: 0 auto; }
.sp-features li { font-size: 15px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: flex-start; gap: 12px; color: #fff; }
.sp-features li:last-child { border-bottom: none; }
.sp-check--green { color: #2ECC71; flex-shrink: 0; }
.sp-check--blue { color: #2EA3F2; flex-shrink: 0; }
.sp-check--orange { color: #E8A020; flex-shrink: 0; }
.sp-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,0.06); margin: 0; }
.sp-stat { background: #0c0c0f; text-align: center; padding: 32px 16px; }
.sp-stat-num { font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 700; color: #2EA3F2; margin-bottom: 4px; }
.sp-stat-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.sp-details { padding: 60px 48px; background: #0c0c0f; }
.sp-details h2 { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; margin-bottom: 24px; text-align: center; color: #fff; }
.sp-desc { padding: 60px 48px; background: #080810; }
.sp-desc h2 { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; margin-bottom: 20px; text-align: center; color: #fff; }
.sp-desc p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.sp-buy { text-align: center; padding: 60px 32px; background: #080810; }
.sp-buy h2 { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 600; margin-bottom: 20px; color: #fff; }
.sp-cta { text-align: center; padding: 60px 32px; background: linear-gradient(180deg,transparent 0%,rgba(46,163,242,0.06) 100%); border-top: 1px solid rgba(46,163,242,0.1); }
.sp-cta h2 { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; margin-bottom: 10px; color: #fff; }
.sp-cta p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.sp-paypal { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: rgba(0,112,186,0.08); border: 1px solid rgba(0,112,186,0.2); margin-bottom: 24px; font-size: 12px; color: #fff; }
.sp-paypal strong { color: #179BD7; }
.sp-badge { display: inline-block; font-family: 'Oswald', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; padding: 5px 14px; background: #2EA3F2; color: #080810; margin-bottom: 18px; }
@media(max-width:640px) {
	.sp-stats { grid-template-columns: repeat(2,1fr); }
	.sp-hero { padding: 50px 20px 40px; }
	.sp-features { padding: 40px 20px; }
	.sp-buy { padding: 40px 20px; }
}

/* ═══ Dark Theme — Single Product Pages ═══ */
.single-product { background: #0c0c0f !important; }
.single-product .site-content { background: #0c0c0f; }
.single-product #primary, .single-product #main { background: #0c0c0f; }
.single-product .woocommerce-breadcrumb { color: rgba(255,255,255,0.4); }
.single-product .woocommerce-breadcrumb a { color: #2EA3F2; }
.single-product .product .summary .product_title { color: #fff; font-family: 'Oswald', sans-serif; }
.single-product .product .summary .price { color: #2EA3F2 !important; }
.single-product .product .summary .price .woocommerce-Price-amount { color: #2EA3F2 !important; }
.single-product .product .summary .woocommerce-product-details__short-description,
.single-product .product .summary .woocommerce-product-details__short-description p { color: rgba(255,255,255,0.7); }
.single-product .product .summary .quantity .qty { background: #1c1c28; color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.single-product .product .summary .single_add_to_cart_button { background: #2EA3F2 !important; color: #fff !important; border: none; font-family: 'Oswald', sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.single-product .product .summary .single_add_to_cart_button:hover { background: #1a87d4 !important; }
.single-product .product .summary .product_meta { color: rgba(255,255,255,0.5); }
.single-product .product .summary .product_meta a { color: #2EA3F2; }
.single-product .woocommerce-tabs { background: #0c0c0f; }
.single-product .woocommerce-tabs ul.tabs { background: #0c0c0f !important; border-bottom-color: rgba(255,255,255,0.1); }
.single-product .woocommerce-tabs ul.tabs::before { border-bottom-color: rgba(255,255,255,0.1); }
.single-product .woocommerce-tabs ul.tabs li { background: #1c1c28 !important; border-color: rgba(255,255,255,0.1) !important; border-radius: 0; }
.single-product .woocommerce-tabs ul.tabs li a { color: rgba(255,255,255,0.6); }
.single-product .woocommerce-tabs ul.tabs li.active { background: #0c0c0f !important; border-bottom-color: #0c0c0f !important; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.single-product .woocommerce-tabs ul.tabs li::before, .single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.single-product .woocommerce-tabs .panel { background: #0c0c0f; color: rgba(255,255,255,0.7); }
.single-product .woocommerce-tabs .panel h2 { color: #fff; font-family: 'Oswald', sans-serif; }
.single-product section.related { background: #0c0c0f; }
.single-product section.related > h2 { color: #fff; font-family: 'Oswald', sans-serif; }
.single-product section.related .products .product h2,
.single-product section.related .products .product .woocommerce-loop-product__title { color: #fff; }
.single-product section.related .products .product .price { color: rgba(255,255,255,0.6) !important; }
.single-product section.related .products .product .button { background: #1c1c28; color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.single-product section.related .products .product .button:hover { background: #2EA3F2; border-color: #2EA3F2; }
.single-product .site-footer { background: #080810; color: rgba(255,255,255,0.4); }
.single-product .site-footer a { color: rgba(255,255,255,0.5); }
.single-product .site-footer .site-info { border-top-color: rgba(255,255,255,0.06); }
.single-product .woocommerce-store-notice, .single-product .demo_store { background: #2EA3F2; }
.single-product .product .summary .gpay-button-container { border-color: rgba(255,255,255,0.1); }
.single-product .woocommerce-product-gallery { background: transparent; }
.single-product .storefront-sticky-add-to-cart { background: #13131a !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
.single-product .storefront-sticky-add-to-cart__content-title { color: rgba(255,255,255,0.7); }
.single-product .storefront-sticky-add-to-cart__content-price { color: rgba(255,255,255,0.5); }
.single-product .storefront-sticky-add-to-cart__content-button { background: #2EA3F2 !important; color: #fff !important; }
.single-product .star-rating span::before { color: #E8A020; }

/* ── Variation Selector ── */
.single-product .variations { margin-bottom: 20px; }
.single-product .variations td.label label { color: #ccc !important; font-family: 'Oswald', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.single-product .variations td.value select { background: #12121c !important; color: #fff !important; border: 1px solid #333 !important; border-radius: 4px !important; padding: 10px 14px !important; font-size: 15px !important; width: 100% !important; appearance: auto; -webkit-appearance: auto; }
.single-product .variations td.value select:focus { border-color: #2EA3F2 !important; outline: none !important; }
.single-product .variations td.value select option { background: #12121c; color: #fff; }
.single-product .variations .reset_variations { color: #2EA3F2 !important; font-size: 12px; }
.single-product .woocommerce-variation-availability p { color: #2EA3F2 !important; font-size: 13px; }
.single-product .woocommerce-variation-price .price { color: #2EA3F2 !important; font-size: 28px !important; font-family: 'Oswald', sans-serif !important; }
.single-product .woocommerce-variation-description p { color: #aab !important; font-size: 14px; }

/* ── Classes Category Page — Dark Theme ── */
.tax-product_cat.term-education body, body.tax-product_cat.term-education { background: #0c0c0f !important; color: #ccc !important; }
.tax-product_cat.term-education .site-header, .tax-product_cat.term-education .storefront-breadcrumb { background: #0c0c0f !important; }
.tax-product_cat.term-education .woocommerce-breadcrumb { color: #666 !important; }
.tax-product_cat.term-education .woocommerce-breadcrumb a { color: #2EA3F2 !important; }
.tax-product_cat.term-education .page-title, .tax-product_cat.term-education .woocommerce-products-header__title { color: #fff !important; font-family: 'Oswald', sans-serif !important; }
.tax-product_cat.term-education .term-description p { color: #aab !important; }
.tax-product_cat.term-education ul.products li.product { background: #12121c !important; border-radius: 8px; padding: 20px !important; border: 1px solid #1e1e2e; }
.tax-product_cat.term-education ul.products li.product .woocommerce-loop-product__title { color: #fff !important; font-family: 'Oswald', sans-serif !important; }
.tax-product_cat.term-education ul.products li.product .price { color: #2EA3F2 !important; font-family: 'Oswald', sans-serif !important; font-size: 22px !important; }
.tax-product_cat.term-education ul.products li.product .button { background: #2EA3F2 !important; color: #fff !important; font-family: 'Oswald', sans-serif !important; text-transform: uppercase; letter-spacing: 1px; border: none !important; border-radius: 4px !important; }
.tax-product_cat.term-education ul.products li.product .button:hover { background: #1b8ad8 !important; }
.tax-product_cat.term-education .site-footer { background: #0a0a0d !important; color: #666 !important; }
.tax-product_cat.term-education .site-info { color: #444 !important; }
.tax-product_cat.term-education .site-info a { color: #666 !important; }
.tax-product_cat.term-education .storefront-sorting { color: #999 !important; }
.tax-product_cat.term-education .storefront-sorting select { background: #12121c !important; color: #fff !important; border: 1px solid #333 !important; }

/* ── Custom Breadcrumb (Home → IMI Certification) ── */
.single-product .woocommerce-breadcrumb a[href="/"],
.single-product .woocommerce-breadcrumb a[href="https://evsafety.shop/"],
.single-product .woocommerce-breadcrumb a[href="https://evsafety.shop"] { font-size: 0 !important; }
.single-product .woocommerce-breadcrumb a[href="/"]::after,
.single-product .woocommerce-breadcrumb a[href="https://evsafety.shop/"]::after,
.single-product .woocommerce-breadcrumb a[href="https://evsafety.shop"]::after { content: "IMI Certification"; font-size: 14px; color: #2EA3F2; }
.tax-product_cat .woocommerce-breadcrumb a[href="/"],
.tax-product_cat .woocommerce-breadcrumb a[href="https://evsafety.shop/"],
.tax-product_cat .woocommerce-breadcrumb a[href="https://evsafety.shop"] { font-size: 0 !important; }
.tax-product_cat .woocommerce-breadcrumb a[href="/"]::after,
.tax-product_cat .woocommerce-breadcrumb a[href="https://evsafety.shop/"]::after,
.tax-product_cat .woocommerce-breadcrumb a[href="https://evsafety.shop"]::after { content: "IMI Certification"; font-size: 14px; color: #2EA3F2; }

/* ── Classes Category Page — Hide default H1 ── */
.tax-product_cat.term-education .woocommerce-products-header__title,
.tax-product_cat.term-education .page-title { display: none !important; }
.tax-product_cat.term-education .term-description { padding: 0 !important; margin: 0 !important; }

/* ═══════════════════════════════════════════════════════ */
/* ── Single Product Page — Landing-Page-Style Add to Cart ── */
.single-product .product .summary .single_add_to_cart_button,
.single-product .product .summary .single_add_to_cart_button.wc-variation-selection-needed,
.single-product .product .summary .single_add_to_cart_button.disabled,
.single-product .product .summary .single_add_to_cart_button[disabled],
.single-product form.cart button.single_add_to_cart_button {
  background: #2EA3F2 !important; color: #0c0c0f !important; opacity: 1 !important;
  border: none !important; font-family: 'Oswald', sans-serif !important;
  font-size: 14px !important; font-weight: 600 !important; letter-spacing: 2px !important;
  text-transform: uppercase !important; padding: 18px 52px !important;
  border-radius: 0 !important; position: relative !important; overflow: visible !important;
  text-shadow: none !important; box-shadow: 0 4px 14px rgba(46,163,242,0.15);
  transition: background 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1) !important;
  cursor: pointer;
}
.single-product .product .summary .single_add_to_cart_button.wc-variation-selection-needed,
.single-product .product .summary .single_add_to_cart_button.disabled,
.single-product .product .summary .single_add_to_cart_button[disabled] { cursor: not-allowed; }
.single-product .product .summary .single_add_to_cart_button:hover:not(.disabled):not(.wc-variation-selection-needed):not([disabled]),
.single-product form.cart button.single_add_to_cart_button:hover:not(.disabled):not(.wc-variation-selection-needed):not([disabled]) {
  background: #5cbcf5 !important; color: #0c0c0f !important; transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(46,163,242,0.4), 0 0 20px rgba(255,255,255,0.15) !important;
}

/* ── Body text readability on dark ── */
.single-product .product .summary .woocommerce-product-details__short-description,
.single-product .product .summary .woocommerce-product-details__short-description p {
  color: #ffffff !important; font-size: 16px !important; line-height: 1.65 !important;
}
.single-product .product .summary .product_meta { color: #ddd !important; font-size: 13px !important; }
.single-product .product .summary .product_meta a { color: #2EA3F2 !important; }

/* ── PayPal credit message ── */
.single-product .ppc-button-wrapper .ppc-message,
.single-product .pp-msg, .single-product .pp-message,
.single-product .summary div[data-pp-message],
.single-product .summary .paypal-installment-message,
.single-product .summary .ppcp-messages,
.single-product .summary [data-pp-style-text-color="black"],
.single-product .summary [data-pp-style-text-color="grey"] { color: #fff !important; }
.single-product .summary .ppcp-messages a,
.single-product .summary [data-pp-message] a,
.single-product .ppc-button-wrapper .ppc-message a { color: #2EA3F2 !important; }

/* ── Quantity input ── */
.single-product .product .summary .quantity .qty {
  background: #1c1c28 !important; color: #fff !important;
  border: 1px solid #2EA3F2 !important; font-family: 'Oswald', sans-serif !important;
  font-size: 18px !important; font-weight: 600 !important; padding: 14px !important; text-align: center;
}

/* ── Hide "Additional information" tab everywhere ── */
.single-product .woocommerce-tabs ul.tabs li.additional_information_tab,
.single-product .woocommerce-tabs ul.tabs li.product_tab_additional_information,
.single-product .woocommerce-tabs ul.tabs li[aria-controls="tab-additional_information"],
.single-product #tab-additional_information { display: none !important; }

/* ═══════════════════════════════════════════════════════ */
/* ── NEW IMI Combined Product (postid 1180) — Hide lone tab nav + redundant h2
   (no viewport breakout — that overflowed the layout) ── */
body.single-product.postid-1180 .woocommerce-tabs ul.tabs { display: none !important; }
body.single-product.postid-1180 .woocommerce-tabs .panel > h2:first-child { display: none !important; }
body.single-product.postid-1180 .woocommerce-tabs { padding-top: 32px !important; }
body.single-product.postid-1180 .woocommerce-tabs .panel { padding: 0 !important; max-width: none !important; width: 100% !important; }

/* ── Variations attribute label (Class) - force white, fixes th.label ── */
.single-product .variations .label label,
.single-product .variations th.label label,
.single-product .variations td.label label,
.single-product table.variations label {
  color: #ffffff !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}
