/**
 * Product Search Page - Modern E-commerce Style
 * Inspirado em Amazon, Mercado Livre, Magazine Luiza
 * Bootstrap 5 + Custom Styles
 */

:root {
    --brand-green: #70bb52;
    --brand-green-dark: #5da940;
    --brand-green-darker: #4a8833;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-light: #e0e0e0;
    --text-dark: #333333;
    --text-muted: #666666;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
}

/* Reset and Base */
.product-search-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
}

.navbar-main {
    margin-top: 60px;
}

/* ==========================================
   COMPACT SEARCH BAR (like Amazon)
   ========================================== */
.search-bar-compact {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    margin-top: 0;
    position: relative;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.search-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.compact-search-form {
    max-width: 900px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 2px solid var(--brand-green);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.search-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(112, 187, 82, 0.2);
}

.search-input-group i {
    padding: 0 0 0 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-input-compact {
    flex: 1;
    border: none;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    outline: none;
}

.btn-search-compact {
    background: var(--brand-green);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search-compact:hover {
    background: var(--brand-green-dark);
}

/* ==========================================
   BREADCRUMBS
   ========================================== */
.breadcrumbs-section {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
}

.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--brand-green);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-dark);
}

/* ==========================================
   MAIN CONTENT LAYOUT
   ========================================== */
