:root {
    --xb-red: #e60000;
    --xb-red-dark: #b80000;
    --xb-dark: #1f1f22;
    --xb-muted: #6d7278;
    --xb-soft: #f7f7f7;
    --xb-line: #e9e9e9;
    --xb-shadow: 0 18px 45px rgba(0, 0, 0, .10)
}

* {
    box-sizing: border-box
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    color: #232323;
    background: #fff
}

a {
    text-decoration: none
}

.topbar {
    background: #fff;
    padding: 0px;
    /* space to account for fixed header-top; updated dynamically via JS */
    padding-top: var(--header-top-height, 48px);
    overflow: visible;
    border-bottom: 1px solid rgba(0, 0, 0, .05)
}

.hearder-top {
    background: #ececec;
    color: #555;
    font-size: 12px;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 4px;
    margin-bottom: 0;
    /* not fixed by default so mobile follows document flow */
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    /* allow natural height (can wrap into multiple lines on mobile) */
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111
}

.brand-fallback {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand-x {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #8b1d1d, #e60000);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    transform: skew(-8deg)
}

.brand strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -.04em
}

.brand small {
    font-weight: 700;
    color: #444
}

.search-main {
    height: 54px;
    border: 4px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    display: flex
}

.search-main input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 18px;
    color: #777
}

.search-main button {
    width: 64px;
    border: none;
    background: var(--xb-red);
    color: #fff;
    font-size: 22px;
    font-weight: 900
}

.quick-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    font-weight: 700
}

.language-switcher {
    display: flex;
    gap: 8px
}

.language-switcher a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: .2s
}

.language-switcher a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12)
}

.slogan {
    text-align: center;
    font-size: 20px;
    color: #777;
    margin-top: 12px;
    white-space: nowrap;
}

.no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-nav {
    background: var(--xb-red);
    position: sticky;
    top: var(--header-top-height, 48px);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08)
}

.category-trigger {
    background: #c92722;
    color: #fff;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    font-weight: 900;
    letter-spacing: .08em;
    /* text-transform: uppercase */
    font-size: 18px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 58px;
    flex-wrap: wrap
}

.nav-menu a {
    color: #fff;
    height: 58px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 13px;
    /* font-weight: 900; */
    letter-spacing: .08em;
    /* text-transform: uppercase */
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, .12)
}

.nav-menu .launch {
    background: #fff;
    color: var(--xb-red);
    height: 38px;
    border-radius: 999px;
    margin: 0 6px;
    padding: 0 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    font-weight: 900;
    text-transform: uppercase
}

.hero-frame {
    max-width: 1320px;
    margin: 0 auto;
    background: #fff
}

.hero-slide {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    color: #fff;
    background: #111
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    display: block
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--image-position-desktop, center center);
    display: block
}

/*.hero-slide:before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: var(--overlay-desktop, linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .48) 38%, rgba(0, 0, 0, .12) 72%, rgba(0, 0, 0, .22) 100%));
        pointer-events: none
    }*/

.hero-copy-area {
    position: absolute;
    z-index: 2;
    left: 90px;
    top: var(--copy-top-desktop, 72px);
    width: min(var(--copy-width-desktop, 590px), calc(100% - 116px));
    text-align: var(--copy-align-desktop, left)
}

.hero-copy-area-right {
    position: absolute;
    z-index: 2;
    right: 90px;
    left: auto;
    top: var(--copy-top-desktop, 72px);
    width: min(var(--copy-width-desktop, 590px), calc(100% - 116px));
    text-align: right;
}

.hero-kicker {
    display: inline-flex;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 9px 15px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(10px)
}

.hero-title {
    color: #fff;
    font-size: clamp(12.24px, 1.548vw, 21.6px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -.045em;
    text-shadow: 0 5px 24px rgba(0, 0, 0, .28);
    margin: 0 0 16px
}

.hero-text {
    font-size: 18px;
    line-height: 1.58;
    color: rgba(255, 255, 255, .88);
    margin: 0 0 24px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .24)
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 30px;
}

.hero-actions-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-red {
    background: var(--xb-red) !important;
}

.btn-hero {
    background: var(--xb-red);
    color: #fff;
    border-radius: var(--bs-btn-border-radius);
    padding: 7px 12px;
    font-weight: 900;
    display: inline-flex;
    box-shadow: 0 10px 25px rgba(230, 0, 0, .28);
    font-size: 14px;
}

.btn-hero:hover {
    background: var(--xb-red-dark);
    color: #fff
}

