/* ============================================
   PRODUCT DETAIL PAGE STYLES
   ============================================ */

/* Agency Section */
.agency-section {
    margin-top: 32px;
    margin-bottom: 38px;
}

.agency-header {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.agency-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
    margin-right: 5px;
}

.agency-next {
    font-size: 1.4rem;
    color: #aaa;
    margin-top: 2px;
}

.agency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 20px;
}

.agency-card {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 19px 18px 15px 18px;
    min-width: 0;
    min-height: 75px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.agency-name {
    font-size: 30px;
    font-weight: 650;
    color: #222;
    margin-bottom: 2px;
}

.agency-bold {
    font-family: inherit;
    font-weight: 700;
}

.agency-desc {
    color: #666;
    font-size: 0.97rem;
    font-weight: 400;
    margin-top: 1px;
    line-height: 1.4;
    font-style: italic;
}

@media (max-width: 900px) {
    .agency-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .agency-grid {
        grid-template-columns: 1fr;
    }
    .agency-section {
        margin-left: -10px;
        margin-right: -10px;
    }
}

/* Breadcrumb */
.product-detail-section .breadcrumb {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    display: flex;
    align-items: center;
    color: #303030;
    padding: 0;
    margin: 0;
    background: transparent;
    list-style: none;
}

.product-detail-section .breadcrumb-item {
    display: flex;
    align-items: center;
}

.product-detail-section .breadcrumb-item + .breadcrumb-item::before {
    content: "»";
    color: #303030;
    padding: 0 8px;
    font-size: 16px;
}

.product-detail-section .breadcrumb-item a {
    color: #303030;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
}

.product-detail-section .breadcrumb-item a:hover {
    color: #E30613;
}

.product-detail-section .breadcrumb-item.active {
    color: #C00F0C !important;
    font-family: 'Inter', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 100% !important;
    display: flex;
    align-items: center;
}

/* Product Detail Main Row */
.product-detail-main-row {
    display: flex;
    gap: 70px;
    margin-bottom: 40px;
}

/* Left Side: Image Gallery */
.product-image-gallery {
    width: 700px;
    flex-shrink: 0;
}

.product-gallery-wrapper {
    display: flex;
    gap: 20px;
}

/* Product Thumbnails */
.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex-shrink: 0;
}

.thumbnail-item {
    box-sizing: border-box;
    width: 80px;
    height: 80px;
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    border-radius: 0px 10px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 8px;
}

.thumbnail-item:hover {
    border-color: #BF1E2E;
}

.thumbnail-item.active {
    border: 1px solid #BF1E2E;
}

.thumbnail-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Blog Product Favorite - dùng chung style từ trang products */
.product-thumbnails .blog-product-favorite {
    width: 44px;
    height: 44px;
    margin: 0 auto;
}

/* Product Main Image */
.product-main-image-wrapper {
    flex: 1;
    position: relative;
    overflow: visible;
}

.product-main-image {
    box-sizing: border-box;
    width: 580px;
    height: 580px;
    border: 1px solid #E6E6E6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    overflow: visible;
    position: relative;
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    display: block;
    opacity: 1;
}

.main-product-img.fade-out {
    opacity: 0;
}

.main-product-img.fade-in {
    opacity: 1;
}

.product-image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 38px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: #B3B3B3;
}

.product-image-nav-btn:hover {
    color: #C00F0C;
}

.product-image-prev {
    left: -20px;
}

.product-image-next {
    right: -20px;
}

.product-image-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.product-image-nav-btn:disabled:hover {
    color: #B3B3B3;
}

/* Right Side: Product Info */
.product-info-section {
    width: 495px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1400px) {
    .product-detail-main-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .product-image-gallery {
        width: 100%;
        max-width: 700px;
    }
    
    .product-info-section {
        width: 100%;
        max-width: 495px;
    }
    
    .product-main-image {
        width: 100%;
        max-width: 580px;
        height: auto;
        aspect-ratio: 1;
    }
}

@media (max-width: 768px) {
    .product-gallery-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-thumbnails {
        flex-direction: row;
        gap: 11px;
        overflow-x: auto;
        width: 100%;
    }
    
    .product-main-image {
        width: 100%;
        max-width: 100%;
    }
}

/* Product Title */
.product-info-section .product-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #000000;
    margin-bottom: 0;
}

.product-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
}

.status-text {
    color: #666;
    font-size: 14px;
}

/* Product Description Box */
.product-description-box {
    box-sizing: border-box;
    width: 492px;
    max-width: 100%;
    background: #FFFFFF;
    border: 1px solid #F8F8F8;
    padding: 23px 17px;
    position: relative;
}

