/* ============================================================
   LISTING PAGE – DARK THEME
   ============================================================ */

.aim-listing-page {
    padding: 40px 0;
    min-height: 100vh;
    background: var(--section-bg);
}

/* ============================================================
   SIDEBAR FILTERS
   ============================================================ */

.aim-filters {
    background: var(--aim-bg);
    border: 1px solid var(--aim-border);
    border-radius: var(--aim-radius-lg);
    padding: 24px;
    box-shadow: var(--aim-shadow);
    position: sticky;
    top: 20px;
}

.aim-filter-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aim-filter-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--aim-stroke2);
    transition: all 0.3s ease;
}

.aim-filter-section:last-of-type {
    border-bottom: 0;
}

.aim-filter-section.collapsed .aim-filter-options,
.aim-filter-section.collapsed .aim-price-range {
    overflow: hidden;
}

.aim-filter-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--aim-cyan-1);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding: 8px 0;
    transition: all 0.2s;
}

.aim-filter-label:hover {
    color: #1a1a1a;
}

.aim-filter-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: var(--aim-cyan-1);
}

.aim-filter-options,
.aim-price-range {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.aim-filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aim-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.aim-filter-check:hover {
    padding-left: 6px;
}

.aim-filter-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--aim-cyan-1);
    cursor: pointer;
}

.aim-filter-check label {
    color: var(--text-soft);
    font-size: 14px;
    cursor: pointer;
    margin: 0;
    user-select: none;
    flex: 1;
}

.aim-filter-count {
    color: var(--text-muted);
    font-size: 12px;
    margin-left: auto;
}

/* ============================================================
   PRICE RANGE
   ============================================================ */

.aim-price-range {
    padding: 10px 0;
}

.aim-price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.aim-price-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--aim-border);
    border-radius: 8px;
    padding: 0 10px;
    color: var(--text);
    font-size: 14px;
    text-align: center;
    font-weight: 600;
}

.aim-price-input:focus {
    outline: none;
    border-color: var(--aim-cyan-1);
    box-shadow: 0 0 0 0.2rem rgba(232, 197, 71, 0.15);
    background: rgba(0, 0, 0, 0.04);
}

/* ============================================================
   LISTING HEADER
   ============================================================ */

.aim-listing-header {
    background: var(--aim-bg);
    border: 1px solid var(--aim-border);
    border-radius: var(--aim-radius-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: var(--aim-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.aim-listing-count {
    font-size: 16px;
    color: var(--text-soft);
}

.aim-listing-count strong {
    color: var(--aim-cyan-1);
    font-weight: 900;
}

.aim-sort-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aim-sort-label {
    font-size: 14px;
    color: var(--text-soft);
    font-weight: 700;
}

.aim-sort-select {
    min-width: 200px;
    height: 38px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--aim-border);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.aim-sort-select:focus {
    outline: none;
    border-color: var(--aim-cyan-1);
    box-shadow: 0 0 0 0.2rem rgba(232, 197, 71, 0.15);
}

.aim-view-toggle {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.03);
    padding: 4px;
    border-radius: 8px;
}

.aim-view-btn {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--text-soft);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.aim-view-btn.active,
.aim-view-btn:hover {
    background: var(--aim-cyan-1);
    color: #000;
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */

.aim-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    width: 100%;
}

.aim-products-grid.aim-real-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 24px !important;
}

/* ============================================================
   FILTER BUTTONS
   ============================================================ */

.aim-clear-filters {
    width: 100%;
    height: 42px;
    background: linear-gradient(180deg, var(--aim-red) 0%, #b01010 100%);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.3px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 20px rgba(227, 27, 35, 0.3);
}

.aim-clear-filters:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(227, 27, 35, 0.4);
}

.aim-apply-filters {
    width: 100%;
    height: 42px;
    background: linear-gradient(180deg, var(--aim-cyan-1) 0%, var(--aim-cyan-2) 100%);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.3px;
    margin-top: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 20px rgba(232, 197, 71, 0.3);
}

.aim-apply-filters:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(232, 197, 71, 0.4);
}

/* ============================================================
   PAGINATION – DARK THEMED
   ============================================================ */

.aim-pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.aim-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.aim-page-item {
    margin: 0;
}

.aim-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    background: var(--aim-bg);
    border: 1px solid var(--aim-border);
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.aim-page-link:hover {
    background: rgba(232, 197, 71, 0.12);
    border-color: var(--aim-cyan-1);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 197, 71, 0.25);
}

