/**
 * Theme Name:     Go4Marita
 * Author:         Byte to IT
 * Template:       blocksy
 * Text Domain:	   go4marita
 * Description:    Go4Marita is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
*/

/* |general */

/* Show/hide language-marked blocks purely by the <html lang="..."> */
html[lang^="pt"] .en-content { display: none !important; }
html[lang^="en"] .pt-content { display: none !important; }

html {
    font-size: 62.5%;
}

body {
    font-size: 1.8rem;
}

.lang-item .ct-menu-link {
    display: flex;
    gap: .4rem;
    align-items: center;
    border: 1px solid #151611;
    height: 3.2rem !important;
    border-radius: 3.2rem;
    padding: 4px 8px !important;
    font-size: 1.6rem !important;
}

@media (max-width: 999px) {

    .left-bleed,
    .right-bleed {
        width: var(--theme-container-width) !important;
        max-width: var(--theme-normal-container-max-width) !important;
        margin: 0 auto !important;
    }
}

@media (min-width: 1000px) {
    .left-bleed {
        padding-left: calc((100dvw - var(--theme-container-width)) / 2) !important;
    }

    .right-bleed {
        padding-right: calc((100dvw - var(--theme-container-width)) / 2) !important;
    }
}

@media (min-width: 1570px) {
    .left-bleed {
        padding-left: calc((100dvw - var(--theme-normal-container-max-width)) / 2) !important;
    }

    .right-bleed {
        padding-right: calc((100dvw - var(--theme-normal-container-max-width)) / 2) !important;
    }
}

@media (max-width: 767px) {
    .post-type-archive-product .hero-section[data-type=type-2]>[class*=ct-container] {
        padding: 0 0 10rem 0 !important;
    }
}

/* |Nav */

#header {
    z-index: 9999999 !important;
}

.ct-panel-content-inner {
    padding: 36px 20px !important;
}

.mobile-menu>ul li:first-of-type {
    border-top: 0 !important;
}

.mobile-menu>ul li {
    width: 100%;
}

.mobile-menu>ul li a {
    justify-content: center !important;
}

.mobile-menu .secondary-menu a {
    font-size: 1.6rem !important;
    font-weight: 400 !important;
}

.mobile-menu .menu-item-privacy-policy {
    margin-top: 3.2rem;
}

.ct-panel-inner .ct-toggle-close {
    display: none !important;
}

/* |language switcher */

.lang-btn__list {
    list-style: none;
    margin: 0;
    padding:0;
}

.lang-btn__link {
    display: flex;
    gap: .4rem;
    align-items: center;
    color: var(--theme-palette-color-4) !important;
    font-size: 1.4rem;
    border: 1px solid var(--theme-palette-color-4);
    border-radius: 32px;
    padding: .4rem .8rem;
}

/* |best buy */

.bs-inner {
    display: flex;
}

.bs-aside .c-slider__nav {
    background: #EDE1D2;
    border: 1px solid #E3D6C6;
}

.bs-slider .swiper-slide.swiper-slide-active {
    background: #FFF9F2;
    border: 1px solid #E3D6C6;
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, .10);
    border-radius: 2.4rem;
}

.bs-slider .swiper-slide.swiper-slide-active .ptt-arrow {
    opacity: 1;
    visibility: visible;
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 1.2rem;
    bottom: 3.2rem;
    right: 3.2rem;
}

.bs-slider {
    width: 100%;
}

.bs-slider .ptt-card {
    padding: 3.2rem;
}

.bs-slider .ptt-img {
    max-width: 17.5rem;
    max-height: 22.4rem;
    width: 100%;
    height: 100%;
}

.bs-eyebrow {
    font-size: 2.2rem;
    line-height: 3.3rem;
    font-weight: 400;
}

.bs-title {
    font-size: 4rem;
    line-height: 5.2rem;
    margin-bottom: 10rem;
}

.bs-aside .c-slider__nav {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
}

.bs-aside .bs-controls {
    gap: 2rem;
}

.bs-slider .c-slider.swiper {
    /*overflow: visible;*/
    padding: 3.2rem;
}

.bs-aside .c-slider__pagination {
    position: relative;
    margin-top: 8rem;
}

.bs-aside .c-slider__pagination .swiper-pagination-bullet {
    width: 100%;
}

.bs-nav-container.desktop {
    display: block;
}

.bs-nav-container.mobile {
    display: none;
}

