/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Wesley Souza
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor Child Ã© o template filho do Hello Elementor. Otimizado para desempenho, ele oferece uma base sÃ³lida para que os usuÃ¡rios criem designs exclusivos usando o construtor de sites Elementor, com sua funcionalidade de arrastar e soltar. Sua simplicidade e flexibilidade o tornam uma Ã³tima opÃ§Ã£o tanto para iniciantes quanto para desenvolvedores web experientes.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1762866110
Updated: 2025-11-11 13:01:50

*/

:root {
    --hf-primary-color: #5FC874;
    --hf-primary-color-hover: #469355;
    --hf-primary-color-dark: #001301;
    --hf-yellow-color: #F0C006;
    --hf-primary-color-white: #FFFFFF;
    --hf-text-gray: #666666;
    --hf-text-danger: #FF0000;
    --hf-text-danger-light: #fee3e3;
    --hf-font-family: "Montserrat", sans-serif;
}

body {
    font-family: var(--hf-font-family);
    overflow-x: hidden;
}

:root :where(.wp-element-button, .wp-block-button__link) {
    background-color: var(--hf-primary-color);
    border-radius: 6px;
}

body .wc-block-components-product-badge {
    background-color: var(--hf-yellow-color);
    color: var(--hf-primary-color-dark);
}

#header-main {
    transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    /* will-change: transform; */
}

#header-main.hf-header-main--fixed {
    animation: hfHeaderSlideDown 0.35s ease;
    left: 0;
    position: fixed;
    right: 0;
    width: 100%;
    z-index: 9999;
}

#header-main.hf-header-main--scrolled {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#boneco-oleo {
    bottom: 0;
    right: -220px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

@keyframes hfHeaderSlideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hf-login-criar-conta-btn {
	align-items: center;
	background-color: rgba(121, 92, 155, .35);
	border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
	color: var(--hf-primary-color-white);
	display: inline-flex;
	gap: 8px;
	padding: 10px 18px;
	text-decoration: none;
	transition: background-color 0.2s ease;
    font-family: var(--hf-font-family);
}

.hf-login-criar-conta-btn:hover,
.hf-login-criar-conta-btn:focus {
	background-color: rgba(121, 92, 155, .55);
	color: var(--hf-primary-color-white);
	text-decoration: none;
}

.hf-login-criar-conta-btn__icon {
	display: block;
	height: 18px;
	width: 18px;
}

.hf-login-criar-conta-btn__icon-img {
    display: block;
    height: 100%;
    width: 100%;
}

.hf-login-criar-conta-btn__text {
	color: inherit;
	font-weight: 600;
	line-height: 1;
}


@media all and (max-width: 767px) {
    .hf-login-criar-conta-btn {
        padding: 8px 10px;
        background: transparent;
    }
    .hf-login-criar-conta-btn span {
        display: none;
    }
}

/* FormataÃ§Ã£o Css Elementor */

/* .elementor-menu-cart__product a {
    color: var(--hf-primary-color-dark);
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price {
    color: var(--hf-text-gray);
}

.elementor-menu-cart__product a.remove_from_cart_button {
    color: var(--hf-text-danger);
}

.elementor-menu-cart__product-remove::after, .elementor-menu-cart__product-remove::before {
    background-color: var(--hf-text-danger);
}

.elementor-menu-cart__product-remove {
    border-color: var(--hf-text-danger);
}

.elementor-menu-cart__product-remove:hover::after, .elementor-menu-cart__product-remove:hover::before {
    background-color: var(--hf-text-danger);
}

.elementor-menu-cart__product-remove:hover {
    background-color: var(--hf-text-danger-light);
    border-color: var(--hf-text-danger);
}
 */
.elementor-menu-cart__subtotal {
    /* font-size: 16px; */

    & strong {
        font-weight: 600;
    }
}

.hf-hero-slider {
    position: relative;
    width: 100%;
}

