*,
*::before,
*::after{ box-sizing:border-box; }

:root{
    --bg:#070a12;
    --bg2:#0b1020;
    --card:rgba(255,255,255,.06);
    --text:rgba(255,255,255,.92);
    --muted:rgba(255,255,255,.68);
    --accent:#28d17c;
    --accent2:#ff2a2a;
    --line:rgba(255,255,255,.10);
    --radius:18px;
    --shadow:0 18px 50px rgba(0,0,0,.45);
    --green:#21c06b;
    --green2:#16a85a;
}

html,body{ height:100%; }

body{
    margin:0;
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
    background:
            radial-gradient(1200px 600px at 20% -10%,#14204a 0%,transparent 55%),
            radial-gradient(900px 500px at 90% 0%,#3a0d1a 0%,transparent 55%),
            linear-gradient(180deg,var(--bg) 0%,var(--bg2) 100%);
    color:var(--text);
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
    width:min(1120px,calc(100% - 40px));
    margin:0 auto;
}

.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(6,8,16,.7);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 0;
    gap:18px;
}

.brand{
    font-weight:900;
    letter-spacing:.6px;
    font-size:20px;
    display:inline-flex;
    gap:2px;
    align-items:baseline;
}

.brand-mark{ color:#fff; }
.brand-accent{ color:var(--accent2); }

.main-nav ul{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    gap:18px;
    align-items:center;
}

.main-nav a{
    font-weight:600;
    color:var(--muted);
    padding:10px 12px;
    border-radius:999px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"]{
    color:var(--text);
    background:rgba(255,255,255,.08);
}

.breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    padding:26px 0 14px;
    color:rgba(255,255,255,.7);
    font-size:14px;
}

.product-page{ padding-bottom:64px; }

.product-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:44px;
}

.product-gallery{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.1);
    border-radius:22px;
    padding:26px;
    box-shadow:var(--shadow);
}

.product-image-main{
    background:#fff;
    border-radius:14px;
    padding:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:420px;
}

.product-image-main img{
    width:min(320px,100%);
    cursor:zoom-in;
}

.product-info h1{
    margin:0 0 10px;
    font-size:clamp(34px,4vw,44px);
}

.product-brand{
    margin:0 0 14px;
    color:var(--muted);
    font-size:14px;
}

.product-rating{
    display:flex;
    gap:10px;
    margin-bottom:16px;
}

.stars{ color:#ffd55a; }

.product-short{
    margin:0 0 22px;
    color:var(--muted);
    line-height:1.6;
}

.product-price-block{
    margin-top:10px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
    border-radius:18px;
    padding:18px;
    display:flex;
    justify-content:space-between;
    gap:18px;
}

.product-price{
    margin:0;
    font-size:28px;
    font-weight:900;
}

.product-buy{
    display:flex;
    align-items:center;
    gap:14px;
}

.qty-control{
    display:flex;
    align-items:center;
    border:1px solid rgba(255,255,255,.1);
    border-radius:999px;
    padding:6px;
    gap:6px;
}

.qty-btn{
    width:34px;
    height:34px;
    border-radius:999px;
    border:0;
    background:rgba(255,255,255,.08);
    color:var(--text);
    cursor:pointer;
}

#qty{
    width:52px;
    text-align:center;
    background:transparent;
    border:0;
    color:var(--text);
    font-weight:800;
}

.btn-primary{
    border:0;
    background:var(--green);
    color:#08110c;
    font-weight:900;
    padding:12px 18px;
    border-radius:999px;
    cursor:pointer;
}

.btn-primary:hover{ background:var(--green2); }

.product-bullets{
    margin-top:22px;
}

.product-bullets ul{
    padding-left:18px;
    color:var(--muted);
}

.site-footer{
    border-top:1px solid rgba(255,255,255,.08);
    background:rgba(6,10,22,.5);
    padding:22px 0;
    color:rgba(255,255,255,.7);
}

@media (max-width:980px){
    .product-layout{ grid-template-columns:1fr; }
}
