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É (Estilo Rainbow K)
========================================================= */
.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) - ESTILO RAINBOW K
========================================================= */
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) */
.barberry-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 */
#barberry-sticky-add-to-cart .wcboost-variation-swatches select,
#barberry-sticky-add-to-cart .select2-container {
    display: none !important;
}

/* Estrutura Principal da Barra - Forçando uma linha única */
#barberry-sticky-add-to-cart .barberry-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 */
#barberry-sticky-add-to-cart .barberry-fixed-product-info {
    display: flex !important;
    align-items: center !important;
    min-width: 250px !important;
}

/* Área do Formulário (Variações + Botões) */
#barberry-sticky-add-to-cart .barberry-fixed-product-btn {
    flex-grow: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

#barberry-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)
========================================================= */
#barberry-sticky-add-to-cart .barberry-sticky-add-to-cart__content__table {
    margin-right: 20px !important;
}

#barberry-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 */
#barberry-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 */
}

#barberry-sticky-add-to-cart table.variations tr {
    display: flex !important;
    align-items: center !important; 
    gap: 10px !important;
}

/* Rótulos da barra */
#barberry-sticky-add-to-cart table.variations th.label {
    padding: 0 !important;
    text-align: left !important;
}

#barberry-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;
}

#barberry-sticky-add-to-cart table.variations td.value {
    padding: 0 !important;
}

/* CAIXAS COMPACTAS: Reduz o tamanho e permite quebra de linha nas numerações */
#barberry-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 */
}

#barberry-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;
}

#barberry-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
========================================================= */
#barberry-sticky-add-to-cart .single_variation_wrap {
    display: flex !important;
    align-items: center !important;
}

#barberry-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 */
#barberry-sticky-add-to-cart .barberry-reset-variations {
    display: none !important;
}

/* Formatação específica do Botão Comprar na Barra Flutuante */
#barberry-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)
========================================================= */

/* Esconde o container do botão flutuante nas imagens dos produtos */
ul.products li.product .footer-section,
ul.products li.product .button.add_to_cart_button,
ul.products li.product .barberry_addtocart_button {
    display: none !important;
}

/* Garante que a imagem do produto continua clicável sem o quadrado atrapalhar */
ul.products li.product a.woocommerce-LoopProduct-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
/* =========================================================
   AJUSTE DE NOME E PREÇO NA VITRINE (EMPILHAMENTO) - BARBERRY FIX
========================================================= */

/* Transforma o contêiner dos detalhes (Título + Preço) numa coluna */
ul.products li.product .product-details-wrapper .product-details {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* Tudo alinhado à esquerda */
    padding-top: 15px !important;
}

/* Formatação do Título da Joia */
ul.products li.product h3.product-title {
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 5px !important; /* Espaço entre título e preço */
}

ul.products li.product h3.product-title a {
    white-space: normal !important; /* Permite quebrar linha se o título for grande */
    line-height: 1.3 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
}

/* Formatação do Preço */
ul.products li.product .product-details .price {
    width: 100% !important;
    text-align: left !important;
    font-size: 14px !important; 
    font-weight: 500 !important;
    color: #000000 !important;
    margin: 0 !important; /* Remove margens que o tema injeta para flutuar à direita */
    position: static !important; /* Impede o tema de posicionar o preço fora de ordem */
}

/* Esconde aquele botão duplicado "Add to Cart/Select Options" que o tema coloca dentro de .product-details */
ul.products li.product .product-details .button {
    display: none !important;
}
/* =========================================================
   PADRONIZAÇÃO DO TAMANHO DAS IMAGENS NA VITRINE (450PX)
========================================================= */

/* 1. Define a caixa principal da imagem para ter exatamente 450px */
ul.products li.product .product-image {
    display: block !important;
    width: 100% !important;
    height: 450px !important; /* A CAIXA FICA COM A ALTURA QUE QUER */
    overflow: hidden !important;
    background-color: #f8f8f8 !important; 
    position: relative !important;
}

/* 2. Garante que o link não cria espaços invisíveis a mais */
ul.products li.product .product-image a.loop-thumbnail {
    display: block !important;
    width: 100% !important;
    height: 100% !important; /* Ocupa apenas os 450px da caixa mãe */
}

/* 3. A fotografia preenche a caixa perfeitamente */
ul.products li.product .product-image img {
    width: 100% !important;
    height: 100% !important; /* Herda os 450px exatos */
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.6s ease !important; 
}

