/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    background: var(--color-white);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--fw-bold);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.product-card__image-link {
    display: block;
    padding: 20px;
    text-align: center;
    background: var(--color-bg-light);
}

.product-card__image-link img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

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

.product-card__info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-card__title {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: 15px;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.3;
}

.product-card__title:hover {
    color: var(--color-accent);
}

.product-card__vendor {
    font-size: 12px;
    color: var(--color-text-muted);
}

.product-card__stock {
    font-size: 12px;
    font-weight: var(--fw-semibold);
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-card__stock::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.product-card__stock.in-stock {
    color: var(--color-success);
}

.product-card__stock.in-stock::before {
    background: var(--color-success);
}

.product-card__stock.out-of-stock {
    color: var(--color-error);
}

.product-card__stock.out-of-stock::before {
    background: var(--color-error);
}

.product-card__price {
    font-size: 18px;
    font-weight: var(--fw-extrabold);
    color: var(--color-text);
}

.product-card__desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.4;
    margin-top: 4px;
}

.product-card__actions {
    padding: 16px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card__actions .btn {
    font-size: 12px;
    padding: 10px 16px;
}

/* Collection tile */
.collection-tile {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 3/2;
}

.collection-tile__image {
    width: 100%;
    height: 100%;
}

.collection-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.collection-tile:hover .collection-tile__image img {
    transform: scale(1.05);
}

.collection-tile__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.collection-tile__name {
    color: var(--color-white);
    font-size: 18px;
    font-weight: var(--fw-bold);
}
