/* ==========================================================
   Manipele Vet — estilos do CMS (vitrine, produtos e blocos novos)
   ========================================================== */
:root {
  --cms-radius: 14px;
  --cms-shadow: 0 6px 24px rgba(10, 52, 96, .08);
  --cms-shadow-hover: 0 14px 36px rgba(10, 52, 96, .16);
  --cms-text: #3a3a3a;
  --cms-muted: #6b7280;
  --cms-border: #e6ebe8;
}

.cms-hide-mobile { }
@media (max-width: 767px) { .cms-hide-mobile { display: none !important; } }
@media (min-width: 768px) { .cms-hide-desktop { display: none !important; } }

.cms-empty { color: var(--cms-muted); padding: 2rem 0; }
.cms-list div, .cms-list p { margin: 0; }
.cms-text p:last-child, .mbr-text p:last-child { margin-bottom: 0; }

/* ---------- Página interna: o menu é fixo ---------- */
.cms-inner main > section:first-child:not(.mbr-fullscreen):not(.cms-page-header) { padding-top: 130px; }
.cms-product-page { padding-top: 120px; padding-bottom: 60px; background: #fff; }
.cms-404 { padding: 180px 0 120px; background: #f6f8f7; }
.cms-404 .mbr-section-title { color: var(--cms-danger, #a75537); }

/* ---------- Bloco imagem + texto (novos) ---------- */
@media (min-width: 992px) {
  .cms-media-text .cms-side-right .mbr-figure { padding-left: 4rem; }
  .cms-media-text .cms-side-left .mbr-figure { padding-right: 4rem; }
}
@media (max-width: 991px) { .cms-media-text .mbr-figure { padding-bottom: 2rem; width: 100% !important; } }
.cms-media-text .mbr-figure img { width: 100%; height: auto; }
.cms-tti .mbr-figure { margin: 0 auto; width: 100%; display: flex; justify-content: center; }
.cms-tti .mbr-figure img { margin: 0 auto; height: auto; }
@media (max-width: 991px) { .cms-tti .mbr-figure img { width: 100% !important; } }
.cms-featured-price { color: #fff; font-weight: 700; margin-bottom: 1.25rem; }

/* ---------- Cards de produto ---------- */
.cms-card {
  background: #fff; border-radius: var(--cms-radius); box-shadow: var(--cms-shadow);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cms-card:hover { transform: translateY(-4px); box-shadow: var(--cms-shadow-hover); }
.cms-card-media { position: relative; display: block; aspect-ratio: 3 / 4; background: #f3f5f4; overflow: hidden; }
.cms-card-media img, .cms-card-media picture { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cms-card:hover .cms-card-media img { transform: scale(1.04); }
@supports not (aspect-ratio: 3 / 4) { .cms-card-media { padding-top: 133%; } .cms-card-media picture, .cms-card-media > img { position: absolute; inset: 0; } }
.cms-card-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 64px; color: #c9d3ce; min-height: 240px; }
.cms-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--cms-danger, #a75537); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: .03em; padding: .3rem .7rem; border-radius: 999px; text-transform: uppercase;
}
.cms-card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; text-align: left; }
.cms-card-cat { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cms-info, #00a859); margin-bottom: .35rem; }
a.cms-card-cat:hover { text-decoration: none; opacity: .8; }
.cms-card-title { font-size: 1.15rem; font-weight: 600; line-height: 1.3; margin: 0 0 .25rem; }
.cms-card-title a { color: #232323; text-decoration: none; }
.cms-card-title a:hover { color: var(--cms-info, #00a859); }
.cms-card-pres { font-size: .82rem; color: var(--cms-muted); margin-bottom: .5rem; }
.cms-card-summary { font-size: .9rem; color: var(--cms-muted); line-height: 1.5; margin: 0 0 1rem; flex: 1; }
.cms-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; border-top: 1px solid var(--cms-border); padding-top: .9rem; }
.cms-card-btn.btn { margin: 0 !important; padding: .55rem 1.3rem !important; font-size: .9rem; border-radius: 999px !important; }
.cms-price { color: #232323; font-size: 1.05rem; line-height: 1.2; }
.cms-price strong { font-weight: 700; }
.cms-price-old { color: var(--cms-muted); font-size: .85em; margin-right: .25rem; }
.cms-price-note { color: var(--cms-muted); font-size: .75em; }
.cms-price-ask { font-size: .9rem; color: var(--cms-muted); }

/* ---------- Carrossel ---------- */
.cms-products .cms-subtitle { color: var(--cms-muted); max-width: 680px; margin: 0 auto; }
.cms-carousel { position: relative; padding: 0 8px 8px; }
.cms-carousel-viewport { overflow: hidden; padding: 12px 4px 24px; margin: -12px -4px 0; touch-action: pan-y; }
.cms-carousel-track { display: flex; transition: transform .6s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.cms-carousel-slide { flex: 0 0 100%; padding: 0 12px; box-sizing: border-box; }
.cms-carousel-arrow {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: #fff; box-shadow: var(--cms-shadow); color: #232323; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.cms-carousel-arrow:hover, .cms-carousel-arrow:focus-visible { background: var(--cms-info, #00a859); color: #fff; outline: none; }
.cms-carousel-arrow.prev { left: -14px; }
.cms-carousel-arrow.next { right: -14px; }
.cms-carousel-arrow[hidden] { display: none; }
@media (max-width: 767px) { .cms-carousel-arrow { display: none; } }
.cms-carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 4px; min-height: 12px; }
.cms-carousel-dots button {
  width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0; background: #c9d3ce; cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.cms-carousel-dots button[aria-selected="true"] { width: 32px; background: var(--cms-info, #00a859); }
.cms-carousel-dots button:focus-visible { outline: 2px solid var(--cms-info, #00a859); outline-offset: 3px; }

/* ---------- Grade de produtos ---------- */
.cms-grid { row-gap: 30px; }
.cms-grid-item { display: flex; }
.cms-grid-item .cms-card { width: 100%; }
.cms-filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.cms-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.cms-filter a {
  padding: .5rem 1.1rem; border-radius: 999px; background: #fff; color: #3a3a3a; font-size: .92rem; font-weight: 500;
  border: 1px solid var(--cms-border); text-decoration: none; transition: all .2s;
}
.cms-filter a:hover { border-color: var(--cms-info, #00a859); color: var(--cms-info, #00a859); }
.cms-filter a.active { background: var(--cms-info, #00a859); border-color: var(--cms-info, #00a859); color: #fff; }
.cms-search { display: flex; background: #fff; border: 1px solid var(--cms-border); border-radius: 999px; overflow: hidden; min-width: 260px; }
.cms-search input { border: 0; padding: .55rem 1rem; flex: 1; font-size: .95rem; outline: none; background: transparent; min-width: 0; }
.cms-search button { border: 0; background: transparent; padding: 0 1rem; color: var(--cms-muted); cursor: pointer; }
.cms-search:focus-within { border-color: var(--cms-info, #00a859); }
.cms-cat-desc { color: var(--cms-muted); max-width: 720px; margin: -1rem auto 2rem; }
@media (max-width: 767px) { .cms-filter-bar { flex-direction: column; align-items: stretch; } .cms-search { min-width: 0; } }

/* ---------- Página de produto ---------- */
.cms-breadcrumb { font-size: .88rem; color: var(--cms-muted); margin-bottom: 1.75rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.cms-breadcrumb a { color: var(--cms-muted); }
.cms-breadcrumb a:hover { color: var(--cms-info, #00a859); }
.cms-product-main { row-gap: 2rem; }
.cms-product-image { position: relative; border-radius: var(--cms-radius); overflow: hidden; background: #f3f5f4; box-shadow: var(--cms-shadow); aspect-ratio: 3 / 4; max-width: 560px; margin: 0 auto; }
.cms-product-image img, .cms-product-image picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.cms-product-info { padding-top: .5rem; }
@media (min-width: 992px) { .cms-product-info { padding-left: 1.5rem; position: sticky; top: 110px; } }
.cms-product-title { font-weight: 700; color: #232323; margin: .25rem 0 1rem; line-height: 1.15; }
.cms-product-tags { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.cms-product-tags li { background: #f1f6f3; color: #2f5d47; border-radius: 999px; padding: .35rem .85rem; font-size: .88rem; display: flex; align-items: center; gap: .4rem; }
.cms-product-price { margin-bottom: 1.25rem; }
.cms-product-price .cms-price { font-size: 2rem; }
.cms-product-price .cms-price-note { font-size: .9rem; }
.cms-product-summary { font-size: 1.08rem; color: #4b5563; line-height: 1.65; margin-bottom: 1.75rem; }
.cms-buy-btn.btn { width: 100%; max-width: 440px; margin: 0 !important; font-size: 1.2rem !important; font-weight: 600; padding: 1.1rem 2rem !important; border-radius: 999px !important; box-shadow: 0 10px 24px rgba(0, 168, 89, .3); }
.cms-buy-btn .socicon { font-size: 1.6rem !important; }
.cms-buy-note { font-size: .88rem; color: var(--cms-muted); margin: .9rem 0 1.5rem; max-width: 440px; }
.cms-trust { list-style: none; padding: 1.1rem 0 0; margin: 0; border-top: 1px solid var(--cms-border); display: grid; gap: .55rem; }
.cms-trust li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: #4b5563; }
.cms-trust span { color: var(--cms-info, #00a859); font-size: 1.2rem; }
.cms-product-details { margin-top: 3.5rem; display: grid; gap: 1.5rem; max-width: 900px; }
.cms-product-section { background: #f8faf9; border-radius: var(--cms-radius); padding: 1.75rem 2rem; }
.cms-product-section h2 { font-weight: 700; color: #232323; margin-bottom: .9rem; }
.cms-product-section .cms-text { color: #4b5563; line-height: 1.7; }
.cms-product-section .cms-text ul { padding-left: 1.2rem; margin-bottom: .5rem; }
.cms-product-section .cms-text h3 { font-size: 1.05rem; font-weight: 600; margin: 1rem 0 .4rem; color: #232323; }
.cms-disclaimer { font-size: .82rem; color: var(--cms-muted); margin: 0; }
.cms-related { background: #f6f8f7; padding: 75px 0; }
.cms-sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .1);
  padding: .75rem 1rem; display: none; align-items: center; justify-content: space-between; gap: .75rem;
  transform: translateY(100%); transition: transform .3s ease;
}
.cms-sticky-buy.show { transform: none; }
.cms-sticky-name { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.25; min-width: 0; }
.cms-sticky-name strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cms-sticky-buy .btn { margin: 0 !important; border-radius: 999px !important; white-space: nowrap; padding: .6rem 1.1rem !important; }
@media (max-width: 991px) { .cms-sticky-buy { display: flex; } .cms-product-view #chatbutton-wa { display: none; } }

/* ---------- Cabeçalho de página ---------- */
.cms-page-header { position: relative; }
.cms-page-header .container { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.cms-faq-list { display: grid; gap: .75rem; }
.cms-faq-item { background: #fff; border: 1px solid var(--cms-border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s; }
.cms-faq-item[open] { box-shadow: var(--cms-shadow); }
.cms-faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.4rem; font-weight: 600; color: #232323; position: relative; }
.cms-faq-item summary::-webkit-details-marker { display: none; }
.cms-faq-item summary::after { content: '+'; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--cms-info, #00a859); transition: transform .2s; }
.cms-faq-item[open] summary::after { content: '−'; }
.cms-faq-answer { padding: 0 1.4rem 1.2rem; color: #4b5563; }

/* ---------- Galeria, vídeo, depoimentos, números ---------- */
.cms-gallery-grid a { display: block; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; background: #eee; }
.cms-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cms-gallery-grid a:hover img { transform: scale(1.05); }
.cms-gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.cms-lightbox-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 2rem; cursor: zoom-out; }
.cms-lightbox-overlay img { max-width: 100%; max-height: 85vh; border-radius: 8px; }
.cms-lightbox-overlay p { color: #fff; margin-top: 1rem; }
.cms-video-frame { position: relative; padding-top: 56.25%; border-radius: var(--cms-radius); overflow: hidden; box-shadow: var(--cms-shadow); }
.cms-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cms-testimonial { background: #fff; border-radius: var(--cms-radius); padding: 1.75rem; box-shadow: var(--cms-shadow); height: 100%; margin: 0; display: flex; flex-direction: column; }
.cms-testimonial blockquote { flex: 1; color: #4b5563; font-style: italic; margin: .5rem 0 1.25rem; }
.cms-testimonial figcaption { display: flex; align-items: center; gap: .75rem; color: #232323; }
.cms-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cms-stars { color: #f5b301; letter-spacing: 2px; }
.cms-counter-number { line-height: 1.1; }
.cms-image-wrap img { max-width: 100%; height: auto; }
.cms-footer-logo { max-width: 191px; height: auto; }

/* Rodapé (equivalente ao footer1 do Mobirise) */
.cms-footer .media-wrap { margin-bottom: 2rem; }
.cms-footer .footer-lower hr { margin: 1rem 0; border-color: rgba(255, 255, 255, .3); }
.cms-footer .footer-lower .copyright { margin-bottom: 1rem; }
.cms-footer .social-list { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; }
.cms-footer .social-list .soc-item a { display: inline-flex; }
.cms-footer .social-list .mbr-iconfont-social { font-size: 1.5rem; color: #fff; }
.cms-footer .social-list .mbr-iconfont-social:hover { opacity: .7; }
.cms-footer .mbr-text a { color: inherit; }
@media (max-width: 767px) {
  .cms-footer .content { text-align: center; }
  .cms-footer .content > div:not(:last-child) { margin-bottom: 1.5rem; }
  .cms-footer .social-list { justify-content: center; }
  .cms-footer .copyright p { text-align: center; }
}
.cms-footer .media-container-row.content { flex-wrap: wrap; }

/* Pré-visualização no painel */
.cms-hidden-block { background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 10px, #e5e7eb 10px, #e5e7eb 20px); color: #6b7280; text-align: center; padding: 14px; font: 14px/1.4 sans-serif; }
.cms-normal, .cms-normal * { font-style: normal !important; }
/* Páginas internas: menu sempre com fundo */
.cms-inner .cms-menu .navbar.transparent, .cms-inner .cms-menu .navbar { background: var(--cms-menu, #a75537) !important; }
