/* Products List & Cards */

.products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card {
    display: flex;
    gap: 12px;
    background: var(--product-card-bg, #252525);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:active {
    transform: scale(0.98);
}

.product-image {
    position: relative;
    width: 100px;
    min-width: 100px;
    height: 100px;
    background: #2a2a2a;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.product-image img.error {
    opacity: 0;
}

/* Basit placeholder arka plan - shimmer yok */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2a2a2a;
    z-index: 0;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
}

.product-image-placeholder i {
    width: 32px;
    height: 32px;
    color: #555;
}

.discount-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 3px 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(239,68,68,0.4);
    z-index: 2;
}

.featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.featured-badge-inline {
    color: #f59e0b;
    font-size: 12px;
    margin-left: 4px;
}

.product-info {
    flex: 1;
    padding: 12px 12px 12px 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:not(.no-image) .product-info {
    min-height: 100px;
}

.product-name {
    font-size: var(--product-name-font-size, 15px);
    font-weight: 600;
    color: var(--title-color, #fff);
    margin-bottom: 4px;
    padding-right: 70px;
}

.product-desc {
    font-size: 13px;
    color: var(--product-desc-color, #888);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:not(.no-image) .product-desc {
    padding-right: 70px;
}

.product-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.product-price .price {
    display: inline-flex;
    align-items: baseline;
    font-size: var(--price-font-size, 15px);
    font-weight: 600;
    color: var(--price-color, #fff);
}

.product-price .price::after {
    content: '₺';
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin-left: 2px;
}

.product-price .price-original {
    font-size: 12px;
    color: var(--product-desc-color, #888);
    text-decoration: line-through;
}

.product-price .price-original::after {
    content: '₺';
    font-size: inherit;
    margin-left: 1px;
}

.product-price .price-discounted {
    display: inline-flex;
    align-items: baseline;
    font-size: var(--price-font-size, 16px);
    font-weight: 700;
    color: var(--price-color, #fff);
}

.product-price .price-discounted::after {
    content: '₺';
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin-left: 2px;
}

.product-price .price .currency,
.product-price .price-discounted .currency {
    display: none;
}
