/* ============================================================
   Ah Product Section - Product Card 6
   ============================================================ */

.elementor-widget-ah_product_card_6,
.elementor-widget-ah_product_card_6 > .elementor-widget-container {
    min-width: 0;
}

.pc6-wrap {
    width: 100%;
    background: #ffffff;
}

.pc6-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 65px;
    box-sizing: border-box;
    font-family: inherit;
    min-width: 0;
}

.pc6-title {
    margin: 0 0 20px;
    color: #111111;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0;
}

.pc6-layout {
    display: grid;
    grid-template-columns: minmax(320px, 500px) minmax(0, 1fr);
    width: 100%;
    margin: 0 auto 22px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
}

.pc6-banner {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #f1eee8;
}

.pc6-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    display: block;
}

.pc6-slider {
    min-width: 0;
}

.pc6-viewport {
    height: 100%;
    overflow: hidden;
}

.pc6-track {
    display: flex;
    height: 100%;
    min-width: 0;
    transition: transform .35s ease;
}

.pc6-card {
    display: flex;
    flex: 0 0 33.333333%;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border-left: 1px solid #e7e7e7;
}

.pc6-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
}

.elementor-widget-ah_product_card_6 .pc6-image img {
    width: 100% !important;
    max-width: none;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    transition: transform .25s ease;
}

.pc6-card:hover .pc6-image img {
    transform: translateZ(0) scale(1.04);
}

.pc6-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px 12px 26px;
}

.pc6-name {
    display: block;
    overflow: hidden;
    color: #111111;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc6-name:hover {
    color: #666666;
}

.pc6-price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 8px 0 22px;
    flex-wrap: wrap;
    font-size: 21px;
    line-height: 1.2;
}

.pc6-sale {
    color: #111111;
    font-weight: 600;
}

.pc6-sale .woocommerce-Price-amount,
.pc6-sale bdi {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.pc6-old {
    color: #777777;
    font-weight: 400;
    text-decoration: line-through;
}

.pc6-old .woocommerce-Price-amount,
.pc6-old bdi {
    color: inherit !important;
    font-size: inherit !important;
}

.pc6-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 16px 18px;
    background: #eeeeee;
    color: #111111;
    border: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}

.pc6-cart:hover {
    background: #111111;
    color: #ffffff;
}

.pc6-card .added_to_cart {
    display: none !important;
}

@media (max-width: 1100px) {
    .pc6-layout {
        grid-template-columns: 1fr;
    }

    .pc6-banner {
        min-height: 420px;
    }

    .pc6-card {
        flex-basis: 50%;
    }

    .pc6-image {
        height: 310px;
    }
}

@media (max-width: 640px) {
    .pc6-container {
        padding: 0 5px;
    }

    .pc6-title {
        margin-bottom: 14px;
        font-size: 24px;
    }

    .pc6-layout {
        margin: 12px auto;
        grid-template-columns: 1fr;
    }

    .pc6-banner {
        min-height: 320px;
    }

    .pc6-card {
        flex-basis: 50%;
    }

    .pc6-image {
        height: 190px;
    }

    .pc6-body {
        padding: 18px 8px 18px;
    }

    .pc6-name {
        font-size: 15px;
    }

    .pc6-price {
        gap: 6px;
        margin: 7px 0 16px;
        font-size: 15px;
    }

    .pc6-cart {
        padding: 12px 10px;
        font-size: 15px;
    }
}
