.product-detail-page .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.product-hero-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 140, 7, 0.12);
    overflow: hidden;
    margin-bottom: 36px;
}

.product-hero-media {
    position: relative;
    background: #fff;
    overflow: hidden;
}

.product-hero-media:not(.product-hero-media--video) {
    aspect-ratio: 16 / 9;
}

.product-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-hero-media--video {
    background: #000;
    display: block;
}

.product-hero-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.product-hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.product-hero-body {
    padding: 28px 32px 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.product-price-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-price-row .price-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.product-price-row .price-original {
    text-decoration: line-through;
    color: #7d8794;
}

.product-price-row .price-discount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #f94d63;
    background: rgba(249, 77, 99, 0.12);
    padding: 4px 10px;
    border-radius: 999px;
}

.product-price-row .price-current {
    font-size: 32px;
    font-weight: 700;
    color: #0f8c07;
}

.product-detail-page .product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-detail-page .product-actions .cart-form {
    flex: 1 1 220px;
}

.product-detail-page .product-actions button {
    width: 100%;
}

.product-description {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 18px 45px rgba(15, 140, 7, 0.08);
    margin-bottom: 44px;
}

.product-description h1 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #273244;
}

.product-content {
    font-size: 16px;
    color: #3c4656;
    line-height: 1.8;
}

.product-content p + p {
    margin-top: 16px;
}

.product-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.related-products {
    margin-bottom: 60px;
}

.related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.related-header h2 {
    font-size: 24px;
    color: #273244;
}

.related-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.related-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(39, 50, 68, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.related-thumb {
    display: block;
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}

.related-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-info h3 {
    font-size: 18px;
    line-height: 1.4;
}

.related-info h3 a {
    color: #273244;
    text-decoration: none;
}

.related-info p {
    font-size: 14px;
    color: #5b6676;
    min-height: 60px;
}

.related-info .price-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.related-info .new-price {
    margin-top: 0;
}

.product-empty {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(15, 140, 7, 0.08);
}

.product-empty h1 {
    font-size: 28px;
    margin-bottom: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    background: #0f8c07;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .product-detail-page .container {
        padding: 32px 16px 64px;
    }

    .product-hero-body {
        gap: 20px;
    }

    .product-description {
        padding: 28px;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .product-hero-media img {
        height: 100%;
    }

    .product-hero-body {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 24px 28px;
        gap: 16px;
    }

    .product-price-row {
        width: 100%;
    }

    .product-detail-page .product-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .product-detail-page .product-actions .cart-form {
        flex: 1 1 100%;
    }

    .product-description {
        padding: 24px;
    }

    .related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .product-detail-page .container {
        padding: 24px 14px 48px;
    }

    .product-hero-card {
        border-radius: 20px;
    }

    .product-hero-media img {
        height: 100%;
    }

    .product-hero-body {
        padding: 20px;
    }

    .product-price-row .price-current {
        font-size: 26px;
    }

    .product-detail-page .product-actions {
        gap: 10px;
    }

    .product-detail-page .product-actions button {
        padding: 12px;
        font-size: 15px;
    }

    .product-description {
        padding: 20px;
        border-radius: 18px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-card {
        border-radius: 16px;
    }

    .related-info {
        padding: 18px;
        gap: 12px;
    }
}

.product-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #e8f7eb;
    color: #0f8c07;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}







