.product-page {
    min-height: 100vh;
    padding: 80px 20px 80px;
    max-width: 760px;
    margin: 0 auto;
}

.product-hero {
    background: linear-gradient(160deg, rgba(155,92,255,0.08), rgba(0,255,156,0.04));
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
}

@media (min-width: 580px) {
    .product-hero { flex-direction: row; align-items: center; }
}

.product-img-wrap {
    flex: 0 0 160px;
    width: 160px;
    height: 160px;
    border-radius: 18px;
    background: #0d0d16;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    align-self: center;
}
.product-img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(0,255,156,0.2), transparent 65%);
}
.product-img-wrap img {
    max-width: 110px;
    max-height: 110px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.product-info { flex: 1; }

.product-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--violet);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-name {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.product-price {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--green), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
}
.product-stock::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

.product-desc-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}
.product-desc-block h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.product-desc {
    font-size: 15px;
    line-height: 1.75;
    color: #cfcfd8;
    white-space: pre-line;
    margin: 0;
}

.product-buy-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.product-buy {
    width: 100%;
    max-width: 380px;
}

.product-trust {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.product-trust span {
    font-size: 12px;
    color: var(--muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 999px;
    padding: 5px 12px;
}

.product-warning {
    background: rgba(255,170,0,0.07);
    border: 1px solid rgba(255,170,0,0.22);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13px;
    color: #ffaa00;
    margin-bottom: 16px;
}

.not-found {
    text-align: center;
    padding: 80px 24px;
    color: var(--muted);
}

@media (max-width: 480px) {
    .product-name  { font-size: 20px; }
    .product-price { font-size: 30px; }
    .product-hero  { padding: 20px; gap: 16px; }
    .product-desc  { font-size: 14px; }

    /* logo più grande e centrato */
    .product-img-wrap {
        flex: 0 0 120px;
        width: 120px;
        height: 120px;
        align-self: center;
        margin: 0 auto;
    }
    .product-img-wrap img {
        max-width: 86px;
        max-height: 86px;
    }

    /* trust pills meno rilevanti: nascondi su mobile */
    .product-trust { display: none; }

    /* buy block compatto */
    .product-buy-block { padding: 16px; }
}
