/*

Theme Name: Mazrry Child
Theme URI: https://mazrry.hitechsp.com.br/
Description: Tema filho Mazrry — personalizações desenvolvidas pela HitecheSP para a Mazrry.
Author: HitecheSP
Author URI: https://hitechsp.com.br
Template: mazrry
Version: 1.0.0
Text Domain: mazrry-child

*/
footer#site-footer .copyright-section .footer_text {
    text-align: center;
    font-size: 13px;
}

.blog-content-area .grid-container, .content-area .grid-container, .post-content-area .grid-container {
    padding-top: 0rem;
}

/* =========================================================
   LOGO CENTRALIZADO ACIMA DO RODAPÉ
========================================================= */
.site-footer-inner::before {
    content: "";
    display: block;
    width: 100%; /* Garante que ocupe o centro da tela toda */
    height: 140px; /* Altura ideal para o monograma "MA" respirar */
    background-image: url('https://mazrry.hitechsp.com.br/wp-content/uploads/2026/02/Logotipo-MAZRRY-10.png');
    background-size: contain; /* MantÃ©m a proporÃ§Ã£o da imagem sem cortar */
    background-repeat: no-repeat;
    background-position: center top;
    margin-bottom: 70px; /* EspaÃ§o em branco elegante entre o logo e as colunas */
    opacity: 1;
}

/* Ajuste no mobile para o respiro nÃ£o ficar tÃ£o grande na tela pequena */
@media (max-width: 768px) {
    .site-footer-inner::before {
        height: 90px;
        margin-bottom: 40px;
    }
}
/* =========================================================
   1. POSICIONAMENTO E CAIXA DO MEGA MENU (Mais larga e baixa)
========================================================= */
.navigation-foundation .menu .is-mega-menu .is-dropdown-submenu {
    top: 100% !important; 
    left: -10px !important; /* Leve recuo */
    padding: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin-top: 0 !important;
}

.mega-menu-content {
    background-color: #ffffff !important;
    width: 530px !important; /* AUMENTADO: Caixa mais larga igual a referÃªncia */
    padding: 30px 50px !important; /* DIMINUÃDO: Menos espaÃ§o sobrando no topo e na base para enxugar a altura */
    box-shadow: 0px 8px 25px rgba(0,0,0,0.06) !important;
    margin-top: 0 !important;
}

/* =========================================================
   2. COLUNAS (WOMEN / MEN)
========================================================= */
.mega-menu-content .grid-x {
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 0px !important; /* Respiro entre as colunas */
}

.mega-menu-content .grid-x .cell.medium-6 {
    width: 51% !important; /* Colunas dividindo o espaÃ§o igualmente */
}

/* =========================================================
   3. TÃTULOS (WOMEN / MEN)
========================================================= */
.menu-item-mega > a.dropdown-toggle {
    font-size: 11px !important; 
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 400 !important; /* REDUZIDO: Mais fino, como na referÃªncia */
    color: #000000 !important;
    margin-bottom: 20px !important; /* REDUZIDO: Menos espaÃ§o vazio abaixo do tÃ­tulo */
    display: block !important;
    padding: 0 !important;
    pointer-events: none !important;
}

.menu-item-mega > a.dropdown-toggle::after {
    display: none !important;
}

