/* Category views keep the product catalogue and shared cart independent. */
[data-store-page][hidden]{display:none!important}
.storefront .store-hero{padding-top:22px;padding-bottom:24px;gap:36px;align-items:center;min-height:0}
.storefront .store-hero h1{font-size:clamp(34px,4vw,56px);line-height:1.06;margin:12px 0}
.storefront .store-hero-visual{max-width:440px;margin:0;justify-self:center}
.storefront .hero-product-image{max-height:280px;object-fit:contain}
.storefront .hero-image-label{display:none}
.storefront .store-hero-visual figcaption{font-size:10px;padding:6px}
.storefront .store-hero-description{font-size:16px;line-height:1.5;margin:10px 0}
.storefront .store-hero .no-payment{font-size:13px;padding:10px 13px;margin:12px 0}
.storefront .store-hero .hero-help{display:none}
.storefront .store-main-cta{font-size:14px;padding:14px 20px;min-height:48px}
.store-service-strip{padding:14px 0!important;margin-bottom:0!important;font-size:12px!important}
#prendas{padding-top:22px;padding-bottom:32px;scroll-margin-top:16px}
#prendas>.eyebrow{margin:0 0 14px}
.product-category-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}
.product-category-tabs button{display:flex;align-items:center;flex-direction:column;gap:9px;border:1px solid #d6dfd8;border-radius:8px;background:#fff;color:#183e34;cursor:pointer;padding:16px 12px;min-height:254px;font:600 18px Arial,sans-serif}
.product-category-tabs img{height:180px;width:100%;object-fit:contain;mix-blend-mode:multiply}
.product-category-tabs small{font-size:12px;font-weight:400;color:#52675a}
.product-category-tabs [aria-selected=true]{border:2px solid #173d32;background:#edf3ed;padding:15px 11px;box-shadow:0 2px 6px #173d3212}
.product-category-tabs button:focus-visible{outline:3px solid #c4402c;outline-offset:3px}
#catalog-panel .catalog-heading{margin:0 0 12px;gap:20px;align-items:center}
#catalog-panel .catalog-heading h2{font-size:30px;margin:0}
#catalog-panel .catalog-heading p{font-size:14px;line-height:1.5;margin:0}
.catalog-filter-drawer{border:1px solid #d6dfd8;border-radius:6px;background:#f7f8f5;padding:0 16px;margin:16px 0}
.catalog-filter-drawer>summary{cursor:pointer;padding:13px 0;font-size:14px;font-weight:600;min-height:46px}
.catalog-filter-drawer .catalog-tools{border:0;padding:8px 0;background:none;grid-template-columns:1fr}
.catalog-filter-drawer .catalog-refine{padding-bottom:14px}
.catalog-filter-drawer .finder{margin:0 0 16px}
#catalog-grid{margin-top:12px}
.accessory-subcategories{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.accessory-subcategories button{padding:10px 14px;border:1px solid #b9cbbb;border-radius:22px;background:white;color:#183e34;font-size:13px;cursor:pointer}
.accessory-subcategories button[aria-pressed=true]{background:#183e34;color:white}
#catalog-more{display:block;margin:20px auto 0;font-size:13px}
main>#mi-pedido{max-width:1120px;width:calc(100% - 40px);margin:24px auto 40px;padding:24px;border:1px solid #d6dfd8;border-radius:8px}
main>#mi-pedido>.eyebrow,main>#mi-pedido>h3{display:none}
main>#mi-pedido .finish-order-intro h3{font-size:32px;margin:6px 0}
.storefront #main-nav [aria-current=page]{color:#b93d2c;text-decoration:underline;text-underline-offset:7px}
body[data-store-view=productos] .footer{margin-top:0}
body[data-store-view=calcular] #mas-productos>p,body[data-store-view=calcular] #mas-productos>h2,body[data-store-view=calcular] #mas-productos>.extra-grid,body[data-store-view=calcular] #mas-productos>.expanded-shortcuts{display:none}
@media(max-width:900px){.product-category-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.storefront .store-hero{gap:20px}.storefront .hero-product-image{max-height:240px}}
@media(max-width:560px){
 .storefront .market-header{padding-top:12px;padding-bottom:12px}
 .storefront .store-hero{display:grid;grid-template-columns:1fr;padding-top:8px;padding-bottom:14px;gap:0}
 .storefront .store-hero-visual{display:none}
 .storefront .store-hero-content>.eyebrow{font-size:10px;margin:0 0 7px}
 .storefront .store-hero h1{font-size:34px;margin:5px 0 10px}
 .storefront .store-hero-description{font-size:14px;margin:0 0 10px;line-height:1.5}
 .storefront .store-hero .no-payment{display:none}
 .storefront .store-main-cta{padding:12px 16px;width:100%;max-width:none;justify-content:center;font-size:13px}
 .store-service-strip{display:none!important}
 #prendas{padding-top:12px;padding-bottom:20px}
 .product-category-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}
 .product-category-tabs button{min-height:210px;font-size:16px;padding:12px 8px;gap:8px}
 .product-category-tabs [aria-selected=true]{padding:11px 7px}
 .product-category-tabs img{height:142px;width:100%}
 .product-category-tabs small{font-size:12px}
 #catalog-panel .catalog-heading{display:block;margin-bottom:12px}
 #catalog-panel .catalog-heading h2{font-size:25px}
 #catalog-panel .catalog-heading p{font-size:13px;margin-top:7px}
 .catalog-filter-drawer{margin:12px 0;padding:0 12px}
 .catalog-filter-drawer>summary{font-size:13px}
 #catalog-grid .catalog-photo{height:175px}
 #catalog-grid .catalog-copy{padding:12px}
 #catalog-grid .catalog-copy h3{font-size:18px;line-height:1.2}
 #catalog-grid .compare-toggle{font-size:11px}
 #catalog-grid .catalog-copy>.text-link{font-size:11px}
 #catalog-grid .catalog-price{font-size:16px}
 main>#mi-pedido{padding:18px 14px;width:calc(100% - 28px);margin-top:16px}
 .storefront .mobile-order-bar a{font-size:11px}
}

/* Category selection opens the model catalogue as its own view. */
body[data-category-open=true] .store-hero,body[data-category-open=true] .store-service-strip,body[data-category-open=true] #prendas>.eyebrow,body[data-category-open=true] .product-category-tabs{display:none!important}
.back-to-categories{display:none;background:white;color:#183e34;border:1px solid #c7d4cb;border-radius:6px;padding:12px 16px;margin:0 0 20px;font:600 14px Arial;cursor:pointer}
body[data-category-open=true] .back-to-categories{display:inline-block}
#catalog-panel{scroll-margin-top:18px}
@media(max-width:720px){
 .product-dialog{box-sizing:border-box;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;padding:18px!important;overflow-y:auto;overscroll-behavior:contain}
 .product-dialog .dialog-close{min-width:48px;min-height:48px;top:0}
 .product-dialog .detail-photo{max-height:340px}
 .product-dialog .product-layout{grid-template-columns:1fr!important}
 body:has(.product-dialog[open]){overflow:hidden}
 body:has(.product-dialog[open]) .mobile-order-bar,body:has(.product-dialog[open]) .floating-cart{visibility:hidden}
}

/* Readable photo actions and shrinkable product columns on small screens. */
.storefront .photo-action,.storefront .photo-action b{color:#fff!important}
#catalog-grid .catalog-card,#catalog-grid .catalog-copy{min-width:0;max-width:100%;box-sizing:border-box}
#catalog-grid .catalog-copy h3,#catalog-grid .catalog-price{overflow-wrap:anywhere}
#catalog-grid .catalog-photo{width:100%;min-width:0;box-sizing:border-box}
#catalog-grid .catalog-photo img{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:560px){#catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:10px}#catalog-grid .catalog-copy>.text-link{white-space:normal;max-width:100%;padding:12px 8px;min-height:48px;box-sizing:border-box}#catalog-grid .photo-action{font-size:11px;line-height:1.4;padding:10px 8px;box-sizing:border-box}}

#product-live-price[hidden],#model-quantity-custom[hidden]{display:none!important}
.model-quantity-picker select,.model-quantity-picker input{width:100%;min-height:48px;font-size:16px;box-sizing:border-box}

.exact-quantity-controls{margin:16px 0;padding:16px;background:#f4f7f3;border:1px solid #d0dbd2;border-radius:8px}
.exact-quantity-controls .quantity-heading{font-size:16px;font-weight:700;margin:0 0 12px;color:#183e34}
.visible-quantity-presets{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.visible-quantity-presets button{min-width:48px;min-height:46px;padding:10px 12px;background:white;border:1px solid #9fb4a6;border-radius:5px;color:#183e34;font-size:16px;cursor:pointer}
.visible-quantity-presets button[aria-pressed=true]{background:#183e34;color:white;border-color:#183e34}
.exact-quantity-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.exact-quantity-row label{min-width:0!important;margin:0!important;font-size:14px!important}
.exact-quantity-row input{display:block;width:100%;min-height:48px;box-sizing:border-box;font-size:16px!important;margin:6px 0 0!important}
.apply-quantity{min-height:48px;background:#183e34;color:white;padding:10px 14px;border:1px solid #183e34;border-radius:4px;font-size:13px;cursor:pointer}
.quantity-feedback{font-size:12px!important;line-height:1.4;margin:8px 0 0!important}
.quantity-feedback:empty{display:none}

.product-dialog.without-logo .easy-logo-options,.product-dialog.without-logo .product-upload,.product-dialog.without-logo [data-product-step="2"]>details,.product-dialog.without-logo [data-product-step="2"]>p,.product-dialog.without-logo #accessory-logo-holder{display:none!important}

#quote-form .upload-box[hidden],#quote-form .easy-logo-options[hidden]{display:none!important}
body:has(dialog[open]) .easy-help-trigger{visibility:hidden}
@media(max-width:720px){.unified-checkout{box-sizing:border-box;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;padding:18px!important;overscroll-behavior:contain}.unified-checkout #quote-form{padding:0!important}.unified-checkout .dialog-close{min-width:48px;min-height:48px;top:0}body:has(.unified-checkout[open]){overflow:hidden}.unified-receipt-line{min-width:0}.unified-receipt-line p{overflow-wrap:anywhere}}

.sector-entry{margin:0 0 16px;font-size:14px}.sector-entry a{display:inline-block;padding:8px 0;font-weight:600;color:#183e34}body[data-category-open=true] .sector-entry{display:none}