.btn-hero-light {
    background: rgba(255, 255, 255, .92);
    color: #1c1c1c;
    border-radius: var(--bs-btn-border-radius);
    padding: 7px 12px;
    font-weight: 900;
    display: inline-flex;
    font-size: 14px;
}

.btn-hero-light:hover {
    background: var(--xb-red-dark);
    color: #fff
}

.hero-products {
    position: absolute;
    z-index: 3;
    right: var(--products-right-desktop, 48px);
    bottom: var(--products-bottom-desktop, 46px);
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    max-width: 48%
}

.hero-products-inner {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    margin-top: 20px;
}

.hero-products-inner-right {
    justify-content: flex-end !important;
}

.product-card {
    width: 132px;
    min-height: 150px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    padding: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .20);
    margin: 0
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .12);
}

.product-card strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modern product card for lançamentos (Bootstrap 5) */
.product-card-modern {
    border: 1px solid var(--xb-line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .12);
}

.product-card-modern .card-body {
    padding: 14px;
}

/* Aplicar mesmo efeito visual dos produtos aos cards de blog (posts) */
.blog-card {
    border: 1px solid var(--xb-line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .12);
}

.blog-card .card-body {
    padding: 14px;
}

/* Aplicar mesmo efeito visual dos produtos aos cards de depoimentos (testimonials) */
.testimonial-card {
    border: 1px solid var(--xb-line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
    background: #fff;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .12);
}

.product-canvas {
    display: block;
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, #f6f6f6, #eee);
    object-fit: cover;
}

.product-img-fluid {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: linear-gradient(135deg, #f6f6f6, #eee);
}

.product-grid .card-title a {
    font-size: 14px;
    font-weight: 700;
}

.product-grid .card-text {
    color: var(--xb-muted);
}

/* Home tabs (Bootstrap 5) - modern tab buttons */
.home-tab .nav-tabs {
    border-bottom: 0;
    gap: .5rem;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: .25rem 0 .5rem 0;
    -webkit-overflow-scrolling: touch;
}

.home-tab .nav-tabs::-webkit-scrollbar {
    height: 6px;
}

.home-tab .nav-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .08);
    border-radius: 10px;
}

.home-tab .nav-item {
    margin-right: .5rem;
}

.home-tab .nav-link {
    border: 1px solid var(--xb-line);
    border-radius: .75rem;
    padding: .55rem .9rem;
    color: var(--xb-dark);
    background: #fff;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.home-tab .nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.home-tab .nav-link.active {
    background: linear-gradient(135deg, var(--xb-red), var(--xb-red-dark));
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 14px 36px rgba(230, 0, 0, .16);
}

.home-tab .nav-link.active::after {
    content: "";
    display: block;
    height: 3px;
    width: 40%;
    margin: 8px auto 0 auto;
    background: rgba(255, 255, 255, .9);
    border-radius: 2px;
    opacity: .9;
}

@media (max-width: 575px) {
    .home-tab .nav-link {
        padding: .45rem .7rem;
        font-size: 13px;
    }
}

/* Blog cards */
.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #f6f6f6, #eee);
}

@media (min-width: 1200px) {
    .blog-card .card-img-top {
        height: 220px;
    }
}

.product-img {
    width: 100%;
    height: 82px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #ddd);
    display: block;
    margin-bottom: 10px
}

.product-card strong {
    display: block;
    font-size: 12px;
    line-height: 1.22;
    color: #222
}

.product-card small {
    color: #777;
    font-size: 11px;
    font-weight: 700
}

.hide-products .hero-products {
    display: none
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, .28);
    opacity: 1;
    z-index: 5
}

.carousel-control-prev {
    left: 28px
}

.carousel-control-next {
    right: 28px
}

.carousel-indicators {
    bottom: 14px;
    z-index: 6
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.benefits-strip {
    max-width: 1320px;
    margin: 18px auto 0
}

.benefit-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 22px;
    padding: 18px;
    height: 100%;
    display: flex;
    gap: 13px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
    text-decoration: none
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: rgba(230, 0, 0, .09);
    color: var(--xb-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px
}

.benefit-card strong {
    display: block;
    color: #222;
    font-size: 15px
}

.benefit-card span {
    display: block;
    color: #6d7379;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 3px
}

.section-white {
    background: #fff;
    padding: 76px 0
}

.section-soft {
    background: #f7f7f7;
    padding: 76px 0
}

.section-dark {
    background: #1d1d1f;
    color: #fff;
    padding: 76px 0
}

.eyebrow {
    color: var(--xb-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
    margin-bottom: 14px
}

h2 {
    font-size: clamp(20.48px, 2.304vw, 32px);
    line-height: 1.05;
    letter-spacing: -.04em;
    color: #1d1d1f;
    font-weight: 900;

    @media (min-width: 768px) {
        .info-vitrine .info-card .info-card-inner {
            max-width: 50%;
            width: 50%;
            word-wrap: break-word;
        }
    }

    color: var(--xb-muted)
}

.section-dark .muted {
    color: rgba(255, 255, 255, .68)
}

.info-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--xb-line);
    border-radius: 28px;
    padding: 26px;
    height: 100%;
    min-height: 210px;
    transition: .2s
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--xb-shadow)
}

