/* New Collection Product Card Scoped - Ported to Products List Premium */
.product-card-new-root {
    padding: 0 10px;
    font-family: var(--font-body);
    margin-bottom: 30px;
    /* Add spacing for grid rows */
}

.product-card-new-root .product-card {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Image Wrapper */
.product-card-new-root .product-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    /* Standard Portrait Mode */
    background: #f4f4f4;
    /* Light Grey Background */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 0;
}

.product-card-new-root .product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block;
    /* Ensure block display */
}

.product-card-new-root .product-img-second {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.product-card-new-root .product-card:hover .product-img-second {
    opacity: 1;
    transform: scale(1.15) scaleX(-1);
    /* Zoom + Flip Horizontal */
}

.product-card-new-root .product-card:hover .product-img-main {
    opacity: 0;
    /* Fade out main image */
}

/* Badge Container */
.product-card-new-root .card-badges-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

/* Badges */
.product-card-new-root .collection-ribbon-badge {
    position: relative;
    background: #000;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    letter-spacing: 1px;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-card-new-root .premium-badge {
    position: relative;
    background: #111;
    color: #d4af37;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    letter-spacing: 1px;
    width: fit-content;
}

.product-card-new-root .new-badge {
    position: relative;
    background: #111;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    letter-spacing: 1px;
    width: fit-content;
}

/* Discount Ribbon */
.product-card-new-root .discount-ribbon {
    position: relative;
    /* Static inside flex container */
    background: #f15406;
    color: #fff;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: fit-content;
}

/* Wishlist Icon (Right Aligned) */
.product-card-new-root .wishlist-icon-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 10;
    background: #fff;
    width: 30px;
    height: 30px;
    min-width: 30px;
    max-width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.product-card-new-root .wishlist-icon-wrapper:hover {
    transform: scale(1.1);
}

.product-card-new-root .wishlist-icon-wrapper i {
    font-size: 0.9rem;
    color: #333;
}

.product-card-new-root .btn-remove-icon {
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
}

.product-card-new-root .btn-remove-icon:hover {
    color: #d32f2f;
}

/* Add to Cart Icon */
.product-card-new-root .add-to-cart-icon-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 50% !important;
    padding: 0 !important;
    background: #111;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-card-new-root .add-to-cart-icon-btn:hover {
    background: #f15406;
    transform: translateY(-2px);
}

/* Rating Badge in Image (Bottom Left) */
.product-card-new-root .rating-badge-img {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 0;
    font-size: 0.75rem;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card-new-root .rating-badge-img .rating-val {
    color: #27ae60;
    font-weight: 700;
}

.product-card-new-root .rating-badge-img .rating-count {
    color: #555;
    font-weight: 500;
    font-size: 0.7rem;
}

/* Details */
.product-card-new-root .product-details {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0;
}

.product-card-new-root .details-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card-new-root .title-rating-row {
    display: block;
    width: auto;
}

.product-card-new-root .product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: left;
    font-family: inherit;
    /* Reset font */
}


.product-card-new-root .price-block {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0;
    width: auto;
    gap: 0;
}

.product-card-new-root .price-original {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: #999;
}

.product-card-new-root .price-current {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

.product-card-new-root .card-nav-arrows {
    display: none;
}

@media (max-width: 768px) {
    .product-card-new-root .product-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .product-card-new-root .product-title {
        font-size: 0.7rem;
    }

    .product-card-new-root .price-current {
        font-size: 0.9rem;
    }

    .product-card-new-root .product-img-wrapper {
        aspect-ratio: 2 / 3;
        margin-bottom: 8px;
    }

    .product-card-new-root .wishlist-icon-wrapper {
        width: 28px;
        height: 28px;
        min-width: 28px;
        max-width: 28px;
    }

    .product-card-new-root .wishlist-icon-wrapper i {
        font-size: 0.8rem;
    }

    .product-card-new-root .add-to-cart-icon-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        /* Force flexible circle */
        min-height: 32px;
        padding: 0;
        font-size: 0.8rem;
        aspect-ratio: 1 / 1;
        opacity: 1;
        transform: translateY(0) scale(1);
        border-radius: 50% !important;
    }
}

/* Final Mobile Font Adjustment - Consistent with New Collection */
@media (max-width: 576px) {
    .product-card-new-root .product-title {
        font-size: 0.7rem !important;
    }
}