/* ==========================================================
   Datasafe — melhorias visuais da Loja (WooCommerce + TheGem)
   Carregado pelo mu-plugin datasafe-loja.php
   ========================================================== */

:root {
  --ds-navy: #0B243B;
  --ds-blue: #1D71B8;
  --ds-muted: #6b7a88;
  --ds-line: #e4e9ee;
  --ds-bg: #f5f7f9;
}

/* ---------- Cabeçalho das páginas (todas as que têm imagem de fundo) ---------- */
#page-title.has-background-image {
  position: relative;
  padding: 72px 0 56px !important;
  background-size: cover !important;
  background-position: center 40% !important;
  isolation: isolate;
}
#page-title.has-background-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(11,36,59,.92) 0%, rgba(11,36,59,.78) 45%, rgba(29,113,184,.55) 100%) !important;
}
#page-title.has-background-image h1 {
  color: #fff !important;
  letter-spacing: .08em;
  font-size: 44px;
  line-height: 1.1;
  margin: 0;
}
#page-title.has-background-image .breadcrumbs-container {
  position: static;
  margin-top: 14px;
}
#page-title.has-background-image .breadcrumbs,
#page-title.has-background-image .breadcrumbs a {
  color: rgba(255,255,255,.85) !important;
  font-size: 15px;
}
#page-title.has-background-image .breadcrumbs .current {
  color: #fff !important;
  border-bottom-color: #fff !important;
}
#page-title.has-background-image .bc-devider {
  filter: brightness(0) invert(1);
  opacity: .6;
}

/* ---------- Espaçamento do conteúdo ---------- */
body.woocommerce-shop .block-content,
body.tax-product_cat .block-content {
  padding-top: 56px !important;
  padding-bottom: 80px !important;
}

/* Na Loja só aparecem categorias: o seletor "Ver 12 Resultados" não faz sentido */
body.woocommerce-shop .before-products-list {
  display: none !important;
}

/* ---------- Grelha de categorias: cartões da mesma altura ---------- */
.products.row:has(> .product-category) {
  display: flex !important;
  flex-wrap: wrap;
}
.products.row:has(> .product-category)::before,
.products.row:has(> .product-category)::after {
  display: none !important;
}
.products.row > .product-category {
  display: flex !important;
  float: none !important;
  margin-bottom: 30px !important;
}

/* ---------- Cartão de categoria ---------- */
.products .product-category > a {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11,36,59,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none !important;
}
.products .product-category > a:hover,
.products .product-category > a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(29,113,184,.35);
  box-shadow: 0 14px 30px rgba(11,36,59,.12);
}
.products .product-category > a:focus-visible {
  outline: 2px solid var(--ds-blue);
  outline-offset: 2px;
}

/* Imagem com proporção uniforme e zoom suave */
.products .product-category img {
  display: block;
  width: 100% !important;
  aspect-ratio: 4 / 3;
  height: auto !important;
  object-fit: cover;
  background: var(--ds-bg);
  transition: transform .5s ease;
}
.products .product-category > a:hover img {
  transform: scale(1.05);
}

/* Título passa para baixo da imagem (deixa de tapar o produto) */
.products .product-category .category-overlay {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 18px 20px 20px !important;
  background: #fff !important;
  text-align: left !important;
  z-index: 1;
}
.products .product-category .category-title {
  margin: 0 !important;
  color: var(--ds-navy) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  letter-spacing: .02em;
  text-transform: none !important;
  font-weight: 700 !important;
}
.products .product-category .category-overlay-separator {
  display: none !important;
}
.products .product-category .category-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto !important;
  color: var(--ds-muted) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}
.products .product-category .category-count::after {
  content: "Ver \2192";
  color: var(--ds-blue);
  font-weight: 600;
  transition: transform .25s ease;
}
.products .product-category > a:hover .category-count::after {
  transform: translateX(4px);
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  #page-title.has-background-image { padding: 48px 0 40px !important; }
  #page-title.has-background-image h1 { font-size: 30px; }
  body.woocommerce-shop .block-content,
  body.tax-product_cat .block-content { padding-top: 36px !important; }
}

