/* V31.54: public theme variables, scoped to wholesale storefront only. */
body.dka-store{background:var(--d54-page-bg,#f5f6f8);color:var(--d54-page-text,#23252a);font-size:var(--d54-base-size,16px);font-family:var(--d54-font,Arial),sans-serif}
.dka-store .header{background:var(--d54-header-bg,#fff)!important;color:var(--d54-header-text,#152c46)!important}
.dka-store .brand,.dka-store .brand-name,.dka-store .head-btn,.dka-store .header-pill{color:var(--d54-header-text,#152c46)!important}
.dka-store .header-in{padding-top:var(--d54-header-pad,16px)!important;padding-bottom:var(--d54-header-pad,16px)!important;max-width:var(--d54-content-width,1360px)!important}
.dka-store .store-info-strip{background:var(--d54-strip-bg,#f0f5fa)!important;color:var(--d54-strip-text,#284257)!important}
.dka-store .hero{background-color:var(--d54-hero-bg,#19283e)!important;color:var(--d54-hero-text,#fff)!important}
.dka-store .hero h1,.dka-store .hero p,.dka-store .hero .eyebrow,.dka-store .hero-features{color:var(--d54-hero-text,#fff)!important}
.dka-store .hero h1{font-size:clamp(22px,3.5vw,var(--d54-heading-size,40px))!important}
.dka-store .main-wrap{max-width:var(--d54-content-width,1360px)!important}
.dka-store .main-wrap{background-color:var(--d54-catalog-bg,#f5f6f8)}
.dka-store .store-filter-panel,.dka-store .cart-summary,.dka-store .panel,.dka-store .product-card{border-color:var(--d54-outline,#d7e2ec)!important;border-radius:var(--d54-radius,14px)!important}
.dka-store .product-grid{gap:var(--d54-gap,20px)!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.dka-store .product-card{background:var(--d54-card-bg,#fff)!important;color:var(--d54-card-text,#162b46)!important}
.dka-store .product-info,.dka-store .product-name{color:var(--d54-card-text,#162b46)!important}
.dka-store .price-row strong{color:#141414!important}
.dka-store .product-info .primary-btn,.dka-store .cart-btn,.dka-store #cartNext,.dka-store #submitOrder,.dka-store .primary-btn{background:var(--d54-button-bg,#e50932)!important;color:var(--d54-button-text,#fff)!important;border-radius:var(--d54-button-radius,10px)!important}
.dka-store .primary-btn:disabled{opacity:.5;cursor:not-allowed}
.dka-store .footer{background:var(--d54-footer-bg,#142337)!important;color:var(--d54-footer-text,#f8fafc)!important}
.dka-store .footer p,.dka-store .footer span{color:var(--d54-footer-text,#f8fafc)!important}
@media(max-width:1120px){.dka-store .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.dka-store .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:380px){.dka-store .product-grid{grid-template-columns:repeat(1,minmax(0,1fr))!important}}
.dka-store .d54-hidden{display:none!important}

.dka-store .hero{position:relative;isolation:isolate}
.dka-store .hero::before{content:"";position:absolute;inset:0;background:var(--d54-hero-bg,#23252b);opacity:.50;pointer-events:none;z-index:0}
.dka-store .hero-content{position:relative;z-index:1}

/* V31.56.39: allowed card-size controls, no fixed widths overflowing grid cells. */
.dka-store .product-grid>.product-card{width:min(100%,var(--d54-card-width-desktop,280px));min-width:0;max-width:100%;box-sizing:border-box;justify-self:center}
@media(max-width:760px){
 .dka-store .product-grid{column-gap:min(12px,var(--d54-gap,20px))!important;row-gap:min(16px,var(--d54-gap,20px))!important}
 .dka-store .product-grid>.product-card{width:min(100%,var(--d54-card-width-mobile,188px))}
 .dka-store .product-card .product-info{padding:10px!important;min-width:0}
 .dka-store .product-card .product-name{overflow-wrap:anywhere;font-size:13px;line-height:1.3}
 .dka-store .product-card .product-visual{height:min(43vw,195px)!important}
 .dka-store .product-card .price-row strong{font-size:clamp(15px,3.8vw,19px)}
 .dka-store .product-grid .qty-stepper{max-width:100%}
}
@media(max-width:380px){.dka-store .product-grid>.product-card{width:min(100%,var(--d54-card-width-mobile,188px))}}

/* V31.56.42: altura máxima editable; los controles de compra nunca se cortan ni desaparecen.
   Si la ficha contiene más detalles de los que caben, éstos permanecen accesibles con desplazamiento. */
.dka-store .product-grid>.product-card{max-height:var(--d54-card-height-desktop,620px);min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:auto;scrollbar-width:thin}
@media(max-width:760px){.dka-store .product-grid>.product-card{max-height:var(--d54-card-height-mobile,560px)}}

/* V31.56.44: permitir continuar el desplazamiento de la página al llegar al borde de la tarjeta.
   La rueda del mouse se gestiona por separado; no se altera el desplazamiento táctil. */
