body.apf-preview-typography .apf-native-simple,
body.apf-preview-typography .apf-native-simple *{box-sizing:border-box}
/* Solo popups de producto simple sin addons, dentro de la prueba privada. */
body.apf-preview-typography .apf-native-simple .aromodal-dialog{width:calc(100% - 40px)!important;max-width:860px!important;margin:32px auto!important;min-height:0!important}
body.apf-preview-typography .apf-native-simple .aromodal-content{border:1px solid #eee6dd!important;border-top:1px solid #eee6dd!important;border-radius:22px!important;overflow:hidden;background:#fcfaf7!important;box-shadow:0 28px 90px #201b1740!important}
body.apf-preview-typography .apf-native-simple .aromodal-header{position:relative;display:block!important;padding:18px 80px 20px 26px!important;border-bottom:1px solid #eee6dd!important;background:#fff;min-height:82px}
body.apf-preview-typography .apf-native-simple .apf-native-brand{display:block;margin-bottom:5px;color:#be2924;font:800 10px/1.3 system-ui,sans-serif;letter-spacing:.18em}
body.apf-preview-typography .apf-native-simple .aromodal-title{margin:0!important;padding:0!important;color:#26211e!important;font:500 23px/1.25 "APF Oswald","Oswald","Arial Narrow",sans-serif!important;text-align:left!important}
body.apf-preview-typography .apf-native-simple .aromodal-header .close{position:absolute!important;top:22px;right:24px;display:flex!important;align-items:center;justify-content:center;margin:0!important;padding:0!important;width:40px;height:40px;border:1px solid #e8e1d9!important;border-radius:50%;background:#fff!important;color:#55483f!important;font:26px/1 system-ui,sans-serif!important;opacity:1!important;text-shadow:none!important;cursor:pointer}
body.apf-preview-typography .apf-native-simple .aromodal-header .close:focus-visible{outline:3px solid #b52b25;outline-offset:3px}
body.apf-preview-typography .apf-native-simple .aromodal-body{padding:26px!important;max-height:calc(100dvh - 180px);overflow-y:auto;background:#fcfaf7;font-family:"APF Roboto Slab","Roboto Slab",Georgia,serif!important;color:#51473e}
body.apf-preview-typography .apf-native-simple .container-fluid,
body.apf-preview-typography .apf-native-simple .arorow,
body.apf-preview-typography .apf-native-simple .fdoe_insert_product_shortcode{width:100%!important;padding:0!important;margin:0!important;float:none!important}
body.apf-preview-typography .apf-native-simple .summary{display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:18px 26px;align-items:start;width:100%!important;float:none!important;margin:0!important;padding:0!important}
body.apf-preview-typography .apf-native-simple .summary>.product_title{display:none!important}
body.apf-preview-typography .apf-native-simple .woocommerce-product-details__short-description{grid-column:2;grid-row:1;margin:0!important;font:400 14px/1.7 "APF Roboto Slab","Roboto Slab",Georgia,serif!important;color:#786d63}
body.apf-preview-typography .apf-native-simple .woocommerce-product-details__short-description p{font:inherit;margin:0 0 10px;padding:0}
body.apf-preview-typography .apf-native-simple .fdoe-product-image-wrapper{grid-column:1;grid-row:1 / span 3;display:block!important;width:100%!important;float:none!important;margin:0!important;overflow:hidden;border-radius:15px;background:#eee4da}
body.apf-preview-typography .apf-native-simple .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;padding:0!important}
body.apf-preview-typography .apf-native-simple .woocommerce-product-gallery__wrapper{margin:0!important;padding:0!important}
body.apf-preview-typography .apf-native-simple .woocommerce-product-gallery img{width:100%!important;height:auto!important;aspect-ratio:1.25;object-fit:cover;display:block;border-radius:15px}
body.apf-preview-typography .apf-native-simple .woocommerce-product-gallery .zoomImg{display:none!important}
body.apf-preview-typography .apf-native-simple .fdoe-product-price-wrapper{grid-column:2;grid-row:2;display:block!important;float:none!important;width:100%!important;margin:0!important;padding:0!important}
body.apf-preview-typography .apf-native-simple .price{margin:0!important;padding:0!important;color:#b32b24!important;font:600 25px/1.4 "APF Roboto Slab","Roboto Slab",Georgia,serif!important}
body.apf-preview-typography .apf-native-simple .price del{font-size:14px;font-weight:400;opacity:.5}
body.apf-preview-typography .apf-native-simple .price ins{background:transparent!important;text-decoration:none}
body.apf-preview-typography .apf-native-simple .fdoe-product-add-wrapper{grid-column:2;grid-row:3;display:block!important;float:none!important;width:100%!important;margin:0!important;padding:0!important}
body.apf-preview-typography .apf-native-simple form.cart{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;margin:0!important;padding:0!important}
body.apf-preview-typography .apf-native-simple .quantity{float:none!important;margin:0!important;flex:0 0 70px}
body.apf-preview-typography .apf-native-simple input.qty{width:70px!important;min-height:48px!important;padding:10px!important;border:1px solid #d9cbbf!important;border-radius:10px!important;background:white!important;color:#44372e!important;font:500 15px/1.5 "APF Roboto Slab","Roboto Slab",Georgia,serif!important;text-align:center}
body.apf-preview-typography .apf-native-simple .single_add_to_cart_button{float:none!important;flex:1;margin:0!important;padding:14px 18px!important;min-height:48px;border:0!important;border-radius:10px!important;background:#bd2b24!important;color:#fff!important;font:500 15px/1.4 "APF Roboto Slab","Roboto Slab",Georgia,serif!important;letter-spacing:0!important;box-shadow:0 4px 10px #a32b2226;cursor:pointer}
body.apf-preview-typography .apf-native-simple .single_add_to_cart_button:after{display:none!important}
body.apf-preview-typography .apf-native-simple .single_add_to_cart_button.disabled,
body.apf-preview-typography .apf-native-simple .single_add_to_cart_button:disabled{opacity:.45!important}
body.apf-preview-typography .apf-native-simple .aromodal-footer{display:none!important}
body.apf-preview-typography .apf-native-simple #yith-wapo-container:has(>.yith-wapo-block){width:100%}
@media(max-width:700px){body.apf-preview-typography .apf-native-simple .aromodal-dialog{width:calc(100% - 24px)!important;margin:12px auto!important}body.apf-preview-typography .apf-native-simple .aromodal-header{padding:16px 66px 16px 18px!important}body.apf-preview-typography .apf-native-simple .aromodal-header .close{right:16px;top:20px}body.apf-preview-typography .apf-native-simple .aromodal-title{font-size:21px!important}body.apf-preview-typography .apf-native-simple .aromodal-body{padding:18px!important;max-height:calc(100dvh - 130px)}body.apf-preview-typography .apf-native-simple .summary{grid-template-columns:1fr;gap:15px}body.apf-preview-typography .apf-native-simple .fdoe-product-image-wrapper{grid-column:1;grid-row:1}body.apf-preview-typography .apf-native-simple .woocommerce-product-gallery img{aspect-ratio:2.05}body.apf-preview-typography .apf-native-simple .woocommerce-product-details__short-description{grid-column:1;grid-row:2;font-size:13px!important}body.apf-preview-typography .apf-native-simple .fdoe-product-price-wrapper{grid-column:1;grid-row:3}body.apf-preview-typography .apf-native-simple .fdoe-product-add-wrapper{grid-column:1;grid-row:4}}

body.apf-preview-typography .apf-native-simple .apf-native-brand{font-family:"APF Oswald","Oswald",sans-serif}
body.apf-preview-typography .apf-native-simple #yith-wapo-container,
body.apf-preview-typography .apf-native-simple #wc-stripe-express-checkout-element,
body.apf-preview-typography .apf-native-simple #wc-stripe-express-checkout-button-separator{display:none!important}

/* 0.4.1: tarjeta vertical compacta, centrada en el espacio disponible. */
body.apf-preview-typography .apf-native-simple.in-aro{display:flex!important;align-items:center;justify-content:center;padding:20px!important;overflow-y:auto}
body.apf-preview-typography .apf-native-simple .aromodal-dialog{width:100%!important;max-width:440px!important;margin:auto!important;transform:none!important;top:auto!important}
body.apf-preview-typography .apf-native-simple .aromodal-header{padding:16px 68px 16px 20px!important}
body.apf-preview-typography .apf-native-simple .aromodal-body{padding:0 0 22px!important;max-height:calc(100dvh - 160px)}
body.apf-preview-typography .apf-native-simple .summary{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
body.apf-preview-typography .apf-native-simple .fdoe-product-image-wrapper{grid-column:1!important;grid-row:1!important;border-radius:0!important}
body.apf-preview-typography .apf-native-simple .woocommerce-product-gallery__image,
body.apf-preview-typography .apf-native-simple .woocommerce-product-gallery__image a{display:block!important;width:100%!important}
body.apf-preview-typography .apf-native-simple .woocommerce-product-gallery img{height:210px!important;max-height:none!important;width:100%!important;max-width:none!important;aspect-ratio:auto!important;object-fit:cover!important;border-radius:0!important}
body.apf-preview-typography .apf-native-simple .woocommerce-product-details__short-description{grid-column:1!important;grid-row:2!important;padding:0 20px!important}
body.apf-preview-typography .apf-native-simple .fdoe-product-price-wrapper{grid-column:1!important;grid-row:3!important;padding:0 20px!important}
body.apf-preview-typography .apf-native-simple .fdoe-product-add-wrapper{grid-column:1!important;grid-row:4!important;padding:0 20px!important}
body.apf-preview-typography .apf-native-simple .single_add_to_cart_button{border-radius:0!important;text-transform:uppercase!important}
@media(max-width:700px){
body.apf-preview-typography .apf-native-simple.in-aro{padding:12px 12px calc(90px + env(safe-area-inset-bottom,0px))!important}
body.apf-preview-typography .apf-native-simple .aromodal-body{max-height:calc(100dvh - 210px - env(safe-area-inset-bottom,0px))}
body.apf-preview-typography .apf-native-simple .woocommerce-product-gallery img{height:160px!important}
}

/* 0.4.2: neutralizar el ancho heredado de la galería de WooCommerce/Divi. */
body.apf-preview-typography .apf-native-simple .aromodal-body div.product .summary .fdoe-product-image-wrapper,
body.apf-preview-typography .apf-native-simple .aromodal-body div.product .summary .woocommerce-product-gallery,
body.apf-preview-typography .apf-native-simple .aromodal-body div.product .summary .woocommerce-product-gallery__wrapper,
body.apf-preview-typography .apf-native-simple .aromodal-body div.product .summary .woocommerce-product-gallery__image,
body.apf-preview-typography .apf-native-simple .aromodal-body div.product .summary .woocommerce-product-gallery__image>a{display:block!important;width:100%!important;min-width:100%!important;max-width:100%!important;float:none!important;flex:none!important;margin:0!important;padding:0!important}
body.apf-preview-typography .apf-native-simple .aromodal-body div.product .summary .woocommerce-product-gallery__image img{display:block!important;width:100%!important;min-width:100%!important;max-width:100%!important;object-fit:cover!important;object-position:center!important}
@media(max-width:700px){
body.apf-preview-typography .apf-native-simple.in-aro{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))!important}
body.apf-preview-typography .apf-native-simple .aromodal-body{max-height:calc(100dvh - 240px - env(safe-area-inset-bottom,0px))}
}