.hf-hero-slider-swiper {
    width: 100%;
}

.hf-hero-slider__link,
.hf-hero-slider__picture {
    display: block;
}

.hf-hero-slider__image {
    display: block;
    width: 100%;
    height: auto;
}

.hf-hero-slider .swiper-button-next,
.hf-hero-slider .swiper-button-prev {
    color: #ffffff;
}

.hf-hero-slider .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
}

.hf-hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

#shortcode-slider .swiper-button-next, #shortcode-slider .swiper-button-prev {
    border-radius: 50%;
    background-color: var(--hf-primary-color);
    color: var(--hf-primary-color-white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    border: none;
}

#shortcode-slider .swiper-button-next:after, #shortcode-slider .swiper-button-prev:after {
    font-size: 20px;
}

#shortcode-slider .swiper-button-next:hover, #shortcode-slider .swiper-button-prev:hover {
    background-color: var(--hf-primary-color-hover);
}

.hf-products-carousel {
    position: relative;
    width: 100%;
}

.hf-products-carousel__header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.hf-products-carousel__heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hf-products-carousel__title {
    color: var(--hf-primary-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.hf-products-carousel__accent {
    background-color: var(--hf-primary-color);
    border-radius: 999px;
    display: block;
    height: 8px;
    width: 64px;
}

.hf-products-carousel__nav {
    align-items: center;
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.hf-products-carousel__nav .swiper-button-next,
.hf-products-carousel__nav .swiper-button-prev {
    background-color: var(--hf-primary-color);
    border: none;
    border-radius: 50%;
    color: var(--hf-primary-color-white);
    height: 44px;
    margin: 0;
    position: static;
    transition: background-color 0.2s ease;
    width: 44px;
}

.hf-products-carousel__nav .swiper-button-next:hover,
.hf-products-carousel__nav .swiper-button-prev:hover,
.hf-products-carousel__nav .swiper-button-next:focus,
.hf-products-carousel__nav .swiper-button-prev:focus {
    background-color: var(--hf-primary-color-hover);
}

.hf-products-carousel__nav .swiper-button-next:after,
.hf-products-carousel__nav .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
}

.hf-products-carousel-swiper {
    overflow: hidden;
    width: 100%;
    padding-bottom: 30px!important;
}

.hf-products-carousel-swiper .swiper-slide {
    height: auto;
}

.hf-products-carousel__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #EFEDFF;
    border-radius: 8px;
    border-radius: 8px;
}

.hf-products-carousel__image-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.hf-products-carousel__image-wrap {
    background-color: #EFEDFF;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.hf-products-carousel__image {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
    border-top-left-radius: 8px!important;
    border-top-right-radius: 8px!important;
}

.hf-products-carousel__card:hover .hf-products-carousel__image{
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hf-products-carousel__product-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 12px;
    text-align: left;
}

.hf-products-carousel__product-title img {
    display: block;
    margin-bottom: 4px;
}

.hf-products-carousel__product-title a {
    color: #233B46;
    text-decoration: none;
    font-size: 15px;
}

.hf-products-carousel-swiper .content-text {
    padding: 0 20px 14px 20px;

    & p {
        color: #64696C;
        font-size: 13px;
        line-height: 18px;;
    }
} 

.hf-products-carousel__category-badge {
    padding: 8px 12px;
    background-color: #81CDFF;
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #345063;
    position: absolute;
    top: 10px;
    left: 10px;
}

body.post-type-archive .hf-products-carousel__short-description {
    font-size: 13px;
    color: #64696C;
}

.hf-products-carousel__price-wrap {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
}

.hf-products-carousel__price-regular {
    color: #B2B2B2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: line-through;
}

.hf-products-carousel__price-current {
    color: #5FC874;
    font-size: 22px;
    font-weight: 800;
}

.hf-products-carousel__button {
    align-items: center;
    background-color: var(--hf-primary-color);
    border-radius: 6px;
    color: var(--hf-primary-color-white);
    display: inline-flex;
    gap: 16px;
    justify-content: center;
    margin-top: auto;
    min-height: 56px;
    padding: 14px 20px;
    position: relative;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: 100%;
}

.hf-products-carousel__button:hover,
.hf-products-carousel__button:focus {
    background-color: var(--hf-primary-color-hover);
    color: var(--hf-primary-color-white);
    text-decoration: none;
}

.hf-products-carousel__button-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.hf-products-carousel__button-icon {
    display: inline-flex;
    flex-shrink: 0;
    height: 22px;
    width: 22px;
}

.hf-products-carousel__button-icon svg {
    display: block;
    height: 100%;
    width: 100%;
}

.hf-products-carousel-pagination {
    margin-top: 26px;
    position: static;
    text-align: center;
}

.hf-products-carousel .swiper-pagination-bullet {
    background: var(--hf-primary-color);
    opacity: 0.25;
}

.hf-products-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

@media all and (max-width: 1023px) {
    .hf-products-carousel__title {
        font-size: 22px;
    }
}

@media all and (max-width: 767px) {
    .hf-products-carousel__header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
    }

    .hf-products-carousel__nav {
        align-self: flex-end;
    }

    .hf-products-carousel__title {
        font-size: 20px;
    }

    .hf-products-carousel__product-title {
        font-size: 17px;
    }

    .hf-products-carousel__price-current {
        font-size: 20px;
    }

    .hf-products-carousel__button {
        min-height: 52px;
        padding: 14px 18px;
    }
}

