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

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

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

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

.pc7-header {
    padding: 10px 0 38px;
    border-bottom: 1px solid #e8e8e8;
}

.pc7-title {
    margin: 0;
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 43px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: .2px;
}

.pc7-subtitle {
    margin: 14px 0 0;
    color: #666666;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 400;
}

.pc7-grid {
    display: grid;
    grid-template-columns: repeat(var(--pc7-cols, 4), minmax(0, 1fr));
    gap: 13px;
    padding-top: 34px;
}

.pc7-card {
    min-width: 0;
    background: #ffffff;
}

.pc7-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    background: #f6f6f6;
}

.pc7-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.elementor-widget-ah_product_card_7 .pc7-image-link 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 .3s ease;
}

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

.pc7-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    min-width: 66px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #dc4141;
    color: #ffffff;
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
}

.pc7-cart {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0;
    padding: 17px 20px;
    background: #ffffff;
    color: #111111;
    border: 0;
    border-radius: 0;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}

.pc7-card:hover .pc7-cart {
    opacity: 1;
    transform: translateY(0);
}

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

.pc7-body {
    padding: 10px 0 0;
    position: relative;
}

.pc7-name {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    color: #111111;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.pc7-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 12px 0 0;
    flex-wrap: wrap;
    font-size: 16px;
    line-height: 1.2;
}

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

.pc7-sale {
    color: #111111;
    font-weight: 500;
}

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

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

@media (max-width: 1024px) {
    .pc7-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pc7-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 8px;
    }
}

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

    .pc7-header {
        padding: 8px 0 22px;
    }

    .pc7-title {
        font-size: 30px;
    }

    .pc7-subtitle {
        margin-top: 9px;
        font-size: 15px;
    }

    .pc7-grid {
        padding-top: 22px;
    }

    .pc7-badge {
        top: 12px;
        left: 12px;
        min-width: 48px;
        padding: 6px 9px;
        font-size: 13px;
    }

    .pc7-cart {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px 10px;
        font-size: 12px;
        letter-spacing: .8px;
        opacity: 1;
        transform: none;
    }

    .pc7-body {
        padding-top: 14px;
    }

    .pc7-name {
        font-size: 14px;
        letter-spacing: .8px;
    }

    .pc7-price {
        gap: 8px;
        margin-top: 4px;
        font-size: 14px;
    }
}