.product-description-box p {
    width: 459px;
    max-width: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 28px;
    color: #000000;
    margin: 0;
    padding: 0;
}

.product-description-box strong {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 28px;
    color: #000000;
}

/* Description Section Styles */
.description-section {
    line-height: 1.8;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-title-icon {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
}

.section-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: #555;
    line-height: 1.8;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Hashtags */
.hashtags-section {
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hashtag-label {
    background: #c4c4c4;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hashtag {
    color: #666;
    font-size: 0.85rem;
    text-decoration: none;
}

.hashtag:hover {
    color: #c21e24;
}

/* Specifications Card */
.specs-card {
    box-sizing: border-box;
    width: 503px;
    max-width: 100%;
    background: #FFFFFF;
    border: 1px solid #F8F8F8;
    padding: 0;
}

.specs-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    padding: 20px 17px 15px 17px;
}

.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    padding: 0 20px 17px 20px;
}

.specs-table tr {
    border: none;
    height: 38px;
    display: table-row;
}

.specs-table tr:nth-child(odd) {
    background: #F8F8F8;
}

.specs-table tr:nth-child(even) {
    background: #FFFFFF;
}

.specs-table tr:last-child {
    margin-bottom: 0;
}

.specs-table td {
    padding: 0 20px;
    height: 38px;
    vertical-align: middle;
    display: table-cell;
}

.spec-label {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #000000;
    display: block;
    height: 38px;
    line-height: 38px;
    box-sizing: border-box;
    padding: 0;
}

.spec-value {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
    display: block;
    height: 38px;
    line-height: 38px;
    box-sizing: border-box;
    padding: 0;
}

/* Warranty Card */
.warranty-card {
    border: none;
    border-radius: 0;
    text-align: left;
}

.warranty-image {
    text-align: left;
    background: transparent;
    padding: 0;
    border-bottom: 1px solid #e30613;
}

.warranty-image img {
    max-width: 220px;
    height: auto;
}

.warranty-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #e30613;
    margin-bottom: 18px;
    line-height: 1.5;
    text-transform: uppercase;
}

.warranty-title i {
    color: #e30613;
}

.warranty-list {
    list-style: disc;
    padding-left: 22px;
    text-align: left;
    margin-bottom: 24px;
}

.warranty-list li {
    margin-bottom: 6px;
    color: #111;
    font-size: 0.96rem;
}

.btn-view-details {
    display: inline-block;
    margin: 24px auto 0 auto;
    background: #e6e6e6;
    border: none;
    padding: 14px 48px;
    border-radius: 0 10px 0 10px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    width: auto;
}

.btn-view-details:hover {
    background: #d4d4d4;
}

.warranty-card .warranty-content {
    background-color: #f8f9fa;
    padding: 20px;
    display: block;
    text-align: center;
}
.warranty-card  .warranty-title{
    font-size: 32px;color: #e30613;
}
.warranty-card .warranty-list li{
    font-size: 22px;
}
/* Responsive */
@media (max-width: 768px) {
    .product-info-section .product-title {
        font-size: 32px;
    }
    
    .product-main-image {
        min-height: 300px;
    }
    
    .section-title-icon {
        font-size: 1rem;
    }
    
    .product-description-box {
        width: 100%;
        padding: 20px 15px;
    }
    
    .product-description-box p {
        width: 100%;
        font-size: 18px;
        line-height: 24px;
    }
    
    .product-description-box strong {
        font-size: 18px;
        line-height: 24px;
    }
    
    .specs-card {
        width: 100%;
    }
    
    .specs-table {
        padding: 0 15px 15px 15px;
    }
    
    .specs-table td {
        padding: 0 15px;
    }
    
    .spec-label,
    .spec-value {
        font-size: 14px;
    }
    
    .warranty-card {
        margin-bottom: 20px;
    }
    
    .warranty-card .warranty-content {
        padding: 15px;
    }
    
    .warranty-card .warranty-title {
        font-size: 24px;
    }
    
    .warranty-card .warranty-list li {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .product-description-box {
        padding: 15px 12px;
    }
    
    .product-description-box p {
        font-size: 16px;
        line-height: 22px;
    }
    
    .product-description-box strong {
        font-size: 16px;
        line-height: 22px;
    }
    
    .specs-table {
        padding: 0 12px 12px 12px;
    }
    
    .specs-table td {
        padding: 0 12px;
    }
    
    .spec-label,
    .spec-value {
        font-size: 13px;
    }
    
    .warranty-card .warranty-content {
        padding: 12px;
    }
    
    .warranty-card .warranty-title {
        font-size: 20px;
    }
    
    .warranty-card .warranty-list li {
        font-size: 14px;
    }
}