/* Oculta o link "Ver carrinho" que o WooCommerce injeta ao lado do botÃ£o apÃ³s AJAX add-to-cart */
.hf-products-carousel a.added_to_cart {
    display: none !important;
}

/* =========================================================
   Toast: produto adicionado ao carrinho (fallback)
   ========================================================= */
.hf-cart-toast {
    align-items: center;
    background-color: #17351c;
    border-radius: 8px;
    bottom: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: #fff;
    display: flex;
    font-family: var(--hf-font-family);
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    left: 50%;
    max-width: 380px;
    opacity: 0;
    padding: 14px 20px;
    pointer-events: none;
    position: fixed;
    transform: translateX(-50%) translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: calc(100% - 48px);
    z-index: 99999;
}

.hf-cart-toast--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.hf-products-carousel .swiper-horizontal > .swiper-pagination-bullets, .hf-products-carousel .swiper-pagination-bullets.swiper-pagination-horizontal, .hf-products-carousel .swiper-pagination-custom, .hf-products-carousel .swiper-pagination-fraction {
    top: 90%;
    bottom: inherit;
}

/* =========================================================
   Loading spinner no botÃ£o de comprar
   ========================================================= */
.hf-products-carousel__button--loading {
    opacity: 0.75;
    pointer-events: none;
}

.hf-products-carousel__button--loading .hf-products-carousel__button-text {
    visibility: hidden;
}

.hf-products-carousel__button--loading .hf-products-carousel__button-icon {
    visibility: hidden;
}

.hf-products-carousel__button--loading::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: hf-carousel-button-spinner 0.8s linear infinite;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes hf-carousel-button-spinner {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* =========================================================
   Shortcode [hf_products_catalog]
   ========================================================= */

.hf-products-catalog {
    --hf-catalog-sticky-top: 100px;
    width: 100%;
}

.hf-products-catalog__layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
}

.hf-products-catalog,
.hf-products-catalog__layout,
.hf-products-catalog__results {
    overflow: visible;
}

.hf-products-catalog__filters {
    align-self: start;
    position: -webkit-sticky;
    position: sticky;
    top: var(--hf-catalog-sticky-top);
    z-index: 3;
}

