/* WSPro mobile storefront / WoodMart dark palette */
.wspro-bottom-nav,.wspro-sticky-product{display:none}
@media(max-width:1199px){
 body{padding-bottom:72px!important}
 .wspro-bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:stretch;justify-content:space-around;height:65px;padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:content-box;background:#10082c;color:#fff;border-top:1px solid #51416c;box-shadow:0 -8px 22px rgba(0,0,0,.24);z-index:999990}
 .wspro-bottom-link{position:relative;display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#fff!important;text-decoration:none!important;font-size:11px;line-height:1.3}
 .wspro-bottom-link:hover,.wspro-bottom-link:focus{color:#fa318d!important;background:#21113f}
 .wspro-nav-icon{font-size:27px;line-height:30px;font-weight:400}
 .wspro-nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
 .wspro-nav-count{display:none;position:absolute;top:3px;left:calc(50% + 9px);background:#f32d85;color:white;font-size:10px;min-width:16px;height:16px;border-radius:10px;text-align:center;line-height:16px}
 .wspro-nav-count.has-count{display:block}
 .wspro-sticky-product{position:fixed;bottom:65px;left:0;right:0;z-index:999989;background:#160a3a;border-top:1px solid #61428e;color:white;padding:8px 14px;align-items:center;gap:12px;box-shadow:0 -5px 20px rgba(0,0,0,.25)}
 .wspro-sticky-product.is-visible{display:flex}
 .wspro-sticky-info{display:flex;align-items:center;gap:10px;min-width:0;flex:1;font-size:13px;line-height:1.3}
 .wspro-sticky-info img{width:40px;height:40px;object-fit:contain;flex:none}
 .wspro-sticky-info span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .wspro-sticky-buy{flex:none;background:#fa2c88!important;color:#fff!important;border:0!important;border-radius:7px!important;padding:11px 17px!important;font-size:13px!important;font-weight:700!important;min-height:42px}
 .wspro-sticky-buy.loading{opacity:.65;cursor:wait}
 .wspro-sticky-status{font-size:12px;max-width:130px}
}
@media(min-width:1200px){.wspro-sticky-product.is-visible{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:999989;background:#160a3a;color:white;align-items:center;justify-content:center;gap:22px;padding:10px 24px;box-shadow:0 -5px 20px #0004}.wspro-sticky-info{display:flex;align-items:center;gap:12px;max-width:700px}.wspro-sticky-info img{height:48px;width:48px;object-fit:contain}.wspro-sticky-buy{background:#fa2c88;color:white;border:0;border-radius:7px;padding:12px 30px}}
/* intl-tel-input v29: prevent WoodMart button background and flag sprite overrides */
#billing_phone_field .iti__selected-country,#billing_phone_field button.iti__selected-country{background:transparent!important;color:#fff!important;min-width:48px!important;box-shadow:none!important;border:0!important}
#billing_phone_field .iti__flag{background-color:transparent!important;flex-shrink:0!important}
#billing_phone_field .iti__selected-country-primary{display:flex!important;align-items:center!important;gap:5px!important}
#billing_phone_field .iti__country-list .iti__flag{display:inline-block!important}
#billing_phone_field .iti__dropdown-content{z-index:2147483647!important}
#billing_phone_field .iti__selected-country:hover{background:rgba(255,255,255,.07)!important}

/* v1.0.37: ITI 29 flags use a WebP sprite; do not let WoodMart/legacy WCIPI override it. */
#billing_phone_field .iti--has-country-selector > .iti__country-container{left:0!important;right:auto!important;top:0!important;bottom:0!important}
#billing_phone_field .iti--has-country-selector .iti__selected-country{height:100%!important;min-height:0!important;opacity:1!important;filter:none!important;transform:none!important;padding:0 9px!important}
#billing_phone_field .iti--has-country-selector .iti__flag{background-image:var(--iti-path-flags-1x, url("https://cdn.jsdelivr.net/npm/intl-tel-input@29.2.3/dist/img/flags.webp"))!important;background-repeat:no-repeat!important;background-color:transparent!important;opacity:1!important;filter:none!important;visibility:visible!important;transform:none!important}
@media (min-resolution:2dppx){#billing_phone_field .iti--has-country-selector .iti__flag{background-image:var(--iti-path-flags-2x, url("https://cdn.jsdelivr.net/npm/intl-tel-input@29.2.3/dist/img/flags@2x.webp"))!important}}
#billing_phone_field .iti__flag-container{display:none!important}
#billing_phone_field .iti--has-country-selector{position:relative!important;overflow:visible!important}
#billing_phone_field .iti--has-country-selector .iti__selected-country:hover,#billing_phone_field .iti--has-country-selector .iti__selected-country:focus{background:rgba(255,255,255,.06)!important}
/* v1.0.38: explicit flags, independent of broken theme sprite backgrounds. */
#billing_phone_field .iti, .iti__dropdown-content {
 --iti-path-flags-1x:url('https://cdn.jsdelivr.net/npm/intl-tel-input@29.2.3/dist/img/flags.webp');
 --iti-path-flags-2x:url('https://cdn.jsdelivr.net/npm/intl-tel-input@29.2.3/dist/img/flags@2x.webp');
}
#billing_phone_field .iti__flag.wspro-flag-svg,.iti__dropdown-content .iti__flag.wspro-flag-svg{
 display:inline-block!important;width:20px!important;height:15px!important;min-width:20px!important;
 background-size:20px 15px!important;background-position:center!important;
 background-repeat:no-repeat!important;opacity:1!important;visibility:visible!important;
 border-radius:2px!important;
}