/* ---------- Telemóvel: 2 colunas ---------- */
@media (max-width: 767px) {
  .products.row:has(> .product-category) {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }
  .products.row > .product-category {
    width: 50% !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    margin-bottom: 16px !important;
  }
  .products .product-category .category-overlay { padding: 12px 14px 14px !important; }
  .products .product-category .category-title { font-size: 14px !important; }
  .products .product-category .category-count { font-size: 12px !important; }
  .products .product-category .category-count::after { content: "\2192"; }
}

@media (prefers-reduced-motion: reduce) {
  .products .product-category > a,
  .products .product-category img { transition: none !important; }
  .products .product-category > a:hover,
  .products .product-category > a:hover img { transform: none !important; }
}
/* ---------- Páginas de categoria: barra de ferramentas ---------- */
body.tax-product_cat .page-breadcrumbs,
body.tax-product_tag .page-breadcrumbs,
body.woocommerce-shop .page-breadcrumbs {
  display: none !important;
}
body.tax-product_cat .before-products-list {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 32px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid var(--ds-line);
}
body.tax-product_cat .before-products-list .woocommerce-ordering { order: 1; float: none !important; margin: 0 !important; }
body.tax-product_cat .before-products-list .woocommerce-select-count { order: 2; float: none !important; margin: 0 !important; }
body.tax-product_cat .before-products-list .woocommerce-result-count {
  order: 3;
  float: none !important;
  margin: 0 0 0 auto !important;
  color: var(--ds-muted) !important;
  font-size: 14px;
}
body.tax-product_cat .before-products-list .combobox-wrapper {
  width: auto !important;
  min-width: 200px;
  border: 1px solid var(--ds-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
}
body.tax-product_cat .before-products-list .combobox-text {
  padding-right: 34px !important;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip !important;
  color: var(--ds-navy) !important;
}

/* ---------- Grelha de produtos: mesma altura ---------- */
.products.row:has(> .product) {
  display: flex !important;
  flex-wrap: wrap;
}
.products.row:has(> .product)::before,
.products.row:has(> .product)::after {
  display: none !important;
}
.products.row > .product {
  display: flex !important;
  float: none !important;
  margin-bottom: 30px !important;
}

/* ---------- Cartão de produto ---------- */
.products .product .product-inner {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  background: #fff !important;
  border: 1px solid var(--ds-line) !important;
  border-radius: 12px;
  overflow: hidden;
  text-align: left !important;
  box-shadow: 0 1px 2px rgba(11,36,59,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.products .product .product-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(29,113,184,.35) !important;
  box-shadow: 0 14px 30px rgba(11,36,59,.12);
}
.products .product .product-image {
  display: block;
  background: #fff;
  border-bottom: 1px solid var(--ds-line);
}
.products .product .product-image-inner {
  display: block;
  aspect-ratio: 1 / 1;
  height: auto !important;
  overflow: hidden;
}
.products .product .product-image-inner img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  padding: 8px;
  transition: transform .5s ease, opacity .3s ease;
}
.products .product .product-inner:hover .product-image-inner img {
  transform: scale(1.06);
}
.products .product .product-info {
  padding: 16px 20px 4px !important;
  text-align: left !important;
}
.products .product .product-title,
.products .product .product-title a {
  margin: 0 !important;
  color: var(--ds-navy) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: .02em;
  text-align: left !important;
}
.products .product .product-bottom {
  margin-top: auto;
  padding: 8px 20px 18px !important;
  justify-content: flex-end !important;
}
.products .product .bottom-product-link {
  width: auto !important;
  height: auto !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-blue) !important;
  text-decoration: none !important;
}
.products .product .bottom-product-link::before {
  content: "Ver detalhes \2192" !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

/* ---------- Paginação ---------- */
.gem-pagination .page-numbers {
  border-radius: 8px !important;
  border: 1px solid var(--ds-line) !important;
  color: var(--ds-navy) !important;
  background: #fff !important;
}
.gem-pagination .page-numbers.current,
.gem-pagination a.page-numbers:hover {
  background: var(--ds-navy) !important;
  border-color: var(--ds-navy) !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  .products.row:has(> .product) {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }
  .products.row > .product {
    width: 50% !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    margin-bottom: 16px !important;
  }
  .products .product .product-info { padding: 12px 14px 2px !important; }
  .products .product .product-title,
  .products .product .product-title a { font-size: 13px !important; }
  .products .product .product-bottom { padding: 6px 14px 14px !important; }
  .products .product .bottom-product-link::before { content: "Ver \2192" !important; font-size: 13px !important; }
  .products .product .product-image-inner img { padding: 10px; }
  body.tax-product_cat .before-products-list .woocommerce-result-count { margin-left: 0 !important; width: 100%; }
  body.tax-product_cat .before-products-list .combobox-wrapper { min-width: 0; }
}

/* ==========================================================
   RESTO DO SITE
   ========================================================== */

/* Títulos com a cor da marca (o tema usava um cinzento-violeta) */
h1, h2, h3, h4, h5, h6,
.title-h1, .title-h2, .title-h3, .title-h4, .title-h5, .title-h6 {
  color: var(--ds-navy);
}

/* Menos espaço vazio entre o cabeçalho da página e o conteúdo */
body:has(#page-title) .block-content {
  padding-top: 56px !important;
}
@media (max-width: 991px) {
  body:has(#page-title) .block-content { padding-top: 36px !important; }
}

/* O caminho "Home > ..." já aparece no cabeçalho: esconder o repetido */
body.single-product .page-breadcrumbs {
  display: none !important;
}

/* ---------- Página de produto ---------- */
body.single-product .product_title {
  font-family: Montserrat, sans-serif !important;
  font-weight: 700 !important;
  font-size: 34px !important;
  line-height: 1.2 !important;
  letter-spacing: .01em;
  color: var(--ds-navy) !important;
  margin-bottom: 18px !important;
}
body.single-product .woocommerce-product-details__short-description {
  color: #4a5966;
  font-size: 16px;
  line-height: 1.65;
}
body.single-product .woocommerce-product-details__short-description ul {
  padding-left: 0;
  list-style: none;
}
body.single-product .woocommerce-product-details__short-description ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
}
body.single-product .woocommerce-product-details__short-description ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ds-blue);
  border-bottom: 2px solid var(--ds-blue);
  transform: rotate(-45deg);
}
/* Botão "Pedir Cotação" */
body.single-product .wpb-get-a-quote-button-btn {
  border-radius: 8px !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  box-shadow: 0 8px 18px rgba(242,101,34,.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
body.single-product .wpb-get-a-quote-button-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 24px rgba(242,101,34,.35);
}
body.single-product .product_meta {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--ds-line);
  color: var(--ds-muted);
  font-size: 14px;
}
/* Galeria: miniaturas com moldura */
body.single-product .product-gallery .owl-item img,
body.single-product .product-gallery-thumbs img,
body.single-product .product-gallery .preview-item img {
  border-radius: 8px;
}
/* Tabela de características */
body.single-product .woocommerce-product-attributes {
  width: 100%;
  max-width: 720px;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid var(--ds-line) !important;
  border-radius: 10px;
  overflow: hidden;
}
body.single-product .woocommerce-product-attributes th,
body.single-product .woocommerce-product-attributes td {
  padding: 12px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ds-line) !important;
  text-align: left;
}
body.single-product .woocommerce-product-attributes tr:last-child th,
body.single-product .woocommerce-product-attributes tr:last-child td {
  border-bottom: 0 !important;
}
body.single-product .woocommerce-product-attributes th {
  width: 220px;
  background: var(--ds-bg);
  color: var(--ds-navy) !important;
  font-weight: 700;
}
/* Descrição longa: largura de leitura confortável */
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
body.single-product .woocommerce-tabs .gem-tta-panel-body {
  max-width: 900px;
  line-height: 1.7;
}
body.single-product .product-page__elements-title,
body.single-product .related-products .product-page__elements-title * {
  color: var(--ds-navy) !important;
}