/* =========================================================
   4. LINKS DE SEGUNDO NÃVEL (CATEGORIA / COLEÃ‡ÃƒO)
========================================================= */
.mega-menu-submenu .sub-menu {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mega-menu-submenu .sub-menu > li {
    margin-bottom: 15px !important; /* REDUZIDO: Aproxima "Categoria" e "ColeÃ§Ã£o" para diminuir a altura total da caixa */
}

.mega-menu-submenu .sub-menu > li:last-child {
    margin-bottom: 0 !important;
}

.mega-menu-submenu .sub-menu > li > a {
    font-size: 10px !important;
    text-transform: uppercase !important; 
    letter-spacing: 1.2px !important;
    color: #000000 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center !important; 
    background: transparent !important;
    font-weight: 400 !important; /* REDUZIDO: Removemos o negrito pesado, agora estÃ¡ fino e elegante */
    line-height: 1.4 !important;
}

/* =========================================================
   5. A SETA FINA NA DIREITA ( > )
========================================================= */
.mega-menu-submenu .sub-menu > li.is-dropdown-submenu-parent > a::after {
    content: "\203A" !important; 
    font-size: 16px !important; /* Ligeiramente menor para nÃ£o competir com a fonte fina */
    font-weight: 300 !important;
    color: #aaaaaa !important; /* Mais clara para ficar sutil */
    border: none !important;
    margin-left: auto !important;
    transform: translateY(-1px);
    display: block !important;
}
 
/* =========================================================
   6. SUB-MENU FINAL (A CAIXA QUE ABRE PARA A DIREITA) 
========================================================= */
.mega-menu-submenu .sub-menu .submenu.is-dropdown-submenu {
    top: -15px !important; 
    left: 40% !important; 
    background-color: #ffffff !important;
    padding: 20px 30px !important;
    min-width: 200px !important;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.06) !important;
    margin-left: 10px !important; 
    border: none !important;
}

.navigation-foundation ul.is-dropdown-submenu li.menu-item-has-children.opens-right > a:after {
    right: 8.1em;
    top: 0.1em;
}

.negrito-menu {
    font-weight: 700 !important;
}

.mega-menu-submenu .sub-menu .submenu.is-dropdown-submenu > li > a {
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #333333 !important;
    padding: 8px 0 !important;
    font-weight: 400 !important;
}

.mega-menu-submenu .sub-menu .submenu.is-dropdown-submenu > li > a:hover {
    color: #888888 !important; 
}

/* =========================================================
   1. LIMPEZA DE CONFLITOS (WCBOOST VS SELECT2)
========================================================= */
/* Oculta completamente os menus suspensos nativos que estÃ£o a vazar */
.variations_form .wcboost-variation-swatches select,
.variations_form .select2-container {
    display: none !important;
}

/* Remove os parÃªnteses e formataÃ§Ãµes fantasma do tema antigo */
.wcboost-variation-swatches__wrapper li::before,
.wcboost-variation-swatches__wrapper li::after {
    display: none !important;
    content: none !important;
}

/* =========================================================
   2. ESTILO DOS RÃ“TULOS (EX: COR DO OURO, MEDIDA)
========================================================= */
table.variations {
    width: 100%;
    border-collapse: collapse;
}
table.variations th.label {
    text-align: left !important;
    padding-bottom: 10px !important;
    padding-top: 20px !important;
}
table.variations th.label label {
    font-weight: 400 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    color: #000000 !important;
}
table.variations td.value {
    padding-bottom: 15px !important;
}

/* =========================================================
   3. CAIXAS DE OPÇÕES (SWATCHES)
========================================================= */
ul.wcboost-variation-swatches__wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

ul.wcboost-variation-swatches__wrapper li.wcboost-variation-swatches__item {
    background: #ffffff !important;
    margin: 0 !important;
    border-radius: 0 !important; /* Bordas retas e secas */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none !important;
    min-width: 10px;
}

ul.wcboost-variation-swatches__wrapper li.wcboost-variation-swatches__item span.wcboost-variation-swatches__name {
    font-size: 14px !important;
    color: #888888 !important;
    font-weight: 400 !important;
}

/* Estado: OpÃ§Ã£o Selecionada */
ul.wcboost-variation-swatches__wrapper li.wcboost-variation-swatches__item.selected {
    border-color: #000000 !important;
}
ul.wcboost-variation-swatches__wrapper li.wcboost-variation-swatches__item.selected span.wcboost-variation-swatches__name {
    color: #000000 !important;
}

/* BotÃ£o de "Clear" (Limpar SeleÃ§Ã£o) */
.mazrry-reset-variations a.reset_variations {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #999999 !important;
    margin-top: 10px !important;
    display: inline-block !important;
}

