/* 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;
}

/* WSPro shared mobile navigation refinements */
@media(max-width:1199px){
 .wspro-bottom-nav .wspro-nav-wishlist .wspro-nav-count{background:#f32d85!important}
 .wspro-bottom-nav .wspro-nav-cart .wspro-nav-count{background:#39c4ef!important}
 .wspro-bottom-nav .wspro-nav-wishlist .wspro-nav-icon,
 .wspro-bottom-nav .wspro-nav-cart .wspro-nav-icon{font-size:0!important;display:flex;align-items:center;justify-content:center}
 .wspro-bottom-nav .wspro-nav-wishlist .wspro-nav-icon::after{content:"";width:23px;height:23px;display:block;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E")}
 .wspro-bottom-nav .wspro-nav-cart .wspro-nav-icon::after{content:"";width:24px;height:24px;display:block;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h18l-1.5 11h-15L3 9ZM8 9l4-6 4 6M9 13v3m6-3v3'/%3E%3C/svg%3E")}
 .wspro-sticky-product .wspro-sticky-buy{background:#fea600!important;color:#140c2d!important;border:1px solid #f6ddac!important;border-radius:0!important;box-shadow:inset 0 0 10px #7f612d,0 0 8px #ffd6ac!important;font-size:14px!important;font-weight:500!important}
 body.single-product.wspro-chat-above-sticky #chaty-widget-0 .chaty-widget,
 body.single-product.wspro-chat-above-sticky #chaty-widget-0.chaty-widget,
 body.single-product.wspro-chat-above-sticky .chaty-widget.right-position{bottom:140px!important}
}
