/**
 * Fresh Air - Single Product Page Styles
 * Kế thừa màu sắc từ theme, hiện đại hóa layout
 */

/* Variables */
:root {
    --fresh-sp-radius-lg: 16px;
    --fresh-sp-radius-md: 12px;
    --fresh-sp-radius-sm: 8px;
    --fresh-sp-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --fresh-sp-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Container */
.fresh-single-product {
    background: #f5f8f8;
    font-family: inherit;
}

/* Breadcrumb */
.fresh-sp-breadcrumb {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.fresh-sp-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.fresh-sp-breadcrumb a {
    color: var(--primary-color, #004A99);
    text-decoration: none;
}

.fresh-sp-breadcrumb a:hover {
    text-decoration: underline;
}

.fresh-sp-breadcrumb .separator {
    color: #ccc;
}

.fresh-sp-breadcrumb .current {
    font-weight: 600;
    color: #333;
}

/* Hero Section */
.fresh-sp-hero {
    background: #fff;
    padding: 2.5rem 0;
}

.fresh-sp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Gallery */
.fresh-sp-gallery {
    position: sticky;
    top: 100px;
}

.fresh-sp-main-image {
    position: relative;
    background: #f8fafa;
    border-radius: var(--fresh-sp-radius-lg);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.fresh-sp-main-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: contain;
    object-position: center;
    padding: 1rem;
    background: #fff;
}

.fresh-sp-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--fresh-sp-radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.fresh-sp-badge.sale {
    background: var(--secondary-color, #E30613);
    color: #fff;
}

.fresh-sp-badge.featured {
    background: var(--primary-color, #004A99);
    color: #fff;
}

/* Thumbnails */
.fresh-sp-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.fresh-sp-thumb {
    border-radius: var(--fresh-sp-radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafa;
}

.fresh-sp-thumb.active,
.fresh-sp-thumb:hover {
    border-color: var(--primary-color, #004A99);
}

.fresh-sp-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

/* Product Info */
.fresh-sp-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fresh-sp-label {
    display: inline-block;
    background: rgba(0, 166, 81, 0.1);
    color: var(--primary-color, #004A99);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.fresh-sp-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin: 0;
}

.fresh-sp-excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.fresh-sp-excerpt p {
    margin: 0;
}

.fresh-sp-price {
    font-size: 1.35rem;
    font-weight: 700;
}

.fresh-sp-price .woocommerce-Price-amount {
    color: var(--primary-color, #004A99);
}

.fresh-sp-price del {
    color: #999;
    font-size: 1.25rem;
    font-weight: 500;
}

.fresh-sp-price ins {
    text-decoration: none;
}

/* Feature Grid */
.fresh-sp-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin: 0.75rem 0;
}

.fresh-sp-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.fresh-sp-feature-item i {
    font-size: 0.9rem;
    color: var(--primary-color, #004A99);
    margin-top: 0.15rem;
}

.fresh-sp-feature-item strong {
    display: block;
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.fresh-sp-feature-item span {
    font-size: 0.8rem;
    color: #333;
    font-weight: 600;
}

/* CTA Buttons - New Design */
.fresh-sp-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 1.5rem;
}

/* Primary Row - Buy Now + Add to Cart */
.fresh-sp-buttons-primary {
    display: flex;
    gap: 12px;
}

.fresh-sp-cart-form {
    display: flex;
    gap: 12px;
    width: 100%;
    align-items: stretch;
}

/* Quantity Selector */
.fresh-sp-quantity {
    flex: 0 0 80px;
}

.fresh-sp-quantity input[type="number"],
.fresh-sp-quantity .quantity input.qty {
    width: 100% !important;
    height: 54px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
}

.fresh-sp-quantity input[type="number"]:focus,
.fresh-sp-quantity .quantity input.qty:focus {
    border-color: var(--primary-color, #00a651) !important;
    outline: none !important;
}

/* Button Base Styles */
.fresh-sp-btn {
    flex: 1;
    height: 54px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 24px !important;
    white-space: nowrap !important;
}

.fresh-sp-btn i {
    font-size: 18px !important;
}

/* Buy Now - Primary Green */
.fresh-sp-btn.buy-now {
    background: linear-gradient(135deg, #00a651 0%, #008a44 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3) !important;
}

.fresh-sp-btn.buy-now:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 166, 81, 0.4) !important;
}

.fresh-sp-btn.buy-now:active:not(:disabled) {
    transform: translateY(0) !important;
}

.fresh-sp-btn.buy-now:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Add to Cart - Secondary Orange */
.fresh-sp-btn.add-to-cart {
    background: linear-gradient(135deg, #f7941d 0%, #e67e00 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3) !important;
}

.fresh-sp-btn.add-to-cart:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.4) !important;
}

.fresh-sp-btn.add-to-cart:active:not(:disabled) {
    transform: translateY(0) !important;
}

.fresh-sp-btn.add-to-cart:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Secondary Row */
.fresh-sp-buttons-secondary {
    display: flex;
    gap: 12px;
}

/* Outline Buttons */
.fresh-sp-btn.outline-primary {
    background: transparent !important;
    border: 2px solid #00a651 !important;
    color: #00a651 !important;
    box-shadow: none !important;
}

.fresh-sp-btn.outline-primary:hover {
    background: #00a651 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 166, 81, 0.2) !important;
}

.fresh-sp-btn.outline-secondary {
    background: transparent !important;
    border: 2px solid #666 !important;
    color: #666 !important;
    box-shadow: none !important;
}

.fresh-sp-btn.outline-secondary:hover {
    background: #666 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(102, 102, 102, 0.2) !important;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .fresh-sp-cart-form {
        flex-wrap: wrap;
    }

    .fresh-sp-quantity {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .fresh-sp-quantity input[type="number"],
    .fresh-sp-quantity .quantity input.qty {
        height: 48px !important;
    }

    .fresh-sp-btn.buy-now,
    .fresh-sp-btn.add-to-cart {
        flex: 1 1 calc(50% - 6px);
    }

    .fresh-sp-buttons-secondary {
        flex-direction: column;
    }

    .fresh-sp-btn {
        height: 48px !important;
        font-size: 14px !important;
    }

    .fresh-sp-btn i {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .fresh-sp-cart-form {
        flex-direction: column;
    }

    .fresh-sp-btn.buy-now,
    .fresh-sp-btn.add-to-cart {
        flex: 1 1 100%;
        width: 100%;
    }


    /* ===================================
   TECHNICAL SPECS - COMPACT VERSION (IN HERO)
   =================================== */
    .fresh-sp-specs-compact {
        margin-top: 2rem;
        padding: 1.5rem;
        background: #f8fafa;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
    }

    .fresh-sp-specs-title {
        font-size: 1rem;
        font-weight: 700;
        color: #111;
        margin: 0 0 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .fresh-sp-specs-title i {
        color: var(--primary-color, #004A99);
    }

    .fresh-sp-specs-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .fresh-spec-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 0;
        border-bottom: 1px solid #e8e8e8;
    }

    .fresh-spec-row:last-child {
        border-bottom: none;
    }

    .fresh-spec-row .spec-label {
        font-size: 0.85rem;
        color: #666;
        font-weight: 500;
    }

    .fresh-spec-row .spec-value {
        font-size: 0.85rem;
        color: #004A99;
        font-weight: 600;
        text-align: right;
    }

    /* ===================================
   DESCRIPTION TOGGLE SECTION
   =================================== */
    .fresh-sp-description-section {
        padding: 3rem 0;
        background: #fff;
    }

    .fresh-sp-description-content {
        max-height: 150px;
        overflow: hidden;
        transition: max-height 0.5s ease;
        position: relative;
        line-height: 1.8;
        color: #444;
    }

    .fresh-sp-description-content.expanded {
        max-height: 5000px;
    }

    .fresh-sp-description-content::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom, transparent, #fff);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .fresh-sp-description-content.expanded::after {
        opacity: 0;
    }

    .fresh-sp-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: 1.5rem auto 0;
        padding: 0.75rem 1.5rem;
        background: transparent;
        border: 2px solid var(--primary-color, #004A99);
        color: var(--primary-color, #004A99);
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .fresh-sp-toggle-btn:hover {
        background: var(--primary-color, #004A99);
        color: #fff;
    }

    .fresh-sp-toggle-btn .toggle-icon {
        transition: transform 0.3s ease;
        font-size: 0.85rem;
    }

    .fresh-sp-toggle-btn.expanded .toggle-icon {
        transform: rotate(180deg);
    }

    /* ===================================
   TECHNICAL CALCULATION BANNER
   =================================== */
    .fresh-sp-tech-banner {
        padding: 3rem 0;
        background: linear-gradient(135deg, #004A99 0%, #0066CC 100%);
    }

    .tech-banner-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }

    .tech-banner-text {
        flex: 1;
    }

    .tech-banner-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: #fff;
        margin: 0 0 0.75rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .tech-banner-subtitle {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
        margin: 0;
    }

    .tech-banner-btn {
        padding: 1rem 2rem;
        background: #E30613;
        color: #fff;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        white-space: nowrap;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
        display: inline-block;
    }

    .tech-banner-btn:hover {
        background: #C40511;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(227, 6, 19, 0.4);
        color: #fff;
    }

    /* Technical Specs Section */
    .fresh-sp-specs {
        padding: 2.5rem 0;
        background: #f8fafa;
    }

    .fresh-sp-section-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #111;
        margin: 0 0 1.25rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .fresh-sp-section-title i {
        color: var(--primary-color, #004A99);
        font-size: 1.1rem;
    }

    .fresh-sp-specs-table {
        background: #fff;
        border-radius: 2px;
        overflow: hidden;
        border: 1px solid #e8e8e8;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .fresh-sp-specs-table table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .fresh-sp-specs-table th {
        background: #f0f4f4 !important;
        padding: 1rem 1.5rem 1rem 2rem !important;
        text-align: left !important;
        font-weight: 700 !important;
        font-size: 0.8rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        color: #555 !important;
        border-bottom: 2px solid #e0e0e0 !important;
    }

    .fresh-sp-specs-table th:first-child {
        width: 45% !important;
        padding-left: 2rem !important;
    }

    .fresh-sp-specs-table th:last-child {
        width: 55% !important;
    }

    .fresh-sp-specs-table td {
        padding: 1rem 1.5rem 1rem 2rem !important;
        border-bottom: 1px solid #f0f0f0 !important;
        font-size: 0.9rem !important;
        vertical-align: middle !important;
    }

    .fresh-sp-specs-table td.spec-name {
        padding-left: 2rem !important;
    }

    .fresh-sp-specs-table tr:last-child td {
        border-bottom: none;
    }

    .fresh-sp-specs-table tr.odd {
        background: #fafafa;
    }

    .fresh-sp-specs-table tr.even {
        background: #fff;
    }

    .fresh-sp-specs-table .spec-name {
        color: #666;
        font-weight: 500;
    }

    .fresh-sp-specs-table .spec-value {
        font-weight: 600;
        color: #222;
    }

    /* Product Tabs */
    .fresh-sp-tabs {
        padding: 3rem 0;
        background: #fff;
    }

    .fresh-sp-tabs .woocommerce-tabs {
        margin: 0;
    }

    .fresh-sp-tabs .woocommerce-tabs ul.tabs {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem;
        display: flex;
        gap: 0.5rem;
        border-bottom: 2px solid #e0e0e0;
    }

    .fresh-sp-tabs .woocommerce-tabs ul.tabs li {
        margin: 0;
    }

    .fresh-sp-tabs .woocommerce-tabs ul.tabs li a {
        display: block;
        padding: 1rem 1.5rem;
        font-weight: 600;
        color: #666;
        text-decoration: none;
        border-bottom: 2px solid transparent;
        margin-bottom: -2px;
        transition: all 0.3s ease;
    }

    .fresh-sp-tabs .woocommerce-tabs ul.tabs li.active a,
    .fresh-sp-tabs .woocommerce-tabs ul.tabs li a:hover {
        color: var(--primary-color, #004A99);
        border-color: var(--primary-color, #004A99);
    }

    /* Related Products */
    .fresh-sp-related {
        padding: 3rem 0 4rem;
        background: #f5f8f8;
    }

    .fresh-sp-related-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .fresh-sp-section-subtitle {
        color: #666;
        margin: 0.25rem 0 0;
        font-size: 0.95rem;
    }

    .fresh-sp-view-all {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--primary-color, #004A99);
        font-weight: 600;
        text-decoration: none;
    }

    .fresh-sp-view-all:hover {
        text-decoration: underline;
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 992px) {
        .fresh-sp-hero-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .fresh-sp-gallery {
            position: static;
        }

        .fresh-sp-title {
            font-size: 1.75rem;
        }
    }

    @media (max-width: 768px) {
        .fresh-sp-hero {
            padding: 1.5rem 0;
        }

        .fresh-sp-features {
            grid-template-columns: 1fr;
        }

        .fresh-sp-buttons {
            flex-direction: column;
        }

        .fresh-sp-btn {
            width: 100%;
        }

        .fresh-sp-related-header {
            flex-direction: column;
            gap: 1rem;
        }

        .fresh-sp-specs-table th,
        .fresh-sp-specs-table td {
            padding: 0.75rem 1rem;
            font-size: 0.85rem;
        }

        .fresh-sp-thumbnails {
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
        }
    }

    @media (max-width: 480px) {
        .fresh-sp-title {
            font-size: 1.5rem;
        }

        .fresh-sp-price {
            font-size: 1.5rem;
        }

        .fresh-sp-section-title {
            font-size: 1.25rem;
        }
    }

    /* =========================================
   COMPREHENSIVE OVERRIDES - SPECS & TABS
   ========================================= */

    /* Specs Table - Ultra Strong Selectors */
    .fresh-single-product .fresh-sp-specs-table table,
    .fresh-single-product .fresh-sp-specs-table table thead,
    .fresh-single-product .fresh-sp-specs-table table tbody,
    .fresh-single-product .fresh-sp-specs-table table tr,
    .fresh-single-product .fresh-sp-specs-table table th,
    .fresh-single-product .fresh-sp-specs-table table td {
        border: none !important;
        border-collapse: collapse !important;
    }

    .fresh-single-product .fresh-sp-specs-table table thead tr th {
        background: #f0f4f4 !important;
        padding: 1rem 1.5rem 1rem 2rem !important;
        text-align: left !important;
        font-weight: 700 !important;
        font-size: 0.75rem !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        color: #555 !important;
        border: none !important;
        border-bottom: 2px solid #ddd !important;
    }

    .fresh-single-product .fresh-sp-specs-table table tbody tr td {
        padding: 1rem 1.5rem 1rem 2rem !important;
        font-size: 0.9rem !important;
        vertical-align: middle !important;
        border: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    .fresh-single-product .fresh-sp-specs-table table tbody tr td.spec-name {
        color: #666 !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.5px !important;
    }

    .fresh-single-product .fresh-sp-specs-table table tbody tr td.spec-value {
        font-weight: 600 !important;
        color: #004A99 !important;
    }

    /* Tabs - Pill Style Override */
    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.tabs,
    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.wc-tabs {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 0 2rem !important;
        display: flex !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        border: none !important;
        background: transparent !important;
    }

    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.tabs li,
    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.wc-tabs li {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.tabs li a,
    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.wc-tabs li a {
        display: block !important;
        padding: 12px 24px !important;
        font-weight: 700 !important;
        font-size: 13px !important;
        color: var(--text-primary, #1D1D1B) !important;
        text-decoration: none !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        border: 1px solid #ddd !important;
        border-radius: 2px !important;
        background: #f8f8f8 !important;
        transition: all 0.2s ease !important;
    }

    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.tabs li a:hover,
    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.wc-tabs li a:hover {
        background: #eee !important;
        border-color: var(--primary-color, #004A99) !important;
    }

    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.tabs li.active a,
    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs ul.wc-tabs li.active a {
        background: var(--primary-color, #004A99) !important;
        color: #fff !important;
        border-color: var(--primary-color, #004A99) !important;
    }

    /* Tab Panels */
    .fresh-single-product .fresh-sp-tabs .woocommerce-Tabs-panel {
        padding: 2rem !important;
        background: #fafafa !important;
        border-radius: 2px !important;
        border: 1px solid var(--divider-color, #E6E6E6) !important;
    }

    /* Shop Attributes in Tabs */
    .fresh-single-product .fresh-sp-tabs .shop_attributes {
        border: none !important;
        width: 100% !important;
    }

    .fresh-single-product .fresh-sp-tabs .shop_attributes tr th,
    .fresh-single-product .fresh-sp-tabs .shop_attributes tr td {
        padding: 0.85rem 1.5rem !important;
        border: none !important;
        border-bottom: 1px solid #eee !important;
        font-size: 0.9rem !important;
    }

    .fresh-single-product .fresh-sp-tabs .shop_attributes tr th {
        font-weight: 600 !important;
        color: #666 !important;
        text-transform: uppercase !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.5px !important;
        width: 35% !important;
        background: transparent !important;
    }

    .fresh-single-product .fresh-sp-tabs .shop_attributes tr td {
        font-weight: 600 !important;
        color: #004A99 !important;
    }

    .fresh-single-product .fresh-sp-tabs .shop_attributes tr td p {
        margin: 0 !important;
    }

    /* Remove tab panel border */
    .fresh-single-product .fresh-sp-tabs .nav-tabs+.tab-panels,
    .fresh-single-product .fresh-sp-tabs .woocommerce-tabs .tab-panels {
        background-color: #fff !important;
        border: none !important;
        padding: 0 !important;
    }

    /* Tab panel content alignment - match specs table */
    .fresh-single-product .fresh-sp-tabs .woocommerce-Tabs-panel {
        padding: 1.5rem 0 !important;
        background: #fff !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .fresh-single-product .fresh-sp-tabs .woocommerce-Tabs-panel h2 {
        padding-left: 0 !important;
        margin-bottom: 1rem !important;
    }

    /* =========================================
   RELATED PRODUCTS - Using Archive Classes
   ========================================= */
    .fresh-single-product .fresh-sp-related {
        padding: 3rem 0;
        background: #f5f8f8;
    }

    .fresh-single-product .fresh-sp-related .fresh-product-grid--related {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
        justify-content: flex-start;
    }

    /* When fewer than 4 products, left align */
    .fresh-single-product .fresh-sp-related .fresh-product-grid--related .fresh-product-card {
        max-width: none;
    }

    /* No products message */
    .fresh-no-products {
        text-align: center;
        color: #888;
        padding: 2rem;
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .fresh-single-product .fresh-sp-related .fresh-product-grid--related {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 768px) {
        .fresh-single-product .fresh-sp-related .fresh-product-grid--related {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
    }

    @media (max-width: 480px) {
        .fresh-single-product .fresh-sp-related .fresh-product-grid--related {
            grid-template-columns: 1fr;
        }
    }