/*
Theme Name:   Mar e Estilo Child
Theme URI:    https://mareestilo.com.br
Description:  Kadence child theme — Mar e Estilo custom homepage and header.
Author:       Mar e Estilo
Template:     kadence
Version:      2.0.0
Text Domain:  mareestilo-child
*/

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */

#masthead,
.site-header,
.header-wrap {
    background-color: #ffffff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Navigation links */
.primary-navigation .menu-item > a,
.primary-navigation .menu-item > .kb-link,
#site-navigation .menu-item > a,
.header-navigation .menu-item > a,
.nav-main-wrap .menu-item > a,
.kadence-navigation .menu-item > a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 300 !important;
    color: #864684 !important;
    text-transform: none !important;
    letter-spacing: 1px;
}

.primary-navigation .menu-item > a:hover,
#site-navigation .menu-item > a:hover,
.kadence-navigation .menu-item > a:hover {
    color: #5c2e5c !important;
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current-page-ancestor > a {
    color: #5c2e5c !important;
    border-bottom: 2px solid #864684;
}

/* ── Dropdown do menu (Todas as Categorias / Fitness / ...) ──
   Mesmas cores e efeitos do site original (mareestilo.com.br): painel branco
   com sombra suave, item com fundo cinza-azulado + texto navy em negrito no
   hover. Escopado a .main-navigation (desktop) — não afeta o menu mobile
   (.drawer-nav-drop-wrap), que usa um esquema de cores próprio. */
.main-navigation .sub-menu {
    background: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 20px rgba(0, 130, 252, 0.08);
    padding: 10px !important;
    min-width: 190px;
}

.main-navigation .sub-menu .menu-item > a {
    display: block;
    padding: 12px 14px !important;
    border-radius: 8px;
    color: #864684 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

.main-navigation .sub-menu .menu-item > a:hover,
.main-navigation .sub-menu .menu-item.focus > a,
.header-navigation .header-menu-container ul ul li.menu-item > a:hover,
.header-navigation .header-menu-container ul ul li.menu-item.current-menu-item > a {
    background: #f5f8fb !important;
    color: #191b53 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

/* Header icons */
.site-header .header-cart-link,
.site-header .header-account-link,
.site-header .header-search-link,
.kadence-header-cart-total,
#masthead .header-html svg,
#masthead .header-html path {
    color: #864684 !important;
    fill: #864684 !important;
}

.site-header .header-cart-link .cart-count,
.kadence-header-cart-total {
    background-color: #864684 !important;
    color: #ffffff !important;
}

/* ════════════════════════════════════════════════════════════
   BARRA DE VANTAGENS
════════════════════════════════════════════════════════════ */

.mare-vantagens {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #555555;
}

.mare-vantagens .mare-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.mare-vantagens .mare-icon {
    color: #864684;
    font-size: 14px;
}

.mare-vantagens a {
    color: #864684;
    text-decoration: none;
    font-weight: 600;
}

.mare-vantagens a:hover {
    text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════
   BANNER HERO
════════════════════════════════════════════════════════════ */

.mare-hero-banner {
    width: 100%;
    line-height: 0;
}

.mare-hero-banner a {
    display: block;
    width: 100%;
}

.mare-hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.mare-banner-desktop { display: block;  width: 100%; height: auto; }
.mare-banner-mobile  { display: none;   width: 100%; height: auto; }

@media (max-width: 768px) {
    .mare-banner-desktop { display: none  !important; }
    .mare-banner-mobile  { display: block !important; }
}

/* ════════════════════════════════════════════════════════════
   HOMEPAGE — OCULTAR CONTEÚDO PADRÃO
════════════════════════════════════════════════════════════ */

.home .site-main > article .entry-content,
.home .site-main > article .entry-header,
.home .site-main > article .post-thumbnail,
.home .wp-block-cover,
.home .elementor-section-wrap,
.home #elementor,
/* Reforço extra para conteúdo residual */
.home.page .entry-content,
.home.page .entry-header,
.home.page .wp-block-cover,
.home.page .wp-block-group,
.home.page article.page > .entry-content {
    display: none !important;
}

/* A caixa "content-bg" (fundo branco + sombra) do Kadence continua aparecendo
   vazia mesmo com o conteúdo interno oculto acima — remove o card inteiro,
   já que a homepage não usa o post_content nativo (tudo vem dos hooks). */
.home .site-main article {
    display: none !important;
}

/* ════════════════════════════════════════════════════════════
   HOMEPAGE — ESTRUTURA BASE
════════════════════════════════════════════════════════════ */

.mare-section {
    padding: 56px 0;
    background: #ffffff;
}

.mare-section--shorts,
.mare-section--tops {
    background: #f9f9f9;
}

.mare-section--banners {
    padding: 40px 0;
    background: #ffffff;
}

.mare-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.mare-section-title {
    color: #864684;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 28px;
    text-align: left;
    margin: 0 0 32px;
}

/* ════════════════════════════════════════════════════════════
   GRIDS
════════════════════════════════════════════════════════════ */

.mare-grid {
    display: grid;
    gap: 20px;
}

.mare-grid--4col   { grid-template-columns: repeat(4, 1fr); }
.mare-grid--3col-h { grid-template-columns: repeat(3, 1fr); }
.mare-grid--2col   { grid-template-columns: repeat(2, 1fr); }

/* ════════════════════════════════════════════════════════════
   PRODUCT CARD — VERTICAL (Seção 1 e 4)
════════════════════════════════════════════════════════════ */

.mare-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

/* Image wrap */
.mare-card__img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.mare-card--vertical .mare-card__img-wrap,
.mare-card--compact  .mare-card__img-wrap {
    height: 280px;
}

.mare-card--compact .mare-card__img-wrap {
    height: 180px;
}

.mare-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.mare-card:hover .mare-card__img-wrap img {
    transform: scale(1.05);
}

/* Badge Oferta */
.mare-badge-oferta {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #98be8e;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 1;
}

/* Card body */
.mare-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.mare-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #17184d;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mare-card__title a {
    color: inherit;
    text-decoration: none;
}

.mare-card__title a:hover {
    color: #864684;
}

/* Price */
.mare-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
}

.mare-card__price del,
.mare-card__price del .woocommerce-Price-amount {
    color: #17184e;
    opacity: 0.45;
    font-size: 12px;
    font-weight: 400;
}

.mare-card__price-current,
.mare-card__price-current .woocommerce-Price-amount {
    color: #15164c;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

/* Botão Comprar */
.mare-btn-comprar {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    text-align: center;
    background-color: #98be8e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: auto;
}

.mare-btn-comprar:hover {
    background-color: #5f8c54;
    color: #ffffff;
}

/* ════════════════════════════════════════════════════════════
   CARD HORIZONTAL (Seção 2 — Shorts)
════════════════════════════════════════════════════════════ */

.mare-card--horizontal {
    flex-direction: row !important;
    align-items: stretch;
}

.mare-card--horizontal .mare-card__img-wrap {
    width: 45%;
    min-width: 45%;
    height: 180px;
}

.mare-card--horizontal .mare-card__body {
    width: 55%;
    padding: 16px;
    justify-content: center;
}

.mare-card--horizontal .mare-card__title {
    font-size: 13px;
}

/* ════════════════════════════════════════════════════════════
   SEÇÃO 3 — BANNERS MODA FITNESS
════════════════════════════════════════════════════════════ */

.mare-banners-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mare-banner-cat {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 420px;
    text-decoration: none;
}

.mare-banner-cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.mare-banner-cat:hover img {
    transform: scale(1.04);
}

.mare-banner-cat__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    border-radius: 12px;
}

.mare-banner-cat:hover .mare-banner-cat__overlay {
    background: rgba(0, 0, 0, 0.15);
}

.mare-banner-cat__btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #864684;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 9px 28px;
    border-radius: 30px;
    white-space: nowrap;
    z-index: 1;
    transition: background 0.2s, color 0.2s;
}

