body.df-ml-style-enabled.woocommerce,
body.df-ml-style-enabled.woocommerce-page,
body.df-ml-style-enabled {
  background: #ebebeb;
}

body.df-ml-style-enabled .site,
body.df-ml-style-enabled .site-content,
body.df-ml-style-enabled .content-area,
body.df-ml-style-enabled .woocommerce-page,
body.df-ml-style-enabled .woocommerce,
body.df-ml-style-enabled .entry-content {
  background: transparent;
}

body.df-ml-style-enabled ul.products,
body.df-ml-style-enabled .wc-block-grid__products {
  gap: 16px;
}

body.df-ml-style-enabled ul.products li.product,
body.df-ml-style-enabled .wc-block-grid__product,
body.df-ml-style-enabled .df-ml-product-card {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  overflow: hidden;
  padding: 0 0 16px !important;
  transition: box-shadow .2s ease, transform .2s ease;
  position: relative;
}

body.df-ml-style-enabled ul.products li.product:hover,
body.df-ml-style-enabled .wc-block-grid__product:hover,
body.df-ml-style-enabled .df-ml-product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

body.df-ml-style-enabled ul.products li.product a img,
body.df-ml-style-enabled .wc-block-grid__product-image img,
body.df-ml-style-enabled li.product img {
  margin: 0 !important;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  padding: 14px;
  border-bottom: 1px solid #f3f3f3;
}

body.df-ml-style-enabled ul.products li.product .woocommerce-loop-product__title,
body.df-ml-style-enabled .wc-block-grid__product-title {
  color: #333;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.35;
  min-height: 42px;
  margin: 14px 16px 8px !important;
  text-align: left;
}

body.df-ml-style-enabled ul.products li.product .price,
body.df-ml-style-enabled .wc-block-grid__product-price {
  display: block;
  margin: 0 16px 4px !important;
  text-align: left;
  line-height: 1.2;
}

body.df-ml-style-enabled ul.products li.product .price del,
body.df-ml-style-enabled .wc-block-grid__product-price del {
  color: #999;
  font-size: 14px;
  opacity: 1;
  display: inline-block;
  margin-right: 6px;
}

body.df-ml-style-enabled ul.products li.product .price ins,
body.df-ml-style-enabled .wc-block-grid__product-price ins {
  text-decoration: none;
}

body.df-ml-style-enabled ul.products li.product .price .amount,
body.df-ml-style-enabled .wc-block-grid__product-price .amount {
  color: #111;
  font-size: 32px;
  font-weight: 400;
}

body.df-ml-style-enabled ul.products li.product .price ins .amount {
  color: #111;
}

body.df-ml-style-enabled .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: auto;
  min-height: auto;
  padding: 4px 8px;
  margin: 0;
  border-radius: 4px;
  background: #f26d21;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  z-index: 3;
}

body.df-ml-style-enabled .df-ml-installments,
body.df-ml-style-enabled .df-ml-pix,
body.df-ml-style-enabled .df-ml-benefit {
  margin-left: 16px;
  margin-right: 16px;
  text-align: left;
}

body.df-ml-style-enabled .df-ml-installments {
  color: #666;
  font-size: 14px;
  margin-top: 2px;
}

body.df-ml-style-enabled .df-ml-pix {
  color: #00a650;
  font-size: 14px;
  margin-top: 6px;
}

body.df-ml-style-enabled .df-ml-pix span {
  font-weight: 600;
}

body.df-ml-style-enabled .df-ml-benefit {
  display: inline-block;
  margin-top: 10px;
  background: #e8f7ee;
  color: #00a650;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
}

body.df-ml-style-enabled ul.products li.product .button,
body.df-ml-style-enabled .wc-block-grid__product-add-to-cart .button,
body.df-ml-style-enabled .df-ml-button {
  margin: 14px 16px 0 !important;
  width: calc(100% - 32px);
  border-radius: 6px !important;
  background: #3483fa !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 11px 14px !important;
}

body.df-ml-style-enabled ul.products li.product .button:hover,
body.df-ml-style-enabled .wc-block-grid__product-add-to-cart .button:hover,
body.df-ml-style-enabled .df-ml-button:hover {
  filter: brightness(.97);
}

body.df-ml-style-enabled .woocommerce ul.products li.product .star-rating {
  margin-left: 16px;
  margin-right: 16px;
  margin-top: 8px;
}