/* Opcional: Se quiser que a imagem dê um zoom sutil ao passar o rato */
ul.products li.product:hover .product-image img {
    transform: scale(1.03) !important;
}

/* =========================================================
   PADRONIZAÇÃO DO TAMANHO DAS IMAGENS NA VITRINE (450PX) MOBILE
========================================================= */

/* 1. Define a caixa principal da imagem para ter exatamente 450px */
@media (max-width: 768px) {
ul.products li.product .product-image {
    display: block !important;
    width: 100% !important;
    height: auto !important; /* A CAIXA FICA COM A ALTURA QUE QUER */
    overflow: hidden !important;
    background-color: #f8f8f8 !important; 
    position: relative !important;
}
}


/* =========================================================
   CORREÇÃO DEFINITIVA DO BOTÃO "ADD TO CART" E HOVER
========================================================= */

/* 1. Estrutura do botão base (Fundo branco, borda preta) */
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 Barberry */
html body .header-cart-toggle,
html body .cart-contents,
html body .barberry-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 */
#barberry-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 */
#barberry-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 */
#barberry-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 */
#barberry-sticky-add-to-cart .barberry-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 */
}

/* =========================================================
TUDO QUE ESTAVA EM PERSONALIZAR DO WP
========================================================= */

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É (Estilo Rainbow K)
========================================================= */
.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;
    }
}
@media (min-width: 1440px) {
    .navigation-foundation > ul > li {
        padding-right: 15px;
				    font-size: 14px;
    }
}
.navigation-foundation > ul > li {
    padding-right: 15px;
		    font-size: 14px;
}

.single-product .woocommerce-tabs #tab-description, .single-product .woocommerce-tabs #tab-additional_information {
    display: none;
}

.single-product .product-tabs-cells {
    margin-top: 2.5rem;
    border-bottom: 1px solid #eee;
    display: none;
}
/* =========================================================
   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 #site-content,
    html body .site-content,
    html body #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 Barberry */
    }

    /* 3. Ajuste específico para a imagem do produto no topo da página */
    html body .product-info-wrapper {
        padding-top: 0 !important;
    }
}

/* =========================================================
   OCULTAR PREÇOS NAS VITRINES (LOJA, CATEGORIAS, ETC)
========================================================= */

ul.products li.product .price {
    display: none !important;
}

/* Centraliza verticalmente o título da joia, já que o preço não ocupa mais espaço abaixo dele */
ul.products li.product .product-details-wrapper .product-details {
    justify-content: center !important;
    padding-bottom: 10px !important;
}

ul.products li.product h3.product-title {
    margin-bottom: 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;
    }
}

/* =========================================================
   CORREÇÃO DE ALINHAMENTO DO CABEÇALHO MOBILE (ÍCONES)
========================================================= */

/* =========================================================
FIM DO PERSONALIZAR DO */



aside#block-13 {
    margin-top: -95px;
}

aside#block-13 {
    margin-top: -95px;
}
/* =========================================================
   TRAVA GLOBAL DE LARGURA MÁXIMA (MANTER PROPORÇÕES)
========================================================= */

/* =========================================================
   1. PADRONIZAÇÃO DA IMAGEM DO PRODUTO (DESKTOP: 711x711px)
========================================================= */
@media (min-width: 1025px) {
    /* Força as dimensões exatas na imagem principal, ignorando o sistema de Zoom (:not) */
    .single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
        width: 800px !important;
        height: 711px !important;
        max-width: 800px !important;
        object-fit: cover !important; 
        border-radius: 0 !important;
    }
    
    /* Garante que o contêiner interno também respeita o tamanho e fica centrado */
    .single-product .woocommerce-product-gallery__wrapper .flickity-viewport {
        height: 711px !important;
    }
}
/* =========================================================
   1. IMAGEM DO PRODUTO NO MOBILE (QUADRADO 430x430)
========================================================= */
@media (max-width: 1024px) {
    /* Força o quadrado no mobile, adaptando-se a ecrãs pequenos mas com limite de 430px */
    .single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
        width: 100% !important;
        max-width: 430px !important;
        aspect-ratio: 1 / 1 !important; /* Garante o quadrado perfeito */
        height: auto !important;
        object-fit: cover !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .single-product .woocommerce-product-gallery__wrapper .flickity-viewport {
        height: 100vw !important; 
        max-height: 430px !important;
    }
}