.mare-banner-cat:hover .mare-banner-cat__btn {
    background: #864684;
    color: #ffffff;
}

/* ════════════════════════════════════════════════════════════
   SEÇÃO 4 — OS TOPs MAIS PROCURADOS
════════════════════════════════════════════════════════════ */

.mare-tops-layout {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 24px;
    align-items: stretch;
}

.mare-tops-banner {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
}

.mare-tops-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.mare-tops-banner:hover img {
    transform: scale(1.02);
}

.mare-tops-slider {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    position: relative;
}

.mare-tops-track-wrap {
    flex: 1;
    overflow: hidden;
}

.mare-tops-track {
    display: flex;
    gap: 0;
}

.mare-tops-track .mare-card {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 8px;
    box-sizing: border-box;
}

.mare-tops-arrow {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
    color: #864684;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, opacity 0.2s;
    z-index: 1;
}

.mare-tops-arrow:hover {
    background: #f0f0f0;
}

/* ════════════════════════════════════════════════════════════
   WOOCOMMERCE — ESTILOS GERAIS
════════════════════════════════════════════════════════════ */

/* Botão Add to Cart nativo */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.wc-block-grid__product .wp-block-button__link {
    background-color: #98be8e !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    border: none !important;
    transition: background-color 0.2s ease;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background-color: #5f8c54 !important;
    color: #ffffff !important;
}

/* Badge Sale */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
    background-color: #98be8e !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 10px !important;
    min-height: auto !important;
    min-width: auto !important;
    padding: 3px 8px !important;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

/* Preços nativos */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
    color: #15164c !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}

.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del {
    color: #17184e !important;
    opacity: 0.45;
    font-weight: 400 !important;
}