/* ---------- Página inicial: grelha de produtos ---------- */
/* Os nomes eram cortados numa linha (três produtos apareciam como "Rolo de Fita de Segurança") */
.extended-products-grid .caption .title {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}
.extended-products-grid .caption .title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ds-navy) !important;
  font-weight: 700;
  line-height: 1.35;
}
.extended-products-grid .portfolio-item .image-inner {
  border-radius: 12px;
  overflow: hidden;
}

/* ---------- Carrinho ---------- */
.woocommerce-info,
.cart-empty.woocommerce-info,
.wc-empty-cart-message .cart-empty {
  background: #eaf3fb !important;
  border: 1px solid #cfe2f3 !important;
  color: var(--ds-navy) !important;
  border-radius: 10px !important;
}
.woocommerce-info::before { color: var(--ds-blue) !important; }

/* ---------- Páginas legais (Trocas e Devoluções, Privacidade) ---------- */
body.page-id-26787 .entry-content .elementor-text-editor,
body.page-id-3 .entry-content .elementor-text-editor {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- Botões gerais com cantos arredondados ---------- */
.gem-button,
.button,
button.button,
input[type="submit"],
.wpcf7-submit {
  border-radius: 8px !important;
}

/* ---------- Botão "voltar ao topo" deixa de ficar tapado pelo "Ajuda a escolher" ---------- */
.scroll-top-button {
  bottom: 88px !important;
  right: 28px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--ds-navy) !important;
  opacity: .85;
}
.scroll-top-button:hover { opacity: 1; }
.scroll-top-button::before,
.scroll-top-button::after { color: #fff !important; }
body.tax-product_cat .before-products-list::before,
body.tax-product_cat .before-products-list::after {
  display: none !important;
}
body.tax-product_cat .before-products-list .woocommerce-ordering { padding: 0 !important; }
.scroll-top-button::before {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  background-color: var(--ds-navy) !important;
}
@media (max-width: 575px) {
  #page-title.has-background-image { padding: 36px 0 30px !important; }
  #page-title.has-background-image h1 { font-size: 24px !important; letter-spacing: .03em; }
  #page-title.has-background-image .breadcrumbs,
  #page-title.has-background-image .breadcrumbs a { font-size: 13px; }
  body.tax-product_cat .before-products-list { gap: 10px !important; }
  body.tax-product_cat .before-products-list .woocommerce-ordering,
  body.tax-product_cat .before-products-list .woocommerce-select-count {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.tax-product_cat .before-products-list .combobox-wrapper { width: 100% !important; min-width: 0 !important; }
  body.tax-product_cat .before-products-list .combobox-text { font-size: 14px; padding-left: 12px !important; }
  body.tax-product_cat .before-products-list .woocommerce-result-count { font-size: 13px; }
}
@media (max-width: 767px) {
  body.single-product .product_title { font-size: 26px !important; }
  body.single-product .wpb-get-a-quote-button-btn { width: 100%; text-align: center; }
  body.single-product .woocommerce-product-attributes th { width: 40%; }
}
@media (max-width: 767px) {
  .extended-products-grid .caption .title a { -webkit-line-clamp: 3; font-size: 15px; }
}

/* ---------- Slider da página inicial ---------- */
/* As palavras animadas separadamente ficavam coladas ("QUANTIDADEMÍNIMA") */
sr7-txt .sr7_splitted_words + .sr7_splitted_words {
  margin-left: .28em;
}

/* ---------- Menu de topo: "LOJA" em destaque ---------- */
#primary-menu > li.menu-item-27117 > a,
#primary-menu > li.menu-item-27117 > a:hover,
#primary-menu > li.menu-item-27117.menu-item-current > a,
#primary-menu > li.menu-item-27117.current-menu-item > a,
#primary-menu > li.menu-item-27117.menu-item-active > a {
  background: #F26522 !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 6px 18px !important;
  margin: -6px 4px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(242,101,34,.28);
  transition: background .2s ease, box-shadow .2s ease;
}
#primary-menu > li.menu-item-27117 > a:hover {
  background: #d9551a !important;
  box-shadow: 0 6px 16px rgba(242,101,34,.38);
}
/* Remove sublinhados/indicadores do tema neste item */
#primary-menu > li.menu-item-27117 > a::before,
#primary-menu > li.menu-item-27117 > a::after {
  display: none !important;
}
/* Menu do telemóvel (lista vertical) */
#primary-menu:not(.no-responsive) > li.menu-item-27117 > a {
  margin: 4px 0 !important;
  padding: 14px 30px !important;
  border-radius: 0;
  box-shadow: none;
}

