.app-detail *{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
.app-detail body{
    font-family:Manrope,Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
}
.app-detail 

.topbar{
    height:72px;
    background:var(--surface);
    border-bottom:1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 6%;
    position:sticky;
    top:0;
    z-index:20;
}
.app-detail .logo{
    font-size:21px;
    font-weight:800;
    letter-spacing:-.7px;
}
.app-detail .logo span{
    color:var(--green);
}
.app-detail .back{
    display:flex;
    align-items:center;
    gap:9px;
    color:var(--muted);
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}
.app-detail .back:hover{
    color:var(--green);
}
.app-detail 

.page{
    max-width:1250px;
    margin:auto;
    padding:38px 25px 80px;
}
.app-detail 

.breadcrumb{
    display:flex;
    gap:9px;
    align-items:center;
    font-size:13px;
    color:var(--muted);
    margin-bottom:25px;
}
.app-detail .breadcrumb strong{
    color:var(--text);
}
.app-detail 

.hero{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:28px;
    padding:28px;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:32px;
    box-shadow:0 15px 50px rgba(20,20,30,.05);
}
.app-detail 

.preview{
    min-height:500px;
    border-radius:22px;
    background:
        radial-gradient(circle at 30% 20%,rgba(37,242,103,.30),transparent 30%),
        radial-gradient(circle at 80% 70%,rgba(19,190,76,.18),transparent 30%),
        linear-gradient(145deg,#15151b,#272731);
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    overflow:hidden;
}
.app-detail .preview:before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:50%;
}
.app-detail .preview:after{
    content:"";
    position:absolute;
    width:600px;
    height:600px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:50%;
}
.app-detail 

.phone{
    width:220px;
    height:440px;
    background:#08080b;
    border:7px solid #323239;
    border-radius:35px;
    padding:8px;
    transform:rotate(-5deg);
    box-shadow:
        0 40px 70px rgba(0,0,0,.5),
        0 0 0 1px rgba(255,255,255,.08);
    position:relative;
    z-index:3;
}
.app-detail .phone-screen{
    height:100%;
    border-radius:25px;
    overflow:hidden;
    background:var(--bg);
}
.app-detail .phone-header{
    height:80px;
    padding:25px 15px 10px;
    background:var(--green);
    color:var(--surface);
}
.app-detail .phone-header small{
    opacity:.8;
    font-size:9px;
}
.app-detail .phone-header h3{
    font-size:15px;
    margin-top:4px;
}
.app-detail .phone-body{
    padding:14px;
}
.app-detail .balance{
    background:var(--surface);
    padding:15px;
    border-radius:14px;
    box-shadow:0 4px 15px rgba(0,0,0,.05);
}
.app-detail .balance span{
    color:var(--muted);
    font-size:9px;
}
.app-detail .balance strong{
    display:block;
    margin-top:5px;
    font-size:19px;
}
.app-detail .mini-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:10px;
}
.app-detail .mini{
    height:60px;
    background:var(--surface);
    border-radius:12px;
    box-shadow:0 4px 15px rgba(0,0,0,.04);
}
.app-detail 

