.wcawvc-product-grid-widget,
.wcawvc-product-grid-widget * {
    box-sizing: border-box;
}

.wcawvc-product-grid-widget {
    width: 100%;
    position: relative;
    --wcawvc-grid-gap: 24px;
    --wcawvc-card-radius: 0px;
    --wcawvc-card-bg: transparent;
    --wcawvc-card-hover-lift: 12px;
    --wcawvc-image-bg: transparent;
    --wcawvc-brand-size: 44px;
    --wcawvc-badge-gap: 8px;
    --wcawvc-badge-radius: 999px;
    --wcawvc-title-color: #2d2d2d;
    --wcawvc-price-color: #111111;
    --wcawvc-old-price-color: #777777;
    --wcawvc-sale-price-color: #111111;
    --wcawvc-sizes-color: #666666;
    --wcawvc-sizes-label-color: #666666;
    --wcawvc-arrow-size: 46px;
    --wcawvc-arrow-icon-size: 18px;
    --wcawvc-arrow-bg: rgba(255, 255, 255, 0.96);
    --wcawvc-arrow-color: #111111;
    --wcawvc-arrow-border: rgba(0, 0, 0, 0.08);
    --wcawvc-arrow-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    --wcawvc-arrow-hover-bg: #b9b6b6;
    --wcawvc-arrow-hover-color: var(--wcawvc-arrow-color);
    --wcawvc-arrow-hover-border: var(--wcawvc-arrow-border);
    --wcawvc-arrow-top-space: 54px;
    --wcawvc-arrow-offset-top: 8px;
    --wcawvc-arrow-offset-right: 12px;
    --wcawvc-arrow-gap: 10px;
}

.wcawvc-product-grid-widget a {
    text-decoration: none;
}

.wcawvc-product-grid-widget img {
    display: block;
    max-width: 100%;
}

.wcawvc-product-grid-track-wrap {
    position: relative;
    width: 100%;
}

.wcawvc-product-grid-list {
    width: 100%;
}

/* GRID */
.wcawvc-product-grid-widget.is-grid .wcawvc-product-grid-track-wrap {
    overflow: visible;
}

.wcawvc-product-grid-widget.is-grid .wcawvc-product-grid-list {
    display: grid;
    grid-template-columns: repeat(var(--wcawvc-grid-cols-desktop, 4), minmax(0, 1fr));
    gap: var(--wcawvc-grid-gap);
    align-items: start;
}

@media (max-width: 1024px) {
    .wcawvc-product-grid-widget.is-grid .wcawvc-product-grid-list {
        grid-template-columns: repeat(var(--wcawvc-grid-cols-tablet, 3), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .wcawvc-product-grid-widget.is-grid .wcawvc-product-grid-list {
        grid-template-columns: repeat(var(--wcawvc-grid-cols-mobile, 2), minmax(0, 1fr));
    }
}

/* CAROUSEL */
.wcawvc-product-grid-widget.is-carousel .wcawvc-product-grid-track-wrap {
    overflow: hidden;
    width: 100%;
    padding-top: var(--wcawvc-arrow-top-space);
}

.wcawvc-product-grid-widget.is-carousel .wcawvc-product-grid-list {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--wcawvc-grid-gap);
    width: max-content;
    min-width: 100%;
    overflow: visible;
    will-change: transform;
    transition: transform .35s ease;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.wcawvc-product-grid-widget.is-carousel .wcawvc-product-grid-list.is-dragging {
    cursor: grabbing;
    transition: none !important;
}

.wcawvc-product-grid-widget.is-carousel .wcawvc-product-card {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
}

/* CARD */
.wcawvc-product-card {
    position: relative;
    background: transparent;
    border-radius: var(--wcawvc-card-radius);
    overflow: hidden;
    min-width: 0;
}

.wcawvc-product-card-link {
    display: block;
    color: inherit;
    width: 100%;
}

.wcawvc-product-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* MEDIA */
.wcawvc-product-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--wcawvc-image-bg);
    overflow: hidden;
    isolation: isolate;
    margin: 0;
    padding: 0;
}

