/* HALTEC | Produtos em destaque — estilos isolados, sem dependência do Bootstrap */
.haltec-featured,
.haltec-featured *,
.haltec-product-modal,
.haltec-product-modal * {
    box-sizing: border-box
}

.haltec-featured {
    --hf-brand: #8b4938;
    --hf-brand-dark: #572c23;
    --hf-ink: #282522;
    --hf-muted: #6c6662;
    display: block;
    width: 100%;
    margin: 34px 0;
    padding: 34px 0 30px;
    background: linear-gradient(180deg, #fff 0%, #fcfaf9 100%);
    color: var(--hf-ink);
    font-family: Arial, sans-serif
}

.haltec-featured button,
.haltec-product-modal button,
.haltec-product-modal a {
    font-family: Arial, sans-serif
}

.haltec-featured__inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 26px
}

.haltec-featured__inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 26px
}

.haltec-featured__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 27px;
    padding: 0 5px 18px;
    border-bottom: 2px solid var(--hf-brand)
}

.haltec-featured__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 27px;
    padding: 0 5px 18px;
    border-bottom: 2px solid var(--hf-brand)
}

.haltec-featured__kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--hf-brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em
}

.haltec-featured__kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--hf-brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em
}

.haltec-featured__heading h2 {
    margin: 0;
    color: var(--hf-brand-dark);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em
}

.haltec-featured__heading h2 {
    margin: 0;
    color: var(--hf-brand-dark);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em
}

.haltec-featured__heading-note {
    padding-bottom: 5px;
    color: var(--hf-brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-align: right
}

.haltec-featured__heading-note {
    padding-bottom: 5px;
    color: var(--hf-brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-align: right
}

.haltec-featured__carousel {
    position: relative;
    padding: 0 45px 42px
}

.haltec-featured__carousel {
    position: relative;
    padding: 0 45px 42px
}

.haltec-featured__slides {
    width: 100%
}

.haltec-featured__slide {
    display: none;
    width: 100%
}

.haltec-featured__slide.is-active {
    display: block;
    animation: haltecFadeIn .35s ease both
}

@keyframes haltecFadeIn {
    from {
        opacity: .3;
        transform: translateY(5px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.haltec-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.haltec-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.haltec-product-card {
    display: flex;
    min-width: 0;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid #e9dfdb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(67, 42, 32, .07);
    transition: transform .2s ease, box-shadow .2s ease
}

.haltec-product-card {
    display: flex;
    min-width: 0;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid #e9dfdb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(67, 42, 32, .07);
    transition: transform .2s ease, box-shadow .2s ease
}

.haltec-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 30px rgba(67, 42, 32, .12)
}

.haltec-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 30px rgba(67, 42, 32, .12)
}



.haltec-product-card__image-wrap {
    position: relative;
    display: flex;
    flex: 0 0 42%;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 260px;
    padding: 42px 15px 15px;
    background: #f5f2f0
}

.haltec-product-card__image {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 7px
}

.haltec-product-card__image {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 7px
}

.haltec-product-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 4px;
    background: var(--hf-brand);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
}

.haltec-product-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 4px;
    background: var(--hf-brand);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em
}

.haltec-product-card__content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 18px
}

.haltec-product-card__content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 18px
}

.haltec-product-card__content h3 {
    margin: 0 0 10px;
    color: var(--hf-brand-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25
}

.haltec-product-card__content h3 {
    margin: 0 0 10px;
    color: var(--hf-brand-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25
}

.haltec-product-card__content p {
    margin: 0 0 18px;
    color: #5f5854;
    font-size: 14px;
    line-height: 1.55
}

.haltec-product-card__content p {
    margin: 0 0 18px;
    color: #5f5854;
    font-size: 14px;
    line-height: 1.55
}

.haltec-product-card__details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 0;
    border-radius: 6px;
    background: #20bd5a;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease
}

.haltec-product-card__details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 0;
    border-radius: 6px;
    background: #20bd5a;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease
}

.haltec-product-card__details:hover {
    background: #159d48;
    color: #fff;
    transform: translateY(-1px)
}

.haltec-product-card__details:hover {
    background: #159d48;
    color: #fff;
    transform: translateY(-1px)
}

.haltec-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: currentColor
}

.haltec-whatsapp-icon svg {
    display: block;
    width: 21px;
    height: 21px
}

.haltec-product-card__arrow {
    margin-left: auto;
    font-size: 23px;
    line-height: .7
}

.haltec-product-card__arrow {
    margin-left: auto;
    font-size: 23px;
    line-height: .7
}

.haltec-featured__arrow {
    position: absolute;
    z-index: 2;
    top: 43%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #e7d6d0;
    border-radius: 50%;
    background: #fff;
    color: var(--hf-brand);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: translateY(-50%);
    transition: background .2s, color .2s
}

.haltec-featured__arrow {
    position: absolute;
    z-index: 2;
    top: 43%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #e7d6d0;
    border-radius: 50%;
    background: #fff;
    color: var(--hf-brand);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: translateY(-50%);
    transition: background .2s, color .2s
}

.haltec-featured__arrow:hover {
    background: var(--hf-brand);
    color: #fff
}

.haltec-featured__arrow--prev {
    left: 0
}

.haltec-featured__arrow--next {
    right: 0
}

.haltec-featured__dots {
    position: absolute;
    right: 0;
    bottom: 9px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 9px
}

.haltec-featured__dots {
    position: absolute;
    right: 0;
    bottom: 9px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 9px
}

.haltec-featured__dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d1c7c2;
    cursor: pointer
}

.haltec-featured__dots button.is-active {
    background: var(--hf-brand);
    transform: scale(1.2)
}

.haltec-featured__footnote {
    margin: 4px 0 0;
    color: #6b625d;
    font-size: 14px;
    text-align: center
}

