    /* Powertech Catalog Styles */

* {
    box-sizing: border-box;
}

/* Desktop Layout: Filters on left, products on right */
.pt-catalog-wrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.pt-catalog-filters-container {
    flex: 0 0 250px;
    width: 250px;
    order: 1;
}

.pt-toggle-filters {
    display: none;
    width: 100%;
    padding: 12px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.pt-toggle-filters:hover {
    background: #0073aa;
}

.pt-catalog-filters {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.pt-catalog-filters h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.pt-filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.pt-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 15px;
    padding-bottom: 0;
}

.pt-filter-group h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.pt-filter-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.pt-filter-group select:hover,
.pt-filter-group select:focus {
    border-color: #0073aa;
    outline: none;
}

.pt-filter-group input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    transition: border-color 0.2s ease;
}

.pt-filter-group input[type="number"]:hover,
.pt-filter-group input[type="number"]:focus {
    border-color: #0073aa;
    outline: none;
}

.pt-filter-group small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.pt-catalog-filters .button {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pt-catalog-filters .button:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.pt-catalog-filters .button-primary {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.pt-catalog-filters .button-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

.pt-catalog-products {
    flex: 1;
    min-width: 0;
    order: 2;
}

.pt-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.pt-product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pt-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pt-product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pt-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pt-product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pt-product-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.pt-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #d32f2f;
    margin: 8px 0;
}

.pt-view-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
    margin-top: auto;
}

.pt-view-btn:hover {
    background: #0073aa;
    color: #fff;
}

.pt-catalog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.pt-catalog-pagination a,
.pt-catalog-pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
    font-size: 13px;
}

.pt-catalog-pagination a:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.pt-catalog-pagination .pt-page-current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
    font-weight: bold;
}

/* Tablet Screens (768px - 1024px) */
@media (max-width: 1024px) {
    .pt-catalog-wrapper {
        flex-direction: row;
        gap: 20px;
    }
    
    .pt-catalog-filters-container {
        flex: 0 0 200px;
        width: 200px;
    }
    
    .pt-catalog-filters {
        padding: 15px;
        top: 15px;
    }
    
    .pt-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Mobile Screens (max 768px) - Filters collapsible at top */
@media (max-width: 768px) {
    .pt-catalog-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .pt-catalog-filters-container {
        flex: 1 1 auto;
        width: 100%;
        order: -1;
    }
    
    .pt-toggle-filters {
        display: block;
    }
    
    .pt-catalog-filters {
        display: none;
        position: relative;
        top: auto;
        flex: 1 1 auto;
        max-height: none;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .pt-catalog-filters.active {
        display: block;
    }
    
    .pt-catalog-products {
        flex: 1 1 auto;
        order: 0;
    }
    
    .pt-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .pt-product-card {
        border-radius: 6px;
    }
    
    .pt-product-info {
        padding: 12px;
    }
    
    .pt-product-name {
        font-size: 13px;
        min-height: 32px;
    }
    
    .pt-product-price {
        font-size: 16px;
    }
    
    .pt-view-btn {
        padding: 8px;
        font-size: 12px;
    }
    
    .pt-catalog-pagination {
        padding: 0 5px;
    }
    
    .pt-catalog-pagination a,
    .pt-catalog-pagination span {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Small Mobile Screens (max 480px) */
@media (max-width: 480px) {
    .pt-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .pt-product-image {
        aspect-ratio: 1;
    }
    
    .pt-product-info {
        padding: 10px;
    }
    
    .pt-product-name {
        font-size: 12px;
        min-height: 28px;
    }
    
    .pt-product-price {
        font-size: 14px;
        margin: 6px 0;
    }
    
    .pt-view-btn {
        padding: 6px;
        font-size: 11px;
    }
    
    .pt-filter-group {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .pt-filter-group h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .pt-filter-group select,
    .pt-filter-group input[type="number"] {
        font-size: 12px;
        padding: 6px;
    }
    
    .pt-catalog-filters {
        padding: 12px;
    }
    
    .pt-toggle-filters {
        padding: 10px;
        font-size: 13px;
    }
}

/* Extra Small Screens (max 360px) */
@media (max-width: 360px) {
    .pt-catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .pt-product-name {
        font-size: 11px;
        min-height: 24px;
    }
    
    .pt-product-price {
        font-size: 13px;
    }
}

/* Warranty Card Styles */
.ptp-warranty-card {
    display: flex;
    gap: 16px;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.ptp-warranty-icon {
    font-size: 28px;
    flex-shrink: 0;
    padding-top: 2px;
}

.ptp-warranty-content {
    flex: 1;
}

.ptp-warranty-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
    text-transform: capitalize;
}

.ptp-warranty-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    transition: color 0.2s ease;
}

.ptp-warranty-card a.ptp-warranty-desc {
    color: #0073aa;
    text-decoration: underline;
}

.ptp-warranty-card a.ptp-warranty-desc:hover {
    color: #005a87;
}
