/* ================================
   PRODUCT GRID
================================ */
.tf-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

/* ================================
   PRODUCT CARD
================================ */
.tf-product-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.tf-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(255, 170, 200, 0.7);
}

/* IMAGE WRAP */
.tf-product-image-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
    background: #ffe9f1;
}

.tf-product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.tf-product-card:hover .tf-product-image {
    transform: scale(1.03);
}

/* BADGES */
.tf-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    color: #fff;
}

.tf-badge-new {
    background: #ff80ab; /* soft pink */
}

.tf-badge-discount {
    right: 10px;
    left: auto;
    background: #c49a3c; /* gold */
}

/* WISHLIST ICON */
.tf-wishlist-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #ff5c8d;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.tf-wishlist-icon:hover {
    background: #ffedf4;
    transform: translateY(-2px);
}

/* INFO AREA */
.tf-product-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* NAME */
.tf-product-name {
    font-size: 15px;
    line-height: 1.3;
    margin: 0;
    font-weight: 600;
    color: #333;
}

.tf-product-name a {
    color: inherit;
    text-decoration: none;
}

.tf-product-name a:hover {
    text-decoration: underline;
}

/* PRICE */
.tf-product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.tf-price-offer {
    font-weight: 700;
    color: #d81b60;
    font-size: 16px;
}

.tf-price-original {
    font-size: 13px;
    color: #9e9e9e;
    text-decoration: line-through;
}

.tf-price-regular {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

/* ADD TO CART BUTTON */
.tf-add-to-cart-btn {
    margin-top: 6px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #ff8fb5, #ff6fa0);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 143, 181, 0.5);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tf-add-to-cart-btn:hover {
    background: linear-gradient(135deg, #ff6fa0, #ff4f8b);
    box-shadow: 0 6px 16px rgba(255, 111, 160, 0.6);
    transform: translateY(-1px);
}

/* SMALL SCREENS */
@media (max-width: 600px) {
    .tf-product-image {
        height: 240px;
    }
}
