/*
Theme Name: ADVapes Kadence Child
Theme URI: https://www.advapes.co.za
Description: Child theme for ADVapes.co.za. Custom CSS added below loads after everything else and survives all Kadence parent updates.
Author: ADVapes
Template: kadence
Version: 1.0.0
*/

/* ============================================================ */
/*  ADD CUSTOM CSS BELOW THIS LINE                              */
/*  Anything here loads LAST, so it wins over theme defaults.   */
/* ============================================================ */

/* ============================================= */
/* Footer bottom bar: white strip like live site  */
/* one row: (c) | 4.9 reviews | payment icons     */
/* ============================================= */
html #colophon .site-bottom-footer-wrap,
html[data-adv-theme="dark"] #colophon .site-bottom-footer-wrap,
html[data-adv-theme="light"] #colophon .site-bottom-footer-wrap{background:#ffffff !important;border-top:1px solid #e8e8ec !important}
#colophon .site-bottom-footer-wrap .site-bottom-footer-inner-wrap{padding:12px 0 !important}
#colophon .site-bottom-footer-wrap .site-container{max-width:1620px !important;width:100% !important;padding-left:24px !important;padding-right:24px !important}
#colophon .site-bottom-footer-wrap .site-footer-bottom-section-1, #colophon .site-bottom-footer-wrap .footer-widget-area, #colophon .site-bottom-footer-wrap .footer-widget-area-inner, #colophon .site-bottom-footer-wrap .footer-html, #colophon .site-bottom-footer-wrap .site-bottom-footer-inner-wrap{width:100% !important;max-width:100% !important;grid-template-columns:1fr !important;display:block !important}
#colophon .site-bottom-footer-wrap, #colophon .site-bottom-footer-wrap span, #colophon .site-bottom-footer-wrap strong, #colophon .site-bottom-footer-wrap div, #colophon .site-bottom-footer-wrap a, #colophon .site-bottom-footer-wrap b{color:#c9c9c9 !important}
#colophon .site-bottom-footer-wrap a:hover{color:#e72424 !important}
#colophon .site-bottom-footer-wrap .advk-stars{color:#f5a623 !important}
#colophon .site-bottom-footer-wrap .footer-html-inner{display:flex !important;align-items:center !important;flex-wrap:wrap !important;gap:8px 10px !important;justify-content:center !important}
#colophon .site-bottom-footer-wrap .footer-html-inner br{display:none !important}
#colophon .site-bottom-footer-wrap .advk-fbottom{width:auto !important;max-width:none !important;flex:1 1 auto !important;display:flex !important;align-items:center !important;flex-wrap:wrap !important;gap:8px 10px !important;margin:0 !important;padding:0 !important}
#colophon .site-bottom-footer-wrap .advk-fbottom > span:first-of-type{color:#e72424 !important;font-weight:600 !important}
#colophon .site-bottom-footer-wrap .advk-pay{order:3 !important;margin:0 !important;padding:0 !important;display:flex !important;flex-wrap:wrap !important;align-items:center !important;gap:4px !important;justify-content:flex-end !important}
#colophon .site-bottom-footer-wrap .advk-pay img{height:17px !important;width:auto !important;margin:0 !important;padding:2px 4px !important}
@media(min-width:768px){
#colophon .site-bottom-footer-wrap .footer-html-inner{justify-content:flex-start !important}
#colophon .site-bottom-footer-wrap .advk-fbottom > span:first-of-type{margin-right:auto !important}
#colophon .site-bottom-footer-wrap .advk-pay{margin-left:auto !important;max-width:55% !important;width:auto !important;flex:0 1 auto !important}
}
@media(max-width:767px){
#colophon .site-bottom-footer-wrap .footer-html-inner{flex-direction:column !important;text-align:center !important;gap:8px !important}
#colophon .site-bottom-footer-wrap .advk-pay{justify-content:center !important}
#colophon .site-bottom-footer-wrap .advk-fbottom{flex-direction:column !important;justify-content:center !important;text-align:center !important}
}

/* Shop bar: no load glitch (fades in once settled) */
.advk-shopbar{opacity:0;transition:opacity .18s ease;animation:advkSbSafety .3s ease 2.2s forwards;}
@keyframes advkSbSafety{to{opacity:1;visibility:visible;}}
.advk-shopbar.advk-ready{opacity:1 !important;visibility:visible !important;animation:none !important;}
@media(min-width:1024px){.advk-shopbar{min-height:54px;}}
@media(max-width:1023px){.advk-shopbar{min-height:46px;}}


