/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

@media (max-width: 991.98px) {

    .section-title h5::before,
    .section-title h5::after {
        display: none;
    }
}



.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.service-item:hover .bg-light {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.bg-offer {
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

/*NOVO CSS*/

.img-quadrada {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.pulse {
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

#btn-carrinho {
    position: fixed;
    top: 170px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 60%, transparent);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

#btn-carrinho:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px color-mix(in srgb, var(--primary) 80%, transparent);
    background: var(--secondary);
    border-color: rgba(255, 255, 255, 0.3);
}

#btn-carrinho i {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-3px);
    }

    60% {
        transform: translateY(-2px);
    }
}

#btn-carrinho strong {
    background: var(--color-danger);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#carrinho-lateral {
    position: fixed;
    right: -400px;
    top: 0;
    width: 380px;
    max-width: 100vw;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.7);
}

.header-carrinho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    background: rgba(249, 250, 251, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.header-carrinho h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-heading);
}

.header-carrinho button {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-danger);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    padding: 0;
}

.header-carrinho button:hover {
    background: var(--color-danger);
    color: #fff;
    transform: rotate(90deg);
}

#itens-carrinho {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
    min-height: 0;
}

.item-carrinho {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    padding: 18px 0;
    transition: transform 0.2s;
    display: flow-root;
}

.item-carrinho:hover {
    transform: translateX(4px);
}

.item-carrinho button {
    background: #f8f9fa;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 11px;
    color: #4b5563;
    margin: 0 4px;
}

.item-carrinho button:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: scale(1.05);
}

.item-carrinho div[style*="float:right"] {
    text-align: right;
    margin-top: -15px;
}

.item-carrinho div[style*="float:right"] button {
    width: auto;
    height: auto;
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.1);
    border: none;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 600;
}

.item-carrinho div[style*="float:right"] button:hover {
    background: var(--color-danger);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.2);
}

.footer-carrinho {
    padding: 25px;
    background: rgba(249, 250, 251, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.footer-carrinho h5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: 25px;
    margin-top: 0;
}

.footer-carrinho h5 span {
    color: var(--color-success);
    font-size: 1.45rem;
    font-weight: 800;
}

.btn-finalizar {
    width: 100%;
    padding: 14px 20px;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 12px;
}

.btn-finalizar:last-child {
    margin-bottom: 0;
}

.btn-finalizar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.05);
}

.btn-finalizar:active {
    transform: translateY(1px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-pix {
    background: linear-gradient(135deg, #32BCA4, #0B9889);
    box-shadow: 0 4px 10px rgba(50, 188, 164, 0.3);
}

.btn-cartao {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.toast-show {
    opacity: 1 !important;
    bottom: 40px !important;
    /* Slightly higher for premium feel */
}

#toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 60%, transparent);
    font-weight: 600;
    font-size: 1.05rem;
    z-index: 999999;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.typewriter::after {
    content: "|";
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* THEME CUSTOMIZER SIDEBAR & BUTTON */
.btn-theme-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 60%, transparent);
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-theme-toggle:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 25px color-mix(in srgb, var(--primary) 80%, transparent);
    background: var(--secondary);
    border-color: rgba(255, 255, 255, 0.3);
}

.theme-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 10002;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.theme-sidebar.open {
    right: 0;
}

.theme-sidebar-header {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-sidebar-body {
    flex: 1;
    overflow-y: auto;
}

.form-control-color {
    height: 45px;
    padding: 5px;
}

/* FOOTER PAYMENTS & SHIPPING */
.footer-payments-shipping {
    background-color: var(--primary);
    padding: 14px 0;
}

.footer-payments-shipping .payment-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.footer-payments-shipping h5 {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.icon-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
}

.icon-list img {
    height: 20px;
    width: auto;
    background: #fff;
    padding: 1px 4px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    display: inline-block;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .footer-payments-shipping .payment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .icon-list {
        flex-wrap: wrap;
    }
}

/* PREMIUM GLOSSY BUTTON STYLE (NOW SQUARE AND SOLID) */
.btn-glass-primary {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 0 !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    transition: .5s !important;
}

.btn-glass-primary:hover {
    transform: none !important;
    box-shadow: none !important;
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #fff !important;
}

/* ===================================================
   PRODUCT CARD — Padrão Unificado
   Aplica-se a todos os contextos: index, departamento,
   produto (relacionados) e destaques.
   =================================================== */

/* Wrapper externo (substitui col-lg-4 puro) */
.product-card-wrapper {
    display: flex;
    flex-direction: column;
}

/* Dentro do Owl Carousel: ocupa 100% do slot do slide */
.price-carousel .product-card-wrapper {
    width: 100%;
    display: block;
}

/* Imagem no modo carrossel: não cortar o produto */
.price-carousel .product-card-wrapper .product-card-img {
    height: 220px;
    object-fit: contain;
    background: transparent;
}

/* Card principal */
.product-card-wrapper .team-item {
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.product-card-wrapper .team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Imagem do produto */
.product-card-wrapper .team-item img.product-card-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.product-card-wrapper .team-item:hover img.product-card-img {
    transform: scale(1.06);
}

/* Badge ESGOTADO */
.product-card-wrapper .badge-esgotado {
    position: absolute;
    top: 15px;
    left: 0;
    background: #dc2626;
    color: #fff;
    padding: 4px 14px;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
    z-index: 10;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-card-wrapper .team-text {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-wrapper .team-text .row.mt-2 {
    margin-top: auto !important;
}

/* Nome do produto */
.product-card-wrapper .team-text .product-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.35;
    color: var(--font-secondary) !important;
    transition: color 0.3s ease;
}

.product-card-wrapper .team-text a:hover .product-card-name {
    color: var(--primary) !important;
}

/* Bloco de preços */
.product-card-wrapper .product-card-price-block {
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.product-card-wrapper .product-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--font-secondary) !important;
    margin: 0;
    line-height: 1.2;
}

.product-card-wrapper .product-card-price-old {
    font-size: 0.82rem;
    color: var(--font-secondary) !important;
    opacity: 0.7;
    margin: 0;
    text-decoration: line-through;
}

/* Botões dos cards — hover via CSS */
.product-card-wrapper .btn {
    box-shadow: none !important;
    transition: transform 0.25s ease, background-color 0.3s ease, border-color 0.3s ease !important;
}

.product-card-wrapper .btn:hover:not(:disabled) {
    transform: scale(1.05);
}

.product-card-wrapper .btn:active:not(:disabled) {
    transform: scale(0.98);
}

/* Responsividade: 2 colunas em tablets (md) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .product-card-wrapper {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* 1 coluna em mobile */
@media (max-width: 767.98px) {
    .product-card-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Overrides para diminuir espaco do header das paginas internas */
.hero-header.py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.hero-header .row.py-3 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }

.hero-header.mb-5 { margin-bottom: 1.5rem !important; }
.hero-header h1.display-3 { font-size: 3rem !important; margin-bottom: 0.5rem !important; }