@media (min-width: 1000px) {

    .bs-aside {
        flex: 0 0 360px;
    }

    .bs-inner {
        gap: 6.8rem;
    }

}

@media (max-width: 1000px) {

    .bs-slider .swiper-slide.swiper-slide-active {
        border-radius: 1.2rem;
    }

    .bs-title {
        font-size: 3.2rem;
        line-height: 4.6rem;
        margin-bottom: 3.2rem;
    }

    .bs-nav-container.desktop {
        display: none;
    }

    .bs-nav-container.mobile {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 3.2rem;
    }

    .bs-inner {
        flex-direction: column;
    }

    .bs-slider .c-slider.swiper {
        padding: 0;
        overflow: visible;
    }

    .bs-nav-container.mobile .c-slider__nav {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        transform: translateY(0);
    }

    .bs-nav-container.mobile .c-slider__pagination {
        position: relative;
    }

    .bs-nav-container.mobile .bs-controls {
        display: flex;
        gap: .8rem;
        justify-content: end;
        margin-top: 2rem;
    }

    .bs-nav-container.mobile .c-slider__nav {
        background: #EDE1D2;
        border: 1px solid #E3D6C6;
    }

    .bs-slider .swiper-slide.swiper-slide-active .ptt-arrow {
        width: 4rem;
        height: 4rem;
        border-radius: .6rem;
        bottom: 1.6rem;
        right: 1.6rem;
    }

    .bs-slider .ptt-card {
        padding: 1.6rem;
    }

}

@media (max-width: 767px) {
    .bs-slider .ptt-img {
        max-width: 13.5rem;
        max-height: 17.6rem;
        width: 100%;
        height: 100%;
    }
}

/* |Product Slidewhow */

[data-prefix="woo_categories"] .hero-section[data-type="type-2"] {
    background-color: var(--theme-palette-color-2);
}

.post-type-archive-product .site-main .ct-container {
    display: none;
}

.post-type-archive-product .page-title {
    display: none;
}

.post-type-archive-product .hero-section[data-type=type-2]>[class*=ct-container] {
    padding: 2.4rem 0 10rem 0;
}

/* ---------- Layout & Tabs ---------- */
.ps-wrap {
    --ps-gap: clamp(18px, 2.4vw, 28px);
    --ps-radius: 16px;
    --ps-bg: #e6f0e6;
}

.ps-wrap .c-tabs__list {
    justify-content: center;
}

.c-tabs__list {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.c-tabs__tab {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    padding: .8rem 1.4rem;
    border-radius: 99.9rem;
    cursor: pointer;
    transition: all .2s ease;
    font-weight: 600;
    opacity: .5;
}

.c-tabs__tab.is-active,
.c-tabs__tab:hover {
    opacity: 1;
}

.c-tabs__panel {
    display: none;
}

.c-tabs__panel.is-active {
    display: block;
}

/* ---------- Swiper skin ---------- */
.ps-swiper {
    position: relative;
}

.c-slider__pagination {
    position: relative;
    margin-top: 1.6rem;
}

.c-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    background: #E6F1E4;
    border: 1px solid #A6C0A0;
    z-index: 5;
    cursor: pointer;
    transition: 200ms all ease;
}

.c-slider__nav:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .12);
}

.c-slider__nav--prev {
    left: .8rem;
}

.c-slider__nav--next {
    right: .8rem;
}

@media (max-width: 1000px) {

    .c-tabs__list {
        margin-bottom: 2rem !important;
    }
}

/* ---------- Slide grid ---------- */

.ps-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--ps-gap);
    align-items: center;
    border-radius: var(--ps-radius);
    overflow: hidden;
}

@media (max-width: 1000px) {
    .ps-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Imagery stack ---------- */
.ps-visual {
    position: relative;
}

.ps-img-stage {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    margin-inline: auto;
}

.ps-img-stage img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    will-change: transform, opacity;
}

.ps-bg {
    z-index: 1;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .08));
    max-width: 95%;
}

.ps-main {
    z-index: 2;
}

.ps-fg {
    z-index: 3;
    max-width: 60%;
}

/* ---------- Content ---------- */
.ps-content {
    text-align: start;
}

.ps-cat {
    font-size: 1.6rem;
    opacity: .5;
}

.ps-title {
    font-size: 6rem;
    line-height: 6.5rem;
    margin: 0 0 .8rem 0;
}

.ps-tags {
    list-style: none;
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    padding: 0;
}