/* =========================================================
   4. ALINHAMENTO DA QUANTIDADE E BOTÃ•ES REFORÃ‡ADOS
========================================================= */
html body .addtocart-button-group {
    display: flex !important;
    align-items: stretch !important;
    gap: 20px !important;
    margin-top: 30px !important;
}

html body .quantity.custom {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

/* ForÃ§a absoluta do fundo preto */
html body .quantity.custom a.minus-btn,
html body .quantity.custom a.plus-btn {
    width: 32px !important;
    height: 32px !important;
    background-color: #000000 !important;
    background: #000000 !important; /* Dupla garantia */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ataque direto ao pseudo-elemento da fonte para garantir o branco */
html body .quantity.custom a.minus-btn i,
html body .quantity.custom a.plus-btn i,
html body .quantity.custom a.minus-btn i::before,
html body .quantity.custom a.plus-btn i::before {
    color: #ffffff !important;
    font-size: 12px !important;
}

/* Campo numÃ©rico limpo */
html body .quantity.custom input.qty {
    border: none !important;
    background: transparent !important;
    width: 30px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    color: #000000 !important;
    -moz-appearance: textfield;
}

html body .quantity.custom input.qty::-webkit-outer-spin-button,
html body .quantity.custom input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* =========================================================
   5. RESGATE DO BOTÃƒO "ADD TO CART" (INVISÃVEL)
========================================================= */
.addtocart-button-group-inner {
    flex-grow: 1 !important; /* Faz o botÃ£o esticar o restante do espaÃ§o */
}

.addtocart-button-group-inner button.single_add_to_cart_button {
    display: block !important; /* ForÃ§a o botÃ£o a aparecer */
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    background-color: #fafafa !important;
    border: 1px solid #e0e0e0 !important;
    color: #cccccc !important; /* Cor clara quando desabilitado */
    padding: 16px 30px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important; /* Bordas retas */
    height: 100% !important;
    cursor: not-allowed;
}

/* Estado Ativo: Quando o cliente seleciona todas as variaÃ§Ãµes */
.woocommerce-variation-add-to-cart-enabled button.single_add_to_cart_button {
    color: #000000 !important;
    cursor: pointer !important;
}
.woocommerce-variation-add-to-cart-enabled button.single_add_to_cart_button:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

/* =========================================================
   6. BARRA FLUTUANTE DE CARRINHO (STICKY ADD TO CART)
========================================================= */

/* Limpa a heranÃ§a problemÃ¡tica do Select2 tambÃ©m aqui em baixo */
#mazrry-sticky-add-to-cart .wcboost-variation-swatches select,
#mazrry-sticky-add-to-cart .select2-container {
    display: none !important;
}

/* Estrutura Principal da Barra - ForÃ§ando uma linha Ãºnica */
#mazrry-sticky-add-to-cart .mazrry-wrap-content-sections {
    display: flex !important;
    flex-wrap: nowrap !important; /* ProÃ­be a quebra de linha */
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 10px 0 !important;
}

/* Ajusta a Ã¡rea da Imagem e TÃ­tulo para nÃ£o ocupar muito espaÃ§o */
#mazrry-sticky-add-to-cart .mazrry-fixed-product-info {
    display: flex !important;
    align-items: center !important;
    min-width: 250px !important;
}

/* Ãrea do FormulÃ¡rio (VariaÃ§Ãµes + BotÃµes) */
#mazrry-sticky-add-to-cart .mazrry-fixed-product-btn {
    flex-grow: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

#mazrry-sticky-add-to-cart form.variations_form {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

/* =========================================================
   6.1. TABELA DE VARIAÃ‡Ã•ES NA BARRA (GRELHA FLUIDA)
========================================================= */
#mazrry-sticky-add-to-cart .mazrry-sticky-add-to-cart__content__table {
    margin-right: 20px !important;
}

#mazrry-sticky-add-to-cart table.variations {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

/* PERMITE QUEBRA DE LINHA: Se nÃ£o couber, os atributos empilham-se organizadamente */
#mazrry-sticky-add-to-cart table.variations tbody {
    display: flex !important;
    flex-wrap: wrap !important; /* Mudou de nowrap para wrap */
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px 25px !important; /* EspaÃ§o vertical de 10px para nÃ£o encavalar */
}

