/* YOGO SHOP Custom Design V3: only activates after an owner saves a theme. */
body.yogo-themed{background:var(--yogo-bg)!important;color:var(--yogo-txt)!important;font-family:var(--yogo-font)!important;--y:var(--yogo-accent);--txt:var(--yogo-txt);--sub:var(--yogo-muted);--panel:var(--yogo-panel)}
body.yogo-themed .logo{color:var(--yogo-accent)}
body.yogo-themed .logo span{color:var(--yogo-txt)!important}
body.yogo-themed .head{background:linear-gradient(140deg,var(--yogo-panel),transparent),var(--yogo-bg)!important;color:var(--yogo-txt);border:1px solid var(--yogo-line);position:relative;overflow:hidden;isolation:isolate}
body.yogo-themed .head.has-banner{background-image:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.42)),var(--yogo-banner)!important;background-size:cover!important;background-position:center!important;color:#fff}
body.yogo-themed .head.has-banner p,body.yogo-themed .head.has-banner .eyebrow{color:#fff}
body.yogo-themed .head h1{color:inherit;word-break:keep-all}
body.yogo-themed .head h1 em{color:var(--yogo-accent)}
body.yogo-themed .head p{color:var(--yogo-muted)}
body.yogo-themed .notice{background:var(--yogo-panel);color:var(--yogo-txt);border-left-color:var(--yogo-accent)}
body.yogo-themed .item{background:var(--yogo-panel);border-color:var(--yogo-line);color:var(--yogo-txt)}
body.yogo-themed .tag,body.yogo-themed .strip h2 span{color:var(--yogo-accent)}
body.yogo-themed .desc{color:var(--yogo-muted)}
body.yogo-themed .buy{background:var(--yogo-accent);color:var(--yogo-btn-text);border:1px solid var(--yogo-accent)}
body.yogo-themed .search{background:var(--yogo-panel);border-color:var(--yogo-line);color:var(--yogo-txt)}
body.yogo-themed .search::placeholder{color:var(--yogo-muted)}
body.yogo-themed footer,body.yogo-themed .count,body.yogo-themed .top small{color:var(--yogo-muted)}
body.yogo-themed .blank{border-color:var(--yogo-line);color:var(--yogo-muted)}
body.yogo-themed .yogo-avatar{display:block;position:relative;width:64px;height:64px;border-radius:17px;object-fit:cover;border:2px solid var(--yogo-accent);margin-bottom:17px;z-index:1}
body.yogo-themed[data-yogo-hero="center"] .head{text-align:center}
body.yogo-themed[data-yogo-hero="center"] .head .yogo-avatar{margin-inline:auto}
body.yogo-themed[data-yogo-layout="list"] .products{grid-template-columns:1fr}
body.yogo-themed[data-yogo-layout="list"] .products .item{flex-direction:row;min-height:145px}
body.yogo-themed[data-yogo-layout="list"] .products .image,
body.yogo-themed[data-yogo-layout="list"] .products .imgblank{width:34%;max-width:225px;aspect-ratio:1;flex:none;object-fit:cover}
body.yogo-themed[data-yogo-layout="list"] .products .info{min-width:0}
body.yogo-themed[data-yogo-layout="list"] .products .buy{margin-top:10px}
body.yogo-themed[data-yogo-corners="square"] .item,body.yogo-themed[data-yogo-corners="square"] .buy,
body.yogo-themed[data-yogo-corners="square"] .head{border-radius:3px}
body.yogo-themed[data-yogo-corners="soft"] .item,body.yogo-themed[data-yogo-corners="soft"] .buy{border-radius:9px}
body.yogo-themed[data-yogo-corners="rounded"] .item{border-radius:25px}
body.yogo-themed[data-yogo-button="outline"] .buy{background:transparent;color:var(--yogo-accent)}
body.yogo-themed[data-yogo-button="soft"] .buy{background:var(--yogo-panel);color:var(--yogo-accent)}
body.yogo-themed[data-yogo-density="compact"] .products{gap:9px}
body.yogo-themed[data-yogo-density="compact"] .item .info{padding:11px}
body.yogo-themed[data-yogo-fit="cover"] .image{object-fit:cover}
body.yogo-themed[data-yogo-surface="light"] .head.has-banner,
body.yogo-themed[data-yogo-surface="cream"] .head.has-banner{color:#fff}
body.yogo-themed .products .item{transition:transform .18s,box-shadow .18s}
body.yogo-themed .products .item:hover{transform:translateY(-2px);box-shadow:0 10px 22px #0002}
/* Live preview uses the exact same tokens but is confined to the phone. */
.phone-frame.yogo-themed{background:var(--yogo-bg)!important;color:var(--yogo-txt);font-family:var(--yogo-font);border-color:#24262a}
.phone-frame.yogo-themed .store-inner{background:var(--yogo-bg);color:var(--yogo-txt)}
.phone-frame.yogo-themed .store-accent{color:var(--yogo-txt)}
.phone-frame.yogo-themed .store-accent span{background:var(--yogo-accent);color:#121316}
.phone-frame.yogo-themed .store-avatar{color:var(--yogo-accent);border-color:var(--yogo-panel);overflow:hidden}
.phone-frame.yogo-themed .store-avatar img{width:100%;height:100%;object-fit:cover}
.phone-frame.yogo-themed .store-tag,.phone-frame.yogo-themed .store-disclosure{color:var(--yogo-muted)}
.phone-frame.yogo-themed .store-intro{color:var(--yogo-txt)}
.phone-frame.yogo-themed .category-pill{border-color:var(--yogo-line);background:var(--yogo-panel);color:var(--yogo-txt)}
.phone-frame.yogo-themed .category-pill.selected{background:var(--yogo-accent);color:#151515;border-color:var(--yogo-accent)}
.phone-frame.yogo-themed .store-card{background:var(--yogo-panel);border-color:var(--yogo-line);color:var(--yogo-txt)}
.phone-frame.yogo-themed .store-meta .store-button{background:var(--yogo-accent);color:var(--yogo-btn-text);border:1px solid var(--yogo-accent)}
.phone-frame.yogo-themed[data-yogo-button="outline"] .store-button{background:transparent;color:var(--yogo-accent)}
.phone-frame.yogo-themed[data-yogo-button="soft"] .store-button{background:var(--yogo-panel);color:var(--yogo-accent)}
.phone-frame.yogo-themed[data-yogo-layout="list"] .store-list{display:flex;flex-direction:column}
.phone-frame.yogo-themed[data-yogo-layout="list"] .store-card{display:flex;min-height:93px}
.phone-frame.yogo-themed[data-yogo-layout="list"] .store-photo{width:82px;height:auto;flex-shrink:0}
.phone-frame.yogo-themed[data-yogo-layout="list"] .store-meta{flex:1;min-width:0}
.phone-frame.yogo-themed[data-yogo-corners="square"] .store-card,.phone-frame.yogo-themed[data-yogo-corners="square"] .store-button{border-radius:2px}
.phone-frame.yogo-themed[data-yogo-corners="rounded"] .store-card{border-radius:21px}
.phone-frame.yogo-themed[data-yogo-corners="soft"] .store-card{border-radius:7px}
.phone-frame.yogo-themed[data-yogo-hero="left"] .store-inner{text-align:left}
.phone-frame.yogo-themed[data-yogo-hero="left"] .store-avatar{margin-left:0}
.phone-frame.yogo-themed[data-yogo-hero="left"] .store-categories{justify-content:flex-start}
.phone-frame.yogo-themed[data-yogo-density="compact"] .store-list{gap:4px}
.phone-frame.yogo-themed[data-yogo-density="compact"] .store-meta{padding:6px}
.phone-frame.yogo-themed[data-yogo-fit="cover"] .store-photo img{object-fit:cover}
.phone-frame.yogo-themed .preview-banner{height:91px;margin:-37px -17px 17px;background-size:cover;background-position:center;border-radius:0 0 15px 15px}
.phone-frame.yogo-themed[data-yogo-hero="center"] .store-inner{text-align:center}
@media(max-width:480px){body.yogo-themed[data-yogo-layout="list"] .products{grid-template-columns:1fr}body.yogo-themed[data-yogo-layout="list"] .products .image{width:36%}body.yogo-themed[data-yogo-layout="list"] .products .info{padding:12px}body.yogo-themed[data-yogo-layout="list"] .products .name{font-size:13px}}

/* Owner-enabled product category navigation on the public storefront. */
body.yogo-themed .public-categories{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 17px}
body.yogo-themed .public-categories[hidden]{display:none}
body.yogo-themed .public-categories .category-pill{background:var(--yogo-panel);border:1px solid var(--yogo-line);color:var(--yogo-txt);border-radius:999px;font-size:12px;font-weight:750;padding:9px 13px;min-height:40px}
body.yogo-themed .public-categories .category-pill.selected{background:var(--yogo-accent);border-color:var(--yogo-accent);color:#181818}
body.yogo-themed .public-categories button:focus-visible{outline:3px solid var(--yogo-accent);outline-offset:2px}

/* V5 page builder sections: legal partner notice is always outside movable content. */
body.yogo-themed .yogo-page-blocks{display:flex;flex-direction:column;gap:18px}
body.yogo-themed .yogo-page-blocks .head{margin:0}
body.yogo-themed .yogo-page-blocks .strip{margin-top:4px}
body.yogo-themed .yogo-catalog-block{min-width:0}
body.yogo-themed .yogo-block{position:relative;overflow:hidden;border:1px solid var(--yogo-line);border-radius:19px;background:var(--yogo-panel);padding:27px 30px;text-align:left}
body.yogo-themed .yogo-block h2{font-size:clamp(21px,4vw,30px);line-height:1.35;letter-spacing:-.9px;margin:0 0 9px}
body.yogo-themed .yogo-block .yogo-block-title{color:var(--yogo-txt)}
body.yogo-themed .yogo-block .yogo-block-body{white-space:pre-line;overflow-wrap:anywhere;color:var(--yogo-muted);line-height:1.7;font-size:14px;margin:4px 0 12px}
body.yogo-themed .yogo-block-announcement{display:flex;flex-wrap:wrap;align-items:center;gap:9px 16px;padding:17px 21px;background:var(--yogo-accent);color:var(--yogo-btn-text)}
body.yogo-themed .yogo-block-announcement .yogo-block-title{font-size:14px;color:inherit;flex:none}
body.yogo-themed .yogo-block-announcement .yogo-block-body{color:inherit;opacity:.82;margin:0;flex:1;min-width:130px;font-size:12px}
body.yogo-themed .yogo-block-announcement .yogo-block-cta{border-color:currentColor;background:transparent;color:inherit;margin:0;padding:7px 12px;font-size:11px}
body.yogo-themed .yogo-block-cta{display:inline-flex;justify-content:center;align-items:center;border:1px solid var(--yogo-accent);border-radius:9px;background:var(--yogo-accent);color:var(--yogo-btn-text);font-size:12px;font-weight:850;text-decoration:none;padding:10px 15px;margin-top:9px;max-width:100%}
body.yogo-themed .yogo-block-banner{min-height:185px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(115deg,#141414,#454545);border-color:var(--yogo-line);color:#fff;isolation:isolate}
body.yogo-themed .yogo-block-banner .yogo-block-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
body.yogo-themed .yogo-block-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#111b,#1114);z-index:-1}
body.yogo-themed .yogo-block-banner .yogo-block-title{color:#fff;max-width:75%}
body.yogo-themed .yogo-block-banner .yogo-block-body{color:#fff;max-width:72%;opacity:.92}
body.yogo-themed[data-yogo-corners="square"] .yogo-block{border-radius:2px}
body.yogo-themed[data-yogo-corners="soft"] .yogo-block{border-radius:9px}
body.yogo-themed[data-yogo-hero="center"] .yogo-block-text{text-align:center}
body.yogo-themed[data-yogo-hero="center"] .yogo-block-text .yogo-block-body{margin-inline:auto}
body.yogo-themed[data-yogo-density="compact"] .yogo-page-blocks{gap:10px}
/* Studio compact storefront preview. */
.phone-frame.yogo-themed .yogo-phone-blocks{display:flex;flex-direction:column;gap:11px}
.phone-frame.yogo-themed .yogo-preview-hero{padding:0 0 4px}
.phone-frame.yogo-themed .yogo-preview-catalog{min-width:0}
.phone-frame.yogo-themed .yogo-block{padding:12px 11px;border-radius:10px;border:1px solid var(--yogo-line);background:var(--yogo-panel);color:var(--yogo-txt);margin:0}
.phone-frame.yogo-themed .yogo-block-title{display:block;font-size:11px;line-height:1.4;color:var(--yogo-txt);margin:0 0 4px;font-weight:900;overflow-wrap:anywhere}
.phone-frame.yogo-themed .yogo-block-body{font-size:9px;line-height:1.6;white-space:pre-line;color:var(--yogo-muted);margin:0 0 4px;overflow-wrap:anywhere}
.phone-frame.yogo-themed .yogo-block-announcement{background:var(--yogo-accent);color:var(--yogo-btn-text);display:block}
.phone-frame.yogo-themed .yogo-block-announcement .yogo-block-title,.phone-frame.yogo-themed .yogo-block-announcement .yogo-block-body{color:inherit}
.phone-frame.yogo-themed .yogo-block-banner{min-height:116px;display:flex;flex-direction:column;justify-content:center;position:relative;isolation:isolate;background:#343434;color:#fff}
.phone-frame.yogo-themed .yogo-block-banner .yogo-block-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.phone-frame.yogo-themed .yogo-block-banner::after{content:"";position:absolute;inset:0;background:#0008;z-index:-1}
.phone-frame.yogo-themed .yogo-block-banner .yogo-block-title,.phone-frame.yogo-themed .yogo-block-banner .yogo-block-body{color:#fff}
.phone-frame.yogo-themed .yogo-block-cta{display:inline-block;border:1px solid var(--yogo-accent);border-radius:6px;background:var(--yogo-accent);color:var(--yogo-btn-text);padding:4px 7px;font-size:8px;font-weight:800}
.phone-frame.yogo-themed .yogo-block-announcement .yogo-block-cta{color:inherit;border-color:currentColor;background:transparent}
.phone-frame.yogo-themed .yogo-preview-catalog .store-categories{margin-bottom:9px}
.phone-frame.yogo-themed .yogo-preview-catalog .store-list{margin:0}
.phone-frame.yogo-themed .yogo-preview-catalog .preview-demo-text{margin-top:6px}
.phone-frame.yogo-themed[data-yogo-density="compact"] .yogo-phone-blocks{gap:6px}
@media(max-width:480px){
 body.yogo-themed .yogo-page-blocks{gap:11px}
 body.yogo-themed .yogo-block{padding:18px 17px;border-radius:13px}
 body.yogo-themed .yogo-block-announcement{padding:13px 15px}
 body.yogo-themed .yogo-block-banner .yogo-block-title,body.yogo-themed .yogo-block-banner .yogo-block-body{max-width:100%}
}
