/* Product Detail Page Styles */
.container.py-4 {
    max-width: 1200px;
    margin: 0 auto;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #007bff;
}

/* Main Product Section */
.product-main-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

/* Product Image Section */
.product-image-container {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.main-product-image {
    height: 250px;
    margin: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.product-image-container:hover .main-product-image {
    transform: scale(1.02);
}

/* Thumbnail Images */
.thumbnail-container {
    margin-top: 15px;
}

.thumbnail-container .row {
    margin: 0;
}

.thumbnail-item {
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    transform: scale(1.05);
}

.thumbnail-container img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thumbnail-container img:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

/* Product Info Section */
.product-info-section {
    padding-left: 20px;
}

.product-code-badge {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #007bff;
}

.product-title {
    margin: 15px 0;
}

.color-dark.fz-17 {
    font-size: 22px !important;
    font-weight: 700;
    color: #2c3e50 !important;
    line-height: 1.3;
    margin: 15px 0;
}

.product-short-desc {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #28a745;
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #495057;
}

/* Price Box */
.price-section {
    margin: 15px 0;
}

.price-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 10px;
    margin-bottom: 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    height: 100%;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Member Price Card - More Prominent */
.member-price-card {
    border-color: #28a745;
    background: linear-gradient(145deg, #f8fff9, #ffffff);
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.15);
    transform: scale(1.02);
}

.member-price-card:hover {
    border-color: #20c997;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.25);
    transform: translateY(-2px) scale(1.02);
}

.member-price-card .price-label {
    font-size: 12px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.member-price-card .member-price {
    font-size: 20px;
    color: #28a745;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
}

.member-price-card .price-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Regular Price Card - Less Prominent */
.regular-price-card {
    border-color: #dee2e6;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    opacity: 0.8;
}

.regular-price-card:hover {
    opacity: 1;
    border-color: #adb5bd;
}

.regular-price-card .price-label {
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 6px;
}

.regular-price-card .regular-price {
    font-size: 18px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 6px;
    text-decoration: line-through;
    line-height: 1.2;
}

.regular-price-card .price-badge.regular {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
}

/* Price Labels */
.price-label {
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 6px;
}

.price-value {
    font-size: 18px;
    color: #e74c3c;
    font-weight: 700;
}

/* Action Buttons */
.action-buttons .col-6 {
    margin-bottom: 10px;
}

.add-to-cart-btn, .buy-now-btn {
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Contact Section */
.contact-section .col-12 {
    margin-bottom: 10px;
}

.contact-link {
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: none;
}

.hotline-btn, .zalo-btn {
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.bg-orange {
    background: linear-gradient(135deg, #fd7e14 0%, #e55a00 100%) !important;
    border: none;
}

.bg-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 126, 20, 0.4);
}

.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    border: none;
}

.bg-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Provider Section */
.provider-section {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Description Section */
.product-description-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    margin-top: 20px !important;
}

.section-title {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #28a745;
}

.description-content {
    font-size: 15px;
    line-height: 1.6;
    color: #495057;
}

/* Rating Section */
.rating-result {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.rating-header {
    text-align: center;
    margin-bottom: 20px;
}

.rating-result .my-2.fz-20 {
    font-size: 22px !important;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Rating Box */
.rating-box {
    text-align: center;
    padding: 15px;
}

.overral-rating {
    font-size: 28px !important;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 12px;
}

.star {
    margin-bottom: 12px;
}

.star i {
    font-size: 18px !important;
    margin: 0 2px;
}

.total-rating {
    color: #007bff;
    font-weight: 700;
}

/* Rating Details */
.rating-details-box {
    padding: 15px;
}

.rating-details-box .d-flex {
    margin-bottom: 10px;
    align-items: center;
}

.rating-details-box progress {
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
}

.rating-details-box progress::-webkit-progress-bar {
    background: #e9ecef;
    border-radius: 3px;
}

.rating-details-box progress::-webkit-progress-value {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    border-radius: 3px;
}

.rating-details-box progress::-moz-progress-bar {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    border-radius: 3px;
}

/* Rating Comment Section */
.rating-comment {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.rating-action {
    text-align: center;
    margin-bottom: 20px;
}

.rating-action .fz-16 {
    color: #6c757d;
    margin-bottom: 12px;
}

/* Individual Rating Items */
.rating-items {
    margin-top: 15px;
}

.rating-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rating-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rating-header {
    margin-bottom: 12px;
}

.user-info {
    display: flex;
    align-items: center;
}

.rating-date {
    font-size: 13px;
    color: #6c757d;
}

.rating-content {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
}

.rating-stars {
    margin-bottom: 8px;
}

.rating-comment-text {
    line-height: 1.5;
}

.rating-comment .avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-main-section {
        padding: 15px;
        margin: 0 8px 15px 8px;
    }
    
    .product-info-section {
        padding-left: 0;
        margin-top: 15px;
    }
    
    .rating-result {
        padding: 15px;
        margin: 15px 8px;
    }
    
    .rating-box, .rating-details-box {
        padding: 12px;
    }
    
    .main-product-image {
        height: 200px;
    }
    
    .thumbnail-container img {
        height: 50px;
    }
}

/* Hover Effects */
.pointer {
    cursor: pointer;
    transition: all 0.3s ease;
}

.pointer:hover {
    transform: translateY(-1px);
}

/* Text Colors */
.color-orange {
    color: #fd7e14 !important;
}

.color-mlm {
    color: #28a745 !important;
}

.color-red {
    color: #dc3545 !important;
}

/* Font Sizes */
.fz-13 { font-size: 13px !important; }
.fz-14 { font-size: 14px !important; }
.fz-16 { font-size: 16px !important; }
.fz-17 { font-size: 17px !important; }
.fz-18 { font-size: 18px !important; }
.fz-20 { font-size: 20px !important; }
.fz-26 { font-size: 26px !important; }

/* Utility Classes */
.w120 { width: 120px; }
.ms-5 { margin-left: 3rem !important; }

/* Animation for page load */
.product-main-section,
.product-description-section,
.rating-result {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}