/* =========================================================
   1. FORÇAR LARGURA TOTAL ABSOLUTA (100VW) E FUNDO CINZA
========================================================= */
html body .single-product .grid-container.product_related_wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    background-color: #fafafa !important; /* Fundo cinza super claro da referência */
}

/* Centraliza o Título perfeitamente */
html body .single-product .related.products h2 {
    text-align: center !important;
    margin-bottom: 50px !important;
    width: 100% !important;
}

/* Remove as margens invisíveis do tema que estavam a quebrar a grelha */
html body .single-product .product_related_wrapper .grid-x,
html body .single-product .product_related_wrapper .grid-x > .cell {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

/* =========================================================
   2. CAIXAS DOS PRODUTOS E BORDAS FUNDIDAS
========================================================= */
html body .single-product .related.products ul.products {
    margin: 0 !important;
    padding: 0 !important;
}

html body .single-product .related.products ul.products li.product {
    padding: 0 !important; /* Encosta os cartões uns nos outros */
}

html body .single-product .related.products ul.products li.product .product-inner-wrapper {
    border: 1px solid #eaeaea !important;
    margin-left: -1px !important; /* Truque mágico: sobrepõe as linhas para terem sempre 1px */
    padding: 0 !important; 
    background-color: #fff !important; /* Caixa do produto branca para destacar do fundo cinza */
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   3. O PREENCHIMENTO E ALINHAMENTO DA FOTO (A MAGIA DO LUXO)
========================================================= */
html body .single-product .related.products ul.products li.product .product-image {
    padding: 50px 40px 20px 40px !important; /* Cria o "respiro" em branco em volta da joia */
}

html body .single-product .related.products ul.products li.product .product-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important; /* Força o quadrado perfeito */
    object-fit: contain !important; /* 'contain' impede que os anéis retangulares sejam cortados nas bordas */
    border-radius: 0 !important;
}

/* Esconde o botão de hover para manter o minimalismo da referência */
html body .single-product .related.products ul.products li.product .footer-section {
    display: none !important;
}

/* =========================================================
   4. TIPOGRAFIA E ESPAÇAMENTO DO TEXTO
========================================================= */
html body .single-product .related.products ul.products li.product .product-details {
    padding: 0 20px 40px 20px !important; /* Espaço para respirar antes da linha de baixo */
    text-align: center !important;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Empurra o texto para baixo, alinhando todos na mesma linha */
}

/* Limpa efeitos de hover que possam distorcer a linha */
html body .single-product .related.products ul.products li.product:hover .product-inner-wrapper {
    background-color: #fff !important;
}

/* =========================================================
   1. IMAGEM DO PRODUTO (DESKTOP 711px / MOBILE 430px)
========================================================= */
@media (min-width: 1025px) {
    .single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
        width: 711px !important;
        height: 711px !important;
        max-width: 711px !important;
        object-fit: cover !important; 
        border-radius: 0 !important;
    }
    .single-product .woocommerce-product-gallery__wrapper .flickity-viewport {
        height: 711px !important;
    }
}
@media (max-width: 1024px) {
    .single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
        width: 100% !important;
        max-width: 430px !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        object-fit: cover !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .single-product .woocommerce-product-gallery__wrapper .flickity-viewport {
        height: 100vw !important; 
        max-height: 430px !important;
    }
}

/* =========================================================
   2. TRAVA GLOBAL DO CONTEÚDO (1520PX)
========================================================= */
/* A trava agora foca APENAS no site geral, o Carrinho foi removido daqui! */
html body #content .elementor-section.elementor-section-boxed > .elementor-container,
html body #content > .grid-container,
html body .site-content > .grid-container,
html body .site-main > .grid-container {
    max-width: 1520px !important; 
    margin-left: auto !important; 
    margin-right: auto !important; 
}

html body #content .elementor-row, 
html body #content .elementor-container {
    max-width: 100% !important;
}

/* Exceção 1: Liberta o cabeçalho/menu */
html body header .grid-container,
html body .site-header .grid-container,
html body .top-bar-wrapper .grid-container,
html body header .header-wrapper {
    max-width: 100% !important;
    width: 100% !important;
}

/* Exceção 2: LIBERTA TOTALMENTE A PÁGINA DO CARRINHO E CHECKOUT */
html body.woocommerce-cart #content .grid-container,
html body.woocommerce-cart .site-content .grid-container,
html body.woocommerce-cart .site-content .header-wrapper,
html body.woocommerce-checkout #content .grid-container,
html body.woocommerce-checkout .site-content .grid-container,
html body.woocommerce-checkout .site-content .header-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 20px !important; /* Respiro mínimo nas laterais */
    padding-right: 20px !important;
}