.hero-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:5px 10px;
}
.app-detail .badges{
    display:flex;
    gap:8px;
    margin-bottom:18px;
}
.app-detail .badge{
    background:color-mix(in srgb,var(--green) 12%,var(--surface));
    color:var(--green);
    padding:7px 11px;
    border-radius:8px;
    font-size:11px;
    font-weight:700;
}
.app-detail .badge.dark{
    background:var(--surface-2);
    color:var(--muted);
}
.app-detail .hero-info h1{
    font-size:38px;
    line-height:1.08;
    letter-spacing:-1.7px;
    margin-bottom:15px;
}
.app-detail .description{
    color:var(--muted);
    line-height:1.7;
    font-size:14px;
    max-width:520px;
}
.app-detail .techs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:22px 0;
}
.app-detail .tech{
    border:1px solid var(--line);
    padding:8px 11px;
    border-radius:9px;
    font-size:11px;
    font-weight:600;
    background:var(--surface-2);
}
.app-detail .buy-box{
    border-top:1px solid var(--line);
    margin-top:5px;
    padding-top:22px;
}
.app-detail .price-label{
    color:var(--muted);
    font-size:12px;
    margin-bottom:4px;
}
.app-detail .price{
    font-size:34px;
    font-weight:800;
    letter-spacing:-1.5px;
}
.app-detail .price span{
    font-size:13px;
    color:var(--muted);
    font-weight:500;
}
.app-detail .actions{
    display:flex;
    gap:10px;
    margin-top:17px;
}
.app-detail .buy{
    flex:1;
    height:52px;
    border:none;
    border-radius:13px;
    background:var(--green);
    color:var(--surface);
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}
.app-detail .buy:hover{
    background:var(--green-2);
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(37,242,103,.25);
}
.app-detail .favorite{
    width:52px;
    border:1px solid var(--line);
    background:var(--surface);
    border-radius:13px;
    font-size:19px;
    cursor:pointer;
}
.app-detail .delivery{
    margin-top:15px;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:11px;
    color:var(--muted);
}
.app-detail 

.content{
    display:grid;
    grid-template-columns:1fr 350px;
    gap:25px;
    margin-top:25px;
}
.app-detail .section{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:22px;
    padding:27px;
}
.app-detail .section h2{
    font-size:20px;
    letter-spacing:-.5px;
    margin-bottom:18px;
}
.app-detail .section p{
    color:var(--muted);
    font-size:14px;
    line-height:1.8;
}
.app-detail 

.features{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.app-detail .feature{
    border:1px solid var(--line);
    border-radius:14px;
    padding:17px;
    display:flex;
    gap:13px;
    align-items:flex-start;
}
.app-detail .icon{
    width:38px;
    height:38px;
    border-radius:11px;
    background:color-mix(in srgb,var(--green) 12%,var(--surface));
    color:var(--green);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:17px;
    flex-shrink:0;
}
.app-detail .feature strong{
    font-size:13px;
    display:block;
    margin-bottom:4px;
}
.app-detail .feature span{
    color:var(--muted);
    font-size:11px;
    line-height:1.5;
}
.app-detail 

.side{
    display:flex;
    flex-direction:column;
    gap:15px;
}
.app-detail .info-card{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:20px;
    padding:22px;
}
.app-detail .info-card h3{
    font-size:15px;
    margin-bottom:16px;
}
.app-detail .info-row{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid var(--line);
    font-size:12px;
}
.app-detail .info-row:last-child{
    border-bottom:0;
}
.app-detail .info-row span:first-child{
    color:var(--muted);
}
.app-detail .info-row strong{
    font-weight:700;
}
.app-detail 

.seller{
    display:flex;
    align-items:center;
    gap:12px;
}
.app-detail .avatar{
    width:45px;
    height:45px;
    border-radius:13px;
    background:linear-gradient(135deg,var(--green),var(--green-2));
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--surface);
    font-weight:800;
}
.app-detail .seller-info strong{
    display:block;
    font-size:13px;
}
.app-detail .seller-info span{
    display:block;
    margin-top:4px;
    color:var(--muted);
    font-size:11px;
}
.app-detail 

.tabs{
    margin-top:25px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:20px;
    padding:7px;
    display:flex;
    gap:5px;
}
.app-detail .tab{
    padding:12px 18px;
    border-radius:12px;
    font-size:12px;
    font-weight:600;
    color:var(--muted);
    cursor:pointer;
}
.app-detail .tab.active{
    background:color-mix(in srgb,var(--green) 12%,var(--surface));
    color:var(--green);
}
@media(max-width:900px){
.app-detail .hero{
        grid-template-columns:1fr;
    }
.app-detail .preview{
        min-height:430px;
    }
.app-detail .content{
        grid-template-columns:1fr;
    }
.app-detail .side{
        display:grid;
        grid-template-columns:1fr 1fr;
    }
}
@media(max-width:600px){
.app-detail .topbar{
        padding:0 18px;
    }
.app-detail .page{
        padding:22px 14px 50px;
    }
.app-detail .hero{
        padding:15px;
        border-radius:20px;
    }
.app-detail .preview{
        min-height:360px;
    }
.app-detail .phone{
        width:180px;
        height:360px;
    }
.app-detail .hero-info h1{
        font-size:29px;
    }
.app-detail .features{
        grid-template-columns:1fr;
    }
.app-detail .side{
        display:flex;
    }
.app-detail .section{
        padding:20px;
    }
.app-detail .actions{
        flex-direction:row;
    }
}

