/* ANMA Loja, Layout: as páginas de produto do Elementor que usam o modelo padrão do WordPress
   (body.product-template-default). Veio no lugar do snippet 37492 do WPCode, que valia para todas elas.

   1. O modelo 76 do Elementor (Theme Builder: os mouse pads, os porta-copos, o organizador de cabos, os pacotes de
      Notepad e o kit de rodízios), no estilo da Apple e das páginas dos StandPro (1.10.0). Só dentro de .elementor-76.
   2. A gaveta UnderDesk (modelo 37705): o visual que o 37492 dava a ela, igual, até a página sair do Elementor.

   As páginas dos StandPro têm o CSS delas (assets/standpro/produto.css). */

/* 1. Modelo 76 ------------------------------------------------------------------------------------------------- */

.elementor-76 {
  --produto-forte: #1d1d1f;
  --produto-cinza: #6e6e73;
  --produto-linha: #d2d2d7;
  --produto-fundo: #f5f5f7;
  --produto-azul: #0071e3;
  --produto-azul-escuro: #0077ed;
  --produto-pix: #00a857;
}

/* Moldura: a mesma largura das páginas dos StandPro, com 20px de margem nas telas menores */
.elementor-76 > .elementor-section.elementor-element-2569ac84 { padding-right: 20px !important; padding-left: 20px !important; }
.elementor-76 > .elementor-section.elementor-element-2569ac84 > .elementor-container { max-width: 1136px !important; }
.elementor-76 > .elementor-section.elementor-element-2569ac84 { margin-top: 48px; }
.elementor-76 > .elementor-section.elementor-element-2569ac84 > .elementor-container { align-items: flex-start; }
.elementor-76 .elementor-element-6d5c1bcd { width: 58% !important; }
.elementor-76 .elementor-element-580a24a0 { width: 42% !important; }
/* A foto fica presa enquanto a coluna da direita rola, como nos StandPro (com as duas colunas, acima de 834 px) */
.elementor-76 .elementor-element-6d5c1bcd { position: sticky; top: 76px; align-self: flex-start; }

/* Galeria: a foto sem sombra, cantos arredondados */
.elementor-76 .elementor-element-6d5c1bcd > .elementor-widget-wrap { padding: 0 !important; }
.elementor-76 .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img { border-radius: 18px !important; }
/* Sem a lupa (a foto em tela cheia); no lugar dela, o coração dos favoritos do CDP, na marca data-anma-fav-foto que o
   assets/layout/produto.js põe na galeria (vazia, antes do script do CDP, não aparece) */
.elementor-76 .woocommerce-product-gallery__trigger { display: none !important; }
.elementor-76 .anma-fav-foto { position: absolute; top: 16px; right: 16px; z-index: 2; }
.elementor-76 .anma-fav-foto:empty { display: none; }
/* Miniaturas como na Apple: 46 px, sem borda nem cantos, centradas, 16 px entre elas;
   a escolhida (e a que está sob o mouse) ganha uma barra cinza de 2 px, 7 px abaixo.
   A barra é o fundo da própria imagem, no espaço de baixo (padding), sem pseudo-elemento. */
.elementor-76 .flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 16px !important;
  margin-top: 15px !important;
}
.elementor-76 .flex-control-thumbs li { float: none !important; width: auto !important; }
.elementor-76 .flex-control-thumbs li img {
  box-sizing: content-box !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 0 9px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(var(--produto-cinza), var(--produto-cinza)) center bottom / 100% 0 no-repeat;
  box-shadow: none !important;
  opacity: 1 !important;
  object-fit: cover;
  cursor: pointer;
  transition: background-size .4s ease;
}
.elementor-76 .flex-control-thumbs li img:hover,
.elementor-76 .flex-control-thumbs li img.flex-active { background-size: 100% 2px; }