/* ---------- Rodapé: ligações sem sair do ecrã em tablet/telemóvel ---------- */
@media (max-width: 1024px) {
  .custom-footer .elementor-element-e346e1a .elementor-icon-list-items {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    row-gap: 8px;
    margin: 0 !important;
  }
  .custom-footer .elementor-element-e346e1a .elementor-icon-list-item {
    white-space: nowrap;
  }
  .custom-footer .elementor-element-e346e1a {
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* Botão "voltar ao topo" não tapa os ícones sociais do rodapé */
.scroll-top-button { z-index: 999; }

/* ==========================================================
   FORMULÁRIO "PEDIR COTAÇÃO" (mesmo estilo do Assistente Datasafe)
   ========================================================== */
.swal2-popup.ds-cot {
  --ds-cot-p: #F26522;
  --ds-cot-p-08: rgba(242,101,34,.08);
  --ds-cot-p-25: rgba(242,101,34,.25);
  --ds-cot-txt: #1d2327;
  --ds-cot-txt2: #5b636b;
  --ds-cot-linha: #e3e6e8;
  width: 560px !important;
  max-width: calc(100vw - 24px) !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.25), 0 4px 12px rgba(0,0,0,.1) !important;
  font-family: "Source Sans Pro", sans-serif;
  text-align: left !important;
}
.swal2-container:has(.ds-cot) { background: rgba(11,36,59,.55) !important; }

/* Cabeçalho */
.ds-cot .ds-cot-cab {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 64px 16px 20px;
  background: var(--ds-cot-p);
  color: #fff;
}
.ds-cot .ds-cot-cab-ic {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
}
.ds-cot .ds-cot-cab-ic svg { width: 20px; height: 20px; }
.ds-cot .ds-cot-cab h2 {
  margin: 0; color: #fff !important;
  font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.2;
  text-transform: none; letter-spacing: 0;
}
.ds-cot .ds-cot-cab p { margin: 3px 0 0; font-size: 13.5px; opacity: .9; color: #fff; }
.ds-cot .swal2-close {
  top: 16px !important; right: 16px !important;
  width: 36px !important; height: 36px !important;
  border-radius: 50% !important;
  color: #fff !important; font-size: 26px !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 2;
}
.ds-cot .swal2-close:hover { background: rgba(255,255,255,.18) !important; }

/* Corpo */
.ds-cot .swal2-html-container {
  margin: 0 !important;
  padding: 20px 22px 22px !important;
  text-align: left !important;
  max-height: calc(100vh - 140px);
  overflow-y: auto !important;
}
.ds-cot .wpb-gqb-product-title { display: none !important; }
.ds-cot .contact-form-style-1 p { margin: 0 0 14px !important; padding: 0 !important; }
.ds-cot .cf-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ds-cot .cf-row > p { width: auto !important; margin: 0 0 14px !important; }

/* Produto */
.ds-cot .cf-style1-product input[name="product-name"] { display: none !important; }
.ds-cot .ds-cot-prod {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--ds-cot-p-25);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--ds-cot-p-08), transparent 85%);
}
.ds-cot .ds-cot-prod-ic {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  background: var(--ds-cot-p-08); color: var(--ds-cot-p);
  display: grid; place-items: center;
}
.ds-cot .ds-cot-prod-ic svg { width: 20px; height: 20px; }
.ds-cot .ds-cot-prod small {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ds-cot-p);
}
.ds-cot .ds-cot-prod strong { display: block; font-size: 16px; color: var(--ds-cot-txt); font-family: Montserrat, sans-serif; }