.ps-tag {
    background: #E6F1E4;
    border: 1px solid #A6C0A0;
    border-radius: 3.2rem;
    padding: .4rem .8rem;
    font-size: 1.2rem;
    font-weight: 400;
}

.ps-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    max-width: 37rem;
}

.ps-price {
    font-size: 3.2rem;
    line-break: 4.5rem;
    font-weight: 600;
}

.ps-weight,
.ps-attr {
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.ps-weight {
    font-weight: 400;
}

.ps-attr {
    font-weight: 500;
}

.ps-desc p {
    font-size: 1.8rem;
    margin-bottom: 3.2rem;
}

.ps-btn {
    padding: .8rem 1.6rem;
    border-radius: 1.2rem;
    background-color: #151611;
    color: #ffffff;
}

@media (max-width: 768px) {
    .ps-img-stage {
        max-width: 90%;
    }

    .ps-cat {
        font-size: 1.4rem;
    }

    .ps-title {
        font-size: 4rem;
        line-height: 4.5rem;
    }

    .ps-price {
        font-size: 2.2rem;
    }

    .ps-desc p {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .ps-meta {
        margin: 1.2rem 0;
    }
}

/* ---------- Smooth transitions between slides ---------- */
.ps-slide.swiper-slide {
    transition: opacity .6s ease, transform .6s ease;
}

@media (min-width: 1000px) {
    .ps-slide.swiper-slide {
        padding: 0 7.5rem;
    }
}

.ps-slide.swiper-slide-active .ps-bg {
    animation: ps-parallax-bg .9s ease both;
}

.ps-slide.swiper-slide-active .ps-main {
    animation: ps-pop .9s cubic-bezier(.2, .8, .2, 1) both;
}

.ps-slide.swiper-slide-active .ps-fg {
    animation: ps-parallax-fg 1s ease both;
}

@keyframes ps-parallax-bg {
    from {
        transform: translate(-50%, -48%) scale(.98);
        opacity: .6;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes ps-pop {
    from {
        transform: translate(-50%, -46%) scale(.94);
        opacity: .0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes ps-parallax-fg {
    from {
        transform: translate(-52%, -52%) scale(.96);
        opacity: .0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@media (max-width: 1000px) {
    .c-slider-controls {
        display: flex;
        flex-direction: column-reverse;
    }

    .c-slider-controls .c-slider__nav-container {
        position: relative;
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 8px;
    }

    .c-slider__nav-container {
        margin-top: 2rem;
    }

    .c-slider-controls .c-slider__nav {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        transform: translateY(0);
    }

    .c-slider-controls .c-slider__pagination {
        position: relative;
        display: flex;
        justify-content: start;
    }
}

/* ---------- Products grid under the slider ---------- */
.ps-list {
    margin-top: clamp(1.4rem, 2.2vw, 2.4rem);
}

.ps-list .ptt-card .ptt-img {
    max-width: 17.5rem;
    max-height: 22.4rem;
    width: 100%;
    height: 100%;
}

.ps-cards {
    display: grid;
    gap: clamp(1.2rem, 2vw, 1.8rem);
}

.ps-cards .ptt-card {
    border-radius: 2.4rem;
}

.ps-cards.ps-cols-1 {
    grid-template-columns: 1fr;
}

.ps-cards.ps-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ps-cards.ps-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ps-cards.ps-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1000px) {
    .ps-list .ptt-card .ptt-img {
        max-width: 13.5rem;
        max-height: 17.6rem;
        width: 100%;
        height: 100%;
    }

    .ps-cards .ptt-card {
        border-radius: 1.2rem;
    }
}

@media (max-width: 1024px) {

    .ps-cards.ps-cols-3,
    .ps-cards.ps-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ps-cards {
        grid-template-columns: 1fr !important;
    }
}

.ps-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.ps-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.ps-card-link {
    display: grid;
    grid-template-columns: 150px 1fr 38px;
    gap: 2rem;
    align-items: center;
    padding: 1.6rem 1.8rem;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 640px) {
    .ps-card-link {
        grid-template-columns: 110px 1fr 32px;
    }
}

.ps-card-media img {
    width: 100%;
    height: auto;
    display: block;
}

.ps-card-body {
    min-width: 0;
}

.ps-card-cat {
    display: inline-block;
    font-size: .85rem;
    opacity: .7;
    margin-bottom: .8rem;
}

.ps-card-title {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    margin: 0 0 .8rem;
    line-height: 1.2;
}

.ps-card-desc {
    margin: 0 0 1rem;
    opacity: .85;
    font-size: .95rem;
}

.ps-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ps-card-price {
    font-weight: 700;
}

.ps-card-cta {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-size: 2.2rem;
    line-height: 1;
}

.ps-card:hover .ps-card-cta {
    transform: translateX(2px);
}

/* |Product tags */

/* ---------- Wrapper & tokens ---------- */
.ptt-wrap {
    --ptt-gap: clamp(1.4rem, 1.8vw, 2.2rem);
    --ptt-radius: 1.4rem;
    --ptt-bg: #c8dfc6;
}

.c-tabs__list {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.c-tabs__tab {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    padding: .8rem 1.4rem;
    border-radius: 99.9rem;
    border: 1px solid #A6C0A0;
    cursor: pointer;
    transition: all .2s ease;
    font-weight: 600;
    opacity: .5;
}

.c-tabs__tab.is-active,
.c-tabs__tab:hover {
    opacity: 1;
    background-color: #E6F1E4;
    color: #151611;
}

.c-tabs__panel {
    display: none;
}

.c-tabs__panel.is-active {
    display: block;
}

/* ---------- Grid ---------- */
.ptt-grid {
    display: grid;
    grid-template-columns: repeat(var(--ptt-cols, 4), minmax(0, 1fr));
    gap: var(--ptt-gap);
}

@media (max-width: 1100px) {
    .ptt-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 840px) {
    .ptt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .ptt-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Card ---------- */
.ptt-card {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row;
    gap: 2rem;
    border-radius: .6rem;
    padding: 1.2rem;
    text-decoration: none;
    color: #151611;
    transition: transform .2s ease, box-shadow .2s ease;
}

.c-tabs__panels .ptt-card {
    border: 1px solid var(--theme-palette-color-2);
}

.ptt-card:hover {
    color: #151611 !important;
}

.c-tabs__panels .ptt-card:hover {
    background: #E6F1E4;
    border: 1px solid #A6C0A0;
    transform: translateY(-2px);
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, .10);
}

.ptt-img {
    max-width: 9.2rem;
    max-height: 11.5rem;
    width: 100%;
    height: 100%;
}

.ptt-img img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
}

.ptt-body {
    text-align: start;
    margin-top: 1rem;
}

.ptt-kicker {
    display: block;
    font-size: 1.4rem;
    opacity: .5;
    margin-bottom: .4rem;
}

.ptt-title {
    font-size: 1.8rem;
    line-height: 2.7rem;
    margin: 0 0 1.2rem 0;
    font-weight: 500;
}

.ptt-price {
    font-weight: 600;
    font-size: 2.2rem;
    line-height: 3.3rem;
}

.ptt-arrow {
    position: absolute;
    display: grid;
    opacity: 0;
    visibility: hidden;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: .6rem;
    place-items: center;
    background: #151611;
    color: #ffffff;
    font-size: 3.2rem;
    line-height: 1;
    transition: all .2s ease;
}

.ptt-card:hover .ptt-arrow {
    opacity: 1;
    visibility: visible;
}

/* Accessibility helper for screen readers */
.screen-reader-text {
    position: absolute !important;
    height: .1rem;
    width: 1rem;
    overflow: hidden;
    clip: rect(.1rem, .1rem, .1rem, .1rem);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* |Testimonials */

/* ---------- Layout ---------- */
.ts-wrap {
    --ts-gap: clamp(1.6rem, 2vw, 2.8rem);
    --ts-bg: #fbf2e9;
}

.ts-inner {
    padding: clamp(.8rem, 1.6vw, 1.4rem) 0;
}

/* ---------- Slide/Card ---------- */
.ts-card {
    max-width: 100%;
}

.ts-stars {
    display: flex;
    gap: .8rem;
    margin: .4rem 0 .1rem;
}

.ts-star {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-block;
    background: #d5e6d2;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.ts-star.ts-full {
    background: #2f6f3f;
}

.ts-star.ts-half {
    background: linear-gradient(90deg, #2f6f3f 0 50%, #d5e6d2 50% 100%);
}

blockquote:where(:not(.is-style-plain):not(.has-text-align-center):not(.has-text-align-right)) {
    padding-inline-start: 0 !important;
}

blockquote:where(:not(.is-style-plain)):where(:not(.has-text-align-center):not(.has-text-align-right)) {
    border-inline-start: 0 !important;
}

.ts-quote {
    font-size: 5rem;
    line-height: 7.5rem;
    margin: 0 0 1.8rem;
    font-weight: 400;
    color: #151611;
}

.ts-quote p {
    margin: 0;
}

.ts-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ts-name {
    font-size: 2.2rem;
    line-height: 2.8rem;
    font-weight: 500;
}

.ts-loc {
    opacity: .75;
}

@media (max-width: 780px) {
    .ts-quote {
        font-size: 3rem;
        line-height: 4.8rem;
    }
}

/* ---------- Swiper ---------- */
.c-slider {
    overflow: hidden;
}

.c-slider .swiper-wrapper {
    align-items: center;
}

.c-slider .swiper-slide {
    display: flex;
    justify-content: flex-start;
}

.ts-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: clamp(14px, 1.6vw, 18px);
}

.ts-inner .c-slider__nav {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
}

.ts-inner .c-slider__nav {
    background: #EDE1D2;
    border: 1px solid #E3D6C6;
}

.ts-inner .c-slider__pagination .swiper-pagination-bullet {
    width: 5.5rem;
}

.ts-inner .c-slider__pagination {
    position: relative;
    justify-content: start;
}

@media (max-width: 780px) {
    .ts-inner .ts-bottom {
        display: flex;
        flex-direction: column;
    }

    .ts-inner .ts-controls {
        margin-top: 2rem;
        justify-content: end;
        width: 100%;
    }
}

/* Pagination styled as small bars */
.c-slider__pagination .swiper-pagination-bullet {
    width: 100%;
    height: 7px;
    border-radius: 7px;
    background: #EDE1D2;
    opacity: 1;
    margin: 0 .2rem !important;
}

.c-slider__pagination .swiper-pagination-bullet-active {
    background: #151611;
}

/* Arrows (bottom-right) */
.ts-controls {
    display: flex;
    gap: 10px;
}

@media (max-width: 780px) {
    .ts-card {
        max-width: 100%;
    }

    .c-slider__pagination .swiper-pagination-bullet {
        width: 100%;
    }
}

/* Accessibility helper */
.screen-reader-text {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* Unified components */

/* |tabs */

.c-tabs {
    display: block;
}

.c-tabs__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 999px;
    background: #E6F1E4;
    border: 1px solid #A6C0A0;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 2.7rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.c-tabs__tab:hover {
    border-color: rgba(0, 0, 0, .25);
}

.c-tabs__tab.is-active,
.c-tabs__tab[aria-selected="true"] {
    background: #E6F1E4;
    color: #151611;
}

.c-tabs__panels {
    display: block;
    min-height: 445px;
    height: auto;
    transition: 500ms all ease;
}

.c-tabs__panel {
    display: none;
}

.c-tabs__panel.is-active {
    display: block;
}

.c-slider {
    position: relative;
}

.c-slider .swiper-wrapper {
    align-items: stretch;
}

.c-slider .swiper-slide {
    height: auto;
}

.c-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 1.2rem;
    background: #E6F1E4;
    color: #151611;
    cursor: pointer;
    user-select: none;
}

.c-slider__nav--prev {
    left: .5rem;
}

.c-slider__nav--next {
    right: .5rem;
}

.c-slider__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.c-slider__pagination .swiper-pagination-bullet {
    pointer-events: auto;
}

.c-slider__pagination.swiper-pagination-fraction {
    pointer-events: auto;
}

/* |slider product images */

.acf-swiper .ts-bottom {
    position: absolute;
    bottom: 3.2rem;
    width: 100%;
    padding: 0 3.2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.acf-swiper .c-slider__nav {
    position: relative;
    z-index: 2;
    top: unset;
    left: unset;
    right: unset;
    transform: translateY(0);
}

.acf-swiper .c-slider__pagination {
    position: relative;
    z-index: 2;
    justify-content: start;
}

.acf-swiper .c-slider__pagination .swiper-pagination-bullet {
    width: 5.6rem;
    background: #E6F1E4;
}

.acf-swiper .c-slider__pagination .swiper-pagination-bullet-active {
    background: #B8D5B2;
}

@media (max-width: 1000px) {
    .acf-swiper .ts-bottom {
        position: relative;
        bottom: unset;
        padding: 0;
        flex-direction: column;
    }

    .acf-swiper .c-slider__pagination .swiper-pagination-bullet {
        background: #EDE1D2;
    }

    .acf-swiper .c-slider__pagination .swiper-pagination-bullet-active {
        background: #151611;
    }

    .acf-swiper .ts-controls {
        justify-content: end;
        width: 100%;
    }

    .acf-swiper .c-slider__nav {
        background: #EDE1D2;
        border: 1px solid #E3D6C6;
    }
}

/* |profile page */

.liquidwave-container {
    margin-top: -16rem;
}

.b2i-user-profile {
    padding: 14rem 0;
}

/* Layout */
.b2i-hero {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: start
}

.b2i-hero .b2i-swiper,
.b2i-hero .b2i-content {
    width: 50%;
    flex: 0 0 50%;
}

@media (max-width:1000px) {
    .b2i-hero {
        flex-direction: column;
        padding: 0 20px;
    }

    .b2i-hero .b2i-swiper, 
    .b2i-hero .b2i-content {
        width: 100%;
        flex: 0 0 100%;
    }

    .b2i-user-profile {
        padding: 8.5rem 0;
    }

    .b2i-hero {
        grid-template-columns: 1fr
    }

}

@media (max-width:767px) {
    .b2i-title {
        font-size: 4rem !important;
        line-height: 4.5rem !important;
    }

    .b2i-quote blockquote {
        font-size: 2.2rem;
        line-height: 3.7rem;
    }    
}

/* Left (Swiper) */

.b2i-swiper .swiper {
    max-width: 55rem;
    width: 100%;
    height: 100%
}

.b2i-swiper .c-slider__pagination {
    max-width: 38.3rem;
    margin: 0 auto;
}

.b2i-swiper .c-slider__pagination .swiper-pagination-bullet {
    background: #A6C0A0;
}

.b2i-swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #151611;
}

.b2i-swiper .ts-bottom {
    margin-top: 3.2rem;
}

.b2i-slide {
    display: flex !important;
    align-items: center;
    justify-content: center
}

.b2i-slide img {
    width: 75%;
    height: auto;
    border-radius: 999px;
    object-fit: cover
}

.b2i-swiper .swiper-pagination {
    position: relative;
    margin-top: 16px
}

.b2i-swiper .swiper-button-prev,
.b2i-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08)
}

.b2i-swiper .swiper-button-prev:after,
.b2i-swiper .swiper-button-next:after {
    font-size: 16px;
    color: #333
}

/* Right */
.b2i-title {
    font-size: 6rem;
    line-height: 6.5rem;
    margin: 0 0 8px;
    font-weight: 700;
}

.b2i-badges {
    display: inline-flex;
    gap: 8px;
    margin: 6px 0 10px
}

.b2i-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    line-height: 1;
    border-radius: .6rem;
    padding: 4px 8px;
    background: #E6F1E4;
    border: 1px solid #A6C0A0;
    color: #151611;
}

.b2i-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #1f2937;
    margin-bottom: 14px
}

.b2i-contacts a {
    margin-top: 3px;
    color: var(--theme-palette-color-4) !important;
    text-decoration: none;
    border-bottom: 1px dashed transparent
}

.b2i-contacts a:hover {
    border-bottom-color: #1f2937
}

.b2i-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.b2i-contact-item svg {
    width: 16px;
    height: 16px
}

.b2i-bio {
    margin: 14px 0 18px
}

.b2i-links {
    display: flex;
    flex-direction: column;
    gap: 10px 12px;
    max-width: 640px;
    margin: 8px 0 18px
}

.b2i-linkline {
    display: flex;
    gap: .8rem;
}

.b2i-linkpill {
    max-width: 34.5rem;
    width: 100%;
    background: #E6F1E4;
    border: 1px solid #A6C0A0;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.b2i-copybtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer
}

.b2i-copybtn:disabled {
    opacity: .7;
    cursor: default
}

.b2i-quote {
    margin-top: 12px;
    padding: 12px 0 0;
    font-size: 3rem;
    line-height: 4.9rem;
}

.b2i-quote blockquote {
    margin: 0;
    font-style: normal;
}

.b2i-quote footer {
    font-size: 1.8rem;
    margin-top: 8px;
    font-weight: 500;
}

/* Admin debug */
.b2i-debug {
    max-width: 1200px;
    margin: 12px auto 0;
    padding: 12px 16px;
    background: #fff8dd;
    border: 1px solid #f2e1a8;
    border-radius: 8px;
    font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
}

/* |User Grid */

/* Grid wrapper */
.b2i-collab-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    text-align: center
}

.b2i-collab-grid .b2i-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
}

@media (max-width: 1000px) {
    .b2i-collab-grid {
        padding: 0;
    }

    .b2i-collab-grid .b2i-grid {
        gap: 1.2rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .b2i-collab-grid .b2i-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card */
.b2i-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center
}

.b2i-avatar-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99.9rem;
    overflow: hidden;
}

.b2i-avatar-wrap img {
    transition: 500ms all ease;
}

.b2i-card:hover .b2i-avatar-wrap img {
    transform: scale(1.05);
}

.b2i-avatar {
    width: 100%;
    height: 100%;
    max-width: 44.7rem;
    object-fit: cover;
}

.b2i-name {
    margin-top: 1.8rem;
    font-weight: 500;
    color: #151611;
}

/* Badges */
.b2i-card .b2i-badges {
    position: absolute;
    z-index: 2;
    bottom: 6.4rem;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 6px;
    flex-wrap: wrap
}

/* CTA button */
.b2i-cta {
    margin-top: 20px
}

.b2i-btn {
    margin-top: 8rem;
    display: inline-block;
    padding: 1rem 1.6rem;
    border-radius: 1.2rem;
    border: 1px solid #151611;
    color: #151611;
    text-decoration: none;
    transition: .2s ease;
}

.b2i-btn:hover {
    transform: translateY(-1px);
    background: #151611;
    color: #FDF6ED;
}

@media (max-width: 767px) {
    .b2i-card .b2i-badges {
        transform: scale(.5);
        bottom: 4rem;
        right: -4rem;
    }
}

/* |colaborators */

.b2i-collab-archive {
    padding: 14rem 2rem;
}

/* |user testemonial */

.g4m-title {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 3.2rem;
}

.g4m-slide-inner {
    display: flex !important;
    align-items: center;
    gap: 7rem;
    max-width: 1170px;
    margin: 0 auto;
}

.g4m-quote blockquote {
    font-size: 3.2rem;
    line-height: 6.5rem;
}

.g4m-quote .g4m-author {
    margin-top: 2rem;
    font-size: 1.8rem;
}

.g4m-portrait-wrap {
    max-width: 33.7rem;
    max-height: 44.7rem;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 99.9rem;
}

.g4m-portrait-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g4m-swiper .c-slider__pagination {
    position: relative;
    margin-top: 3.2rem;
}

.g4m-swiper .c-slider__pagination .swiper-pagination-bullet {
    width: 5.2rem;
    background: #A6C0A0;
}

.g4m-swiper .c-slider__pagination .swiper-pagination-bullet-active {
    background: #151611;
}

.user-profile-container {
    padding: 6rem 0;
}

@media (max-width: 1000px) {

    .g4m-quote blockquote {
        font-size: 2.2rem;
        line-height: 3.7rem;
    }

    .b2i-btn {
        margin-top: 3.2rem;
    }

    .g4m-title {
        text-align: start;
    }

    .g4m-slide-inner {
        flex-direction: column-reverse;
    }

    .ts-bottom {
        flex-direction: column;
    }

    .ts-bottom .ts-controls {
        justify-content: end;
        width: 100%;
    }

    .ts-bottom .c-slider__nav {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        transform: translateY(0);
    }

    .ts-bottom .c-slider__pagination {
        position: relative;
        justify-content: start;
    }

    .g4m-slide-inner {
        align-items: start;
        gap: 1.2rem;
    }

    .g4m-portrait-wrap {
        max-width: 15.7rem;
    }
}

@media (max-width: 767px) {
    .b2i-collab-archive {
        padding: 8rem 2rem;
    }
    
    .b2i-archive-title {
        font-size: 4rem;
        line-height: 4.5rem;
    }

    .user-profile-container {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .b2i-collab-archive.b2i-collab-grid .b2i-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .b2i-collab-archive.b2i-collab-grid .b2i-card .b2i-badges {
        transform: scale(1);
        bottom: 6.4rem;
        right: 0;
    }
}

/* |form */

/* Grid helpers */

.register label {
    font-size: 1.4rem !important;
    color: #151611;
    font-weight: 400 !important;
}

.register .row {
    margin-bottom: 1.2rem;
}

.register .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.register .two-col .col {
    width: 100%;
}

/* Inputs look */
.register input[type="text"],
.register input[type="email"],
.register input[type="tel"],
.register textarea {
    width: 100%;
    border: 1px solid #A6C0A0;
    background: #E6F1E4;
    border-radius: 6px;
    padding: 10px 12px;
}

.register input[type="text"],
.register input[type="email"],
.register input[type="tel"] {
    height: 4.4rem;
}

/* File row */
.register .file-row p {
    display: flex;
    align-items: center;
    gap: 12px;
}

.register .file-label input[type="file"] {
    /* hide the raw input but keep accessibility */
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.register .file-label br {
    display: none;
}

.register .file-btn {
    display: inline-block;
    background: #E6F1E4;
    border: 1px solid #A6C0A0;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
}

.register .file-hint {
    font-size: 1.4rem;
}

/* Submit button */
.register input[type="submit"] {
    background: #151611;
    color: #fff;
    border: none;
    border-radius: 1.2rem;
    padding: 12px 18px;
    cursor: pointer;
}

.register .submit-row {
    margin-top: 3.2rem;
}

@media (max-width: 768px) {
    .register .two-col {
        grid-template-columns: 1fr;
    }
}

/* |banner */

.acf-banner-grid {
    display: flex;
}

.acf-banner-grid .acf-banner-left,
.acf-banner-grid .acf-banner-right {
    width: 50%;
    flex: 0 0 50%;
    aspect-ratio: 1 / 1;
}

.acf-swiper-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

@media (max-width: 1000px) {
    .acf-banner-grid {
        flex-direction: column;
    }

    .acf-banner-grid .acf-banner-left,
    .acf-banner-grid .acf-banner-right {
        width: 100%;
        flex: 0 0 100%;
    }
}

.acf-banner-grid .acf-banner-left {
    background-position: 50% 50%;
    background-size: cover;
    padding: 3.2rem;
    display: flex;
    align-items: end;
    justify-content: start;
}

.acf-banner-card {
    background: rgba(255, 255, 255, .85);
    padding: 2rem;
    border-radius: 1.2rem;
    max-width: 41.3rem;
}

.acf-banner-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: .8rem;
}

.acf-banner-text {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
}

.acf-banner-cta {
    font-size: 1.4rem;
    font-weight: 400;
    color: #151611;
    text-decoration: underline;
}

.acf-banner-cta:hover {
    color: #151611;
}

.acf-banner-card.desktop {
    display: block;
}

.acf-banner-card.mobile {
    display: none;
}

@media (max-width: 1000px) {

    .acf-banner-card.desktop {
        display: none;
    }

    .acf-banner-card.mobile {
        display: block;
        background: transparent;
        padding: 0;
        margin: 1.2rem 0 3.2rem 0;
    }
}

/* |contact form */

.contact-block {
    aspect-ratio: 1 / 1;
}

.cf7-contact br {
    display: none;
}

/* Layout */
.cf7-contact .cf7-row {
    display: grid;
    gap: 24px;
}

.cf7-contact .cf7-row--2 {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
    .cf7-contact .cf7-row--2 {
        grid-template-columns: 1fr;
    }
}

/* Campos */

.contact-map {
    overflow: hidden;
    border-radius: 999.9rem;
}

@media (max-width: 767) {
    .contact-map {
        border-radius: 2rem;
    }
}

.cf7-contact .cf7-field {
    display: grid;
    gap: 8px;
}

.cf7-contact label {
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    color: #151611;
    margin-bottom: 0;
}

/* Inputs iguais à imagem */
.cf7-contact input[type="text"],
.cf7-contact input[type="email"],
.cf7-contact input[type="tel"],
.cf7-contact textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E3D6C6;
    border-radius: 4px;
    background: #EDE1D2;
    /* bege */
    outline: none;
    font: inherit;
    margin-bottom: 1.2rem;
}

.cf7-contact textarea {
    min-height: 160px;
    resize: vertical;
}

/* Botão */
.cf7-contact .cf7-actions {
    margin-top: 16px;
}

.cf7-contact input[type="submit"] {
    background: #000;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 14px 24px;
    cursor: pointer;
    font-weight: 600;
}

.cf7-contact input[type="submit"]:hover {
    filter: brightness(1.05);
}

/* |footer */

.ct-footer .menu-item .ct-menu-link {
    display: none;
}

.ct-footer .lang-item.menu-item .ct-menu-link {
    display: flex;
}

.ct-footer .lang-item .ct-menu-link {
    border: 1px solid #ffffff;
}

.ct-footer .lang-item .ct-menu-link::before {
    filter: invert(1);
}