/* Evita barra de scroll horizontal causada pelos 100vw */
html, body {
    overflow-x: hidden;
}

/* =========================================================
   3. DESTRUIR A TRAVA E FORÇAR 100VW ABSOLUTO (INFALÍVEL)
========================================================= */
html body .single-product .single-bottom-inview {
    overflow: visible !important;
}

/* O contentor mestre exterior: estica para os extremos da tela */
html body #content .grid-container.product_related_wrapper,
html body .site-content .grid-container.product_related_wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 55% !important; /* CORRIGIDO: Tem de ser exatos 50% para centrar o 100vw */
    transform: translateX(-50%) !important;
    margin-top: 0px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-color: #fafafa !important; /* Fundo cinza de fundo */
}

/* Anula o "grid-container" INVISÍVEL do tema que estava a prender o layout! */
html body #content .product_related_wrapper .grid-container,
html body .site-content .product_related_wrapper .grid-container {
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body .single-product .product_related_wrapper .grid-x,
html body .single-product .product_related_wrapper .cell {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   4. DESIGN DE LUXO: ESPAÇAMENTO MÁXIMO DE 5PX E FOTOS
========================================================= */
html body .single-product .related.products h2 {
    text-align: center !important;
    margin-bottom: 40px !important;
    padding-top: 60px !important;
    width: 100% !important;
}

/* Retira espaços extras da lista global */
html body .single-product .related.products ul.products {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 2px !important; /* Compensa o primeiro e último item */
    margin: 0 !important;
}

/* A Matemática do Gap: Exatos 4px de distância entre cartões */
html body .single-product .related.products ul.products li.product {
    width: 20vw !important; /* 5 Produtos na tela */
    padding: 0 2px !important; /* 2px esquerda + 2px direita = 4px de GAP */
    margin: 0 !important;
}

/* Responsivo para telemóveis e tablets */
@media (max-width: 1024px) {
    html body .single-product .related.products ul.products li.product { width: 33.33vw !important; }
}
@media (max-width: 768px) {
    html body .single-product .related.products ul.products li.product { width: 50vw !important; }
}

/* A caixa do produto */
html body .single-product .related.products ul.products li.product .product-inner-wrapper {
    border: 1px solid #eaeaea !important; 
    margin-left: 0 !important; 
    padding: 0 !important; 
    background-color: #ffffff !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Preenchimento das imagens (A moldura branca em volta da joia) */
html body .single-product .related.products ul.products li.product .product-image {
    padding: 20% 20% 10% 20% !important; 
    background-color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

html body .single-product .related.products ul.products li.product .product-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important; 
    object-fit: contain !important; 
    border-radius: 0 !important;
    mix-blend-mode: multiply; 
}

/* Tipografia e alinhamentos */
html body .single-product .related.products ul.products li.product .product-details {
    padding: 0 20px 30px 20px !important; 
    text-align: center !important;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

/* Esconde o rodapé interativo */
html body .single-product .related.products ul.products li.product .footer-section {
    display: none !important;
}

html body .single-product .related.products ul.products li.product:hover .product-inner-wrapper {
    background-color: #ffffff !important;
}

/* =========================================================
   1. IMAGENS QUADRADAS NO CARROSSEL DE RELACIONADOS
========================================================= */
html body .single-product .related.products ul.products li.product .product-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important; /* Força o formato perfeitamente quadrado */
    object-fit: cover !important; /* Garante que a joia preenche o quadrado sem distorcer */
    border-radius: 0 !important;
}

/* =========================================================
   2. REDUZIR O GAP (ESPAÇAMENTO) ENTRE OS PRODUTOS
========================================================= */
/* Remove qualquer espaçamento extra que a lista (ul) possa estar a gerar */
html body .single-product .related.products ul.products {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Controla o espaço individual de cada cartão (li) */
/* 2.5px na esquerda + 2.5px na direita = 5px exatos de GAP entre os produtos */
html body .single-product .related.products ul.products li.product {
    padding-left: 2.5px !important;
    padding-right: 2.5px !important;
}

body.single-product form.variations_form table tbody tr, body #barberry_woocommerce_quickview form.variations_form table tbody tr {
    border: none;
    background-color: #fafafa;
}
/* =========================================================
   4. MARGEM DO TOPO DO CONTEÚDO DO PRODUTO (igual à referência)
   A referência usa um respiro generoso entre o cabeçalho e o conteúdo
   do produto (~115px desktop / ~75px mobile, header sem sobreposição).
========================================================= */
@media (min-width: 1025px) {
    html body.single-product div#content.site-content,
    html body.single-product #primary.product-content-area {
        padding-top: 60px !important;
    }
}
@media (max-width: 1024px) {
    html body.single-product div#content.site-content,
    html body.single-product #primary.product-content-area {
        padding-top: 35px !important;
    }
}

/* =========================================================
   3. FUNDO CINZA NA PÁGINA DE PRODUTO (igual à referência)
   A página fica cinza claro; as imagens/cartões permanecem brancos.
========================================================= */
html body.single-product,
html body.single-product .product-content-area,
html body.single-product #content,
html body.single-product .site-content {
    background-color: #fafafa !important;
}

body.single-product .product_layout_default .product-cells{
    padding-top : 185px;
    
}

.product-tabs-cells, .product_meta{
    display: none;
    
}

.related{padding-top : 160px;
    
}

.product-image-wrapper{
    box-shadow: 8px 8px 15px #ededed;
    
}

.single-product .woocommerce-Price-amount{
    font-size : 22px!important;
    font-weight: 500;
    
}

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;
}
.product-tabs-cells, .product_meta{
    display: none;
}

