/* Template properties deliberately override per-product styling and fixed geometry. */
.loop-auto .card,.loop-auto .coll{min-width:0!important;width:auto!important;height:auto!important;display:flex!important;flex-direction:column!important;align-self:stretch;translate:none!important;transform:none!important;overflow:visible!important}
.loop-auto .card *,.loop-auto .coll *{translate:none!important;transform:none!important;rotate:none!important;max-width:100%;font-family:var(--auto-font),sans-serif!important}
.loop-auto .card .tile,.loop-auto .coll .cph{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:var(--auto-ratio)!important;flex:none!important;border-radius:var(--auto-radius)!important;background-size:var(--auto-fit)!important;background-position:center!important;background-repeat:no-repeat!important;background-color:var(--auto-bg)!important;overflow:hidden!important}
.loop-auto .card .meta{height:auto!important;min-height:0!important;width:100%!important;padding:8px 2px!important;flex:1;display:flex;flex-direction:column;gap:5px}
.loop-auto .card .row1{display:flex!important;align-items:start!important;justify-content:space-between!important;gap:8px!important;width:100%!important;height:auto!important}
.loop-auto .card .brand,.loop-auto .card .price,.loop-auto .coll>span{font-size:var(--auto-meta)!important;line-height:1.4!important;color:var(--auto-ink)!important;overflow-wrap:anywhere}
.loop-auto .card .price{flex-shrink:0!important;white-space:nowrap}
.loop-auto .card .pname,.loop-auto .coll>b{font-size:var(--auto-title)!important;line-height:1.4!important;color:var(--auto-ink)!important;height:auto!important;min-height:calc(var(--auto-title)*1.4*var(--auto-lines))!important;margin:0!important;width:100%!important;display:-webkit-box!important;-webkit-line-clamp:var(--auto-lines);-webkit-box-orient:vertical;overflow:hidden!important;overflow-wrap:anywhere}
.loop-auto .grid,.loop-auto .collrow,.loop-auto .lb-brands,.loop-auto .lb-products{display:grid!important;grid-template-columns:repeat(var(--auto-columns),minmax(0,1fr))!important;gap:var(--auto-gap)!important;overflow:visible!important;min-width:0!important;width:100%!important;height:auto!important;transform:none!important;translate:none!important}
.loop-auto .grid>.card,.loop-auto .lb-products>.card{grid-column:auto!important;order:initial!important}
.loop-auto [data-studio-section]{min-width:0;clear:both;margin-bottom:34px}
.loop-auto .split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:28px!important;align-items:center!important;min-width:0!important;width:100%!important;height:auto!important;overflow:visible!important}
.loop-auto .split>.ph-big{width:100%!important;height:auto!important;min-height:300px!important;aspect-ratio:4/3!important;max-width:100%!important;position:relative!important}
.loop-auto .split>.txt{width:100%!important;min-width:0!important;height:auto!important;overflow:visible!important}
.loop-auto .split h2,.loop-auto .split p,.loop-auto .statsrow>div{max-width:100%!important;height:auto!important;overflow-wrap:anywhere;overflow:visible!important}
.loop-auto .statsrow{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;height:auto!important}
.loop-auto .statsrow>div{width:auto!important;min-width:0!important;min-height:0!important;padding:16px}
.loop-auto .statsrow b{font-size:clamp(18px,2.1vw,32px)!important;line-height:1.2!important}
.loop-auto .statsrow span{line-height:1.5!important;display:block;margin-top:8px}
.loop-auto [data-studio-section="curated"] .split{margin-bottom:22px}
.loop-auto .auto-curated-products{margin-top:20px}
.loop-auto .lb-type-products,.loop-auto .lb-type-brands,.loop-auto .lb-type-benefits,.loop-auto .lb-type-text{height:auto!important;overflow:visible!important}
.loop-auto .lb-heading,.loop-auto .lb-heading>div{min-width:0;max-width:100%}
.loop-auto .lb-heading h2,.loop-auto .lb-text p{overflow-wrap:anywhere}
@media(max-width:1100px){.loop-auto .lb-mainnav{flex-wrap:wrap}.loop-auto .lb-search{flex:1 1 360px}.loop-auto .lb-location{display:none}}
@media(max-width:759px){.loop-auto .grid,.loop-auto .collrow,.loop-auto .lb-brands,.loop-auto .lb-products{grid-template-columns:repeat(var(--auto-mobile),minmax(0,1fr))!important}.loop-auto .split{grid-template-columns:minmax(0,1fr)!important}.loop-auto .split>.ph-big{min-height:180px!important}.loop-auto .statsrow{grid-template-columns:minmax(0,1fr)!important}.loop-auto .card .row1{flex-wrap:wrap}.loop-auto .split h2{font-size:clamp(24px,7vw,40px)!important}}

/* Type can be shared through the template or customized on individual text. */
.loop-auto :is(.card,.coll) .pname{font-weight:var(--auto-titleWeight,600)!important}
.loop-auto :is(.card,.coll) :is(.brand,.price){font-weight:var(--auto-metaWeight,600)!important}
