.tssp-9bef13f5-wrapper {
    direction: rtl;
    text-align: right;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.tssp-9bef13f5-header {
    text-align: center;
    margin-bottom: 40px;
}

.tssp-9bef13f5-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.6;
}

.tssp-9bef13f5-main-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.4;
}

.tssp-9bef13f5-section-desc {
    font-size: 16px;
    margin: 0 0 20px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tssp-9bef13f5-divider {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    margin: 0 auto;
}

/* Grid */
.tssp-9bef13f5-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.tssp-9bef13f5-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

.tssp-9bef13f5-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.tssp-9bef13f5-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tssp-9bef13f5-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Card Header */
.tssp-9bef13f5-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 0;
    gap: 8px;
    flex-wrap: wrap;
}

.tssp-9bef13f5-urgency {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.5;
}

.tssp-urgency-backorder {
    background-color: #fff3cd;
    color: #856404;
}

.tssp-9bef13f5-discount-badge {
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.5;
}

/* Card Image */
.tssp-9bef13f5-card-image {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.tssp-9bef13f5-card-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

/* Card Body */
.tssp-9bef13f5-card-body {
    padding: 0 16px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tssp-9bef13f5-product-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating */
.tssp-9bef13f5-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tssp-9bef13f5-stars {
    display: flex;
    gap: 1px;
    direction: ltr;
}

.tssp-star {
    font-size: 14px;
    line-height: 1;
}

.tssp-star-full {
    color: #ffc107;
}

.tssp-star-half {
    color: #ffc107;
    opacity: 0.6;
}

.tssp-star-empty {
    color: #dee2e6;
}

.tssp-9bef13f5-rating-count {
    font-size: 12px;
    color: #6c757d;
}

/* Short Description */
.tssp-9bef13f5-short-desc {
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Stock Bar */
.tssp-9bef13f5-stock-bar-wrap {
    margin-bottom: 12px;
}

.tssp-9bef13f5-booked-text {
    font-size: 11px;
    color: #dc3545;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.tssp-9bef13f5-stock-bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.tssp-9bef13f5-stock-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Purchase Progress */
.tssp-9bef13f5-purchase-progress {
    margin-top: 12px;
    margin-bottom: 12px;
}

.tssp-9bef13f5-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.tssp-9bef13f5-progress-label {
    font-size: 12px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1.5;
}

.tssp-9bef13f5-progress-pct {
    font-size: 12px;
    font-weight: 800;
    color: #e74c3c;
    direction: ltr;
    line-height: 1.5;
}

.tssp-9bef13f5-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #fde8e8;
    border-radius: 4px;
    overflow: hidden;
}

.tssp-9bef13f5-progress-bar-fill {
    height: 100%;
    background-color: #e74c3c;
    border-radius: 4px;
    transition: width 0.8s ease;
}

/* Pricing */
.tssp-9bef13f5-price-wrap {
    margin-top: auto;
}

.tssp-9bef13f5-regular-price {
    font-size: 13px;
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}

.tssp-9bef13f5-saving {
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.tssp-9bef13f5-sale-price {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
}

.tssp-9bef13f5-currency {
    font-size: 16px;
    font-weight: 600;
}

/* Card Footer */
.tssp-9bef13f5-card-footer {
    padding: 12px 16px 16px;
}

.tssp-9bef13f5-add-to-cart {
    width: 100%;
    padding: 12px 16px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.15s ease;
    line-height: 1.5;
    font-family: inherit;
}

.tssp-9bef13f5-add-to-cart:hover {
    transform: scale(1.02);
}

.tssp-9bef13f5-add-to-cart:active {
    transform: scale(0.98);
}

.tssp-9bef13f5-add-to-cart.tssp-loading {
    opacity: 0.7;
    pointer-events: none;
}

.tssp-9bef13f5-atc-icon {
    font-size: 18px;
    line-height: 1;
}

/* Pagination */
.tssp-9bef13f5-pagination {
    text-align: center;
    margin-top: 32px;
}

.tssp-9bef13f5-load-more {
    padding: 14px 48px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: inherit;
    line-height: 1.5;
}

.tssp-9bef13f5-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tssp-9bef13f5-load-more.tssp-loading {
    opacity: 0.6;
    pointer-events: none;
}

.tssp-9bef13f5-load-more.tssp-hidden {
    display: none;
}

/* No Products */
.tssp-9bef13f5-no-products {
    text-align: center;
    grid-column: 1 / -1;
    padding: 60px 20px;
    font-size: 18px;
    color: #6c757d;
}

/* Tablet */
@media (max-width: 1199px) {
    .tssp-9bef13f5-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tssp-9bef13f5-main-title {
        font-size: 28px;
    }

    .tssp-9bef13f5-sale-price {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .tssp-9bef13f5-wrapper {
        padding: 24px 12px;
    }

    .tssp-9bef13f5-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tssp-9bef13f5-main-title {
        font-size: 22px;
    }

    .tssp-9bef13f5-section-desc {
        font-size: 14px;
    }

    .tssp-9bef13f5-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .tssp-9bef13f5-card-image {
        min-height: 120px;
        padding: 10px;
    }

    .tssp-9bef13f5-card-image img {
        max-height: 140px;
    }

    .tssp-9bef13f5-product-title {
        font-size: 13px;
    }

    .tssp-9bef13f5-short-desc {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }

    .tssp-9bef13f5-sale-price {
        font-size: 20px;
    }

    .tssp-9bef13f5-currency {
        font-size: 13px;
    }

    .tssp-9bef13f5-add-to-cart {
        font-size: 12px;
        padding: 10px 8px;
    }

    .tssp-9bef13f5-card-body {
        padding: 0 10px 10px;
    }

    .tssp-9bef13f5-card-footer {
        padding: 8px 10px 12px;
    }

    .tssp-9bef13f5-card-header {
        padding: 8px 10px 0;
    }

    .tssp-9bef13f5-urgency {
        font-size: 9px;
        padding: 3px 6px;
    }

    .tssp-9bef13f5-discount-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .tssp-9bef13f5-rating-count {
        font-size: 10px;
    }

    .tssp-9bef13f5-stars {
        gap: 0;
    }

    .tssp-star {
        font-size: 11px;
    }

    .tssp-9bef13f5-regular-price {
        font-size: 11px;
    }

    .tssp-9bef13f5-saving {
        font-size: 11px;
    }

    .tssp-9bef13f5-load-more {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .tssp-9bef13f5-booked-text {
        font-size: 10px;
    }

    .tssp-9bef13f5-progress-label {
        font-size: 10px;
    }

    .tssp-9bef13f5-progress-pct {
        font-size: 10px;
    }

    .tssp-9bef13f5-progress-bar {
        height: 6px;
    }

    .tssp-9bef13f5-progress-bar-fill {
        height: 6px;
    }
}

@media (max-width: 400px) {
    .tssp-9bef13f5-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .tssp-9bef13f5-card-image {
        min-height: 100px;
    }

    .tssp-9bef13f5-card-image img {
        max-height: 110px;
    }
}
