.featured-section { padding: 7rem 0; background: #000; }
.products-section { padding: 7rem 0; }

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

.product-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    will-change: transform;
    cursor: default;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
        rgba(104, 190, 124, 0.07) 0%,
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.product-card:hover::after { opacity: 1; }

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(104, 190, 124, 0.15);
    border-color: rgba(104, 190, 124, 0.18);
}

.product-card--featured {
    background: rgba(104, 190, 124, 0.03);
    border-color: rgba(104, 190, 124, 0.1);
}

.product-card__image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0;
}

.product-card__image-link { display: block; width: 100%; height: 100%; }
.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}
.product-card:hover .product-card__image { transform: scale(1.06); }

.product-card__badge {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 1;
    backdrop-filter: blur(8px);
}
.product-card__badge--featured { background: rgba(104, 190, 124, 0.88); color: #000; }
.product-card__badge--sale { background: rgba(255, 69, 58, 0.82); color: #fff; left: auto; right: 0.875rem; }

.product-card__actions {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    opacity: 0;
    transform: translateX(10px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}
.product-card:hover .product-card__actions { opacity: 1; transform: translateX(0) scale(1); }

.product-card__action {
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.78rem;
}
.product-card__action:hover { background: var(--store-primary); color: #000; border-color: var(--store-primary); transform: scale(1.12); }
.product-card__wishlist.active { background: rgba(255, 69, 58, 0.8); border-color: var(--store-error); color: #fff; }

.product-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.product-card__category {
    font-size: 0.65rem;
    color: rgba(104, 190, 124, 0.7);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-card__name {
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0;
}
.product-card__name a { color: var(--store-text); text-decoration: none; transition: color 0.2s; }
.product-card__name a:hover { color: var(--store-primary); }

.product-card__desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-body);
    letter-spacing: -0.005em;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.product-card__pricing { display: flex; align-items: baseline; gap: 0.4rem; }
.product-card__price {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--store-text);
    letter-spacing: -0.03em;
}
.product-card__compare-price {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.25);
    text-decoration: line-through;
}

.product-card__add-to-cart {
    margin-top: 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    padding: 0.6rem 1.25rem;
    min-height: 40px;
}

.product-card--skeleton { pointer-events: none; }
.skeleton-box {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s infinite;
}
.skeleton-line {
    height: 12px;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s infinite;
}
.skeleton-line--short { width: 40%; }
.skeleton-line--med { width: 70%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.products-empty, .products-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: rgba(255, 255, 255, 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.products-empty i, .products-error i { font-size: 3rem; opacity: 0.3; }
.products-empty h4 { font-size: var(--font-size-xl); color: rgba(255, 255, 255, 0.55); }
.products-error p { font-family: var(--font-body); font-size: var(--font-size-sm); }

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

.filter-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.78rem;
    transition: all 0.2s;
    min-height: 38px;
    font-weight: var(--font-weight-medium);
}
.filter-button:hover { background: rgba(104, 190, 124, 0.06); border-color: rgba(104, 190, 124, 0.2); color: var(--store-primary); }

.sort-select {
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    min-height: 38px;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}
.sort-select:hover, .sort-select:focus { border-color: rgba(104, 190, 124, 0.3); }
.sort-select option { background: #111; }

.products-content { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }

.filters-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 16px;
    position: sticky;
    top: 60px;
    overflow: hidden;
}

.filters-content { padding: 1.5rem; }
.filter-group { margin-bottom: 1.5rem; }
.filter-group h4 {
    font-size: 0.65rem;
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.28);
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    padding: 0.35rem 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    transition: color 0.2s;
    font-family: var(--font-body);
    min-height: 34px;
    letter-spacing: -0.01em;
}
.filter-checkbox:hover { color: rgba(255, 255, 255, 0.85); }
.filter-checkbox input { accent-color: var(--store-primary); width: 14px; height: 14px; cursor: pointer; }

.price-inputs { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.65rem; }
.price-input {
    flex: 1;
    padding: 0.5rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    color: var(--store-text);
    font-size: 0.78rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
    min-height: 38px;
}
.price-input:focus { border-color: rgba(104, 190, 124, 0.4); background: rgba(104, 190, 124, 0.03); }
.price-input::placeholder { color: rgba(255, 255, 255, 0.2); }

.apply-price-filter {
    width: 100%;
    padding: 0.55rem;
    background: transparent;
    border: 1px solid rgba(104, 190, 124, 0.25);
    border-radius: var(--radius-full);
    color: var(--store-primary);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.2s;
    min-height: 38px;
}
.apply-price-filter:hover { background: var(--store-primary); color: #000; border-color: var(--store-primary); }

.filter-actions { padding-top: 0.875rem; border-top: 1px solid rgba(255, 255, 255, 0.055); }
.clear-filters {
    width: 100%;
    padding: 0.55rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.2s;
    min-height: 38px;
}
.clear-filters:hover { border-color: rgba(255, 69, 58, 0.35); color: var(--store-error); }

.results-info { margin-bottom: 1rem; }
.results-count { font-size: 0.78rem; color: rgba(255, 255, 255, 0.28); font-family: var(--font-body); }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}
.pagination-btn {
    min-width: 38px;
    min-height: 38px;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-display);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    font-weight: var(--font-weight-medium);
}
.pagination-btn:hover:not([disabled]):not(.active) {
    background: rgba(104, 190, 124, 0.08);
    border-color: rgba(104, 190, 124, 0.2);
    color: var(--store-primary);
}
.pagination-btn.active {
    background: var(--store-primary);
    color: #000;
    border-color: var(--store-primary);
    font-weight: var(--font-weight-bold);
}
.pagination-btn[disabled] { opacity: 0.25; cursor: not-allowed; }
.pagination-ellipsis { color: rgba(255, 255, 255, 0.2); padding: 0 0.3rem; display: flex; align-items: center; }
.pagination-info { color: rgba(255, 255, 255, 0.25); font-size: 0.75rem; font-family: var(--font-body); margin-left: 0.5rem; }

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
@media (max-width: 768px) {
    .products-content { grid-template-columns: 1fr; }
    .filters-sidebar { position: static; display: none; }
    .filters-sidebar.active { display: block; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
    .products-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 576px) {
    .products-grid { grid-template-columns: 1fr; }
    .product-card__actions { opacity: 1; transform: none; }
}