.product-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 20px;
}

.product-back {
    margin-bottom: 30px;
}

.back-link {
    color: #ff0000;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-link:hover {
    color: #ff3333;
    transform: translateX(-5px);
}

.product-hero {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 24px; /* tighten spacing so controls sit closer to the image */
    margin-bottom: 60px;
    align-items: start;
}

.product-image-large {
    width: 100%;
    aspect-ratio: 16 / 9; /* enforce 16:9 (1920x1080) visual ratio */
    max-height: 72vh; /* cap the height so it fits on mobile and desktop */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,0,0,0.12);
    box-shadow: 0 18px 50px rgba(0,0,0,0.6);
    background: linear-gradient(180deg, #080808 0%, #000000 100%);
    position: relative;
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.9,.3,1);
}

.product-image-large:hover img {
    transform: scale(1.03);
}

/* optional badge on image (e.g. FREE) */
.product-image-large .image-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255,255,255,0.06);
    color: #00ff66;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.6px;
    border: 1px solid rgba(0,255,120,0.08);
    backdrop-filter: blur(4px);
}

.product-info {
    padding: 8px 0;
}

.product-name {
    font-size: 2.35em;
    color: #ff0000;
    margin-bottom: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

/* Product price (big) */
.product-price {
    text-align: left;
    display: block;
    font-size: 2.6em; /* emphasize big price */
    margin: 0 0 22px 0;
    font-weight: 900;
    color: #7cff7c !important;
    /* stronger layered green glow */
    text-shadow:
        0 2px 0 rgba(0,0,0,0.22),
        0 6px 36px rgba(0,255,120,0.18),
        0 0 28px rgba(0,255,120,0.30);
    /* subtle outer glow for better emphasis */
    filter: drop-shadow(0 10px 28px rgba(0,255,120,0.06));
}

/* Free state for product page price */
.product-price.free {
    color: #7cff7c;
    text-transform: uppercase;
    font-weight: 800;
}

.product-description {
    font-size: 1.05em;
    line-height: 1.9;
    color: #e8e8e8;
    margin-bottom: 24px;
    white-space: pre-line;
    word-wrap: break-word;
    max-width: 100%;
}

.product-features {
    background: linear-gradient(180deg, rgba(10,0,0,0.24) 0%, rgba(0,0,0,0.45) 100%);
    border: 1px solid rgba(255,59,59,0.18);
    border-radius: 12px;
    padding: 18px;
    margin: 18px 0 24px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.product-features h3 {
    color: #ff0000;
    font-size: 1.2em;
    margin-bottom: 12px;
    font-family: 'Rajdhani', sans-serif;
}

.product-features ul { list-style: none; padding: 0; margin: 0; }

.product-features li {
    color: #e8e8e8;
    padding: 8px 0;
    font-size: 1em;
    position: relative;
    padding-left: 36px;
}

.product-features li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(180deg, #07210a 0%, #07150a 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.product-features li:after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    color: #7cff7c;
    font-weight: 900;
    font-size: 0.85em;
}

/* Buy row and CTA */
.buy-row { display: flex; gap: 16px; align-items: center; margin: 12px 0 20px 0; justify-content: flex-start; max-width: 100%; position: relative; z-index: 2; }
.buy-row .btn-shop {
    /* Large but moderate */
    padding: 16px 34px;
    font-size: 1.15em;
    border-radius: 36px;
    /* deeper, blood-like red gradient */
    background: linear-gradient(90deg, #ff2a2a 0%, #8b0000 100%);
    color: #ffffff;
    /* add a thin red stroke */
    border: 2px solid rgba(255,20,20,0.9);
    min-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 14px 36px rgba(255,59,59,0.12), inset 0 -6px 18px rgba(0,0,0,0.14);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.12s ease;
}
.buy-row .btn-shop:hover { transform: translateY(-3px); box-shadow: 0 30px 84px rgba(139,0,0,0.32); border-color: rgba(255,60,60,1); }

/* subtle red glow that reaches left toward the image */
/* glow intentionally removed to avoid page-edge bleeding */

/* Ensure the big CTA adapts on smaller screens */
@media (max-width: 768px) {
    /* Keep the image 16:9 on mobile too */
    .product-hero { grid-template-columns: 1fr; gap: 28px; }
    .product-image-large { aspect-ratio: 16 / 9; max-height: 48vh; }
    /* Make CTA large but sensible on mobile */
    .buy-row .btn-shop { width: 100%; min-width: 0; padding: 16px 22px; font-size: 1.12em; border-radius: 12px; }
    .product-name { font-size: 1.8em; }
    .product-price { font-size: 1.9em; }
    .product-description { font-size: 1rem; }
}

/* Slightly smaller on narrow screens */
@media (max-width: 968px) {
    .product-hero { grid-template-columns: 1fr; gap: 30px; }
    .product-image-large { height: 46vh; border-radius: 10px; }
    .buy-row { flex-direction: column; }
    .buy-row .btn-shop { width: 100%; }
}

.product-guarantee {
    text-align: center;
    padding: 20px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.product-guarantee p {
    color: #e8e8e8;
    margin: 8px 0;
    font-size: 0.95em;
}

.product-guarantee a {
    color: #ff0000;
    text-decoration: none;
}

.product-guarantee a:hover {
    color: #ff3333;
    text-decoration: underline;
}

.product-details {
    background: linear-gradient(180deg, rgba(10,0,0,0.18) 0%, rgba(0,0,0,0.4) 100%);
    border: 1px solid rgba(255,59,59,0.12);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.product-details h2 {
    color: #ff0000;
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    font-family: 'Rajdhani', sans-serif;
}

.product-details p {
    color: #e8e8e8;
    line-height: 1.8;
    font-size: 1.1em;
}

/* Responsive */
@media (max-width: 968px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-name {
        font-size: 2em;
    }

    .product-price {
        font-size: 1.6em;
    }
}

/* small helper: center content and keep readable on very narrow screens */
@media (max-width: 480px) {
    .product-page { padding: 28px 14px; }
    .product-name { font-size: 1.6em; }
    .product-description { font-size: 1em; }
}