/* Etiquetas e campos */
.ds-cot .ds-cot-label {
  display: block; margin: 0 0 6px;
  font-size: 13.5px; font-weight: 700; color: var(--ds-cot-txt);
  text-align: left;
}
.ds-cot .ds-cot-label span { color: var(--ds-cot-p); }
.ds-cot input[type="text"],
.ds-cot input[type="email"],
.ds-cot input[type="tel"],
.ds-cot input[type="number"],
.ds-cot textarea {
  width: 100% !important;
  margin: 0 !important;
  padding: 11px 14px !important;
  height: auto !important;
  border: 1.5px solid var(--ds-cot-linha) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--ds-cot-txt) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
.ds-cot textarea { min-height: 96px; resize: vertical; }
.ds-cot input::placeholder, .ds-cot textarea::placeholder { color: #9aa3ab !important; opacity: 1; }
.ds-cot input:focus, .ds-cot textarea:focus {
  outline: none !important;
  border-color: var(--ds-cot-p) !important;
  box-shadow: 0 0 0 3px var(--ds-cot-p-25) !important;
}
.ds-cot .wpcf7-not-valid { border-color: #d63638 !important; }
.ds-cot .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12.5px; color: #d63638; text-align: left; }

/* Consentimento */
.ds-cot .cf-style1-checkbox {
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 2px 0 16px !important;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5f7f9;
}
.ds-cot .cf-style1-checkbox > span:first-child { margin-top: 1px !important; }
.ds-cot .cf-style1-checkbox .wpcf7-list-item { margin: 0 !important; }
.ds-cot .cf-style1-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; margin: 0 !important;
  accent-color: var(--ds-cot-p);
  cursor: pointer;
}
.ds-cot .cf-style1-checkbox > span:last-child {
  font-size: 13.5px !important; line-height: 1.45; color: var(--ds-cot-txt2) !important;
}
.ds-cot .cf-style1-checkbox a { color: #0B243B !important; font-weight: 600; }

/* Botão enviar */
.ds-cot .wpcf7-submit {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--ds-cot-p) !important;
  color: #fff !important;
  font-family: "Source Sans Pro", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  line-height: 1.2 !important;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(242,101,34,.28) !important;
  transition: filter .15s, transform .15s;
}
.ds-cot .wpcf7-submit:hover { filter: brightness(1.07); transform: translateY(-1px); }
.ds-cot .wpcf7-spinner { display: block; margin: 10px auto 0 !important; }
.ds-cot .ds-cot-nota { margin: 10px 0 0 !important; font-size: 12.5px; color: var(--ds-cot-txt2); text-align: center; }

/* Mensagem de resposta (enviado / erro) */
.ds-cot .wpcf7-response-output {
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  font-size: 14px; text-align: left;
}
.ds-cot form.sent .wpcf7-response-output { border-color: #2e7d32 !important; background: #edf7ee; color: #1e4620; }
.ds-cot form.invalid .wpcf7-response-output,
.ds-cot form.failed .wpcf7-response-output { border-color: #d63638 !important; background: #fcf0f1; color: #8a1f21; }

@media (max-width: 600px) {
  .ds-cot .cf-row { grid-template-columns: 1fr; }
  .ds-cot .swal2-html-container { padding: 16px 16px 18px !important; }
  .swal2-popup.ds-cot { border-radius: 18px 18px 0 0 !important; }
}
.ds-cot .ds-cot-label span { display: inline !important; margin: 0 !important; }
.ds-cot .ds-cot-prod > span:last-child { display: block !important; line-height: 1.25; }
.ds-cot .ds-cot-prod small { margin-bottom: 2px; }
.ds-cot .cf-style1-product { margin-bottom: 18px !important; }
/* Avisos de erro por baixo do campo, não ao lado */
.ds-cot .wpcf7-form-control-wrap { display: block !important; position: relative; }
.ds-cot .wpcf7-not-valid-tip { display: block !important; position: static !important; }
/* Consentimento: em vez do aviso solto, a caixa fica realçada a vermelho */
.ds-cot .cf-style1-checkbox { align-items: center !important; }
.ds-cot .cf-style1-checkbox .wpcf7-not-valid-tip { display: none !important; }
.ds-cot .cf-style1-checkbox:has(.wpcf7-not-valid-tip) {
  background: #fcf0f1;
  box-shadow: inset 0 0 0 1.5px #d63638;
}
.ds-cot input.wpcf7-not-valid,
.ds-cot textarea.wpcf7-not-valid { border-color: #d63638 !important; }
/* Com o formulário aberto, o botão do assistente não fica por cima */
body.swal2-shown .dsq-fab { opacity: 0 !important; pointer-events: none !important; }