.info-card:after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -42px;
    width: 130px;
    height: 130px;
    border-radius: 36px;
    transform: rotate(18deg);
    background: rgba(230, 0, 0, .08)
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    background: rgba(230, 0, 0, .09);
    color: var(--xb-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px
}

.link-red {
    color: var(--xb-red);
    font-weight: 900
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--xb-line);
    border-radius: 28px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
    min-height: 330px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-stars {
    color: #e6a600;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 14px
}

.testimonial-card blockquote {
    font-size: 14px;
    line-height: 1.65;
    color: #3a3a3a;
    margin: 0 0 18px
}

.testimonial-card strong {
    display: block;
    color: #111;
    margin-top: auto;
}

.testimonial-card small {
    color: var(--xb-muted)
}

.cta-red {
    background: var(--xb-red);
    color: #fff;
    padding: 68px 0
}

.cta-red h2 {
    color: #fff
}

footer {
    background: #1d1d1f;
    color: #fff;
    padding: 38px 0;
    font-size: 12px;
}

footer h5 {
    text-transform: uppercase;
}

@media(max-width:991px) {
    .quick-links {
        justify-content: flex-start;
        margin-top: 14px
    }

    .slogan {
        font-size: 16px
    }

    .nav-menu a {
        height: 42px
    }

    .category-trigger {
        min-height: 52px
    }

    .hero-slide {
        min-height: 640px
    }

    .hero-media img {
        object-position: var(--image-position-mobile, center center)
    }

    /*.hero-slide:before {
            background: var(--overlay-mobile, linear-gradient(180deg, rgba(0, 0, 0, .64) 0%, rgba(0, 0, 0, .30) 42%, rgba(0, 0, 0, .72) 100%))
        }*/

    .hero-copy-area {
        left: var(--copy-left-mobile, 24px);
        right: var(--copy-right-mobile, 24px);
        top: var(--copy-top-mobile, 28px);
        width: auto;
        text-align: var(--copy-align-mobile, left)
    }

    .hero-copy-area-right {
        left: auto;
        right: var(--copy-right-mobile, 24px);
        top: var(--copy-top-mobile, 28px);
        width: auto;
        text-align: right;
    }

    .hero-title {
        font-size: clamp(9px, 2.7vw, 12.6px)
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.5
    }

    .hero-actions {
        justify-content: var(--actions-align-mobile, flex-start)
    }

    .hero-actions-right {
        justify-content: var(--actions-align-mobile, flex-end);
    }

    .btn-hero,
    .btn-hero-light {
        padding: 12px 18px;
        font-size: 14px
    }

    .hero-products {
        left: 24px;
        right: 24px;
        bottom: 54px;
        max-width: none;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 6px
    }

    .product-card {
        min-width: 126px
    }
}