/* ============================================= */
/* Final contrast polish (go-live audit)          */
/* ============================================= */
:is(#advk,body) #colophon .site-bottom-footer-wrap :is(a,span,strong,b,p,div){color:#c9c9c9 !important}
:is(#advk,body) #colophon .site-bottom-footer-wrap a:hover{color:#e72424 !important}
:is(#advk,body) #colophon .site-bottom-footer-wrap .advk-fbottom > span:first-of-type{color:#c31d1d !important;font-weight:600 !important}
:is(#advk,body) #colophon .site-bottom-footer-wrap .advk-stars{color:#c47d00 !important}
html:not([data-adv-theme="light"]) :is(#advk,body) :is(.price,.price bdi,.woocommerce-Price-amount,.woocommerce-Price-amount bdi,.an-ck-amt,.advk-eyebrow,p.stock.out-of-stock,.product_meta a,a.shipping-calculator-button,.woocommerce-terms-and-conditions-link,.an-gl-meta strong){color:#ff5252 !important}
html:not([data-adv-theme="light"]) :is(#advk,body) del :is(.woocommerce-Price-amount,.woocommerce-Price-amount bdi){color:#9a9aa2 !important}
html:not([data-adv-theme="light"]) :is(#advk,body) .advk-gstars{color:#ffb238 !important}
html[data-adv-theme="light"] :is(#advk,body) :is(.advk-gstars,.advk-review__stars){color:#c47d00 !important}
.advk-ct-btn{font-size:19px !important;font-weight:700 !important}
.advk-ct-btn[href*="wa.me"], .advk-ct-btn[href*="whatsapp"]{background:#1da851 !important}

/* ---- CLS fix: reserve hero + brand-strip space on phones (mobile PSI layout-shift) ---- */
@media(max-width:767px){
.advk-fast{min-height:310px}
.advk-brandsmq, .advk-brands{min-height:150px}
}

/* ===================== ADVK A11Y CONTRAST FIXES ===================== */
html:not([data-adv-theme="light"]) :is(#advk,body) :is(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],input[type=search],input[type=url],textarea,select):not(#wpadminbar input):not(.dgwt-wcas-search-input){background-color:#141418!important;color:#f2f2f2!important;border:1px solid #3a3a42!important}
html:not([data-adv-theme="light"]) :is(#advk,body) :is(input,textarea)::placeholder{color:#9a9aa2!important;opacity:1!important}
html:not([data-adv-theme="light"]) :is(#advk,body) :is(input,textarea,select):focus:not(#wpadminbar input){border-color:#c8102e!important;outline:2px solid #c8102e!important;outline-offset:1px}
html:not([data-adv-theme="light"]) :is(#advk,body) :is(form.register,form.login,.woocommerce-form,.woocommerce,.order_track_form,.track-order-section) label{color:#e6e6e6!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .search-toggle-open,html:not([data-adv-theme="light"]) :is(#advk,body) .search-toggle-open .kadence-svg-iconset{color:#ffffff!important;fill:#ffffff!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .advk-faq__a a,html:not([data-adv-theme="light"]) :is(#advk,body) .advk-ct-links a,html:not([data-adv-theme="light"]) :is(#advk,body) .advk-box > p a,html:not([data-adv-theme="light"]) :is(#advk,body) .advk-box p a:not(.advk-btn):not(.advk-ct-btn):not(.button):not(.checkout-button){color:#ff6b6b!important;text-decoration:underline}
html:not([data-adv-theme="light"]) :is(#advk,body) .woocommerce-LostPassword a{color:#ff6b6b!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .advk-fbottom > span{color:#d0d0d0!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .advk-ico{color:#ff6b6b!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .advk-gpill{background:#141418!important;border:1px solid #3a3a42!important;color:#f2f2f2!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .advk-gpill b,html:not([data-adv-theme="light"]) :is(#advk,body) .advk-gpill span{color:#f2f2f2!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .advk-gstars{color:#ffc107!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .advk-btn.advk-btn--primary,html:not([data-adv-theme="light"]) :is(#advk,body) ul.products li.product .button,html:not([data-adv-theme="light"]) :is(#advk,body) ul.products li.product a.add_to_cart_button{background-color:#c8102e!important;border-color:#c8102e!important;color:#ffffff!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .advk-btn.advk-btn--primary:hover{background-color:#a60d26!important;border-color:#a60d26!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .site-bottom-footer-wrap{background:#0b0b0b!important;border-top:1px solid #26262c!important}
/* ===================== END ADVK A11Y CONTRAST FIXES ===================== */

/* ADVK TRACK FORM + generic dark form safety */
html:not([data-adv-theme="light"]) :is(#advk,body) :is(.track-order-section,.order_track_form,.search_order_form,.tracking_form) :is(input,select,textarea){background-color:#141418!important;color:#f2f2f2!important;border:1px solid #3a3a42!important}
html:not([data-adv-theme="light"]) :is(#advk,body) :is(.track-order-section,.order_track_form) label{color:#e6e6e6!important}
#wpadminbar input,#wpadminbar textarea,#wpadminbar select{background-color:initial!important;color:initial!important}

/* ===== ADVK CLS RESERVATIONS — reserve space so nothing jumps while loading ===== */
ul.products li.product a img,ul.products li.product-category a img,ul.products li.product .attachment-woocommerce_thumbnail{aspect-ratio:1/1;height:auto!important;width:100%!important;display:block}
.advk-brandsmq{min-height:155px}
.advk-brandsmq .advk-marq,.advk-brandsmq .advk-marq-track{min-height:96px}
.advk-brandstrip{min-height:110px}
.advk-mq-item img{width:110px;height:110px;object-fit:contain;display:block}
.advk-fast.advk-bleed{min-height:600px}
@media (max-width:1024px){.advk-fast.advk-bleed{min-height:420px}}
@media (max-width:600px){.advk-fast.advk-bleed{min-height:340px}}
.advk-reviews__grid{min-height:1px}
.advk-gpill{min-height:44px}
/* ===== END ADVK CLS RESERVATIONS ===== */

/* ===== ADVK A11Y ROUND 2 ===== */
html body[class][class][class] :is(.menu-toggle-open,.search-toggle-open),html body[class][class][class] :is(.menu-toggle-open,.search-toggle-open) svg{color:#ffffff!important;fill:currentColor!important}
html:not([data-adv-theme="light"]) :is(#advk,body) :is(.track-order-section,.order_track_form,.tracking_form) :is(span,p,small,em){color:#b9b9c2!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .woocommerce-pagination :is(a,span).page-numbers{color:#f2f2f2!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .woocommerce-pagination .page-numbers.current{background:#c8102e!important;color:#ffffff!important}
/* ===== END ADVK A11Y ROUND 2 ===== */

/* ===== ADVK WOO LINK SAFETY ===== */
html:not([data-adv-theme="light"]) :is(#advk,body) .woocommerce :is(a.button,button.button,.checkout-button,.wc-block-components-button,input[type=submit]){color:#ffffff!important;text-decoration:none!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .woocommerce a:not(.button):not(.checkout-button){text-decoration:none}
html:not([data-adv-theme="light"]) :is(#advk,body) .woocommerce a:not(.button):not(.checkout-button):hover{text-decoration:underline}
html:not([data-adv-theme="light"]) :is(#advk,body) .cart_totals a,html:not([data-adv-theme="light"]) :is(#advk,body) .woocommerce-cart-form a.remove{color:#f2f2f2!important}
html:not([data-adv-theme="light"]) :is(#advk,body) .woocommerce-cart-form td.product-name a{color:#f2f2f2!important}
/* ===== END ADVK WOO LINK SAFETY ===== */

/* ===== ADVK MOBILE CARD GRID + CENTERING ===== */
@media (max-width:1024px){
  ul.products li.product{padding-left:0!important;padding-right:0!important;overflow:hidden}
  ul.products li.product > *{max-width:100%!important;box-sizing:border-box}
  ul.products li.product .woocommerce-loop-image-link,ul.products li.product .woocommerce-loop-image-link img,ul.products li.product img{width:100%!important;max-width:100%!important;height:auto!important;display:block!important;margin-left:auto!important;margin-right:auto!important}
  ul.products li.product .product-details,ul.products li.product .product-details.content-bg{width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:8px!important;padding-right:8px!important;text-align:center!important;align-items:center!important}
  ul.products li.product :is(.woocommerce-loop-product__title,.woocommerce-loop-category__title,.price,.count,h2,h3){text-align:center!important;width:100%!important;margin-left:auto!important;margin-right:auto!important}
  ul.products li.product :is(.button,.add_to_cart_button,.added_to_cart){display:block!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
  ul.products li.product .woocommerce-loop-product__title{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis}
}
@media (max-width:600px){
  .advk-shop ul.products,.advk-shop ul.products.adv-list-view,.woocommerce ul.products.grid-cols{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .advk-cats ul.products,.advk-cats ul.products.adv-list-view{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:601px) and (max-width:1024px){
  .advk-shop ul.products,.advk-shop ul.products.adv-list-view,.woocommerce ul.products.grid-cols{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .advk-cats ul.products,.advk-cats ul.products.adv-list-view{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
/* ===== END ADVK MOBILE CARD GRID + CENTERING ===== */

/* ===== ADVK MOBILE GRID OVERRIDE ===== */
@media (max-width:600px){
 html body ul.products.grid-cols:not(.adv-list-view),
 html body .advk-shop ul.products.grid-cols:not(.adv-list-view),
 html body .advk-cats ul.products.grid-cols:not(.adv-list-view),
 html body .woocommerce ul.products.grid-cols:not(.adv-list-view){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:601px) and (max-width:1024px){
 html body ul.products.grid-cols:not(.adv-list-view),
 html body .advk-shop ul.products.grid-cols:not(.adv-list-view),
 html body .advk-cats ul.products.grid-cols:not(.adv-list-view),
 html body .woocommerce ul.products.grid-cols:not(.adv-list-view){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
/* ===== END ADVK MOBILE GRID OVERRIDE ===== */

/* ===== ADVK MOBILE GRID FINAL ===== */
@media (max-width:600px){ :is(#advk,body) ul.products.grid-cols.grid-cols.grid-cols:not(.adv-list-view):not(.advk-never){grid-template-columns:repeat(2,minmax(0,1fr))!important} }
@media (min-width:601px) and (max-width:1024px){ :is(#advk,body) ul.products.grid-cols.grid-cols.grid-cols:not(.adv-list-view):not(.advk-never){grid-template-columns:repeat(3,minmax(0,1fr))!important} }
/* ===== END ADVK MOBILE GRID FINAL ===== */

/* ===== ADVK MOBILE WIDTH RECLAIM ===== */
@media (max-width:767px){
  :is(#advk,body) .advk-sec.advk-bleed{padding-left:10px!important;padding-right:10px!important}
  :is(#advk,body) .advk-box{padding-left:0!important;padding-right:0!important}
  :is(#advk,body) .advk-faq,:is(#advk,body) .advk-box.advk-faq{padding-left:6px!important;padding-right:6px!important}
  :is(#advk,body) ul.products{margin-left:0!important;margin-right:0!important}
}
/*       END ADVK MOBILE WIDTH RECLAIM       */

/* ===== ADVK PDP PRICE CARD SEAM ===== */
:is(#advk,body).single-product .entry-summary p.price:has(~ p.stock){margin-bottom:0!important;padding-bottom:10px!important}
:is(#advk,body).single-product .entry-summary p.stock{margin-top:0!important;padding-top:0!important}
/*       END ADVK PDP PRICE CARD SEAM       */

/* ===== ADVK MOBILE CARD TYPE ===== */
@media (max-width:600px){
  :is(#advk,body) ul.products.products.products:not(.adv-list-view) li.product.product :is(.woocommerce-loop-product__title,.woocommerce-LoopProduct-link-title,h2,h3){font-size:12.5px!important;line-height:1.35!important}
  :is(#advk,body) ul.products.products.products:not(.adv-list-view) li.product.product .price{font-size:14px!important;line-height:1.3!important}
  :is(#advk,body) ul.products.products.products:not(.adv-list-view) li.product.product :is(.button,.add_to_cart_button,.added_to_cart){font-size:12px!important;line-height:1.3!important;padding-top:9px!important;padding-bottom:9px!important}
  :is(#advk,body) ul.products.products.products li.product.product .woocommerce-loop-category__title{font-size:13px!important}
  :is(#advk,body) .advk-bnav-count{font-size:11px!important}
}
@media (min-width:601px) and (max-width:1024px){
  :is(#advk,body) ul.products.products.products:not(.adv-list-view) li.product.product :is(.woocommerce-loop-product__title,.woocommerce-LoopProduct-link-title,h2,h3){font-size:13px!important;line-height:1.35!important}
  :is(#advk,body) ul.products.products.products:not(.adv-list-view) li.product.product .price{font-size:14px!important}
  :is(#advk,body) ul.products.products.products:not(.adv-list-view) li.product.product :is(.button,.add_to_cart_button){font-size:12.5px!important}
}
/*       END ADVK MOBILE CARD TYPE       */

/* ===== ADVK CARD TITLE CLAMP ===== */
:is(#advk,body) ul.products.products.products li.product.product .woocommerce-loop-product__title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;max-height:none!important;height:auto!important;min-height:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
/*       END ADVK CARD TITLE CLAMP       */

/* ===== ADVK THEME CONTRAST FIXES ===== */
/* bottom nav: drive colours from the theme, not from JS-sampled inline vars
   (those were captured at page load and went stale when the user toggled theme) */
html:not([data-adv-theme="light"]) :is(#advk,body) #advk-bnav{--advk-bnav-bg:#0b0b0b!important;--advk-bnav-color:#e9e9ec!important;border-top:1px solid #26262c!important}
html:not([data-adv-theme="light"]) :is(#advk,body) #advk-bnav :is(a,.advk-bnav-label,svg){color:#e9e9ec!important}
html[data-adv-theme="light"] :is(#advk,body) #advk-bnav{--advk-bnav-bg:#ffffff!important;--advk-bnav-color:#2a2a2e!important;border-top:1px solid #e2e5ea!important}
html[data-adv-theme="light"] :is(#advk,body) #advk-bnav :is(a,.advk-bnav-label,svg){color:#2a2a2e!important}
/* light mode: footer bottom bar text was pale grey on pale grey */
html[data-adv-theme="light"] :is(#advk,body) #colophon .site-bottom-footer-wrap,
html[data-adv-theme="light"] :is(#advk,body) #colophon .site-bottom-footer-wrap *,
html[data-adv-theme="light"] :is(#advk,body) .advk-fbottom,
html[data-adv-theme="light"] :is(#advk,body) .advk-fbottom *{color:#33333a!important}
html[data-adv-theme="light"] :is(#advk,body) .advk-fbottom a:hover{color:#c8102e!important}
html[data-adv-theme="light"] :is(#advk,body) :is(.advk-gstars,.advk-stars){color:#8a5a00!important}
/* review avatar initials legible on every brand colour */
:is(#advk,body) .advk-review__av{text-shadow:0 1px 2px rgba(0,0,0,.65)!important}
/*       END ADVK THEME CONTRAST FIXES       */

/* ===== ADVK LIGHT MODE FIXES 2 ===== */
/* breadcrumb separator was white on white in light mode */
html[data-adv-theme="light"] :is(#advk,body) .separator,
html[data-adv-theme="light"] :is(#advk,body) .rank-math-breadcrumb .separator,
html[data-adv-theme="light"] :is(#advk,body) nav.woocommerce-breadcrumb{color:#656b73!important}
/* track order form was a black card with dark text and white-on-white inputs */
html[data-adv-theme="light"] :is(#advk,body) form.order_track_form{background:#ffffff!important;border:1px solid #e2e5ea!important}
html[data-adv-theme="light"] :is(#advk,body) form.order_track_form :is(p,label,span,h2,h3,small){color:#26262b!important}
html[data-adv-theme="light"] :is(#advk,body) form.order_track_form :is(input,input.input-text,.input-text){background:#ffffff!important;color:#18191c!important;border:1px solid #cbd5e0!important}
html[data-adv-theme="light"] :is(#advk,body) form.order_track_form input::placeholder{color:#6b7280!important}
html[data-adv-theme="light"] :is(#advk,body) form.order_track_form :is(button,.button){color:#ffffff!important}
/*       END ADVK LIGHT MODE FIXES 2       */

/* ===== ADVK CHECKBOX + SHIPPING LIST ===== */
/* two checkout checkboxes rendered 3px wide with no tick (appearance:none, display:inline) */
:is(#advk,body) :is(form.checkout,form.woocommerce-form,form.woocommerce-checkout) input[type="checkbox"]{
  -webkit-appearance:none!important;appearance:none!important;
  display:inline-block!important;width:18px!important;height:18px!important;min-width:18px!important;
  flex:0 0 18px!important;vertical-align:-4px!important;position:relative!important;
  background:transparent!important;border:1.5px solid #9aa0a6!important;border-radius:4px!important;
  margin:0 9px 0 0!important;padding:0!important;box-sizing:border-box!important;cursor:pointer!important}
:is(#advk,body) :is(form.checkout,form.woocommerce-form,form.woocommerce-checkout) input[type="checkbox"]:checked{background:#c8102e!important;border-color:#c8102e!important}
:is(#advk,body) :is(form.checkout,form.woocommerce-form,form.woocommerce-checkout) input[type="checkbox"]:checked::after{
  content:""!important;position:absolute!important;left:5px!important;top:1px!important;width:5px!important;height:10px!important;
  border:solid #fff!important;border-width:0 2px 2px 0!important;transform:rotate(45deg)!important;box-sizing:border-box!important}
:is(#advk,body) :is(form.checkout,form.woocommerce-form,form.woocommerce-checkout) input[type="checkbox"]:focus-visible{outline:2px solid #fff!important;outline-offset:2px!important}
:is(#advk,body) :is(form.checkout,form.woocommerce-form) label.checkbox,
:is(#advk,body) :is(form.checkout,form.woocommerce-form) label.woocommerce-form__label-for-checkbox{display:block!important;line-height:1.5!important;cursor:pointer!important;padding-left:0!important;text-indent:0!important}
/* "Ship to a different address" is a flex label in the theme; padding/indent made
   the box land on top of the wording. Lay it out as box-then-text instead. */
:is(#advk,body) h3#ship-to-different-address label,
:is(#advk,body) #ship-to-different-address > label{display:inline-flex!important;align-items:center!important;gap:10px!important;padding-left:0!important;text-indent:0!important}
:is(#advk,body) h3#ship-to-different-address label > input[type="checkbox"]{flex:0 0 auto!important;margin:0!important;position:static!important}
:is(#advk,body) :is(form.checkout,form.woocommerce-form) label.checkbox span.optional{display:inline!important;white-space:nowrap!important}
/* shipping options: radio first, text left-aligned, comfortable tap size */
html :is(#advk,body) :is(.woocommerce-shipping-methods,#shipping_method){text-align:left!important;margin:0!important;padding:0!important;list-style:none!important}
html :is(#advk,body) :is(.woocommerce-shipping-methods,#shipping_method) li{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;gap:9px!important;text-align:left!important;margin:0 0 10px!important;padding:0!important;width:100%!important}
html :is(#advk,body) :is(.woocommerce-shipping-methods,#shipping_method) li input[type="radio"]{flex:0 0 auto!important;width:16px!important;height:16px!important;margin:2px 0 0!important}
html :is(#advk,body) :is(.woocommerce-shipping-methods,#shipping_method) li label{flex:1 1 auto!important;text-align:left!important;margin:0!important;line-height:1.45!important;cursor:pointer!important}
/*       END ADVK CHECKBOX + SHIPPING LIST       */

/* ===== ADVK CART SHIPMENT LABEL ===== */
:is(#advk,body) tr.woocommerce-shipping-totals td::before{float:none!important;display:block!important;width:100%!important;margin:0 0 8px!important;font-weight:600!important}
:is(#advk,body) tr.woocommerce-shipping-totals td{display:block!important;width:100%!important;text-align:left!important}
/*       END ADVK CART SHIPMENT LABEL       */

/* ===== ADVK MIX MATCH HEAD MOBILE ===== */
@media (max-width:520px){
  :is(#advk,body) .advk-mf-head{flex-wrap:wrap!important;align-items:center!important;row-gap:4px!important;column-gap:10px!important}
  :is(#advk,body) .advk-mf-head > b{flex:1 1 auto!important;min-width:0!important}
  :is(#advk,body) .advk-mf-head > .advk-mf-tog{flex:0 0 auto!important;margin-left:auto!important}
  :is(#advk,body) .advk-mf-head > span{flex:1 0 100%!important;order:3!important;font-size:12px!important;opacity:.8!important}
}
/* shop bar sorting select: match the width of the other filter controls on mobile */
@media (max-width:600px){
  :is(#advk,body) .advk-shopbar.is-open .advk-sb-right{width:100%!important;justify-content:flex-start!important}
  :is(#advk,body) .advk-shopbar.is-open .advk-sb-right select{width:100%!important}
}
/*       END ADVK MIX MATCH HEAD MOBILE       */

/* ===== ADVK MIN LEGIBLE TEXT ===== */
:is(#advk,body) .advk-gpill span,:is(#advk,body) .advk-gpill b,:is(#advk,body) .advk-gpill span:last-child,:is(#advk,body) .advk-gpill span:first-child{font-size:12px!important}
:is(#advk,body) .advk-mf-tag{font-size:12px!important}
:is(#advk,body) .advk-bnav-count{font-size:11px!important}
@media (max-width:480px){
  :is(#advk,body) .advk-gpill.advk-gpill span,:is(#advk,body) .advk-gpill.advk-gpill span:last-child,:is(#advk,body) .advk-gpill.advk-gpill b{font-size:12px!important}
}
@media (max-width:1024px){
  :is(#advk,body) .advk-mf .advk-mf-head .advk-mf-tag,:is(#advk,body) .advk-mf-tag.advk-mf-tag{font-size:12px!important}
}
@media (max-width:480px){
  :is(#advk,body) .advk-mf .advk-mf-head .advk-mf-tag,:is(#advk,body) .advk-mf-tag.advk-mf-tag{font-size:12px!important}
}
/*       END ADVK MIN LEGIBLE TEXT       */

/* ===== ADVK LIGHT MODE WOO SURFACES ===== */
html[data-adv-theme="light"] :is(#advk,body) :is(.col2-set,.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-checkout-review-order,.cart_totals,.woocommerce-cart-form,.shop_table,.an-bill-card,.an-ck-trust,.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation,.woocommerce-order-details,.woocommerce-customer-details){background:#ffffff!important;border-color:#e2e5ea!important;color:#26262b!important}
html[data-adv-theme="light"] :is(#advk,body) :is(.woocommerce,form.checkout,form.woocommerce-form) :is(label,th,td,p,h2,h3,h4,legend,dt,dd,small){color:#26262b!important}
html[data-adv-theme="light"] :is(#advk,body) :is(.woocommerce,form.checkout,form.woocommerce-form) :is(input.input-text,input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],input[type="search"],textarea,select,.select2-selection,.select2-selection--single){background:#ffffff!important;color:#18191c!important;border:1px solid #cbd5e0!important}
html[data-adv-theme="light"] :is(#advk,body) :is(.woocommerce,form.checkout) ::placeholder{color:#6b7280!important}
html[data-adv-theme="light"] :is(#advk,body) ul.wc_payment_methods > li{background:#ffffff!important;border-color:#e2e5ea!important}
html[data-adv-theme="light"] :is(#advk,body) ul.wc_payment_methods > li label{color:#26262b!important}
html[data-adv-theme="light"] :is(#advk,body) :is(form.checkout,form.woocommerce-cart,.cart_totals,.woocommerce-MyAccount-content) :is(.button,.advk-btn,button[type="submit"],input[type="submit"],.checkout-button){color:#ffffff!important}
html[data-adv-theme="light"] :is(#advk,body) :is(form.checkout,form.woocommerce-cart,.cart_totals,.woocommerce-MyAccount-content) :is(.button,.advk-btn,button[type="submit"],input[type="submit"],.checkout-button) *{color:inherit!important}
html[data-adv-theme="light"] :is(#advk,body) .woocommerce-info{color:#ffffff!important}
html[data-adv-theme="light"] :is(#advk,body) .woocommerce-info *{color:#ffffff!important}
html[data-adv-theme="light"] :is(#advk,body) :is(.an-bill-pill,.an-ck-pill){background:#fdeced!important;color:#c8102e!important;border:1px solid #f2c3c8!important;font-weight:700!important}
html[data-adv-theme="light"] :is(#advk,body) :is(.an-bill-pill,.an-ck-pill):hover{background:#c8102e!important;color:#ffffff!important;border-color:#c8102e!important}
html[data-adv-theme="light"] body.woocommerce-checkout #customer_details label,
html[data-adv-theme="light"] body.woocommerce-checkout #customer_details .form-row label,
html[data-adv-theme="light"] body.woocommerce-checkout #customer_details label span,
html[data-adv-theme="light"] body.woocommerce-cart #content label,
html[data-adv-theme="light"] body.woocommerce-account #content label{color:#26262b!important}
/*       END ADVK LIGHT MODE WOO SURFACES       */

/* ===== ADVK LIGHT MODE WOO SURFACES 2 ===== */
html[data-adv-theme="light"] body[class][class][class][class] #payment ul.payment_methods li.wc_payment_method > label,
html[data-adv-theme="light"] body[class][class][class][class] #payment ul.payment_methods li.wc_payment_method > label *,
html[data-adv-theme="light"] body[class][class][class][class] #payment .payment_box,
html[data-adv-theme="light"] body[class][class][class][class] #payment .payment_box *{color:#26262b!important}
html[data-adv-theme="light"] body[class][class][class][class] #payment .payment_box{background:#f4f5f7!important;border-color:#e2e5ea!important}
html[data-adv-theme="light"] body[class][class][class][class] .an-ck-ship .an-ck-ship-opts label,
html[data-adv-theme="light"] body[class][class][class][class] .an-ck-ship .an-ck-ship-opts label *,
html[data-adv-theme="light"] body[class][class][class][class] .an-ck-ship .an-ck-ship-opts li{color:#26262b!important}
html[data-adv-theme="light"] body[class][class][class][class] form.checkout label.checkbox,
html[data-adv-theme="light"] body[class][class][class][class] form.checkout label.checkbox *,
html[data-adv-theme="light"] body[class][class][class][class] form.checkout span.optional,
html[data-adv-theme="light"] body[class][class][class][class] form.woocommerce-form label,
html[data-adv-theme="light"] body[class][class][class][class] form.woocommerce-form span.optional{color:#26262b!important}
html[data-adv-theme="light"] body[class][class][class][class] .select2-selection__rendered,
html[data-adv-theme="light"] body[class][class][class][class] .select2-results__option{color:#18191c!important}
html[data-adv-theme="light"] body[class][class][class][class] :is(.woocommerce-checkout-review-order,.cart_totals) tr{background:transparent!important}
html[data-adv-theme="light"] body[class][class][class][class] :is(.woocommerce-checkout-review-order,.cart_totals) :is(th,td),
html[data-adv-theme="light"] body[class][class][class][class] :is(.woocommerce-checkout-review-order,.cart_totals) :is(th,td) *{color:#26262b!important}
html[data-adv-theme="light"] body[class][class][class][class] :is(.woocommerce-checkout-review-order,.cart_totals) tr.order-total :is(th,td),
html[data-adv-theme="light"] body[class][class][class][class] :is(.woocommerce-checkout-review-order,.cart_totals) tr.order-total :is(th,td) *{color:#c8102e!important}
html[data-adv-theme="light"] body[class][class][class][class] :is(form.checkout,form.woocommerce-cart,.cart_totals,.woocommerce-MyAccount-content) :is(.button,.advk-btn,button[type="submit"],input[type="submit"],.checkout-button,#place_order),
html[data-adv-theme="light"] body[class][class][class][class] :is(form.checkout,form.woocommerce-cart,.cart_totals,.woocommerce-MyAccount-content) :is(.button,.advk-btn,button[type="submit"],.checkout-button,#place_order) *{color:#ffffff!important}
/*       END ADVK LIGHT MODE WOO SURFACES 2       */

/* ===== ADVK LIGHT MODE WOO SURFACES 3 ===== */
html[data-adv-theme="light"] body[class][class][class][class][class] #customer_details .form-row label,
html[data-adv-theme="light"] body[class][class][class][class][class] #customer_details .form-row label.checkbox,
html[data-adv-theme="light"] body[class][class][class][class][class] #customer_details .form-row label.checkbox *,
html[data-adv-theme="light"] body[class][class][class][class][class] #customer_details .form-row label span.optional,
html[data-adv-theme="light"] body[class][class][class][class][class] #customer_details label,
html[data-adv-theme="light"] body[class][class][class][class][class] #customer_details label *{color:#26262b!important}
html[data-adv-theme="light"] body[class][class][class][class][class] .select2-selection__rendered,
html[data-adv-theme="light"] body[class][class][class][class][class] .select2-container .select2-selection__rendered,
html[data-adv-theme="light"] body[class][class][class][class][class] .select2-results__option{color:#18191c!important}
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review li,
html[data-adv-theme="light"] body[class][class][class][class][class] .woocommerce-checkout-review-order li,
html[data-adv-theme="light"] body[class][class][class][class][class] .cart_totals li{background-color:transparent!important}
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review :is(li,tr,th,td),
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review :is(li,tr,th,td) *{color:#26262b!important}
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review tr.order-total :is(th,td),
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review tr.order-total :is(th,td) *{color:#c8102e!important}
/*       END ADVK LIGHT MODE WOO SURFACES 3       */

/* ===== ADVK LIGHT MODE WOO SURFACES 4 ===== */
html[data-adv-theme="light"] body[class][class][class][class][class] .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-adv-theme="light"] body[class][class][class][class][class] .select2-container .select2-selection--single .select2-selection__rendered,
html[data-adv-theme="light"] body[class][class][class][class][class] span.select2-selection__rendered{color:#18191c!important}
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts li,
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts li.is-selected,
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts li[class]{background-color:#fdeced!important;border-color:#f3c6cb!important}
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts li[class] *{color:#26262b!important}
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts li[class] .woocommerce-Price-amount,
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts li[class] .woocommerce-Price-amount *{color:#c8102e!important}
/*       END ADVK LIGHT MODE WOO SURFACES 4       */

/* ===== ADVK LIGHT MODE WOO SURFACES 5 ===== */
html[data-adv-theme="light"] body[class][class][class][class][class] #customer_details .select2-selection__rendered,
html[data-adv-theme="light"] body[class][class][class][class][class] #customer_details .select2-container .select2-selection__rendered{color:#18191c!important}
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts ul#shipping_method li,
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts ul#shipping_method li:has(input:checked),
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review ul#shipping_method li,
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review ul#shipping_method li:has(input:checked){background-color:#fdeced!important;border-color:#f3c6cb!important}
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts ul#shipping_method li *,
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review ul#shipping_method li *{color:#26262b!important}
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts ul#shipping_method li .woocommerce-Price-amount,
html[data-adv-theme="light"] body[class][class][class][class][class] .an-ck-ship .an-ck-ship-opts ul#shipping_method li .woocommerce-Price-amount *,
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review ul#shipping_method li .woocommerce-Price-amount,
html[data-adv-theme="light"] body[class][class][class][class][class] #order_review ul#shipping_method li .woocommerce-Price-amount *{color:#c8102e!important}
/*       END ADVK LIGHT MODE WOO SURFACES 5       */

/* ===== ADVK FILTER BUTTON INK ===== */
html[data-adv-theme="light"] body[class][class][class][class] button.advk-filter-toggle,
html[data-adv-theme="light"] body[class][class][class][class] button.advk-filter-toggle *{color:#ffffff!important}
/*       END ADVK FILTER BUTTON INK       */

/* ===== ADVK HERO LCP FIX ===== */
/* .advk-hs1 pointed at 2026/07/advapes-binjai-v2-1.webp which 404s, so the LCP
   element had no image and the two preloaded heroes were never used.
   Repoint it at the preloaded pair so preload + paint match exactly. */
@media (max-width:1024px){
  :is(#advk,body) .advk-hcar .advk-hs.advk-hs1{background-image:url('/wp-content/uploads/2026/05/advapes-hero-mobile-v2.webp')!important}
}
@media (min-width:1025px){
  :is(#advk,body) .advk-hcar .advk-hs.advk-hs1{background-image:url('/wp-content/uploads/2026/05/advapes-hero-desktop.jpg')!important}
}
/*       END ADVK HERO LCP FIX       */

/* ===== ADVK BRAND STRIP LIGHT ===== */
/* Brand logos are white-on-black artwork. On a white tile they read as a black
   square inside a white pill. Give the tile the same dark base in light mode. */
html[data-adv-theme="light"] body[class][class][class][class] .advk-mq-item{
  background:#111114!important;border:1px solid #26262c!important}
html[data-adv-theme="light"] body[class][class][class][class] .advk-mq-item img{
  background:transparent!important;mix-blend-mode:normal!important}
/*       END ADVK BRAND STRIP LIGHT       */

/* ===== ADVK BUTTON TEXT CENTRING ===== */
/* cart action buttons had height:38px + line-height:38px + 13px padding, so the
   label rendered below the button box and got clipped. */
:is(#advk,body) .woocommerce-cart table.cart td.actions .button,
:is(#advk,body) .woocommerce-checkout table.cart td.actions .button,
:is(#advk,body) table.cart td.actions .button,
:is(#advk,body) table.cart td.actions input[type="submit"]{
  height:auto!important;min-height:42px!important;line-height:1.2!important;
  padding-top:11px!important;padding-bottom:11px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  text-align:center!important}
:is(#advk,body) .woocommerce form.woocommerce-cart-form .coupon .button,
:is(#advk,body) .woocommerce button[name="apply_coupon"],
:is(#advk,body) .woocommerce button[name="update_cart"],
:is(#advk,body) .woocommerce .coupon button,
:is(#advk,body) .woocommerce .coupon input[type="submit"]{
  height:auto!important;min-height:40px!important;line-height:1.2!important;
  padding-top:10px!important;padding-bottom:10px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important}
/*       END ADVK BUTTON TEXT CENTRING       */

/* ===== ADVK LIGHT MODE ERROR TEXT ===== */
html[data-adv-theme="light"] body[class][class][class][class][class] :is(.coupon-error-notice,.woocommerce-error,.woocommerce-NoticeGroup .woocommerce-error,.wc-block-components-validation-error,.woocommerce-password-strength.short,.woocommerce-password-strength.bad),
html[data-adv-theme="light"] body[class][class][class][class][class] :is(.coupon-error-notice,.woocommerce-error,.wc-block-components-validation-error) *{color:#c8102e!important}
html[data-adv-theme="light"] body[class][class][class][class][class] :is(input,select,textarea).has-error,
html[data-adv-theme="light"] body[class][class][class][class][class] .woocommerce-invalid :is(input,select,textarea){border-color:#c8102e!important}
/*       END ADVK LIGHT MODE ERROR TEXT       */

/* ===== ADVK SHOP BAR + CARD CLEANUP ===== */
/* Two Grid/List toggles were rendering together on tablet: the shop bar's own
   one and the mobile-only one. Keep the shop bar's from 601px up. */
@media (min-width:601px){
  :is(#advk,body) .adv-view-toggle{display:none!important}
}
/* Product cards were printing the product excerpt under the price. */
:is(#advk,body) ul.products li.product .product-excerpt,
:is(#advk,body) ul.products li.product .woocommerce-product-details__short-description{display:none!important}
/*       END ADVK SHOP BAR + CARD CLEANUP       */


/* ============ ADVK V7 UI FIXES ============ */
:is(#advk,body) .advk-ticker{display:block!important}
:is(#advk,body).home .adv-view-toggle,
:is(#advk,body).front-page .adv-view-toggle,
:is(#advk,body).page-template-front-page .adv-view-toggle{display:none!important}
:is(#advk,body) #advk-search .advk-sch-bar:has(.dgwt-wcas-search-form) form:not(.dgwt-wcas-search-form){display:none!important}
:is(#advk,body) #advk-search .dgwt-wcas-search-wrapp{width:100%!important}
:is(#advk,body) .dgwt-wcas-suggestions-wrapp .dgwt-wcas-st,
:is(#advk,body) .dgwt-wcas-search-history-header,
:is(#advk,body) .dgwt-wcas-suggestion-history-header{color:#d8d8dc!important}
:is(#advk,body).woocommerce-account .woocommerce-form-login button[type="submit"],
:is(#advk,body).woocommerce-account .woocommerce-form-register button[type="submit"],
:is(#advk,body).woocommerce-account .woocommerce-ResetPassword button[type="submit"],
:is(#advk,body).woocommerce-account .woocommerce-form-login .button,
:is(#advk,body).woocommerce-account .woocommerce-form-register .button{background:#e21b23!important;background-image:none!important;border:0!important;color:#fff!important;border-radius:8px!important;padding:12px 24px!important;font-weight:700!important;line-height:1.2!important;height:auto!important}
/* ========== END ADVK V7 UI FIXES ========== */

/* ===== ADVK V7 SEARCH INK ===== */
:is(#advk,body) .dgwt-wcas-suggestions-wrapp [class*="sugg-hist"]{color:#cfcfd6!important}
:is(#advk,body) .dgwt-wcas-suggestions-wrapp .js-dgwt-wcas-sugg-hist-clear{color:#ff7d82!important;text-decoration:underline!important}
html[data-adv-theme="light"] :is(#advk,body) .dgwt-wcas-suggestions-wrapp [class*="sugg-hist"]{color:#3a3a3f!important}
html[data-adv-theme="light"] :is(#advk,body) .dgwt-wcas-suggestions-wrapp .js-dgwt-wcas-sugg-hist-clear{color:#c1121a!important}
/* ===== END ADVK V7 SEARCH INK ===== */

/* ===== ADVK V7 HERO SLIDES ===== */
@media (max-width:700px){
:is(#advk,body) .advk-hcar .advk-hs.advk-hs1{background-image:url(/wp-content/uploads/2026/08/advapes-hero-delivery-m2.jpg)!important}
:is(#advk,body) .advk-hs[style*="advapes-hero-xros6b-1"]{background-image:url(/wp-content/uploads/2026/08/advapes-hero-xros6-m2.webp)!important}
:is(#advk,body) .advk-hs[style*="advapes-hero-mini-1"]{background-image:url(/wp-content/uploads/2026/08/advapes-hero-xros6mini-m2.webp)!important}
:is(#advk,body) .advk-hs[style*="advapes-hero-v2"]{background-image:url(/wp-content/uploads/2026/08/advapes-hero-delivery-m2.jpg)!important}
}
@media (min-width:701px) and (max-width:1024px){
:is(#advk,body) .advk-hcar .advk-hs.advk-hs1{background-image:url(/wp-content/uploads/2026/08/advapes-hero-delivery-wide.jpg)!important}
}
/* ===== END ADVK V7 HERO SLIDES ===== */

/* ===== ADVK V7 HERO SLIDES (live slider) ===== */
@media (max-width:700px){
:is(#advk,body) .advk-h2slide[style*="advapes-hero-xros6b-m1080"]{background-image:url(/wp-content/uploads/2026/08/advapes-hero-xros6-m2.webp)!important}
:is(#advk,body) .advk-h2slide[style*="advapes-hero-mini-m1080"]{background-image:url(/wp-content/uploads/2026/08/advapes-hero-xros6mini-m2.webp)!important}
:is(#advk,body) .advk-h2slide[style*="advapes-hero-xros6b-1"]{background-image:url(/wp-content/uploads/2026/08/advapes-hero-xros6-m2.webp)!important}
:is(#advk,body) .advk-h2slide[style*="advapes-hero-mini-1"]{background-image:url(/wp-content/uploads/2026/08/advapes-hero-xros6mini-m2.webp)!important}
}
/* ===== END ADVK V7 HERO SLIDES (live slider) ===== */

/* ===== ADVK V7 CHECKOUT DOUBLE TOGGLE ===== */
/* Billing details had two collapse controls: the header pill (keep) and a second one injected inside the H3 (remove). */
:is(#advk,body).woocommerce-checkout .woocommerce-billing-fields > h3 .an-bill-pill,
:is(#advk,body).woocommerce-checkout #customer_details .woocommerce-billing-fields > h3 button{display:none!important}
:is(#advk,body).woocommerce-checkout #customer_details .woocommerce-billing-fields > h3::after{content:none!important}
/* ===== END ADVK V7 CHECKOUT DOUBLE TOGGLE ===== */

/* ===== ADVK V7 CHECKOUT DUP TITLE ===== */
/* Where the mobile header row exists, the old inline Billing details heading is a duplicate. Desktop has no header row, so its heading stays. */
:is(#advk,body).woocommerce-checkout form.checkout:has(.an-bill-head) #customer_details .woocommerce-billing-fields > h3{display:none!important}
/* ===== END ADVK V7 CHECKOUT DUP TITLE ===== */