#mazrry-sticky-add-to-cart table.variations tr {
    display: flex !important;
    align-items: center !important; 
    gap: 10px !important;
}

/* RÃ³tulos da barra */
#mazrry-sticky-add-to-cart table.variations th.label {
    padding: 0 !important;
    text-align: left !important;
}

#mazrry-sticky-add-to-cart table.variations th.label label {
    font-size: 12px !important;
    text-transform: none !important;
    color: #000000 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

#mazrry-sticky-add-to-cart table.variations td.value {
    padding: 0 !important;
}

/* CAIXAS COMPACTAS: Reduz o tamanho e permite quebra de linha nas numeraÃ§Ãµes */
#mazrry-sticky-add-to-cart ul.wcboost-variation-swatches__wrapper {
    flex-wrap: wrap !important; /* Permite que os aros faÃ§am 2 linhas se necessÃ¡rio */
    gap: 5px !important;
    max-width: 450px !important; /* Impede que estique infinitamente */
}

#mazrry-sticky-add-to-cart ul.wcboost-variation-swatches__wrapper li.wcboost-variation-swatches__item {
    padding: 6px 10px !important; /* Caixas mais enxutas */
    min-width: unset !important;
}

#mazrry-sticky-add-to-cart ul.wcboost-variation-swatches__wrapper li.wcboost-variation-swatches__item span.wcboost-variation-swatches__name {
    font-size: 11px !important; /* Texto levemente menor */
    white-space: nowrap !important;
}
/* =========================================================
   6.2. BOTÃƒO "ADD TO CART" E QUANTIDADE NA BARRA
========================================================= */
#mazrry-sticky-add-to-cart .single_variation_wrap {
    display: flex !important;
    align-items: center !important;
}

#mazrry-sticky-add-to-cart .addtocart-button-group {
    margin-top: 0 !important; /* Remove a margem superior que vinha do botÃ£o principal */
    gap: 15px !important;
}

/* Esconde o texto do reset (Clear) na barra para poupar espaÃ§o */
#mazrry-sticky-add-to-cart .mazrry-reset-variations {
    display: none !important;
}

/* FormataÃ§Ã£o especÃ­fica do BotÃ£o Comprar na Barra Flutuante */
#mazrry-sticky-add-to-cart .addtocart-button-group-inner button.single_add_to_cart_button {
    padding: 14px 25px !important;
    height: auto !important;
    white-space: nowrap !important;
}
/* =========================================================
   BOTÃƒO E POP-UP "BESPOKE" (CRIE E COCRIE)
========================================================= */
/* Afasta o link do botÃ£o Add to Cart e cria uma linha separadora sutil */
.mazrry-bespoke-trigger-wrapper {
    margin-top: 40px !important; 
    padding-top: 25px !important;
    border-top: 1px solid #eaeaea !important;
    text-align: left;
}

/* Link elegante para abrir o Pop-up */
a.mazrry-bespoke-trigger {
    display: inline-block;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #000000 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #000000;
    padding-bottom: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}
a.mazrry-bespoke-trigger:hover {
    color: #888888 !important;
    border-bottom-color: #888888;
}

/* =========================================================
   ESTRUTURA VISUAL DO POP-UP (MODAL)
========================================================= */
/* Fundo do Pop-up (Overlay fosco) */
.mazrry-modal-overlay {
    display: none; /* Escondido por defeito, ativado pelo JS */
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.92); /* Branco translÃºcido premium */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

