/**
 * ResMed AirSense product listing page (no filters, design matches products.blade.php)
 */
.resmed-airsense-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 20px 40px;
    min-height: 60vh;
}

.resmed-airsense-heading {
    font-size: 32px;
    font-weight: 800;
    color: #0a2b62;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.resmed-airsense-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.resmed-airsense-results-count {
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.resmed-airsense-results-count span {
    font-weight: 700;
    color: #0f172a;
}

.resmed-airsense-sort-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.resmed-airsense-sort-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.resmed-airsense-sort-select {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    min-width: 160px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.resmed-airsense-sort-select:hover {
    border-color: #cbd5e1;
}

.resmed-airsense-sort-select:focus {
    border-color: #0a2b62;
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 43, 98, 0.08);
}

.resmed-airsense-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.resmed-airsense-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.resmed-airsense-product-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
    transform: translateY(-4px);
}

.resmed-airsense-product-image {
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.resmed-airsense-product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.resmed-airsense-product-card:hover .resmed-airsense-product-image img {
    transform: scale(1.05);
}

.resmed-airsense-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e94132;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.02em;
}

.resmed-airsense-product-details {
    padding: 12px 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.resmed-airsense-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
    transition: color 0.15s ease;
}

.resmed-airsense-product-card:hover .resmed-airsense-product-title {
    color: #0a2b62;
}

.resmed-airsense-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #0a2b62;
    margin: 0;
}

.resmed-airsense-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.resmed-airsense-rating-stars {
    color: #fbbf24;
    font-size: 12px;
}

.resmed-airsense-rating-count {
    font-size: 12px;
    color: #64748b;
}

.resmed-airsense-product-action {
    margin-top: 6px;
}

.resmed-airsense-add-to-cart {
    background: #0a2b62;
    color: white;
    border: none;
    padding: 11px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.resmed-airsense-add-to-cart:hover {
    background: #1e3a8a;
}

.resmed-airsense-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

@media (max-width: 1280px) {
    .resmed-airsense-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .resmed-airsense-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resmed-airsense-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .resmed-airsense-heading {
        font-size: 26px;
    }

    .resmed-airsense-product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .resmed-airsense-product-image {
        height: 240px;
    }
}