.wcawvc-product-card-media > .wcawvc-product-image-main,
.wcawvc-product-card-media > .wcawvc-product-image-hover,
.wcawvc-product-card-media > img.wcawvc-product-image-main,
.wcawvc-product-card-media > img.wcawvc-product-image-hover,
.wcawvc-product-card-media > .woocommerce-placeholder,
.wcawvc-product-card-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.wcawvc-product-image-main {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    object-fit: contain;
    padding: 7%;
    margin: 0;
    transition: opacity .32s ease, visibility .32s ease, transform .38s ease;
}

.wcawvc-product-image-hover {
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    object-fit: contain;
    padding: 7%;
    margin: 0;
    transform: scale(1.01);
    transition: opacity .32s ease, visibility .32s ease, transform .38s ease;
}

.wcawvc-product-card-media > .woocommerce-placeholder {
    z-index: 0;
    object-fit: contain;
    padding: 7%;
}

.wcawvc-product-card:hover .wcawvc-product-image-main,
.wcawvc-product-card-media:hover .wcawvc-product-image-main {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.01);
}

.wcawvc-product-card:hover .wcawvc-product-image-hover,
.wcawvc-product-card-media:hover .wcawvc-product-image-hover {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* BRAND */
.wcawvc-product-brand {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: var(--wcawvc-brand-size);
    height: var(--wcawvc-brand-size);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.wcawvc-product-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* CONTENT */
.wcawvc-product-card-content {
    position: relative;
    padding: 14px 8px 10px;
    margin: 0;
    background: var(--wcawvc-card-bg);
    transition: transform .28s ease;
}

.wcawvc-product-card:hover .wcawvc-product-card-content {
    transform: translateY(calc(var(--wcawvc-card-hover-lift) * -1));
}

/* BADGES */
.wcawvc-product-badges {
    display: flex;
    align-items: center;
    gap: var(--wcawvc-badge-gap);
    flex-wrap: wrap;
    margin: 0 0 10px;
    min-height: 26px;
}

.wcawvc-product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: var(--wcawvc-badge-radius);
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.wcawvc-product-badge.is-aviso {
    background: #d10d0d;
    color: #ffffff;
    border-color: #d10d0d;
}

.wcawvc-product-badge.is-selecao {
    background: #f2aa00;
    color: #111111;
    border-color: #f2aa00;
}

.wcawvc-product-badge.is-categoria {
    background: #ffffff;
    color: #00a887;
    border-color: #00a887;
}

.wcawvc-product-badge.is-novidade {
    background: #f2aa00;
    color: #111111;
    border-color: #f2aa00;
}

.wcawvc-product-badges .wcawvc-product-badge.is-hidden-device {
    display: none !important;
}

/* TITLE / PRICE */
.wcawvc-product-title {
    margin: 0 0 10px;
    color: var(--wcawvc-title-color);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    overflow: hidden;
}

.wcawvc-product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--wcawvc-price-color);
    line-height: 1.2;
}

.wcawvc-product-price .price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--wcawvc-price-color);
}

.wcawvc-product-price del,
.wcawvc-product-price del * {
    color: var(--wcawvc-old-price-color) !important;
    opacity: .9;
}

.wcawvc-product-price ins,
.wcawvc-product-price ins * {
    color: var(--wcawvc-sale-price-color) !important;
    text-decoration: none !important;
}

.wcawvc-product-discount-percent {
    color: #ff5a4f;
}

/* SIZES */
.wcawvc-product-sizes-wrap {
    margin-top: 10px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .28s ease, opacity .24s ease, transform .28s ease;
    transform: translateY(8px);
}

.wcawvc-product-card:hover .wcawvc-product-sizes-wrap {
    max-height: 90px;
    opacity: 1;
    transform: translateY(0);
}

