/* UBD Modular v1 · 0.6.3 · cumulative authority */
:root{--ubd61-ink:#18333A;--ubd61-muted:#5F7277;--ubd61-paper:#FFFDFC;--ubd61-coral:#EF8050;--ubd61-yellow:#F5D471;--ubd61-green:#BBD68F;--ubd61-teal:#8FC7B0;--ubd61-line:rgba(24,51,58,.10);--ubd61-shadow:0 14px 34px rgba(24,51,58,.09)}

/* Expert: bottom app navigation is part of the approved Modular language, on every viewport. */
html:not(.ubd-mode-simple):not(.ubd-catalog-simple) body .ubd-mod-bottom-nav,
html:not(.ubd-mode-simple):not(.ubd-catalog-simple) body .ubd-catalog-bottom-nav{
  position:fixed!important;left:50%!important;right:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;z-index:2140!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;gap:6px!important;width:min(calc(100vw - 28px),520px)!important;height:66px!important;margin:0!important;padding:7px 10px!important;overflow:visible!important;transform:translateX(-50%)!important;border:1px solid rgba(24,51,58,.10)!important;border-radius:25px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 18px 46px rgba(24,51,58,.18)!important;backdrop-filter:blur(14px)!important
}
html:not(.ubd-mode-simple):not(.ubd-catalog-simple) body .ubd-mod-bottom-nav>* ,
html:not(.ubd-mode-simple):not(.ubd-catalog-simple) body .ubd-catalog-bottom-nav>*{
  display:grid!important;place-items:center!important;width:100%!important;height:48px!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:15px!important;background:transparent!important;color:var(--ubd61-ink)!important;box-shadow:none!important;text-decoration:none!important
}
html:not(.ubd-mode-simple):not(.ubd-catalog-simple) body .ubd-mod-bottom-nav svg,
html:not(.ubd-mode-simple):not(.ubd-catalog-simple) body .ubd-catalog-bottom-nav svg{width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important}
html:not(.ubd-mode-simple):not(.ubd-catalog-simple) body .ubd-mod-bottom-main,
html:not(.ubd-mode-simple):not(.ubd-catalog-simple) body .ubd-catalog-bottom-main{height:58px!important;margin-top:-12px!important;overflow:visible!important;background:#EFC25E!important;color:#4B382E!important;box-shadow:0 10px 24px rgba(239,194,94,.30)!important}
html:not(.ubd-mode-simple):not(.ubd-catalog-simple) body{padding-bottom:max(92px,calc(82px + env(safe-area-inset-bottom)))!important}

/* Index expert: footer + site mode become one coherent closing area. */
html:not(.ubd-mode-simple) body#index .ubd-mod-footer{padding:20px 0 0!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-footer-grid{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;grid-template-areas:'brand links' 'newsletter payments' 'copyright copyright'!important;gap:12px!important;align-items:stretch!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-footer-brand{grid-area:brand!important;grid-row:auto!important;min-height:0!important;padding:22px!important;border:1px solid var(--ubd61-line)!important;border-radius:24px!important;background:#FFF7F0!important;box-shadow:var(--ubd61-shadow)!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-footer-links{grid-area:links!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-footer-links details{min-width:0!important;height:100%!important;margin:0!important;border-radius:18px!important;box-shadow:none!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-newsletter{grid-area:newsletter!important;min-height:0!important;padding:20px!important;border:1px solid var(--ubd61-line)!important;border-radius:22px!important;background:#fff!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-newsletter form{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-newsletter button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:126px!important;background:var(--ubd61-teal)!important;color:#fff!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-payments{grid-area:payments!important;display:grid!important;place-items:center!important;min-height:0!important;padding:20px!important;border:1px solid var(--ubd61-line)!important;border-radius:22px!important;background:#fff!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-payments img{display:block!important;max-width:min(100%,360px)!important;max-height:64px!important;margin:auto!important;object-fit:contain!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-copyright{grid-area:copyright!important;padding:11px 14px!important;border:0!important;background:transparent!important;box-shadow:none!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-site-mode{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:16px!important;width:min(calc(100% - 16px),1200px)!important;margin:12px auto 94px!important;padding:16px 18px!important;border:1px solid var(--ubd61-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 26px rgba(24,51,58,.07)!important}
html:not(.ubd-mode-simple) body#index .ubd-mod-site-mode strong{font-size:18px!important;line-height:1!important}

/* 0.6.3: el hero NO tiene una variante sencilla. Simple y Experto heredan exactamente la misma geometría del hero base. */

/* Expert category: description centered and subcategories are a clean white gallery at the bottom. */
html:not(.ubd-catalog-simple) body#category #left-column,
html:not(.ubd-catalog-simple) body#category #right-column,
html:not(.ubd-catalog-simple) body#category #search_filters_brands,
html:not(.ubd-catalog-simple) body#category #search_filters_suppliers{display:none!important}
html:not(.ubd-catalog-simple) body#category #content-wrapper{width:100%!important;max-width:100%!important;flex:0 0 100%!important;padding-inline:clamp(10px,2vw,24px)!important}
html:not(.ubd-catalog-simple) body#category .ubd-category-description{max-width:1040px!important;margin:0 auto!important;text-align:center!important}
html:not(.ubd-catalog-simple) body#category .ubd-category-description>:first-child{max-width:960px!important;margin-inline:auto!important}
html:not(.ubd-catalog-simple) body#category .ubd-category-description :where(h2,h3,h4,p,li,strong,a){text-align:center!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-bottom{width:100%!important;margin:28px 0 4px!important;padding:22px!important;border:1px solid var(--ubd61-line)!important;border-radius:24px!important;background:#FBFAF8!important;box-shadow:0 10px 28px rgba(24,51,58,.05)!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-head{display:block!important;margin:0 0 18px!important;text-align:center!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-head span{display:block!important;margin-bottom:5px!important;color:#C75D3C!important;font-size:10px!important;font-weight:900!important;letter-spacing:.11em!important;text-transform:uppercase!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-head h2{margin:0!important;color:var(--ubd61-ink)!important;font-size:clamp(22px,3vw,32px)!important;line-height:1!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories .subcategory-list{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important;list-style:none!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories .subcategory-list>li{min-width:0!important;margin:0!important;padding:0!important;list-style:none!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories a{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;height:100%!important;padding:14px 8px!important;border:1px solid rgba(24,51,58,.08)!important;border-radius:20px!important;background:#fff!important;color:var(--ubd61-ink)!important;text-align:center!important;text-decoration:none!important;box-shadow:0 7px 18px rgba(24,51,58,.05)!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories .subcategory-image{display:grid!important;place-items:center!important;width:106px!important;height:106px!important;padding:8px!important;overflow:hidden!important;border:1px solid rgba(24,51,58,.08)!important;border-radius:50%!important;background:#fff!important;box-shadow:0 8px 20px rgba(24,51,58,.07)!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories .subcategory-image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:auto!important;border-radius:50%!important;object-fit:contain!important;object-position:center!important;background:#fff!important}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories .subcategory-name{min-height:34px!important;color:var(--ubd61-ink)!important;font-size:12px!important;font-weight:900!important;line-height:1.2!important}
@media(max-width:1100px){html:not(.ubd-catalog-simple) body#category .ubd-subcategories .subcategory-list{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:699px){html:not(.ubd-catalog-simple) body#category .ubd-subcategories .subcategory-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}html:not(.ubd-catalog-simple) body#category .ubd-subcategories .subcategory-image{width:92px!important;height:92px!important}}

/* Expert product: native gallery modal is fully interactive again. */
html:not(.ubd-catalog-simple) body#product #product-modal{z-index:2147483000!important;padding:12px!important}
html:not(.ubd-catalog-simple) body#product #product-modal .modal-dialog{width:min(96vw,1180px)!important;max-width:min(96vw,1180px)!important;margin:1.5vh auto!important}
html:not(.ubd-catalog-simple) body#product #product-modal .modal-content{overflow:hidden!important;border:0!important;border-radius:24px!important;background:#fff!important;box-shadow:0 30px 90px rgba(0,0,0,.32)!important}
html:not(.ubd-catalog-simple) body#product #product-modal .modal-header{display:flex!important;justify-content:flex-end!important;min-height:54px!important;padding:8px 12px!important;border:0!important}
html:not(.ubd-catalog-simple) body#product #product-modal .modal-header .close{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#F6F2EE!important;color:var(--ubd61-ink)!important;font-size:28px!important;opacity:1!important}
html:not(.ubd-catalog-simple) body#product #product-modal .modal-body{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 118px!important;gap:16px!important;align-items:center!important;min-height:70vh!important;padding:14px 18px 20px!important;background:#fff!important}
html:not(.ubd-catalog-simple) body#product #product-modal figure{display:grid!important;place-items:center!important;min-width:0!important;margin:0!important;padding:0!important}
html:not(.ubd-catalog-simple) body#product #product-modal .js-modal-product-cover{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:76vh!important;margin:auto!important;object-fit:contain!important;object-position:center!important}
html:not(.ubd-catalog-simple) body#product #product-modal .image-caption{display:none!important}
html:not(.ubd-catalog-simple) body#product #product-modal #thumbnails{display:block!important;min-width:0!important;max-height:72vh!important;overflow:auto!important}
html:not(.ubd-catalog-simple) body#product #product-modal .product-images{display:grid!important;gap:8px!important;margin:0!important;padding:0!important;list-style:none!important}
html:not(.ubd-catalog-simple) body#product #product-modal .thumb-container{display:block!important;margin:0!important;padding:0!important}
html:not(.ubd-catalog-simple) body#product #product-modal .js-modal-thumb{display:block!important;width:86px!important;height:86px!important;padding:4px!important;border:2px solid transparent!important;border-radius:14px!important;background:#fff!important;object-fit:contain!important;cursor:pointer!important}
html:not(.ubd-catalog-simple) body#product #product-modal .js-modal-thumb.selected{border-color:var(--ubd61-coral)!important}
html:not(.ubd-catalog-simple) body#product #product-modal .js-modal-arrows{display:none!important}
html:not(.ubd-catalog-simple) body#product #product-modal .ubd-modal-gallery-nav{position:absolute!important;top:50%!important;z-index:8!important;display:grid!important;place-items:center!important;width:46px!important;height:46px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:var(--ubd61-ink)!important;box-shadow:0 10px 24px rgba(24,51,58,.18)!important;transform:translateY(-50%)!important}
html:not(.ubd-catalog-simple) body#product #product-modal .ubd-modal-gallery-prev{left:24px!important}.ubd-modal-gallery-next{right:142px!important}

/* Product description: always visible; old nav/tab chrome is gone. */
html:not(.ubd-catalog-simple) body#product .tvproduct-description-tab{display:none!important}
html:not(.ubd-catalog-simple) body#product .ubd-product-content-stack{display:grid!important;gap:16px!important;width:100%!important;margin-top:20px!important}
html:not(.ubd-catalog-simple) body#product .ubd-product-description-always,
html:not(.ubd-catalog-simple) body#product .ubd-product-extra-content,
html:not(.ubd-catalog-simple) body#product .ubd-product-attachments,
html:not(.ubd-catalog-simple) body#product .ubd-product-reviews-content{width:100%!important;padding:clamp(18px,3vw,28px)!important;border:1px solid var(--ubd61-line)!important;border-radius:22px!important;background:#fff!important;color:var(--ubd61-ink)!important;box-shadow:0 10px 28px rgba(24,51,58,.05)!important}
html:not(.ubd-catalog-simple) body#product .ubd-product-description-always :where(p,li,span,strong,a){color:inherit!important;line-height:1.6!important}

/* Product purchase info: Puntos + Kueski always side-by-side. PayPal stays alone and centered. */
html:not(.ubd-catalog-simple) body#product .tvwishlist-compare-wrapper-page{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
html:not(.ubd-catalog-simple) body#product .tvcart-btn-model{grid-column:1/-1!important}
html:not(.ubd-catalog-simple) body#product .tvproduct-stock-social,
html:not(.ubd-catalog-simple) body#product .product-additional-info{display:contents!important}
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper,
html:not(.ubd-catalog-simple) body#product .product-additional-info>.row:has(kueskipay-widget){grid-column:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:176px!important;height:100%!important;margin:0!important;padding:44px 16px 16px!important;overflow:hidden!important;border:1px solid rgba(24,51,58,.09)!important;border-radius:22px!important;box-shadow:0 10px 26px rgba(24,51,58,.07)!important}
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper{background:#F7D878!important}
html:not(.ubd-catalog-simple) body#product .product-additional-info>.row:has(kueskipay-widget){background:#C6DEA4!important}
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper::before,
html:not(.ubd-catalog-simple) body#product .product-additional-info>.row:has(kueskipay-widget)::before{top:12px!important;left:14px!important;padding:6px 10px!important;background:rgba(255,255,255,.88)!important;color:var(--ubd61-ink)!important;font-size:10px!important;font-weight:950!important;letter-spacing:.05em!important}
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .loyalty-card-modern{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;align-items:center!important;gap:13px!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .loyalty-icon-container{display:grid!important;place-items:center!important;width:54px!important;height:54px!important;margin:0!important;border-radius:17px!important;background:rgba(255,255,255,.76)!important}
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .loyalty-content-detail{min-width:0!important}
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .loyalty-main-msg{margin:0 0 6px!important;color:var(--ubd61-ink)!important;font-size:clamp(14px,1.5vw,18px)!important;font-weight:900!important;line-height:1.2!important}
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .loyalty-sub-msg{margin:0!important;color:#536267!important;font-size:clamp(11px,1.1vw,14px)!important;font-weight:650!important;line-height:1.45!important}
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .points-badge,
html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .voucher-value{color:#E97935!important;font-weight:950!important}
html:not(.ubd-catalog-simple) body#product .product-additional-info>.row:has(kueskipay-widget)>[class*=col-]{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;padding:0!important}
html:not(.ubd-catalog-simple) body#product kueskipay-widget{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;color:var(--ubd61-ink)!important}
html:not(.ubd-catalog-simple) body#product #ps_checkout-payment-method-logo-block-container{grid-column:1/-1!important;display:grid!important;place-items:center!important;width:100%!important;min-height:150px!important;margin:0!important;padding:44px 18px 18px!important;border:1px solid rgba(70,126,177,.18)!important;border-radius:22px!important;background:#F0F7FD!important;box-shadow:0 10px 26px rgba(24,51,58,.06)!important;text-align:center!important}
html:not(.ubd-catalog-simple) body#product #ps_checkout-payment-method-logo-block-container::before{content:'Pago seguro'!important;top:12px!important;left:14px!important;background:#E0F0FF!important;color:#174F83!important}
html:not(.ubd-catalog-simple) body#product #ps_checkout-payment-method-logo-block-title{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;margin:0 auto 12px!important;color:#174F83!important;text-align:center!important}
html:not(.ubd-catalog-simple) body#product #ps_checkout-payment-method-logos-container{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:10px!important;width:100%!important;margin:0 auto!important;text-align:center!important}
html:not(.ubd-catalog-simple) body#product #ps_checkout-payment-method-logos-container :where(.paypal-mark,.paypal-marks,div){margin-inline:auto!important;text-align:center!important}
@media(max-width:620px){html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper,html:not(.ubd-catalog-simple) body#product .product-additional-info>.row:has(kueskipay-widget){min-height:166px!important;padding:40px 10px 12px!important;border-radius:18px!important}html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .loyalty-card-modern{grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;gap:7px!important}html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .loyalty-icon-container{width:42px!important;height:42px!important}html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .loyalty-main-msg{font-size:12px!important}html:not(.ubd-catalog-simple) body#product #loyalty_product_wrapper .loyalty-sub-msg{font-size:10px!important;line-height:1.35!important}}

/* Expert cart: real side padding and delete button stays inside its card. */
html:not(.ubd-catalog-simple) body#cart .cart-grid{width:min(100%,1460px)!important;margin:0 auto!important;padding-inline:clamp(10px,2vw,24px)!important;box-sizing:border-box!important}
html:not(.ubd-catalog-simple) body#cart .cart-grid-body,
html:not(.ubd-catalog-simple) body#cart .cart-grid-right{min-width:0!important;padding-inline:8px!important}
html:not(.ubd-catalog-simple) body#cart .cart-overview{padding:0 clamp(10px,1.5vw,18px) 18px!important;overflow:visible!important}
html:not(.ubd-catalog-simple) body#cart .cart-items{margin:0!important;padding:0!important;list-style:none!important}
html:not(.ubd-catalog-simple) body#cart .cart-item{box-sizing:border-box!important;width:100%!important;margin:0 0 16px!important;padding:clamp(14px,1.8vw,20px)!important;overflow:hidden!important;border:1px solid var(--ubd61-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 10px 26px rgba(24,51,58,.05)!important}
html:not(.ubd-catalog-simple) body#cart .product-line-grid{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
html:not(.ubd-catalog-simple) body#cart .tv-cart-delete-icon-wrapper{display:flex!important;align-items:center!important;justify-content:flex-end!important;min-width:50px!important;padding-right:4px!important}
html:not(.ubd-catalog-simple) body#cart .cart-line-product-actions{display:flex!important;justify-content:flex-end!important;width:100%!important}
html:not(.ubd-catalog-simple) body#cart .remove-from-cart{position:static!important;display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;margin:0!important;padding:0!important;border-radius:14px!important;background:#FFF0E7!important;color:#E8734F!important;text-decoration:none!important}
html:not(.ubd-catalog-simple) body#cart .remove-from-cart i{margin:0!important;color:#E8734F!important}
@media(max-width:767px){html:not(.ubd-catalog-simple) body#cart .cart-grid{padding-inline:7px!important}html:not(.ubd-catalog-simple) body#cart .cart-grid-body,html:not(.ubd-catalog-simple) body#cart .cart-grid-right{padding-inline:0!important}html:not(.ubd-catalog-simple) body#cart .cart-overview{padding-inline:7px!important}html:not(.ubd-catalog-simple) body#cart .cart-item{padding:12px!important}}

/* Cart success popup: presentation only, native add-to-cart remains untouched. */
.ubd-cart-success-backdrop{position:fixed;inset:0;z-index:2147482500;display:grid;place-items:center;padding:16px;background:rgba(24,51,58,.42);backdrop-filter:blur(5px)}
.ubd-cart-success{position:relative;width:min(94vw,620px);max-height:min(86vh,760px);overflow:auto;padding:22px;border-radius:26px;background:#fff;color:var(--ubd61-ink);box-shadow:0 30px 90px rgba(0,0,0,.28)}
.ubd-cart-success-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:#F6F2EE;color:var(--ubd61-ink);font-size:22px}
.ubd-cart-success-head{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:center;padding-right:42px}.ubd-cart-success-head img{width:76px;height:76px;padding:6px;border-radius:18px;background:#FFF7F0;object-fit:contain}.ubd-cart-success-kicker{display:inline-flex;margin-bottom:5px;color:#4B8D74;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.ubd-cart-success h2{margin:0;color:var(--ubd61-ink);font-size:clamp(24px,5vw,38px);line-height:.95}.ubd-cart-success-meta{margin:7px 0 0;color:#60757A;font-size:12px;font-weight:700}.ubd-cart-success-attrs{display:grid;gap:7px;margin:16px 0 0;padding:14px;border-radius:18px;background:#FBFAF8}.ubd-cart-success-attrs:empty{display:none}.ubd-cart-success-attr{display:grid;grid-template-columns:minmax(90px,.4fr) minmax(0,1fr);gap:10px;color:#52676C;font-size:11px;line-height:1.35}.ubd-cart-success-attr strong{color:var(--ubd61-ink)}.ubd-cart-success-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.ubd-cart-success-actions>*{display:flex;align-items:center;justify-content:center;min-height:50px;padding:11px 14px;border:0;border-radius:15px;font-size:12px;font-weight:900;text-decoration:none}.ubd-cart-success-continue{background:#F6F2EE;color:var(--ubd61-ink)}.ubd-cart-success-cart{background:var(--ubd61-coral);color:#fff!important}.ubd-cart-success-backdrop[hidden]{display:none!important}
@media(max-width:520px){.ubd-cart-success{padding:18px}.ubd-cart-success-head{grid-template-columns:64px minmax(0,1fr)}.ubd-cart-success-head img{width:64px;height:64px}.ubd-cart-success-actions{grid-template-columns:1fr}}

/* 0.6.1 refinements: expert nav must not wait for landing interaction. */
html:not(.ubd-mode-simple).ubd-landing-nav-pending body#index #ubd-modular-bonito .ubd-mod-bottom-nav,
html:not(.ubd-mode-simple) body#index #ubd-modular-bonito .ubd-mod-bottom-nav.ubd-nav-hidden{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateX(-50%)!important
}
html.ubd-catalog-simple body#product .ubd-product-content-stack{display:none!important}

@media(max-width:699px){
  html:not(.ubd-catalog-simple) body#product #product-modal{padding:6px!important}
  html:not(.ubd-catalog-simple) body#product #product-modal .modal-dialog{width:100%!important;max-width:100%!important;margin:1vh auto!important}
  html:not(.ubd-catalog-simple) body#product #product-modal .modal-body{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;gap:10px!important;min-height:72vh!important;padding:8px 10px 14px!important}
  html:not(.ubd-catalog-simple) body#product #product-modal #thumbnails{max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important}
  html:not(.ubd-catalog-simple) body#product #product-modal .product-images{display:flex!important;gap:7px!important;width:max-content!important;min-width:100%!important}
  html:not(.ubd-catalog-simple) body#product #product-modal .js-modal-thumb{width:68px!important;height:68px!important}
  html:not(.ubd-catalog-simple) body#product #product-modal .ubd-modal-gallery-prev{left:14px!important}
  html:not(.ubd-catalog-simple) body#product #product-modal .ubd-modal-gallery-next{right:14px!important}
}


/* ==========================================================================
   UBD Modular v1 · 0.6.2 FINAL OVERRIDES
   ========================================================================== */

/* CATEGORÍA · Miniaturas visuales ARRIBA, junto al título. */
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top{
  width:100%!important;
  margin:0!important;
  padding:16px clamp(12px,2vw,20px)!important;
  overflow:hidden!important;
  border:1px solid var(--ubd61-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(24,51,58,.05)!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .ubd-subcategories-head{
  display:flex!important;
  align-items:end!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 14px!important;
  text-align:left!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .ubd-subcategories-head span{
  margin:0!important;
  color:#C75D3C!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .ubd-subcategories-head h2{
  margin:0!important;
  color:var(--ubd61-ink)!important;
  font-size:clamp(18px,2.2vw,26px)!important;
  line-height:1!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-list{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  list-style:none!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-list>li{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top a{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
  padding:4px 4px 8px!important;
  color:var(--ubd61-ink)!important;
  text-align:center!important;
  text-decoration:none!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-image{
  display:grid!important;
  place-items:center!important;
  width:clamp(74px,8vw,112px)!important;
  height:clamp(74px,8vw,112px)!important;
  margin:0 auto!important;
  padding:7px!important;
  overflow:hidden!important;
  border:1px solid rgba(24,51,58,.09)!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 8px 18px rgba(24,51,58,.06)!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-image:empty::before{
  content:'🎁';
  font-size:26px;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:auto!important;
  border-radius:50%!important;
  background:#fff!important;
  object-fit:contain!important;
  object-position:center!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-name{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  min-height:2.45em!important;
  overflow:hidden!important;
  color:var(--ubd61-ink)!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1.22!important;
  text-align:center!important;
  text-wrap:balance!important;
}

/* CATEGORÍA · Al final solamente enlaces de texto, en columnas. */
html:not(.ubd-catalog-simple) body#category .ubd-subcategory-links-bottom{
  width:100%!important;
  margin:30px 0 6px!important;
  padding:20px clamp(16px,2.5vw,28px)!important;
  border-top:1px solid var(--ubd61-line)!important;
  border-bottom:1px solid var(--ubd61-line)!important;
  background:#fff!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategory-links-head{
  margin-bottom:14px!important;
  text-align:center!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategory-links-head span{
  display:block!important;
  margin-bottom:4px!important;
  color:#C75D3C!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategory-links-head h2{
  margin:0!important;
  color:var(--ubd61-ink)!important;
  font-size:clamp(19px,2.4vw,28px)!important;
  line-height:1!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategory-links-bottom ul{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px 18px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategory-links-bottom li{
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategory-links-bottom a{
  display:block!important;
  padding:7px 2px!important;
  color:var(--ubd61-muted)!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.3!important;
  text-align:center!important;
  text-decoration:none!important;
}
html:not(.ubd-catalog-simple) body#category .ubd-subcategory-links-bottom a:hover{
  color:#C75D3C!important;
  text-decoration:underline!important;
}

/* La descripción se mantiene centrada. */
html:not(.ubd-catalog-simple) body#category .ubd-category-description,
html:not(.ubd-catalog-simple) body#category .ubd-category-description :where(h2,h3,h4,h5,h6,p,li,strong,a,span){
  text-align:center!important;
}

/* Marcas / Proveedores: respaldo CSS. El JS 0.6.2 también retira bloques dinámicos. */
html:not(.ubd-catalog-simple) body#category :is(
  #search_filters_brands,#search_filters_suppliers,
  .block-categories-brand,.block-categories-supplier,
  [data-ubd-legacy-brand-supplier]
){display:none!important}

/* CARRITO · la acción de borrar vive ABAJO y dentro de la tarjeta. */
html:not(.ubd-catalog-simple) body#cart .product-line-grid-right.product-line-actions{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
}
html:not(.ubd-catalog-simple) body#cart .ubd-cart-quantity-row{
  width:100%!important;
  margin:0!important;
}
html:not(.ubd-catalog-simple) body#cart .ubd-cart-line-bottom-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
  max-width:100%!important;
  margin:12px 0 0!important;
  padding:10px 0 0!important;
  overflow:hidden!important;
  border-top:1px solid rgba(24,51,58,.08)!important;
  box-sizing:border-box!important;
}
html:not(.ubd-catalog-simple) body#cart .ubd-cart-line-bottom-actions .cart-line-product-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
html:not(.ubd-catalog-simple) body#cart .ubd-cart-line-bottom-actions .remove-from-cart{
  position:static!important;
  inset:auto!important;
  flex:0 0 44px!important;
  width:44px!important;
  max-width:44px!important;
  height:44px!important;
  margin:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}
html:not(.ubd-catalog-simple) body#cart .tv-cart-delete-icon-wrapper{display:none!important}

/* SIMPLE · El HERO es EXACTAMENTE el mismo componente visual que Experto.
   Sólo se neutralizan las reglas que antes modificaban su composición. */
html.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-search{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
}
html.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-copy>.ubd-mod-hero-chips>a:first-child{
  display:inline-flex!important;
}
html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media{
  place-items:stretch end!important;
  box-sizing:content-box!important;
}
html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media>a{
  position:absolute!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  overflow:visible!important;
}
html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media img.ubd-hero-slide{
  position:absolute!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:auto!important;
  width:auto!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:right center!important;
}

/* Desktop: mismos valores que el hero experto vigente. */
@media(min-width:700px){
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero{
    position:relative!important;
    display:block!important;
    min-height:clamp(610px,72vw,760px)!important;
    height:auto!important;
    overflow:hidden!important;
    isolation:isolate!important;
    background:var(--mb-paper)!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-copy{
    position:relative!important;
    z-index:2!important;
    display:grid!important;
    order:initial!important;
    align-content:center!important;
    width:min(50%,650px)!important;
    min-height:clamp(610px,72vw,760px)!important;
    height:auto!important;
    padding:clamp(40px,6vw,78px) clamp(22px,5vw,70px)!important;
    padding-right:clamp(14px,2vw,30px)!important;
    background:transparent!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media{
    position:absolute!important;
    inset:0!important;
    z-index:0!important;
    order:initial!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:0!important;
    overflow:visible!important;
    opacity:1!important;
    background:transparent!important;
    pointer-events:auto!important;
  }
}

/* Móvil: mismos valores que el hero experto vigente (slide primero). */
@media(max-width:699px){
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
    height:auto!important;
    padding:12px!important;
    overflow:visible!important;
    background:var(--mb-paper)!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media{
    position:relative!important;
    inset:auto!important;
    z-index:1!important;
    order:1!important;
    display:block!important;
    width:100%!important;
    min-height:clamp(330px,96vw,510px)!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:20px!important;
    opacity:1!important;
    isolation:isolate!important;
    background:transparent!important;
    pointer-events:auto!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media>a{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media img.ubd-hero-slide,
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media>a img{
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    width:auto!important;
    height:100%!important;
    max-width:none!important;
    object-fit:contain!important;
    object-position:right bottom!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-copy{
    position:relative!important;
    z-index:2!important;
    order:2!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    padding:24px 15px 18px!important;
    align-content:start!important;
    background:transparent!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-copy>.ubd-mod-hero-buttons{
    display:none!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media .ubd-mod-hero-chips-mobile{
    position:absolute!important;
    right:clamp(14px,4vw,22px)!important;
    bottom:82px!important;
    left:clamp(14px,4vw,22px)!important;
    z-index:13!important;
    display:grid!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media .ubd-mod-hero-buttons-mobile{
    position:absolute!important;
    right:clamp(16px,5vw,26px)!important;
    bottom:18px!important;
    left:clamp(16px,5vw,26px)!important;
    z-index:12!important;
    display:grid!important;
  }
}
@media(max-width:389px){
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media{
    min-height:clamp(320px,103vw,430px)!important;
  }
  html.ubd-modular-ready.ubd-mode-simple body#index #ubd-modular-bonito .ubd-mod-hero-media .ubd-mod-hero-chips-mobile{
    bottom:78px!important;
  }
}

/* Responsive category */
@media(max-width:980px){
  html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-list{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top{
    padding:14px 10px!important;
  }
  html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-list{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 2px 7px!important;
    scrollbar-width:none!important;
    scroll-snap-type:x proximity!important;
  }
  html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-list::-webkit-scrollbar{display:none!important}
  html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-list>li{
    flex:0 0 94px!important;
    width:94px!important;
    scroll-snap-align:start!important;
  }
  html:not(.ubd-catalog-simple) body#category .ubd-subcategories-top .subcategory-image{
    width:78px!important;
    height:78px!important;
  }
  html:not(.ubd-catalog-simple) body#category .ubd-subcategory-links-bottom ul{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px 12px!important;
  }
}
