﻿/* --- PRODUCT DETAIL PAGE --- */

.page-product-detail {
    background-color: #f8f9fa; /* Nền xám nhạt làm nổi bật card trắng */
    font-family: 'Segoe UI', sans-serif;
}

/* 1. Header Styles */
.title-separator {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color, #0046ba);
    border-radius: 2px;
    margin-top: 15px;
}

/* 2. Pricing Card (Left Column) */
.pricing-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* Header Gradient */
.pricing-header {
    background: linear-gradient(135deg, var(--primary-color, #0046ba) 0%, #0060ff 100%);
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    /* Tạo đường cong nhẹ dưới header */
    border-radius: 0 0 50% 50% / 20px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.product-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Pricing Body */
.pricing-body {
    padding: 25px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-bottom: -5px;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: #dc3545; /* Màu đỏ cho giá */
    line-height: 1.2;
}

    .price-current small {
        font-size: 1.2rem;
        vertical-align: top;
        margin-left: 2px;
    }

/* Voucher Tag */
.voucher-box {
    display: inline-block;
    background-color: #fff3cd;
    color: #856404;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1px dashed #ffeeba;
}

/* Features List */
.feature-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: flex-start;
}

    .feature-list li:last-child {
        border-bottom: none;
    }

    .feature-list li i {
        margin-top: 3px; /* Căn chỉnh icon với dòng đầu tiên của text */
    }

/* Ribbon (HOT) */
.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

    .ribbon span {
        font-size: 10px;
        font-weight: bold;
        color: #FFF;
        text-transform: uppercase;
        text-align: center;
        line-height: 20px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        width: 100px;
        display: block;
        background: #FF0000; /* Màu đỏ cho Hot */
        box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
        position: absolute;
        top: 19px;
        right: -21px;
    }

/* 3. Register Card (Right Column) */
.register-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.register-header {
    background: linear-gradient(135deg, var(--primary-color, #0046ba) 0%, #0060ff 100%); 
    color: #fff;
    padding: 20px 25px;
}

    .register-header h4 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 5px;
    }

.register-body {
    padding: 30px;
}

.register-footer {
    background-color: #f8f9fa;
    padding: 15px;
    font-size: 13px;
    color: #6c757d;
    border-top: 1px solid #eee;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .pricing-card {
        margin-bottom: 30px; /* Tạo khoảng cách trên mobile */
    }

    .sticky-top {
        position: static !important; /* Tắt sticky trên mobile */
    }
}