.related{
    padding-top : 30px; 
}

ul.products.columns-5 > .product, ul.products.columns-5 .flickity-slider > .product {
  flex: 0 0 auto;
  width: 20%;
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  padding-bottom: 0.1rem;

}}

.product, ul.products.columns-4 .flickity-slider > .product {padding-left: 3px;padding-right: 3px;padding-bottom: 0.4rem;}

ul.products.columns-3 > .product, ul.products.columns-3 .flickity-slider > .product{padding-left: 3px;padding-right: 3px;padding-bottom: 0.4rem;}

ul.products.columns-5 > .product, ul.products.columns-5 .flickity-slider > .product {
  flex: 0 0 auto;
  width: 15%;
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  padding-bottom: 0.1rem;
}

/* =========================================================
   AJUSTE DE FONTES NO STICKY CART (BARRA FLUTUANTE)
========================================================= */

/* Define o título para 16px */
html body .barberry-wrap-content .barberry-fixed-product-info .barberry-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 .barberry-wrap-content .barberry-fixed-product-info .barberry-title-clone .barberry-sticky-add-to-cart__content-price,
html body .barberry-wrap-content .barberry-fixed-product-info .barberry-title-clone .barberry-sticky-add-to-cart__content-price .amount {
    font-size: 14px !important;
    font-weight: normal !important;
}

/* Este código coloca a caixa de detalhes inicialmente invisível, empurrada para baixo e com fundo opaco */
.product-inner .product-details-wrapper {
    visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    position: absolute;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    width: 100%;
    opacity: 0;
}


ul.products li.product .product-inner .product-details .product-title {
  margin-left: 20px;
}

/* Este código revela a caixa (com título e preço) com transição linear ao fazer hover na imagem */
.product-inner:hover .product-details-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0)!important;
    transition: all 280ms linear!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 #barberry-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 #barberry-sticky-add-to-cart .barberry-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 #barberry-sticky-add-to-cart .barberry-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 #barberry-sticky-add-to-cart .barberry-fixed-product-info img {
        width: 38px !important;
        height: 38px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    html body #barberry-sticky-add-to-cart .barberry-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 #barberry-sticky-add-to-cart .barberry-sticky-add-to-cart__content-price,
    html body #barberry-sticky-add-to-cart .barberry-sticky-add-to-cart__content__table,
    html body #barberry-sticky-add-to-cart .woocommerce-variation-mob-btn-clone,
    html body #barberry-sticky-add-to-cart form.variations_form .single_variation_wrap {
        display: none !important;
    }

    /* 5. Ajusta a zona do botão */
    html body #barberry-sticky-add-to-cart .barberry-fixed-product-btn {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    html body #barberry-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 #barberry-sticky-add-to-cart .mazrry-sticky-select-trigger,
    html body #barberry-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 #barberry-sticky-add-to-cart .mazrry-sticky-select-trigger::before,
    html body #barberry-sticky-add-to-cart button.single_add_to_cart_button::before {
        content: "ADD TO CART" !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 #barberry-sticky-add-to-cart button.single_add_to_cart_button * {
        display: none !important;
    }
}