.main-content-section {
    padding: 1.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================
   SIDEBAR FILTERS (like Mercado Livre)
   ========================================== */
.filters-sidebar {
    padding-right: 1.5rem;
}

.sidebar-sticky {
    position: sticky;
    top: 80px;
}

.mobile-filter-toggle {
    width: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
}

.mobile-filter-toggle:hover {
    background: var(--bg-light);
}

.active-filters-count {
    background: var(--brand-green);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.filters-panel-sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.25rem;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.filters-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear-all {
    background: transparent;
    border: none;
    color: var(--brand-green);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-clear-all:hover {
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

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

.filter-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.filter-title i {
    color: var(--brand-green);
    font-size: 1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9375rem;
    padding: 0.375rem 0;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--brand-green);
}

.filter-option:hover {
    color: var(--brand-green);
}

.filter-option span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.filter-option .bi-star-fill {
    color: #ffa500;
    font-size: 0.875rem;
}

.filter-option .bi-star {
    color: #ccc;
    font-size: 0.875rem;
}

.filter-select-sidebar {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-select-sidebar:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(112, 187, 82, 0.15);
}

.btn-apply-filters-mobile {
    width: 100%;
    background: var(--brand-green);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-apply-filters-mobile:hover {
    background: var(--brand-green-dark);
}

/* ==========================================
   PRODUCTS MAIN AREA
   ========================================== */
.products-main {
    padding-left: 1.5rem;
}

.results-bar {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px 8px 0 0;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1px;
}

.results-info .results-count {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.results-sort label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.sort-select-modern {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    background: var(--bg-white);
    transition: border-color 0.2s;
}

.sort-select-modern:focus {
    outline: none;
    border-color: var(--brand-green);
}

/* Active Filter Tags */
.active-filters-tags {
    background: var(--bg-white);
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag .remove-filter {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.filter-tag .remove-filter:hover {
    color: var(--text-dark);
}

/* ==========================================
   PRODUCTS GRID (like Magazine Luiza)
   ========================================== */
.products-grid {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 400px;
}

.product-card-modern {
    /* Cards desabilitados - usando lista agora */
    display: none;
}

.product-card-modern:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-green);
    transform: translateY(-2px);
}

.product-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2.5rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--brand-green);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
}

.product-badge.kit {
    background: #ff9500;
}

.product-badge.free {
    background: #34c759;
}

.product-title-modern {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.product-meta-modern {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.meta-tag {
    background: var(--bg-light);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.product-rating-modern {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.stars-modern {
    display: flex;
    gap: 0.125rem;
    color: #ffa500;
}

.rating-count-modern {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.product-price-modern {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

.price-free-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: #34c759;
}

.price-current-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-original-modern {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-actions-modern {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-add-cart-modern,
.btn-view-modern {
    flex: 1;
    padding: 0.625rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    text-decoration: none;
}

.btn-add-cart-modern {
    background: var(--brand-green);
    color: white;
}

.btn-add-cart-modern:hover {
    background: var(--brand-green-dark);
    color: white;
}

.btn-view-modern {
    background: transparent;
    color: var(--brand-green);
    border: 1px solid var(--brand-green);
}

.btn-view-modern:hover {
    background: var(--brand-green);
    color: white;
}

.btn-favorite-modern {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    z-index: 1;
}

.btn-favorite-modern:hover {
    background: #fff5f5;
    transform: scale(1.1);
}

.btn-favorite-modern i {
    color: #dc3545;
    font-size: 1.125rem;
}

/* ==========================================
   LOADING & EMPTY STATES
   ========================================== */
.loading-state-modern {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.loading-state-modern .spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.no-results-modern {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-modern .no-results-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.no-results-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-results-modern .suggestions {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 500px;
    text-align: left;
}

/* ==========================================
   PAGINATION (like Amazon)
   ========================================== */
.pagination-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-item {
    display: block;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination .page-link:hover {
    background: var(--bg-light) !important;
    border-color: #203A24 !important;
    color: #203A24 !important;
}

.pagination .page-item.active .page-link {
    background: #203A24 !important;
    background-color: #203A24 !important;
    border-color: #203A24 !important;
    color: white !important;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 991px) {
    .main-content-section {
        padding: 1rem 0;
    }

    .filters-sidebar {
        padding-right: 0;
    }

    .products-main {
        padding-left: 0;
        padding-right: 0;
        margin-top: 1rem;
    }

    .filters-panel-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        overflow-y: auto;
        border-radius: 0;
    }

    .filters-panel-sidebar.show {
        display: block;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        padding: 0;
    }
}

@media (max-width: 767px) {
    .main-content-section {
        padding: 0.75rem 0;
    }

    .search-bar-compact {
        padding: 0.75rem 0;
    }

    .btn-search-compact {
        padding: 0.875rem 1.25rem;
    }

    .results-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.875rem 1rem;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .results-sort {
        width: 100%;
        justify-content: space-between;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0;
    }

    .product-card-modern {
        padding: 0.75rem;
    }

    .product-title-modern {
        font-size: 0.875rem;
    }

    .price-current-modern {
        font-size: 1.25rem;
    }

    .product-actions-modern {
        flex-direction: column;
    }

    .navbar-main {
        margin-top: 130px;
    }
}

@media (max-width: 575px) {
    .main-content-section {
        padding: 0.5rem 0;
    }

    .breadcrumb {
        font-size: 0.75rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .search-input-compact {
        font-size: 0.9375rem;
    }

    .product-image-placeholder {
        font-size: 2rem;
    }

    .results-bar {
        padding: 0.75rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .products-grid {
        padding: 0;
    }
}

/* ==========================================
   UTILITIES
   ========================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   LIST VIEW STYLES (Amazon-style)
   ========================================== */
.product-list-item {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s;
    position: relative;
}

.product-list-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-green);
}

/* Image Section */
.product-list-image {
    flex-shrink: 0;
    width: 130px;
    position: relative;
}

.product-list-image .product-image-placeholder {
    width: 100%;
    height: 130px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.product-list-image .product-image-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
}

.product-list-image .product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--brand-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-list-image .product-badge.kit {
    background: #2196F3;
}

.product-list-image .product-badge.free {
    background: #FF9800;
}

/* Content Section */
.product-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.product-list-header .btn-favorite-modern {
    position: relative;
    top: auto;
    right: auto;
    flex-shrink: 0;
}

.product-list-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.product-list-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.product-list-title a:hover {
    color: var(--brand-green);
}

.product-list-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-list-rating .stars-modern {
    display: flex;
    gap: 0.125rem;
}

.product-list-rating .rating-count-modern {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.product-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-list-meta .meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.product-list-meta .meta-tag i {
    font-size: 0.875rem;
}

.product-list-description {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar Section */
.product-list-sidebar {
    flex-shrink: 0;
    width: 245px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-light);
}

.product-list-price {
    text-align: right;
}

.product-list-price .price-current-modern {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-green);
}

.product-list-price .price-free-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF9800;
}

.product-list-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-view-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #203A24;
    border: 2px solid #203A24;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-view-list:hover {
    background: var(--brand-green);
    border: 2px solid var(--brand-green);
    color: white;
}

.btn-add-cart-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #203A24;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-add-cart-list:hover {
    background: var(--brand-green-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-add-cart-list:active {
    transform: translateY(0);
}

.btn-add-cart-list:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive List View */
@media (max-width: 991px) {
    .product-list-item {
        flex-direction: column;
        padding: 1rem;
    }

    .product-list-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .product-list-image .product-image-placeholder {
        height: 200px;
    }

    .product-list-sidebar {
        width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding-top: 1rem;
        margin-top: 0.5rem;
    }

    .product-list-actions {
        flex-direction: row;
        gap: 0.5rem;
    }

    .btn-view-list,
    .btn-add-cart-list {
        flex: 1;
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }

    .product-list-title {
        font-size: 1.125rem;
    }

    .product-list-meta .meta-tag {
        font-size: 0.8125rem;
        padding: 0.25rem 0.625rem;
    }

    .product-list-description {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 575px) {
    .product-list-item {
        padding: 0.875rem;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .product-list-image {
        width: 100%;
        max-width: 150px;
    }

    .product-list-image .product-image-placeholder {
        height: 150px;
    }

    .product-list-image .product-badge {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.5rem;
    }

    .product-list-content {
        gap: 0.5rem;
    }

    .product-list-header {
        gap: 0.5rem;
    }

    .product-list-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .product-list-header .btn-favorite-modern {
        width: 32px;
        height: 32px;
    }

    .product-list-header .btn-favorite-modern i {
        font-size: 1rem;
    }

    .product-list-rating {
        font-size: 0.8125rem;
    }

    .product-list-rating .stars-modern i {
        font-size: 0.875rem;
    }

    .product-list-meta .meta-tag {
        font-size: 0.75rem;
        padding: 0.1875rem 0.5rem;
    }

    .product-list-meta .meta-tag i {
        font-size: 0.75rem;
    }

    .product-list-description {
        font-size: 0.8125rem;
        line-height: 1.5;
        -webkit-line-clamp: 2;
    }

    .product-list-sidebar {
        padding-top: 0.75rem;
        margin-top: 0.25rem;
    }

    .product-list-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-view-list,
    .btn-add-cart-list {
        width: 100%;
        font-size: 0.8125rem;
        padding: 0.625rem 1rem;
    }

    .btn-view-list i,
    .btn-add-cart-list i {
        font-size: 0.875rem;
    }
}
