/* Photo-first store layout. Commerce data, permissions and native actions stay shared. */
#main [data-mobile-template]{background:var(--mt-paper)!important;color:var(--mt-ink)!important}
#main [data-mobile-template] :is([data-stay-public],[data-ladera-public],[data-csp-slot="promotions"],.store-promotions-section,.store-coupons-section,.store-action-bar,.premium-commerce-toolbar,.store-section-nav,.store-utility-rail){background:var(--mt-paper)!important;color:var(--mt-ink)!important}
#main [data-mobile-template] :is(.store-offer-card,.utility-card){background:var(--mt-surface)!important;color:var(--mt-ink)!important;border-color:var(--mt-line)!important}
#main [data-mobile-template] :is(.store-offers-title,.store-section-nav button,.utility-card h3){color:var(--mt-ink)!important}
#main [data-mobile-template] :is(.store-action-bar .btn.secondary,.store-action-bar a[href^="tel:"]){background:var(--mt-surface)!important;color:var(--mt-ink)!important;border-color:var(--mt-line)!important}
#main [data-mobile-template] .store-section-nav button[aria-current="location"]{background:var(--mt-surface)!important;color:var(--mt-accent)!important;box-shadow:inset 0 -3px var(--mt-accent)!important}
#main [data-mobile-template] .store-hero-favorite{background:var(--mt-surface)!important;color:var(--mt-ink)!important;border-color:var(--mt-line)!important}
#main [data-mobile-template] .store-hero-favorite :is(.favorite-label,.icon){color:inherit!important}
#main [data-mobile-template] .store-hero-favorite[data-saved="true"]{color:var(--mt-accent)!important}
footer[data-veo-store-theme]{background:var(--veo-store-paper)!important;color:var(--veo-store-ink)!important;border-color:var(--veo-store-line)!important;margin-top:0!important}
footer[data-veo-store-theme] :is(h4,a,p,small,.footer-bottom){color:var(--veo-store-ink)!important}
footer[data-veo-store-theme] :is(p,small,.footer-bottom){opacity:.8}
footer[data-veo-store-theme] .footer-bottom{border-color:var(--veo-store-line)!important}
footer[data-veo-store-theme] button{color:var(--veo-store-accent)!important}
#app:has(#main .store-experience-page,#main>.store-page-renderer)>footer{margin-top:0!important}
/* A cover uploaded for the ordinary store must not become a tiny template thumbnail. */
@media(min-width:701px){
 #main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero]{display:flex!important;flex-direction:column!important;gap:0!important;min-height:0!important;padding:0!important;width:100%!important;overflow:hidden}
 #main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-art]{order:0;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;height:clamp(220px,24vw,340px)!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;transform:none!important;border-radius:0!important;background:var(--mt-paper)!important;overflow:hidden}
 #main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-flow]{display:contents!important}
 #main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-main]{position:static!important;width:100%!important;max-width:none!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;transform:none!important}
 #main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-image]{display:block!important;position:static!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;border-radius:0!important}
 #main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-copy]{order:1;position:static!important;width:100%!important;max-width:none!important;min-height:0!important;padding:20px max(24px,calc((100% - 1180px)/2))!important;margin:0!important;background:var(--mt-paper)!important;color:var(--mt-ink)!important}
 #main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-art] img:not([data-mt-hero-image]){display:none!important}
}
@media(max-width:700px){
 .browse-explore-page{padding-top:10px!important}.browse-explore-page .compact-title{padding:0!important;margin:0 0 10px!important}.browse-explore-page .compact-title h1{font-size:25px!important;line-height:1.2!important;margin:0!important}.browse-explore-page .browse-location-note{font-size:11px;margin:5px 0 0;line-height:1.3}
 .browse-explore-page .browse-controls{display:grid!important;grid-template-columns:minmax(94px,.8fr) minmax(0,1.2fr)!important;gap:7px!important;margin:0 0 9px!important;padding:0!important;align-items:end}
 .browse-explore-page .browse-controls>label{font-size:0!important;margin:0!important;gap:0!important}.browse-explore-page #browse-city{font-size:12px!important;height:44px!important;min-height:44px!important;padding:8px 10px!important;margin:0!important;border-radius:11px!important}
 .browse-explore-page .browse-primary-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important}.browse-explore-page .browse-primary-actions .btn{font-size:11px!important;line-height:1.2!important;min-width:0!important;min-height:44px!important;padding:6px 3px!important;border-radius:11px!important;gap:3px!important;white-space:normal}.browse-explore-page .browse-primary-actions .icon{width:15px;height:15px;flex:none}
 .browse-explore-page .browse-secondary-actions{grid-column:1/-1;display:flex!important;gap:6px!important;flex-wrap:wrap!important}.browse-explore-page .browse-secondary-actions:empty{display:none!important}.browse-explore-page .browse-secondary-actions .btn{min-height:32px!important;font-size:10px!important;padding:4px 7px!important}
 .browse-explore-page .search-bar{margin:0 0 8px!important;min-height:46px!important;padding:5px!important;border-radius:12px!important}.browse-explore-page .search-bar input{font-size:12px!important;min-width:0!important}.browse-explore-page .search-bar .btn{min-height:36px!important;padding:6px 12px!important;font-size:12px!important}
 .browse-filter-menu{margin:0 0 8px!important;border:1px solid #e7e5df;border-radius:11px;background:#fff}.browse-filter-menu>summary{display:flex;align-items:center;gap:6px;min-height:42px;padding:8px 11px;list-style:none;font-size:12px;cursor:pointer}.browse-filter-menu>summary::-webkit-details-marker{display:none}.browse-filter-menu>summary::after{content:'⌄';margin-left:auto;font-size:16px}.browse-filter-menu[open]>summary::after{content:'⌃'}.browse-filter-menu>summary .icon{width:16px;height:16px}.browse-filter-menu>summary small{font-size:10px;color:var(--muted)}.browse-filter-content{padding:0 9px 9px}
 .browse-explore-page .category-grid{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0 0 9px!important}.browse-explore-page .category-card{display:flex!important;flex:0 1 auto!important;align-items:center;gap:5px!important;min-height:38px!important;padding:7px 9px!important;font-size:11px!important;border-radius:20px!important;width:auto!important}.browse-explore-page .category-card .icon{width:15px;height:15px}.browse-explore-page .filters{padding:0!important;margin:0!important;gap:6px!important}.browse-explore-page .sub-chips{gap:5px!important;margin:6px 0 0!important}.browse-explore-page .filters .chip,.browse-explore-page .sub-chips .chip{font-size:10px!important;padding:6px 8px!important;min-height:34px!important}.browse-explore-page .result-meta{font-size:11px!important;margin:5px 0 8px!important;min-height:0!important}
 /* One compact right-hand action row lets the whole photo reach the card bottom. */
 #main .store-menu-section .menu-item{grid-template-columns:44% minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:3px 9px!important;align-items:start!important;min-height:118px!important;padding:8px!important}
 #main .store-menu-section .menu-item>.menu-item-media{grid-column:1!important;grid-row:1/4!important;width:100%!important;max-width:none!important;height:100%!important;min-height:102px!important;max-height:none!important;align-self:stretch!important;background:transparent!important}
 #main .store-menu-section .menu-item .menu-item-media :is(.vmc-track,.vmc-slide){height:100%!important;min-height:0!important;aspect-ratio:auto!important;background:transparent!important}
 #main .store-menu-section .menu-item .menu-item-media img{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:contain!important;background:transparent!important}
 #main .store-menu-section .menu-item>.menu-item-copy{grid-column:2!important;grid-row:1!important;padding:1px 0!important;align-self:start!important}
 #main .store-menu-section .menu-item h3{font-size:14px!important;line-height:1.3!important;margin:0!important}.store-menu-section .menu-item-copy p{display:none!important}
 #main .store-menu-section .menu-item>.menu-item-price{grid-column:2!important;grid-row:2!important;padding:2px 0!important;font-size:21px!important;align-self:center!important}
 #main .store-menu-section .menu-item>.catalog-card-actions{grid-column:2!important;grid-row:3!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:1px!important;align-self:end!important;padding:0!important;margin:0!important;min-width:0!important}
 #main .store-menu-section .menu-item>.catalog-card-actions>[data-catalog-order]{order:0!important;flex:1!important;min-width:0!important;width:auto!important;height:44px!important;min-height:44px!important;font-size:11px!important;padding:5px 4px!important;white-space:normal!important;border-radius:10px!important}
 #main .store-menu-section .menu-item>.catalog-card-actions>:is([data-item-favorite],.veo-share-button){position:relative!important;order:1!important;flex:0 0 36px!important;min-width:36px!important;width:36px!important;height:44px!important;min-height:44px!important;padding:9px!important;grid-column:auto!important;grid-row:auto!important}
 #main .store-menu-section .menu-item>.catalog-card-actions>.veo-share-button{order:2!important}
 #main .store-promotions-section[data-deal-display=catalog] .store-offer-card{grid-template-columns:44% minmax(0,1fr)!important;align-items:stretch!important;gap:9px!important;min-height:128px!important}
 #main .store-promotions-section[data-deal-display=catalog] .deal-photo{width:100%!important;height:100%!important;min-height:112px!important;aspect-ratio:auto!important;background:transparent!important}
 #main .store-promotions-section[data-deal-display=catalog] .deal-photo img{display:block;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:contain!important;background:transparent!important}
 #main .store-promotions-section[data-deal-display=catalog] .store-offer-card>div:last-child{display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:4px!important;padding:0!important}.store-promotions-section[data-deal-display=catalog] .row.between{flex:1;align-items:flex-end!important}
 .coupon-mini-track{grid-auto-columns:calc((100% - 16px)/3)!important}.coupon-mini-strip{min-height:96px!important;gap:2px!important;padding:6px 3px!important}.coupon-mini-strip .coupon-mini-icon{display:grid!important;place-items:center!important;width:29px!important;height:29px!important;min-height:29px!important;border-radius:7px!important;background:transparent!important;color:#f34f37!important}.coupon-mini-strip .coupon-mini-icon svg{width:29px!important;height:29px!important}.coupon-mini-strip strong{font-size:19px!important}.coupon-mini-strip>small{font-size:10px!important}.coupon-mini-strip .coupon-mini-link{font-size:10px!important}
 #main:has(.store-experience-page,.store-page-renderer){min-height:0!important;padding-bottom:14px!important}
 #main .store-experience-page,#main>.store-page-renderer{min-height:0!important;padding-bottom:0!important;margin-bottom:0!important}
 #main .store-commerce-layout{margin-bottom:0!important}.store-utility-rail>.utility-card:last-child{margin-bottom:0!important}
 /* Gallery frames must inherit their photo's full height, never a fixed inner 104px. */
 #main [data-mobile-template] [data-template-mobile-essentials] .whatsapp-button{color:color-mix(in srgb,#0c9e52 35%,var(--mt-ink))!important}
 #main [data-mobile-template] [data-mt-card]{position:relative!important;min-height:140px!important}
 #main [data-mobile-template] [data-mt-card]:not([data-mt-item]){display:flex!important;flex-direction:column!important}
 #main [data-mobile-template] [data-mt-item]{position:static!important;grid-template-columns:minmax(0,1fr)!important;padding:8px 8px 0 calc(44% + 10px)!important;gap:3px!important}
 #main [data-mobile-template] [data-mt-card]:not([data-mt-item])>[data-mt-item]{flex:1!important}
 #main [data-mobile-template] [data-mt-media]{grid-area:auto!important;position:absolute!important;left:8px!important;top:8px!important;bottom:8px!important;width:calc(44% - 10px)!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;align-self:stretch!important}
 #main [data-mobile-template] :is([data-mt-name],[data-mt-description],[data-mt-price],[data-mt-stock]){grid-column:1!important}
 #main [data-mobile-template] [data-mt-description]{-webkit-line-clamp:1!important}
 #main [data-mobile-template] [data-premium-product-actions]{padding:0 8px 8px calc(44% + 10px)!important;min-height:44px!important}
 #main [data-mobile-template] [data-premium-product-actions] :is(button,.veo-share-button){min-width:36px!important;width:36px!important;padding:9px!important}
 #main [data-mobile-template] [data-premium-product-actions] [data-premium-order]{flex:1!important;width:auto!important;min-width:0!important;white-space:normal!important}
 #main [data-mobile-template] [data-mt-card][data-mt-item]{position:relative!important}
 #main [data-mobile-template] [data-mt-card][data-mt-item]>[data-premium-product-actions]{grid-column:1!important;padding:0 0 8px!important}
 #main [data-mobile-template] [data-mt-more]{top:8px!important;bottom:auto!important;left:8px!important}
 #main [data-mobile-template] [data-mt-more]>summary{width:32px!important;min-height:32px!important;height:32px!important;font-size:20px!important}
 #main [data-mobile-template] [data-mt-media] :is(.vmc-track,.vmc-slide){height:100%!important;min-height:0!important;aspect-ratio:auto!important;background:transparent!important}
 #main [data-mobile-template] [data-mt-media] img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;background:transparent!important}
 #main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-art],#main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-main],#main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-image]{height:180px!important;max-height:180px!important}
 #main [data-mobile-template]:not([data-csp-mode]) [data-mt-hero-image]{object-fit:contain!important;background:var(--mt-paper)!important}
 footer[data-veo-store-theme]{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
}
@media(min-width:701px){.browse-filter-menu{margin:12px 0;border:1px solid var(--line);border-radius:12px;padding:8px 12px}.browse-filter-menu>summary{display:flex;align-items:center;gap:8px;min-height:38px;cursor:pointer}.browse-filter-menu>summary .icon{width:18px;height:18px}.browse-filter-menu>summary small{font-size:12px}.browse-filter-content{padding:12px 0}}

/* R68: ordinary document navigation and consistent photo frames. */
#main .store-section-nav{position:static!important;top:auto!important;z-index:auto!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.store-hero-tools{position:absolute;right:24px;bottom:24px;display:flex;align-items:center;gap:12px;z-index:5}
@media(min-width:701px){.store-hero-tools :is(.store-hero-share,.store-hero-favorite){position:static!important;inset:auto!important;margin:0!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center}}
@media(max-width:700px){
 .header{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;height:calc(67px + env(safe-area-inset-top,0px))!important;padding-top:env(safe-area-inset-top,0px)!important}
 .mobile-nav{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 .csp-header{background:#f7f5ef!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 .store-hero-tools{display:contents}
 #main [data-mobile-template] .store-hero-tools{display:none!important}
 #main .store-menu-section .menu-item>.menu-item-media{aspect-ratio:1!important;height:auto!important;min-height:0!important;align-self:center!important;display:block!important}
 #main .store-menu-section .menu-item .menu-item-media :is(.vmc-track,.vmc-slide,img){height:100%!important;min-height:0!important;aspect-ratio:1!important;object-fit:cover!important;object-position:center!important;background:transparent!important}
 #main .store-menu-section .menu-item h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #main .store-promotions-section[data-deal-display=catalog] .store-offer-card{padding:8px!important;min-height:0!important;gap:9px!important}
 #main .store-promotions-section[data-deal-display=catalog] .deal-photo{aspect-ratio:1!important;height:auto!important;min-height:0!important;align-self:center!important}
 #main .store-promotions-section[data-deal-display=catalog] .deal-photo img{height:100%!important;aspect-ratio:1!important;object-fit:cover!important;object-position:center!important}
 #main [data-mobile-template] [data-mt-card-list]{container-type:inline-size}
 #main [data-mobile-template] [data-mt-card]{min-height:max(140px,calc(44cqw + 6px))!important}
 #main [data-mobile-template] [data-mt-media]{top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;aspect-ratio:1!important;height:auto!important}
 #main [data-mobile-template] [data-mt-media] :is(img,.vmc-track,.vmc-slide){aspect-ratio:1!important;object-position:center!important;object-fit:cover!important}
}
.order-history-workspace [data-oh-filter]>.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.order-history-workspace [data-oh-filter]>.form-grid>label{display:grid;gap:6px;margin:0;min-width:0;font-size:13px;line-height:1.4;align-content:start}
.order-history-workspace [data-oh-filter]>.form-grid>label:first-child{grid-column:1/-1}
.order-history-workspace [data-oh-filter] :is(input,select){display:block;box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:8px 10px!important;font:inherit;font-size:14px;line-height:26px;border-radius:10px}
.order-history-workspace [data-oh-filter] input[type=date]{-webkit-appearance:none;appearance:none}
.order-history-workspace [data-oh-filter] input[type=date]::-webkit-date-and-time-value{min-height:26px;text-align:left}
.order-history-workspace [data-oh-filter] .order-timezone-field{grid-column:1/-1!important;display:grid!important}
.order-history-workspace [data-oh-filter] .management-filter-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.order-history-workspace [data-oh-filter] .management-filter-actions .btn{height:44px!important;min-height:44px!important;min-width:72px}
.rg-order-entries{display:grid;gap:10px;margin:12px 0}
.rg-order-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:13px;min-width:0}
.rg-order-context{display:grid;gap:5px;min-width:0}.rg-order-context :is(strong,span,small){overflow-wrap:anywhere}.rg-order-context strong{font-size:15px}.rg-order-context span{font-size:13px;line-height:1.4}.rg-order-context small{font-size:11px;color:var(--muted)}
.rg-order-entry>.btn{flex:none;min-height:44px;max-width:44%;white-space:normal;text-align:center}
.rg-composer-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.rg-composer-heading h3{margin:0}.rg-composer-heading .btn{flex:none}.rg-composer-heading+.rg-order-context{margin:12px 0}
.review-governance-workspace .rg-order-entry .btn,.review-governance-workspace>[data-rg-feedback]{min-height:44px}
@media(max-width:360px){.rg-order-entry{align-items:stretch;flex-direction:column}.rg-order-entry>.btn{max-width:none;align-self:flex-start}}

@media(max-width:700px){
 .order-history-workspace [data-oh-filter]>.form-grid>label:nth-child(2){grid-column:1/-1}
 #main .store-promotions-section[data-deal-display=catalog] .deal-photo img,#main [data-mobile-template] [data-mt-media] img{max-height:none!important;min-height:0!important;max-width:none!important;width:100%!important;height:100%!important}
}

/* R68 v2: the carousel's own track must fill the square thumbnail frame. */
@media(max-width:700px){
 #main .store-promotions-section[data-deal-display=catalog] .deal-photo :is(.vmc,.vmc-track,.vmc-slide){display:block!important;aspect-ratio:1!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;background:transparent!important}
 #main .store-promotions-section[data-deal-display=catalog] .deal-photo .vmc-track{display:flex!important}
 #main .store-promotions-section[data-deal-display=catalog] .deal-photo img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:1!important;object-fit:cover!important;object-position:center!important}
}
