/*
 * ============================================================
 * Ahmadiyad - Premium Women's Undergarments E-Commerce
 * Developed by: Etarnity Global Innovation
 * Website: https://etarnity.com
 * ============================================================
 */

/* ============================================================
 * PRODUCT CARD — Reusable across all sections
 * Design: White card, rounded corners, image with hover zoom,
 *         wishlist heart (white circle, top-right),
 *         product name + BDT price + Add to Cart (PC only)
 * ============================================================
 */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.08);
}

.product-card:active {
    transform: translateY(-2px) scale(0.99);
}

/* --- Card Image --- */
.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
    transform: none;
}

/* --- Wishlist Icon (top-right, white circle) --- */
.product-card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: #aaa;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 2;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.product-card-wishlist:hover {
    color: var(--secondary);
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.product-card-wishlist.active {
    color: var(--secondary);
}

/* --- Card Info --- */
.product-card-info {
    padding: 14px 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--cocoa);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.product-card-price .currency {
    font-size: 13px;
    font-weight: 700;
    margin-right: 1px;
}

.product-card-addcart-wrap {
    padding: 0 14px 14px;
    margin-top: auto;
}

.product-card-addcart {
    width: 100%;
    margin-top: 12px;
    padding: 11px 0;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(213, 0, 109, 0.2);
}

.product-card-addcart:hover {
    background: var(--text);
    color: #fff;
    box-shadow: 0 4px 14px rgba(74, 31, 39, 0.35);
    transform: translateY(-1px);
}

.product-card-addcart:active {
    transform: translateY(0) scale(0.98);
}

.product-card-addcart i {
    font-size: 15px;
}