body.marketplace-product-page{background:var(--bg)!important;color:var(--text)!important}#productPage.app-detail{display:block;max-width:none;padding:0;margin:0;font-family:Manrope,Arial,sans-serif;color:var(--text);letter-spacing:normal}.app-detail .page{max-width:1250px}.app-detail h1,.app-detail h2,.app-detail h3{font-family:inherit;color:var(--text)}.app-detail .phone-header h3{color:white}.app-detail a.buy{display:flex;align-items:center;justify-content:center;text-decoration:none}.app-detail .product-image{width:100%;height:500px;object-fit:contain;z-index:2}.app-detail .tabs{overflow:auto}.app-detail .tab{border:0;background:transparent;white-space:nowrap;font-family:inherit}.app-detail .tab.active{background:color-mix(in srgb,var(--green) 12%,var(--surface))}.app-detail [hidden]{display:none!important}.app-detail .section+.section{margin-top:20px}.app-detail .breadcrumb{flex-wrap:wrap}.app-detail .info-row{gap:16px}.app-detail .info-row strong{text-align:right;overflow-wrap:anywhere}.app-detail .hero-info{min-width:0}.app-detail h1{overflow-wrap:anywhere}.app-detail .badges,.app-detail .delivery{flex-wrap:wrap}.app-detail .favorite[aria-pressed=true]{color:var(--green);background:color-mix(in srgb,var(--green) 12%,var(--surface))}.app-detail .logo{text-decoration:none;color:var(--text)}.app-detail .feature span{display:block}@media(max-width:600px){.app-detail .product-image{height:360px}.app-detail .topbar{gap:15px}.app-detail .back{font-size:12px}}
body.marketplace-product-page>main{padding:0;background:var(--bg)}.marketplace-product-page #productPage.app-detail{width:100%;padding:0;margin:0}.app-detail .hero{min-height:0;align-items:stretch}.app-detail .section{scroll-margin-top:90px}

/* Use the shared site header and theme tokens. */
.marketplace-product-page #productPage.app-detail{padding-top:118px;color:var(--text)}
.app-detail{--on-accent:#031006;--accent-label:var(--green)}
html[data-theme=light] .app-detail{--on-accent:#fff}
.app-detail .page{padding-top:20px}
.app-detail .back{display:inline-flex;margin-bottom:20px;color:var(--muted)}
.app-detail .back:hover{color:var(--green)}
.app-detail .breadcrumb{position:static;flex-direction:row;justify-content:flex-start;padding:0;border:0;background:none;letter-spacing:normal}
.app-detail .hero:before{content:none}
.app-detail .hero{box-shadow:var(--shadow)}
body.marketplace-product-page .app-detail .section{padding:27px}
.app-detail .buy,.app-detail .avatar,.app-detail .phone-header,.app-detail .phone-header h3{color:var(--on-accent)}
.app-detail .favorite{color:var(--text);flex-shrink:0}
.app-detail .phone-screen{color:var(--text)}
.app-detail .buy{height:auto;min-height:52px;padding:12px 16px;text-align:center;font-size:13px}
.app-detail :is(a,button):focus-visible{outline:2px solid var(--green);outline-offset:4px}
.app-detail .content{grid-template-columns:minmax(0,1fr) 350px}
@media(max-width:900px){.app-detail .content{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.marketplace-product-page #productPage.app-detail{padding-top:100px}}
@media(max-width:600px){body.marketplace-product-page .app-detail .section{padding:20px}.app-detail .page{padding-top:16px}.app-detail .back{font-size:13px}}
@media(prefers-reduced-motion:reduce){.app-detail .buy{transition:none}.app-detail .buy:hover{transform:none}}