@media (max-width: 767px) {
  /* === MOBILE: grade de produtos === */
  body.df-ml-style-enabled ul.products,
  body.df-ml-style-enabled .wc-block-grid__products {
    gap: 8px !important;
  }

  /* Card: padding inferior menor */
  body.df-ml-style-enabled ul.products li.product,
  body.df-ml-style-enabled .wc-block-grid__product,
  body.df-ml-style-enabled .df-ml-product-card {
    padding: 0 0 12px !important;
    border-radius: 6px !important;
  }

  /* Imagem: menos padding interno */
  body.df-ml-style-enabled ul.products li.product a img,
  body.df-ml-style-enabled .wc-block-grid__product-image img,
  body.df-ml-style-enabled li.product img {
    padding: 8px !important;
  }

  /* Título: fonte menor e margens mais compactas */
  body.df-ml-style-enabled ul.products li.product .woocommerce-loop-product__title,
  body.df-ml-style-enabled .wc-block-grid__product-title {
    font-size: 12px !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
    margin: 8px 10px 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Preço: bloco, margens compactas */
  body.df-ml-style-enabled ul.products li.product .price,
  body.df-ml-style-enabled .wc-block-grid__product-price {
    margin: 0 10px 3px !important;
  }

  /* Preço riscado */
  body.df-ml-style-enabled ul.products li.product .price del .amount,
  body.df-ml-style-enabled .wc-block-grid__product-price del .amount {
    font-size: 12px !important;
  }

  /* Preço principal */
  body.df-ml-style-enabled ul.products li.product .price .amount,
  body.df-ml-style-enabled .wc-block-grid__product-price .amount,
  body.df-ml-style-enabled ul.products li.product .price ins .amount,
  body.df-ml-style-enabled .wc-block-grid__product-price ins .amount,
  body.df-ml-style-enabled ul.products li.product .price > .amount,
  body.df-ml-style-enabled .wc-block-grid__product-price > .amount {
    font-size: 20px !important;
    line-height: 1.15 !important;
  }

  /* Pix e parcelamento */
  body.df-ml-style-enabled .df-ml-pix,
  body.df-ml-style-enabled .df-ml-installments {
    font-size: 11px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    margin-top: 2px !important;
  }

  /* Badge de desconto */
  body.df-ml-style-enabled .df-ml-benefit {
    font-size: 10px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding: 3px 6px !important;
    margin-top: 6px !important;
  }

  /* Botão "Ver Produto" — mais destaque e nítido */
  body.df-ml-style-enabled ul.products li.product .button,
  body.df-ml-style-enabled .wc-block-grid__product-add-to-cart .button,
  body.df-ml-style-enabled .df-ml-button,
  body.df-ml-style-enabled ul.products li.product a.button,
  body.df-ml-style-enabled ul.products li.product .added_to_cart {
    margin: 10px 10px 0 !important;
    width: calc(100% - 20px) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 10px 8px !important;
    min-height: 36px !important;
    border-radius: 6px !important;
    background: #2968c8 !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 2px 6px rgba(41,104,200,0.35) !important;
    text-transform: uppercase !important;
  }
}


/* Correções finas */
body.df-ml-style-enabled ul.products li.product .price del,
body.df-ml-style-enabled .wc-block-grid__product-price del {
  display: block;
  margin: 0 0 4px !important;
  line-height: 1.1;
}

body.df-ml-style-enabled ul.products li.product .price del .amount,
body.df-ml-style-enabled .wc-block-grid__product-price del .amount {
  color: #8c8c8c;
  font-size: 18px !important;
  font-weight: 400;
}

body.df-ml-style-enabled ul.products li.product .price ins,
body.df-ml-style-enabled .wc-block-grid__product-price ins {
  display: block;
}

body.df-ml-style-enabled ul.products li.product .price ins .amount,
body.df-ml-style-enabled .wc-block-grid__product-price ins .amount,
body.df-ml-style-enabled ul.products li.product .price > .amount,
body.df-ml-style-enabled .wc-block-grid__product-price > .amount {
  color: #111;
  font-size: 32px !important;
  font-weight: 400;
  line-height: 1.15;
}

body.df-ml-style-enabled ul.products li.product .button,
body.df-ml-style-enabled .wc-block-grid__product-add-to-cart .button,
body.df-ml-style-enabled .df-ml-button {
  display: block !important;
  width: calc(100% - 32px) !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both;
  text-decoration: none !important;
}


/* Correção extra do botão para temas que injetam ícones/pseudo-elementos */
body.df-ml-style-enabled ul.products li.product .button,
body.df-ml-style-enabled .wc-block-grid__product-add-to-cart .button,
body.df-ml-style-enabled .df-ml-button,
body.df-ml-style-enabled ul.products li.product a.button,
body.df-ml-style-enabled ul.products li.product .added_to_cart {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(100% - 32px) !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 12px 16px !important;
  margin: 14px 16px 0 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  text-indent: 0 !important;
  letter-spacing: 0 !important;
  position: relative !important;
}

body.df-ml-style-enabled ul.products li.product .button::before,
body.df-ml-style-enabled ul.products li.product .button::after,
body.df-ml-style-enabled .wc-block-grid__product-add-to-cart .button::before,
body.df-ml-style-enabled .wc-block-grid__product-add-to-cart .button::after,
body.df-ml-style-enabled .df-ml-button::before,
body.df-ml-style-enabled .df-ml-button::after,
body.df-ml-style-enabled ul.products li.product a.button::before,
body.df-ml-style-enabled ul.products li.product a.button::after {
  content: none !important;
  display: none !important;
}

body.df-ml-style-enabled ul.products li.product .button span,
body.df-ml-style-enabled .wc-block-grid__product-add-to-cart .button span,
body.df-ml-style-enabled .df-ml-button span {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Single product */
body.df-ml-style-enabled.single-product div.product {
  background: transparent;
}

body.df-ml-style-enabled.single-product .product .summary {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  padding: 24px;
}

body.df-ml-style-enabled.single-product .woocommerce-product-gallery {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  padding: 14px;
}

body.df-ml-style-enabled.single-product div.product .product_title {
  font-size: 30px;
  line-height: 1.15;
  color: #111;
  margin-bottom: 14px;
}

body.df-ml-style-enabled.single-product div.product p.price,
body.df-ml-style-enabled.single-product div.product span.price {
  color: #111;
  margin-bottom: 8px;
}

body.df-ml-style-enabled.single-product div.product p.price del,
body.df-ml-style-enabled.single-product div.product span.price del {
  display: block;
  color: #8c8c8c;
  font-size: 18px;
  margin-bottom: 4px;
}

body.df-ml-style-enabled.single-product div.product p.price ins,
body.df-ml-style-enabled.single-product div.product span.price ins {
  text-decoration: none;
}

body.df-ml-style-enabled.single-product div.product p.price .amount,
body.df-ml-style-enabled.single-product div.product span.price .amount {
  font-size: 38px !important;
  line-height: 1.1;
}

body.df-ml-style-enabled.single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

body.df-ml-style-enabled.single-product form.cart .quantity input.qty {
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
}

body.df-ml-style-enabled.single-product form.cart .single_add_to_cart_button {
  min-height: 48px;
  border-radius: 8px !important;
  background: #3483fa !important;
  border: none !important;
  box-shadow: none !important;
  padding: 12px 22px !important;
}

body.df-ml-style-enabled .df-ml-payment-box {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 18px;
}

body.df-ml-style-enabled .df-ml-payment-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

body.df-ml-style-enabled .df-ml-payment-header strong {
  color: #111;
  font-size: 18px;
}

body.df-ml-style-enabled .df-ml-payment-header span {
  color: #666;
  font-size: 14px;
}

body.df-ml-style-enabled .df-ml-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.df-ml-style-enabled .df-ml-payment-item {
  background: #f8f9fb;
  border: 1px solid #eef1f4;
  border-radius: 12px;
  padding: 14px;
}

body.df-ml-style-enabled .df-ml-payment-item small {
  display: block;
  color: #666;
  font-size: 13px;
  margin-bottom: 6px;
}

body.df-ml-style-enabled .df-ml-payment-item strong {
  display: block;
  color: #111;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 6px;
}

body.df-ml-style-enabled .df-ml-payment-item span {
  display: block;
  color: #00a650;
  font-size: 13px;
  font-weight: 600;
}

body.df-ml-style-enabled .df-ml-open-sections {
  margin-top: 24px;
}

body.df-ml-style-enabled .df-ml-open-section {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  padding: 24px;
  margin-bottom: 18px;
}

body.df-ml-style-enabled .df-ml-open-section h2 {
  margin: 0 0 14px;
  font-size: 24px;
  color: #111;
}

body.df-ml-style-enabled .df-ml-open-section-content,
body.df-ml-style-enabled .df-ml-open-section-content p,
body.df-ml-style-enabled .df-ml-open-section-content li {
  color: #333;
  line-height: 1.65;
}

body.df-ml-style-enabled.single-product .woocommerce-tabs,
body.df-ml-style-enabled.single-product .woocommerce-tabs + .clear {
  display: none !important;
}

body.df-ml-style-enabled.single-product .related.products {
  background: transparent;
  margin-top: 24px;
}

body.df-ml-style-enabled.single-product .related.products > h2 {
  font-size: 28px;
  color: #111;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  body.df-ml-style-enabled .df-ml-payment-grid {
    grid-template-columns: 1fr;
  }

  body.df-ml-style-enabled.single-product .product .summary,
  body.df-ml-style-enabled.single-product .woocommerce-product-gallery,
  body.df-ml-style-enabled .df-ml-open-section {
    padding: 18px;
  }

  body.df-ml-style-enabled.single-product div.product .product_title {
    font-size: 24px;
  }

  body.df-ml-style-enabled.single-product div.product p.price .amount,
  body.df-ml-style-enabled.single-product div.product span.price .amount {
    font-size: 32px !important;
  }
}


/* FIX PREÇO cortado */
body.df-ml-style-enabled.single-product div.product p.price del,
body.df-ml-style-enabled.single-product div.product span.price del{
  display:inline-block !important;
  margin-right:8px !important;
}

/* FIX BOTÃO */
body.df-ml-style-enabled.single-product form.cart .single_add_to_cart_button{
  width:100% !important;
  display:flex !important;
  justify-content:center;
  align-items:center;
}

/* FIX DESCRIÇÃO largura */
body.df-ml-style-enabled .df-ml-open-sections{
  max-width:1200px;
  margin:40px auto;
}

/* FIX RELATED GRID */
body.df-ml-style-enabled.single-product .related.products ul.products{
  display:grid !important;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}

@media(max-width:1200px){
  body.df-ml-style-enabled.single-product .related.products ul.products{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:768px){
  body.df-ml-style-enabled.single-product .related.products ul.products{
    grid-template-columns:repeat(2,1fr);
  }
}



/* v1.1.2 correções fortes do single */
body.df-ml-style-enabled.single-product div.product .summary .price,
body.df-ml-style-enabled.single-product div.product .summary p.price,
body.df-ml-style-enabled.single-product div.product .summary span.price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 10px !important;
  width: 100% !important;
  overflow: visible !important;
}

body.df-ml-style-enabled.single-product div.product .summary .price del,
body.df-ml-style-enabled.single-product div.product .summary p.price del,
body.df-ml-style-enabled.single-product div.product .summary span.price del {
  order: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

body.df-ml-style-enabled.single-product div.product .summary .price del .amount,
body.df-ml-style-enabled.single-product div.product .summary p.price del .amount,
body.df-ml-style-enabled.single-product div.product .summary span.price del .amount {
  display: inline !important;
  font-size: 22px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  color: #8c8c8c !important;
}

body.df-ml-style-enabled.single-product div.product .summary .price ins,
body.df-ml-style-enabled.single-product div.product .summary p.price ins,
body.df-ml-style-enabled.single-product div.product .summary span.price ins {
  order: 2 !important;
  display: inline-flex !important;
  align-items: baseline !important;
  text-decoration: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

body.df-ml-style-enabled.single-product div.product .summary .price ins .amount,
body.df-ml-style-enabled.single-product div.product .summary p.price ins .amount,
body.df-ml-style-enabled.single-product div.product .summary span.price ins .amount,
body.df-ml-style-enabled.single-product div.product .summary .price > .amount,
body.df-ml-style-enabled.single-product div.product .summary p.price > .amount,
body.df-ml-style-enabled.single-product div.product .summary span.price > .amount {
  display: inline !important;
  font-size: 28px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  color: #111 !important;
}

body.df-ml-style-enabled.single-product .summary .onsale {
  position: static !important;
  order: 3 !important;
  display: inline-flex !important;
  vertical-align: middle !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
}

body.df-ml-style-enabled.single-product div.product form.cart {
  width: 100% !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .button.single_add_to_cart_button,
body.df-ml-style-enabled.single-product div.product form.cart button.single_add_to_cart_button,
body.df-ml-style-enabled.single-product div.product form.cart .single_add_to_cart_button {
  width: 100% !important;
  flex: 1 1 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Grid correto para 5 relacionados */
body.df-ml-style-enabled.single-product .related.products {
  max-width: 1200px !important;
}

body.df-ml-style-enabled.single-product .related.products ul.products,
body.df-ml-style-enabled.single-product .related.products .products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.df-ml-style-enabled.single-product .related.products ul.products::before,
body.df-ml-style-enabled.single-product .related.products ul.products::after,
body.df-ml-style-enabled.single-product .related.products .products::before,
body.df-ml-style-enabled.single-product .related.products .products::after {
  content: none !important;
  display: none !important;
}

body.df-ml-style-enabled.single-product .related.products ul.products li.product,
body.df-ml-style-enabled.single-product .related.products .products li.product,
body.df-ml-style-enabled.single-product .related.products ul.products li.product.type-product {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

body.df-ml-style-enabled.single-product .related.products ul.products li.product a,
body.df-ml-style-enabled.single-product .related.products .products li.product a {
  min-width: 0 !important;
}

body.df-ml-style-enabled.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
body.df-ml-style-enabled.single-product .related.products .products li.product .woocommerce-loop-product__title {
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

body.df-ml-style-enabled.single-product .related.products ul.products li.product .price,
body.df-ml-style-enabled.single-product .related.products .products li.product .price {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
}

body.df-ml-style-enabled.single-product .related.products ul.products li.product .price .amount,
body.df-ml-style-enabled.single-product .related.products .products li.product .price .amount {
  display: inline !important;
  white-space: normal !important;
  word-break: normal !important;
}

@media (max-width: 1200px) {
  body.df-ml-style-enabled.single-product .related.products ul.products,
  body.df-ml-style-enabled.single-product .related.products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.df-ml-style-enabled.single-product .related.products ul.products,
  body.df-ml-style-enabled.single-product .related.products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.df-ml-style-enabled.single-product div.product .summary .price del .amount {
    font-size: 18px !important;
  }

  body.df-ml-style-enabled.single-product div.product .summary .price ins .amount,
  body.df-ml-style-enabled.single-product div.product .summary p.price ins .amount,
  body.df-ml-style-enabled.single-product div.product .summary span.price ins .amount,
  body.df-ml-style-enabled.single-product div.product .summary .price > .amount {
    font-size: 24px !important;
  }
}


/* Loading ao adicionar ao carrinho */
body.df-ml-cart-loading {
  cursor: progress;
}

body.df-ml-cart-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.72);
  z-index: 99998;
}

.df-ml-cart-loading-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #111;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  padding: 18px 22px;
  min-width: 280px;
  max-width: 92vw;
  text-align: center;
  z-index: 99999;
  display: none;
}

.df-ml-cart-loading-message.is-visible {
  display: block;
}

.df-ml-cart-loading-message strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.df-ml-cart-loading-message span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-size: 14px;
}

.df-ml-cart-loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d9e7ff;
  border-top-color: #3483fa;
  border-radius: 50%;
  animation: dfmlspin .8s linear infinite;
}

@keyframes dfmlspin {
  to { transform: rotate(360deg); }
}


/* v1.1.4 - single product redesign */
body.df-ml-style-enabled.single-product .summary .onsale,
body.df-ml-style-enabled.single-product div.product .summary .onsale,
body.df-ml-style-enabled.single-product .summary del,
body.df-ml-style-enabled.single-product div.product .summary del {
  display: none !important;
}

/* mantém só o preço atual no produto */
body.df-ml-style-enabled.single-product div.product .summary .price,
body.df-ml-style-enabled.single-product div.product .summary p.price,
body.df-ml-style-enabled.single-product div.product .summary span.price {
  display: block !important;
  margin-bottom: 12px !important;
}

body.df-ml-style-enabled.single-product div.product .summary .price ins,
body.df-ml-style-enabled.single-product div.product .summary p.price ins,
body.df-ml-style-enabled.single-product div.product .summary span.price ins,
body.df-ml-style-enabled.single-product div.product .summary .price > .amount,
body.df-ml-style-enabled.single-product div.product .summary p.price > .amount,
body.df-ml-style-enabled.single-product div.product .summary span.price > .amount {
  display: inline !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
  color: #111 !important;
  text-decoration: none !important;
}

/* box de pagamento acima do botão */
body.df-ml-style-enabled .df-ml-payment-box {
  margin-top: 14px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

/* botão vem abaixo */
body.df-ml-style-enabled.single-product div.product form.cart {
  margin-top: 8px !important;
}

/* calculadora de frete */
body.df-ml-style-enabled.single-product .summary .cart + *,
body.df-ml-style-enabled.single-product .summary .woocommerce-shipping-calculator,
body.df-ml-style-enabled.single-product .summary .shipping-calculator-form,
body.df-ml-style-enabled.single-product .summary .mp-custom-shipping,
body.df-ml-style-enabled.single-product .summary .woo-shipping-calculator,
body.df-ml-style-enabled.single-product .summary .calculator-shipping,
body.df-ml-style-enabled.single-product .summary .wd-shipping-calculator,
body.df-ml-style-enabled.single-product .summary .frete,
body.df-ml-style-enabled.single-product .summary .shipping {
  border-radius: 14px;
}

body.df-ml-style-enabled .df-ml-shipping-box {
  margin-top: 18px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  border: 1px solid #d9e9ff;
  border-radius: 14px;
  padding: 16px 18px;
}

body.df-ml-style-enabled .df-ml-shipping-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f4fbf;
  margin-bottom: 4px;
}

body.df-ml-style-enabled .df-ml-shipping-subtitle {
  font-size: 14px;
  color: #4b5a6a;
}

/* estilos genéricos para área de frete logo abaixo */
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box + *,
body.df-ml-style-enabled.single-product .summary .shipping-calculator-form,
body.df-ml-style-enabled.single-product .summary .woocommerce-shipping-calculator,
body.df-ml-style-enabled.single-product .summary form[action*="cart"] ~ div,
body.df-ml-style-enabled.single-product .summary form[action*="cart"] ~ section {
  max-width: 100%;
}

body.df-ml-style-enabled.single-product .summary input[type="text"],
body.df-ml-style-enabled.single-product .summary input[type="search"],
body.df-ml-style-enabled.single-product .summary input.input-text {
  min-height: 42px;
  border: 1px solid #d8dee6;
  border-radius: 10px;
  padding: 10px 12px;
}

body.df-ml-style-enabled.single-product .summary button,
body.df-ml-style-enabled.single-product .summary input[type="submit"] {
  border-radius: 10px;
}

body.df-ml-style-enabled.single-product .summary ul,
body.df-ml-style-enabled.single-product .summary ol {
  padding-left: 20px;
}

body.df-ml-style-enabled.single-product .summary li {
  margin-bottom: 8px;
  color: #334155;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ div:not(.product_meta):not(.woocommerce-tabs),
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ section {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 14px 16px;
}

/* card benefit text in loops */
body.df-ml-style-enabled .df-ml-benefit {
  display: inline-block;
}

/* remove badges de desconto nos loops também */
body.df-ml-style-enabled .onsale {
  display: none !important;
}


/* v1.1.5 ajustes solicitados */

/* remove benefício nos cards/listagem */
body.df-ml-style-enabled ul.products li.product .df-ml-benefit,
body.df-ml-style-enabled .wc-block-grid__product .df-ml-benefit,
body.df-ml-style-enabled.archive .df-ml-benefit,
body.df-ml-style-enabled.blog .df-ml-benefit,
body.df-ml-style-enabled.search .df-ml-benefit,
body.df-ml-style-enabled.tax-product_cat .df-ml-benefit,
body.df-ml-style-enabled.tax-product_tag .df-ml-benefit,
body.df-ml-style-enabled.woocommerce-shop .df-ml-benefit {
  display: none !important;
}

/* página de produto sem preço antigo nem atual */
body.df-ml-style-enabled.single-product div.product .summary .price,
body.df-ml-style-enabled.single-product div.product .summary p.price,
body.df-ml-style-enabled.single-product div.product .summary span.price,
body.df-ml-style-enabled.single-product div.product .summary del,
body.df-ml-style-enabled.single-product div.product .summary ins,
body.df-ml-style-enabled.single-product div.product .summary .amount,
body.df-ml-style-enabled.single-product div.product .summary .price .amount {
  display: none !important;
}

/* box de pagamento acima do botão */
body.df-ml-style-enabled.single-product .df-ml-payment-box {
  order: 1;
  margin-top: 12px !important;
  margin-bottom: 14px !important;
}

body.df-ml-style-enabled.single-product div.product form.cart {
  order: 2;
  margin-top: 0 !important;
}

/* box entrega nacional só na página do produto */
body.df-ml-style-enabled.single-product .df-ml-shipping-box {
  display: block !important;
  margin-top: 18px !important;
}


/* v1.1.6 correções finais single */
body.df-ml-style-enabled.single-product div.product .summary .onsale,
body.df-ml-style-enabled.single-product div.product .summary .sale,
body.df-ml-style-enabled.single-product div.product .summary [class*="sale"],
body.df-ml-style-enabled.single-product div.product .summary span.onsale {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

/* força box pagamento antes do botão */
body.df-ml-style-enabled.single-product .summary .df-ml-payment-box {
  display: block !important;
  margin: 10px 0 16px !important;
}

body.df-ml-style-enabled.single-product .summary form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 0 !important;
}

/* frete visual premium */
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%) !important;
  border: 1px solid #d9e9ff !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  margin: 18px 0 12px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box + *,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ .shipping,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ .frete,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ .woocommerce-shipping-calculator,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ .shipping-calculator-form,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ div[class*="shipping"],
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ div[class*="frete"] {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ * input[type="text"],
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ * .input-text {
  height: 44px !important;
  min-height: 44px !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ * button,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ * input[type="submit"] {
  background: #3483fa !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
  box-shadow: none !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ * ul,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ * ol {
  margin: 14px 0 0 !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ * li {
  margin-bottom: 10px !important;
  color: #334155 !important;
}


/* v1.1.7 */
body.df-ml-style-enabled.single-product .summary .df-ml-payment-box {
  margin: 0 0 16px !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-payment-item strong {
  font-size: 15px !important;
  line-height: 1.35 !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-payment-item span {
  font-size: 12px !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box {
  margin: 18px 0 10px !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.04) !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced label,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .wcbcf-label,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced p:first-child {
  display: block !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin: 0 0 12px !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced form,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .wcbcf-form,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced > div:first-child {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced input[type="text"],
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced input[id*="cep"],
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced input[name*="cep"] {
  min-width: 140px !important;
  height: 44px !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced button,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced input[type="submit"],
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .button {
  background: #3483fa !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced ul,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced ol {
  margin: 14px 0 0 !important;
  padding-left: 18px !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced li {
  margin-bottom: 8px !important;
  color: #334155 !important;
}

@media (max-width: 767px) {
  body.df-ml-style-enabled.single-product .summary .df-ml-payment-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.1.8 - restaurar preço atual e remover aba perdida */
body.df-ml-style-enabled.single-product div.product .summary .price,
body.df-ml-style-enabled.single-product div.product .summary p.price,
body.df-ml-style-enabled.single-product div.product .summary span.price {
  display: block !important;
  margin: 0 0 14px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.df-ml-style-enabled.single-product div.product .summary .price del,
body.df-ml-style-enabled.single-product div.product .summary p.price del,
body.df-ml-style-enabled.single-product div.product .summary span.price del,
body.df-ml-style-enabled.single-product div.product .summary .price .from,
body.df-ml-style-enabled.single-product div.product .summary .price .to {
  display: none !important;
}

body.df-ml-style-enabled.single-product div.product .summary .price ins,
body.df-ml-style-enabled.single-product div.product .summary p.price ins,
body.df-ml-style-enabled.single-product div.product .summary span.price ins {
  display: inline !important;
  text-decoration: none !important;
}

body.df-ml-style-enabled.single-product div.product .summary .price ins .amount,
body.df-ml-style-enabled.single-product div.product .summary p.price ins .amount,
body.df-ml-style-enabled.single-product div.product .summary span.price ins .amount,
body.df-ml-style-enabled.single-product div.product .summary .price > .amount,
body.df-ml-style-enabled.single-product div.product .summary p.price > .amount,
body.df-ml-style-enabled.single-product div.product .summary span.price > .amount {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #111 !important;
  font-size: 34px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
}

/* remover qualquer aba/título perdido do WooCommerce */
body.df-ml-style-enabled.single-product .woocommerce-tabs,
body.df-ml-style-enabled.single-product .woocommerce-tabs ul.tabs,
body.df-ml-style-enabled.single-product .woocommerce-tabs .tabs,
body.df-ml-style-enabled.single-product .wc-tabs-wrapper,
body.df-ml-style-enabled.single-product .wc-tabs,
body.df-ml-style-enabled.single-product .tabs.wc-tabs,
body.df-ml-style-enabled.single-product .woocommerce-Tabs-panel,
body.df-ml-style-enabled.single-product .woocommerce-tabs-wrapper {
  display: none !important;
}

/* garantir ordem visual */
body.df-ml-style-enabled.single-product .summary > .price,
body.df-ml-style-enabled.single-product .summary > p.price,
body.df-ml-style-enabled.single-product .summary > span.price {
  order: 0 !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-payment-box {
  order: 1 !important;
}

body.df-ml-style-enabled.single-product div.product form.cart {
  order: 2 !important;
}


/* v1.1.9 - preço só dentro do box de pagamento */
body.df-ml-style-enabled.single-product div.product .summary > .price,
body.df-ml-style-enabled.single-product div.product .summary > p.price,
body.df-ml-style-enabled.single-product div.product .summary > span.price,
body.df-ml-style-enabled.single-product div.product .summary .price:not(.df-ml-payment-box .price),
body.df-ml-style-enabled.single-product div.product .summary p.price:not(.df-ml-payment-box p.price),
body.df-ml-style-enabled.single-product div.product .summary span.price:not(.df-ml-payment-box span.price) {
  display: none !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-payment-box {
  margin-top: 10px !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-payment-item strong {
  display: block !important;
  color: #111 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 6px !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-payment-item span {
  display: block !important;
  color: #00a650 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}


/* v1.2.0 - corrigir valores e remover bloco vazio */
body.df-ml-style-enabled.single-product .summary .df-ml-payment-item .df-ml-payment-value,
body.df-ml-style-enabled.single-product .summary .df-ml-payment-item strong.df-ml-payment-value,
body.df-ml-style-enabled.single-product .summary .df-ml-payment-item .df-ml-payment-value .woocommerce-Price-amount,
body.df-ml-style-enabled.single-product .summary .df-ml-payment-item strong.df-ml-payment-value .woocommerce-Price-amount,
body.df-ml-style-enabled.single-product .summary .df-ml-payment-item .df-ml-payment-value bdi,
body.df-ml-style-enabled.single-product .summary .df-ml-payment-item strong.df-ml-payment-value bdi {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #111 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-payment-item .woocommerce-Price-currencySymbol {
  display: inline !important;
}

/* a regra antiga escondia .amount demais */
body.df-ml-style-enabled.single-product div.product .summary > .price,
body.df-ml-style-enabled.single-product div.product .summary > p.price,
body.df-ml-style-enabled.single-product div.product .summary > span.price {
  display: none !important;
}

body.df-ml-style-enabled.single-product div.product .summary .df-ml-payment-box .amount,
body.df-ml-style-enabled.single-product div.product .summary .df-ml-payment-box .woocommerce-Price-amount,
body.df-ml-style-enabled.single-product div.product .summary .df-ml-payment-box bdi {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* remove container vazio/modais perdidos */
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box + div:empty,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box + form:empty,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ div:empty,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-box ~ section:empty {
  display: none !important;
}

body.df-ml-style-enabled .df-ml-cart-loading-message:not(.is-visible) {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}


/* v1.2.1 - quantidade e botão na mesma linha */
body.df-ml-style-enabled.single-product div.product form.cart {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .quantity {
  flex: 0 0 auto !important;
  margin: 0 !important;
  display: flex !important;
  align-items: stretch !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .quantity input.qty {
  width: 72px !important;
  min-width: 72px !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  border: 1px solid #d8dee6 !important;
  box-sizing: border-box !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .single_add_to_cart_button,
body.df-ml-style-enabled.single-product div.product form.cart button.single_add_to_cart_button {
  flex: 1 1 auto !important;
  width: auto !important;
  min-height: 52px !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  body.df-ml-style-enabled.single-product div.product form.cart {
    flex-wrap: wrap !important;
  }

  body.df-ml-style-enabled.single-product div.product form.cart .quantity,
  body.df-ml-style-enabled.single-product div.product form.cart .single_add_to_cart_button,
  body.df-ml-style-enabled.single-product div.product form.cart button.single_add_to_cart_button {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  body.df-ml-style-enabled.single-product div.product form.cart .quantity input.qty {
    width: 100% !important;
  }
}


/* v1.2.2 ajustes finais do carrinho e frete */
body.df-ml-style-enabled.single-product div.product form.cart {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 72px !important;
  width: 72px !important;
  min-width: 72px !important;
  margin: 0 !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .quantity input.qty {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  box-sizing: border-box !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .single_add_to_cart_button,
body.df-ml-style-enabled.single-product div.product form.cart button.single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-height: 46px !important;
  height: 46px !important;
  margin: 0 !important;
}

/* Frete: CEP em cima, botão embaixo e resultados abaixo do botão */
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced form,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced > div:first-child {
  display: block !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .df-ml-shipping-top,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .df-ml-shipping-button-row,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .df-ml-shipping-results-wrap {
  width: 100% !important;
  display: block !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .df-ml-shipping-top {
  margin-bottom: 12px !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .df-ml-shipping-button-row {
  margin-bottom: 14px !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced input[type="text"],
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced input[id*="cep"],
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced input[name*="cep"] {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced button,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced input[type="submit"],
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced ul,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced ol,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced table,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .shipping-results,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .woocommerce-shipping-totals,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .wcbcf-results,
body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced .df-ml-shipping-results-wrap {
  display: block !important;
  width: 100% !important;
  margin-top: 0 !important;
}

body.df-ml-style-enabled.single-product .summary .df-ml-shipping-calculator-enhanced li {
  display: list-item !important;
  width: auto !important;
}

@media (max-width: 767px) {
  body.df-ml-style-enabled.single-product div.product form.cart {
    flex-wrap: nowrap !important;
  }
}


/* v1.2.3 - corrige sobreposição do botão com quantidade */
body.df-ml-style-enabled.single-product div.product form.cart,
body.df-ml-style-enabled.single-product .summary form.cart {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  width: 100% !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .quantity,
body.df-ml-style-enabled.single-product .summary form.cart .quantity {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .quantity input.qty,
body.df-ml-style-enabled.single-product .summary form.cart .quantity input.qty {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  box-sizing: border-box !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .single_add_to_cart_button,
body.df-ml-style-enabled.single-product div.product form.cart button.single_add_to_cart_button,
body.df-ml-style-enabled.single-product .summary form.cart .single_add_to_cart_button,
body.df-ml-style-enabled.single-product .summary form.cart button.single_add_to_cart_button {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  float: none !important;
  clear: none !important;
  z-index: 1 !important;
}

@media (max-width: 767px) {
  body.df-ml-style-enabled.single-product div.product form.cart,
  body.df-ml-style-enabled.single-product .summary form.cart {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }
}

/* Alinhamento central das informações de preço no card do produto */
body.df-ml-style-enabled ul.products li.product .price,
body.df-ml-style-enabled .wc-block-grid__product-price,
body.df-ml-style-enabled ul.products li.product .df-ml-installments,
body.df-ml-style-enabled ul.products li.product .df-ml-pix,
body.df-ml-style-enabled ul.products li.product .df-ml-benefit,
body.df-ml-style-enabled .wc-block-grid__product .df-ml-installments,
body.df-ml-style-enabled .wc-block-grid__product .df-ml-pix,
body.df-ml-style-enabled .wc-block-grid__product .df-ml-benefit {
  text-align: center !important;
}

body.df-ml-style-enabled ul.products li.product .price,
body.df-ml-style-enabled .wc-block-grid__product-price {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.df-ml-style-enabled ul.products li.product .df-ml-installments,
body.df-ml-style-enabled ul.products li.product .df-ml-pix,
body.df-ml-style-enabled .wc-block-grid__product .df-ml-installments,
body.df-ml-style-enabled .wc-block-grid__product .df-ml-pix {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.df-ml-style-enabled ul.products li.product .df-ml-benefit,
body.df-ml-style-enabled .wc-block-grid__product .df-ml-benefit {
  display: table !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* v1.2.6 - preço da vitrine: oculta o preço padrão somente quando o resumo novo existe */
body.df-ml-style-enabled ul.products li.product.df-ml-has-price-summary .price {
  display: none !important;
}

body.df-ml-style-enabled ul.products li.product .df-ml-price-summary {
  margin: 8px 14px 12px !important;
  padding: 12px 12px 10px !important;
  border-radius: 12px !important;
  background: #f7f9fb !important;
  border: 1px solid #edf0f3 !important;
  text-align: center !important;
}

body.df-ml-style-enabled ul.products li.product .df-ml-price-label {
  color: #008f4c !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 3px !important;
}

body.df-ml-style-enabled ul.products li.product .df-ml-price-highlight {
  color: #111 !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.4px !important;
}

body.df-ml-style-enabled ul.products li.product .df-ml-price-discount {
  display: inline-block !important;
  margin-top: 5px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #e8f7ee !important;
  color: #008f4c !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.df-ml-style-enabled ul.products li.product .df-ml-price-secondary {
  margin-top: 7px !important;
  color: #565f69 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

body.df-ml-style-enabled ul.products li.product .df-ml-installments,
body.df-ml-style-enabled ul.products li.product .df-ml-pix {
  display: none !important;
}

@media (max-width: 767px) {
  body.df-ml-style-enabled ul.products li.product .df-ml-price-highlight {
    font-size: 25px !important;
  }
}


/* v1.2.9 - garante que o bloco de preço por m² não seja ocultado pelo tema/script */
body.df-ml-style-enabled ul.products li.product .df-preco-m2-loop {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.df-ml-style-enabled ul.products li.product .df-preco-m2-loop[aria-hidden="true"] {
  display: block !important;
}


/* =====================================================
   MOBILE MELHORADO — grade, fontes, espaçamentos, botão
   Deve ficar NO FINAL do arquivo para ter prioridade
   ===================================================== */
@media (max-width: 767px) {

  /* --- Grade: menos gap --- */
  body.df-ml-style-enabled ul.products,
  body.df-ml-style-enabled .wc-block-grid__products {
    gap: 8px !important;
  }

  /* --- Card --- */
  body.df-ml-style-enabled ul.products li.product,
  body.df-ml-style-enabled .wc-block-grid__product,
  body.df-ml-style-enabled .df-ml-product-card {
    padding: 0 0 12px !important;
    border-radius: 6px !important;
  }

  /* --- Imagem --- */
  body.df-ml-style-enabled ul.products li.product a img,
  body.df-ml-style-enabled .wc-block-grid__product-image img,
  body.df-ml-style-enabled li.product img {
    padding: 8px !important;
  }

  /* --- Título: menor e com ellipsis --- */
  body.df-ml-style-enabled ul.products li.product .woocommerce-loop-product__title,
  body.df-ml-style-enabled .wc-block-grid__product-title {
    font-size: 12px !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
    margin: 8px 10px 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* --- Bloco de preço --- */
  body.df-ml-style-enabled ul.products li.product .price,
  body.df-ml-style-enabled .wc-block-grid__product-price {
    margin: 0 10px 3px !important;
  }

  /* --- Preço riscado --- */
  body.df-ml-style-enabled ul.products li.product .price del .amount,
  body.df-ml-style-enabled .wc-block-grid__product-price del .amount {
    font-size: 11px !important;
  }

  /* --- Preço principal (sobrescreve o 32px do meio do arquivo) --- */
  body.df-ml-style-enabled ul.products li.product .price ins .amount,
  body.df-ml-style-enabled .wc-block-grid__product-price ins .amount,
  body.df-ml-style-enabled ul.products li.product .price > .amount,
  body.df-ml-style-enabled .wc-block-grid__product-price > .amount,
  body.df-ml-style-enabled ul.products li.product .price .amount,
  body.df-ml-style-enabled .wc-block-grid__product-price .amount,
  body.df-ml-style-enabled ul.products li.product .df-ml-price-highlight {
    font-size: 20px !important;
    line-height: 1.15 !important;
  }

  /* --- Pix e parcelamento --- */
  body.df-ml-style-enabled .df-ml-pix,
  body.df-ml-style-enabled ul.products li.product .df-ml-pix,
  body.df-ml-style-enabled .wc-block-grid__product .df-ml-pix {
    font-size: 11px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    margin-top: 2px !important;
    display: block !important;
  }

  body.df-ml-style-enabled .df-ml-installments,
  body.df-ml-style-enabled ul.products li.product .df-ml-installments,
  body.df-ml-style-enabled .wc-block-grid__product .df-ml-installments {
    font-size: 10px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    display: block !important;
  }

  /* --- Badge de desconto (% OFF) --- */
  body.df-ml-style-enabled .df-ml-benefit,
  body.df-ml-style-enabled ul.products li.product .df-ml-benefit,
  body.df-ml-style-enabled .wc-block-grid__product .df-ml-benefit {
    font-size: 10px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding: 3px 6px !important;
    margin-top: 6px !important;
  }

  /* --- Botão VER PRODUTO: mais nítido e destacado --- */
  body.df-ml-style-enabled ul.products li.product .button,
  body.df-ml-style-enabled ul.products li.product a.button,
  body.df-ml-style-enabled ul.products li.product .added_to_cart,
  body.df-ml-style-enabled .wc-block-grid__product-add-to-cart .button,
  body.df-ml-style-enabled .df-ml-button {
    margin: 10px 10px 0 !important;
    width: calc(100% - 20px) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 10px 8px !important;
    min-height: 36px !important;
    border-radius: 6px !important;
    background: #2968c8 !important;
    color: #fff !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 2px 6px rgba(41,104,200,0.4) !important;
    text-transform: uppercase !important;
  }
}


/* ============================================================
   PÁGINA DE PRODUTO — MELHORIAS MOBILE (v1.3.0)
   Sempre no final para ter prioridade máxima na cascata
   ============================================================ */

/* --- Título menor no mobile --- */
@media (max-width: 767px) {
  body.df-ml-style-enabled.single-product div.product .product_title,
  body.df-ml-style-enabled.single-product .summary .product_title {
    font-size: 17px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }

  /* Summary com menos padding no mobile */
  body.df-ml-style-enabled.single-product .product .summary {
    padding: 16px !important;
    border-radius: 10px !important;
  }

  /* Galeria sem padding excessivo */
  body.df-ml-style-enabled.single-product .woocommerce-product-gallery {
    padding: 8px !important;
    border-radius: 10px !important;
  }

  /* Box de pagamento compacto */
  body.df-ml-style-enabled.single-product .summary .df-ml-payment-box {
    padding: 12px !important;
    border-radius: 10px !important;
  }

  body.df-ml-style-enabled.single-product .summary .df-ml-payment-grid {
    gap: 8px !important;
  }

  body.df-ml-style-enabled.single-product .summary .df-ml-payment-item {
    padding: 10px !important;
    border-radius: 8px !important;
  }

  body.df-ml-style-enabled.single-product .summary .df-ml-payment-item small {
    font-size: 11px !important;
    margin-bottom: 3px !important;
  }

  body.df-ml-style-enabled.single-product .summary .df-ml-payment-item strong,
  body.df-ml-style-enabled.single-product .summary .df-ml-payment-item .df-ml-payment-value {
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin-bottom: 3px !important;
  }

  body.df-ml-style-enabled.single-product .summary .df-ml-payment-item span {
    font-size: 11px !important;
  }
}

/* --- Botão Adicionar ao Carrinho — mais visível em todos os tamanhos --- */
body.df-ml-style-enabled.single-product div.product form.cart .single_add_to_cart_button,
body.df-ml-style-enabled.single-product div.product form.cart button.single_add_to_cart_button,
body.df-ml-style-enabled.single-product .summary form.cart .single_add_to_cart_button,
body.df-ml-style-enabled.single-product .summary form.cart button.single_add_to_cart_button {
  background: #ff6900 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 3px 10px rgba(255,105,0,0.40) !important;
  transition: filter .15s ease, box-shadow .15s ease !important;
  text-transform: uppercase !important;
}

body.df-ml-style-enabled.single-product div.product form.cart .single_add_to_cart_button:hover,
body.df-ml-style-enabled.single-product div.product form.cart button.single_add_to_cart_button:hover,
body.df-ml-style-enabled.single-product .summary form.cart .single_add_to_cart_button:hover,
body.df-ml-style-enabled.single-product .summary form.cart button.single_add_to_cart_button:hover {
  filter: brightness(1.06) !important;
  box-shadow: 0 5px 16px rgba(255,105,0,0.50) !important;
}

/* --- STICKY BAR — aparece ao rolar, mostra botão sempre visível --- */
.df-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.12);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  align-items: center;
  gap: 12px;
}

.df-sticky-bar.is-visible {
  display: flex !important;
}

.df-sticky-bar__title {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-width: 0;
}

.df-sticky-bar__btn {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #ff6900 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 12px 18px !important;
  min-height: 44px !important;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(255,105,0,0.38) !important;
  text-decoration: none !important;
  cursor: pointer;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  transition: filter .15s ease !important;
}

.df-sticky-bar__btn:hover {
  filter: brightness(1.06) !important;
  color: #fff !important;
}

/* Só mostrar sticky em mobile / tablet */
@media (min-width: 1024px) {
  .df-sticky-bar {
    display: none !important;
  }
}


/* ============================================================
   REMOVE BORDAS/THUMBNAILS LATERAIS DA GALERIA — v1.3.1
   ============================================================ */

/* Esconde as miniaturas (thumbnails) do flexslider que aparecem como bordas */
body.df-ml-style-enabled.single-product .woocommerce-product-gallery ol.flex-control-nav,
body.df-ml-style-enabled.single-product .woocommerce-product-gallery .flex-control-thumbs,
body.df-ml-style-enabled.single-product .woocommerce-product-gallery ol.flex-control-thumbs,
body.df-ml-style-enabled.single-product .woocommerce-product-gallery ul.flex-control-nav,
body.df-ml-style-enabled.single-product .flex-control-nav,
body.df-ml-style-enabled.single-product .flex-control-thumbs {
  display: none !important;
}

/* Garante que nada vaze para fora do container da galeria */
body.df-ml-style-enabled.single-product .woocommerce-product-gallery {
  overflow: hidden !important;
}

body.df-ml-style-enabled.single-product .woocommerce-product-gallery .flexslider,
body.df-ml-style-enabled.single-product .woocommerce-product-gallery .flex-viewport,
body.df-ml-style-enabled.single-product .woocommerce-product-gallery__wrapper {
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove padding lateral que cria o efeito de "borda branca" */
body.df-ml-style-enabled.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
body.df-ml-style-enabled.single-product .woocommerce-product-gallery figure,
body.df-ml-style-enabled.single-product .woocommerce-product-gallery li {
  margin: 0 !important;
  padding: 0 !important;
}

/* Mesma correção para o box de pagamento laterais */
body.df-ml-style-enabled.single-product .df-ml-payment-box,
body.df-ml-style-enabled.single-product .summary .df-ml-payment-box {
  overflow: hidden !important;
}


/* ============================================================
   CORRIGE BORDA LATERAL SUMINDO — v1.3.2
   O summary e payment-box estavam transbordando a viewport
   ============================================================ */
@media (max-width: 767px) {
  body.df-ml-style-enabled.single-product .product .summary,
  body.df-ml-style-enabled.single-product .woocommerce-product-gallery,
  body.df-ml-style-enabled.single-product .df-ml-payment-box,
  body.df-ml-style-enabled.single-product .df-ml-open-section,
  body.df-ml-style-enabled.single-product .df-ml-shipping-box {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }

  /* Garante que o produto pai não transborde */
  body.df-ml-style-enabled.single-product div.product {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Evita que elementos internos causem scroll horizontal */
  body.df-ml-style-enabled.single-product .product .summary *,
  body.df-ml-style-enabled.single-product .df-ml-payment-box * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* ============================================================
   GALERIA COMPLETA ABAIXO DA DESCRIÇÃO — v1.3.3
   ============================================================ */
.df-gallery-full {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.df-gallery-full__title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 16px !important;
  padding: 0;
}

.df-gallery-full__item {
  display: block;
  margin: 0 0 12px !important;
  padding: 0;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.df-gallery-full__item:last-child {
  margin-bottom: 0 !important;
}

.df-gallery-full__img {
  display: block !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border: none !important;
  border-radius: 0 !important;
  background: #fff !important;
}

@media (min-width: 768px) {
  .df-gallery-full__img {
    height: 360px !important;
  }
}


/* ============================================================
   REMOVE BORDAS LATERAIS NA PÁGINA INICIAL — v1.3.4
   O tema adiciona padding/margin nos containers que causa
   os espaços brancos laterais no mobile
   ============================================================ */
@media (max-width: 767px) {

  /* Zera padding lateral dos containers do tema */
  body.df-ml-style-enabled .site,
  body.df-ml-style-enabled .site-content,
  body.df-ml-style-enabled #page,
  body.df-ml-style-enabled #content,
  body.df-ml-style-enabled .content-area,
  body.df-ml-style-enabled #primary,
  body.df-ml-style-enabled .entry-content,
  body.df-ml-style-enabled .woocommerce,
  body.df-ml-style-enabled .woocommerce-page,
  body.df-ml-style-enabled .woocommerce-archive,
  body.df-ml-style-enabled .site-main,
  body.df-ml-style-enabled main.site-main,
  body.df-ml-style-enabled #main,
  body.df-ml-style-enabled .page-content,
  body.df-ml-style-enabled .container,
  body.df-ml-style-enabled .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* A grade de produtos em si recebe padding para respirar */
  body.df-ml-style-enabled ul.products,
  body.df-ml-style-enabled .wc-block-grid__products {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* Títulos e textos acima da grade também */
  body.df-ml-style-enabled .woocommerce-products-header,
  body.df-ml-style-enabled .page-title,
  body.df-ml-style-enabled .woocommerce-archive-description,
  body.df-ml-style-enabled .term-description {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  /* Breadcrumb */
  body.df-ml-style-enabled .woocommerce-breadcrumb,
  body.df-ml-style-enabled nav.woocommerce-breadcrumb {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
}


/* ============================================================
   CORRIGE ESPAÇAMENTO LATERAL DA GRADE — v1.3.5
   ============================================================ */
@media (max-width: 767px) {

  /* Grade com padding mínimo e overflow cortado */
  body.df-ml-style-enabled ul.products,
  body.df-ml-style-enabled .wc-block-grid__products {
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Cards não ultrapassam o container */
  body.df-ml-style-enabled ul.products li.product,
  body.df-ml-style-enabled .wc-block-grid__product,
  body.df-ml-style-enabled .df-ml-product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}


/* ============================================================
   REMOVE PADDING DO ELEMENTOR NA GRADE — v1.3.6
   O .elementor-widget-wrap tem padding:10px lateral que
   cria os espaços brancos nas bordas no mobile
   ============================================================ */
@media (max-width: 767px) {
  body.df-ml-style-enabled .elementor-widget-wrap,
  body.df-ml-style-enabled .elementor-element-populated {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Compensa: devolve o espaço apenas para a grade de produtos */
  body.df-ml-style-enabled ul.products,
  body.df-ml-style-enabled .wc-block-grid__products {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}


/* ============================================================
   REMOVE PADDING DO TEMA STOREFRONT (.col-full) — v1.3.7
   A classe .col-full do tema tem padding:15px lateral que
   empurra toda a grade 15px para dentro no mobile
   ============================================================ */
@media (max-width: 767px) {
  body.df-ml-style-enabled .col-full {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Devolve respiro apenas na grade de produtos */
  body.df-ml-style-enabled ul.products,
  body.df-ml-style-enabled .wc-block-grid__products {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}


/* ============================================================
   REMOVE ESPAÇO BRANCO NOS PRODUTOS RELACIONADOS — v1.3.8
   Os cards relacionados usam .woocommerce-card__header com
   padding-bottom:20px que cria a sobra embaixo do botão
   ============================================================ */
body.df-ml-style-enabled.single-product .related.products li.product .woocommerce-card__header {
  padding-bottom: 0 !important;
}

/* O card dos relacionados também tem padding-bottom próprio — deixar só o do li.product */
body.df-ml-style-enabled.single-product .related.products li.product {
  padding-bottom: 16px !important;
}

/* screen-reader-text com position:absolute não afeta o fluxo mas por segurança */
body.df-ml-style-enabled.single-product .related.products li.product .screen-reader-text {
  display: none !important;
}


/* ============================================================
   UPSELLS "VOCÊ TAMBÉM PODE SE INTERESSAR" — v1.3.9 / v1.4.1
   Apenas mobile — não afeta desktop
   ============================================================ */
@media (max-width: 767px) {

  /* Remove padding lateral da section upsells */
  body.df-ml-style-enabled.single-product .upsells.products,
  body.df-ml-style-enabled.single-product section.upsells {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Grade dos upsells — 2 colunas */
  body.df-ml-style-enabled.single-product .upsells ul.products,
  body.df-ml-style-enabled.single-product ul.products.columns-5,
  body.df-ml-style-enabled.single-product ul.products.columns-4,
  body.df-ml-style-enabled.single-product ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* Cards dos upsells */
  body.df-ml-style-enabled.single-product .upsells ul.products li.product,
  body.df-ml-style-enabled.single-product ul.products.columns-5 li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #ededed !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.06) !important;
    padding: 0 0 12px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Imagem */
  body.df-ml-style-enabled.single-product .upsells ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    object-fit: contain !important;
    padding: 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Título */
  body.df-ml-style-enabled.single-product .upsells ul.products li.product .woocommerce-loop-product__title,
  body.df-ml-style-enabled.single-product .upsells ul.products li.product .woocommerce-card__header .woocommerce-loop-product__title,
  body.df-ml-style-enabled.single-product ul.products.columns-5 li.product .woocommerce-loop-product__title {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #333 !important;
    margin: 8px 10px 6px !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    white-space: normal !important;
    min-width: 0 !important;
  }

  /* Preço */
  body.df-ml-style-enabled.single-product .upsells ul.products li.product .price,
  body.df-ml-style-enabled.single-product ul.products.columns-5 li.product .price .amount {
    font-size: 16px !important;
    margin: 0 10px 3px !important;
  }

  /* Pix/installments */
  body.df-ml-style-enabled.single-product .upsells ul.products li.product .df-ml-pix,
  body.df-ml-style-enabled.single-product .upsells ul.products li.product .df-ml-installments,
  body.df-ml-style-enabled.single-product ul.products.columns-5 li.product .df-ml-pix {
    font-size: 10px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  /* Botão */
  body.df-ml-style-enabled.single-product .upsells ul.products li.product .button,
  body.df-ml-style-enabled.single-product .upsells ul.products li.product a.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 10px 10px 0 !important;
    width: calc(100% - 20px) !important;
    box-sizing: border-box !important;
    background: #2968c8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 8px 6px !important;
    text-transform: uppercase !important;
    min-height: 32px !important;
  }

  /* Remove padding do woocommerce-card__header */
  body.df-ml-style-enabled.single-product .upsells ul.products li.product .woocommerce-card__header,
  body.df-ml-style-enabled.single-product ul.products.columns-5 li.product .woocommerce-card__header {
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Remove screen-reader-text */
  body.df-ml-style-enabled.single-product .upsells ul.products li.product .screen-reader-text {
    display: none !important;
  }
}