.aim-page-item.active .aim-page-link {
    background: linear-gradient(180deg, var(--aim-cyan-1) 0%, var(--aim-cyan-2) 100%);
    border-color: var(--aim-cyan-1);
    color: #fff;
    box-shadow: 0 8px 20px rgba(232, 197, 71, 0.35);
}

.aim-page-item.disabled .aim-page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.aim-page-item.aim-dots .aim-page-link {
    background: transparent;
    border: 0;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

.aim-page-item.aim-dots .aim-page-link:hover {
    transform: none;
}

/* ============================================================
   MOBILE FILTERS
   ============================================================ */

.aim-mobile-filters-btn {
    display: none;
    width: 100%;
    height: 46px;
    background: linear-gradient(180deg, var(--aim-cyan-1) 0%, var(--aim-cyan-2) 100%);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(232, 197, 71, 0.3);
}

.aim-filters-close {
    display: none;
}

@media (max-width: 991px) {
    .aim-mobile-filters-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .aim-filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 90vw;
        height: 100vh;
        z-index: 1050;
        overflow-y: auto;
        transition: left 0.3s;
        border-radius: 0;
    }

    .aim-filters.show {
        left: 0;
    }

    .aim-filters-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1040;
    }

    .aim-filters-overlay.show {
        display: block;
    }

    .aim-filters-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        border: 0;
        background: rgba(0, 0, 0, 0.05);
        color: #1a1a1a;
        border-radius: 6px;
        display: grid;
        place-items: center;
        cursor: pointer;
        z-index: 10;
    }

    .aim-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }

    .aim-sort-controls {
        width: 100%;
    }

    .aim-sort-select {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .aim-products-grid {
        grid-template-columns: 1fr;
    }

    .aim-listing-header {
        padding: 16px;
    }

    .aim-pagination {
        gap: 4px;
    }

    .aim-page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* ============================================================
   CONTENT LOADED - SKELETON TO REAL CONTENT TRANSITION
   (ultima varianta pastrata)
   ============================================================ */

.aim-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.aim-page-loader::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, var(--aim-cyan-1, #E8C547), var(--aim-cyan-2, #D4A832));
    animation: page-loading 1s infinite ease-in-out;
}

@keyframes page-loading {
    0% {
        left: -30%;
    }

    100% {
        left: 100%;
    }
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.aim-skeleton-box {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 8px;
}

.aim-product-skeleton {
    background: var(--aim-bg, #f5f5f5);
    border: 1px solid var(--aim-border, rgba(0, 0, 0, 0.03));
    border-radius: var(--aim-radius-lg, 16px);
    overflow: hidden;
}

/* ULTIMA varianta: minmax(280px, 1fr) */
.aim-products-grid.aim-skeleton-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 24px;
}

.aim-skeleton-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.aim-skeleton-body {
    padding: 16px;
}

.aim-skeleton-price,
.aim-skeleton-title,
.aim-skeleton-title-short,
.aim-skeleton-stars,
.aim-skeleton-btn,
.aim-skeleton-filter {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.aim-skeleton-price {
    height: 28px;
    width: 100px;
    margin-bottom: 12px;
    border-radius: 6px;
}

.aim-skeleton-title {
    height: 18px;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 4px;
}

.aim-skeleton-title-short {
    height: 18px;
    width: 65%;
    margin-bottom: 16px;
    border-radius: 4px;
}

.aim-skeleton-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aim-skeleton-stars {
    height: 16px;
    width: 90px;
    border-radius: 4px;
}

.aim-skeleton-btn {
    height: 16px;
    width: 50px;
    border-radius: 4px;
}

.aim-skeleton-filter {
    height: 20px;
    margin-bottom: 12px;
    border-radius: 4px;
}

.aim-skeleton-filter:nth-child(1) {
    width: 85%;
}

.aim-skeleton-filter:nth-child(2) {
    width: 70%;
}

.aim-skeleton-filter:nth-child(3) {
    width: 90%;
}

.aim-skeleton-filter:nth-child(4) {
    width: 60%;
}

.aim-skeleton-filter:nth-child(5) {
    width: 75%;
}

/* Toggle visibility */
.aim-skeleton-container {
    display: block;
}

.aim-real-content {
    display: none !important;
}

.content-loaded .aim-skeleton-container {
    display: none !important;
}

.content-loaded aside.aim-filters.aim-real-content {
    display: block !important;
}

.content-loaded .aim-listing-header.aim-real-content {
    display: flex !important;
}

.content-loaded .aim-products-grid.aim-real-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 24px !important;
}

.content-loaded .aim-pagination-wrapper.aim-real-content {
    display: flex !important;
}

.content-loaded .aim-page-loader {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* ============================================================
   FIX PENTRU IMAGINI - aspect ratio consistent
   ============================================================ */

.aim-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.02);
}

.aim-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.aim-product:hover .aim-product-media img {
    transform: scale(1.05);
}

/* Loading bar în partea de sus */
.aim-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.aim-page-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, var(--aim-cyan-1, #E8C547), var(--aim-cyan-2, #D4A832));
    animation: page-loading 1s infinite ease-in-out;
}

@keyframes page-loading {
    0% {
        left: -30%;
    }

    100% {
        left: 100%;
    }
}

/* Animația skeleton */
@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.aim-skeleton-box {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 8px;
}

/* Skeleton untuk card produs */
.aim-product-skeleton {
    background: var(--aim-bg, #f5f5f5);
    border: 1px solid var(--aim-border, rgba(0, 0, 0, 0.03));
    border-radius: var(--aim-radius-lg, 16px);
    overflow: hidden;
}

/* Skeleton grid - same layout as products grid */
.aim-products-grid.aim-skeleton-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 24px;
}

.aim-skeleton-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.aim-skeleton-body {
    padding: 16px;
}

.aim-skeleton-price {
    height: 28px;
    width: 100px;
    margin-bottom: 12px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 6px;
}

.aim-skeleton-title {
    height: 18px;
    width: 100%;
    margin-bottom: 8px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

.aim-skeleton-title-short {
    height: 18px;
    width: 65%;
    margin-bottom: 16px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

.aim-skeleton-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aim-skeleton-stars {
    height: 16px;
    width: 90px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

.aim-skeleton-btn {
    height: 16px;
    width: 50px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

/* Skeleton pentru filtre */
.aim-skeleton-filter {
    height: 20px;
    margin-bottom: 12px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.04) 50%,
            rgba(0, 0, 0, 0.02) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

.aim-skeleton-filter:nth-child(1) {
    width: 85%;
}

.aim-skeleton-filter:nth-child(2) {
    width: 70%;
}

.aim-skeleton-filter:nth-child(3) {
    width: 90%;
}

.aim-skeleton-filter:nth-child(4) {
    width: 60%;
}

.aim-skeleton-filter:nth-child(5) {
    width: 75%;
}

/* Toggle visibility */
.aim-skeleton-container {
    display: block;
}

.aim-real-content {
    display: none !important;
}

.content-loaded .aim-skeleton-container {
    display: none !important;
}

.content-loaded .aim-real-content {
    display: flex !important;
}

.content-loaded .aim-products-grid.aim-real-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 24px !important;
}

.content-loaded .aim-page-loader {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* ============================================================
   FIX PENTRU IMAGINI - aspect ratio consistent
   ============================================================ */
.aim-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.02);
}

.aim-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.aim-product:hover .aim-product-media img {
    transform: scale(1.05);
}

.aim-listing-page {
    color-scheme: light;
}
/* Șterge sau ignoră vechile reguli .aim-sort-select */

.aim-custom-select {
    position: relative;
}

.aim-custom-select__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, .03);
    border: 1px solid var(--aim-border);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    min-width: 180px;
    justify-content: space-between;
    transition: border-color 0.2s;
}

.aim-custom-select__trigger:hover {
    border-color: var(--aim-primary, #E8C547);
}

.aim-custom-select__arrow {
    transition: transform 0.2s;
    font-size: 12px;
}

.aim-custom-select.open .aim-custom-select__arrow {
    transform: rotate(180deg);
}

.aim-custom-select__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--aim-bg, #f5f5f5); /* culoarea temei tale */
    border: 1px solid var(--aim-border);
    border-radius: 6px;
    list-style: none;
    padding: 4px 0;
    margin: 0;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.aim-custom-select.open .aim-custom-select__dropdown {
    display: block;
}

.aim-custom-select__option {
    padding: 8px 14px;
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s;
}

.aim-custom-select__option:hover {
    background: rgba(0, 0, 0, .04);
}

.aim-custom-select__option.active {
    color: var(--aim-primary, #E8C547);
    font-weight: 600;
}
/* ============================================================
   LIST VIEW – modul Listă
   ============================================================ */

/* Tranziție fluidă la schimbarea modului */
.aim-products-grid.aim-view-transitioning * {
    pointer-events: none;
}

/* Grid devine 1 coloană */
.aim-products-grid.aim-list-view,
.content-loaded .aim-products-grid.aim-real-content.aim-list-view {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

/* Card orizontal cu grid intern */
.aim-products-grid.aim-list-view .aim-product {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
    min-height: 170px;
}

/* Imaginea – stânga, fără aspect-ratio fix */
.aim-products-grid.aim-list-view .aim-product-media {
    width: 220px !important;
    aspect-ratio: unset !important;
    height: 100% !important;
    min-height: 170px;
    border-radius: var(--aim-radius-lg, 16px) 0 0 var(--aim-radius-lg, 16px) !important;
    overflow: hidden;
}

.aim-products-grid.aim-list-view .aim-product-media img {
    border-radius: 0 !important;
    height: 100% !important;
    object-fit: cover;
}

/* Conținut – dreapta */
.aim-products-grid.aim-list-view .aim-product-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 24px;
    gap: 8px;
}

/* Titlu mai mare în list view */
.aim-products-grid.aim-list-view .aim-product-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Prețul */
.aim-products-grid.aim-list-view .aim-price {
    margin-bottom: 0;
}

.aim-products-grid.aim-list-view .aim-new {
    font-size: 22px;
}

/* Butoane acțiuni card în list view */
.aim-products-grid.aim-list-view .aim-card-actions {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--aim-stroke2, rgba(255,255,255,0.06));
}

/* Meta (stele + buton) jos - legacy */
.aim-products-grid.aim-list-view .aim-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--aim-stroke2, rgba(255,255,255,0.06));
}