@media(max-width:575px) {
    div .inner-logo {
        text-align: center;
    }

    .slogan {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .brand-x {
        width: 56px;
        height: 56px;
        font-size: 34px
    }

    .search-main {
        height: 48px
    }

    .hero-slide {
        min-height: auto;
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px
    }

    .carousel-control-prev {
        left: 10px
    }

    .carousel-control-next {
        right: 10px
    }

    /* No mobile não adicionamos espaço extra (header não é fixed) */
    :root {
        --header-top-height: 0;
    }

    .topbar {
        padding-top: var(--header-top-height);
    }

    .main-nav {
        top: var(--header-top-height);
    }

    /* No mobile permitimos quebra de linhas nos itens para que o conteúdo seja totalmente visível;
           a medição real da altura do header atualiza a variável --header-top-height via JavaScript. */
    .hearder-top {
        display: block;
        padding-left: 8px;
        padding-right: 8px;
    }

    ul.links-menu {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        /* permitir quebra entre <li> */
    }
}

/* Desktop: tornar o header-top fixo e ajustar espaçamento do topbar/main-nav */
@media (min-width: 992px) {
    :root {
        --header-top-height: 56px;
    }

    .hearder-top {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 11000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .topbar {
        padding-top: var(--header-top-height);
    }

    .main-nav {
        top: var(--header-top-height);
    }
}

.phone {
    padding: 2px 0 2px 0;
}

.phone a {
    color: #555;
}

a {
    color: #333;
    text-decoration: none;
    transition: .5s all ease;
}

ul.links-menu {
    display: inline-block;
    margin: 0 0 0 0;
    padding-inline-start: 0px;
    margin-right: 8px;
}

ul.links-menu li {
    display: inline-block;
    text-align: right;
}

ul.links-menu a {
    display: inline-block;
    padding: 0 0 0 8px;
    text-decoration: none;
    color: #555;
    font-weight: 400;
}

ul.links-menu a span {
    border-left: 1px #ccc solid;
    padding-left: 10px;
}

ul.links-menu li:first-child a span {
    border-left: none;
}

a.logo img {
    margin-top: 40px;
    margin-bottom: 40px;
}

.site-logo-image {
    max-height: 120px;
}

@media (min-width: 992px) {
    .site-logo-image {
        max-height: 132px;
    }
}

.mb-0 {
    margin-bottom: 0px !important;
}

.ml-10 {
    margin-left: 10px;
}

.mr-10 {
    margin-right: 10px;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pt-30 {
    padding-top: 30px !important;
}

.footer-ul-item {
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
}

.seo-inner-text {
    height: auto;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.seo-inner-text h1 {
    font-size: clamp(35.2px, 3.96vw, 55px);
    text-align: center;
    margin-bottom: 16px;
}

.seo-inner-text h2 {
    font-size: clamp(19.2px, 2.16vw, 30px);
    text-align: center;
    margin-bottom: 16px;
}

.seo-inner-text h3 {
    font-size: clamp(17.28px, 1.94vw, 27px);
    text-align: center;
    margin-bottom: 16px;
}

.seo-inner-text h4 {
    font-size: clamp(15.55px, 1.75vw, 24.3px);
    text-align: center;
    margin-bottom: 16px;
}

.seo-inner-text h5 {
    font-size: clamp(14.00px, 1.57vw, 21.87px);
    text-align: center;
    margin-bottom: 16px;
}

.seo-inner-text h6 {
    font-size: clamp(12.60px, 1.42vw, 19.68px);
    text-align: center;
    margin-bottom: 16px;
}

ul.contatos li {
    margin: 0 0 16px 0;
    color: var(--bs-heading-color);
}

ul.contatos li a {
    color: var(--bs-heading-color);
}

.info-vitrine article {
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
}

/* Animated show/hide for vitrine items */
.info-vitrine {
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: max-height 360ms ease, opacity 900ms ease, transform 900ms ease;
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
}

.info-vitrine-hidden {
    max-height: 0 !important;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

/* ensure hidden items don't keep internal padding during transition */
.info-vitrine.info-vitrine-hidden {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Animated show/hide for small product lists (oft05/oft06) */
.limited-item {
    transition: max-height 360ms ease, opacity 360ms ease, transform 360ms ease;
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
    overflow: hidden;
}

.limited-hidden {
    max-height: 0 !important;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

/* prevent extra spacing during transition for grid items */
.limited-item.limited-hidden {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mt-40 {
    margin-top: 40px;
}

.info-box-padding {
    padding-top: 40px;
    padding-bottom: 40px;
}

a#btnWhatsApp:hover {
    height: 64px;
    width: 64px;
}

a#btnWhatsApp {
    display: block;
    height: 64px;
    width: 64px;
    position: fixed;
    right: 35px;
    bottom: 15px;
    transition: all 300ms;
    z-index: 100;
}

a#btnWhatsApp>img {
    width: 100%;
    height: auto;
    transition: all 300ms;
}

a#btnWhatsApp.anin_wp:before {
    content: '';
    width: 10px;
    height: 10px;
    background: #52C553;
    position: absolute;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -5;
    animation: pwhap 1.25s linear infinite;
}

/* LGPD modal (bottom-centered drawer) - adapted for Bootstrap 5 */
/* dialog is fixed to bottom and centered horizontally */
#lgpdModal.modal {
    --bs-modal-zindex: 1055;
    pointer-events: auto;
}

#lgpdModalLabel {
    padding-left: 16px;
}

#lgpdModal .modal-dialog {
    position: fixed;
    bottom: 12px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin: 0;
    max-width: 680px;
    width: min(680px, calc(100% - 32px));
    pointer-events: auto;
}

#lgpdModal .modal-content {
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    border: 1px solid rgba(230, 0, 0, 0.08);
    background: linear-gradient(180deg, #ffffff, #fffdfa);
    transition: transform .28s cubic-bezier(.2, .9, .2, 1), opacity .22s ease;
}

/* Header (red theme) */
#lgpdModal .modal-header {
    background: linear-gradient(90deg, var(--xb-red), var(--xb-red-dark));
    color: #fff;
    border-bottom: none;
    padding: 14px 18px;
    align-items: center;
}

