/* Mavelles-inspired product proportions; Modsluxe data and native forms retained. */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');
body[data-page-type="product"],body[data-page-type="product"] .product-detail-wrapper{background:#fffcfa!important}
body[data-page-type="product"] :is(h1,h2,h3,h4,h5,h6,p,li,a,button,label,input,select,textarea,span,strong,small,div,section,summary,legend){font-family:Jost,Arial,sans-serif!important}
body[data-page-type="product"] .product-detail-wrapper>.page-width{width:100%!important;max-width:1560px!important;padding:40px 30px!important;margin:0 auto!important;box-sizing:border-box}
body[data-page-type="product"] theme-product-detail[data-section-type="main-product"]{display:block!important;padding:0!important;background:#fffcfa!important}
body[data-page-type="product"] theme-product-detail .product-detail__main{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;column-gap:60px!important;align-items:start!important;width:100%!important;min-width:0!important}
body[data-page-type="product"] theme-product-detail .product-detail__main>.product-detail__info{position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:16px!important}
body[data-page-type="product"] theme-product-detail .product-detail__main>.product-detail__media-group{position:sticky!important;top:20px!important;width:100%!important;max-width:100%!important;min-width:0!important;align-self:start!important}
body[data-page-type="product"] theme-product-detail .product-detail__title{font-size:25px!important;line-height:1.2!important;letter-spacing:0!important;font-weight:500!important;color:#111!important;margin:0!important}
body[data-page-type="product"] theme-product-detail .product-detail__price{margin:0!important}
body[data-page-type="product"] theme-product-detail .product-detail__price .product-price__sale{font-size:28px!important;line-height:1.3!important;color:#d11335!important;font-weight:700!important}
body[data-page-type="product"] theme-product-detail .product-detail__price .product-price__save{font-size:15px!important;color:#d11335!important}
body[data-page-type="product"] :is(.ml-social-proof,.ml-order-timeline,.ml-side-note){display:none!important}
body[data-page-type="product"] theme-product-detail .product-detail__sell-info{display:none!important}
body[data-page-type="product"] theme-product-detail .product-description{display:block!important;width:100%!important;max-width:100%!important;min-width:0;margin:26px 0 0!important;padding:0!important;border:0!important;font-size:16px;line-height:1.65;overflow-wrap:anywhere}
body[data-page-type="product"] theme-product-detail .product-description :is(img,video,iframe){max-width:100%}
body[data-page-type="product"] theme-product-detail .product-description img{height:auto}
body[data-page-type="product"] theme-product-detail .product-description table{display:block;max-width:100%;overflow-x:auto}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group{width:100%!important;gap:12px!important;margin-top:22px!important;padding-top:22px!important;border-top:1px solid #3b3836}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group>div{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:14px!important}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group theme-input-number{width:100%!important;display:flex!important;justify-content:flex-end!important;min-height:44px!important;border:0!important;border-radius:0!important;background:transparent!important}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group theme-input-number:before{content:'Quantity';margin-right:auto;align-self:center;font-size:16px;font-weight:600;color:#111}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group theme-input-number:after{display:none!important}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group theme-input-number button{width:40px!important;flex:0 0 40px;min-height:42px;border:1px solid #d6d2cf;background:transparent}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group theme-input-number button:first-of-type{border-right:0;border-radius:4px 0 0 4px}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group theme-input-number button:last-of-type{border-left:0;border-radius:0 4px 4px 0}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group theme-input-number input{width:72px!important;flex:0 0 72px;border:1px solid #d6d2cf;border-left:0;border-right:0;background:transparent}
body[data-page-type="product"] theme-product-detail .block-product-buy-button-wrapper{width:100%!important;flex:none!important}
body[data-page-type="product"] theme-product-detail .block-product-buy-button{width:100%!important;min-height:44px!important;border-radius:3px!important;background:#2b2b2b!important;color:#fff!important;font-weight:600!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group theme-product-media-gallery{width:100%!important;max-width:100%!important}
body[data-page-type="product"] theme-product-detail .product-detail__media{border-radius:0!important}
body[data-page-type="product"] theme-product-detail :is(.media-gallery__item,.media-gallery__media,.media-gallery__image,.media-gallery__list,.media-gallery__list-wrapper){max-height:none!important}
body[data-page-type="product"] theme-product-detail .media-gallery__image{object-fit:contain!important}
body[data-page-type="product"] theme-product-detail .media-gallery__thumbnail{width:78px!important;height:78px!important;flex:0 0 78px!important;border-radius:0!important}
body[data-page-type="product"] theme-product-detail .media-gallery__thumbnail-image{object-fit:contain!important}
body[data-page-type="product"] theme-product-detail theme-modsluxe-bundle{margin:20px 0 0!important}
body[data-page-type="product"] theme-modsluxe-bundle,body[data-page-type="product"] theme-modsluxe-bundle *,body[data-page-type="product"] .mav-option-dialog *{font-family:Poppins,Arial,sans-serif!important}
body[data-page-type="product"] .mav-bundle .mav-bundle__ui{padding:16px;border-radius:10px;border-color:#e1e3e7;box-shadow:0 1px 3px #00000005}
body[data-page-type="product"] .mav-bundle__title{font-size:16px;line-height:1.4;font-weight:600}
body[data-page-type="product"] .mav-bundle__header{margin-bottom:10px}
body[data-page-type="product"] .mav-bundle__tiers{gap:6px}
body[data-page-type="product"] .mav-bundle__tier{min-height:78px;border-radius:7px}
body[data-page-type="product"] .mav-bundle__tier-select{min-height:76px;padding:25px 4px 8px;border-radius:6px}
body[data-page-type="product"] .mav-bundle__tier.is-selected .mav-bundle__tier-select{min-height:74px;padding:24px 3px 7px}
body[data-page-type="product"] .mav-bundle__tier-select strong{font-size:13px}
body[data-page-type="product"] .mav-bundle__tier-select small{font-size:11px;line-height:1.3;margin-top:4px}
body[data-page-type="product"] .mav-bundle__quick-add{font-size:9px;min-width:38px;min-height:20px;line-height:16px;right:4px;top:4px;padding:1px 4px}
body[data-page-type="product"] .mav-bundle__summary{margin-top:12px;padding:10px;font-size:18px;min-height:42px;border-radius:7px}
body[data-page-type="product"] .mav-bundle__shipping{margin:0 0 10px;padding:5px 8px;font-size:11px}
body[data-page-type="product"] .mav-bundle__note{font-size:11px;margin:10px 0 12px}
body[data-page-type="product"] .mav-style__panel{padding:12px;border-radius:7px}
body[data-page-type="product"] .mav-style__heading{font-size:12px}
body[data-page-type="product"] .mav-style__edit{font-size:11px;margin:7px 0 10px}
body[data-page-type="product"] .mav-style__shop-card{flex-basis:120px;padding:6px;gap:6px;border-radius:7px}
body[data-page-type="product"] .mav-style__price{font-size:14px}
body[data-page-type="product"] .mav-style__choose{font-size:12px;min-height:36px}
@media(max-width:989px){
body[data-page-type="product"] .product-detail-wrapper>.page-width{padding:20px 15px!important}
body[data-page-type="product"] theme-product-detail .product-detail__main{display:flex!important;flex-direction:column!important;gap:24px!important}
body[data-page-type="product"] theme-product-detail .product-detail__main>.product-detail__media-group{position:static!important;top:auto!important}
body[data-page-type="product"] theme-product-detail .product-detail__title{font-size:20px!important;line-height:1.2!important;margin-bottom:16px!important}
body[data-page-type="product"] theme-product-detail .product-detail__price .product-price__sale{font-size:24px!important}
body[data-page-type="product"] theme-product-detail .media-gallery__thumbnail{width:64px!important;height:64px!important;flex-basis:64px!important}
body[data-page-type="product"] theme-product-detail .product-description{margin-top:22px!important}
}
@media(max-width:600px){
body[data-page-type="product"] .mav-bundle .mav-bundle__ui{padding:12px}
body[data-page-type="product"] .mav-bundle__tier{min-height:64px}
body[data-page-type="product"] .mav-bundle__tier-select{min-height:62px;padding:25px 2px 5px}
body[data-page-type="product"] .mav-bundle__tier.is-selected .mav-bundle__tier-select{min-height:60px;padding:24px 1px 4px}
body[data-page-type="product"] .mav-bundle__tier-select strong{font-size:11px}
body[data-page-type="product"] .mav-bundle__tier-select small{font-size:9px;margin-top:2px}
body[data-page-type="product"] .mav-bundle__quick-add{min-height:24px;line-height:20px;font-size:9px;top:2px;right:2px}
body[data-page-type="product"] .mav-bundle__title{font-size:15px}
body[data-page-type="product"] .mav-style__heading{font-size:11px}
body[data-page-type="product"] .mav-style__shop-card{flex-basis:124px}
body[data-page-type="product"] .mav-style__choose{min-height:44px}
body[data-page-type="product"] theme-product-detail .product-detail__buy-button-group theme-input-number input{width:40px!important;flex-basis:40px}
}

/* Mobile gallery: use the selected media ratio, not the legacy 2:3 frame. */
@media(max-width:989px){
body[data-page-type="product"] .product-detail-wrapper>.page-width{padding-top:8px!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__list-wrapper{aspect-ratio:var(--current-media-aspect-ratio,1)!important;height:auto!important;overflow:hidden}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__list{height:100%!important;padding:0!important;align-items:stretch!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__item{width:100%!important;flex:0 0 100%!important;height:100%!important;aspect-ratio:auto!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__media{width:100%!important;height:100%!important;aspect-ratio:auto!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__image{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
}

/* Desktop gallery: wider image column, compact rail, native media aspect ratio. */
@media(min-width:990px){
body[data-page-type="product"] .product-detail-wrapper>.page-width{max-width:1760px!important;padding:24px!important}
body[data-page-type="product"] theme-product-detail .product-detail__main{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;column-gap:32px!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__content{gap:12px!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__thumbnails{--thumbnail-gap:12px;width:72px!important;flex:0 0 72px!important}
body[data-page-type="product"] theme-product-detail .media-gallery__thumbnail{width:72px!important;height:72px!important;flex:0 0 72px!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__list-wrapper{min-width:0;aspect-ratio:var(--current-media-aspect-ratio,1)!important;height:auto!important;max-height:calc(100vh - 64px)!important;overflow:hidden}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__list{height:100%!important;padding:0!important;align-items:stretch!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__item{width:100%!important;flex:0 0 100%!important;height:100%!important;aspect-ratio:auto!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__media{width:100%!important;height:100%!important;aspect-ratio:auto!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__image{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
}
@media(min-width:990px) and (max-width:1199px){
body[data-page-type="product"] .product-detail-wrapper>.page-width{padding:20px!important}
body[data-page-type="product"] theme-product-detail .product-detail__main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:24px!important}
body[data-page-type="product"] theme-product-detail .product-detail__media-group .media-gallery__thumbnails{width:60px!important;flex-basis:60px!important}
body[data-page-type="product"] theme-product-detail .media-gallery__thumbnail{width:60px!important;height:60px!important;flex-basis:60px!important}
}

/* Store-backed offer highlights, outside the native purchase forms. */
body[data-page-type="product"] theme-product-detail .ml-offer-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;min-width:0;margin:0}
body[data-page-type="product"] theme-product-detail .ml-offer-highlights__tag{display:block;padding:6px 8px;background:#fdf7f7;color:#c20000;font-size:12px;font-weight:600;line-height:1.45;text-align:center;overflow-wrap:normal}
body[data-page-type="product"] theme-product-detail .ml-offer-highlights__note{grid-column:1/-1;color:#736b68;font-size:11px;font-weight:400;line-height:1.4}
@media(max-width:600px){body[data-page-type="product"] theme-product-detail .ml-offer-highlights{gap:5px}body[data-page-type="product"] theme-product-detail .ml-offer-highlights__tag{padding:6px 4px;font-size:11px}}

/* Compact shipping badge below the selected bundle price. */
body[data-page-type="product"] theme-product-detail .mav-bundle .mav-bundle__shipping{display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;width:fit-content;max-width:100%;box-sizing:border-box;margin:7px 0 0;padding:3px 8px;border:1px solid #b7ebc7;border-radius:999px;background:#f0fdf4;color:#12823a;font-size:10px;font-weight:700;line-height:1.4;text-align:left;vertical-align:top}
body[data-page-type="product"] theme-product-detail .mav-bundle__shipping>span:first-child{flex:none;font-size:11px;line-height:1}
body[data-page-type="product"] theme-product-detail .mav-bundle__shipping>span:last-child{min-width:0;overflow-wrap:normal}