/* Butonul "Vezi" mai lat - legacy */
.aim-products-grid.aim-list-view .aim-open {
    padding: 6px 20px;
}

/* Badge stoc */
.aim-products-grid.aim-list-view .aim-low-stock,
.aim-products-grid.aim-list-view .aim-out-of-stock {
    margin-top: 4px;
}

/* ---- RESPONSIVE list view ---- */
@media (max-width: 768px) {
    .aim-products-grid.aim-list-view .aim-product {
        grid-template-columns: 130px 1fr;
        min-height: 130px;
    }

    .aim-products-grid.aim-list-view .aim-product-media {
        width: 130px !important;
        min-height: 130px;
    }

    .aim-products-grid.aim-list-view .aim-product-body {
        padding: 14px 16px;
    }

    .aim-products-grid.aim-list-view .aim-product-title {
        font-size: 14px;
    }

    .aim-products-grid.aim-list-view .aim-new {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .aim-products-grid.aim-list-view .aim-product {
        grid-template-columns: 100px 1fr;
        min-height: 110px;
    }

    .aim-products-grid.aim-list-view .aim-product-media {
        width: 100px !important;
        min-height: 110px;
    }
}

/* ============================================================
   SKELETON – modul Listă
   ============================================================ */

.aim-products-grid.aim-skeleton-container.aim-list-view {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

.aim-products-grid.aim-skeleton-container.aim-list-view .aim-product-skeleton {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 170px;
}

.aim-products-grid.aim-skeleton-container.aim-list-view .aim-skeleton-image {
    width: 220px;
    aspect-ratio: unset !important;
    height: 100%;
    min-height: 170px;
    border-radius: var(--aim-radius-lg, 16px) 0 0 var(--aim-radius-lg, 16px);
}

.aim-products-grid.aim-skeleton-container.aim-list-view .aim-skeleton-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.aim-products-grid.aim-skeleton-container.aim-list-view .aim-skeleton-price {
    width: 130px;
    height: 28px;
}

.aim-products-grid.aim-skeleton-container.aim-list-view .aim-skeleton-title {
    width: 90%;
}

.aim-products-grid.aim-skeleton-container.aim-list-view .aim-skeleton-title-short {
    width: 60%;
}

@media (max-width: 768px) {
    .aim-products-grid.aim-skeleton-container.aim-list-view .aim-product-skeleton {
        grid-template-columns: 130px 1fr;
        min-height: 130px;
    }

    .aim-products-grid.aim-skeleton-container.aim-list-view .aim-skeleton-image {
        width: 130px;
        min-height: 130px;
    }
}

@media (max-width: 480px) {
    .aim-products-grid.aim-skeleton-container.aim-list-view .aim-product-skeleton {
        grid-template-columns: 100px 1fr;
        min-height: 110px;
    }

    .aim-products-grid.aim-skeleton-container.aim-list-view .aim-skeleton-image {
        width: 100px;
        min-height: 110px;
    }
}