/* Territorial composition using Storefront cards, price, panel and consumer navigation. */
.market-storefront{--loy-green:#176b42;--loy-text:#183b2b;background:#f7faf8!important;color:var(--loy-text);font-family:system-ui,sans-serif;margin:0}.market-storefront *{box-sizing:border-box}.market-storefront a{color:inherit}.market-storefront h1,.market-storefront h2,.market-storefront h3,.market-storefront p{overflow-wrap:anywhere}.market-storefront :is(a,button,input,select):focus-visible{outline:3px solid #c17816;outline-offset:3px}.market-header{max-width:1180px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px}.market-brand{display:grid;grid-template-columns:auto 1fr;column-gap:10px;text-decoration:none;min-height:48px}.market-brand strong{font-size:20px;grid-column:2}.market-brand span{font-size:13px;grid-column:2;color:#586c60}.market-brand img{width:44px;height:44px;object-fit:contain;grid-row:1/3}.loy-signature{font-size:12px;font-weight:800;letter-spacing:1px;text-decoration:none}.market-main{max-width:1180px;padding:0 24px 30px;margin:auto}.market-location{font-size:13px;color:#566a5c;margin:4px 0 20px}.market-search{margin:0 0 24px}.market-search label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.market-search>div{display:flex;gap:8px}.market-search input{min-width:0;flex:1;border:1px solid #b5c9bd;border-radius:12px;padding:14px;font:inherit;background:white}.market-storefront .buy-button,.market-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border-radius:10px;font:650 14px system-ui;text-decoration:none;border:0;background:#176b42;color:white;cursor:pointer}.market-secondary{color:#176b42!important;background:#fff;border:1px solid #b5c9bd}.market-hero{position:relative;border-radius:22px;overflow:hidden;background:#e4eee7;padding:36px;margin-bottom:24px!important;min-height:220px;isolation:isolate}.market-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.2}.market-hero h1{font-size:clamp(28px,4vw,44px);max-width:650px;margin:12px 0}.market-hero p:first-child{font-size:11px;font-weight:800;letter-spacing:1.5px}.market-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.market-tabs,.market-categories{display:flex;gap:8px;overflow:auto;padding:4px 2px 12px;scrollbar-width:none}.market-tabs a,.market-categories a{flex:none;display:flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #d1ded5;border-radius:24px;text-decoration:none;background:white;font-size:14px}.market-tabs a[aria-current],.market-categories a[aria-current]{background:#176b42;color:white;border-color:#176b42}.market-storefront h2{font-size:24px;margin:24px 0 14px}.market-muted{font-size:13px;color:#586c60}.market-products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important}.market-products .product-card{min-width:0;border:1px solid #dbe6de;box-shadow:0 3px 10px #163b2610;border-radius:16px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.market-products .product-image{height:auto!important;aspect-ratio:1.3!important;display:block;padding:12px!important;background:#fff}.market-products .product-image img{width:100%;height:100%;object-fit:contain}.market-products .product-info{padding:14px!important;display:flex;flex-direction:column;gap:10px;flex:1}.market-products h3{margin:0;font-size:16px}.market-products .product-name-link{font-size:16px!important;line-height:1.35;text-decoration:none;color:#183b2b;display:block;min-height:44px!important}.market-type{font-size:11px;font-weight:700;letter-spacing:.5px;color:#5a7062;text-transform:uppercase}.market-products .product-price{margin:0;font-size:20px;font-weight:750;color:#176b42;min-height:28px}.market-products .buy-button{margin-top:auto;width:100%}.market-seller{display:flex;gap:8px;align-items:center;min-height:44px;text-decoration:none;font-size:12px;line-height:1.3}.market-seller .seller-logo{width:26px;height:26px;object-fit:contain;border-radius:50%;flex-shrink:0}.market-avatar{display:inline-flex;align-items:center;justify-content:center;background:#edf3ee;color:#466652;font-weight:700}.market-partner-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.market-partner-grid article{background:#fff;border:1px solid #dbe6de;border-radius:14px;padding:18px;min-width:0}.market-partner-grid a{display:flex;align-items:center;gap:12px;text-decoration:none;min-height:48px}.market-partner-grid .seller-logo{height:44px;width:44px;object-fit:contain;border-radius:50%;flex-shrink:0}.market-partner-grid p{font-size:13px;color:#586c60}.market-join{margin:32px 0;background:#eaf1ec;border-radius:18px;padding:24px}.market-notice{max-width:1132px;margin:20px auto 30px;padding:16px;border:1px solid #cbdacf;border-radius:12px;color:#506557;font-size:14px}.market-storefront .consumer-nav span{font-size:23px;line-height:1}.market-pagination{margin:24px 0}.market-pagination svg{width:20px;height:20px}.market-pagination nav{display:flex;gap:12px;flex-wrap:wrap}.market-pagination nav>div{display:flex;gap:8px;flex-wrap:wrap}.market-pagination a,.market-pagination span{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:4px}.market-partner-profile{text-align:center;padding:24px 12px}.market-partner-profile .seller-logo{height:88px;width:88px;object-fit:contain;border-radius:50%;font-size:32px}.market-partner-profile h1{font-size:28px}.market-partner-profile p{max-width:620px;margin:12px auto}.market-offer-detail{display:grid;grid-template-columns:1fr 1fr;gap:24px;background:#fff;border-radius:18px;overflow:hidden}.market-offer-detail .product-detail-image{display:flex;align-items:center;justify-content:center;padding:24px;min-height:260px}.market-offer-detail .product-detail-image img{width:100%;max-height:400px;object-fit:contain}.market-offer-detail .product-detail-content{padding:28px}.market-offer-detail h1{font-size:26px}.market-offer-detail .product-price{font-size:26px;font-weight:750;color:#176b42}.market-offer-detail .market-seller{margin-top:24px}.market-offer-detail .btn{display:inline-flex;min-height:46px;align-items:center;padding:12px 18px;background:#176b42;color:#fff;border-radius:10px;text-decoration:none}.market-panel .product-detail-panel{display:block;width:min(960px,100%);max-height:82dvh;padding:24px}.market-panel .product-detail-close{height:44px;width:44px;font-size:30px;position:sticky;top:0;margin-left:auto;z-index:3}.market-panel .market-products{grid-template-columns:repeat(3,minmax(0,1fr))}.market-panel-content{min-width:0}.market-panel .market-offer-detail{gap:0}.market-panel .product-detail-backdrop{width:100%;height:100%}.market-live{position:fixed;bottom:80px;left:16px;right:16px;z-index:1400;background:#183b2b;color:#fff;border-radius:10px;text-align:center}.market-live:empty{display:none}.market-live:not(:empty){padding:12px}
@media(max-width:900px){.market-products,.market-partner-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-header{padding:16px}.market-main{padding:0 16px 24px}}
@media(max-width:600px){.market-header{padding:14px 12px}.market-brand strong{font-size:16px}.loy-signature{font-size:10px;letter-spacing:.4px}.market-main{padding:0 12px 20px}.market-search input{font-size:16px;padding:12px}.market-search label{font-size:13px}.market-search .buy-button{padding:10px 12px}.market-hero{padding:24px 20px;min-height:230px;border-radius:18px}.market-hero h1{font-size:32px}.market-products,.market-partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.market-products .product-info{padding:10px!important;gap:8px}.market-products .product-image{aspect-ratio:1.2!important}.market-products .product-name-link{font-size:14px!important}.market-products .product-price{font-size:18px}.market-products .buy-button{padding:10px 6px;font-size:13px}.market-partner-grid article{padding:12px}.market-partner-grid a{flex-direction:column;align-items:flex-start}.market-offer-detail{grid-template-columns:1fr}.market-offer-detail .product-detail-image{min-height:180px;padding:12px}.market-offer-detail .product-detail-image img{max-height:220px}.market-offer-detail .product-detail-content{padding:18px}.market-panel{padding:0;align-items:end}.market-panel .product-detail-panel{width:100%;max-height:82dvh;min-height:60dvh;border-radius:22px 22px 0 0;padding:12px 12px 24px}.market-panel .market-products{grid-template-columns:repeat(2,minmax(0,1fr))}.market-notice{margin:12px}.market-pagination{font-size:13px}}

.market-storefront .market-search .buy-button{width:auto;flex:0 0 auto}.market-storefront .market-search input{width:0;flex:1 1 0}.market-storefront .market-actions .buy-button{width:auto}


/* 012: Compact public offer cards only; content, links and touch targets unchanged. */
.market-storefront .market-products{gap:14px!important}
.market-storefront .market-products .product-card{border-radius:12px}
.market-storefront .market-products .product-image{aspect-ratio:1.65!important;padding:6px!important}
.market-storefront .market-products .product-info{padding:8px!important;gap:4px}
.market-storefront .market-products .product-name-link{font-size:15px!important;line-height:1.3;display:block;overflow:visible;-webkit-line-clamp:unset;max-height:none;min-height:44px!important}
.market-storefront .market-products .market-type{font-size:11px;line-height:1.2}
.market-storefront .market-products .product-price{font-size:18px;min-height:24px;padding:0;line-height:1.25}
.market-storefront .market-products .market-seller{gap:5px;min-height:44px;overflow-wrap:anywhere}
.market-storefront .market-products .market-seller .seller-logo{width:22px;height:22px}
.market-storefront .market-products .market-seller>span:last-child{min-width:0}
.market-storefront .market-products .buy-button{min-height:44px;padding:6px;font-size:13px;line-height:1.2;border-radius:8px;white-space:normal}
@media(max-width:600px){
 .market-storefront .market-products{gap:8px!important}
 .market-storefront .market-products .product-name-link{font-size:14px!important}
}

/* Explicitly approved: wrap the existing discovery-card name at narrow widths. */
.market-storefront .market-partner-grid strong{max-width:100%;overflow-wrap:anywhere}

/* UX1: canonical Storefront primitives, scoped to the public Market. */
.market-storefront .buy-button,.market-storefront .market-offer-detail .btn{background:var(--storefront-cta);color:#183b2b}
.market-storefront .market-header{gap:8px;padding-block:10px}
.market-storefront .market-brand{margin-right:auto;min-width:0;column-gap:4px}
.market-storefront .market-header .topbar-menu{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;color:var(--loy-text);background:transparent;border:0;border-radius:8px;cursor:pointer}
.market-storefront .market-location{margin:0 0 10px}
.market-storefront .market-search{margin-bottom:12px}
.market-storefront .market-search input{padding:10px 12px;min-height:44px}
.market-storefront .market-search label{font-size:12px;margin-bottom:6px}
.market-storefront .market-hero{padding:0;min-height:0;border-radius:12px;margin-bottom:12px!important}
.market-storefront .market-hero-slide{height:auto!important;min-height:154px;display:flex;align-items:center}
.market-storefront .market-hero-slide:after{display:none}
.market-storefront .market-hero .commerce-banner-copy{width:66%;min-height:0;padding:16px;gap:6px;z-index:1}
.market-storefront .market-hero h1{font-size:26px;line-height:1.15;margin:0}
.market-storefront .market-hero p{font-size:13px;font-weight:400;letter-spacing:0;margin:0;line-height:1.35}
.market-storefront .market-hero .buy-button{min-height:44px;padding:6px 14px;margin-top:2px;color:#183b2b}
.market-hero-art{position:absolute;inset:0 0 0 auto;width:34%;display:flex;align-items:center;overflow:hidden}
.market-hero-controls{position:absolute;right:0;bottom:0;display:flex;z-index:2}
.market-storefront .market-hero-controls button{width:36px;height:44px;border:0;padding:0;background:transparent;color:#183b2b;font-size:12px;font-weight:700;cursor:pointer;display:grid;place-items:center;isolation:isolate;position:relative}
.market-storefront .market-hero-controls button:before{content:"";position:absolute;width:24px;height:24px;border:1px solid #183b2b;border-radius:50%;background:white;z-index:-1}
.market-storefront .market-hero-controls button.active:before{background:var(--storefront-cta);border-width:2px}
.market-storefront .market-hero-controls button:focus-visible{outline:2px solid #183b2b;outline-offset:-3px;border-radius:6px}
.market-hero-art>svg{width:100%;height:100%;max-height:220px}
.market-hero-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.market-storefront .market-tabs{gap:8px;padding:4px 2px 8px;margin-bottom:4px}
.market-storefront .market-tabs .commerce-category{height:auto;min-height:72px;flex:1 0 82px;border-radius:10px;padding:7px 4px;gap:5px;flex-direction:column;font-size:12px}
.market-storefront .market-tabs .commerce-category>span{white-space:normal;overflow:visible;text-overflow:clip;text-align:center;font-size:12px;line-height:1.2}
.market-storefront .market-tabs a[aria-current]{background:#edf5e8;color:#183b2b;border:2px solid var(--loy-green);padding:6px 3px}
.market-storefront .market-tabs .market-icon{width:28px;height:28px;flex:none}
.market-storefront #explorar>h2{font-size:20px;margin:12px 0 4px}
.market-storefront #explorar>.market-muted{margin:0 0 8px}
.market-storefront .market-products{align-items:start}
.market-storefront .market-products .product-info{flex:0 0 auto;gap:4px}
.market-storefront .market-products h3{min-height:0!important;margin:0!important}
.market-storefront .market-products .product-name-link{min-height:24px!important}
.market-storefront .market-products .product-price{min-height:0;margin:0!important}
.market-storefront .market-products .buy-button{margin-top:0}
.market-storefront .store-drawer-close{width:44px;height:44px;flex-basis:44px;font-size:28px}
.market-storefront .market-menu a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px;border-radius:8px;text-decoration:none;font-size:16px}
.market-storefront .market-menu a:hover{background:#edf5e8}
.market-storefront .market-menu-join{margin-top:16px;border-top:1px solid #dbe6de}
.market-storefront .market-icon{flex-shrink:0}
.market-storefront [hidden]{display:none!important}
@media(max-width:600px){.market-storefront .market-brand strong{font-size:15px}.market-storefront .market-brand span{font-size:12px}.market-storefront .loy-signature{font-size:9px;letter-spacing:0}.market-storefront .market-hero h1{font-size:22px}.market-storefront .market-hero .commerce-banner-copy{padding:12px;gap:4px}.market-storefront .market-hero p{font-size:12px}.market-storefront .market-hero-slide{min-height:150px}.market-storefront .market-tabs .commerce-category{flex-basis:78px}}

.market-storefront .market-hero .commerce-banner-copy>.buy-button{background:var(--storefront-cta);color:#183b2b;width:auto;align-self:flex-start}

/* Compact discovery filters; the existing query remains the only filter state. */
.market-storefront .market-discovery-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 3px}
.market-storefront .market-discovery-heading h2{font-size:20px;line-height:1.2;margin:0;min-width:0}
.market-storefront .market-all-filter{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:44px;padding:6px 10px;border:2px solid transparent;border-radius:10px;font-size:14px;text-decoration:none;flex-shrink:0}
.market-storefront .market-all-filter[aria-current]{background:#edf5e8;color:#183b2b;border-color:var(--loy-green);font-weight:700}


.market-storefront .market-tabs .commerce-category{min-height:64px}

/* Mobile publication width; independent from Merchant catalog geometry. */
@media(max-width:600px){
 .market-storefront .market-main .market-products{
  margin-left:max(-4px,calc(env(safe-area-inset-left) - 12px));
  margin-right:max(-4px,calc(env(safe-area-inset-right) - 12px));
  column-gap:6px!important;
 }
 .market-storefront .market-products .product-image{aspect-ratio:1.7!important;padding:4px!important}
 .market-storefront .market-products .product-info{padding-inline:6px!important}
 .market-storefront .market-tabs{flex-wrap:nowrap;gap:8px;scrollbar-width:none}
 .market-storefront .market-tabs::-webkit-scrollbar{display:none}
 .market-storefront .market-tabs .commerce-category{flex:0 0 auto;min-width:78px;padding-inline:8px}
 .market-storefront .market-tabs a[aria-current]{padding-inline:7px}
 .market-storefront .market-tabs .commerce-category>span{white-space:nowrap;overflow-wrap:normal}
}

/* Mercado mobile rhythm; Merchant styles, image geometry and actions are unchanged. */
@media(max-width:600px){
 .market-storefront .market-hero-slide{min-height:128px}
 .market-storefront .market-hero .commerce-banner-copy{padding-block:4px;gap:2px}
 .market-storefront .market-discovery-heading{margin-bottom:0;gap:8px}
 .market-storefront .market-all-filter{min-height:36px;padding-block:4px}
 .market-storefront .market-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:2px 0 4px;margin-bottom:0;overflow:visible}
 .market-storefront .market-tabs .commerce-category{min-width:0;min-height:52px;padding:4px 2px;gap:3px}
 .market-storefront .market-tabs a[aria-current]{padding:3px 1px}
 .market-storefront .market-tabs .market-icon{width:24px;height:24px}
 .market-storefront .market-tabs .commerce-category>span{font-size:12px;white-space:normal;overflow-wrap:normal}
 .market-storefront #explorar>.market-muted{margin-bottom:6px}
 .market-storefront .market-products .product-info{gap:2px}

 .market-storefront .market-products .market-seller{min-height:36px}
}
@media(max-width:374px){
 .market-storefront .market-tabs{gap:3px}
 .market-storefront .market-tabs .commerce-category>span{font-size:11px}
}

.market-storefront .market-hero-controls button:after{display:none}

/* Custom covers use the full banner surface; the illustration fallback keeps its layout. */
.market-storefront .market-hero-photo .market-hero-art{inset:0;width:100%}
.market-storefront .market-hero-photo .market-hero-art>img{object-fit:cover;object-position:center}
.market-storefront .market-hero-photo:after{content:"";display:block;position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(9,31,22,.78),rgba(9,31,22,.60) 38%,rgba(9,31,22,.08) 80%,rgba(9,31,22,.03))}
.market-storefront .market-hero .market-hero-photo .commerce-banner-copy{width:100%;height:auto;padding:12px 16px;gap:3px;color:#fff}
.market-storefront .market-hero-photo :is(h1,p){color:#fff;max-width:85%;text-shadow:0 1px 2px #0005}
@media(max-width:600px){
 .market-storefront .market-hero .market-hero-photo{min-height:128px}
 .market-storefront .market-hero .market-hero-photo .commerce-banner-copy{padding:8px 12px;gap:2px}
}

/* Scoped trust signal: independent of sponsored placement and hero geometry. */
.market-trust-identity{display:flex;align-items:center;gap:2px;min-width:0}.market-trust-identity .market-seller{flex:1;min-width:0}.market-trust-identity h1{min-width:0}.market-verified-badge{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:36px;padding:4px;border:0;background:transparent;color:#87601b;cursor:pointer;border-radius:6px;vertical-align:middle}.market-verified-badge svg{width:22px;height:22px;flex:none}.market-verified-badge:focus-visible{outline:2px solid #87601b;outline-offset:1px}.market-trust-note{font-size:11px;line-height:1.35;margin:4px 0;color:#526355}.market-trust-dialog{max-width:min(360px,calc(100vw - 32px));border:1px solid #b8964c;border-radius:14px;padding:20px;color:#20382a;box-sizing:border-box;z-index:2000}.market-trust-dialog::backdrop{background:rgba(0,0,0,.38)}.market-trust-dialog h2{font-size:18px;margin:0 0 12px}.market-trust-dialog p{font-size:14px;line-height:1.5}.market-trust-dialog button{min-height:44px;padding:8px 20px;border-radius:8px;border:1px solid #87601b;background:#fff8e8;color:#614719;cursor:pointer}
.market-trust-note{display:flex;align-items:center;gap:5px;font-size:12px}.market-trust-note>svg{width:18px;height:22px;flex:none}

/* Search uses the same GET catalog; the clear action never obscures the input. */
.market-search-field{position:relative;display:flex;flex:1;min-width:0}.market-search-field input{width:100%;padding-right:44px!important}.market-search-clear{position:absolute;right:0;top:50%;transform:translateY(-50%);width:44px;height:44px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:25px;line-height:1;border-radius:10px;color:#365743!important}.market-search-clear[hidden]{display:none}.market-search-clear:focus-visible{outline-offset:-3px}

/* Visual evolution 001: catalog density and navigation only. */
@media(min-width:1024px){
 .market-storefront .market-header,.market-storefront .market-main{max-width:1600px;padding-inline:24px}
 .market-storefront .market-header{padding-block:8px}
 .market-storefront .market-tabs{gap:6px}
 .market-storefront .market-tabs .commerce-category{flex:0 1 150px;min-height:52px;flex-direction:row;gap:8px;padding:5px 12px}
 .market-storefront .market-tabs .market-icon{width:24px;height:24px}
 .market-storefront .market-categories{padding-bottom:8px;gap:6px}
 .market-storefront .market-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important}
 .market-storefront .market-products .product-info{padding:8px!important}
}
@media(min-width:1200px){.market-storefront .market-main>#explorar>.market-products{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1680px){.market-storefront .market-main>#explorar>.market-products{grid-template-columns:repeat(6,minmax(0,1fr))}}
.market-storefront .consumer-nav .market-icon{width:24px;height:24px;display:block;flex:none}

@media(min-width:1101px){body.commerce-storefront.market-storefront:not(.restaurant-menu){display:block;width:100%;margin:0}}

/* Reserved advertising column; never a ticket or shopping cart. */
.market-ad-column{display:none}
.market-desktop-layout>#marketPage{min-width:0}
@media(min-width:1200px){
 .market-desktop-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(240px,20vw,320px);gap:24px;max-width:1760px;margin-inline:auto;padding:0 24px}
 .market-storefront .market-header,.market-storefront .market-main{padding-inline:0;max-width:none}
 .market-ad-column{display:flex;flex-direction:column;gap:16px;min-width:0;padding-top:16px;padding-bottom:80px;align-self:start}
 .market-ad-heading{margin:0;font-size:11px;line-height:20px;letter-spacing:.08em;text-transform:uppercase;color:#607267}
 .market-ad-slot{display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;border:1px dashed #bdcec3;border-radius:12px;background:#f0f5f2;color:#607267;padding:16px;text-align:center;font-size:12px}
}

/* Compact catalog cards; advertising keeps its independent column. */
.market-storefront .market-main>#explorar>.market-products .product-card{align-self:stretch}
.market-storefront .market-main>#explorar>.market-products .product-image{padding:0!important;margin:0;aspect-ratio:1.7!important;overflow:hidden;flex-shrink:0}
.market-storefront .market-main>#explorar>.market-products .product-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.market-storefront .market-main>#explorar>.market-products .product-info{padding:7px!important;gap:3px;flex:1}
.market-storefront .market-main>#explorar>.market-products .product-name-link{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px!important;line-height:1.3;min-height:36.4px!important;max-height:36.4px}
.market-storefront .market-main>#explorar>.market-products .product-price{font-size:18px;line-height:1.2}
.market-storefront .market-main>#explorar>.market-products .market-seller{min-height:32px;min-width:0;gap:4px}
.market-storefront .market-main>#explorar>.market-products .market-seller>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.market-storefront .market-main>#explorar>.market-products .buy-button{min-height:44px;margin-top:auto;padding:6px 4px;width:100%;font-size:13px}
@media(min-width:1400px){.market-storefront .market-main>#explorar>.market-products{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px!important}}

/* Full image content, with compact uniform desktop media. */
@media(min-width:1200px){.market-storefront .market-main>#explorar>.market-products .product-image{aspect-ratio:1.85!important;background:#fff}}

/* Grid 6cards 001: compact header and six real desktop cards; keep advertising. */
.market-storefront .market-header{padding-block:6px}
@media(min-width:1200px){
 .market-desktop-layout{grid-template-columns:minmax(0,1fr) clamp(240px,18vw,300px);gap:18px}
 .market-storefront .market-header{padding-block:4px}
 .market-storefront .market-main>#explorar>.market-products .product-info{padding:6px!important;gap:2px}
 .market-storefront .market-main>#explorar>.market-products .market-seller{min-height:28px}
 .market-storefront .market-main>#explorar>.market-products .product-image{aspect-ratio:2!important}
}
@media(min-width:1400px){.market-storefront .market-main>#explorar>.market-products{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px!important}}

/* Six compact cards within the existing desktop catalog and advertising layout. */
@media(min-width:1200px){
 .market-desktop-layout{grid-template-columns:minmax(0,1fr) clamp(220px,17vw,280px);gap:14px}
 .market-storefront .market-main>#explorar>.market-products{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px!important}
 .market-storefront .market-main>#explorar>.market-products .product-info{padding:5px!important}
}

/* Market identity only: preserve frozen catalogue grid and compact header. */
.market-storefront .market-brand{grid-template-columns:44px minmax(0,1fr);column-gap:8px}
.market-storefront .market-brand .market-identity{grid-column:1;grid-row:1/3;width:44px;height:44px;align-self:center;display:grid;place-items:center;color:var(--loy-green);background:#edf3ee;border-radius:8px;overflow:hidden}
.market-storefront .market-brand .market-identity img{width:44px;height:44px!important;max-height:44px;min-height:0;object-fit:contain;grid-column:1;grid-row:1}
.market-storefront .market-identity-fallback{width:28px;height:28px;grid-column:1;grid-row:1}
.market-storefront .market-brand strong{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.market-storefront .market-brand{grid-template-columns:40px minmax(0,1fr);column-gap:6px}.market-storefront .market-brand .market-identity{width:40px;height:40px}}

@media(max-width:600px){.market-storefront .market-brand .market-identity img{width:40px;height:40px!important;max-height:40px}}

/* One header band: institutional image is a non-interactive background layer. */
.market-header{position:relative;isolation:isolate}
.market-header>.market-institutional{display:none;position:absolute;inset:0;margin:0;z-index:-1;pointer-events:none;overflow:hidden;border-radius:8px}
.market-header>.market-institutional img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.market-header>.market-institutional:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,250,248,.96),rgba(247,250,248,.78) 40%,rgba(247,250,248,.2))}
.market-header>:is(.market-brand,.topbar-menu,.loy-signature){position:relative;z-index:1}
.market-header>.loy-signature{background:rgba(247,250,248,.86);border-radius:4px}
@media(min-width:601px){.market-header>.market-institutional-desktop.is-loaded{display:block}}
@media(max-width:600px){.market-header>.market-institutional-mobile.is-loaded{display:block}}
/* Slight hero compaction, preserving content and CTA size. */
@media(min-width:601px){.market-storefront .market-hero-slide{min-height:130px}.market-storefront .market-hero .commerce-banner-copy{padding-block:8px}.market-storefront .market-hero .market-hero-photo .commerce-banner-copy{padding-block:6px}}
@media(max-width:600px){.market-storefront .market-hero-slide,.market-storefront .market-hero .market-hero-photo{min-height:110px}.market-storefront .market-hero .market-hero-photo .commerce-banner-copy{padding-block:3px}}

/* Viewport-specific cover assets; dimensions and product grid are unchanged. */
@media(min-width:601px){.market-cover-mobile{display:none!important}}
@media(max-width:600px){.market-cover-desktop{display:none!important}}
.market-ad-slot:has(img){padding:0;overflow:hidden;border-style:solid;position:relative}
.market-ad-slot img{display:block;width:100%;height:100%;object-fit:cover}
.market-ad-slot>a{display:block;width:100%;height:100%}
.market-mobile-ad{margin:16px 0;aspect-ratio:4/1;overflow:hidden;border-radius:10px;position:relative;background:#f0f5f2}
.market-mobile-ad img{display:block;width:100%;height:100%;object-fit:cover}
.market-mobile-ad>a{display:block;width:100%;height:100%}
.market-mobile-ad small{position:absolute;bottom:2px;right:4px;background:#fff;color:#333;font-size:10px;padding:1px 4px}
@media(min-width:1200px){.market-mobile-ad{display:none}}

/* Desktop presentation spacing; card geometry and ad dimensions remain unchanged. */
@media(min-width:1200px){
 .market-desktop-layout{max-width:1888px;padding-inline:14px}
 .market-storefront .market-all-filter{min-width:44px;min-height:36px;padding:4px 6px}
 .market-storefront .market-tabs{padding:0 0 4px;margin-bottom:0;gap:6px}
 .market-storefront .market-tabs .commerce-category{min-height:44px;padding-block:3px}
 .market-storefront .consumer-nav{padding-block:0}
 .market-storefront .consumer-nav>a{min-height:44px;padding-block:2px}
}

/* Catalog density 002: spacing only; media, grid and advertising unchanged. */
.market-storefront .market-hero + #explorar{margin-top:-4px}
.market-storefront #explorar .market-all-filter{min-height:32px;padding-block:2px}
.market-storefront #explorar .market-tabs{padding-top:4px;padding-bottom:6px}
.market-storefront .market-main>#explorar>.market-products .product-info{padding-block:5px!important;gap:2px}
@media(min-width:1200px){
 .market-storefront .market-main>#explorar>.market-products .product-info{padding-block:4px!important;gap:1.5px}
}
@media(max-width:600px){
 .market-storefront .consumer-nav{padding-top:2px;padding-bottom:calc(2px + env(safe-area-inset-bottom, 0px))}
 .market-storefront .consumer-nav>a{min-height:44px;padding-block:2px}
 .market-storefront .consumer-nav .market-icon{width:22px;height:22px}
}

/* Desktop card visibility: preserve mobile and CTA geometry. */
@media(min-width:1200px){
 .market-storefront .consumer-nav>a{min-height:40px;padding-block:0}
 .market-storefront .market-main>#explorar>.market-products .product-info{padding-top:2px!important;gap:1px}
}

/* CATEGORY-LAYOUT-014: desktop discovery band; smartphone rules remain unchanged. */
@media(min-width:1024px){
 .market-storefront .market-main>#explorar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:12px;align-items:center}
 .market-storefront .market-main>#explorar>*{grid-column:1 / -1;min-width:0}
 .market-storefront .market-main>#explorar>.market-discovery-heading{display:contents}
 .market-storefront .market-main>#explorar>.market-discovery-heading>h2{grid-column:1;grid-row:1;white-space:nowrap}
 .market-storefront .market-main>#explorar>.market-discovery-heading>.market-all-filter{grid-column:3;grid-row:1;justify-self:end;position:relative;min-width:44px;height:32px;min-height:32px;max-height:32px;padding-block:2px}
 .market-storefront .market-main>#explorar>.market-discovery-heading>.market-all-filter::after{content:"";position:absolute;top:50%;left:50%;width:100%;min-width:44px;height:44px;transform:translate(-50%,-50%)}
 .market-storefront .market-main>#explorar>.market-tabs{grid-column:2;grid-row:1;justify-content:center;margin:0;padding:0;overflow:visible}
 .market-storefront .market-main>#explorar>.market-tabs .commerce-category{flex:0 1 150px;min-width:0;min-height:44px;padding:3px 8px;gap:6px}
 .market-storefront .market-main>#explorar>.market-tabs .market-icon{width:20px;height:20px}
 .market-storefront .market-main>#explorar>.market-tabs+*{margin-top:10px}
}
@media(min-width:1200px){
 .market-desktop-layout>.market-ad-column{padding-top:8px}
}
