/* public\sales\assets\css\products.css */

/* ----- products page styles (uses :root variables from header) ----- */
.products-page {
    padding: 2rem 1.5rem 3rem;
    max-width: 1440px;
    margin: 60px auto 0;
    background: var(--gray-50);
    min-height: 100vh;
}

.products-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
}

/* --- Mobile Filter Toggle --- */
.mobile-filter-toggle {
    display: none;
    margin-bottom: 1rem;
    width: 100%;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.filter-toggle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-toggle-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.filter-count-mobile {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.65rem;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    margin-left: auto;
    display: none;
}

.filter-count-mobile[style*="display: inline"] {
    display: inline !important;
}

/* --- sidebar --- */
.sidebar-wrapper {
    flex: 0 0 280px;
    align-self: flex-start;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-wrapper.is-sticky {
    position: fixed;
    top: 100px;
    z-index: 100;
}

.sidebar-wrapper.is-bottom {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    visibility: visible;
}

.sidebar-spacer {
    display: none;
    flex: 0 0 280px;
}

.sidebar-spacer.is-visible {
    display: block;
}

.sidebar {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    height: fit-content;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    transition: all 0.3s ease;
    width: 100%;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

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

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-title svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.filter-count {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.65rem;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    margin-left: auto;
    display: none;
}

.filter-count[style*="display: inline"] {
    display: inline !important;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--gray-500);
}

.sidebar-toggle:hover {
    color: var(--gray-700);
}

.sidebar-toggle svg {
    width: 20px;
    height: 20px;
}

.search-box {
    margin-bottom: 1.75rem;
}

.search-box .search-wrapper {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.7rem 2.5rem 0.7rem 2.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.9rem;
    background: var(--gray-50);
    transition: var(--transition);
    color: var(--gray-800);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.search-box .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--gray-400);
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--gray-400);
    display: none;
}

.search-clear.visible {
    display: block;
}

.search-clear:hover {
    color: var(--gray-700);
}

.search-clear svg {
    width: 18px;
    height: 18px;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group .filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-group .filter-label svg {
    width: 16px;
    height: 16px;
    stroke: var(--gray-500);
    flex-shrink: 0;
}

/* Checkbox styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.checkbox-label:hover {
    background: var(--gray-50);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-label .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input:checked + .checkmark::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
}

.checkbox-label .label-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.checkbox-label .badge {
    margin-left: auto;
    padding: 0.1rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--gray-100);
    color: var(--gray-600);
}

.checkbox-label .badge.free-badge {
    background: #dcfce7;
    color: #166534;
}

.checkbox-label .badge.paid-badge {
    background: #dbeafe;
    color: #1e40af;
}

.checkbox-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-label.disabled:hover {
    background: transparent;
}

.price-slider {
    margin-top: 0.5rem;
}

.price-slider input[type="range"] {
    width: 100%;
    accent-color: var(--primary-color);
    background: var(--gray-200);
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.price-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.price-slider .price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 0.3rem;
    font-weight: 500;
}

.price-slider .price-range-values span:last-child {
    color: var(--primary-color);
}

.sort-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    background: var(--white);
    font-size: 0.9rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.sidebar-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-100);
}

.clear-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gray-100);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.clear-filters svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.clear-filters:hover {
    background: var(--gray-200);
    color: var(--gray-900);
    transform: translateY(-1px);
}

/* --- product grid --- */
.product-grid {
    flex: 1;
    min-width: 0;
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.grid-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.grid-header .result-count {
    background: var(--gray-200);
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.grid-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-toggle {
    display: flex;
    gap: 0.25rem;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: 8px;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.6rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.view-btn:hover {
    color: var(--gray-700);
    background: var(--gray-200);
}

.view-btn.active {
    background: var(--white);
    color: var(--gray-800);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gray-700);
    animation: fadeIn 0.2s ease;
}

.filter-tag .remove-tag {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--gray-400);
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.filter-tag .remove-tag:hover {
    color: var(--gray-700);
}

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* List view */
.products-list.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.products-list.list-view .product-card {
    flex-direction: row;
    max-height: 200px;
}

.products-list.list-view .product-card .card-image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.products-list.list-view .product-card .card-body {
    flex: 1;
}

.products-list.list-view .product-card .card-body .desc {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-card:active {
    transform: scale(0.98);
}

.product-card .card-image {
    width: 100%;
    height: 160px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card .card-image .product-emoji {
    font-size: 3.5rem;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.product-card:hover .card-image .product-emoji {
    transform: scale(1.1);
}

.product-card .card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--gray-800);
    color: var(--white);
    z-index: 2;
}

.product-card .card-badge.free {
    background: var(--success-color);
    color: var(--white);
}

.product-card .card-badge.paid {
    background: var(--primary-color);
    color: var(--white);
}

.product-card .card-body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.product-card:hover .card-body h4 {
    color: var(--primary-color);
}

.product-card .card-body .desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    flex: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ratings */
.product-card .rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.product-card .rating .stars {
    display: flex;
    gap: 0.1rem;
}

.product-card .rating .stars svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
    stroke: #f59e0b;
    flex-shrink: 0;
}

.product-card .rating .stars svg.empty {
    fill: var(--gray-200);
    stroke: var(--gray-200);
}

.product-card .rating .rating-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
}

.product-card .rating .review-count {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.product-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
    gap: 0.5rem;
}

.product-card .price-tag {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gray-900);
    white-space: nowrap;
}

.product-card .price-tag .free-label {
    color: var(--success-color);
    font-weight: 600;
}

.product-card .price-tag .original-price {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: 0.25rem;
}

.product-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 0.45rem 1.2rem;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.product-card .btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.product-card .btn:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.product-card .btn:active {
    transform: scale(0.95);
}

.product-card .btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.product-card .btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 2px dashed var(--gray-200);
}