/* Resumo: sem o cartão branco com sombra; colado no alto, ao lado da foto */
.elementor-76 .elementor-element-580a24a0 > .elementor-widget-wrap {
  padding: 0 0 0 56px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.elementor-76 .elementor-element-580a24a0 > .elementor-widget-wrap > .elementor-widget { margin-block-end: 0 !important; }
.elementor-76 .elementor-element-580a24a0 > .elementor-widget-wrap > .elementor-widget > .elementor-widget-container { margin: 0 !important; }
.elementor-76 .product_title {
  margin: 0 0 16px !important;
  color: var(--produto-forte) !important;
  font-size: 40px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.015em !important;
}

/* Preço e Pix na mesma linha, como nos StandPro */
.elementor-76 .elementor-widget-woocommerce-product-price .price {
  margin: 0 !important;
  color: var(--produto-forte) !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
}
.elementor-76 .elementor-widget-woocommerce-product-price .price del { color: var(--produto-cinza) !important; font-size: 17px !important; }
.elementor-76 .elementor-widget-woocommerce-product-price .price ins { text-decoration: none !important; font-weight: 400 !important; }
.elementor-76 .anma-pix-wrapper { margin: 6px 0 0 !important; }
.elementor-76 .anma-pix-price { color: var(--produto-pix) !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.4 !important; }
.elementor-76 .anma-pix-price > span { font-size: 17px !important; }
.elementor-76 .anma-pix-price strong { font-weight: 700 !important; }
.elementor-76 .anma-pix-price br { display: none; }
.elementor-76 .anma-pix-price > span::after { content: " "; }
.elementor-76 .elementor-widget-woocommerce-product-price p:empty { display: none; }
.elementor-76 a.anma-review-compact { margin-top: 12px !important; }

/* Quantidade e botão: o seletor e o botão azul das páginas dos StandPro */
.elementor-76 form.cart { margin: 28px 0 0 !important; }
.elementor-76 form.cart:not(.variations_form),
.elementor-76 form.cart .woocommerce-variation-add-to-cart { display: flex !important; flex-wrap: nowrap; align-items: stretch !important; gap: 12px !important; }
/* O clearfix do WooCommerce (::before e ::after) viraria item da linha e somaria 12px de cada lado */
.elementor-76 form.cart:not(.variations_form)::before,
.elementor-76 form.cart:not(.variations_form)::after,
.elementor-76 form.cart .woocommerce-variation-add-to-cart::before,
.elementor-76 form.cart .woocommerce-variation-add-to-cart::after { display: none !important; }

/* Opções (o organizador de cabos escolhe a cor): o nome em cima, a lista larga embaixo */
.elementor-76 form.cart table.variations { display: block; width: 100%; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.elementor-76 form.cart table.variations tbody,
.elementor-76 form.cart table.variations tr { display: block; }
.elementor-76 form.cart table.variations tr { position: relative; }
.elementor-76 form.cart table.variations tr + tr { margin-top: 16px; }
.elementor-76 form.cart table.variations th.label,
.elementor-76 form.cart table.variations td.value { display: block; padding: 0 !important; background: transparent !important; line-height: 1.4 !important; }
.elementor-76 form.cart table.variations th.label { margin-bottom: 8px; text-align: left !important; }
.elementor-76 form.cart table.variations label { color: var(--produto-forte) !important; font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important; }
.elementor-76 form.cart table.variations td.value::before { display: none !important; }
.elementor-76 form.cart table.variations select {
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 44px 0 16px !important;
  border: 1px solid var(--produto-linha) !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  background-position: right 16px center !important;
  color: var(--produto-forte) !important;
  font-family: inherit !important;
  font-size: 17px !important;
}
.elementor-76 form.cart table.variations select:focus-visible { outline: 2px solid var(--produto-azul); outline-offset: 2px; }
/* "Limpar" fica na linha do nome da opção, sem empurrar o botão para baixo */
.elementor-76 form.cart .reset_variations { position: absolute; top: 0; right: 0; color: var(--produto-azul) !important; font-size: 14px !important; line-height: 1.4 !important; }
.elementor-76 form.cart .woocommerce-variation-price { margin-bottom: 12px; }
/* O seletor de quantidade dos StandPro (− 1 +), igual (o número na fonte do sistema, como lá), numa caixa cinza da
   altura do botão. O campo do WooCommerce fica escondido e leva a quantidade ao carrinho (o assets/layout/produto.js liga os
   botões a ele). */
.elementor-76 form.cart .quantity { display: none !important; }
.elementor-76 .anma-qtd {
  --produto-fonte-standpro: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 50px;
  padding: 0 3px;
  border-radius: 12px;
  background: var(--produto-fundo);
}
.elementor-76 .anma-qtd button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--produto-forte) !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
.elementor-76 .anma-qtd button:hover:not(:disabled) { background: rgba(0, 0, 0, .06) !important; }
.elementor-76 .anma-qtd button:disabled { color: #c7c7cc !important; cursor: default; }
.elementor-76 .anma-qtd button:focus-visible { outline: 2px solid var(--produto-azul); outline-offset: 2px; }
.elementor-76 .anma-qtd output {
  min-width: 28px;
  font-family: var(--produto-fonte-standpro) !important;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.022em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
.elementor-76 .single_add_to_cart_button.button {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  white-space: normal;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--produto-azul) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  transform: none !important;
  transition: background-color .2s ease;
}
.elementor-76 .single_add_to_cart_button.button:hover { background: var(--produto-azul-escuro) !important; }
.elementor-76 .single_add_to_cart_button.button:focus-visible { outline: 2px solid var(--produto-azul); outline-offset: 2px; }
.elementor-76 .anma-cev { margin-top: 16px !important; box-shadow: none !important; }

/* Descrição: na coluna da direita, embaixo da compra, separada por uma linha fina (a coluna fica mais comprida que a
   foto, que fica presa enquanto ela rola) */
.elementor-76 .elementor-element-580a24a0 .elementor-widget-woocommerce-product-short-description {
  margin-top: 32px !important;
  padding-top: 32px;
  border-top: 1px solid var(--produto-linha);
}
.elementor-76 .woocommerce-product-details__short-description { color: var(--produto-forte) !important; font-size: 17px !important; line-height: 1.6 !important; }
.elementor-76 .woocommerce-product-details__short-description p { margin: 0 0 16px !important; }
.elementor-76 .woocommerce-product-details__short-description ul { margin: 0 0 16px !important; padding-left: 20px !important; }
.elementor-76 .woocommerce-product-details__short-description li { margin: 0 0 6px !important; }

/* Tablet deitado: metade e metade, para o resumo caber */
@media (max-width: 1024px) {
  .elementor-76 .elementor-element-6d5c1bcd { width: 50% !important; }
  .elementor-76 .elementor-element-580a24a0 { width: 50% !important; }
  .elementor-76 .elementor-element-580a24a0 > .elementor-widget-wrap { padding-left: 32px !important; }
  .elementor-76 .product_title { font-size: 32px !important; }
}

/* Celular e tablet em pé (até 834 px, como nos StandPro): a foto em cima, o resumo embaixo, a foto solta */
@media (max-width: 834px) {
  .elementor-76 > .elementor-section.elementor-element-2569ac84 { margin-top: 0; }
  .elementor-76 .elementor-element-6d5c1bcd { position: relative; top: auto; }
  .elementor-76 .elementor-element-6d5c1bcd,
  .elementor-76 .elementor-element-580a24a0 { width: 100% !important; }
  .elementor-76 .elementor-element-580a24a0 > .elementor-widget-wrap { padding: 28px 0 0 !important; }
  .elementor-76 .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img { border-radius: 14px !important; }
  /* No celular, como na Apple, pontos no lugar das miniaturas: 8 px, a cada 24 px (a área de toque),
     o da foto à vista mais escuro. A foto da miniatura sai do quadro (object-position) e o ponto é o fundo. */
  .elementor-76 .flex-control-thumbs { gap: 0 !important; margin-top: 8px !important; }
  .elementor-76 .flex-control-thumbs li img {
    width: 8px !important;
    height: 8px !important;
    padding: 8px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, .42) content-box;
    object-fit: none;
    object-position: -9999px -9999px;
    transition: background-color .2s ease;
  }
  .elementor-76 .flex-control-thumbs li img:hover { background-size: auto; }
  .elementor-76 .flex-control-thumbs li img.flex-active { background-color: rgba(0, 0, 0, .8); background-size: auto; }
  .elementor-76 .product_title { font-size: 30px !important; line-height: 1.12 !important; }
  .elementor-76 .elementor-widget-woocommerce-product-price .price { font-size: 19px !important; }
  .elementor-76 .elementor-element-580a24a0 .elementor-widget-woocommerce-product-short-description { margin-top: 28px !important; padding-top: 28px; }
  .elementor-76 .woocommerce-product-details__short-description { font-size: 16px !important; }
}

/* 2. Gaveta UnderDesk (modelo 37705) ----------------------------------------------------------------------------
   As regras do 37492 como eram, menos as dos elementos que só existem no modelo 76. :where() não muda o peso dos
   seletores, para tudo vencer e perder como antes. */

body.product-template-default.single-product :where(.elementor-37705) .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
body.product-template-default.single-product :where(.elementor-37705) .woocommerce-product-gallery__image:hover img {
  transform: scale(1.02);
}
body.product-template-default.single-product :where(.elementor-37705) .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding: 0;
}
body.product-template-default.single-product :where(.elementor-37705) .flex-control-thumbs li {
  margin: 0;
  list-style: none;
}
body.product-template-default.single-product :where(.elementor-37705) .flex-control-thumbs li img {
  border-radius: 12px;
  border: 1px solid #d2d2d7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.product-template-default.single-product :where(.elementor-37705) .flex-control-thumbs li img:hover,
body.product-template-default.single-product :where(.elementor-37705) .flex-control-thumbs li img.flex-active {
  border-color: #86868b;
  box-shadow: none;
}
body.product-template-default.single-product :where(.elementor-37705) .product_title {
  color: #1d1d1f;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
body.product-template-default.single-product :where(.elementor-37705) .elementor-widget-woocommerce-product-price .price {
  letter-spacing: normal !important;
  color: #1d1d1f;
}
body.product-template-default.single-product :where(.elementor-37705) .elementor-widget-woocommerce-product-price .price ins,
body.product-template-default.single-product :where(.elementor-37705) .elementor-widget-woocommerce-product-price .price ins .woocommerce-Price-amount {
  color: #1d1d1f;
  font-weight: 600;
  text-decoration: none;
  font-size: 24px !important;
}
body.product-template-default.single-product :where(.elementor-37705) .elementor-widget-woocommerce-product-price .price del,
body.product-template-default.single-product :where(.elementor-37705) .elementor-widget-woocommerce-product-price .price del .woocommerce-Price-amount {
  color: #86868b;
  font-weight: 400;
  font-size: 16px !important;
}
body.product-template-default.single-product :where(.elementor-37705) .anma-pix-price {
  color: #00a857 !important;
  font-weight: 600;
}
body.product-template-default.single-product :where(.elementor-37705) .elementor-widget-woocommerce-product-price p.price {
  margin-bottom: 3px;
  line-height: 1.1;
}
body.product-template-default.single-product :where(.elementor-37705) .elementor-widget-woocommerce-product-price .anma-pix-wrapper {
  margin-top: 3px;
  margin-bottom: 3px;
}
body.product-template-default.single-product :where(.elementor-37705) .elementor-widget-woocommerce-product-price p:empty {
  margin: 0;
}
body.product-template-default.single-product :where(.elementor-37705) a.anma-review-compact {
  margin-top: 3px;
  padding-top: 0;
}
body.product-template-default.single-product :where(.elementor-37705) .elementor-widget-woocommerce-product-price {
  margin-bottom: 0;
}
body.product-template-default.single-product :where(.elementor-37705) .single_add_to_cart_button.button {
  background-color: #0071e3 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 980px !important;
  padding: 15px 34px;
  font-weight: 600;
  text-transform: none;
  box-shadow: none !important;
  transition: background-color 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
body.product-template-default.single-product :where(.elementor-37705) .single_add_to_cart_button.button:hover {
  background-color: #0077ed !important;
  transform: translateY(-1px);
}
body.product-template-default.single-product :where(.elementor-37705) .single_add_to_cart_button.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15) !important;
}
body.product-template-default.single-product :where(.elementor-37705) .quantity .qty {
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  background-color: #ffffff;
  color: #1d1d1f;
  min-height: 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.product-template-default.single-product :where(.elementor-37705) .quantity .qty:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
  outline: none;
}
body.product-template-default.single-product :where(.elementor-37705) form.cart {
  align-items: center;
  gap: 12px;
}
body.product-template-default.single-product :where(.elementor-37705) .woocommerce-product-details__short-description {
  font-size: 17px;
  line-height: 1.6;
  color: #1d1d1f;
  max-width: 700px;
}
body.product-template-default.single-product :where(.elementor-37705) .woocommerce-product-details__short-description p {
  margin-bottom: 14px;
}
body.product-template-default.single-product :where(.elementor-37705) .woocommerce-product-details__short-description small,
body.product-template-default.single-product :where(.elementor-37705) .woocommerce-product-details__short-description .secondary {
  color: #86868b;
}
@media (max-width: 1024px) {
  body.product-template-default.single-product :where(.elementor-37705) .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    border-radius: 16px;
  }
  body.product-template-default.single-product :where(.elementor-37705) .product_title {
    line-height: 1.08;
  }
}
@media (max-width: 767px) {
  body.product-template-default.single-product :where(.elementor-37705) .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    border-radius: 14px;
  }
  body.product-template-default.single-product :where(.elementor-37705) .flex-control-thumbs {
    gap: 8px;
    margin-top: 10px;
  }
  body.product-template-default.single-product :where(.elementor-37705) .single_add_to_cart_button.button {
    width: 100%;
    padding: 16px 24px;
  }
  body.product-template-default.single-product :where(.elementor-37705) form.cart {
    flex-wrap: wrap;
  }
  body.product-template-default.single-product :where(.elementor-37705) .woocommerce-product-details__short-description {
    font-size: 16px;
  }
}