/* Caixa branca central */
.mazrry-modal-content {
    background-color: #ffffff;
    padding: 50px 40px;
    border: 1px solid #eaeaea;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0px 20px 50px rgba(0,0,0,0.08);
    animation: fadeInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* BotÃ£o Fechar (X) */
.mazrry-modal-close {
    color: #000000;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}
.mazrry-modal-close:hover {
    color: #aaaaaa;
}

/* Textos dentro do Pop-up */
.mazrry-modal-text {
    font-size: 13px !important;
    color: #888888 !important;
    margin-bottom: 30px !important;
    line-height: 1.6 !important;
}
.mazrry-modal-text strong {
    color: #000000 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* =========================================================
   FORMULÃRIO MINIMALISTA DENTRO DO POP-UP
========================================================= */
.mazrry-modal-content .elementor-field-group {
    margin-bottom: 25px !important;
}

.mazrry-modal-content input,
.mazrry-modal-content textarea {
    width: 100% !important;
    border: none !important;
    border-bottom: 1px solid #dddddd !important;
    background: transparent !important;
    padding: 10px 0 !important;
    font-size: 13px !important;
    color: #000000 !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    resize: none !important;
}

.mazrry-modal-content input::placeholder,
.mazrry-modal-content textarea::placeholder {
    color: #aaaaaa !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.mazrry-modal-content input:focus,
.mazrry-modal-content textarea:focus {
    border-bottom-color: #000000 !important;
}

/* BotÃ£o Enviar Minimalista */
.mazrry-modal-content button[type="submit"] {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
    padding: 18px 100px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
    width: 100% !important;
}

.mazrry-modal-content button[type="submit"]:hover {
    background: #ffffff !important;
    color: #000000 !important;
}
/* =========================================================
   OCULTAR BOTÃO DE CARRINHO RÁPIDO NAS VITRINES (GRID)
   → movido para tema pai: Personalizar → Shop Display Layout
========================================================= */

/* =========================================================
   AJUSTE DE NOME E PREÇO NA VITRINE — movido para tema pai
========================================================= */

/* =========================================================
   CORREÃ‡ÃƒO DEFINITIVA DO BOTÃƒO "ADD TO CART" E HOVER
========================================================= */

html body .addtocart-button-group-inner button.single_add_to_cart_button {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

/* 2. Resgata o texto "Add to cart" para a frente das camadas de animaÃ§Ã£o */
html body .addtocart-button-group-inner button.single_add_to_cart_button .btn-text {
    color: #000000 !important; /* Texto preto padrÃ£o */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important; /* ForÃ§a o texto a ficar acima do .progress */
    transition: color 0.3s ease !important;
}

/* 3. Efeito Hover (Fundo preto, texto branco) */
html body .addtocart-button-group-inner button.single_add_to_cart_button:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

html body .addtocart-button-group-inner button.single_add_to_cart_button:hover .btn-text {
    color: #ffffff !important; /* Texto fica branco ao passar o rato */
}

/* 4. Oculta temporariamente a barra de progresso nativa do tema para evitar conflito com a nossa cor de hover */
html body .addtocart-button-group-inner button.single_add_to_cart_button .progress {
    display: none !important;
}

/* ForÃ§a a exibiÃ§Ã£o do Carrinho no Header do Mazrry */
html body .header-cart-toggle,
html body .cart-contents,
html body .mazrry-cart-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
}

/* Garante que ele nÃ£o fica espremido ao lado do botÃ£o de conta */
html body .header-expanded-view-inner {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important; /* EspaÃ§amento limpo entre lupa, conta e carrinho */
}
/* =========================================================
   REMOVER BOTÃƒO "CRIE E COCRIE" APENAS DA BARRA FLUTUANTE
========================================================= */

/* Esconde o wrapper do gatilho do modal quando estiver dentro do sticky bar */
#mazrry-sticky-add-to-cart .mazrry-bespoke-trigger-wrapper {
    display: none !important;
}

/* Garante que o formulÃ¡rio na barra flutuante nÃ£o tenha a margem superior 
   que havÃ­amos dado para separar o botÃ£o de cocriaÃ§Ã£o */
#mazrry-sticky-add-to-cart .variations_form {
    margin-bottom: 0 !important;
}
/* =========================================================
   STICKY BAR: TRANSFORMAR VARIAÃ‡Ã•ES EM "BOTÃƒO DE SELEÃ‡ÃƒO"
========================================================= */

/* 1. Esconde a tabela de variaÃ§Ãµes que estÃ¡ poluindo a barra */
#mazrry-sticky-add-to-cart table.variations {
    display: none !important;
}

/* 2. Cria o estilo para o novo link de "Selecionar OpÃ§Ãµes" */
.mazrry-sticky-select-trigger {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #000000 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
    margin-right: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mazrry-sticky-select-trigger:hover {
    color: #888888 !important;
    border-bottom-color: #888888;
}

/* Ajuste de alinhamento na barra */
#mazrry-sticky-add-to-cart .mazrry-fixed-product-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* =========================================================
   REFINAMENTO DO ÃCONE (BAÃš) E EFEITO DE PULSO
========================================================= */

.mazrry-luxury-cart {
    margin-left: 26px;
    display: flex;
    align-items: center;
}

/* Oculta os botÃµes bugados/originais do tema */
html body .header-cart-toggle {
    display: none !important;
}

/* Estilo Base do SVG BaÃº */
.mazrry-luxury-cart svg.mazrry-svg-bag {
    width: 38px !important;
    height: 38px !important;
    color: #000000;
    transition: all 0.3s ease;
}

.mazrry-luxury-cart a {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none !important;
}

.mazrry-luxury-cart a:hover svg.mazrry-svg-bag {
    transform: translateY(-2px);
    color: #888888;
}

/* O Contador NumÃ©rico (Bolinha Preta) */
.mazrry-cart-count {
    position: absolute;
    top: 0px;
    right: -6px;
    background: #000000;
    color: #ffffff;
    font-size: 10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* =========================================================
   ANIMAÃ‡Ã•ES DE COMPRA (FORÃ‡A MÃXIMA)
========================================================= */

/* O Efeito Dourado (Pulso) na Bolinha */
@keyframes luxuryGlow {
    0% { 
        transform: scale(1) !important; 
        background-color: #000000 !important; 
    }
    50% { 
        transform: scale(1.6) !important; /* Aumentei a escala para ser mais visÃ­vel */
        background-color: #D4AF37 !important; /* Cor Ouro */
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.9) !important;
        color: #000000 !important;
    }
    100% { 
        transform: scale(1) !important; 
        background-color: #000000 !important; 
    }
}

/* Esta Ã© a classe que o JavaScript atira na bolinha */
.mazrry-cart-count.mazrry-cart-fill-effect {
    animation: luxuryGlow 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

/* O Efeito Dourado no PrÃ³prio TraÃ§o do BaÃº */
svg.mazrry-svg-bag.mazrry-bag-glow path {
    fill: #D4AF37 !important;
    transition: fill 0.3s ease !important;
}
/* =========================================================
   TRAVA DE SEGURANÃ‡A: OBRIGA O TEMA A ESPERAR A ANIMAÃ‡ÃƒO
========================================================= */

/* Impede que o carrinho lateral e o fundo escuro (overlay) apareÃ§am antes do tempo */
body.mazrry-hold-cart .off-canvas,
body.mazrry-hold-cart .off-canvas.is-open,
body.mazrry-hold-cart .js-off-canvas-overlay,
body.mazrry-hold-cart .off-canvas-wrapper {
    transform: translateX(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: none !important; /* Impede que o tema tente animar debaixo da trava */
}

@media (min-width: 1440px) {
    .navigation-foundation > ul > li {
        padding-right: 15px;
        font-size: 14px;
    }
}
.navigation-foundation > ul > li {
    padding-right: 15px;
    font-size: 14px;
}

/* Abas, fundo cinza, grade, galeria, relacionados → Personalizar → Shop Display Layout */
/* =========================================================
   CORREÃ‡ÃƒO DE SOBREPOSIÃ‡ÃƒO DO CABEÃ‡ALHO NO MOBILE
========================================================= */

@media (max-width: 1024px) {
    /* 1. Garante que o cabeÃ§alho ganha uma cor de fundo sÃ³lida e nÃ£o flutua sobre o conteÃºdo */
    html body .header-wrapper {
        background-color: #ffffff !important;
        position: relative !important;
        z-index: 999 !important; /* MantÃ©m o cabeÃ§alho por cima de tudo */
    }

    /* 2. ForÃ§a o conteÃºdo principal do site a descer para nÃ£o ficar escondido debaixo do menu */
    html body:not(.single-product) #site-content,
    html body:not(.single-product) .site-content,
    html body:not(.single-product) #content {
        padding-top: 20px !important; /* Cria um respiro limpo entre o cabeÃ§alho e a primeira foto */
        margin-top: 0 !important; /* Anula margens negativas do tema Mazrry */
    }

    /* 3. Ajuste especÃ­fico para a imagem do produto no topo da pÃ¡gina */
    html body .product-info-wrapper {
        padding-top: 0 !important;
    }
}

/* =========================================================
   ESTRUTURA DO BOTÃƒO DE COMPRA (MOBILE: EMPILHADO)
========================================================= */

@media (max-width: 768px) {
    /* 1. Transforma a caixa principal numa coluna vertical */
    html body form.cart .button-group-inner,
    html body form.cart .addtocart-button-group,
    html body .woocommerce-variation-add-to-cart {
        flex-direction: column !important; /* Empilha a quantidade sobre o botÃ£o */
        align-items: center !important; /* Centraliza a quantidade acima do botÃ£o */
        gap: 15px !important; /* EspaÃ§o entre a quantidade e o botÃ£o */
        margin-top: 20px !important;
    }

    /* 2. Ajusta o seletor de quantidade para ficar centralizado */
    html body div.quantity.custom {
        margin: 0 auto !important;
        justify-content: center !important;
    }

    /* 3. Garante que o botÃ£o Add to Cart ocupe a largura toda no telemÃ³vel */
    html body .addtocart-button-group-inner {
        width: 100% !important;
    }
    
    html body button.single_add_to_cart_button {
        width: 100% !important;
        padding: 15px 20px !important; /* Um toque mais alto no mobile para facilitar o clique */
    }
}
/* =========================================================
   CORREÃ‡ÃƒO DE ALINHAMENTO DO CABEÃ‡ALHO MOBILE (ÃCONES)
========================================================= */

@media (max-width: 1024px) {
    /* 1. Agrupa a lupa, conta e carrinho e empurra todos para a extremidade direita */
    html body .header-expanded-view-inner {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 8px !important; /* Cria um espaÃ§o simÃ©trico exato entre os Ã­cones */
        width: 115% !important;
    }

    /* 2. Remove as margens de desktop que estavam a isolar o baÃº */
    html body .mazrry-luxury-cart {
        margin-left: 0 !important;
    }

    /* 3. Limpa qualquer margem ou alinhamento nativo da lupa */
    html body #header-search {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* 4. Ajuste para o SVG da Lupa nÃ£o ficar desproporcional ao BaÃº */
    html body #header-search svg {
        width: 22px !important;
        height: 22px !important;
    }
}

aside#block-13 {
    margin-top: -95px;
}
/* Layout loja/produto (grade, galeria, fundos cinza, relacionados):
   tema pai → Personalizar → WooCommerce → Shop Display Layout */

header.site-header .header-wrapper .header-sections .tools .header-cart.show-cart-icon {
    width: 20px;
    vertical-align: top;
    display: inline-block;
    position: relative;
    margin-top: -6px;
}

@media (max-width: 768px) {
    header.site-header .header-wrapper .header-sections .tools .header-cart.show-cart-icon {
        margin-top: -7px;
    }
}

/* =========================================================
   AJUSTE DE FONTES NO STICKY CART (BARRA FLUTUANTE)
========================================================= */

/* Define o tÃ­tulo para 16px */
html body .mazrry-wrap-content .mazrry-fixed-product-info .mazrry-title-clone h3 {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important; /* Pequeno respiro entre o tÃ­tulo e o preÃ§o */
}

/* Define o preÃ§o para 14px */
html body .mazrry-wrap-content .mazrry-fixed-product-info .mazrry-title-clone .mazrry-sticky-add-to-cart__content-price,
html body .mazrry-wrap-content .mazrry-fixed-product-info .mazrry-title-clone .mazrry-sticky-add-to-cart__content-price .amount {
    font-size: 14px !important;
    font-weight: normal !important;
}

/* =========================================================
   NEGRITO APENAS NO ITEM "MINHA CONTA" DO MENU
========================================================= */
li.negrito-menu a {
    font-weight: 600 !important; /* Mude para 700 ou 800 se quiser ainda mais grosso */
}

/* =========================================================
   STICKY CART NO MOBILE (RESGATE ABSOLUTO E MINIMALISTA)
========================================================= */
@media (max-width: 768px) {
    /* 1. Resgate Absoluto: ForÃ§a a barra a ficar colada no fundo e visÃ­vel */
    html body #mazrry-sticky-add-to-cart {
        display: block !important; 
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        z-index: 999999 !important;
        background-color: #ffffff !important;
        transform: translateY(0) !important; /* Anula o efeito do tema de esconder a barra para baixo */
        box-shadow: 0px -5px 15px rgba(0,0,0,0.06) !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 2. Ajusta o layout interno para caber na tela pequena */
    html body #mazrry-sticky-add-to-cart .mazrry-wrap-content-sections {
        padding: 12px 15px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* 3. Imagem e TÃ­tulo */
    html body #mazrry-sticky-add-to-cart .mazrry-fixed-product-info {
        min-width: 0 !important; 
        width: auto !important;
        flex: 1 !important; /* Ocupa o espaÃ§o disponÃ­vel */
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    html body #mazrry-sticky-add-to-cart .mazrry-fixed-product-info img {
        width: 38px !important;
        height: 38px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    html body #mazrry-sticky-add-to-cart .mazrry-title-clone h3 {
        font-size: 11px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 130px !important; /* Evita empurrar o botÃ£o para fora da tela */
    }

    /* 4. Esconde PreÃ§o, Tabela de VariaÃ§Ãµes e BotÃµes Nativos Duplicados */
    html body #mazrry-sticky-add-to-cart .mazrry-sticky-add-to-cart__content-price,
    html body #mazrry-sticky-add-to-cart .mazrry-sticky-add-to-cart__content__table,
    html body #mazrry-sticky-add-to-cart .woocommerce-variation-mob-btn-clone,
    html body #mazrry-sticky-add-to-cart form.variations_form .single_variation_wrap {
        display: none !important;
    }

    /* 5. Ajusta a zona do botÃ£o */
    html body #mazrry-sticky-add-to-cart .mazrry-fixed-product-btn {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    html body #mazrry-sticky-add-to-cart form.cart {
        margin: 0 !important;
        padding: 0 !important;
    }

   /* 6. FormataÃ§Ã£o do BotÃ£o e SubstituiÃ§Ã£o de Texto para "ADD TO CART" */
    html body #mazrry-sticky-add-to-cart .mazrry-sticky-select-trigger,
    html body #mazrry-sticky-add-to-cart button.single_add_to_cart_button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #000000 !important;
        color: #ffffff !important;
        padding: 0 16px !important;
        height: 40px !important;
        font-size: 0 !important; /* Magia: Esconde o texto original (Personalizar/Adicionar) */
        border: none !important;
        margin: 0 !important;
        text-decoration: none !important;
        border-radius: 0 !important;
    }

    /* Injeta o novo texto exato que pediu */
    html body #mazrry-sticky-add-to-cart .mazrry-sticky-select-trigger::before,
    html body #mazrry-sticky-add-to-cart button.single_add_to_cart_button::before {
        content: "ADICIONAR AO CARRINHO" !important;
        font-size: 10px !important; /* Devolve o tamanho correto apenas a este texto */
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        color: #ffffff !important;
    }

    /* Esconde qualquer texto extra que venha dentro do botÃ£o original do tema */
    html body #mazrry-sticky-add-to-cart button.single_add_to_cart_button * {
        display: none !important;
    }
}

