/* Final WEB031/034 corrections after native-parity-v3. Presentation only. */
html[data-boxxi-native="1"] [data-bxcat-top]>.subcategories>li,
html[data-boxxi-native="1"] [data-bxcat-top]>.subcategories>li>a{height:auto;max-height:none}
html[data-boxxi-native="1"] [data-bxcat-top]>.subcategories>li>a>.text{display:block;flex:0 0 auto;max-height:none;overflow:visible;text-overflow:clip}
/* Native .container clearfix pseudo-elements must not occupy footer grid cells. */
html[data-boxxi-native="1"][data-bxn-header-footer="1"] #footer>.footer-rows:before,
html[data-boxxi-native="1"][data-bxn-header-footer="1"] #footer>.footer-rows:after{content:none;display:none}
html[data-boxxi-native="1"][data-bxn-header-footer="1"] #footer>.footer-rows{background:transparent;align-items:start}
html[data-boxxi-native="1"][data-bxn-header-footer="1"] #footer>.footer-rows>.site-name{grid-column:1;grid-row:1;min-width:0}
html[data-boxxi-native="1"][data-bxn-header-footer="1"] #footer>.footer-rows>.custom-footer:not(.footer-badges-wrapper--mobile){grid-column:2;grid-row:1;min-width:0}
html[data-boxxi-native="1"][data-bxn-header-footer="1"] #footer>.footer-rows>.footer-badges-wrapper--mobile{display:block;grid-column:1/-1;grid-row:2;min-width:0}
@media(min-width:1200px){
html[data-boxxi-native="1"][data-bxn-header-footer="1"] #footer>.footer-rows>.footer-badges-wrapper--mobile{display:none}
}

/* WEB033.02/.03/.05/.06; depends on native v13 + parity v3. No price or purchase-field replacements. */
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper{display:flex;flex-direction:column;align-items:stretch;min-width:0}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>*{order:45;min-width:0}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.p-detail-inner-header{order:10;margin-bottom:8px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.availability-value{order:20;margin-bottom:14px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.p-short-description{order:30;margin:0 0 18px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.p-final-price-wrapper{order:40;border-top:1px solid var(--bxn-line,#e0e3de);padding-top:20px;margin:0 0 18px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.add-to-cart{order:50;display:grid;grid-template-columns:112px minmax(0,1fr);align-items:stretch;gap:12px;margin:0 0 12px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.quantity-discounts{order:60;margin:0 0 20px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>table.detail-parameters{order:70;margin:4px 0 20px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"][data-bxpf-kind="box"] .p-info-wrapper>.p-short-description{order:80;border-top:1px solid var(--bxn-line,#e0e3de);padding-top:18px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>p:has(>a[href="#description"]){order:85;margin:0 0 12px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.social-buttons-wrapper{order:90;margin-top:4px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.bxn-product-offer{order:100}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .add-to-cart>.quantity{width:112px;min-width:0;margin:0}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .add-to-cart>.add-to-cart-button{width:100%;min-width:0;margin:0;white-space:normal}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-final-price-wrapper .price-measure{display:block;margin-top:8px;color:var(--bxn-muted,#65716a);font-size:13px;line-height:1.45}
html[data-boxxi-native="1"] .bxpf-title-main{display:block;font-size:clamp(28px,3vw,40px);font-weight:600;line-height:1.13;letter-spacing:-.025em}
html[data-boxxi-native="1"] .bxpf-title-parameters{display:block;font-size:15px;font-weight:400;line-height:1.6;letter-spacing:0;margin-top:14px;color:var(--bxn-muted,#65716a)}
html[data-boxxi-native="1"] .bxpf-origin{font-size:11px;font-weight:600;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:#81725a;margin:0 0 14px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .quantity-discounts__headline{font-size:12px;padding:7px 12px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .quantity-discounts__item{padding:8px 10px;font-size:12px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .quantity-discounts__save{font-size:12px;padding:6px 12px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] [data-bxpf-hidden-ad="1"],html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] [data-bxpf-hidden-ad-container="1"]{display:none!important}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-details{display:block;border:1px solid var(--bxn-line,#e0e3de);border-radius:9px;background:#fff;margin:0 0 12px;overflow:hidden;text-align:left}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;cursor:pointer;list-style:none;color:var(--bxn-ink,#273c40)}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-summary::-webkit-details-marker{display:none}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-summary::after{content:'+';font-size:22px;line-height:1;flex:0 0 auto;font-weight:300}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-details[open]>.bxpf-summary::after{content:'−'}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-summary:focus-visible{outline:2px solid #9b875f;outline-offset:-4px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-summary>:is(h2,h3,h4){font-size:16px;font-weight:600;line-height:1.45;margin:0;padding:0;color:inherit}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-details-content{padding:0 20px 20px;font-size:14px;line-height:1.75}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-details-content>:first-child{margin-top:0}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-details-content>:last-child{margin-bottom:0}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .description-inner{display:block}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .description-inner>.basic-description,html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .description-inner>.extended-description{width:100%;padding:0;float:none;max-width:none}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .description-inner>.extended-description{margin-top:20px}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .pb-row:has(>.pb-col-12>.bxpf-details){display:block}
html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .pb-row>.pb-col-12:has(>.bxpf-details){width:100%;max-width:none;flex-basis:100%;padding-inline:0}
@media(max-width:767px){html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.add-to-cart{grid-template-columns:100px minmax(0,1fr);gap:10px}html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .add-to-cart>.quantity{width:100px}html[data-boxxi-native="1"] .bxpf-title-main{font-size:29px}html[data-boxxi-native="1"] .bxpf-title-parameters{font-size:14px;margin-top:10px}html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-summary{padding:15px 16px}html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-details-content{padding:0 16px 16px}}
@media(max-width:350px){html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .p-info-wrapper>.add-to-cart{grid-template-columns:minmax(0,1fr)}html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .add-to-cart>.quantity{width:112px}}
@media print{html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-details>.bxpf-details-content{display:block!important}html[data-boxxi-native="1"] .p-detail[data-bxpf-active="1"] .bxpf-summary::after{display:none}}

/* WEB036: correct only the existing Boxxi Ecomail popup. Native show/close/submit stay intact. */
html[data-boxxi-native="1"] #ec_form_1-43c2cd496486bcc27217c3e790fb4088 #ec-v-from-popup-cover{position:fixed;inset:0;height:100%;width:100%}
html[data-boxxi-native="1"] #ec_form_1-43c2cd496486bcc27217c3e790fb4088 #ec-v-from-popup-cover>.ec-v-form-holder-popup{left:50%!important;right:auto;top:auto!important;bottom:50%;transform:translate(-50%,50%);width:760px!important;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;overscroll-behavior:contain}
@media(max-width:767px){
html[data-boxxi-native="1"] #ec_form_1-43c2cd496486bcc27217c3e790fb4088 #ec-v-from-popup-cover>.ec-v-form-holder-popup .ec-v-form-column{width:100%!important}
}

html[data-boxxi-native="1"] .navigation-in .bxn-nav-icon{visibility:inherit!important}