.no-products svg {
    width: 48px;
    height: 48px;
    stroke: var(--gray-400);
    margin-bottom: 0.75rem;
}

.no-products p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Loading State - fallback */
.loading-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
    gap: 1rem;
}

.loading-state .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Load More Button - hidden */
.load-more-wrapper {
    display: none;
}

/* Sidebar Backdrop */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-backdrop.active {
    display: block;
    opacity: 1;
}

/* responsive */
@media (max-width: 992px) {
        .products-layout {
        display: block !important;
        padding: 0 !important;
    }
    
    .product-grid {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .products-page {
        margin-top: 70px;
        padding: 1rem;
    }

    .mobile-filter-toggle {
        display: block;
    }

    .sidebar-wrapper {
        flex: 0 0 0;
        position: static !important;
        top: 0 !important;
        left: 0 !important;
        width: auto !important;
        margin-bottom: 0;
    }

    .sidebar-wrapper.is-sticky,
    .sidebar-wrapper.is-bottom {
        position: static !important;
        top: 0 !important;
        bottom: auto !important;
    }

    .sidebar-spacer.is-visible {
        display: none !important;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        z-index: 1009;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding-top: 1rem;
        border: none;
        box-shadow: var(--shadow-lg);
    }

    .sidebar.open {
        left: 0;
    }

    .sidebar-backdrop {
        display: block;
        pointer-events: none;
    }

    .sidebar-backdrop.active {
        pointer-events: all;
    }

    .sidebar-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .products-page {
        padding: 0.75rem;
        margin-top: 60px;
    }

    .products-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }

    .product-card .card-image {
        height: 120px;
    }

    .product-card .card-image .product-emoji {
        font-size: 2.5rem;
    }

    .products-list.list-view .product-card {
        flex-direction: column;
        max-height: none;
    }

    .products-list.list-view .product-card .card-image {
        width: 100%;
        height: 180px;
    }

    .sidebar {
        width: 280px;
        left: -300px;
    }
}

@media (max-width: 480px) {
    .products-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sidebar {
        padding: 1.25rem 1rem;
        width: 260px;
        left: -280px;
    }

    .product-card .card-footer {
        flex-wrap: wrap;
    }

    .product-card .btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.9rem;
    }

    .grid-header {
        flex-direction: column;
        align-items: stretch;
    }

    .grid-header-right {
        justify-content: flex-end;
    }

    .mobile-filter-toggle {
        margin-bottom: 0.75rem;
    }

    .filter-toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Product card animation */
.product-card {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.02s; }
.product-card:nth-child(2) { animation-delay: 0.04s; }
.product-card:nth-child(3) { animation-delay: 0.06s; }
.product-card:nth-child(4) { animation-delay: 0.08s; }
.product-card:nth-child(5) { animation-delay: 0.10s; }
.product-card:nth-child(6) { animation-delay: 0.12s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Button base */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

/* Skeleton Loading Styles */
.product-card.skeleton {
    pointer-events: none;
    animation: none;
    opacity: 1;
}

.skeleton-image {
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.skeleton-title {
    height: 20px;
    width: 70%;
    border-radius: 4px;
    background: var(--gray-200);
    margin-bottom: 8px;
}

.skeleton-desc {
    height: 14px;
    width: 90%;
    border-radius: 4px;
    background: var(--gray-200);
    margin-bottom: 12px;
}

.skeleton-rating {
    height: 16px;
    width: 40%;
    border-radius: 4px;
    background: var(--gray-200);
    margin-bottom: 12px;
}

.skeleton-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.skeleton-price {
    height: 24px;
    width: 60px;
    border-radius: 4px;
    background: var(--gray-200);
}

.skeleton-btn {
    height: 32px;
    width: 80px;
    border-radius: 50px;
    background: var(--gray-200);
}

.skeleton-shimmer {
    background: linear-gradient(
        90deg,
        var(--gray-200) 25%,
        var(--gray-100) 50%,
        var(--gray-200) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* /////////// */

@media (max-width: 768px) {
    .view-toggle { display: none; }
}