.haltec-featured__footnote {
    margin: 4px 0 0;
    color: #6b625d;
    font-size: 14px;
    text-align: center
}

/* Modal independente das classes antigas do site */
.haltec-product-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: Arial, sans-serif
}

.haltec-product-modal.is-open {
    display: flex
}

.haltec-product-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 15, .68);
    backdrop-filter: blur(3px)
}

.haltec-product-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .3)
}

.haltec-product-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    border-bottom: 1px solid #eee4e0;
    background: #fbf8f7
}

.haltec-product-modal__kicker {
    display: block;
    margin-bottom: 5px;
    color: #8b4938;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em
}

.haltec-product-modal__header h2 {
    margin: 0;
    color: #572c23;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 800
}

.haltec-product-modal__close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f0e7e3;
    color: #572c23;
    font-size: 29px;
    line-height: 1;
    cursor: pointer
}

.haltec-product-modal__body {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    padding: 27px;
    background: #fff;
    color: #292929
}

.haltec-product-modal__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 270px;
    padding: 14px;
    border: 1px solid #eee5e1;
    border-radius: 9px;
    background: #f7f4f2
}

.haltec-product-modal__image-wrap img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 270px;
    object-fit: contain;
    border-radius: 6px
}

.haltec-product-modal__info {
    min-width: 0
}

.haltec-product-modal__info h3 {
    margin: 0 0 10px;
    color: #572c23;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 800
}

.haltec-product-modal__summary {
    margin: 0 0 11px;
    color: #37312e;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600
}

.haltec-product-modal__details {
    margin: 0 0 17px;
    color: #625a56;
    font-size: 15px;
    line-height: 1.65
}

.haltec-product-modal__stock {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 14px 0 0;
    padding: 13px;
    border: 1px solid #e8dfdb;
    border-radius: 7px;
    background: #faf7f6;
    font-size: 13px
}

.haltec-product-modal__stock strong {
    color: #572c23;
    font-size: 16px
}

.haltec-product-modal__stock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #299c53
}

.haltec-product-modal__note {
    margin: 7px 0 16px;
    color: #827873;
    font-size: 12px;
    line-height: 1.4
}

.haltec-product-modal__whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 18px;
    border: 0;
    border-radius: 7px;
    background: #20bd5a;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .2s
}

.haltec-product-modal__whatsapp:hover {
    background: #159d48;
    color: #fff !important
}

.haltec-product-modal__arrow {
    margin-left: auto;
    font-size: 24px;
    line-height: .7
}

body.haltec-modal-open {
    overflow: hidden
}

@media(max-width:1150px) {
    .haltec-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .haltec-featured__slide .haltec-product-card:last-child {
        display: none
    }

    .haltec-product-card {
        min-height: 230px
    }

    .haltec-product-card__image-wrap {
        flex-basis: 38%;
        min-height: 230px
    }

    .haltec-product-card__image {
        height: 165px
    }

    .haltec-product-card__content {
        padding: 17px 15px
    }
}

@media(max-width:760px) {
    .haltec-featured {
        margin: 22px 0;
        padding: 24px 0
    }

    .haltec-featured__inner {
        padding: 0 14px
    }

    .haltec-featured__heading {
        align-items: flex-start;
        padding: 0 2px 14px;
        margin-bottom: 18px
    }

    .haltec-featured__heading-note {
        display: none
    }

    .haltec-featured__carousel {
        padding: 0 28px 38px
    }

    .haltec-featured__grid {
        grid-template-columns: 1fr
    }

    .haltec-featured__slide .haltec-product-card:last-child {
        display: flex
    }

    .haltec-product-card {
        min-height: 0;
        flex-direction: column
    }

    .haltec-product-card__image-wrap {
        flex-basis: auto;
        min-height: 180px;
        padding: 13px
    }

    .haltec-product-card__image {
        height: 175px;
        object-fit: cover
    }

    .haltec-product-card__content {
        padding: 17px
    }

    .haltec-product-card__content h3 {
        font-size: 18px
    }

    .haltec-product-card__content p {
        font-size: 14px;
        margin-bottom: 14px
    }

    .haltec-featured__arrow {
        width: 30px;
        height: 30px;
        font-size: 23px
    }

    .haltec-product-modal {
        padding: 10px
    }

    .haltec-product-modal__dialog {
        max-height: calc(100vh - 20px)
    }

    .haltec-product-modal__header {
        padding: 15px
    }

    .haltec-product-modal__header h2 {
        font-size: 22px
    }

    .haltec-product-modal__body {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px
    }

    .haltec-product-modal__image-wrap {
        min-height: 160px
    }

    .haltec-product-modal__image-wrap img {
        height: 180px
    }

    .haltec-product-modal__info h3 {
        font-size: 21px
    }

    .haltec-product-modal__whatsapp {
        width: 100%
    }
}




/* ==========================================
   CARROSSEL DE IMAGENS DO MODAL
   ========================================== */

.haltec-product-modal__image-wrap {
    position: relative;
}

.haltec-modal-image-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);
    color: #fff;

    font-size: 22px;
    cursor: pointer;
}

.haltec-modal-image-arrow:hover {
    background: #8b4938;
}

.haltec-modal-image-arrow.prev {
    left: 20px;
}

.haltec-modal-image-arrow.next {
    right: 20px;
}

.haltec-image-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    padding: 5px 12px;
    border-radius: 20px;

    background: rgba(0, 0, 0, 0.7);
    color: #fff;

    font-size: 12px;
}

/* Ajuste para celular */
@media (max-width: 760px) {
    .haltec-modal-image-arrow {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }

    .haltec-modal-image-arrow.prev {
        left: 8px;
    }

    .haltec-modal-image-arrow.next {
        right: 8px;
    }
}
