/* C&G PRINT · Mural de calle */
.signature-pin{display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;text-align:left;position:relative;padding:clamp(1.1rem,3.8svh,2.7rem) max(clamp(1.1rem,5vw,5.5rem),calc((100% - 86rem)/2));background:#211f24;min-height:clamp(15rem,calc(100svh - var(--studio-header,4rem)),72rem)}
.signature-pin::before{display:none}
.signature-pin::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#08070c78,transparent 22%,transparent 60%,#0c09124a 77%,#08070be8 100%)}
.mural-camera{position:absolute;inset:-1px;z-index:0;isolation:isolate;pointer-events:none;transform-origin:50% 46%;transform:scale(var(--mark-scale,1))}
.mural-backdrop,.mural-backdrop img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 58%}
.signature-object{position:absolute;inset:0;display:block;height:auto;width:auto}
.signature-object::before{display:none}
.signature-face{position:absolute;left:50%;top:43%;width:min(49vw,73svh,48rem);transform:translate(-50%,-50%) rotate(-2deg);transform-origin:center;filter:none;opacity:.94;mix-blend-mode:hard-light;-webkit-mask:url(taller/pigmento.svg) 0 0/116px 116px repeat;mask:url(taller/pigmento.svg) 0 0/116px 116px repeat}
.signature-face .mural-patina{position:absolute;inset:0;pointer-events:none;background:url(taller/poro-mural.webp) center/11rem 11rem repeat;filter:grayscale(1) contrast(1.12) brightness(2.3);mix-blend-mode:multiply;opacity:.41;-webkit-mask:var(--logo-mask) center/contain no-repeat;mask:var(--logo-mask) center/contain no-repeat}
.signature-live .signature-ghost{filter:saturate(.58) brightness(.88);opacity:.48}
.signature-live .signature-contour{opacity:.91}
.signature-caption,.signature-foot{position:relative;z-index:2}
.signature-caption{align-self:flex-start;display:inline-flex;gap:.72rem;color:#fff;text-shadow:0 1px 4px #17111b;letter-spacing:.14em;font-size:clamp(.72rem,.82vw,.87rem)}
.signature-caption span{width:1.65rem;background:#dfb6f2}.signature-caption span:last-child{display:none}
.signature-foot{display:flex;align-items:flex-end;justify-content:space-between;width:100%;gap:1rem}
.signature-actions{gap:clamp(.75rem,2vw,1.65rem)}.signature-actions .ink-btn{font-size:1rem;padding-inline:1.45rem;min-height:50px}
.signature-actions .ink-secondary{color:#fff;font-size:.95rem;text-shadow:0 1px 3px #000}
.signature-actions a::after,.signature-actions .ink-secondary span{display:none}
.mural-credit{display:grid;justify-items:end;align-content:end;gap:.3rem;text-shadow:0 1px 4px #000}
.signature-hint{color:#eee9ef;font-size:.83rem}.signature-hint i{height:2px;background:#746876}.mural-credit small{color:#c1b7c4;font:.75rem/1.4 var(--cg-reading)}
@media(max-aspect-ratio:4/5){
 .mural-backdrop img{object-position:38% 64%}
 .mural-camera{transform-origin:56% 44%}
 .signature-face{left:55%;top:44%;width:min(81vw,50svh,37rem)}
}
@media(max-width:700px){
 .signature-pin{padding:max(.95rem,env(safe-area-inset-top)) max(1.1rem,env(safe-area-inset-right)) max(1.2rem,env(safe-area-inset-bottom)) max(1.1rem,env(safe-area-inset-left))}
 .signature-foot{align-items:flex-start;flex-direction:column;gap:.75rem}.signature-actions{width:100%;justify-content:flex-start;gap:1.15rem}
 .mural-credit{width:100%;display:flex;gap:.7rem;justify-content:space-between;align-items:center}
 .mural-credit small{font-size:.73rem}.signature-caption{font-size:.73rem}
}
@media(max-height:465px) and (orientation:landscape){
 .signature-pin{padding-block:.65rem;min-height:min(100svh,calc(100svh - var(--studio-header,3.5rem)))}
 .signature-face{width:min(41vw,63svh);top:44%}.signature-foot{flex-direction:row;align-items:end}.mural-credit{width:auto;display:grid;min-width:max-content}
 .signature-actions .ink-btn{min-height:44px}
}

/* La marca cede espacio a la navegación al agrandar el texto. */
@media(max-width:700px){
 .ink-header .ink-brand{min-width:0;flex:0 1 auto;overflow:hidden}
 .ink-header .ink-brand img{width:clamp(40px,12vw,54px);flex:none}
 .ink-header .ink-brand span{overflow:hidden;text-overflow:ellipsis}
 .ink-header .ink-tools{flex:none}
}
@media(max-width:400px){
 .ink-header .ink-account,.ink-header.site-header #cartBtn,.ink-header summary{padding-inline:clamp(5px,2.2vw,9px)}
}

/* El catálogo y la mesa de fotografía */
.shop-catalog.wrap,.editorial-product.wrap{width:min(86rem,calc(100% - clamp(2rem,8vw,8.5rem)));max-width:none;margin-inline:auto}
.shop-catalog{scroll-margin-top:var(--studio-header,4rem)}
.shop-catalog .store-heading{align-items:end;border-bottom:1px solid #ffffff24;padding-bottom:clamp(1.2rem,3vw,2rem);margin-bottom:1.1rem}
.shop-catalog .store-heading h2{font-size:clamp(2.5rem,calc(5.8vw * var(--cg-title-scale,1)),5.65rem);line-height:1.1;overflow-wrap:anywhere}
.shop-catalog .filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.3rem}
.shop-catalog .chip{min-height:44px;padding:.4rem 1rem;border-radius:3rem}
.shop-catalog .product-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr));gap:clamp(.8rem,1.8vw,1.65rem)}
.shop-catalog .store-card{width:100%;max-width:23rem;min-width:0;background:#141315;border:1px solid #ffffff28;border-radius:.95rem;overflow:hidden}
.shop-catalog .store-card .product-media{position:relative;width:100%;aspect-ratio:5/4;background:radial-gradient(ellipse at 50% 43%,#3e3b40,#2b292d 58%,#1a191c);border-bottom:1px solid #ffffff1c;overflow:hidden;isolation:isolate}
.shop-catalog .store-card .carousel-track img{width:100%;height:100%;object-fit:contain;padding:clamp(.55rem,1.5vw,1.15rem)}
.shop-catalog .store-card .product-body{padding:clamp(1rem,1.6vw,1.5rem)}
.shop-catalog .store-card .product-category{color:#cfb7da;letter-spacing:.06em;line-height:1.4}
.shop-catalog .store-card h3{font-size:clamp(1.35rem,calc(1.55vw * var(--cg-title-scale,1)),1.85rem);line-height:1.15;margin:.6rem 0;overflow-wrap:anywhere}
.shop-catalog .store-card h3 a{color:inherit;text-decoration:none}.shop-catalog .store-card .price{font-size:1.22rem;color:#f2e7f8}
.shop-catalog .store-card .studio-link,.editorial-product .back-to-shop{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:.35em;text-decoration-color:#756b7a}
.shop-catalog .store-card .studio-link::after,.editorial-product .back-to-shop::after{display:none}
.card-closeup{position:absolute;right:.65rem;bottom:.65rem;z-index:3;display:grid;grid-template-rows:minmax(0,1fr) auto;width:clamp(3.6rem,5vw,4.7rem);aspect-ratio:.92;background:#1c191f;color:#faf4fc;border:1px solid #c6b4ceb5;padding:.18rem;border-radius:.32rem;box-shadow:0 .2rem .65rem #0005;text-decoration:none}
.card-closeup .closeup-crop{display:block;overflow:hidden;background:#343136;min-height:0}
.card-closeup img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 42%;transform:scale(2.15);transform-origin:50% 41%}
.card-closeup.has-detail img{transform:none;object-fit:contain}
.card-closeup .closeup-text{text-align:center;font:500 .75rem/1.4 var(--cg-reading);padding:.08rem 0}
.card-closeup:hover,.card-closeup:focus-visible{border-color:#efcaff;color:#fff}
.editorial-product{padding:clamp(.65rem,2.3vw,2rem) 0 clamp(2rem,6vw,5rem);color:#f6f0f6}
.editorial-product .look-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;min-height:44px;margin:0 0 clamp(.65rem,2vw,1.5rem);padding-bottom:.5rem;border-bottom:1px solid #332f35;color:#c7bacb;font:500 .9rem/1.4 var(--cg-reading)}
.look-crumb>a{display:inline-flex;align-items:center;min-height:44px}
.editorial-product .look-layout{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(17.6rem,.86fr);grid-template-rows:max-content minmax(0,1fr);align-items:start;gap:0 clamp(1.3rem,4.2vw,4.8rem)}
.editorial-product .look-heading{grid-column:2;grid-row:1;min-width:0;display:block;padding:clamp(.35rem,2vw,1.65rem) 0 1.25rem;border-bottom:1px solid #443b47}
html[data-font] .editorial-product .look-heading h1{font-size:clamp(2.5rem,calc(5.8vw * var(--cg-title-scale,1)),5.9rem);line-height:1.08;letter-spacing:-.03em;margin:0;text-wrap:balance;overflow-wrap:anywhere}
.look-meta{display:flex;justify-content:space-between;align-items:center;gap:.5rem .85rem;flex-wrap:wrap;margin-top:.9rem}
html[data-font] .look-meta .look-price{font-size:clamp(1.25rem,2.15vw,1.9rem);color:#eee1f4}
.product-jump{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.42rem 1rem;border:1px solid #817089;border-radius:4rem;color:#f0e3f4;font:600 .88rem/1.35 var(--cg-reading);text-decoration:none}
.product-jump:hover,.product-jump:focus-visible{background:#312635}
.editorial-product .look-gallery{grid-column:1;grid-row:1 / span 2;min-width:0}
.editorial-product .look-buy{grid-column:2;grid-row:2;align-self:start;min-width:0;position:static;border:0;border-radius:0;background:transparent;padding:1.2rem 0 0;scroll-margin-top:calc(var(--studio-header,4rem) + .7rem)}
html[data-font] .editorial-product .look-buy h2{margin:.05rem 0 .8rem;font-size:clamp(1.7rem,calc(3.05vw * var(--cg-title-scale,1)),3rem);line-height:1.12}
.editorial-product .look-buy>p,.editorial-product .look-description{font:400 1rem/1.6 var(--cg-reading);color:#ccc3ce;overflow-wrap:anywhere}
.editorial-product .look-description.more-description{border-block:1px solid #403943;margin:1.4rem 0 .4rem;padding:.45rem 0;white-space:normal}
.editorial-product .more-description summary,.extra-photos summary{min-height:44px;padding:.6rem .1rem;cursor:pointer;font:600 .93rem/1.5 var(--cg-reading)}
.editorial-product .more-description p{margin:.2rem 0 .7rem;white-space:pre-line}
.editorial-product .cg-sizes legend,.editorial-product .qty-label{font:600 .9rem/1.4 var(--cg-reading);color:#e5dce9}
.cg-store .size-btn{min-width:44px;min-height:44px}.editorial-product .size-options,.editorial-product .cg-purchase .size-options{gap:.4rem;margin:.55rem 0}
.editorial-product .size-btn{border:1px solid #514953;border-radius:.45rem;background:#171519;color:#f7f0f8}
.editorial-product .size-btn[aria-pressed=true]{background:#e3c5ef;color:#221428;border-color:#e3c5ef}
.editorial-product .size-btn:disabled{color:#b8aebb;opacity:.55;text-decoration:line-through}
.editorial-product .cg-purchase .buy-row{display:grid;grid-template-columns:minmax(3.5rem,4.8rem) minmax(0,1fr);align-items:end;gap:.7rem;margin:1.25rem 0}
.editorial-product .product-qty{border:1px solid #5b4c61;border-radius:.5rem;background:#171519;color:#fff;min-height:48px;width:100%}
html[data-font] .editorial-product :is(.add-cart,.preview-add){display:inline-flex;align-items:center;justify-content:center;min-height:48px;line-height:1.25;min-width:0;border-radius:.55rem;border:1px solid #ead7f5;color:#211925;background:#ead7f5;box-shadow:none;white-space:normal;text-transform:none;font-size:1.02rem}
.editorial-product :is(.add-cart,.preview-add)::after{display:none}
.editorial-product .cg-purchase .cg-stock-note{margin:.6rem 0;font-size:.88rem}
.product-viewer{container:prenda / inline-size;scroll-margin-top:calc(var(--studio-header,4rem) + .25rem)}
.product-viewer .turn-pin{display:flex;flex-direction:column;isolation:isolate;overflow:hidden;background:#171519;border:1px solid #48414c;border-radius:.95rem;color:#f1eaf3}
.product-viewer .turn-head,.product-viewer .turn-foot{min-width:0;padding:.65rem clamp(.7rem,1.6vw,1.2rem);flex:none}
.product-viewer .turn-head{display:flex;align-items:center;justify-content:space-between;gap:.55rem;border-bottom:1px solid #403945;background:#17161a;flex-wrap:wrap}
.viewer-label{font:600 .85rem/1.4 var(--cg-reading);color:#dac7e3;overflow-wrap:anywhere}
.viewer-modes{display:inline-flex;max-width:100%;flex-wrap:wrap;align-items:center;gap:.12rem;border:1px solid #49414e;border-radius:2rem;padding:.12rem;background:#111013}
.viewer-modes[hidden]{display:none}
.viewer-modes button{min-height:44px;min-width:0;padding:.4rem .74rem;border:1px solid transparent;border-radius:2rem;color:#cfc5d2;background:transparent;font:500 .86rem/1.3 var(--cg-reading);cursor:pointer}
.viewer-modes [aria-pressed=true]{background:#39313d;border-color:#66596c;color:white}
.product-viewer .turn-window{position:relative;min-width:0;isolation:isolate;background:#2a282c;overflow:hidden}
.product-viewer .angle-frame{margin:0;background:radial-gradient(ellipse at 47% 40%,#39363a,#2c292d 58%,#211e23);width:100%;overflow:hidden}
.product-viewer .angle-frame::before{content:"";position:absolute;inset:0;background:var(--photo-surface,none) center/cover;filter:blur(20px);opacity:.2;transform:scale(1.14);pointer-events:none}
.product-viewer .angle-frame>a{display:block;position:relative;height:100%;width:100%;overflow:hidden;touch-action:pan-y pinch-zoom}
.product-viewer .angle-frame img{display:block;width:100%;height:100%;object-fit:contain;padding:clamp(.5rem,1.6vw,1.3rem);transform-origin:50% 40%}
.product-viewer.viewer-ready:not(.enhanced-turn) .turn-window{height:clamp(15rem,53svh,35.5rem);flex:none}
.product-viewer.enhanced-turn .turn-window{flex:1;min-height:9rem}
.product-viewer.viewer-ready .angle-frame{position:absolute;inset:0;height:100%}
.product-viewer.viewer-ready .angle-frame[hidden],.product-viewer.viewer-ready figcaption{display:none!important}
.product-viewer.viewer-ready :is(.is-crop,[data-macro]) img{transform:scale(1.92)}
.product-viewer.viewer-ready .angle-frame:not(.is-current){pointer-events:none}
.product-viewer .turn-foot{display:block;background:#19171b;border-top:1px solid #443c46}
.viewer-foot-line{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.product-viewer.viewer-ready .turn-counter{display:block;font:500 .85rem/1.4 "Inter",system-ui,sans-serif;color:#b9acbf;font-variant-numeric:tabular-nums}
.turn-counter b{color:#f3e8f8}
.product-viewer .expand-photo{border:0;color:#f2e7f6;min-height:44px;padding:.3rem .1rem;display:inline-flex;align-items:center;gap:.52rem;text-decoration:underline;text-decoration-color:#7e6f85;text-underline-offset:.3em;font:500 .88rem/1.3 var(--cg-reading)}
.viewer-expand-icon{height:.8rem;width:.8rem;background:linear-gradient(currentColor,currentColor) top left/5px 1px,linear-gradient(currentColor,currentColor) top left/1px 5px,linear-gradient(currentColor,currentColor) bottom right/5px 1px,linear-gradient(currentColor,currentColor) bottom right/1px 5px;background-repeat:no-repeat}
.product-viewer .thumb-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.42rem;margin:.05rem 0 .25rem}
.product-viewer .thumb-rail a{display:grid;grid-template-columns:minmax(1.8rem,2.7rem) minmax(0,1fr);align-items:center;min-height:48px;padding:.22rem;gap:.3rem;background:#1e1b21;border:1px solid #4c444f;border-radius:.42rem;text-decoration:none;color:#d3cad6;min-width:0;font:500 .79rem/1.3 var(--cg-reading);overflow-wrap:anywhere}
.product-viewer .thumb-rail img{width:100%;aspect-ratio:1;object-fit:contain;background:#312f33;border-radius:.2rem}
.product-viewer .thumb-rail [aria-current=true]{border-color:#d3a5e8;box-shadow:inset 0 0 0 1px #d3a5e8;background:#362a3b;color:#fff}
.product-viewer .turn-hint{margin:.4rem 0 0;padding:0;color:#b8aebc;font:.79rem/1.4 var(--cg-reading)}
.extra-photos{border-radius:.65rem;background:#171519}.extra-photos a{display:grid;gap:.3rem}
.editorial-product .photo-pending{display:grid;place-content:center;min-height:clamp(15rem,50vh,32rem);text-align:center}
.editorial-product .photo-pending img{width:min(100%,18rem)}
#photoLightbox.viewer-dialog{width:min(64rem,calc(100% - 1.2rem));max-height:94svh;padding:0;overflow:auto;border:1px solid #66586e;border-radius:.85rem;background:#1b181d;color:#fff}
.viewer-dialog header,.viewer-dialog footer{padding:.55rem .9rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.45rem;border-bottom:1px solid #3e3642}
.viewer-dialog footer{border:0;border-top:1px solid #44384a;justify-content:flex-start}
#photoLightbox.viewer-dialog button{border-radius:2rem;min-height:44px;font:500 .9rem/1.3 var(--cg-reading);cursor:pointer}
#photoLightbox.viewer-dialog h2{font-size:clamp(1.25rem,3vw,2rem);line-height:1.14}
#photoLightbox.viewer-dialog .viewer-pan{display:block;position:relative;width:100%;height:clamp(10rem,63svh,45rem);overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;background:#2c292e}
.viewer-sheet{width:100%;height:100%}.viewer-sheet img{display:block;width:100%;height:100%;object-fit:contain}
.is-magnified .viewer-sheet{width:200%;height:200%}
.viewer-dialog [data-pan-note]{font:.84rem/1.45 var(--cg-reading);color:#dacddd}
.editorial-product :focus-visible,.card-closeup:focus-visible{outline:2px solid #ecc0ff;outline-offset:3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .store-card .carousel-track img{transition:transform .26s ease}.store-card .carousel-track:hover img{transform:scale(1.034)}
}
@media(min-width:860px) and (min-height:780px){
 .editorial-product .look-buy{position:sticky;top:calc(var(--studio-header,4rem) + 1rem)}
}
@media(max-width:1050px){
 .product-viewer .thumb-rail a{grid-template-columns:1fr;justify-items:center;align-content:start;gap:.2rem;text-align:center}
 .product-viewer .thumb-rail img{width:clamp(1.8rem,3.6vw,2.5rem)}
}
@media(max-width:820px){
 .shop-catalog.wrap,.editorial-product.wrap{width:calc(100% - clamp(1.6rem,5vw,3.4rem))}
 .editorial-product .look-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto}
 .editorial-product .look-heading,.editorial-product .look-gallery,.editorial-product .look-buy{grid-column:1}
 .editorial-product .look-heading{grid-row:1;padding:.2rem 0 .9rem;border:0}
 .editorial-product .look-gallery{grid-row:2}.editorial-product .look-buy{grid-row:3;padding:1.25rem 0 0;position:static}
 html[data-font] .editorial-product .look-heading h1{font-size:clamp(2.18rem,calc(8.8vw * var(--cg-title-scale,1)),4.45rem)}
 .editorial-product .look-crumb{margin-bottom:.5rem}.look-meta{margin-top:.45rem}
 .editorial-product .viewer-ready:not(.enhanced-turn) .turn-window{height:clamp(13.5rem,95vw,39rem);max-height:62svh}
 .product-viewer .turn-head,.product-viewer .turn-foot{padding:.4rem .65rem}
 .product-viewer .thumb-rail a{grid-template-columns:auto minmax(0,1fr);align-items:center;align-content:center}
 .product-viewer .thumb-rail img{width:clamp(2rem,5vw,2.6rem)}
}
@media(max-width:560px){
 .shop-catalog .product-grid{grid-template-columns:minmax(0,1fr)}
 .product-viewer .thumb-rail a{grid-template-columns:1fr;justify-items:center;align-content:center;gap:.17rem}
 .product-viewer .thumb-rail img{width:2rem}.product-viewer .thumb-rail a span{min-width:0}
 .viewer-modes button{padding:.35rem .55rem;font-size:.81rem}
 .product-viewer .turn-head{gap:.35rem}
}
/* Un renglón propio mantiene el encuadre al cambiar de vista. */
@container prenda (max-width:28rem){
 .product-viewer .turn-head{display:grid;grid-template-columns:1fr;justify-items:start;gap:.2rem}
}
@media(max-width:560px){
 .product-viewer .turn-head{display:grid;grid-template-columns:1fr;justify-items:start;gap:.2rem}
}
@media(max-width:365px){
 .editorial-product .look-layout{gap:0}.editorial-product .viewer-label{font-size:.8rem}
 .viewer-modes button{padding:.35rem .4rem}.product-viewer .thumb-rail{gap:.25rem}
}
@media(max-height:480px) and (orientation:landscape){
 .editorial-product .viewer-ready:not(.enhanced-turn) .turn-window{height:64svh;max-height:64svh;min-height:8.5rem}
 .editorial-product .look-buy{position:static}.viewer-dialog header,.viewer-dialog footer{padding-block:.1rem}
 #photoLightbox.viewer-dialog .viewer-pan{height:52svh}
}
@media(prefers-reduced-motion:reduce){.mural-camera,.signature-face,.angle-frame,.angle-frame img{transition:none!important;animation:none!important}}
.photo-origin{display:inline-flex;align-items:center;min-height:32px;font:500 .88rem/1.4 var(--cg-reading);color:#cbb9d5}
.editorial-product .look-buy .product-fact-note{font-size:.9rem;color:#bbaebf;margin:.85rem 0 1.2rem}
.shop-catalog .store-card .picture-count{inset:auto auto .65rem .65rem;width:auto}

.users-overview{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:1rem;align-items:start}
.users-overview .panel{min-width:0}
.customer-count{margin:.4rem 0;font-size:clamp(2.4rem,5vw,4rem);font-weight:700;font-variant-numeric:tabular-nums}
#user-editor{scroll-margin-top:calc(var(--studio-header,4rem) + 1rem)}
.checkout-grid>*{min-width:0}
#deliveryMap{position:relative;isolation:isolate;z-index:0;width:100%;height:clamp(16rem,42vh,23rem);overflow:hidden;border:1px solid var(--line);border-radius:.75rem;background:#292731}
#deliveryMap .leaflet-control-attribution{font:11px/1.4 system-ui,sans-serif;color:#222}
#deliveryMap .leaflet-control-attribution a{color:#14567d}
.checkout-product{display:grid;grid-template-columns:3.5rem minmax(0,1fr) auto;gap:.75rem;align-items:start;padding:.7rem 0;border-bottom:1px solid var(--line)}
.checkout-product img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:.4rem;background:#27252b}
.checkout-product p{margin:.2rem 0;overflow-wrap:anywhere}
.checkout-product .checkout-description{font:400 .875rem/1.45 Inter,system-ui,sans-serif;color:#c8c0cf;white-space:pre-line}
.checkout-product .checkout-description:empty{display:none}
@media(max-width:920px){.users-overview{grid-template-columns:minmax(0,1fr)}}
@media(max-width:400px){.checkout-product{grid-template-columns:3rem minmax(0,1fr);gap:.4rem .65rem}.checkout-product>b{grid-column:2}}

#locateDelivery{min-height:44px;margin:.3rem 0}
#locationFeedback:not(:empty){margin:.35rem 0 .7rem}
#details{scroll-margin-top:calc(var(--studio-header,4rem) + 1rem)}
.order-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.8rem;margin:1rem 0}
.order-facts>div{min-width:0;border:1px solid var(--line);border-radius:.6rem;padding:1rem;overflow-wrap:anywhere}
.order-facts h3{margin:0 0 .5rem}
.order-address{white-space:pre-line}


/* Hero de marca: el logotipo se revela como una pasada de pintura al deslizar. */
.signature-story.cg-graffiti-scroll {
  height: calc(var(--graffiti-pin-height, 100svh) + var(--graffiti-travel, 76svh));
}
.signature-story.cg-graffiti-scroll > .signature-pin {
  position: sticky;
  top: var(--studio-header, 4rem);
  height: var(--graffiti-pin-height, calc(100svh - var(--studio-header, 4rem)));
  min-height: 0;
}
.signature-face .signature-ghost,
.signature-face .signature-complete {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.signature-face .signature-ghost {
  opacity: .13;
  filter: grayscale(.72) brightness(.78) blur(1.15px);
  mix-blend-mode: screen;
}
.signature-face .signature-complete {
  opacity: 1;
  clip-path: none;
  will-change: clip-path, opacity;
}
.cg-graffiti-scroll .signature-face .signature-complete {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  opacity: 0;
}
.cg-graffiti-scroll .signature-face .signature-ghost {
  opacity: var(--graffiti-ghost-opacity, .13);
  transition: opacity .12s linear;
}
.signature-spray {
  display: none;
  position: absolute;
  z-index: 2;
  inset: -3%;
  pointer-events: none;
  opacity: 0;
  background-image:
    radial-gradient(circle at 7% 14%, #f6eaff 0 1px, transparent 1.8px),
    radial-gradient(circle at 18% 71%, #d26aff 0 1.2px, transparent 2px),
    radial-gradient(circle at 29% 33%, #ffffff 0 .8px, transparent 1.5px),
    radial-gradient(circle at 41% 86%, #d26aff 0 1px, transparent 1.8px),
    radial-gradient(circle at 54% 18%, #f6eaff 0 1.1px, transparent 1.9px),
    radial-gradient(circle at 66% 57%, #ffffff 0 .8px, transparent 1.5px),
    radial-gradient(circle at 78% 28%, #d26aff 0 1.2px, transparent 2px),
    radial-gradient(circle at 91% 76%, #f6eaff 0 1px, transparent 1.8px),
    radial-gradient(circle at 12% 48%, #ffffff 0 .7px, transparent 1.4px),
    radial-gradient(circle at 35% 8%, #d26aff 0 .9px, transparent 1.6px),
    radial-gradient(circle at 48% 63%, #f6eaff 0 .8px, transparent 1.5px),
    radial-gradient(circle at 72% 91%, #ffffff 0 .7px, transparent 1.4px),
    radial-gradient(circle at 86% 43%, #d26aff 0 .9px, transparent 1.6px);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 4px #d36cff);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.cg-graffiti-scroll .signature-spray { display: block; }
.signature-spray::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--graffiti-progress-percent, 0%) - 1.25rem);
  width: 2.5rem;
  background: linear-gradient(90deg, transparent, #d79aff55 32%, #fff9 50%, #b94dff66 68%, transparent);
  filter: blur(5px);
  opacity: .9;
}
.graffiti-scroll-cue {
  display: none;
  align-items: center;
  gap: .55rem;
  color: #ead3f4;
  font: 700 .62rem/1.3 var(--cg-reading);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 0 14px #b34be8;
}
.graffiti-scroll-cue i {
  color: #e4a8ff;
  font: 700 1rem/1 Inter, system-ui, sans-serif;
  font-style: normal;
  animation: graffitiCue 1.6s ease-in-out infinite;
}
.cg-graffiti-scroll .graffiti-scroll-cue { display: inline-flex; }
@keyframes graffitiCue {
  0%, 100% { transform: translateY(-2px); opacity: .7; }
  50% { transform: translateY(4px); opacity: 1; }
}
@media (max-width: 700px) {
  .signature-story.cg-graffiti-scroll > .signature-pin { padding-block: max(.85rem, env(safe-area-inset-top)) max(.9rem, env(safe-area-inset-bottom)); }
  .graffiti-scroll-cue { font-size: .55rem; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .signature-story.cg-graffiti-scroll { height: auto !important; }
  .signature-story.cg-graffiti-scroll > .signature-pin { position: relative; top: auto; height: auto; min-height: clamp(30rem, calc(100svh - 4rem), 55rem); }
  .signature-face .signature-ghost, .signature-spray, .graffiti-scroll-cue { display: none !important; }
  .signature-face .signature-complete { clip-path: none !important; opacity: 1 !important; }
  .graffiti-scroll-cue i { animation: none !important; }
}
html[data-reduced="true"] .signature-story.cg-graffiti-scroll { height: auto !important; }
html[data-reduced="true"] .signature-story.cg-graffiti-scroll > .signature-pin { position: relative; top: auto; height: auto; min-height: clamp(30rem, calc(100svh - 4rem), 55rem); }
html[data-reduced="true"] .signature-face .signature-ghost,
html[data-reduced="true"] .signature-spray,
html[data-reduced="true"] .graffiti-scroll-cue { display: none !important; }
html[data-reduced="true"] .signature-face .signature-complete { clip-path: none !important; opacity: 1 !important; }


/* C&G PRINT · presentación de prenda sin paneles grises */
.product-viewer .turn-pin{background:transparent;border-color:transparent;border-radius:0}
.product-viewer .turn-head{background:transparent;border-color:#ffffff20}
.product-viewer .turn-window{background:transparent;isolation:isolate}
.product-viewer .turn-window::before{
 content:"";position:absolute;z-index:0;inset:7% 12%;pointer-events:none;border-radius:50%;
 background:radial-gradient(ellipse at 50% 48%,rgba(190,137,230,.14),rgba(117,79,148,.07) 38%,transparent 72%);
 filter:blur(25px)
}
.product-viewer .angle-frame{background:transparent;z-index:1}
.product-viewer .angle-frame::before{display:none}
.product-viewer .angle-frame img{filter:drop-shadow(0 1.2rem 1.35rem rgba(0,0,0,.55)) drop-shadow(0 0 .8rem rgba(190,137,230,.12));transition:transform .2s ease-out}
.product-viewer .turn-foot{background:transparent;border-color:#ffffff20}
.product-viewer .thumb-rail img{background:transparent}
.extra-photos img{background:transparent!important}
#photoLightbox.viewer-dialog .viewer-pan{background:transparent}
.viewer-sheet img{filter:drop-shadow(0 1rem 1.2rem rgba(0,0,0,.45))}

/* La información de compra permanece a la vista mientras se recorren las fotos. */
@media(min-width:821px){
 .editorial-product .look-product-panel{
  grid-column:2;grid-row:1;align-self:start;min-width:0;
  position:sticky;top:calc(var(--studio-header,4rem) + .8rem);
  max-height:calc(100svh - var(--studio-header,4rem) - 1.6rem);
  overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;
  scrollbar-color:#6b5875 transparent;
  padding:clamp(.85rem,1.45vw,1.3rem);
  border:1px solid #ffffff20;border-radius:.9rem;
  background:linear-gradient(145deg,rgba(24,19,29,.78),rgba(8,8,10,.66));
  backdrop-filter:blur(14px)
 }
 .editorial-product .look-gallery{grid-column:1;grid-row:1;min-width:0}
}
.editorial-product .look-heading{display:block;min-width:0;padding:.25rem 0 1rem;border-bottom:1px solid #ffffff24}
.editorial-product .look-heading h1{font-size:clamp(2.35rem,calc(4.7vw * var(--cg-title-scale,1)),4.7rem);line-height:1.05;overflow-wrap:anywhere}
.editorial-product .look-buy{grid-column:auto;grid-row:auto;position:static;min-width:0;border:0;border-radius:0;background:transparent;padding:1rem 0 0;scroll-margin-top:calc(var(--studio-header,4rem) + .7rem)}
.product-viewer.is-detail-view .angle-frame.is-current a{cursor:crosshair}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .product-viewer.is-detail-view .angle-frame.is-current.is-pointer-inspecting img{
  transform:scale(2.42);transform-origin:var(--pointer-x,50%) var(--pointer-y,40%)
 }
}
@media(max-width:820px){
 .editorial-product .look-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto}
 .editorial-product .look-product-panel{display:contents}
 .editorial-product .look-heading{grid-column:1;grid-row:1;padding:.2rem 0 .9rem;border:0}
 .editorial-product .look-gallery{grid-column:1;grid-row:2}
 .editorial-product .look-buy{grid-column:1;grid-row:3;padding:1.25rem 0 0;position:static}
 .editorial-product .look-product-panel{max-height:none;overflow:visible}
 .product-viewer .turn-window::before{inset:8% 8%;filter:blur(18px)}
}
@media(prefers-reduced-motion:reduce){
 .product-viewer .angle-frame img{transition:none!important}
}

@media(min-width:821px){.editorial-product .look-layout{grid-template-rows:auto}}


/* C&G PRINT · ficha de compra visible durante TODO el recorrido.
   La altura disponible se calcula respecto al encabezado fijo. Solo aparece
   una barra interior si la descripción/tallas exceden la ventana. */
@media(min-width:821px){
 .editorial-product .look-layout{grid-template-rows:auto;align-items:stretch}
 .editorial-product .look-product-panel,
 .editorial-product .look-product-panel.is-panel-too-tall{
   position:sticky;
   top:calc(var(--studio-header,4rem) + .65rem);
   align-self:start;
   max-height:calc(100vh - var(--studio-header,4rem) - 1.3rem);
   max-height:calc(100dvh - var(--studio-header,4rem) - 1.3rem);
   min-height:0;
   overflow-x:hidden;
   overflow-y:auto;
   overscroll-behavior-y:contain;
   scrollbar-width:thin;
   scrollbar-color:#81618e transparent;
 }
 .editorial-product .look-product-panel:focus-within{scrollbar-color:#af82c3 transparent}
}
@media(max-width:820px){
 .editorial-product .look-product-panel{max-height:none;overflow:visible}
}
/* Los recortes de cada vista siguen al scroll sin interpolación retardada. */
.product-viewer.enhanced-turn .angle-frame{will-change:clip-path}
.product-viewer.enhanced-turn .angle-frame img{backface-visibility:hidden}