#lgpdModal .modal-header .modal-title {
    font-weight: 900;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#lgpdModal .modal-header .lgpd-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

#lgpdModal .btn-close {
    filter: invert(1) brightness(1.2);
    opacity: .95;
}

/* Body */
#lgpdModal .modal-body {
    max-height: 30vh;
    overflow-y: auto;
    padding: 12px 14px;
    color: #222;
    background: transparent;
    font-size: 13px;
    line-height: 1.4;
}

/* Footer buttons styled for red theme */
#lgpdModal .modal-footer {
    background: transparent;
    padding: 8px 14px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    border-top: none;
}

#lgpdModal .btn-primary {
    background: linear-gradient(180deg, var(--xb-red), var(--xb-red-dark));
    border: none;
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.16);
    padding: 8px 14px;
    font-weight: 800;
    border-radius: 8px;
    font-size: 13px;
}

#lgpdModal .btn-outline-secondary {
    border-color: rgba(230, 0, 0, 0.12);
    color: var(--xb-red-dark);
    background: rgba(255, 255, 255, 0.96);
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
}

/* slide-up entrance for drawer */
#lgpdModal.show .modal-dialog {
    transform: translateX(-50%) translateY(0);
}

#lgpdModal .modal-dialog {
    transform: translateX(-50%) translateY(10px);
}

#lgpdModal .modal-body {
    max-height: 30vh;
    overflow-y: auto;
    padding: 12px 14px;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
}

#lgpdModal .modal-footer {
    background: transparent;
    padding: 8px 14px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

h1.titulo-principal {
    font-size: 24px;
    font-weight: 900;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.hero-prod-slot .product-img {
    margin-bottom: 30px !important;
}

/* Ensure on small screens the drawer becomes full-width at the bottom */
@media (max-width: 575px) {
    #lgpdModal .modal-dialog {
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        max-width: 100%;
        margin: 0px auto 40px auto;
        /* remover translateX que desloca o diálogo para fora na maioria dos celulares */
        transform: translateX(0) translateY(0) !important;
        /* espaço horizontal interno para evitar overflow em telas estreitas */
        padding: 0 8px;
    }

    /* garantir que o conteúdo não ultrapasse a altura da viewport e respeite safe-area */
    #lgpdModal .modal-content {
        border-radius: 12px 12px 0 0;
        max-height: calc(100vh - 8px - env(safe-area-inset-bottom));
        overflow: hidden;
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* permitir rolagem apenas no corpo e limitar sua altura para caber na tela */
    #lgpdModal .modal-body {
        max-height: calc(100vh - 92px - env(safe-area-inset-bottom));
        overflow-y: auto;
    }
}

/* Ripple animation used by WhatsApp floating button */
@keyframes pwhap {
    0% {
        width: 10px;
        height: 10px;
        opacity: 0.6;
    }

    100% {
        width: 90px;
        height: 90px;
        opacity: 0;
    }
}

.pagination-area {
    margin-top: 16px;
}

.pagination {
    gap: 6px;
}

.pagination .page-link {
    color: var(--xb-dark);
    background: #fff;
    border: 1px solid var(--xb-line);
    padding: .45rem .62rem;
    border-radius: .5rem;
    min-width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background .12s ease, color .12s ease, transform .08s ease;
}

.pagination .page-link:hover {
    background: rgba(230, 0, 0, 0.03);
    color: var(--xb-red);
    transform: translateY(-2px);
    border-color: rgba(230, 0, 0, 0.08);
}

.pagination .page-item.active .page-link {
    background: var(--xb-red);
    color: #fff;
    border-color: var(--xb-red);
    box-shadow: 0 10px 24px rgba(230, 0, 0, 0.12);
}

.pagination .page-item.disabled .page-link {
    color: var(--xb-muted);
    background: transparent;
    border-color: transparent;
    cursor: default;
}

.pagination .page-link:focus {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    outline: none;
}

/* Pequeno ajuste para ícones/chevrons */
.pagination .page-link span.icon {
    display: inline-block;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .info-vitrine .info-card .info-card-inner {
        max-width: 50%;
        width: 50%;
        /* evitar quebra no meio das palavras; permitir quebra apenas em espaços */
        overflow-wrap: normal;
        word-break: normal;
        white-space: normal;
    }
}