.wcawvc-product-sizes-label {
    display: block;
    margin-bottom: 6px;
    color: var(--wcawvc-sizes-label-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.wcawvc-product-sizes {
    color: var(--wcawvc-sizes-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

/* EMPTY / PAGINATION */
.wcawvc-product-grid-empty {
    width: 100%;
    padding: 30px 10px;
    text-align: center;
    color: #666666;
}

.wcawvc-product-grid-pagination {
    margin-top: 28px;
}

.wcawvc-product-grid-pagination ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.wcawvc-product-grid-pagination a,
.wcawvc-product-grid-pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #111111;
}

.wcawvc-product-grid-pagination .current {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

/* ARROWS - ISOLADAS DO WCAE CARROSSEL */
.wcawvc-product-grid-arrow,
button.wcawvc-product-grid-arrow,
button[type="button"].wcawvc-product-grid-arrow {
    position: absolute;
    z-index: 9;
    width: var(--wcawvc-arrow-size);
    height: var(--wcawvc-arrow-size);
    min-width: var(--wcawvc-arrow-size);
    min-height: var(--wcawvc-arrow-size);
    padding: 0;
    margin: 0;
    border-radius: 999px;
    border: 1px solid var(--wcawvc-arrow-border) !important;
    background: var(--wcawvc-arrow-bg) !important;
    background-color: var(--wcawvc-arrow-bg) !important;
    background-image: none !important;
    color: var(--wcawvc-arrow-color) !important;
    box-shadow: var(--wcawvc-arrow-shadow) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    top: var(--wcawvc-arrow-offset-top);
    left: auto;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* blindagem total contra hover/focus global do tema */
.wcawvc-product-grid-arrow:hover,
.wcawvc-product-grid-arrow:focus,
.wcawvc-product-grid-arrow:focus-visible,
.wcawvc-product-grid-arrow:active,
button.wcawvc-product-grid-arrow:hover,
button.wcawvc-product-grid-arrow:focus,
button.wcawvc-product-grid-arrow:focus-visible,
button.wcawvc-product-grid-arrow:active,
button[type="button"].wcawvc-product-grid-arrow:hover,
button[type="button"].wcawvc-product-grid-arrow:focus,
button[type="button"].wcawvc-product-grid-arrow:focus-visible,
button[type="button"].wcawvc-product-grid-arrow:active {
    background: var(--wcawvc-arrow-hover-bg, var(--wcawvc-arrow-bg)) !important;
    background-color: var(--wcawvc-arrow-hover-bg, var(--wcawvc-arrow-bg)) !important;
    background-image: none !important;
    color: var(--wcawvc-arrow-hover-color, var(--wcawvc-arrow-color)) !important;
    border-color: var(--wcawvc-arrow-hover-border, var(--wcawvc-arrow-border)) !important;
    box-shadow: var(--wcawvc-arrow-shadow) !important;
    outline: none !important;
}

/* mantém o scale no hover sem perder a blindagem */
.wcawvc-product-grid-arrow:hover,
button.wcawvc-product-grid-arrow:hover,
button[type="button"].wcawvc-product-grid-arrow:hover {
    transform: scale(1.04);
}

.wcawvc-product-grid-arrow svg,
.wcawvc-product-grid-arrow i,
.wcawvc-product-grid-arrow span {
    font-size: var(--wcawvc-arrow-icon-size);
    line-height: 1;
    color: inherit !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    pointer-events: none;
}

.wcawvc-product-grid-arrow.is-disabled,
.wcawvc-product-grid-arrow:disabled {
    opacity: .35;
    pointer-events: none;
    cursor: not-allowed;
}

/* topo direita padrão */
.wcawvc-product-grid-arrow.pos-top-right-next,
.wcawvc-product-grid-arrow.is-next {
    right: var(--wcawvc-arrow-offset-right);
    left: auto;
}

.wcawvc-product-grid-arrow.pos-top-right-prev,
.wcawvc-product-grid-arrow.is-prev {
    right: calc(var(--wcawvc-arrow-offset-right) + var(--wcawvc-arrow-size) + var(--wcawvc-arrow-gap));
    left: auto;
}

/* extras de posicionamento */
.wcawvc-product-grid-arrow.pos-center-left {
    top: 50%;
    left: 12px;
    right: auto;
    transform: translateY(-50%);
}

.wcawvc-product-grid-arrow.pos-center-left:hover {
    transform: translateY(-50%) scale(1.04);
}

.wcawvc-product-grid-arrow.pos-center-right {
    top: 50%;
    right: 12px;
    left: auto;
    transform: translateY(-50%);
}

.wcawvc-product-grid-arrow.pos-center-right:hover {
    transform: translateY(-50%) scale(1.04);
}

.wcawvc-product-grid-arrow.pos-top-left {
    top: var(--wcawvc-arrow-offset-top);
    left: 12px;
    right: auto;
}

.wcawvc-product-grid-arrow.pos-top-right {
    top: var(--wcawvc-arrow-offset-top);
    right: 12px;
    left: auto;
}

.wcawvc-product-grid-arrow.pos-bottom-left {
    top: auto;
    bottom: 12px;
    left: 12px;
    right: auto;
}

.wcawvc-product-grid-arrow.pos-bottom-right {
    top: auto;
    bottom: 12px;
    right: 12px;
    left: auto;
}

.wcawvc-product-grid-arrow.pos-center-top-prev {
    top: var(--wcawvc-arrow-offset-top);
    left: calc(50% - var(--wcawvc-arrow-size) - (var(--wcawvc-arrow-gap) / 2));
    right: auto;
}

.wcawvc-product-grid-arrow.pos-center-top-next {
    top: var(--wcawvc-arrow-offset-top);
    left: calc(50% + (var(--wcawvc-arrow-gap) / 2));
    right: auto;
}

.wcawvc-product-grid-arrow.pos-center-bottom-prev {
    top: auto;
    bottom: 12px;
    left: calc(50% - var(--wcawvc-arrow-size) - (var(--wcawvc-arrow-gap) / 2));
    right: auto;
}

.wcawvc-product-grid-arrow.pos-center-bottom-next {
    top: auto;
    bottom: 12px;
    left: calc(50% + (var(--wcawvc-arrow-gap) / 2));
    right: auto;
}

.wcawvc-product-grid-arrow.pos-center-center-prev {
    top: 50%;
    left: calc(50% - var(--wcawvc-arrow-size) - (var(--wcawvc-arrow-gap) / 2));
    right: auto;
    transform: translateY(-50%);
}

.wcawvc-product-grid-arrow.pos-center-center-prev:hover {
    transform: translateY(-50%) scale(1.04);
}

.wcawvc-product-grid-arrow.pos-center-center-next {
    top: 50%;
    left: calc(50% + (var(--wcawvc-arrow-gap) / 2));
    right: auto;
    transform: translateY(-50%);
}

.wcawvc-product-grid-arrow.pos-center-center-next:hover {
    transform: translateY(-50%) scale(1.04);
}

@media (max-width: 767px) {
    .wcawvc-product-card-content {
        padding: 12px 6px 10px;
    }

    .wcawvc-product-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .wcawvc-product-sizes-label,
    .wcawvc-product-sizes {
        font-size: 13px;
    }

    .wcawvc-product-brand {
        top: 12px;
        right: 12px;
    }

    .wcawvc-product-grid-arrow {
        width: 40px;
        height: 40px;
    }

    .wcawvc-product-grid-widget.is-carousel .wcawvc-product-grid-track-wrap {
        padding-top: 50px;
    }
}

/* FORÇAR CORES DO PREÇO NO WCAE PRODUCT GRID */
.wcawvc-product-grid-widget .wcawvc-product-price,
.wcawvc-product-grid-widget .wcawvc-product-price .price,
.wcawvc-product-grid-widget .wcawvc-product-price .price bdi,
.wcawvc-product-grid-widget .wcawvc-product-price > .price,
.wcawvc-product-grid-widget .wcawvc-product-price > .price bdi,
.wcawvc-product-grid-widget .wcawvc-product-price .woocommerce-Price-amount,
.wcawvc-product-grid-widget .wcawvc-product-price .woocommerce-Price-amount bdi {
    color: var(--wcawvc-price-color) !important;
}

.wcawvc-product-grid-widget .wcawvc-product-price del,
.wcawvc-product-grid-widget .wcawvc-product-price del .woocommerce-Price-amount,
.wcawvc-product-grid-widget .wcawvc-product-price del .woocommerce-Price-amount bdi,
.wcawvc-product-grid-widget .wcawvc-product-price del bdi {
    color: var(--wcawvc-old-price-color) !important;
}

.wcawvc-product-grid-widget .wcawvc-product-price ins,
.wcawvc-product-grid-widget .wcawvc-product-price ins .woocommerce-Price-amount,
.wcawvc-product-grid-widget .wcawvc-product-price ins .woocommerce-Price-amount bdi,
.wcawvc-product-grid-widget .wcawvc-product-price ins bdi {
    color: var(--wcawvc-sale-price-color) !important;
    text-decoration: none !important;
}

.wcawvc-product-grid-widget .wcawvc-product-discount-percent {
    color: inherit;
}