/*
Theme Name: Dunamis Store V1.5
Author: Dunamis Bolivia
Description: Tema WooCommerce independiente basado en el diseño oficial aprobado de Dunamis Store. Productos, marcas y categorías dinámicos.
Version: 3.8
Requires PHP: 7.4
Text Domain: dunamis-store
*/
:root{--ds-blue:#0756c5;--ds-navy:#063b84;--ds-ink:#101d32;--ds-muted:#617086;--ds-line:#e2eaf5}*{box-sizing:border-box}body{margin:0;color:var(--ds-ink);font-family:Arial,Helvetica,sans-serif;background:#fff}a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}.ds-container{width:min(100% - 40px,1280px);margin:auto}.ds-top{background:linear-gradient(100deg,#073b81,#0752ae);color:white;font-size:12px;padding:10px 0}.ds-top .ds-container{display:flex;justify-content:space-between;gap:20px}.ds-header{background:white}.ds-headrow{display:flex;align-items:center;gap:30px;padding:18px 0}.ds-brand{flex:0 0 220px}.ds-logo{display:block;width:auto;max-width:220px;max-height:73px;object-fit:contain}.ds-logo-text{font-size:26px;color:#073b81;font-style:italic}.ds-search{flex:1;min-width:190px}.ds-search .dgwt-wcas-search-wrapp{max-width:none!important;width:100%!important}.ds-search input[type=search],.ds-search input[type=text]{width:100%;border:1px solid #bdd0eb;border-radius:7px;padding:13px;font-size:14px}.ds-search button[type=submit]{background:var(--ds-blue);color:white;border:0;border-radius:5px;padding:12px}.ds-corporate{display:flex;align-items:center;gap:10px;padding:11px 17px;border-radius:10px;background:linear-gradient(120deg,#0871df,#063a84);color:white;white-space:nowrap;font-size:22px;box-shadow:0 3px 8px #07448b30}.ds-corporate span{font-size:14px;font-weight:700}.ds-corporate small{display:block;font-size:10px;font-weight:400}.ds-socials{display:flex;align-items:center;gap:10px}.ds-socials a{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;color:white;font-size:20px;font-weight:800;line-height:1}.ds-social-facebook{background:#0866ff}.ds-social-instagram{background:linear-gradient(30deg,#ffbb00,#f20b67,#8a32d8)}.ds-social-youtube{background:#f00}.ds-social-tiktok{background:#08090d}.ds-nav{border-top:1px solid #e9eff8;border-bottom:1px solid #e9eff8;background:#fff}.ds-navrow{display:flex;align-items:center;gap:18px;min-height:53px}.ds-menu-toggle{background:var(--ds-blue);color:#fff;border:0;border-radius:7px;padding:13px 16px;white-space:nowrap;font-weight:700}.ds-navlinks{display:flex;align-items:center;gap:15px;flex:1}.ds-navlinks a{font-size:13px;font-weight:700;white-space:nowrap}.ds-navlinks a:hover,.ds-section-head a:hover{color:var(--ds-blue)}.ds-account-cart{display:flex;gap:15px;white-space:nowrap;font-size:13px;font-weight:700}.ds-cart-count{display:inline-grid;place-items:center;background:#f01728;color:#fff;border-radius:20px;min-width:18px;height:18px;font-size:11px}.ds-main{padding-top:15px}.ds-hero{position:relative;overflow:hidden;border-radius:12px;background:#051c42 url('assets/stage.png') center/cover;color:#fff;min-height:310px}.ds-slides{display:flex;transition:transform .5s ease}.ds-slide{flex:0 0 100%;min-width:0;display:grid;grid-template-columns:48% 52%;align-items:center;min-height:350px;padding:30px 8%;gap:15px}.ds-slide-copy{position:relative;z-index:2}.ds-eyebrow{color:#83ccff;letter-spacing:2px;font-size:12px;font-weight:700}.ds-slide h1,.ds-hero-empty h1{font-size:clamp(30px,3.6vw,52px);line-height:1.1;margin:12px 0}.ds-slide p{font-size:18px;line-height:1.45;max-width:430px}.ds-slide-image{display:grid;place-items:center;height:290px}.ds-slide-image img{max-width:100%;max-height:290px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 18px 15px #0009)}.ds-button{display:inline-block;padding:13px 23px;background:#f39213;color:white;border-radius:24px;font-weight:800}.ds-hero-prev,.ds-hero-next{position:absolute;top:48%;transform:translateY(-50%);border:0;border-radius:50%;width:38px;height:38px;background:#ffffffe8;color:#0754b8;font-size:18px;z-index:3}.ds-hero-prev{left:13px}.ds-hero-next{right:13px}.ds-dots{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);display:flex;gap:7px}.ds-dots button{width:10px;height:10px;border-radius:50%;border:0;background:#fff9;padding:0}.ds-dots button.active{background:#0d7bff}.ds-hero-empty{padding:65px 9%}.ds-hero-empty>div{max-width:600px}.ds-admin-note{font-size:12px;color:#b9dcff}.ds-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:15px 0;border-bottom:1px solid var(--ds-line)}.ds-benefits>div{display:flex;align-items:center;justify-content:center;gap:12px;border-right:1px solid var(--ds-line)}.ds-benefits>div:last-child{border:0}.ds-benefits span{font-size:35px;color:var(--ds-blue)}.ds-benefits p{margin:0}.ds-benefits strong,.ds-benefits small{display:block}.ds-benefits strong{font-size:13px}.ds-benefits small{font-size:12px;color:var(--ds-muted);margin-top:4px}.ds-section{padding:24px 0 6px}.ds-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.ds-section-head h2{font-size:25px;letter-spacing:-.5px;margin:0}.ds-section-head a{font-size:13px;color:var(--ds-blue);font-weight:700}.ds-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.ds-category{background:linear-gradient(#fff,#f6faff);border:1px solid var(--ds-line);border-radius:11px;min-width:0;text-align:center;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-height:156px}.ds-category img{width:100%;height:104px;object-fit:contain}.ds-category-placeholder{height:104px;display:grid;place-items:center;font-size:45px;color:var(--ds-blue)}.ds-category strong{font-size:13px;line-height:1.3;padding:5px 0}.ds-product-grid ul.products,.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0!important;padding:0!important}.ds-product-grid ul.products li.product,.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:12px!important;border:1px solid var(--ds-line);border-radius:11px;min-width:0;text-align:left!important;list-style:none;position:relative}.woocommerce ul.products li.product a img{width:100%;height:175px;object-fit:contain;margin:0 0 10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.4;min-height:38px;color:var(--ds-ink)}.woocommerce ul.products li.product .price{font-size:16px!important;font-weight:800!important;color:#14243b!important}.woocommerce ul.products li.product .button{background:var(--ds-blue);color:#fff;border-radius:5px;text-align:center;display:block;font-size:12px;padding:11px 5px;margin-top:12px}.woocommerce span.onsale{background:#ec293d}.ds-brands{display:flex;align-items:center;gap:25px;overflow-x:auto;padding:15px 4px 25px;scrollbar-width:thin}.ds-brands a{flex:0 0 112px;display:grid;place-items:center;min-height:66px;text-align:center}.ds-brands img{max-width:110px;max-height:58px;width:auto;height:auto;object-fit:contain}.ds-brands span{font-size:16px;font-weight:900}.ds-footer{margin-top:30px;background:linear-gradient(120deg,#063a83,#0650a6);color:white;padding:33px 0 12px}.ds-footer-grid{display:grid;grid-template-columns:1.4fr .8fr 1fr 1fr 1.1fr;gap:25px}.ds-footer-grid h3{font-size:16px;margin:0 0 16px}.ds-footer-grid p{font-size:13px;line-height:1.5}.ds-footer-grid a:not(.ds-footer-logo):not(.ds-footer-corp){display:block;font-size:13px;margin:9px 0}.ds-footer .ds-socials{margin-top:16px}.ds-footer .ds-socials a{display:grid!important;margin:0!important}.ds-footer-logo img{max-width:190px;max-height:70px;filter:brightness(0) invert(1)}.ds-footer-corp{display:block;margin-top:22px;padding:12px;border:1px solid white;border-radius:8px;text-align:center;font-weight:700}.ds-footer-corp small{font-weight:400}.ds-copyright{border-top:1px solid #ffffff30;padding-top:12px;margin-top:25px;font-size:11px;color:#d4e8ff}.woocommerce .woocommerce-breadcrumb{padding:18px 0}.content{padding-top:26px;min-height:45vh}.woocommerce div.product{padding:22px 0}.woocommerce .quantity .qty{padding:8px}.woocommerce div.product form.cart .button,.woocommerce .checkout-button{background:var(--ds-blue)!important;color:#fff!important}.ds-navlinks a:focus-visible,.ds-button:focus-visible{outline:3px solid #f4a600}
@media(max-width:1120px){.ds-headrow{gap:15px}.ds-brand{flex-basis:170px}.ds-logo{max-width:170px}.ds-navlinks{gap:9px}.ds-navlinks a{font-size:12px}.ds-corporate{padding:10px}.ds-socials{gap:5px}.ds-socials a{width:32px;height:32px}.ds-footer-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.ds-top{display:none}.ds-headrow{flex-wrap:wrap}.ds-brand{flex-basis:170px}.ds-search{order:3;flex-basis:100%}.ds-corporate{margin-left:auto}.ds-navrow{flex-wrap:wrap;padding:7px 0}.ds-menu-toggle{font-size:13px}.ds-navlinks{display:none;order:3;flex-basis:100%;flex-wrap:wrap;padding:10px 0}.ds-navlinks.ds-open{display:flex}.ds-account-cart{margin-left:auto}.ds-slide{min-height:300px}.ds-slide-image{height:245px}.ds-slide-image img{max-height:245px}.ds-benefits{grid-template-columns:repeat(2,1fr);row-gap:16px}.ds-benefits>div:nth-child(2){border:0}.ds-categories{grid-template-columns:repeat(3,1fr)}.ds-product-grid ul.products,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.ds-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.ds-container{width:min(100% - 24px,1280px)}.ds-headrow{gap:9px;padding:11px 0}.ds-brand{flex-basis:125px}.ds-logo{max-width:125px;max-height:55px}.ds-corporate{padding:8px;font-size:17px}.ds-corporate span{font-size:11px}.ds-corporate small{font-size:8px}.ds-socials{width:100%;justify-content:flex-end}.ds-search{min-width:100%}.ds-navrow{gap:8px}.ds-account-cart{gap:8px;font-size:12px}.ds-account-cart a span:not(.ds-cart-count){display:none}.ds-menu-toggle{padding:11px}.ds-hero{min-height:0}.ds-slide{display:flex;flex-direction:column-reverse;text-align:center;justify-content:center;min-height:340px;padding:22px 35px 34px;gap:0}.ds-slide-image{height:165px;width:100%}.ds-slide-image img{max-height:165px}.ds-slide h1{font-size:25px}.ds-slide p{font-size:13px}.ds-eyebrow{font-size:10px}.ds-button{padding:10px 15px;font-size:13px}.ds-benefits{gap:10px}.ds-benefits>div{justify-content:flex-start;gap:6px}.ds-benefits span{font-size:23px}.ds-benefits strong{font-size:11px}.ds-benefits small{font-size:10px}.ds-section-head h2{font-size:21px}.ds-section-head a{font-size:11px}.ds-categories{grid-template-columns:repeat(2,1fr)}.ds-product-grid ul.products,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce ul.products li.product a img{height:130px}.ds-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ds-footer-grid>div:first-child{grid-column:1/-1}}

/* V1.2: enforce centered responsive layout for legacy WordPress and Reno sliders */
html,body{max-width:100%;overflow-x:clip}body{min-width:0}img,video,iframe{max-width:100%;height:auto}.wrap,.content,.site-main,.entry-content,.woocommerce-page .content{width:min(calc(100% - 40px),1280px)!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;min-width:0}
.ds-main,.ds-section,.ds-product-grid{min-width:0;max-width:100%}.ds-section{overflow:hidden}.ds-section .woocommerce,.ds-section .woocommerce ul.products{max-width:100%}
/* Reno plugin can inject fixed widths and floats; constrain cards and carousel within the section */
.ds-reno-wrap{width:100%;max-width:100%;min-width:0;overflow:hidden;position:relative}.ds-reno-wrap img{max-width:100%!important;height:auto!important;object-fit:contain!important}.ds-reno-wrap ul.products li.product{box-sizing:border-box!important;max-width:100%!important;min-width:0!important}.ds-reno-wrap .owl-carousel,.ds-reno-wrap .slick-slider,.ds-reno-wrap .swiper,.ds-reno-wrap .rps-slider,.ds-reno-wrap .rps-carousel{max-width:100%!important;min-width:0!important;overflow:hidden!important}.ds-reno-wrap .owl-item img,.ds-reno-wrap .slick-slide img{max-height:175px!important;object-fit:contain!important}.ds-reno-wrap .woocommerce-loop-product__title{font-size:13px!important;line-height:1.35!important}.ds-reno-wrap .products li.product{font-size:13px!important}
.woocommerce ul.products li.product img,.woocommerce-page ul.products li.product img{max-height:175px!important;width:100%!important;object-fit:contain!important}.woocommerce ul.products li.product{overflow:hidden}.woocommerce ul.products li.product .woocommerce-loop-product__title{overflow-wrap:anywhere}
@media(max-width:850px){.wrap,.content,.site-main,.entry-content,.woocommerce-page .content{width:calc(100% - 24px)!important}.ds-reno-wrap .owl-item img,.ds-reno-wrap .slick-slide img{max-height:140px!important}}
@media(max-width:540px){.woocommerce ul.products li.product img,.woocommerce-page ul.products li.product img{max-height:125px!important}.ds-reno-wrap .owl-item img,.ds-reno-wrap .slick-slide img{max-height:125px!important}}

/* V1.3: isolate layout from WooCommerce / legacy slider widths */
html{overflow-x:hidden}body{overflow-x:hidden;width:100%;min-width:0}
.ds-container{width:calc(100% - 40px)!important;max-width:1280px!important;margin-inline:auto!important}
.ds-main,.ds-woo-main{width:calc(100% - 40px)!important;max-width:1280px!important;margin-inline:auto!important;min-width:0;overflow:visible}
.ds-woo-main{padding:28px 0;min-height:50vh}
.ds-woo-main .woocommerce{max-width:100%;min-width:0}
.ds-woo-main ul.products{width:100%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;clear:both}
.ds-woo-main ul.products:before,.ds-woo-main ul.products:after,.ds-product-grid ul.products:before,.ds-product-grid ul.products:after{display:none!important}
.ds-product-grid ul.products{width:100%!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;clear:both}
.ds-product-grid ul.products li.product,.ds-woo-main ul.products li.product{min-width:0!important;max-width:100%!important;float:none!important;width:auto!important;box-sizing:border-box!important;overflow:hidden}
.ds-product-grid ul.products li.product img,.ds-woo-main ul.products li.product img{height:155px!important;max-height:155px!important;object-fit:contain!important;width:100%!important}
.ds-reno-wrap{width:100%!important;max-width:100%!important;overflow:hidden!important;isolation:isolate}
.ds-reno-wrap :is(.owl-carousel,.slick-slider,.swiper,.rps-slider,.rps-carousel){max-width:100%!important}
.ds-brands-section{display:block!important;visibility:visible!important;min-height:130px}
.ds-brands{display:flex!important;min-height:80px;max-width:100%;overflow-x:auto}
.ds-brands a{min-width:100px;flex:0 0 110px}
.ds-brands img{display:block;max-height:65px;max-width:105px;width:auto;height:auto}
@media(max-width:850px){.ds-woo-main ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ds-product-grid ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:540px){.ds-container,.ds-main,.ds-woo-main{width:calc(100% - 24px)!important}.ds-woo-main ul.products,.ds-product-grid ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ds-woo-main ul.products li.product img,.ds-product-grid ul.products li.product img{height:125px!important;max-height:125px!important}}

/* V1.4 stable bounds, homepage banners and Reno containment */
html,body{overflow-x:hidden!important;max-width:100%!important}
.ds-container,.ds-main,.ds-woo-main{width:min(calc(100% - 32px),1280px)!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important}
.ds-headrow,.ds-navrow{min-width:0;max-width:100%}.ds-search{min-width:0!important}.ds-navlinks{min-width:0;overflow-x:auto;scrollbar-width:none}.ds-navlinks::-webkit-scrollbar{display:none}
.ds-promo-slide{padding:0!important;display:block!important;min-height:350px!important;background:linear-gradient(110deg,#031c43,#075ca9)}
.ds-banner-link{display:grid;grid-template-columns:48% 52%;align-items:center;min-height:350px;padding:28px 6%;gap:15px;color:white;position:relative;overflow:hidden}
.ds-promo-slide .ds-slide-copy{z-index:2}.ds-promo-slide h2{font-size:clamp(25px,3.3vw,48px);line-height:1.13;margin:15px 0;color:white}.ds-promo-slide p{font-size:clamp(15px,1.6vw,21px);color:#e5f2ff}
.ds-promo-slide .ds-slide-image{height:300px}.ds-promo-slide .ds-slide-image img{max-height:300px;max-width:100%;object-fit:contain;border-radius:8px}
.ds-reno-wrap,.ds-reno-wrap *{box-sizing:border-box}.ds-reno-wrap{overflow:hidden!important;max-width:100%!important}.ds-reno-wrap .owl-stage-outer,.ds-reno-wrap .slick-list{max-width:100%;overflow:hidden!important}
.ds-reno-wrap ul.products{max-width:100%!important}.ds-reno-wrap ul.products li.product{min-width:0!important;max-width:100%!important;float:none!important}.ds-reno-wrap img{max-height:165px!important;object-fit:contain!important}
.ds-section{max-width:100%;overflow:hidden}.ds-brands-section{overflow:visible}.ds-brands{overflow-x:auto!important}
@media(max-width:850px){.ds-headrow{flex-wrap:wrap}.ds-navlinks{overflow-x:visible}.ds-banner-link{min-height:320px}.ds-promo-slide .ds-slide-image{height:240px}.ds-promo-slide .ds-slide-image img{max-height:235px}}
@media(max-width:540px){.ds-banner-link{display:flex;flex-direction:column-reverse;justify-content:center;text-align:center;min-height:330px;padding:24px 32px}.ds-promo-slide .ds-slide-image{height:155px;width:100%}.ds-promo-slide .ds-slide-image img{max-height:150px}.ds-promo-slide h2{font-size:24px}.ds-promo-slide p{font-size:14px}.ds-navrow{gap:8px}.ds-reno-wrap img{max-height:125px!important}}

/* V1.5: full-width promotional artwork, bounded store notice */
.ds-image-hero{min-height:0!important;background:#062a59!important;aspect-ratio:16/5;max-width:100%;overflow:hidden}
.ds-image-hero .ds-slides{height:100%;align-items:stretch}
.ds-image-hero .ds-image-slide{display:block!important;min-height:0!important;height:100%;padding:0!important;flex:0 0 100%;max-width:100%}
.ds-image-hero .ds-image-slide>a{display:block;width:100%;height:100%;min-width:0}
.ds-image-hero .ds-image-slide img{display:block;width:100%;height:100%;object-fit:cover;max-width:100%}
.woocommerce-store-notice.demo_store,.woocommerce-store-notice,.demo_store{position:relative!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;display:block!important;width:min(calc(100% - 32px),1280px)!important;max-width:1280px!important;margin:8px auto!important;padding:12px 45px 12px 18px!important;border-radius:8px!important;background:linear-gradient(100deg,#073b81,#075bc1)!important;color:#fff!important;text-align:center!important;box-sizing:border-box!important;box-shadow:none!important;overflow-wrap:anywhere!important;font-size:14px!important;line-height:1.45!important}
.woocommerce-store-notice a,.demo_store a{color:#fff!important;text-decoration:underline!important}
.woocommerce-store-notice__dismiss-link,.demo_store .woocommerce-store-notice__dismiss-link{position:absolute!important;right:13px!important;top:50%!important;transform:translateY(-50%)!important;white-space:nowrap!important;font-size:12px!important}
@media(max-width:540px){.ds-image-hero{aspect-ratio:16/8}.ds-image-hero .ds-image-slide img{object-fit:cover;object-position:58% center}.woocommerce-store-notice.demo_store,.woocommerce-store-notice,.demo_store{width:calc(100% - 24px)!important;font-size:12px!important;padding:11px 40px 11px 12px!important}}

/* V2.1: compactar exclusivamente los espacios verticales superiores */
.woocommerce-store-notice.demo_store,.woocommerce-store-notice,.demo_store{margin:3px auto!important;padding-top:7px!important;padding-bottom:7px!important;line-height:1.25!important}
.ds-headrow{padding-top:7px!important;padding-bottom:7px!important}
.ds-navrow{min-height:43px!important;gap:12px!important}
.ds-menu-toggle{padding-top:10px!important;padding-bottom:10px!important}
.ds-main{padding-top:8px!important}
@media(max-width:850px){.ds-headrow{padding-top:7px!important;padding-bottom:7px!important}.ds-navrow{min-height:0!important}}
@media(max-width:540px){.woocommerce-store-notice.demo_store,.woocommerce-store-notice,.demo_store{padding-top:7px!important;padding-bottom:7px!important}.ds-headrow{gap:7px!important}}

/* Solo iconos de beneficios: mantener el resto del tema intacto */
.ds-benefits .ds-benefit-icon{width:42px;height:42px;flex:0 0 42px;color:var(--ds-blue);display:block}
@media(max-width:600px){.ds-benefits .ds-benefit-icon{width:34px;height:34px;flex-basis:34px}}

/* v2.4: category cards only; preserve existing header, banners, and product layout. */
.ds-category.ds-category-photo{padding:0;overflow:hidden;min-height:0;justify-content:flex-start;background:#063b84;border:0;box-shadow:0 7px 18px rgba(5,39,84,.13);transition:transform .2s ease,box-shadow .2s ease}
.ds-category.ds-category-photo:hover{transform:translateY(-3px);box-shadow:0 11px 24px rgba(5,39,84,.22)}
.ds-category.ds-category-photo img{display:block;width:100%;height:auto;aspect-ratio:1.13/1;object-fit:cover;object-position:center}
.ds-category.ds-category-photo strong{display:flex;align-items:center;justify-content:center;width:100%;flex:1;min-height:54px;padding:9px 5px;background:linear-gradient(110deg,#063b84,#0757b7);color:white;font-size:clamp(11px,1.05vw,15px);line-height:1.2;text-align:center}
@media(max-width:540px){.ds-category.ds-category-photo strong{font-size:12px;min-height:44px}}

/* v2.6: ajuste exclusivo de fotografias de categorias. */
.ds-category.ds-category-photo{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
.ds-category.ds-category-photo img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:5/4!important;object-fit:cover!important;object-position:center center!important;flex:0 0 auto;max-width:none!important;margin:0!important;border:0!important}
.ds-category.ds-category-photo strong{flex:0 0 48px;min-height:48px;box-sizing:border-box;margin:0!important}
@media(max-width:540px){.ds-category.ds-category-photo strong{flex-basis:44px;min-height:44px}}

/* v2.7: images physically cropped to remove source white margins. */
.ds-category.ds-category-photo img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important}
.ds-category.ds-category-photo{aspect-ratio:auto!important}
.ds-category.ds-category-photo img{height:auto!important;aspect-ratio:5/4!important}

/* v2.8: enforce no horizontal gutters within category images */
.ds-categories .ds-category.ds-category-photo{min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
.ds-categories .ds-category.ds-category-photo img{width:100%!important;max-width:none!important;display:block!important;object-fit:cover!important;box-sizing:border-box!important}


/* v3.0: exclusivamente tarjetas de Nuevos ingresos: imagenes y contenido alineados. */
.ds-product-grid ul.products li.product{display:flex!important;flex-direction:column!important;align-items:stretch!important;height:100%!important}
.ds-product-grid ul.products li.product a.woocommerce-LoopProduct-link,
.ds-product-grid ul.products li.product a.woocommerce-loop-product__link{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important}
.ds-product-grid ul.products li.product a img,
.ds-product-grid ul.products li.product img.attachment-woocommerce_thumbnail{display:block!important;width:100%!important;height:155px!important;min-height:155px!important;max-height:155px!important;object-fit:contain!important;object-position:center center!important;margin:0 0 10px!important}
.ds-product-grid ul.products li.product .woocommerce-loop-product__title{min-height:38px!important}
.ds-product-grid ul.products li.product .button{margin-top:auto!important}
@media(max-width:540px){.ds-product-grid ul.products li.product a img,.ds-product-grid ul.products li.product img.attachment-woocommerce_thumbnail{height:125px!important;min-height:125px!important;max-height:125px!important}}

/* v3.1: solo ampliar logos de Nuestras marcas, sin alterar otras secciones. */
.ds-brands{gap:18px!important;padding:12px 4px 18px!important;min-height:112px!important;align-items:center!important}
.ds-brands a{flex:0 0 150px!important;min-width:150px!important;min-height:94px!important;display:grid!important;place-items:center!important}
.ds-brands img{display:block!important;width:auto!important;height:auto!important;max-width:145px!important;max-height:90px!important;object-fit:contain!important}
@media(max-width:600px){.ds-brands{gap:12px!important;min-height:90px!important}.ds-brands a{flex-basis:115px!important;min-width:115px!important;min-height:75px!important}.ds-brands img{max-width:110px!important;max-height:72px!important}}

/* v3.2: carrito destacado en la cabecera; sin alterar el resto del tema */
.ds-header-cart{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;white-space:nowrap;background:linear-gradient(120deg,#0871df,#063a84);color:#fff!important;border-radius:9px;padding:11px 13px;font-size:13px;font-weight:700;box-shadow:0 3px 8px #07448b30;min-height:43px}
.ds-header-cart:hover{filter:brightness(1.1)}
.ds-header-cart .ds-cart-count{min-width:21px;height:21px;font-size:12px;padding:0 5px;background:#ee2439}
@media(max-width:1120px){.ds-headrow{gap:12px}.ds-header-cart{gap:6px;padding:9px 10px}}
@media(max-width:850px){.ds-header-cart{order:2}.ds-header-cart .ds-cart-label{display:none}.ds-header-cart svg{width:23px;height:23px}}
@media(max-width:540px){.ds-headrow .ds-socials{width:auto;flex:1;justify-content:flex-end}.ds-header-cart{order:2;padding:8px 9px;min-height:38px}.ds-header-cart svg{width:21px;height:21px}}


/* v3.3 — Solo listados WooCommerce de categorías/tienda; no afecta al inicio. */
.ds-woo-main ul.products{align-items:stretch!important}
.ds-woo-main ul.products li.product{display:flex!important;flex-direction:column!important;align-items:stretch!important;margin:0!important;height:100%!important;padding:12px!important}
.ds-woo-main ul.products li.product a.woocommerce-LoopProduct-link,
.ds-woo-main ul.products li.product a.woocommerce-loop-product__link{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex:1 1 auto!important;min-width:0!important}
.ds-woo-main ul.products li.product a.woocommerce-LoopProduct-link img,
.ds-woo-main ul.products li.product a.woocommerce-loop-product__link img{display:block!important;width:100%!important;height:180px!important;min-height:180px!important;max-height:180px!important;object-fit:contain!important;object-position:center center!important;margin:0 0 12px!important;padding:0!important}
.ds-woo-main ul.products li.product .woocommerce-loop-product__title{min-height:42px!important;line-height:1.35!important;margin:0 0 8px!important;overflow-wrap:anywhere}
.ds-woo-main ul.products li.product .price{margin-top:auto!important;margin-bottom:10px!important;min-height:20px!important}
.ds-woo-main ul.products li.product>a.button,
.ds-woo-main ul.products li.product .button{margin-top:auto!important;align-self:stretch!important;text-align:center!important}
@media(max-width:540px){.ds-woo-main ul.products li.product{padding:9px!important}.ds-woo-main ul.products li.product a.woocommerce-LoopProduct-link img,.ds-woo-main ul.products li.product a.woocommerce-loop-product__link img{height:135px!important;min-height:135px!important;max-height:135px!important}.ds-woo-main ul.products li.product .woocommerce-loop-product__title{min-height:54px!important}}

/* v3.4: logo transparente exclusivo del pie de página */
.ds-footer .ds-footer-logo{display:inline-flex;align-items:center;max-width:100%;background:transparent!important;padding:0!important}
.ds-footer .ds-footer-logo img{display:block;width:220px;max-width:100%;height:auto;max-height:none;object-fit:contain;filter:none!important;background:transparent!important;border:0!important;box-shadow:none!important}

/* v3.5: únicamente distribución del pie de página */
.ds-footer .ds-footer-grid.ds-footer-grid-v35{display:grid;grid-template-columns:minmax(190px,1fr) minmax(130px,.65fr) minmax(360px,2fr);gap:clamp(20px,4vw,65px);align-items:start}
.ds-footer .ds-footer-grid-v35 .ds-footer-logo img{width:220px;height:auto;max-width:100%;background:transparent!important;filter:none!important}
.ds-footer .ds-footer-grid-v35 .ds-footer-branches .ds-branch-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px}
.ds-footer .ds-footer-grid-v35 .ds-footer-branches p{margin:0 0 12px;line-height:1.55;overflow-wrap:anywhere}
.ds-footer .ds-footer-grid-v35 .ds-footer-branches strong{display:inline-block;margin-bottom:3px}
@media(max-width:900px){.ds-footer .ds-footer-grid.ds-footer-grid-v35{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-footer .ds-footer-grid-v35 .ds-footer-branches{grid-column:1/-1}}
@media(max-width:560px){.ds-footer .ds-footer-grid.ds-footer-grid-v35{grid-template-columns:1fr;gap:24px}.ds-footer .ds-footer-grid-v35 .ds-footer-branches{grid-column:auto}.ds-footer .ds-footer-grid-v35 .ds-footer-branches .ds-branch-list{grid-template-columns:1fr}}

/* v3.7 — Carrito flotante exclusivamente móvil. No altera la cabecera ni el escritorio. */
.ds-mobile-floating-cart{display:none!important}
@media(max-width:767px){
 .ds-mobile-floating-cart{display:flex!important;position:fixed!important;left:16px!important;bottom:calc(18px + env(safe-area-inset-bottom,0px))!important;right:auto!important;top:auto!important;z-index:9998!important;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#0871df,#063a84);color:#fff!important;box-shadow:0 5px 18px #001d4b55;text-decoration:none!important}
 .ds-mobile-floating-cart .ds-mobile-cart-count{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:20px;background:#ee2439;color:white;font-size:12px;font-weight:800;border:2px solid white}
 .ds-mobile-floating-cart:focus-visible{outline:3px solid #f4a600;outline-offset:3px}
}

/* v3.8: TikTok official-style icon, header and footer */
.ds-social-tiktok svg{display:block;width:21px;height:21px;fill:#fff;flex-shrink:0}