.hf-products-catalog__filters-card {
    background: linear-gradient(170deg, #f7f5ff 0%, #eff8ff 100%);
    border: 1px solid #d8e6f0;
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.hf-products-catalog__filters-title {
    color: #224050;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 18px;
}

.hf-products-catalog__filters-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hf-products-catalog__filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hf-products-catalog__filter-label {
    color: #3a505c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hf-products-catalog__select {
    appearance: none;
    background: #ffffff;
    border: 1px solid #cde0ec;
    border-radius: 10px;
    color: #1f2f3a;
    font-family: var(--hf-font-family);
    font-size: 14px;
    min-height: 44px;
    padding: 10px 12px;
}

.hf-products-catalog__categories {
    display: grid;
    gap: 8px;
    max-height: 280px;
    overflow: auto;
    padding-right: 4px;
}

.hf-products-catalog__checkbox-item {
    align-items: center;
    color: #2a3f49;
    display: flex;
    font-size: 14px;
    gap: 8px;
}

.hf-products-catalog__checkbox-item input {
    accent-color: var(--hf-primary-color);
    height: 16px;
    width: 16px;
}

.hf-products-catalog__empty-categories {
    color: #657b86;
    font-size: 13px;
    margin: 0;
}

.hf-products-catalog__filter-actions {
    display: flex;
    gap: 10px;
}

.hf-products-catalog__apply,
.hf-products-catalog__clear {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    text-decoration: none;
}

.hf-products-catalog__apply {
    background: var(--hf-primary-color);
    border: none;
    color: #ffffff;
    cursor: pointer;
    flex: 1 1 auto;
}

.hf-products-catalog__apply:hover,
.hf-products-catalog__apply:focus {
    background: var(--hf-primary-color-hover);
}

.hf-products-catalog__clear {
    border: 1px solid #b7ccda;
    color: #355264;
    flex-shrink: 0;
}

.hf-products-catalog__clear:hover,
.hf-products-catalog__clear:focus {
    border-color: #8eb2c8;
    color: #233946;
}

.hf-products-catalog__header {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.hf-products-catalog__title {
    color: #224050;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.hf-products-catalog__count {
    color: #6a7e89;
    font-size: 14px;
    margin: 0;
}

.hf-products-catalog__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hf-products-catalog__card {
    min-width: 0;
}

.hf-products-catalog__content-text {
    padding: 0 20px 14px;
}

.hf-products-catalog a.added_to_cart {
    display: none !important;
}

.hf-products-catalog__pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 26px;
}

.hf-products-catalog__pagination .page-numbers {
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #d2e0ea;
    border-radius: 8px;
    color: #2b4656;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    height: 38px;
    justify-content: center;
    min-width: 38px;
    padding: 0 10px;
    text-decoration: none;
}

.hf-products-catalog__pagination .page-numbers.current {
    background: var(--hf-primary-color);
    border-color: var(--hf-primary-color);
    color: #ffffff;
}

.hf-products-catalog__pagination .page-numbers:hover,
.hf-products-catalog__pagination .page-numbers:focus {
    border-color: #95b3c5;
    color: #213946;
}

.hf-products-catalog__empty {
    background: #f4f7fb;
    border: 1px solid #d2e0ea;
    border-radius: 12px;
    color: #48606d;
    font-size: 15px;
    margin: 0;
    padding: 22px;
}

@media all and (max-width: 1140px) {
    .hf-products-catalog__layout {
        grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
        gap: 20px;
    }

    .hf-products-catalog__grid {
        gap: 18px;
    }
}

@media all and (max-width: 1023px) {
    .hf-products-catalog__layout {
        grid-template-columns: 1fr;
    }

    .hf-products-catalog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media all and (max-width: 767px) {
    .hf-products-catalog__filters {
        position: static;
        top: auto;
    }

    .hf-products-catalog__filters-card {
        position: static;
        top: auto;
    }

    .hf-products-catalog__title {
        font-size: 22px;
    }

    .hf-products-catalog__grid {
        grid-template-columns: 1fr;
    }

    .hf-products-catalog__filter-actions {
        flex-wrap: wrap;
    }

    .hf-products-catalog__apply,
    .hf-products-catalog__clear {
        width: 100%;
    }
}

@keyframes hf-spinner-spin {
    to {
        transform: rotate(360deg);
    }
}

.hf-cart-toast__icon {
    flex-shrink: 0;
    height: 20px;
    width: 20px;
}

.hf-cart-toast__icon svg {
    display: block;
    height: 100%;
    width: 100%;
}

/* =========================================================
   Carrossel de depoimentos
   ========================================================= */
.hf-testimonials-carousel {
    background: transparent;
    position: relative;
    width: 100%;
}

.hf-testimonials-carousel-swiper {
    overflow: hidden;
    padding: 2px;
    width: 100%;
}

.hf-testimonials-carousel .swiper-slide {
    height: auto;
}

.hf-testimonial-card {
    background: #ffffff;
    border: 1px solid #d8e2da;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(19, 53, 28, 0.08);
    color: #2f4b39;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 20px 18px;
    position: relative;
}

.hf-testimonial-card__stars {
    color: #f1bc00;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 14px;
}

.hf-testimonial-card__quote-icon {
    color: #cfddd1;
    height: 22px;
    position: absolute;
    right: 18px;
    top: 16px;
    width: 22px;
}

.hf-testimonial-card__quote-icon svg {
    display: block;
    height: 100%;
    width: 100%;
}

.hf-testimonial-card__description {
    border-bottom: 1px solid #d8e2da;
    color: #3f5848;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    min-height: 124px;
    padding-bottom: 18px;
}

.hf-testimonial-card__footer {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.hf-testimonial-card__initials {
    align-items: center;
    background: #1f7a49;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    text-transform: uppercase;
    width: 36px;
}

.hf-testimonial-card__person {
    min-width: 0;
}

.hf-testimonial-card__name {
    color: #1f3d2b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
}

.hf-testimonial-card__location {
    color: #5a7565;
    font-size: 13px;
    margin: 4px 0 0;
}

.hf-testimonials-carousel__controls {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 24px;
    position: relative;
    width: 100%;
}

.hf-testimonials-carousel-prev,
.hf-testimonials-carousel-next {
    align-items: center;
    background: #1f7a49;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    left: auto;
    margin: 0;
    position: static;
    right: auto;
    top: auto;
    transform: none;
    transition: background-color 0.2s ease;
    width: 40px;
}

.hf-testimonials-carousel-prev:hover,
.hf-testimonials-carousel-next:hover,
.hf-testimonials-carousel-prev:focus,
.hf-testimonials-carousel-next:focus {
    background: #17633a;
}

.hf-testimonials-carousel-prev:after,
.hf-testimonials-carousel-next:after {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.hf-testimonials-carousel-pagination {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    left: auto;
    margin: 0;
    position: static;
    right: auto;
    top: auto;
    width: auto !important;
}

.hf-testimonials-carousel .swiper-pagination-bullets,
.hf-testimonials-carousel .swiper-pagination-bullets.swiper-pagination-horizontal,
.hf-testimonials-carousel .swiper-horizontal > .swiper-pagination-bullets {
    bottom: auto;
    left: auto;
    position: static;
    text-align: center;
    transform: none;
    width: auto;
}

.hf-testimonials-carousel .swiper-pagination-bullet {
    background: #8db89f;
    height: 8px;
    opacity: 0.5;
    transition: opacity 0.2s ease, width 0.2s ease;
    width: 8px;
}

.hf-testimonials-carousel .swiper-pagination-bullet-active {
    background: #1f7a49;
    border-radius: 999px;
    opacity: 1;
    width: 22px;
}

@media all and (max-width: 1023px) {
    .hf-testimonial-card__description {
        font-size: 17px;
        min-height: 114px;
    }

    .hf-testimonial-card__name {
        font-size: 18px;
    }
}

@media all and (max-width: 767px) {
    .hf-testimonial-card {
        border-radius: 12px;
        padding: 18px 16px;
    }

    .hf-testimonials-carousel__controls {
        margin-top: 20px;
    }

    .hf-testimonial-card__description {
        font-size: 16px;
        min-height: 0;
    }

    .hf-testimonial-card__name {
        font-size: 17px;
    }

    .hf-testimonial-card__location {
        font-size: 14px;
    }
}

/* =========================================================
   Shortcode [hf_add_to_cart] – Quantidade + botão
   ========================================================= */

.hf-add-to-cart-wrap {
    align-items: stretch;
    display: inline-flex;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

/* ---- Input de quantidade ---- */

.hf-qty-wrap {
    flex-shrink: 0;
}

.hf-qty-input {
    /* -moz-appearance: textfield;
    appearance: textfield; */
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    color: #1a1a1a;
    font-family: var(--hf-font-family);
    font-size: 16px;
    font-weight: 600;
    height: 100%;
    line-height: 1;
    min-height: 52px;
    padding: 0 8px;
    text-align: center;
    transition: border-color 0.2s ease;
    width: 72px;
}

.hf-qty-input::-webkit-inner-spin-button,
.hf-qty-input::-webkit-outer-spin-button {
    opacity: 1;
    cursor: pointer;
}

.hf-qty-input:focus {
    border-color: var(--hf-primary-color);
    outline: none;
}

/* ---- Botão Adicionar ao carrinho ---- */

.hf-atc-btn {
    align-items: center;
    background-color: var(--hf-primary-color);
    border: none;
    border-radius: 6px;
    color: var(--hf-primary-color-white);
    cursor: pointer;
    display: inline-flex;
    flex: 1 1 auto;
    font-family: var(--hf-font-family);
    font-size: 15px;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 14px 20px;
    position: relative;
    text-decoration: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.hf-atc-btn:hover,
.hf-atc-btn:focus {
    background-color: var(--hf-primary-color-hover);
    color: var(--hf-primary-color-white);
    text-decoration: none;
}

.hf-atc-btn:focus-visible {
    outline: 2px solid var(--hf-primary-color);
    outline-offset: 2px;
}

/* ---- Estado de loading ---- */

.hf-atc-btn.hf-atc-btn--loading {
    opacity: 0.8;
    pointer-events: none;
}

.hf-atc-btn.hf-atc-btn--loading .hf-atc-btn__text {
    visibility: hidden;
}

.hf-atc-btn.hf-atc-btn--loading::after {
    animation: hf-spinner-spin 0.8s linear infinite;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border-top-color: #ffffff;
    content: '';
    display: block;
    height: 18px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
}

/* =========================================================
   Shortcode [hf_product_action_buttons]
   ========================================================= */

.hf-product-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.hf-product-action-buttons__qty {
    display: none;
}

.hf-product-action-btn {
    align-items: center;
    border: 2px solid transparent;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    flex: 1 1 280px;
    font-family: var(--hf-font-family);
    font-size: 16px;
    font-weight: 700;
    gap: 12px;
    justify-content: center;
    min-height: 58px;
    padding: 16px 24px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hf-product-action-btn:hover,
.hf-product-action-btn:focus {
    box-shadow: 0 12px 30px rgba(20, 33, 61, 0.18);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.hf-product-action-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.hf-product-action-btn--cart {
    background-color: transparent;
    border-color: #77C7EA;
    color: #77C7EA;
}

.hf-product-action-btn--cart:hover,
.hf-product-action-btn--cart:focus {
    background-color: #77C7EA;
    color: #ffffff;
}

.hf-product-action-btn--buy {
    background-color: #5FC874;
    border-color: #5FC874;
}

.hf-product-action-btn--buy:hover,
.hf-product-action-btn--buy:focus {
    background-color: #4db263;
    border-color: #4db263;
}

.hf-product-action-btn__icon {
    display: block;
    flex-shrink: 0;
    height: 22px;
    width: 22px;
}

.hf-product-action-btn__loader {
    animation: hf-spinner-spin 0.8s linear infinite;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border-top-color: currentColor;
    display: none;
    flex-shrink: 0;
    height: 20px;
    width: 20px;
}

.hf-product-action-btn--loading {
    opacity: 0.85;
    pointer-events: none;
}

.hf-product-action-btn--loading .hf-product-action-btn__icon {
    display: none;
}

.hf-product-action-btn--loading .hf-product-action-btn__loader {
    display: inline-block;
}

.hf-product-action-btn--loading .hf-product-action-btn__text {
    opacity: 0.92;
}

/* ---- Remove o link "Ver carrinho" injetado pelo WooCommerce ---- */

.hf-add-to-cart-wrap a.added_to_cart,
.hf-product-action-buttons a.added_to_cart {
    display: none !important;
}

.hf-add-to-cart-wrap a.added_to_cart:hover,
.hf-add-to-cart-wrap a.added_to_cart:focus {
    display: none !important;
}

/* ---- Produto indisponível ---- */

.hf-atc-unavailable {
    color: var(--hf-text-danger);
    font-size: 14px;
    margin: 0;
}

/* ---- Responsivo ---- */

@media all and (max-width: 480px) {
    .hf-add-to-cart-wrap {
        gap: 8px;
    }

    .hf-qty-input {
        min-height: 48px;
        width: 64px;
    }

    .hf-atc-btn {
        font-size: 14px;
        min-height: 48px;
        padding: 12px 16px;
    }

    .hf-product-action-buttons {
        gap: 12px;
    }

    .hf-product-action-btn {
        flex-basis: 100%;
        font-size: 15px;
        min-height: 54px;
        padding: 14px 18px;
    }
}

/* =========================================================
   ViaCEP – estado de loading nos campos de endereço
   ========================================================= */

.hf-cep-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.hf-cep-loading::after {
    animation: hf-spinner-spin 0.7s linear infinite;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    border-top-color: var(--hf-primary-color);
    content: '';
    height: 16px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    z-index: 1;
}


.price-main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.price-and-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}


/*  Carrinho de compras */

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    color: var(--hf-primary-color-dark);
    font-weight: 600;
}

.wc-block-components-product-price ins,
.wc-block-components-formatted-money-amount {
    font-weight: 600;
    color: var(--hf-primary-color-dark);
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link svg{
    color: var(--hf-text-danger);
    fill: var(--hf-text-danger);
}

.wp-block-woocommerce-cart-line-items-block .wc-block-components-product-metadata {
    display: none;
}

#wc-block-components-totals-coupon__input-coupon {
    font-size: 14px;
}

.wc-block-cart .wc-block-cart__totals-title,
.wc-block-cart-items__header span {
    font-weight: bold!important;
}

 .wc-block-components-text-input label {
    font-size: 13px!important;
 }


/*  Novo na loja - carrinho vazio */

ul.wc-block-grid__products {

    margin-top: 3rem;

    & .wc-block-grid__product-title {
        color: var(--hf-primary-color-dark);
        font-size: 16px;
        font-weight: 600;
    }

    & .wc-block-grid__product-price.price {
        color: var(--hf-primary-color);
        font-weight: 600;
        font-size: 15px;
    }

    & del .woocommerce-Price-amount {
        color: var(--hf-text-gray);
        font-size: 14px;
    }

    & .wp-block-button__link.add_to_cart_button.ajax_add_to_cart {
        width: 100%;
        font-size: 16px;
    }

    & .wc-block-grid__product-onsale {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var( --e-global-color-f182200 );
        background-color: var( --e-global-color-546ce06 );
        font-size: 12px;
        width: 64px;
        height: 64px;
        line-height: 22px;
        margin: -16px;
        border: none;
        border-radius: 50%;
    }
}