@scope (.loop-template) {
@font-face{font-family:Host;src:url('loop-brand/HostGrotesk-Regular.ttf')}:scope,*{box-sizing:border-box}:scope{scroll-behavior:smooth}:scope{margin:0;background:#f1f0ec;color:#383838;font:14px Host,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer;min-height:42px;color:inherit;border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #EB4226;outline-offset:3px}img{max-width:100%;display:block}.store-header{padding:20px 28px 12px;background:#f1f0eceb;backdrop-filter:blur(20px);position:relative;z-index:2}.top{display:flex;align-items:center;gap:18px}.logo{width:101px;flex:none;text-decoration:none;color:inherit}.logo img{width:101px}.logo small{display:block;font-size:7px;text-align:center;margin-top:6px}.search{display:flex;align-items:center;gap:12px;background:#ffffffa8;border:1px solid white;border-radius:100px;flex:1;min-width:140px;padding:4px 5px 4px 18px}.search span{font-size:11px;white-space:nowrap}.search input{width:100%;min-width:0;border:0;outline:none;background:transparent;font-size:12px}.search button{background:#EB4226;color:white;width:34px;min-height:34px;flex:none;border-radius:50%;font-size:25px}.location{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:9px;white-space:nowrap}.location img{width:23px;height:14px}.glass,.nav button{display:inline-flex;justify-content:center;align-items:center;gap:12px;background:#ffffffb8;backdrop-filter:blur(16px);border:1px solid #ffffffba;border-radius:99px;color:#383838;padding:10px 18px;font-size:12px;box-shadow:0 3px 16px #38383804}.glass:hover,.nav button:hover{background:white}.bag{white-space:nowrap}.bag b{color:#EB4226}.nav{display:flex;gap:10px;padding-top:18px;flex-wrap:wrap}.nav button{font-size:11px;min-height:36px;padding:8px 16px}:scope.layout{padding:0 22px}.hero{position:relative;isolation:isolate;border-radius:30px;overflow:hidden;min-height:440px;display:flex;align-items:center}.hero-photo{position:absolute;inset:0;z-index:-2}.hero-photo>img{width:100%;height:100%;object-fit:cover}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f1f0ecb8,transparent 85%);z-index:-1}.hero-copy{padding:52px;max-width:620px}.eyebrow{font-size:9px;letter-spacing:.17em;font-weight:500}h1{font-size:clamp(32px,4.8vw,66px);line-height:1.05;letter-spacing:-.05em;font-weight:500;margin:20px 0}h2{font-size:clamp(26px,3vw,42px);line-height:1.08;letter-spacing:-.04em;font-weight:500;margin:10px 0 22px}.hero-copy p{font-size:14px;line-height:1.6;margin-bottom:26px}.edit-image{position:absolute;top:12px;right:12px;background:#ffffffde;border:1px solid #ffffffb0;border-radius:100px;font-size:10px;padding:6px 10px;min-height:30px;z-index:3;opacity:0;transition:opacity .15s}.hero:hover>.hero-photo>.edit-image,.product-photo:hover>.edit-image,.story-photo:hover>.edit-image,.selection:hover>.edit-image,.hero-side:hover>.edit-image,.collection-tile:hover>.edit-image,.edit-image:focus-visible{opacity:1}.brand-rail{display:flex;gap:10px;align-items:center;padding:24px 4px;flex-wrap:wrap}.brand-rail>span{font-size:9px;letter-spacing:.12em;margin-right:12px}.brand-rail button{font-size:11px;padding:7px 14px;min-height:34px}.selection{position:relative;isolation:isolate;border-radius:32px;padding:40px;overflow:hidden}.section-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.selection:after{content:'';position:absolute;inset:0;background:#f1f0ec70;z-index:-1}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0 26px}.section-heading h2{margin-bottom:0}.section-heading>div{background:#f1f0eceb;padding:16px 22px;border-radius:24px;backdrop-filter:blur(12px)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start}.product{min-width:0}.product-photo{position:relative;border-radius:28px;overflow:hidden;background:#efeeeb;aspect-ratio:4/5}.product-photo>img{width:100%;height:100%;object-fit:contain}.product-text{position:relative;padding:14px 44px 14px 18px;border-radius:21px;margin-top:8px;background:#ffffffd6;backdrop-filter:blur(16px)}.product-text>span{font-size:9px;letter-spacing:.1em;text-transform:uppercase}.product-text h3{font-size:13px;font-weight:500;margin:6px 0}.product-text small{font-size:9px;color:#62615d}.product-open{position:absolute;right:10px;top:16px;background:transparent;font-size:21px;min-width:32px}:scope.galeria .product-3{grid-column:2}.story{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:30px 0 0;border-radius:30px;overflow:hidden;background:#e7e7e1}.story-photo{position:relative;min-height:360px;max-height:460px}.story-photo>img{width:100%;height:100%;object-fit:cover}.story-copy{padding:42px;align-self:center}.story-copy p{font-size:13px;line-height:1.7;max-width:300px}footer{display:flex;align-items:center;gap:30px;padding:40px 30px;font-size:11px}footer img{width:85px}footer small{margin-left:auto;font-size:9px;color:#62615d}.hero-side{position:relative;overflow:hidden}.hero-side>img{width:100%;height:100%;object-fit:cover}:scope.mosaico .hero{display:grid;grid-template-columns:1.15fr 1fr;min-height:460px}:scope.mosaico .hero-copy{padding:38px}:scope.mosaico .hero-side{height:460px;margin:20px;border-radius:24px}:scope.mosaico .product-grid{grid-template-columns:1.25fr 1fr 1fr}:scope.mosaico .product-0{grid-row:span 2}:scope.mosaico .product-0 .product-photo{aspect-ratio:3/5}:scope.mosaico .product-3{grid-column:2/4;display:grid;grid-template-columns:1fr 1fr;gap:8px}:scope.mosaico .product-3 .product-photo{aspect-ratio:1.1}:scope.mosaico .product-3 .product-text{align-self:center;padding:24px}:scope.vitrina .hero{display:grid;grid-template-columns:1fr 1fr;min-height:360px}:scope.vitrina .hero-photo{opacity:.13}:scope.vitrina .hero-side{height:390px}:scope.vitrina .hero-side img{object-fit:contain}:scope.vitrina .hero-copy{padding:36px}:scope.vitrina .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}:scope.vitrina .product-text{padding-left:12px}:scope.vitrina .selection{padding:28px}:scope.colecciones .hero{display:block;padding:32px}:scope.colecciones .hero-photo{opacity:.35}:scope.colecciones .hero-copy{padding:0 12px 28px;max-width:none}:scope.colecciones h1{font-size:42px}.collection-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.collection-tile{height:310px;position:relative;overflow:hidden;border-radius:28px}.collection-tile>img{width:100%;height:100%;object-fit:cover}.collection-tile>.glass{position:absolute;bottom:18px;left:18px}:scope.colecciones .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}:scope.editorial .hero{min-height:580px;align-items:flex-start}:scope.editorial .hero-copy{padding-top:74px;width:60%}:scope.editorial .hero-side{width:29%;height:370px;margin:110px 30px 30px 0;border-radius:120px 120px 28px 28px;transform:rotate(3deg)}:scope.editorial .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:36px 0;gap:24px}:scope.editorial .product:nth-child(even){margin-top:64px}:scope.editorial .product-photo{border-radius:40px}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:90%;padding:16px 24px;border-radius:20px;background:#383838;color:#fff;z-index:10;font-size:13px;box-shadow:0 8px 30px #0002}
@media(max-width:850px){.top{gap:12px;flex-wrap:wrap}.search{order:4;flex-basis:100%}.location{margin-left:auto}.account,.bag{font-size:10px;padding:8px 12px}.hero-copy{padding:30px}h1{font-size:42px}.selection{padding:24px}.product-grid,:scope.vitrina .product-grid,:scope.colecciones .product-grid,:scope.editorial .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:scope.galeria .product-3{grid-column:auto}.brand-rail{gap:8px}.story-copy{padding:28px}:scope.mosaico .product-grid{grid-template-columns:1fr 1fr}:scope.mosaico .product-0{grid-row:auto}:scope.mosaico .product-0 .product-photo{aspect-ratio:4/5}:scope.mosaico .product-3{grid-column:auto;display:block}:scope.mosaico .product-3 .product-photo{aspect-ratio:4/5}:scope.mosaico .product-3 .product-text{padding:14px 44px 14px 18px}.collection-tile{height:240px}:scope.editorial .hero-side{width:35%;height:340px;margin-top:130px}:scope.editorial .hero-copy{padding-left:28px}:scope.editorial .hero{min-height:520px}:scope.editorial .product:nth-child(even){margin-top:24px}}
@media(max-width:500px){.store-header{padding:16px 16px 12px}.logo{width:88px}.logo img{width:88px}.top{gap:8px}.location{font-size:8px}.account{display:none}.bag{font-size:10px}.nav{gap:6px;padding-top:12px}.nav button{font-size:10px;min-height:40px;padding:8px 10px}:scope.layout{padding:0 12px}.hero,.selection{border-radius:24px}.hero{min-height:355px}.hero-copy{padding:26px}.hero-copy h1{font-size:38px}.hero-copy p{font-size:12px}.brand-rail>span{width:100%;margin-bottom:3px}.brand-rail{padding:20px 4px}.brand-rail button{font-size:10px;padding:6px 10px}.section-heading{display:block}.section-heading>div{padding:14px}.section-heading>.glass{display:none}.section-heading h2{font-size:26px}.selection,:scope.vitrina .selection{padding:16px}.product-grid,:scope.vitrina .product-grid,:scope.colecciones .product-grid,:scope.editorial .product-grid{gap:16px}.product-photo{border-radius:22px}.product-text{padding:12px 28px 12px 12px;border-radius:16px}.product-text h3{font-size:11px}.product-open{right:0;min-width:28px}.story{grid-template-columns:1fr}.story-photo{min-height:300px;height:340px}.story-copy{padding:28px}.story-copy h2{font-size:32px}footer{padding:28px 16px;gap:15px;flex-wrap:wrap}footer small{margin-left:0;width:100%}:scope.mosaico .hero,:scope.vitrina .hero{grid-template-columns:1fr}:scope.mosaico .hero-copy,:scope.vitrina .hero-copy{padding:26px}:scope.mosaico .hero-side{height:280px;margin:0 18px 18px}:scope.vitrina .hero-side{height:300px}:scope.colecciones .hero{padding:20px}:scope.colecciones .hero-copy{padding:8px 4px 20px}:scope.colecciones h1{font-size:36px}.collection-tiles{grid-template-columns:1fr 1fr;gap:12px}.collection-tile:first-child{grid-column:span 2;height:220px}.collection-tile{height:230px}.collection-tile>.glass{left:10px;bottom:10px;font-size:11px;padding:8px 12px}:scope.editorial .hero{min-height:590px;display:block}:scope.editorial .hero-copy{width:100%;padding:34px 26px}:scope.editorial .hero-side{width:48%;height:250px;margin:0 24px 30px auto}:scope.editorial .product-photo{border-radius:28px}.edit-image{opacity:1;font-size:9px;min-height:30px;padding:6px 8px}}
@media(prefers-reduced-motion:reduce){:scope{scroll-behavior:auto}.edit-image{transition:none}}
/* Regla de imágenes: sin relleno añadido detrás de la fotografía. */
.product-photo{background:transparent;border-radius:28px}
.product-photo>img{border-radius:28px}
.hero-side,.hero-photo,.story-photo{border-radius:28px;overflow:hidden}
.hero-side>img,.hero-photo>img,.story-photo>img{border-radius:inherit}
@media(max-width:500px){.product-photo,.product-photo>img{border-radius:22px}}
.product-photo{display:flex;align-items:center;justify-content:center}
.product-photo>img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}

/* Regla común: toda fotografía cargada conserva esquinas redondeadas. */
:scope.layout{--photo-radius:28px}
:scope.layout img[data-slot]{border-radius:var(--photo-radius)}
:scope.layout .product-photo,:scope.layout .hero-photo,:scope.layout .hero-side,:scope.layout .story-photo,:scope.layout .collection-tile{border-radius:var(--photo-radius);overflow:hidden}
@media(max-width:500px){:scope.layout{--photo-radius:22px}}

.catalog-filters{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 24px}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin:36px 0;padding:32px;border-radius:28px;background:#ffffff80}.product-detail .product-photo{height:440px;aspect-ratio:auto}.product-detail p{line-height:1.6}.brand-directory .product-text{border-radius:999px}:scope.mosaico .catalog-filters{justify-content:flex-end}:scope.vitrina .product-detail{grid-template-columns:1.2fr 1fr}:scope.editorial .product-detail{background:transparent}:scope.colecciones .product-detail{grid-template-columns:1fr 1.2fr}@media(max-width:600px){.product-detail,:scope.vitrina .product-detail,:scope.colecciones .product-detail{grid-template-columns:1fr;padding:18px;gap:20px}.product-detail .product-photo{height:330px}}

}
.loop-template{font:14px Host,Arial,sans-serif;color:#383838;background:#f1f0ec;width:100%}
.loop-template [hidden]{display:none!important}
.loop-template .product-grid .card{border-radius:28px;overflow:hidden}
body[data-template-screen]>.top{background:#f1f0eceb;backdrop-filter:blur(20px);border:0;padding:12px 20px}
body[data-template-screen] .top-in{max-width:none;padding:8px 6px 16px}
body[data-template-screen] .wordmark img{width:101px!important;max-width:101px!important}
body[data-template-screen] .topicons .ic{border-radius:99px;background:#ffffffb8;border:1px solid #ffffffba;padding:12px}
body[data-template-screen] .dnav{max-width:none;padding:0 6px}
body[data-template-screen] .dtrack{border-radius:99px;background:#ffffff90;border:1px solid #fff;box-shadow:none}
body[data-template-screen] .dseg,body[data-template-screen] .dthumb{border-radius:99px}
.loop-template .template-commerce{position:relative;z-index:1;padding-top:20px}
.loop-template .template-commerce .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.loop-template.vitrina .template-commerce .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.loop-template .template-commerce .card,.loop-template .template-commerce .card-photo{border-radius:26px;overflow:hidden;background:transparent}
.loop-template .template-commerce .chip,.loop-template .template-commerce .searchbar{border-radius:99px;background:#ffffffb8;backdrop-filter:blur(16px)}
@media(max-width:700px){.loop-template .template-commerce .grid,.loop-template.vitrina .template-commerce .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}body[data-template-screen]>.top{padding:8px}}

.loop-template .product-grid .tile.product-photo{background-size:cover;background-position:center;background-repeat:no-repeat}

/* Full homepage: editorial collections retain their uploaded images. */
.loop-template.layout .home-section{margin:clamp(28px,5vw,72px) 0;min-width:0}
.loop-template [hidden]{display:none!important}
.loop-template.layout .home-section .section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.loop-template.layout .home-section h2{font-size:clamp(24px,3vw,40px);line-height:1.12;margin:0}
.loop-template.layout .home-section .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.loop-template.layout .home-section .product{transform:none;grid-column:auto;grid-row:auto;display:block;margin-top:0;min-width:0;color:inherit;text-decoration:none}
.loop-template.layout .home-section .tile{aspect-ratio:3/4;border-radius:26px;background-position:center;background-size:cover}
.loop-template.layout .home-section .product-text{padding:12px 2px;background:none}
.loop-template .home-brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}
.loop-template .home-brand{position:relative;min-height:100px;border-radius:24px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:inherit;text-decoration:none;background:rgba(240,239,235,.55)}
.loop-template .home-brand img{width:100%;height:180px;object-fit:cover;display:block}
.loop-template .home-brand strong{padding:12px 18px;border-radius:20px;background:rgba(255,255,255,.8);backdrop-filter:blur(12px)}
.loop-template .home-brand:has(img) strong{position:absolute;bottom:12px}
.loop-template .home-empty{padding:24px;border:1px dashed #bbb;border-radius:20px;color:#666}
@media(max-width:700px){.loop-template.layout .home-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.loop-template.layout .home-section .tile{border-radius:18px}.loop-template.layout .home-section .section-heading{align-items:flex-start}.loop-template.layout .home-section .glass{white-space:nowrap;font-size:12px}}

/* Independent photographs behind the entire template content. */
.loop-template.has-page-background{position:relative;isolation:isolate;background:transparent!important;border-radius:28px;overflow:hidden}
.loop-template.has-page-background>.page-background{position:absolute;inset:0;z-index:-1;display:flex;flex-direction:column;pointer-events:none;border-radius:inherit;overflow:hidden}
.loop-template .page-background-band{flex:1;min-height:0;position:relative;overflow:hidden}
.loop-template .page-background-band>img{position:absolute;max-width:none;pointer-events:none}