/* Títulos de seções Elementor / Gutenberg */
.elementor-widget-heading .elementor-heading-title,
.wp-block-heading,
.entry-content h2,
.entry-content h3 {
    color: #864684 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVIDADE
════════════════════════════════════════════════════════════ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
    .mare-grid--4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet pequeno (≤ 900px) */
@media (max-width: 900px) {
    .mare-grid--4col,
    .mare-grid--3col-h {
        grid-template-columns: repeat(2, 1fr);
    }

    .mare-banners-3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .mare-banners-3col .mare-banner-cat:last-child {
        grid-column: span 2;
        height: 280px;
    }

    .mare-tops-layout {
        grid-template-columns: 1fr;
    }

    .mare-tops-banner {
        min-height: 260px;
        height: 260px;
    }

    /* Horizontal cards ficam verticais */
    .mare-card--horizontal {
        flex-direction: column !important;
    }

    .mare-card--horizontal .mare-card__img-wrap {
        width: 100%;
        height: 220px;
    }

    .mare-card--horizontal .mare-card__body {
        width: 100%;
    }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
    .mare-section {
        padding: 36px 0;
    }

    .mare-section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .mare-grid--4col,
    .mare-grid--3col-h,
    .mare-grid--2col {
        grid-template-columns: 1fr;
    }

    .mare-banners-3col {
        grid-template-columns: 1fr;
    }

    .mare-banners-3col .mare-banner-cat:last-child {
        grid-column: span 1;
    }

    .mare-banner-cat {
        height: 240px;
    }

    .mare-card--horizontal {
        flex-direction: column !important;
    }

    .mare-card--horizontal .mare-card__img-wrap {
        width: 100%;
        height: 180px;
    }

    .mare-vantagens {
        gap: 14px;
        font-size: 11px;
        padding: 8px 12px;
    }
}

/* ════════════════════════════════════════════════════════════
   SHOP / CATEGORY ARCHIVE
════════════════════════════════════════════════════════════ */

/* ── Layout: sidebar + main ── */
.mare-shop-outer {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 24px 48px;
}

.mare-shop-sidebar {
    width: 220px;
    min-width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.mare-shop-main {
    flex: 1;
    min-width: 0;
}

/* ── Toggle "Filtros" (só aparece no mobile, ver media query 900px) ── */
.mare-filter-mobile-toggle { display: none; }

/* Kadence aplica margin-top: 48px em #primary por padrão; como o sidebar fica
   fora desse wrapper, ele não recebe esse espaço e o conteúdo principal desalinha */
.mare-shop-main #primary {
    margin-top: 0 !important;
}

/* ── Barra "Você está em X / Y" + contagem de itens ── */
.mare-shop-breadcrumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 16px 24px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.mare-shop-breadcrumb-trail {
    font-size: 13px;
    color: #777;
}

.mare-shop-breadcrumb-trail a {
    color: #864684;
    text-decoration: none;
    font-weight: 600;
}

.mare-shop-breadcrumb-trail a:hover { text-decoration: underline; }

.mare-shop-breadcrumb-trail strong {
    color: #864684;
    font-weight: 700;
}

.mare-shop-breadcrumb-sep {
    color: #ccc;
    margin: 0 2px;
}

.mare-shop-breadcrumb-count {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .mare-shop-breadcrumb-bar {
        padding: 10px 16px;
        gap: 4px 12px;
    }
    .mare-shop-breadcrumb-trail,
    .mare-shop-breadcrumb-count {
        font-size: 12px;
    }
}

/* ── Sidebar filter blocks ── */
.mare-filter-block {
    border: 1px solid #efefef;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.mare-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #864684;
    cursor: pointer;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.mare-filter-toggle:hover { background: #faf6fb; }

.mare-filter-arrow {
    font-size: 10px;
    color: #864684;
    transition: transform 0.2s;
}

.mare-filter-block.collapsed .mare-filter-arrow { transform: rotate(-90deg); }
.mare-filter-block.collapsed .mare-filter-body   { display: none; }

.mare-filter-body {
    padding: 4px 14px 14px;
    border-top: 1px solid #f5f5f5;
}

/* ── Category tree ── */
.mare-filter-cats,
.mare-filter-cats ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mare-filter-cats li {
    padding: 4px 0;
}

.mare-filter-cats li a {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}

.mare-filter-cats li a:hover,
.mare-filter-cats li.current > a { color: #864684; font-weight: 600; }

.mare-filter-cats ul {
    padding-left: 14px;
    margin-top: 2px;
}

/* ── Size pills ── */
.mare-filter-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 4px;
}

.mare-size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.mare-size-pill:hover { border-color: #864684; color: #864684; }
.mare-size-pill.active { border-color: #864684; background: #864684; color: #fff; }

/* ── Color swatches ── */
.mare-filter-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 6px;
}

.mare-color-swatch {
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
}

.mare-color-swatch:hover { transform: scale(1.18); box-shadow: 0 0 0 2px #864684; }
.mare-color-swatch.active { box-shadow: 0 0 0 3px #864684; transform: scale(1.1); }

/* ── Price form ── */
.mare-price-range {
    display: flex;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}

.mare-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.mare-price-inputs input {
    width: 72px;
    height: 34px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    padding: 0 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    text-align: center;
}

.mare-price-inputs input:focus { outline: none; border-color: #864684; }
.mare-price-inputs span { color: #999; font-size: 12px; }

.mare-filter-btn {
    width: 100%;
    height: 36px;
    background: #864684;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.mare-filter-btn:hover { background: #5c2e5c; }

/* ── Limpar filtros ── */
.mare-clear-filters {
    display: block;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #864684;
    text-decoration: none;
    margin-top: 8px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #e0c8e0;
    transition: background 0.15s;
}
.mare-clear-filters:hover { background: #faf6fb; }

/* ── Product grid: 3 colunas ── */
.woocommerce .mare-shop-main ul.products,
.woocommerce-page .mare-shop-main ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    display: grid !important;
    gap: 20px !important;
}

/* Descrição curta nunca aparece nos cards (nem grade nem lista) */
.mare-shop-main .product-excerpt {
    display: none !important;
}

/* ── Visualização em lista: cards horizontais (imagem + info + botão) ──
   Precisa vir DEPOIS da regra de grid acima (mesma especificidade + !important
   → quem vier por último no arquivo vence). */
.mare-shop-main ul.products.products-list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

.mare-shop-main ul.products.products-list-view li.product {
    display: flex !important;
    align-items: stretch;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mare-shop-main ul.products.products-list-view li.product:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.mare-shop-main ul.products.products-list-view li.product > a.woocommerce-loop-image-link {
    position: relative;
    display: block;
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    overflow: hidden;
}

.mare-shop-main ul.products.products-list-view li.product > a.woocommerce-loop-image-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    margin: 0 !important;
}

.mare-shop-main ul.products.products-list-view .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 28px;
    gap: 10px;
    background: transparent !important;
}

.mare-shop-main ul.products.products-list-view .woocommerce-loop-product__title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #17184d;
    margin: 0;
    line-height: 1.4;
}

.mare-shop-main ul.products.products-list-view .woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
}

.mare-shop-main ul.products.products-list-view .price {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #15164c;
}

.mare-shop-main ul.products.products-list-view .price del {
    font-size: 13px;
    color: #999;
    opacity: 1;
    font-weight: 400;
    margin-right: 6px;
}

.mare-shop-main ul.products.products-list-view .price ins {
    text-decoration: none;
}

.mare-shop-main ul.products.products-list-view .product-action-wrap {
    margin-top: 4px;
}

.mare-shop-main ul.products.products-list-view .product-action-wrap .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 180px;
    height: 42px;
    padding: 0 24px !important;
    background-color: #98be8e !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.mare-shop-main ul.products.products-list-view .product-action-wrap .button:hover {
    background-color: #5f8c54 !important;
}

@media (max-width: 600px) {
    .mare-shop-main ul.products.products-list-view li.product {
        flex-direction: column;
    }
    .mare-shop-main ul.products.products-list-view li.product > a.woocommerce-loop-image-link {
        width: 100%;
        height: 240px;
        flex: none;
    }
    .mare-shop-main ul.products.products-list-view .product-details {
        padding: 16px 18px;
    }
}

/* ── Toolbar (sort + count) ── */
.mare-shop-main .woocommerce-products-header { margin-bottom: 16px; }
.mare-shop-main .woocommerce-products-header__title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #864684;
    margin-bottom: 4px;
}

/* ── Barra de topo: ordenar / itens por página / paginação / grade-lista ── */
.mare-shop-main .kadence-shop-top-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

/* "Exibindo X–Y de Z resultados" já aparece na barra de trilha acima — oculto aqui pra não duplicar */
.mare-shop-main .kadence-woo-results-count {
    display: none;
}

/* Meu hook injeta "Itens por página" e a paginação ANTES dos itens nativos do
   Kadence no DOM — reordena visualmente com flex `order` para ficar:
   Ordenar por → Itens por página → paginação → (espaço) → grade/lista */
.mare-shop-main .kadence-woo-results-count { order: 0; }
.mare-shop-main .kadence-woo-ordering      { order: 1; }
.mare-shop-main .mare-woo-per-page         { order: 2; }
.mare-shop-main .mare-woo-pagination-top   { order: 3; }
.mare-shop-main .kadence-woo-toggle        { order: 4; margin-left: auto; }

/* Selects (Ordenar por / Itens por página) */
.mare-shop-main .kadence-woo-ordering,
.mare-shop-main .mare-woo-per-page {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mare-shop-main .kadence-woo-ordering::before {
    content: "Ordenar por";
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.mare-shop-main .mare-per-page-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mare-shop-main .mare-per-page-form label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.mare-shop-main .orderby,
.mare-shop-main .mare-per-page-form select {
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid #e0d0e0;
    border-radius: 8px;
    padding: 9px 34px 9px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23864684' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
    cursor: pointer;
    transition: border-color 0.15s;
}

/* O <select> nativo se dimensiona pela opção mais longa ("Ordenar por preço:
   maior para menor") — trava a largura pra não estourar a barra */
.mare-shop-main .orderby {
    max-width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.mare-shop-main .orderby:hover,
.mare-shop-main .mare-per-page-form select:hover,
.mare-shop-main .orderby:focus,
.mare-shop-main .mare-per-page-form select:focus {
    border-color: #864684;
    outline: none;
}

/* ── Paginação (topo e rodapé) — círculos no estilo do site original ── */
.mare-shop-main .woocommerce-pagination { margin: 0; }
.mare-shop-main .woocommerce-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mare-shop-main .woocommerce-pagination ul.page-numbers li { display: flex; }

.mare-shop-main .woocommerce-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 4px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #864684;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.mare-shop-main .woocommerce-pagination a.page-numbers:hover {
    background: #f3e6f3;
}

.mare-shop-main .woocommerce-pagination span.page-numbers.current {
    background: #864684;
    color: #fff;
}

.mare-shop-main .woocommerce-pagination .page-numbers.dots {
    color: #bbb;
    background: none !important;
}

.mare-shop-main .woocommerce-pagination .page-numbers.prev,
.mare-shop-main .woocommerce-pagination .page-numbers.next {
    background: #f3e6f3;
    font-size: 15px;
}

.mare-shop-main .woocommerce-pagination .page-numbers.prev:hover,
.mare-shop-main .woocommerce-pagination .page-numbers.next:hover {
    background: #864684;
    color: #fff;
}

/* Paginação de baixo (a nativa, depois do grid) recebe um respiro extra */
.mare-shop-main > #primary .woocommerce-pagination,
.mare-shop-main nav.woocommerce-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* ── Grade / Lista (toggle) ── */
.mare-shop-main .kadence-product-toggle-container {
    display: flex;
    gap: 6px;
}

.mare-shop-main .kadence-toggle-shop-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 6px;
    border: 1.5px solid #e0d0e0;
    border-radius: 6px;
    background: #fff;
    color: #864684;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.mare-shop-main .kadence-toggle-shop-layout svg { width: 100%; height: 100%; }

.mare-shop-main .kadence-toggle-shop-layout.toggle-active,
.mare-shop-main .kadence-toggle-shop-layout:hover {
    background: #864684;
    border-color: #864684;
    color: #fff;
}

@media (max-width: 600px) {
    .mare-shop-main .kadence-shop-top-row {
        flex-wrap: nowrap;
        gap: 10px;
        margin-bottom: 14px;
        align-items: flex-start;
    }
    .mare-shop-main .kadence-woo-toggle {
        margin-left: 0;
    }

    /* "Ordenar por" e "Itens por página" lado a lado, com rótulo em cima do select
       em vez de ao lado — cabem os dois numa linha só sem estourar a largura */
    .mare-shop-main .kadence-woo-ordering,
    .mare-shop-main .mare-woo-per-page {
        flex: 1 1 0;
        min-width: 0;
    }
    .mare-shop-main .kadence-woo-ordering,
    .mare-shop-main .mare-per-page-form {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .mare-shop-main .kadence-woo-ordering::before,
    .mare-shop-main .mare-per-page-form label {
        font-size: 11px;
    }
    .mare-shop-main .mare-per-page-form label {
        white-space: normal;
    }
    .mare-shop-main .orderby,
    .mare-shop-main .mare-per-page-form select {
        width: 100%;
        max-width: none;
        padding: 8px 26px 8px 10px;
        font-size: 12px;
    }

    /* Paginação no topo é redundante no mobile (já existe embaixo do grid) —
       some daqui pra deixar o produto aparecer mais cedo */
    .mare-shop-main .mare-woo-pagination-top {
        display: none;
    }
}

/* ── Responsivo ── */
@media (max-width: 900px) {
    .mare-shop-outer { flex-direction: column; padding: 16px; }
    .mare-shop-sidebar { width: 100%; min-width: unset; position: static; }
    .woocommerce .mare-shop-main ul.products,
    .woocommerce-page .mare-shop-main ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .mare-filter-mobile-toggle,
    .mare-filter-mobile-toggle:hover,
    .mare-filter-mobile-toggle:focus,
    .mare-filter-mobile-toggle:active {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: #fff;
        border: 1px solid #efefef;
        border-radius: 10px;
        padding: 13px 16px;
        margin-bottom: 12px;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: #864684;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        cursor: pointer;
    }
    .mare-filter-mobile-toggle .mare-filter-arrow { transition: transform 0.2s; }
    .mare-filter-mobile-toggle.open .mare-filter-arrow { transform: rotate(180deg); }

    .mare-filter-panel { display: none; }
    .mare-filter-panel.open { display: block; margin-bottom: 4px; }
}

@media (max-width: 480px) {
    .woocommerce .mare-shop-main ul.products,
    .woocommerce-page .mare-shop-main ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ════════════════════════════════════════════════════════════
   FOOTER CUSTOMIZADO
════════════════════════════════════════════════════════════ */

/* Ocultar footer padrão do Kadence */
#colophon { display: none !important; }

.mare-footer {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 56px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #555;
}

.mare-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.mare-footer__title {
    font-size: 15px;
    font-weight: 700;
    color: #6b3fa0;
    margin: 0 0 20px;
}

.mare-footer__phone {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
    line-height: 1.2;
}

.mare-footer__email {
    display: block;
    color: #555;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 13px;
}

.mare-footer__email:hover { color: #6b3fa0; }

.mare-footer__social {
    display: flex;
    gap: 12px;
}

.mare-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid #6b3fa0;
    border-radius: 50%;
    color: #6b3fa0;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.mare-social-btn:hover { background: #6b3fa0; color: #fff; }
.mare-social-btn svg { display: block; }

.mare-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mare-footer__links li { margin-bottom: 14px; }

.mare-footer__links a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.mare-footer__links a:hover { color: #6b3fa0; }

.mare-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mare-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 46px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 6px;
    line-height: 1.2;
    text-align: center;
}

.mare-pay--itau  { background: #f07700; color: #fff; }
.mare-pay--amex  { background: #016fcb; color: #fff; }
.mare-pay--hiper { background: #cc0000; color: #fff; }
.mare-pay--pag   { background: #00b140; color: #fff; font-size: 9px; }
.mare-pay--visa  { background: #1a1f71; color: #fff; font-style: italic; font-size: 13px; letter-spacing: 1px; }

.mare-pay--mc {
    background: #fff;
    border: 1px solid #ddd;
    padding: 0 8px;
    width: 46px;
    gap: 0;
}

.mare-pay--mc .mc-r,
.mare-pay--mc .mc-o {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.mare-pay--mc .mc-r { background: #eb001b; margin-right: -8px; position: relative; z-index: 1; }
.mare-pay--mc .mc-o { background: #f79e1b; }

.mare-footer__bottom {
    margin-top: 48px;
    border-top: 1px solid #e8e8e8;
    padding: 20px 24px;
    text-align: center;
}

.mare-footer__bottom p {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .mare-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .mare-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   SINGLE PRODUCT
============================================================ */

.single-product div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}
.single-product .woocommerce-product-gallery {
    grid-column: 1;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.single-product .summary.entry-summary {
    grid-column: 2;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.single-product .woocommerce-tabs,
.single-product .related,
.single-product .upsells { grid-column: 1 / -1; margin-top: 40px; }

.woocommerce-product-gallery {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    align-items: flex-start;
    position: relative;
}

/* Imagem principal: .flex-viewport é o container real no WooCommerce */
.woocommerce-product-gallery .flex-viewport {
    flex: 1; order: 2; border-radius: 12px; overflow: hidden; min-width: 0;
}
.woocommerce-product-gallery .flex-viewport img {
    width: 100%; display: block; border-radius: 12px;
}

/* Thumbnail strip vertical — 6 visíveis, scroll para as demais */
.woocommerce-product-gallery .flex-control-thumbs {
    order: 1; width: 76px !important; flex-shrink: 0;
    display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important;
    gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none;
    max-height: 434px; overflow-y: auto !important; overflow-x: hidden !important;
    scrollbar-width: thin; scrollbar-color: #ccc transparent;
}
.woocommerce-product-gallery .flex-control-thumbs li {
    width: 76px !important; min-width: 76px !important;
    flex-shrink: 0 !important; flex-grow: 0 !important;
    float: none !important; margin: 0 !important;
}
.woocommerce-product-gallery .flex-control-thumbs li img {
    border-radius: 8px; cursor: pointer; width: 76px; height: 76px;
    object-fit: cover; display: block; opacity: 0.65;
    border: 2px solid transparent; transition: border-color 0.2s, opacity 0.2s;
}
.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: #6b3fa0; opacity: 1;
}

/* Ocultar lupa — clicar na imagem já abre o zoom */
.woocommerce-product-gallery__trigger { display: none !important; }

.single-product .product_title {
    font-size: 26px; font-weight: 700; color: #1a1a1a;
    margin-bottom: 14px; font-family: 'Poppins', sans-serif; line-height: 1.3;
}
.single-product .price {
    font-size: 28px; font-weight: 700; color: #222; margin-bottom: 8px; display: block;
}
.single-product .price del { font-size: 15px; color: #999; font-weight: 400; display: block; }
.single-product .price ins { text-decoration: none; }

.single-product .variations_form .variations {
    width: 100%; border-collapse: collapse; margin-bottom: 16px;
}
.single-product .variations_form .variations td,
.single-product .variations_form .variations th { padding: 6px 0; text-align: left; border: none; }
.single-product .variations_form .label label {
    font-size: 13px; font-weight: 700; color: #333; text-transform: uppercase; letter-spacing: 0.3px;
}
.single-product .variations_form select {
    width: 100%; padding: 10px 12px; border: 1.5px solid #e0e0e0; border-radius: 8px;
    font-family: 'Poppins', sans-serif; font-size: 14px; background: #fafafa; cursor: pointer;
}
.single-product .variations_form select:focus { outline: none; border-color: #6b3fa0; }

/* Linha Preço + Qty → Botão abaixo */
.single-product .cart { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.mare-price-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}
.mare-price-qty-row .price {
    margin: 0 !important;
    flex: 1;
}

/* Stepper +/− pill */
.single-product .quantity { position: relative; flex-shrink: 0; }
.mare-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    border: 1.5px solid #e4e4e4;
    border-radius: 50px;
    height: 54px;
    min-width: 150px;
    user-select: none;
    overflow: hidden;
}
.mare-qty-btn {
    background: none;
    border: none;
    width: 50px;
    height: 54px;
    font-size: 24px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    transition: background 0.15s;
}
.mare-qty-btn:hover { background: #e8e8e8; }
.mare-qty-minus { border-radius: 50px 0 0 50px; }
.mare-qty-plus  { border-radius: 0 50px 50px 0; }
.mare-qty-display {
    flex: 1;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    min-width: 40px;
}

/* Botão "Comprar no Whats" / "Consulte o Preço" — linha própria, largura total, ícone do WhatsApp */
.single-product .single_add_to_cart_button,
.single-product .mare-consult-price-btn {
    width: 100% !important; display: flex !important;
    align-items: center !important; justify-content: center !important; gap: 10px !important;
    background: #98be8e !important; color: #fff !important;
    font-family: 'Poppins', sans-serif !important; font-weight: 700 !important;
    font-size: 14px !important; letter-spacing: 1px !important; text-transform: uppercase !important;
    padding: 0 24px !important; border-radius: 8px !important; border: none !important;
    cursor: pointer !important; transition: background 0.2s !important; height: 54px !important;
    text-decoration: none !important;
}
.single-product .single_add_to_cart_button:hover,
.single-product .mare-consult-price-btn:hover { background: #7aab6a !important; }

.single-product .single_add_to_cart_button::before,
.single-product .mare-consult-price-btn::before {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38c1.45.79 3.08 1.21 4.79 1.21 5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2zm5.75 14.06c-.24.68-1.42 1.32-1.96 1.36-.5.05-1.15.07-1.85-.12-.43-.12-.97-.31-1.67-.61-2.93-1.27-4.84-4.23-4.99-4.43-.15-.2-1.19-1.58-1.19-3.02 0-1.43.75-2.14 1.02-2.43.27-.29.58-.36.78-.36h.56c.18 0 .42-.02.65.5.24.55.8 1.9.87 2.04.07.15.12.32.02.51-.1.19-.15.32-.29.49-.15.17-.31.38-.44.51-.15.15-.3.31-.13.61.17.3.76 1.26 1.63 2.04 1.12 1 2.06 1.31 2.36 1.46.3.15.48.13.65-.07.18-.2.75-.87.95-1.17.2-.3.4-.25.67-.15.27.1 1.72.81 2.02.96.3.15.5.22.57.35.07.13.07.75-.17 1.43z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Posição na coluna do summary (mesmo lugar do preço/botão de compra) */
.single-product .entry-summary > .mare-consult-price-btn { order: 2; }

.woocommerce-tabs ul.tabs { display: none !important; }

.woocommerce-tabs .woocommerce-Tabs-panel--description {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #efefef !important;
    padding: 0 36px 32px !important;
    margin-top: 8px !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel--description h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    font-weight: 700;
    color: #864684;
    font-family: 'Poppins', sans-serif;
    padding: 28px 0 22px;
    margin: 0 0 20px;
    border-top: none;
    border-bottom: 1px solid #efefef;
}

.woocommerce-tabs .woocommerce-Tabs-panel--description h2::after {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #1a1a2e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E") center/20px no-repeat;
    border-radius: 50%;
    flex-shrink: 0;
}

.woocommerce-tabs .panel {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.85;
}

.woocommerce-tabs .panel p { margin-bottom: 14px; }

.woocommerce-tabs .panel strong,
.woocommerce-tabs .panel b { font-weight: 700; color: #1a1a2e; }

.woocommerce-tabs .panel ul,
.woocommerce-tabs .panel ol { margin: 12px 0 16px 20px; padding: 0; }

.woocommerce-tabs .panel ul li,
.woocommerce-tabs .panel ol li { margin-bottom: 6px; padding-left: 4px; list-style: disc; }

.woocommerce-tabs .panel h3,
.woocommerce-tabs .panel h4 {
    font-size: 14px; font-weight: 700; color: #1a1a2e;
    text-transform: uppercase; letter-spacing: 0.3px;
    margin: 18px 0 8px; font-family: 'Poppins', sans-serif;
}

.related > h2 {
    font-size: 22px; font-weight: 700; color: #1a1a1a;
    margin-bottom: 24px; font-family: 'Poppins', sans-serif;
}
.related ul.products {
    display: grid !important; grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px; list-style: none !important; padding: 0 !important; margin: 0 !important;
}
.related ul.products li.product {
    border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    background: #fff; transition: transform 0.2s, box-shadow 0.2s;
    margin: 0 !important; float: none !important; width: auto !important;
}
.related ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.related ul.products li.product img { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; }
.related ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px; font-weight: 600; padding: 10px 12px 4px;
    color: #333; font-family: 'Poppins', sans-serif; line-height: 1.4;
}
.related ul.products li.product .price { padding: 0 12px 8px; font-size: 14px; font-weight: 700; }
.related ul.products li.product .button {
    display: block !important; margin: 0 12px 12px !important; width: calc(100% - 24px) !important;
    background: #98be8e !important; color: #fff !important; text-align: center !important;
    padding: 9px 8px !important; border-radius: 6px !important; font-size: 11px !important;
    font-weight: 700 !important; text-transform: uppercase !important;
    text-decoration: none !important; border: none !important; transition: background 0.2s !important;
}
.related ul.products li.product .button:hover { background: #7aab6a !important; }

@media (max-width: 768px) {
    .single-product div.product { grid-template-columns: 1fr; }
    .single-product .woocommerce-product-gallery,
    .single-product .summary.entry-summary { grid-column: 1; }
    .related ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    .woocommerce-product-gallery .flex-control-thumbs { width: 56px !important; }
}

/* ============================================================
   PRODUCT PAGE — CORREÇÕES ADICIONAIS
============================================================ */

/* Breadcrumb Kadence — mesma cor/peso em todos os itens, igual ao site original */
.kadence-breadcrumbs {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #191b53 !important;
    padding: 8px 0 4px !important;
}
.kadence-breadcrumbs a,
.kadence-breadcrumbs span { color: #191b53 !important; font-size: 13px !important; font-weight: 600 !important; }
.kadence-breadcrumbs a:hover { text-decoration: underline; opacity: 1; }
.kadence-breadcrumbs .breadcrumb-sep,
.kadence-breadcrumbs span[aria-hidden] { color: #191b53 !important; margin: 0 4px; }

/* Garantir que os wrappers internos preencham a coluna */
.single-product .summary .variations_form,
.single-product .summary .cart,
.single_variation_wrap,
.woocommerce-variation-add-to-cart,
.variations_button { width: 100% !important; }

/* CORREÇÃO PRINCIPAL: form em coluna, não em linha */
.single-product .variations_form,
.single-product form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
}

/* Variações: tabela full-width com labels + selects empilhados */
.single-product .variations_form .variations {
    width: 100% !important;
    display: block !important;
    border-collapse: collapse !important;
}
/* tbody empilha os tr verticalmente */
.single-product .variations_form .variations tbody {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
}
/* cada tr = label + select lado a lado */
.single-product .variations_form .variations tr {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
}
.single-product .variations_form .variations .label {
    min-width: 90px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #333 !important;
}
.single-product .variations_form .variations .value {
    flex: 1 !important;
}
.single-product .variations_form .variations .value select {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    background: #fafafa !important;
}
.single-product .variations_form .reset_variations_alert { display: none !important; }

/* Preço dentro do form */
.single-product .variations_form > .price {
    width: 100% !important;
    margin: 0 !important;
}

/* single_variation_wrap e botão — coluna: [preço+qty] → [botão] */
.single-product .single_variation_wrap { width: 100% !important; }
.single-product .woocommerce-variation-add-to-cart {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover { background: #7aab6a !important; }

/* Disponibilidade / stock notice */
.woocommerce-variation-availability p,
.stock { font-size: 12px; color: #5f8c54; font-family: 'Poppins', sans-serif; }

/* Cursor zoom na imagem principal */
.woocommerce-product-gallery .flex-viewport { cursor: zoom-in; }

/* ── Lightbox customizado ── */
.mare-lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}
.mare-lb--open { display: flex; }
.mare-lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}
.mare-lb__img-wrap {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mare-lb__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    user-select: none;
}
.mare-lb__close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 2;
    background: none;
    border: none;
    color: #fff;
    font-size: 38px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 10px;
    opacity: 0.75;
    transition: opacity 0.15s;
}
.mare-lb__close:hover { opacity: 1; }
.mare-lb__prev,
.mare-lb__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 52px;
    cursor: pointer;
    padding: 6px 18px;
    border-radius: 6px;
    line-height: 1;
    transition: background 0.15s;
}
.mare-lb__prev:hover,
.mare-lb__next:hover { background: rgba(255, 255, 255, 0.28); }
.mare-lb__prev { left: 20px; }
.mare-lb__next { right: 20px; }
.mare-lb__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

/* Galeria: strip wrapper com setas UP/DOWN */
.mare-thumbs-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 76px;
    flex-shrink: 0;
    order: 1;
    gap: 4px;
}
.mare-thumbs-wrapper .flex-control-thumbs {
    order: unset !important;
    width: 76px !important;
    min-width: 76px !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    max-height: 434px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.mare-thumbs-wrapper .flex-control-thumbs::-webkit-scrollbar { display: none; }
.mare-thumbs-arrow {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #333;
    transition: background 0.2s;
    padding: 0;
}
.mare-thumbs-arrow:hover { background: #f0f0f0; }

/* Corrigir order do .flex-control-thumbs quando NÃO está no wrapper (fallback) */
.woocommerce-product-gallery > .flex-control-thumbs { order: 1; }

/* Heading Descrição — chevron roda quando fechado */
.woocommerce-Tabs-panel--description h2.desc-closed::after {
    transform: rotate(180deg);
}
.woocommerce-Tabs-panel--description h2 { cursor: pointer; }

/* Cores dos produtos relacionados — navy igual ao original */
.related ul.products li.product .woocommerce-loop-product__title {
    color: #17184d !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.related ul.products li.product .price,
.related ul.products li.product .price .amount,
.related ul.products li.product .price bdi {
    color: #17184d !important;
}

/* ── Badge OFERTA: canto sup-dir da imagem principal ── */
.flex-viewport { position: relative !important; }

.flex-viewport .onsale {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    margin: 0 !important;
    z-index: 5;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Remover posição original do badge (era filho direto de div.product) */
.single-product div.product > .onsale { display: none !important; }

/* ── Formatação do preço: riscado menor + preço grande ── */
.single-product .price {
    display: block !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}
.single-product .price > del,
.single-product .price del {
    display: block !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #aaa !important;
    margin-bottom: 4px !important;
    text-decoration: line-through !important;
    opacity: 1 !important;
}
.single-product .price > ins,
.single-product .price ins {
    display: block !important;
    text-decoration: none !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    background: none !important;
}
/* Preço sem oferta — único span */
.single-product .price > .woocommerce-Price-amount:only-child,
.single-product .price > span:only-child {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    display: block !important;
}

/* ── Ordenação do summary (produto simples) ── */
.single-product .entry-summary {
    display: flex !important;
    flex-direction: column !important;
}
.single-product .entry-summary > .product_title      { order: 1; }
.single-product .entry-summary > .price              { order: 2; }
.single-product .entry-summary > form.cart           { order: 3; }
/* Produto variável: .price é movido pelo JS para dentro do form */
.single-product .entry-summary > .variations_form    { order: 2; }
/* Ocultar elementos removidos pelos hooks PHP */
.single-product .entry-summary > .woocommerce-product-rating,
.single-product .entry-summary > .woocommerce-product-details__short-description,
.single-product .entry-summary > .product_meta { display: none !important; }


/* ════════════════════════════════════════════════════════════
   PRODUCT PAGE — LAYOUT ESTILO SITE ORIGINAL
   (Ref./Disponibilidade, parcelamento/PIX, swatches, pagamento)
════════════════════════════════════════════════════════════ */

/* Posição na coluna do summary (produto simples; ver JS pra variável) */
.single-product .entry-summary > .mare-product-meta-top { order: 0; }
.single-product .entry-summary > .mare-installments,
.single-product .entry-summary > .mare-payment-toggle,
.single-product .entry-summary > .mare-payment-panel { order: 2; }

/* ── Ref. / Disponibilidade ── */
.mare-product-meta-top {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
.mare-product-sku-value,
.mare-product-stock-value { color: #555; font-weight: 500; }

/* ── Parcelamento / PIX ── */
.mare-installments {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #777;
    margin-top: -8px;
}

/* ── Mais formas de pagamento ── */
.mare-payment-toggle {
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #864684;
    text-decoration: underline;
    cursor: pointer;
}
.mare-payment-toggle:hover { color: #5c2e5c; }

.mare-payment-panel {
    display: none;
    width: 100%;
}
.mare-payment-panel--open { display: block; }
.mare-payment-panel .mare-payment-grid { margin-top: 8px; }

/* ── Swatches: substituem os <select> nativos de variação ── */
.mare-swatch-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mare-swatch--pill {
    min-width: 44px;
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid #864684;
    border-radius: 8px;
    background: #fff;
    color: #864684;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.mare-swatch--pill:hover { background: #faf6fb; }
.mare-swatch--pill.mare-swatch--active {
    background: #864684;
    color: #fff;
}
.mare-swatch--pill.mare-swatch--disabled {
    border-color: #e0e0e0;
    color: #ccc;
    background: #fafafa;
    cursor: not-allowed;
    text-decoration: line-through;
}

.mare-swatch--color {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 0 0 1px #ddd;
    transition: transform 0.15s, box-shadow 0.15s;
}
.mare-swatch--color.mare-swatch--light { box-shadow: 0 0 0 1px #ccc; }
.mare-swatch--color:hover { transform: scale(1.1); }
.mare-swatch--color.mare-swatch--active {
    box-shadow: 0 0 0 2px #864684;
}
.mare-swatch--color.mare-swatch--disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.mare-swatch-group--color { gap: 10px; }

/* Rótulo "Selecionar cor" / "Selecionar tamanho" (texto trocado via JS) */
.single-product .variations_form .variations .label label {
    display: block;
    margin-bottom: 8px;
    text-transform: none !important;
}

/* ── Breadcrumb: separador "•" no lugar de "/" ──
   font-size:0 precisa de !important pra vencer a regra genérica
   ".kadence-breadcrumbs span { font-size: 13px !important; }" acima */
.kadence-breadcrumbs .bc-delimiter {
    font-size: 0 !important;
}
.kadence-breadcrumbs .bc-delimiter::before {
    content: "•";
    font-size: 13px;
    color: #191b53;
}

/* ════════════════════════════════════════════════════════════
   PÁGINA FALE CONOSCO — widgets + mapa
════════════════════════════════════════════════════════════ */

.mare-contact-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 24px;
}

.mare-contact-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mare-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mare-contact-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f3e8f5;
    color: #864684;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.mare-contact-card__icon svg {
    width: 26px;
    height: 26px;
}

.mare-contact-card__icon--whatsapp {
    background: #e5f5e0;
    color: #4caf50;
}

.mare-contact-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #17184d;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.mare-contact-card__value {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #864684;
    text-decoration: none;
}

.mare-contact-card__value:hover {
    text-decoration: underline;
}

.mare-contact-hours {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.mare-contact-hours li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.mare-contact-hours li:last-child { border-bottom: none; }

.mare-contact-hours li span:first-child {
    font-weight: 600;
    color: #17184d;
}

.mare-contact-map {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.mare-contact-map iframe {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    display: block;
}

@media (max-width: 900px) {
    .mare-contact-widgets {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════════════════════
   BOTÃO FLUTUANTE DO WHATSAPP (site inteiro)
════════════════════════════════════════════════════════════ */

.mare-wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mare-wa-float svg {
    width: 30px;
    height: 30px;
}

.mare-wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

@media (max-width: 600px) {
    .mare-wa-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
    .mare-wa-float svg {
        width: 26px;
        height: 26px;
    }
}
