.ts-single-product-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.ts-single-product-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.ts-single-product-main-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.ts-single-product-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-single-product-image-section .ts-single-product-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.ts-product-placeholder {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}

.ts-single-product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ts-single-product-purchase-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ts-warranty-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 6px;
}

.ts-warranty-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #bb0100;
    font-weight: 600;
}

.ts-warranty-text {
    color: #333;
    font-size: 14px;
}

.ts-energy-label-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #28a745;
    font-weight: 500;
}

.ts-single-product-price {
    font-size: 18px;
}

.ts-price-label {
    color: #666;
    margin-left: 10px;
}

.ts-price-value {
    color: #333;
    font-weight: 600;
    font-size: 20px;
}

.ts-single-product-add-to-cart .quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.ts-single-product-add-to-cart .quantity input[type="number"] {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 100px;
    text-align: center;
}

.ts-single-product-add-to-cart {
}

.ts-single-product-add-to-cart .single_add_to_cart_button,
.ts-single-product-add-to-cart .ts-add-to-cart-btn {
    width: 100%;
    padding: 15px 30px;
    background: #bb0100;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ts-single-product-add-to-cart .single_add_to_cart_button:hover,
.ts-single-product-add-to-cart .ts-add-to-cart-btn:hover {
    background: #990000;
}

.ts-single-product-add-to-cart .ts-out-of-stock-btn {
    background: #BDC1C3 !important;
    color: #666 !important;
    cursor: not-allowed;
}

.ts-single-product-brand {
    text-align: center;
}

.ts-single-brand-logo {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
}

.ts-single-brand-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.ts-single-product-title {
}

.ts-single-product-title h1 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.ts-single-product-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.ts-single-product-specs .ts-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.ts-single-product-specs .ts-spec-label {
    color: #666;
    font-weight: 500;
}

.ts-single-product-specs .ts-spec-value {
    color: #333;
    font-weight: 600;
}

.ts-similar-products-section {
    margin-bottom: 40px;
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
}

.ts-similar-products-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: right;
}

.ts-similar-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.ts-similar-products-grid .product {
    margin: 0;
}

.ts-similar-products-grid .ts-product-card {
    height: 100%;
}

.ts-product-details-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-top: 3px solid #bb0100;
}

.ts-product-details-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.ts-tab-btn {
    flex: 1;
    padding: 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.ts-tab-btn:hover {
    background: #f5f5f5;
    color: #bb0100;
}

.ts-tab-btn.active {
    color: #bb0100;
    border-bottom-color: #bb0100;
    background: #fff;
}

.ts-tab-btn svg {
    width: 20px;
    height: 20px;
}

.ts-product-details-content {
    padding: 30px;
}

.ts-tab-content {
    display: none;
}

.ts-tab-content.active {
    display: block;
}

.ts-product-details-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.ts-product-details-text {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.ts-product-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.ts-product-features li {
    padding: 12px 0;
    padding-right: 25px;
    position: relative;
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.ts-product-features li::before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    right: 0;
    top: 12px;
    font-weight: 600;
    color: #bb0100;
}

.ts-product-features {
    counter-reset: list-item;
}

.ts-energy-label-content,
.ts-reviews-content {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

@media (max-width: 1024px) {
    .ts-single-product-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ts-single-product-main-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ts-similar-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ts-single-product-wrapper {
        padding: 15px;
    }

    .ts-single-product-main-section,
    .ts-single-product-purchase-section {
        padding: 20px;
    }

    .ts-product-details-tabs {
        flex-direction: column;
    }

    .ts-tab-btn {
        border-bottom: 1px solid #eee;
        border-left: 3px solid transparent;
    }

    .ts-tab-btn.active {
        border-left-color: #bb0100;
        border-bottom-color: #eee;
    }

    .ts-similar-products-grid {
        grid-template-columns: 1fr;
    }
}

