/* Shared product-card component. Outer grids and carousels keep owning layout. */
.cazco-product-card {
    --cazco-card-primary: var(--lecasa-primary, #E83440);
    --cazco-card-primary-hover: var(--lecasa-primary-hover, #C52C36);
    --cazco-card-text: var(--lecasa-text, #1d1d1f);
    --cazco-card-muted: var(--lecasa-muted, #767782);
    --cazco-card-border: var(--lecasa-border, #e3e3e3);
    --cazco-card-soft: var(--lecasa-soft, #f7f7f8);
    background: #fff;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.cazco-product-card__media {
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.cazco-product-card__image-link,
.cazco-product-card__image {
    display: block;
    height: 100%;
    width: 100%;
}

.cazco-product-card__image {
    object-fit: cover;
    transition: transform .3s ease;
}

.cazco-product-card__image-link:hover .cazco-product-card__image {
    transform: scale(1.025);
}

.cazco-product-card__labels {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 5px;
    left: 11px;
    max-width: calc(100% - 104px);
    pointer-events: none;
    position: absolute;
    top: 11px;
    z-index: 3;
}

.cazco-product-card__flag {
    background: #fff;
    border-radius: 2px;
    color: #262626;
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    max-width: 100%;
    min-height: 20px;
    padding: 5px 10px;
    text-transform: uppercase;
}

.cazco-product-card__flag--discount,
.cazco-product-card__flag--on-sale {
    background: #2bc576;
    color: #fff;
}

.cazco-product-card__flag--out_of_stock {
    background: #4d5868;
    color: #fff;
}

.cazco-product-card__utilities {
    align-items: flex-start;
    display: flex;
    gap: 5px;
    position: absolute;
    right: 7px;
    top: 7px;
    z-index: 4;
}

.cazco-product-card__utility,
a.cazco-product-card__utility:not(#e),
.cazco-product-card__wishlist,
.cazco-product-card__wishlist:empty::before,
.cazco-product-card__wishlist .wishlist-button-add {
    height: 36px;
    min-width: 36px;
    width: 36px;
}

.cazco-product-card__utility,
a.cazco-product-card__utility:not(#e),
.cazco-product-card__wishlist:empty::before,
.cazco-product-card__wishlist .wishlist-button-add {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .12);
    color: #3e4448;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    text-decoration: none;
}

.cazco-product-card__utility:hover,
.cazco-product-card__utility:focus-visible,
.cazco-product-card__wishlist .wishlist-button-add:hover,
.cazco-product-card__wishlist .wishlist-button-add:focus-visible {
    color: var(--cazco-card-primary);
    opacity: 1;
    transform: scale(1.05);
}

.cazco-product-card__utility:focus-visible,
.cazco-product-card__wishlist .wishlist-button-add:focus-visible,
.cazco-product-card__action:focus-visible,
.cazco-product-card__name a:focus-visible {
    outline: 3px solid var(--cazco-card-primary);
    outline-offset: 2px;
}

.cazco-product-card__wishlist {
    background: transparent;
    box-shadow: none;
    display: block;
    flex: 0 0 36px;
    margin: 0;
    min-height: 36px;
    overflow: visible;
    position: relative;
}

.cazco-product-card .cazco-product-card__wishlist.thumbnail-container {
    background: transparent;
    border: 0;
    box-shadow: none;
    height: 36px;
    margin: 0;
    max-width: 36px;
    min-height: 36px;
    padding: 0;
    width: 36px;
}

.cazco-product-card__wishlist--hidden {
    display: none !important;
}

.cazco-product-card__wishlist:empty::before {
    content: "♡";
    font-family: Arial, sans-serif;
    font-size: 25px;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 0;
}

.cazco-product-card .cazco-product-card__wishlist .wishlist-button-add {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.cazco-product-card__wishlist .wishlist-button-add i {
    color: inherit;
    font-size: 23px;
    margin: 0;
}

.cazco-product-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: 10px 15px 15px;
}

.cazco-product-card__rating {
    align-items: center;
    color: #939ba7;
    display: flex;
    font-size: 10px;
    gap: 5px;
    line-height: 1;
    margin-top: 6px;
    min-height: 14px;
}

.cazco-product-card__stars {
    color: #aeb4bd;
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1;
    position: relative;
    white-space: nowrap;
}

.cazco-product-card__stars::before,
.cazco-product-card__stars::after {
    content: "★★★★★";
}

.cazco-product-card__stars::after {
    color: #ffc400;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: var(--cazco-rating-width, 0%);
}

.cazco-product-card__stock {
    color: var(--cazco-card-primary);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    margin: 7px 0 0;
    min-height: 14px;
}

.cazco-product-card__stock--unavailable:not(:empty) {
    text-transform: uppercase;
}

.cazco-product-card__stock--selection:not(:empty) {
    color: #687080;
}

.cazco-product-card__stock span {
    display: inline-block;
    font-size: 12px;
    margin-right: 2px;
}

.cazco-product-card__name {
    display: -webkit-box;
    font-size: 13px;
    font-weight: 600;
    -webkit-line-clamp: 2;
    line-height: 1.42;
    margin: 9px 0 0;
    min-height: 37px;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
}

.cazco-product-card__name a,
a.cazco-product-card__name:not(#e) {
    color: inherit;
    text-decoration: none;
}

.cazco-product-card__name a:hover,
.cazco-product-card__name a:focus-visible {
    color: var(--cazco-card-primary);
}

.cazco-product-card__prices {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    min-height: 72px;
}

.cazco-product-card__regular-price {
    color: #8c929c;
    font-size: 10px;
    line-height: 1.2;
    min-height: 12px;
    text-decoration: line-through;
}

.cazco-product-card__price-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 9px;
    min-height: 26px;
}

.cazco-product-card__current-price {
    color: #303030;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
}

.cazco-product-card__pix {
    align-items: center;
    color: #59616e;
    display: inline-flex;
    font-size: 12px;
    font-weight: 650;
    gap: 4px;
    line-height: 1;
    text-transform: none;
}

.cazco-product-card__pix svg {
    color: #32bcad;
    display: block;
    flex: 0 0 auto;
    height: 20px;
    width: 20px;
}

.cazco-product-card__pix-word {
    display: inline-block;
    letter-spacing: -.02em;
}

.cazco-product-card__pix-percent {
    color: #247544;
    font-weight: 800;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.cazco-product-card__installment {
    color: #707987;
    font-size: 10px;
    line-height: 1.35;
    margin-top: 3px;
}

.cazco-product-card__cart-form {
    margin: auto 0 0;
    width: 100%;
}

.cazco-product-card__action,
a.cazco-product-card__action:not(#e) {
    align-items: center;
    appearance: none;
    background: var(--cazco-card-primary);
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 10px;
    font-weight: 700;
    gap: 5px;
    justify-content: center;
    line-height: 1.2;
    margin-top: auto;
    min-height: 38px;
    padding: 10px 8px;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
    width: 100%;
}

.cazco-product-card__action:hover,
.cazco-product-card__action:focus-visible,
a.cazco-product-card__action:not(#e):hover,
a.cazco-product-card__action:not(#e):focus-visible {
    background: var(--cazco-card-primary-hover);
    color: #fff;
}

/* Creative Elements product-miniature wrapper must stretch with its host grid. */
.cazco-product-miniature,
.cazco-product-miniature > .elementor-section,
.cazco-product-miniature > .elementor-section > .elementor-container,
.cazco-product-miniature .elementor-column,
.cazco-product-miniature .elementor-column-wrap,
.cazco-product-miniature .elementor-widget-wrap,
.cazco-product-miniature .elementor-widget-cazco-product-card,
.cazco-product-miniature .elementor-widget-cazco-product-card > .elementor-widget-container {
    display: flex;
    min-width: 0;
    width: 100%;
}

.cazco-product-miniature .elementor-widget-cazco-product-card,
.cazco-product-miniature .elementor-widget-cazco-product-card > .elementor-widget-container {
    flex: 1 1 auto;
}

.cazco-product-miniature > .elementor-section,
.cazco-product-miniature > .elementor-section > .elementor-container,
.cazco-product-miniature .elementor-column,
.cazco-product-miniature .elementor-column-wrap,
.cazco-product-miniature .elementor-widget-wrap {
    align-items: stretch;
}

/*
 * The CE miniature wrapper also carries the Classic responsive column classes.
 * Restore their native gutters only in product rows: the document-level reset
 * must not make cards touch each other or the following row.
 */
#products .products.row > .elementor[data-elementor-type="product-miniature"],
.featured-products .products.row > .elementor[data-elementor-type="product-miniature"],
.product-accessories .products.row > .elementor[data-elementor-type="product-miniature"] {
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .cazco-product-card__labels {
        gap: 4px;
        left: 6px;
        max-width: calc(100% - 82px);
        top: 6px;
    }

    .cazco-product-card__flag {
        font-size: 8px;
        min-height: 17px;
        padding: 4px 6px;
    }

    .cazco-product-card__utilities {
        gap: 3px;
        right: 4px;
        top: 4px;
    }

    .cazco-product-card__utility,
    a.cazco-product-card__utility:not(#e),
    .cazco-product-card__wishlist,
    .cazco-product-card__wishlist:empty::before,
    .cazco-product-card__wishlist .wishlist-button-add {
        height: 30px;
        min-width: 30px;
        width: 30px;
    }

    .cazco-product-card .cazco-product-card__wishlist.thumbnail-container {
        flex-basis: 30px;
        height: 30px;
        max-width: 30px;
        min-height: 30px;
        min-width: 30px;
        width: 30px;
    }

    .cazco-product-card__utility svg {
        height: 15px;
        width: 15px;
    }

    .cazco-product-card__wishlist .wishlist-button-add i {
        font-size: 19px;
    }

    .cazco-product-card__content {
        padding-top: 9px;
    }

    .cazco-product-card__stars {
        font-size: 10px;
        letter-spacing: .5px;
    }

    .cazco-product-card__rating,
    .cazco-product-card__stock {
        font-size: 9px;
    }

    .cazco-product-card__rating {
        margin-top: 4px;
    }

    .cazco-product-card__name {
        font-size: 11px;
        min-height: 32px;
    }

    .cazco-product-card__prices {
        min-height: 66px;
    }

    .cazco-product-card__current-price {
        font-size: 15px;
    }

    .cazco-product-card__pix {
        font-size: 10px;
    }

    .cazco-product-card__pix svg {
        height: 17px;
        width: 17px;
    }

    .cazco-product-card__installment {
        font-size: 8.5px;
    }

    .cazco-product-card__action,
    a.cazco-product-card__action:not(#e) {
        font-size: 8px;
        gap: 3px;
        min-height: 36px;
        padding: 8px 3px;
    }

    .cazco-product-card__action svg {
        height: 12px;
        width: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cazco-product-card * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
