.product-detail-section {
    padding: 40px 0 80px;
    background: #ffffff;
}


.sidebar-title {
    text-align: center;
   margin-bottom: 0px !important;
   line-height: 1;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Header */
.product-header {
    margin-bottom: 40px;
}

.product-title-wrapper {
    text-align: left !important;
}

.product-header .product-title-wrapper {
    text-align: left !important;
}

.product-title {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
    line-height: 1.2;
}

.product-price-header {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price-header .price-label {
    color: #64748b !important;
    font-weight: 500;
    font-size: 32px;
}

.product-price-header .price-value {
    color: #64748b !important;
    font-weight: 700;
    font-size: 32px;
}

/* Product Specifications (in Description Tab) */
.product-specifications {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid #e5e7eb;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;

    overflow: visible; /* QUAN TRỌNG: không cắt icon */
}

/* Icon */
.spec-item i {
    font-size: 18px;
    color: #2563eb;
    min-width: 22px; /* giữ chỗ cố định cho icon */
}

/* Label */
.spec-item span {
    flex: 1;
    font-size: 15px;
    color: #0f172a;
}

/* Value */
.spec-item strong {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}
.spec-item:last-child {
    border-bottom: none;
}

.spec-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-left i {
    font-size: 20px;
    color: #085DC5;
    flex-shrink: 0;
}

.spec-label {
    font-size: 16px;
    color: #1e293b;
    font-weight: 500;
}

.spec-value {
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
}

/* Product Tabs */
.product-tabs-wrapper {
    margin-bottom: 60px;
}

.product-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px;
    margin-bottom: 0;
    background: #f1f5f9;
    border-radius: 14px;
    border-bottom: none;
}

.product-tabs .nav-item {
    margin-bottom: 0;
    flex: 1;
    width: 50%;
}

.product-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 24px;
    background: transparent;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    position: relative;
    border-radius: 10px;
}

.product-tabs .nav-link:hover {
    color: #085DC5;
    background: rgba(8, 93, 197, 0.08);
}

.product-tabs .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #085dc5 0%, #0a4a9a 100%);
    box-shadow: 0 4px 14px rgba(8, 93, 197, 0.35);
    border: none !important;
}

.product-tabs .nav-link.active::after {
    display: none;
}

.product-tab-content {
    background: #ffffff;
    padding: 32px 0;
    min-height: 200px;
}

/* Product Details */
.product-details {
    background: #ffffff;
}

.product-description {
    margin-bottom: 40px;
}

.description-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.description-content {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    text-align: left;
}

/* Handle CKEditor HTML content */
.description-content p {
    margin: 0 0 12px 0;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.description-content br {
    display: block;
    content: "";
    margin-top: 8px;
}

/* Address Content */
.product-address-content {
    background: #ffffff;
}

.address-section {
    margin-bottom: 40px;
}

/* Map Section */
.map-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.product-map {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 16px;
}

.address-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
}

.address-item i {
    font-size: 24px;
    color: #085DC5;
    flex-shrink: 0;
    margin-top: 4px;
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.address-text {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.6;
}

.address-label {
    font-size: 14px;
    color: #64748b;
    display: block;
}

/* Project Section */
.project-section {
    margin-top: 40px;
}

.project-info {
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #085DC5;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #064a9a;
    gap: 16px;
}

.project-link i:first-child {
    font-size: 24px;
}

.project-link i:last-child {
    font-size: 18px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.project-link:hover i:last-child {
    transform: translateX(4px);
}

/* Empty Content */
.empty-content {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail-section {
        padding: 20px 0 60px;
    }

    .product-title {
        font-size: 32px;
    }

    .product-price-header {
        font-size: 24px;
    }

    .product-price-header .price-label,
    .product-price-header .price-value {
        font-size: 24px;
    }

    /* Modern Mobile Tabs - Real Estate App Style */
    .product-tabs-wrapper {
        margin-bottom: 24px;
        padding: 0;
    }

    .product-tabs {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 8px;
        background: #f1f5f9;
        border-radius: 12px;
        border-bottom: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .product-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-tabs .nav-item {
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
    }

    .product-tabs .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 600;
        color: #64748b;
        background: transparent;
        border: none;
        border-radius: 8px;
        white-space: nowrap;
        transition: all 0.25s ease;
        text-align: center;
    }

    .product-tabs .nav-link:hover {
        color: #085dc5;
        background: rgba(8, 93, 197, 0.08);
    }

    .product-tabs .nav-link.active {
        color: #ffffff;
        background: linear-gradient(135deg, #085dc5 0%, #0a4a9a 100%);
        box-shadow: 0 4px 12px rgba(8, 93, 197, 0.35);
        border: none !important;
    }

    .product-tabs .nav-link.active::after {
        display: none;
    }

    /* Tab Content Mobile */
    .product-tab-content {
        padding: 24px 0;
        min-height: auto;
    }

    .product-details {
        padding: 0;
    }

    .product-description {
        margin-bottom: 24px;
    }

    .description-title {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .description-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .spec-item {
        padding: 12px 0;
    }

    .spec-left i {
        font-size: 18px;
    }

    .spec-label,
    .spec-value {
        font-size: 14px;
    }

    .address-item {
        padding: 20px;
    }

    .address-text {
        font-size: 16px;
    }

    .product-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 24px;
        letter-spacing: -0.5px;
    }

    .product-price-header {
        font-size: 18px;
        flex-wrap: wrap;
    }

    .product-price-header .price-label,
    .product-price-header .price-value {
        font-size: 18px;
    }

    .product-header {
        margin-bottom: 24px;
    }

    /* Smaller Mobile Tabs */
    .product-tabs {
        padding: 6px;
        gap: 6px;
        border-radius: 10px;
    }

    .product-tabs .nav-link {
        font-size: 13px;
        padding: 10px 12px;
        min-height: 44px;
        border-radius: 6px;
    }

    .product-tabs .nav-link.active {
        box-shadow: 0 3px 10px rgba(8, 93, 197, 0.3);
    }

    .product-tab-content {
        padding: 20px 0;
    }

    .description-title {
        font-size: 16px;
    }

    .description-content {
        font-size: 14px;
    }

    /* Empty Content Mobile */
    .empty-content {
        padding: 40px 16px;
        font-size: 14px;
    }

    .product-map {
        height: 250px;
    }

    .address-item {
        padding: 16px;
    }
}

