/* =========================================================
   AdsDoctor Design v3 — categorias, filtros, catálogo, ficha e animações
   ========================================================= */

/* ---------- Loja/categorias: esconder o que é do tema ---------- */
body.adsd-arq #page-header-wrap, body.adsd-arq .nectar-shop-header, body.adsd-arq #sidebar,
body.adsd-arq .woocommerce-products-header, body.adsd-arq .adsd-filtros-btn { display: none !important; }
body.adsd-arq .container-wrap { padding-top: 0 !important; }
body.adsd-arq .main-content > .row { display: block; }
body.adsd-arq .post-area.col { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
body.adsd-arq ul.products { margin-top: 8px !important; }
@media (min-width: 1000px) {
  body.adsd-arq ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
  body.adsd-arq ul.products::before, body.adsd-arq ul.products::after { display: none !important; }
  body.adsd-arq ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; clear: none !important; }
}

/* ---------- Cabeçalho da categoria ---------- */
.adsd-heroi {
  --hb: #fff3ec; --hb2: #ffe4d4; --hc: #f0642c;
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 24px;
  margin: 20px 0 20px; padding: clamp(24px, 3.4vw, 48px); min-height: 280px; border-radius: 30px;
  background: linear-gradient(135deg, #fff6ef 0%, #fff4ec 55%, #fff6e8 100%); border: 1px solid rgba(31,26,23,.06);
  font-family: var(--adsd-fonte);
}
.adsd-heroi--cor { background: linear-gradient(135deg, var(--hb) 0%, #ffffff 90%); }
.adsd-heroi__txt { position: relative; z-index: 1; min-width: 0; }
.adsd-heroi__migalhas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--tx3); }
.adsd-heroi__migalhas a { color: var(--tx2) !important; text-decoration: none; }
.adsd-heroi__migalhas a:hover { color: var(--vi-esc) !important; }
.adsd-heroi h1 { font-size: clamp(30px, 4vw, 52px) !important; line-height: 1.04 !important; letter-spacing: -0.04em !important; font-weight: 600 !important; margin: 0 0 12px !important; color: var(--tx) !important; max-width: 16ch; text-transform: none !important; }
.adsd-heroi p { margin: 0 0 18px !important; padding: 0 !important; max-width: 560px; font-size: 16px; line-height: 1.55; color: var(--tx2); }
.adsd-heroi__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.adsd-heroi__n, .adsd-heroi__cod { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid rgba(31,26,23,.08); font-size: 13px; font-weight: 600; color: var(--tx); }
.adsd-heroi__cod i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.adsd-heroi__subs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 16px 0 0 !important; padding: 0 !important; }
.adsd-heroi__subs li { margin: 0; padding: 0; list-style: none; }
.adsd-heroi__subs li::before { display: none !important; }
.adsd-heroi__subs a { display: inline-flex; height: 34px; align-items: center; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ln); font-size: 13px; font-weight: 500; color: var(--tx) !important; text-decoration: none; }
.adsd-heroi__subs a:hover { border-color: var(--vi); color: var(--vi-esc) !important; }
.adsd-heroi__vis { position: relative; height: 100%; min-height: 220px; }
.adsd-heroi__foto { position: absolute; top: 50%; left: 50%; width: min(46%, 190px); aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(31,26,23,.3); transform: translate(calc(-50% + (var(--i) - 1) * 62%), -50%) rotate(calc((var(--i) - 1) * 7deg)); z-index: calc(3 - var(--i)); overflow: hidden; }
.adsd-heroi__foto:nth-child(2) { z-index: 3; transform: translate(-50%, -54%) scale(1.08); }
.adsd-heroi__foto img { width: 86%; height: 86%; object-fit: contain; }
.adsd-heroi__mancha { position: absolute; right: 6%; top: 50%; width: min(64%, 250px); aspect-ratio: 1; transform: translateY(-50%); background: var(--hc); border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; box-shadow: inset -18px -24px 60px rgba(0,0,0,.14), inset 14px 16px 40px rgba(255,255,255,.28), 0 30px 60px -20px rgba(31,26,23,.35); animation: adsdMancha 12s ease-in-out infinite alternate; }
@keyframes adsdMancha { to { border-radius: 45% 55% 42% 58% / 55% 45% 58% 42%; } }
.adsd-heroi__amostra { position: absolute; left: 6%; bottom: 8%; display: flex; flex-direction: column; gap: 2px; width: 150px; padding: 8px 8px 12px; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px -14px rgba(31,26,23,.35); }
.adsd-heroi__amostra span { height: 84px; border-radius: 12px; margin-bottom: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.adsd-heroi__amostra b { padding: 0 4px; font-size: 14px; color: var(--tx); }
.adsd-heroi__amostra small { padding: 0 4px; font-size: 12px; color: var(--tx3); }
@media (max-width: 800px) {
  .adsd-heroi { grid-template-columns: 1fr; padding: 22px; border-radius: 24px; margin: 12px 0; min-height: 0; }
  .adsd-heroi__vis { min-height: 150px; order: -1; }
  .adsd-heroi__foto { width: 120px; }
  .adsd-heroi__mancha { width: 150px; right: auto; left: 50%; transform: translate(-30%, -50%); }
  .adsd-heroi__amostra { width: 120px; left: 8%; bottom: 0; } .adsd-heroi__amostra span { height: 54px; }
  .adsd-heroi p { font-size: 15px; }
}

/* ---------- Barra de filtros ---------- */
.adsd-fbar { position: sticky; top: calc(var(--adsd-nav-fim, 76px) + 8px); z-index: 8000; display: flex; align-items: center; gap: 10px; padding: 10px; margin: 0 0 12px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--ln); border-radius: 18px; box-shadow: 0 8px 24px -16px rgba(31,26,23,.25); font-family: var(--adsd-fonte); }
body.admin-bar .adsd-fbar { top: 118px; }
html body .adsd-fbar__btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border: 0; border-radius: 12px !important; background: var(--ac); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; flex: none; box-shadow: none; text-transform: none; letter-spacing: normal; }
.adsd-fbar__btn .adsd-i { width: 18px; height: 18px; }
.adsd-fbar__btn b { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; background: var(--grad); font-size: 12px; padding: 0 6px; }
.adsd-fbar__chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.adsd-fbar__chips::-webkit-scrollbar { display: none; }
.adsd-chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--ln); border-radius: 999px; background: #fff; color: var(--tx) !important; font-size: 14px; font-weight: 500; white-space: nowrap; text-decoration: none !important; transition: all .15s; }
.adsd-chip:hover { border-color: var(--vi-ln); background: var(--vi-bg); }
.adsd-chip.is-on { background: var(--vi-bg2); border-color: var(--vi); color: var(--vi-esc) !important; font-weight: 600; }
.adsd-chip span[aria-hidden] { font-size: 16px; line-height: 1; opacity: .7; }
.adsd-fbar__n { flex: none; font-size: 14px; color: var(--tx2); white-space: nowrap; }
.adsd-fbar__ord select { height: 42px !important; padding: 0 34px 0 14px !important; border: 1px solid var(--ln) !important; border-radius: 12px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1a17' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px !important; -webkit-appearance: none; appearance: none; font-size: 14px !important; font-weight: 500; color: var(--tx); cursor: pointer; box-shadow: none !important; margin: 0 !important; }
.adsd-fativos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.adsd-fativos__limpar { font-size: 14px; font-weight: 600; color: var(--vi-esc) !important; margin-left: 6px; }
@media (max-width: 800px) {
  .adsd-fbar { top: 60px; border-radius: 0; margin: 0 -16px 12px; border-left: 0; border-right: 0; flex-wrap: wrap; gap: 8px; }
  body.admin-bar .adsd-fbar { top: 60px; }
  .adsd-fbar__chips { order: 3; flex: 1 1 100%; }
  .adsd-fbar__n { margin-left: auto; font-size: 13px; }
  .adsd-fbar__ord select { height: 42px !important; max-width: 150px; }
}

/* ---------- Painel de filtros (lateral no computador, folha no telemóvel) ---------- */
.adsd-fpanel { position: fixed; z-index: 99991; top: 12px; right: 12px; bottom: 12px; width: min(420px, calc(100vw - 24px)); display: flex; flex-direction: column; background: #fff; border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(31,26,23,.45); transform: translateX(calc(100% + 24px)); transition: transform .35s cubic-bezier(.2,.8,.2,1); font-family: var(--adsd-fonte); visibility: hidden; }
html.adsd-fp-aberto .adsd-fpanel { transform: none; visibility: visible; }
.adsd-fpanel__veu { position: fixed; inset: 0; z-index: 99990; background: rgba(31,26,23,.28); opacity: 0; pointer-events: none; transition: opacity .3s; }
html.adsd-fp-aberto .adsd-fpanel__veu { opacity: 1; pointer-events: auto; }
.adsd-fpanel__cab { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px 22px; border-bottom: 1px solid var(--ln); }
.adsd-fpanel__cab p { margin: 0 !important; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
html body .adsd-fpanel__cab button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ln); border-radius: 12px !important; background: #fff; color: var(--tx); cursor: pointer; box-shadow: none; }
.adsd-fpanel__corpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 16px; }
.adsd-fgrupo { border-bottom: 1px solid var(--ln); }
.adsd-fgrupo summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.adsd-fgrupo summary::-webkit-details-marker { display: none; }
.adsd-fgrupo summary .adsd-i { width: 16px; height: 16px; color: var(--tx3); transition: transform .2s; }
.adsd-fgrupo[open] summary .adsd-i { transform: rotate(180deg); }
.adsd-fops { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }
.adsd-fop { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--ln); border-radius: 12px; color: var(--tx) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; transition: all .15s; }
.adsd-fop small { font-size: 12px; color: var(--tx3); font-weight: 500; }
.adsd-fop:hover { border-color: var(--vi-ln); background: var(--vi-bg); }
.adsd-fop.is-on { border-color: var(--vi); background: var(--vi-bg2); color: var(--vi-esc) !important; font-weight: 600; }
.adsd-fop.is-on small { color: var(--vi); }
.adsd-fcores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; padding-bottom: 16px; }
.adsd-fcor { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; color: var(--tx) !important; font-size: 14px; text-decoration: none !important; border: 1px solid transparent; }
.adsd-fcor i { width: 28px; height: 28px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.adsd-fcor:hover { background: var(--bg2); }
.adsd-fcor.is-on { border-color: var(--vi); background: var(--vi-bg); font-weight: 600; }
.adsd-fcor.is-on i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vi); }
.adsd-fpreco { display: flex; gap: 8px; align-items: flex-end; padding-bottom: 16px; }
.adsd-fpreco label { display: flex; flex-direction: column; gap: 4px; flex: 1; font-size: 12px; color: var(--tx3); }
.adsd-fpreco input { height: 42px !important; border: 1px solid var(--ln) !important; border-radius: 12px !important; padding: 0 12px !important; font-size: 15px !important; box-shadow: none !important; margin: 0 !important; background: #fff !important; }
html body .adsd-fpreco button { height: 42px; padding: 0 16px; border: 0; border-radius: 12px !important; background: var(--ac); color: #fff; font-weight: 600; cursor: pointer; box-shadow: none; }
.adsd-fpanel__base { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid var(--ln); }
.adsd-fpanel__base .adsd-pill { width: 100%; height: 50px; }
.post-area.is-carregando ul.products { opacity: .45; transition: opacity .2s; pointer-events: none; }
@media (max-width: 640px) {
  .adsd-fpanel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; transform: translateY(105%); }
  .adsd-fpanel__base { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}
html.adsd-fp-aberto .joinchat, html.adsd-fp-aberto .adsd-ck-reabrir { display: none !important; }

/* ---------- Catálogo de cores ---------- */
.adsd-cat__hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 28px; padding: clamp(24px, 4vw, 56px); border-radius: 30px; background: var(--g-amar); }
.adsd-cat__hero h1 { font-size: clamp(36px, 5vw, 64px) !important; line-height: 1.02 !important; margin: 0 0 14px !important; }
.adsd-cat__hero p { font-size: 17px; line-height: 1.55; color: var(--tx2); margin: 0 0 22px !important; max-width: 520px; }
.adsd-cat__busca { display: flex; align-items: center; gap: 10px; max-width: 460px; height: 56px; padding: 0 16px; border-radius: 16px; background: #fff; border: 1px solid rgba(31,26,23,.08); box-shadow: 0 8px 24px -14px rgba(31,26,23,.3); color: var(--vi); }
.adsd-cat__busca input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; height: 100%; font-size: 16px !important; color: var(--tx); outline: none; margin: 0 !important; }
.adsd-cat__leque { position: relative; height: 260px; }
.adsd-cat__leque i { position: absolute; left: 50%; bottom: 10px; width: 64px; height: 230px; border-radius: 14px; transform-origin: 50% 92%; transform: translateX(-50%) rotate(calc((var(--i) - 3) * 13deg)); box-shadow: 0 10px 24px -10px rgba(31,26,23,.4), inset 0 -34px 0 rgba(255,255,255,.9); animation: adsdLeque .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes adsdLeque { from { transform: translateX(-50%) rotate(0deg); opacity: 0; } }
.adsd-cat__familias { display: flex; gap: 8px; overflow-x: auto; margin: 28px 0 20px; padding-bottom: 4px; scrollbar-width: none; }
.adsd-cat__familias::-webkit-scrollbar { display: none; }
html body .adsd-cat__familias button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--ln); border-radius: 999px !important; background: #fff; color: var(--tx); font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
.adsd-cat__familias button span { font-size: 12px; color: var(--tx3); }
.adsd-cat__familias button.is-ativo { background: var(--ac); border-color: var(--ac); color: #fff; }
.adsd-cat__familias button.is-ativo span { color: rgba(255,255,255,.7); }
.adsd-cat__grelha { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.adsd-cat__grelha li[hidden] { display: none !important; }
.adsd-cat__grelha a { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ln); border-radius: 22px; overflow: hidden; color: var(--tx) !important; transition: transform .2s, box-shadow .2s; }
.adsd-cat__grelha a:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -20px rgba(31,26,23,.35); }
.adsd-cat__cor { position: relative; display: block; aspect-ratio: 1 / .85; margin: 8px 8px 0; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.adsd-cat__ver { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: all .2s; }
.adsd-cat__ver .adsd-i { width: 15px; height: 15px; }
.adsd-cat__grelha a:hover .adsd-cat__ver { opacity: 1; transform: none; }
.adsd-cat__info { display: flex; flex-direction: column; padding: 12px 14px 14px; }
.adsd-cat__info strong { font-size: 15px; font-weight: 600; }
.adsd-cat__info small { font-size: 13px; color: var(--tx3); }
.adsd-cat__vazio { text-align: center; padding: 40px 0; color: var(--tx2); }
.adsd-cat__outra { background: var(--g-rosa); border-color: transparent; }
@media (max-width: 800px) {
  .adsd-cat__hero { grid-template-columns: 1fr; border-radius: 24px; }
  .adsd-cat__leque { height: 170px; order: -1; } .adsd-cat__leque i { height: 150px; width: 46px; }
  .adsd-cat__grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* =========================================================
   FICHA DE PRODUTO v3
   Computador: informação à esquerda, foto grande à direita sobre a cor da tinta.
   Telemóvel: foto sobre a cor, cartão branco com cantos redondos por cima.
   ========================================================= */
body.adsd-ficha3 { --pf: #ffefe5; --pf2: #fddcc9; --pfc: #f0642c; }
body.adsd-ficha3 .woocommerce-breadcrumb { font-size: 13px !important; color: var(--tx3) !important; margin: 18px 0 14px !important; }
body.adsd-ficha3 .woocommerce-breadcrumb a { color: var(--tx2) !important; }
body.adsd-ficha3 .woocommerce-breadcrumb .fa { font-size: 11px; margin: 0 4px; opacity: .6; }
body.adsd-ficha3 div.product .nectar-prod-wrap { transition: background .5s ease; }

@media (min-width: 1000px) {
  body.adsd-ficha3 div.product .nectar-prod-wrap { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: start; }
  body.adsd-ficha3 div.product .nectar-prod-wrap::before, body.adsd-ficha3 div.product .nectar-prod-wrap::after { display: none !important; }
  body.adsd-ficha3 div.product .single-product-main-image { order: 2; width: auto !important; float: none !important; margin: 0 !important; position: sticky; top: 100px; }
  body.adsd-ficha3 div.product .summary { order: 1; width: auto !important; float: none !important; margin: 0 !important; padding: 12px 0 0 !important; }
}

/* Galeria sobre a cor */
body.adsd-ficha3 .woocommerce-product-gallery { position: relative; background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 60%), linear-gradient(160deg, var(--pf) 55%, var(--pf2) 130%) !important; box-shadow: inset 0 0 0 1px rgba(31,26,23,.06); border-radius: 32px !important; overflow: hidden; padding: 6% !important; transition: background .6s ease; }
body.adsd-ficha3 .woocommerce-product-gallery::after { content: ''; position: absolute; right: -12%; bottom: -18%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--pfc); opacity: .14; filter: blur(8px); pointer-events: none; transition: background .6s ease; }
body.adsd-ficha3 .woocommerce-product-gallery img { mix-blend-mode: normal !important; border-radius: 20px; background: transparent; filter: drop-shadow(0 30px 40px rgba(31,26,23,.22)); }
body.adsd-ficha3 .woocommerce-product-gallery__image { background: transparent !important; }
body.adsd-ficha3 .flex-control-thumbs { display: flex !important; gap: 10px; margin: 14px 0 0 !important; padding: 0 !important; position: relative; z-index: 1; }
body.adsd-ficha3 .flex-control-thumbs li { width: 72px !important; margin: 0 !important; list-style: none; }
body.adsd-ficha3 .flex-control-thumbs li::before { display: none !important; }
body.adsd-ficha3 .flex-control-thumbs img { border-radius: 14px; background: #fff; padding: 6px; opacity: .6; border: 2px solid transparent; filter: none; }
body.adsd-ficha3 .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--tx); }

/* Resumo */
body.adsd-ficha3 .adsd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.adsd-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--ln); font-size: 13px; font-weight: 500; color: var(--tx2) !important; text-decoration: none !important; }
.adsd-tag:hover { border-color: var(--vi-ln); color: var(--vi-esc) !important; }
.adsd-tag--marca { background: var(--tx); border-color: var(--tx); color: #fff !important; font-weight: 600; }
.adsd-tag--marca:hover { color: #fff !important; background: var(--vi-esc); }
body.adsd-ficha3.single-product .summary .product_title { font-size: clamp(30px, 3.2vw, 48px) !important; line-height: 1.05 !important; letter-spacing: -0.04em !important; font-weight: 600 !important; margin: 0 0 14px !important; }
body.adsd-ficha3.single-product .summary > .price, body.adsd-ficha3.single-product .summary .n-sticky > div > .price { font-size: 30px !important; font-weight: 700 !important; letter-spacing: -0.03em; color: var(--tx) !important; margin: 0 0 16px !important; }
body.adsd-ficha3 .summary .price .adsd-desde { font-size: 15px; font-weight: 500; color: var(--tx2); }
body.adsd-ficha3 .summary .price .woocommerce-price-suffix { font-size: 13px; font-weight: 500; color: var(--tx3); }
body.adsd-ficha3 .adsd-f-intro { font-size: 16px !important; line-height: 1.65 !important; color: var(--tx2) !important; }
body.adsd-ficha3 .adsd-f-tags li { background: var(--vi-bg) !important; color: var(--vi-esc); font-weight: 500; }

/* Seletor em linhas "rótulo | opções" (estilo curated) */
body.adsd-ficha3 .adsd-var { gap: 0 !important; margin: 18px 0 8px !important; border-top: 1px solid var(--ln); }
body.adsd-ficha3 .adsd-grupo { display: grid !important; grid-template-columns: 110px minmax(0, 1fr); align-items: start; gap: 12px; padding: 16px 0 !important; border-bottom: 1px solid var(--ln) !important; }
body.adsd-ficha3 .adsd-grupo legend { float: left; width: 110px; margin: 10px 0 0 !important; display: flex; flex-direction: column; gap: 2px; font-size: 15px !important; }
body.adsd-ficha3 .adsd-grupo legend + .adsd-opcoes { grid-column: 2; }
body.adsd-ficha3 .adsd-escolha { font-size: 13px !important; color: var(--tx3) !important; }
html body.adsd-ficha3 .adsd-op { min-width: 64px; height: 48px; border-radius: 14px !important; border: 1px solid var(--ln) !important; background: #fff; font-weight: 600; transition: all .15s; }
html body.adsd-ficha3 .adsd-op:hover { border-color: var(--tx) !important; }
html body.adsd-ficha3 .adsd-op.is-sel { background: var(--tx) !important; color: #fff !important; border-color: var(--tx) !important; box-shadow: 0 8px 18px -8px rgba(31,26,23,.5); }
html body.adsd-ficha3 .adsd-op--cor { width: 46px; min-width: 0; height: 46px; border-radius: 50% !important; padding: 4px; border-color: transparent !important; background: transparent; box-shadow: none; }
html body.adsd-ficha3 .adsd-op--cor.is-sel { background: #fff !important; border: 2px solid var(--tx) !important; box-shadow: none; }

/* Quantidade redonda + botão grande (estilo app) */
body.adsd-ficha3 form.cart .woocommerce-variation-add-to-cart, body.adsd-ficha3 form.cart:not(.variations_form) { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px !important; }
body.adsd-ficha3 form.cart .quantity { display: inline-flex !important; align-items: center; gap: 6px; height: 56px; padding: 0 6px; border: 1px solid var(--ln); border-radius: 999px; background: #fff; margin: 0 !important; float: none !important; }
html body.adsd-ficha3 form.cart .quantity input.minus, html body.adsd-ficha3 form.cart .quantity input.plus { width: 42px !important; height: 42px !important; border-radius: 50% !important; border: 0 !important; background: var(--tx) !important; color: #fff !important; font-size: 20px !important; line-height: 1 !important; padding: 0 !important; cursor: pointer; box-shadow: none !important; }
body.adsd-ficha3 form.cart .quantity input.qty { width: 44px !important; height: 42px !important; border: 0 !important; background: transparent !important; text-align: center; font-size: 18px !important; font-weight: 700; padding: 0 !important; box-shadow: none !important; -moz-appearance: textfield; }
body.adsd-ficha3 form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }
html body.adsd-ficha3 form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; height: 56px !important; border-radius: 999px !important; background: var(--tx) !important; font-size: 16px !important; font-weight: 600 !important; letter-spacing: -0.01em !important; transition: transform .15s, box-shadow .2s, background .2s !important; box-shadow: 0 12px 28px -12px rgba(31,26,23,.55) !important; }
html body.adsd-ficha3 form.cart .single_add_to_cart_button:hover { background: var(--vi-esc) !important; transform: translateY(-1px); }
body.adsd-ficha3 form.cart .flex-break { display: none; }

/* Confiança, calculadora e especificações em linhas */
body.adsd-ficha3 .adsd-f-confianca { border-top: 0 !important; padding: 16px !important; margin-top: 20px !important; background: var(--bg2); border-radius: 18px; gap: 12px !important; }
body.adsd-ficha3 .adsd-f-confianca svg { stroke: var(--vi) !important; }
body.adsd-ficha3 .adsd-calc { border-radius: 18px !important; border-color: var(--vi-ln) !important; background: var(--vi-bg); }
body.adsd-ficha3 .adsd-f-specs { display: block !important; background: none !important; border: 0 !important; border-top: 1px solid var(--ln) !important; border-radius: 0 !important; margin-top: 22px !important; }
body.adsd-ficha3 .adsd-f-specs div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 13px 0 !important; border-bottom: 1px solid var(--ln); background: none !important; }
body.adsd-ficha3 .adsd-f-specs dt { margin: 0 !important; font-size: 14px !important; color: var(--tx2) !important; font-weight: 500 !important; }
body.adsd-ficha3 .adsd-f-specs dd { font-size: 14px; font-weight: 500; }

/* Separadores e descrição */
body.adsd-ficha3 .woocommerce-tabs { margin-top: 64px !important; }
body.adsd-ficha3 .woocommerce-tabs ul.tabs { display: inline-flex !important; gap: 4px; padding: 4px !important; background: var(--bg2) !important; border-radius: 14px; margin-bottom: 28px !important; }
body.adsd-ficha3 .woocommerce-tabs ul.tabs li { margin: 0 !important; border: 0 !important; background: none !important; }
body.adsd-ficha3 .woocommerce-tabs ul.tabs li::before, body.adsd-ficha3 .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.adsd-ficha3 .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 18px !important; border-radius: 10px; font-size: 15px !important; color: var(--tx2) !important; }
body.adsd-ficha3 .woocommerce-tabs ul.tabs li.active a { background: #fff; color: var(--tx) !important; box-shadow: 0 1px 3px rgba(31,26,23,.12); }
body.adsd-ficha3 .adsd-desc { padding: clamp(20px, 3vw, 40px); border: 1px solid var(--ln); border-radius: 28px; }
body.adsd-ficha3 .adsd-desc h3 { font-size: 18px !important; margin: 18px 0 6px !important; }

@media (max-width: 999px) {
  body.adsd-ficha3 .woocommerce-breadcrumb { display: none !important; }
  body.adsd-ficha3 div.product .single-product-main-image { left: auto !important; right: auto !important; width: 100vw !important; max-width: none !important; margin: 0 0 0 calc(50% - 50vw) !important; }
  body.adsd-ficha3 .woocommerce-product-gallery { border-radius: 0 !important; padding: 10% 12% 16% !important; }
  body.adsd-ficha3 div.product .summary { position: relative; left: auto !important; z-index: 2; width: 100vw !important; max-width: none !important; margin: -40px 0 0 calc(50% - 50vw) !important; padding: 26px 20px 8px !important; background: #fff; border-radius: 30px 30px 0 0; box-shadow: 0 -12px 30px -18px rgba(31,26,23,.25); box-sizing: border-box; }
  body.adsd-ficha3.single-product .summary .product_title { font-size: 28px !important; }
  body.adsd-ficha3 .adsd-grupo { grid-template-columns: 1fr; gap: 10px; }
  body.adsd-ficha3 .adsd-grupo legend { float: none; width: auto; margin: 0 !important; flex-direction: row; gap: 8px; align-items: baseline; }
  body.adsd-ficha3 .adsd-grupo legend + .adsd-opcoes { grid-column: 1; }
  body.adsd-ficha3 form.cart .quantity { height: 52px; }
  html body.adsd-ficha3 form.cart .single_add_to_cart_button { min-width: 0; height: 56px !important; flex: 1 1 100%; }
  body.adsd-ficha3 .adsd-f-specs div { grid-template-columns: 120px minmax(0, 1fr); }
}

/* =========================================================
   ANIMAÇÕES (só com JavaScript e sem "reduzir movimento")
   ========================================================= */
.adsd-rev { transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--d, 0) * 70ms); }
html.adsd-anim .adsd-rev:not(.is-in) { opacity: 0; transform: translateY(28px); }
html.adsd-anim .adsd-card.adsd-rev:not(.is-in), html.adsd-anim ul.products li.product.adsd-rev:not(.is-in), html.adsd-anim .adsd-cat__grelha li.adsd-rev:not(.is-in) { transform: translateY(34px) scale(.97); }
img.adsd-img { transition: opacity .7s ease, filter .9s ease, transform .3s ease; }
html.adsd-anim img.adsd-img:not(.is-ok) { opacity: 0; filter: blur(12px); }
.adsd-pal-pronto .adsd-pal { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.adsd-pal-pronto .adsd-pal > * { display: inline-block; transform: translateY(108%); animation: adsdPal .95s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--w) * 60ms + 120ms); }
@keyframes adsdPal { to { transform: none; } }
.adsd-brilho { width: 14px; height: 14px; flex: none; fill: currentColor; animation: adsdBrilho 2.6s ease-in-out infinite; transform-origin: center; }
.adsd-etiqueta b .adsd-brilho { width: 12px; height: 12px; margin-right: 4px; }
@keyframes adsdBrilho { 0%, 100% { transform: scale(.75) rotate(0deg); opacity: .55; } 50% { transform: scale(1.1) rotate(90deg); opacity: 1; } }
.adsd-etq { gap: 8px; padding-left: 12px; }
/* Botões com leve "levantar" ao passar o rato */
.adsd-pill, .adsd-chip, .adsd-fop, .adsd-h-chips a { transition: transform .2s ease, background .15s, border-color .15s, color .15s, box-shadow .2s; }
.adsd-pill:hover { transform: translateY(-1px); }
/* Cartões de produto da loja: moldura e sombra ao passar o rato */
body.adsd-arq ul.products li.product { transition: transform .35s cubic-bezier(.16,1,.3,1); }
@media (hover: hover) { body.adsd-arq ul.products li.product:hover { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .adsd-rev, img.adsd-img, .adsd-pal > *, .adsd-brilho, .adsd-heroi__mancha, .adsd-cat__leque i { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
}
.adsd-fbar__ord select { line-height: 40px !important; min-height: 0 !important; max-height: 42px; }
.adsd-fbar__ord { display: flex; align-items: center; margin: 0 !important; }
@media (max-width: 800px) {
  .adsd-heroi p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px !important; }
  .adsd-heroi h1 { font-size: 30px !important; }
  .adsd-heroi__vis { min-height: 130px; }
  .adsd-heroi__foto { width: 104px; }
}
@media (max-width: 999px) {
  body.adsd-ficha3 .container-wrap, body.adsd-ficha3 .main-content { padding-top: 0 !important; margin-top: 0 !important; }
  body.adsd-ficha3 div.product { margin-top: 0 !important; padding-top: 0 !important; }
}

/* =========================================================
   CHECKOUT v2 — cartões redondos, cor e extras
   ========================================================= */
body.adsd.woocommerce-checkout .woocommerce-form-login-toggle, body.adsd.woocommerce-checkout .woocommerce-form-coupon-toggle, body.adsd.woocommerce-checkout form.checkout_coupon, body.adsd.woocommerce-checkout .woocommerce-breadcrumb { display: none !important; }
body.adsd.woocommerce-checkout .container-wrap { background: linear-gradient(180deg, #fff7f1 0%, #fffbf8 280px, #fff 600px); }
body.adsd.woocommerce-checkout .woocommerce { padding-top: 18px; }
/* Passos */
.adsd-co__passos { display: flex; gap: 6px; list-style: none; margin: 0 0 12px !important; padding: 6px !important; background: #fff; border: 1px solid var(--ln); border-radius: 18px; box-shadow: 0 8px 24px -18px rgba(31,26,23,.4); }
.adsd-co__passos li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin: 0; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--tx3); list-style: none; transition: all .25s; }
.adsd-co__passos li::before { display: none !important; }
.adsd-co__passos li b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--bg2); font-size: 12px; transition: all .25s; }
.adsd-co__passos li.is-on { background: var(--vi-bg); color: var(--vi-esc); font-weight: 600; }
.adsd-co__passos li.is-on b { background: var(--grad); color: #fff; }
.adsd-co__entrar { display: inline-block; margin: 2px 0 10px; font-size: 14px; font-weight: 600; color: var(--vi-esc) !important; }
.adsd-co__barra { display: none; }
/* Colunas */
@media (min-width: 1000px) {
  body.adsd.woocommerce-checkout #customer_details.col2-set { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important; gap: 28px !important; }
}
body.adsd.woocommerce-checkout #customer_details .col-1 { background: transparent !important; padding: 0 !important; }
/* Secções como cartões */
p.adsd-co__sec { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; width: 100%; clear: both; margin: 18px 0 0 !important; padding: 18px 20px 14px !important; background: #fff; border: 1px solid var(--ln); border-bottom: 0; border-radius: 22px 22px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--tx); }
p.adsd-co__sec b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px; background: var(--grad); color: #fff; font-size: 14px; box-shadow: 0 6px 14px -6px rgba(255,138,61,.7); }
p.adsd-co__sec small { flex-basis: 100%; margin-left: 44px; font-size: 13px; font-weight: 400; color: var(--tx3); }
body.adsd.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: flex; flex-wrap: wrap; column-gap: 4%; }
body.adsd.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row { background: #fff; border-left: 1px solid var(--ln); border-right: 1px solid var(--ln); padding: 0 20px 12px !important; margin: 0 !important; width: 100% !important; float: none !important; }
@media (min-width: 700px) {
  body.adsd.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first, body.adsd.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last { width: 50% !important; }
  body.adsd.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first { border-right: 0; padding-right: 8px !important; }
  body.adsd.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last { border-left: 0; padding-left: 8px !important; }
}
body.adsd.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { column-gap: 0; }
body.adsd.woocommerce-checkout #billing_phone_field, body.adsd.woocommerce-checkout #billing_country_field, body.adsd.woocommerce-checkout #billing_company_field { border-bottom: 1px solid var(--ln); border-radius: 0 0 22px 22px; padding-bottom: 18px !important; margin-bottom: 4px !important; }
@media (min-width: 700px) {
  body.adsd.woocommerce-checkout #billing_email_field { border-bottom: 1px solid var(--ln); border-radius: 0 0 0 22px; padding-bottom: 18px !important; }
  body.adsd.woocommerce-checkout #billing_phone_field { border-radius: 0 0 22px 0; }
  body.adsd.woocommerce-checkout #billing_nif_field { border-bottom: 1px solid var(--ln); border-radius: 0 0 0 22px; padding-bottom: 18px !important; }
  body.adsd.woocommerce-checkout #billing_company_field { border-radius: 0 0 22px 0; }
}
body.adsd.woocommerce-checkout .woocommerce-billing-fields > h3, body.adsd.woocommerce-checkout .woocommerce-additional-fields > h3 { display: none !important; }
body.adsd.woocommerce-checkout .form-row label { font-size: 13px !important; font-weight: 600 !important; color: var(--tx2) !important; margin-bottom: 5px !important; }
body.adsd.woocommerce-checkout .form-row .description { display: none !important; }
body.adsd.woocommerce-checkout .form-row input.input-text, body.adsd.woocommerce-checkout .form-row select, body.adsd.woocommerce-checkout .form-row textarea, body.adsd.woocommerce-checkout .select2-selection { min-height: 52px !important; border: 1.5px solid #e8e3df !important; border-radius: 14px !important; padding: 0 16px !important; font-size: 16px !important; background: #fffcfa !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s, background .15s; }
body.adsd.woocommerce-checkout .form-row textarea { padding: 12px 16px !important; min-height: 90px !important; }
body.adsd.woocommerce-checkout .form-row input.input-text:focus, body.adsd.woocommerce-checkout .form-row textarea:focus { border-color: var(--vi) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(240,100,44,.12) !important; outline: none; }
body.adsd.woocommerce-checkout .form-row.woocommerce-validated input.input-text { border-color: #9fdcb5 !important; }
body.adsd.woocommerce-checkout .form-row.woocommerce-invalid input.input-text { border-color: #f1a7a1 !important; background: #fff8f7 !important; }
body.adsd.woocommerce-checkout .select2-selection__rendered { line-height: 50px !important; padding: 0 !important; }
body.adsd.woocommerce-checkout .select2-selection__arrow { height: 50px !important; }
.form-row.is-a-procurar { position: relative; }
.form-row.is-a-procurar::after { content: ''; position: absolute; right: 36px; bottom: 30px; width: 16px; height: 16px; border: 2px solid var(--vi-ln); border-top-color: var(--vi); border-radius: 50%; animation: adsdGira .7s linear infinite; }
@keyframes adsdGira { to { transform: rotate(360deg); } }
.adsd-co__fatura { background: #fff; border-left: 1px solid var(--ln); border-right: 1px solid var(--ln); padding: 4px 20px 12px !important; margin: 0 !important; width: 100% !important; }
.adsd-co__fatura label { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px dashed #fcc9ad; border-radius: 14px; background: var(--g-lilas); cursor: pointer; font-size: 15px !important; font-weight: 600 !important; color: var(--tx) !important; }
.adsd-co__fatura input { accent-color: var(--vi); width: 20px; height: 20px; }
.adsd-co__nifobg { flex-basis: 100%; margin-left: 30px; font-size: 12px; font-weight: 500; color: var(--vi-esc); }
.adsd-co__nota { margin-top: 12px; }
.adsd-co__nota summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--vi-esc); padding: 8px 0; list-style: none; }
.adsd-co__nota summary::-webkit-details-marker { display: none; }
body.adsd.woocommerce-checkout .woocommerce-account-fields, body.adsd.woocommerce-checkout .woocommerce-shipping-fields { margin-top: 14px; padding: 12px 18px; background: #fff; border: 1px solid var(--ln); border-radius: 18px; }
body.adsd.woocommerce-checkout .woocommerce-shipping-fields h3, body.adsd.woocommerce-checkout .woocommerce-account-fields label { font-size: 15px !important; font-weight: 500 !important; }

/* Resumo da encomenda */
body.adsd.woocommerce-checkout #customer_details .col-2 { background: #fff !important; border: 1px solid var(--ln); border-radius: 26px !important; padding: 0 !important; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(31,26,23,.35); }
body.adsd.woocommerce-checkout #order_review_heading { margin: 0 !important; padding: 20px 22px !important; background: var(--grad); color: #fff !important; font-size: 18px !important; }
body.adsd.woocommerce-checkout #order_review { padding: 6px 20px 20px !important; }
body.adsd.woocommerce-checkout .woocommerce-checkout-review-order-table { border: 0 !important; }
body.adsd.woocommerce-checkout .woocommerce-checkout-review-order-table thead { display: none; }
body.adsd.woocommerce-checkout .woocommerce-checkout-review-order-table td, body.adsd.woocommerce-checkout .woocommerce-checkout-review-order-table th { border: 0 !important; border-bottom: 1px solid #f3f0ed !important; padding: 12px 0 !important; background: none !important; }
body.adsd.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name > a.remove, body.adsd.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name > .remove { display: none !important; }
.adsd-co__item { display: flex; align-items: center; gap: 12px; }
.adsd-co__mini { width: 54px !important; height: 54px !important; flex: none; object-fit: contain; border-radius: 12px; background: var(--bg2); padding: 3px; }
.adsd-co__item-t { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.adsd-co__tirar { font-size: 12px; font-weight: 500; color: var(--tx3) !important; text-decoration: underline !important; width: fit-content; }
.adsd-co__tirar:hover { color: #b3261e !important; }
body.adsd.woocommerce-checkout .order-total th, body.adsd.woocommerce-checkout .order-total td { border-bottom: 0 !important; padding-top: 16px !important; }
body.adsd.woocommerce-checkout .order-total td strong { font-size: 24px; letter-spacing: -0.02em; }

/* Extras: carrossel de cartões */
.adsd-extras { margin: 16px -20px 8px; padding: 16px 0 14px 20px; background: var(--g-rosa); border-top: 1px solid #fbe1d2; border-bottom: 1px solid #fbe1d2; }
.adsd-extras:empty { display: none; }
.adsd-extras__cab { display: flex; align-items: baseline; justify-content: space-between; padding-right: 20px; margin-bottom: 10px; }
.adsd-extras__t { margin: 0 !important; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--tx); }
.adsd-extras__cab span { font-size: 12px; color: var(--tx2); }
.adsd-extras ul { list-style: none; margin: 0 !important; padding: 2px 20px 6px 0 !important; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.adsd-extras ul::-webkit-scrollbar { display: none; }
.adsd-extras li { position: relative; flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 8px 8px 10px; background: #fff; border-radius: 18px; list-style: none; box-shadow: 0 8px 20px -14px rgba(31,26,23,.4); }
.adsd-extras li::before { display: none !important; }
.adsd-extras li.is-kit { flex-basis: 170px; box-shadow: 0 0 0 2px #f2622e, 0 12px 26px -14px rgba(255,138,61,.6); }
.adsd-extras__selo { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; }
.adsd-extras__img { display: block; aspect-ratio: 1; border-radius: 12px; background: var(--bg2); overflow: hidden; }
.adsd-extras__img img { width: 100%; height: 100%; object-fit: contain; }
.adsd-extras__txt { display: flex; flex-direction: column; gap: 2px; min-height: 52px; }
.adsd-extras__txt strong { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--tx); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adsd-extras__txt small { font-size: 14px; font-weight: 700; color: var(--vi); }
html body .adsd-extras__add { width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 12px !important; background: var(--ac); color: #fff !important; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; }
html body .adsd-extras__add:hover { background: var(--vi-esc); }
html body .adsd-extras__add--ver { background: #fff; color: var(--tx) !important; border: 1px solid var(--ln); }
html body .adsd-extras__add.is-ok { background: #1f9d55; }
/* Cupão */
.adsd-cupao { margin: 6px 0 12px; }
.adsd-cupao summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--vi-esc); padding: 8px 0; list-style: none; }
.adsd-cupao summary::-webkit-details-marker { display: none; }
.adsd-cupao div { display: flex; gap: 8px; }
.adsd-cupao input { flex: 1; min-width: 0; height: 46px !important; border: 1.5px solid #e8e3df !important; border-radius: 14px !important; padding: 0 14px !important; font-size: 15px !important; text-transform: uppercase; box-shadow: none !important; margin: 0 !important; }
html body .adsd-cupao button { height: 46px; padding: 0 18px; border: 0; border-radius: 14px !important; background: var(--ac); color: #fff; font-weight: 600; cursor: pointer; box-shadow: none; }
.adsd-cupao__msg { margin: 6px 0 0 !important; font-size: 13px; color: #1d7a3a; }
.adsd-cupao__msg.is-erro { color: #b3261e; }
/* Pagamento */
body.adsd.woocommerce-checkout #payment { background: transparent !important; border-radius: 0; }
body.adsd.woocommerce-checkout .wc_payment_methods { list-style: none; margin: 0 0 12px !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; border: 0 !important; }
body.adsd.woocommerce-checkout .wc_payment_method { margin: 0 !important; padding: 14px 16px !important; border: 1.5px solid #e8e3df; border-radius: 16px; background: #fff !important; list-style: none; transition: border-color .15s, box-shadow .15s, background .15s; }
body.adsd.woocommerce-checkout .wc_payment_method::before { display: none !important; }
body.adsd.woocommerce-checkout .wc_payment_method:has(input:checked) { border-color: var(--vi); background: var(--vi-bg) !important; box-shadow: 0 0 0 4px rgba(240,100,44,.1); }
body.adsd.woocommerce-checkout .wc_payment_method > label { font-weight: 600 !important; font-size: 15px !important; color: var(--tx) !important; }
body.adsd.woocommerce-checkout .wc_payment_method > input[type=radio] { accent-color: var(--vi); }
body.adsd.woocommerce-checkout #payment .payment_box { background: #fff !important; border-radius: 12px; margin-top: 10px !important; font-size: 14px; }
body.adsd.woocommerce-checkout #payment .payment_box::before { display: none !important; }
body.adsd.woocommerce-checkout #payment .place-order { padding: 8px 0 0 !important; background: none !important; }
body.adsd.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--tx2); }
html body.adsd.woocommerce-checkout #place_order { width: 100%; height: 62px !important; border-radius: 18px !important; background: var(--grad) !important; font-size: 17px !important; font-weight: 700 !important; letter-spacing: -0.01em !important; box-shadow: 0 16px 34px -14px rgba(255,138,61,.8) !important; transition: transform .15s, box-shadow .2s !important; }
html body.adsd.woocommerce-checkout #place_order:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(255,138,61,.9) !important; }
.adsd-co__conf { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; list-style: none; margin: 14px 0 0 !important; padding: 0 !important; font-size: 13px; color: var(--tx2); }
.adsd-co__conf li { margin: 0; list-style: none; }
.adsd-co__conf li::before { display: none !important; }
@media (max-width: 999px) {
  .adsd-co__barra { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; margin: 0 0 8px; border-radius: 16px; background: var(--grad); color: #fff !important; font-size: 14px; text-decoration: none !important; box-shadow: 0 10px 24px -14px rgba(255,138,61,.8); }
  .adsd-co__barra strong { font-size: 18px; color: #fff; }
  .adsd-co__passos li { font-size: 12px; gap: 5px; }
  p.adsd-co__sec { padding: 16px 16px 12px !important; }
  body.adsd.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row { padding: 0 16px 12px !important; }
  body.adsd.woocommerce-checkout #customer_details .col-2 { margin-top: 20px; }
}

/* =========================================================
   BARRA "PORTES GRÁTIS"
   ========================================================= */
.adsd-portes { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px !important; margin: 10px 0 !important; padding: 12px 14px !important; border-radius: 16px !important; background: linear-gradient(120deg, #ffeade 0%, #e4f4ff 100%) !important; border: 1px solid #fdd6c0; font-size: 14px !important; color: var(--tx); overflow: visible !important; }
.adsd-portes__ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px -4px rgba(240,100,44,.35); }
.adsd-portes__ico svg { width: 28px; height: 22px; fill: none; stroke: url(#adsd-grad); stroke: #f0642c; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.adsd-portes:not(.is-gratis) .adsd-portes__ico svg { animation: adsdCarrinha 2.4s ease-in-out infinite; }
@keyframes adsdCarrinha { 0%, 100% { transform: translateX(-1px); } 50% { transform: translateX(2px); } }
.adsd-portes__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.adsd-portes__txt > span { line-height: 1.35; }
.adsd-portes__txt strong { color: var(--vi-esc); font-weight: 700; }
.adsd-portes__txt strong .woocommerce-Price-amount { color: var(--vi); }
.adsd-portes i { display: block !important; height: 8px !important; border-radius: 999px; background: rgba(255,255,255,.9) !important; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(240,100,44,.12); }
.adsd-portes b { display: block !important; height: 100% !important; border-radius: 999px; background: linear-gradient(90deg, #ff8a3d, #f2622e, #d9361c) !important; transition: width .6s cubic-bezier(.16,1,.3,1); }
.adsd-portes.is-gratis { background: linear-gradient(120deg, #e3f9e5 0%, #e1f6fb 100%) !important; border-color: #bfe8c9; }
.adsd-portes.is-gratis .adsd-portes__ico svg { stroke: #1f9d55; }
.adsd-portes.is-gratis strong { color: #1d7a3a; }
.adsd-portes.is-gratis .adsd-portes__txt span span { color: var(--tx2); font-size: 13px; }
.adsd-portes.is-gratis b { background: linear-gradient(90deg, #34c46e, #1f9d55) !important; }
.adsd-portes--pagina { margin: 0 0 16px !important; padding: 14px 16px !important; }
.adsd-co__fatura { border-bottom: 1px solid var(--ln) !important; border-radius: 0 0 22px 22px; padding-bottom: 18px !important; }
.adsd-co__fatura:has(input:checked) { border-bottom: 0 !important; border-radius: 0; padding-bottom: 8px !important; }
#order_review p.adsd-co__sec { border: 0; background: none; padding: 14px 0 8px !important; margin: 4px 0 0 !important; border-radius: 0; }
body.adsd.woocommerce-checkout #billing_country_field { border-radius: 0 0 22px 22px !important; }
body.adsd.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name img { width: 54px !important; height: 54px !important; object-fit: contain; border-radius: 12px; background: var(--bg2); padding: 3px; }

/* Menu: o buscador encolhe entre 1181 e 1400 px para caberem todos os itens */
@media (min-width: 1181px) and (max-width: 1400px) { html body .adsd-nav__busca { width: 42px; padding: 0; justify-content: center; } html body .adsd-nav__busca span { display: none; } }
@media (min-width: 1181px) { html body .adsd-nav__busca { width: 170px; min-width: 0; } }

/* Crédito ADS Doctor no rodapé */
.adsd-pie__credito { max-width: 1440px; margin: 18px auto 0; padding: 16px 0 6px; border-top: 1px solid var(--vi-ln); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--tx2); }
.adsd-pie__ads { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--tx2) !important; }
.adsd-pie__ads img { display: block; height: 23px; width: auto; transition: transform .2s ease; }
.adsd-pie__ads:hover img { transform: translateY(-1px); }
.adsd-pie__ads-info a { color: var(--vi-esc) !important; font-weight: 600; }
@media (max-width: 700px) { .adsd-pie__credito { flex-direction: column; align-items: flex-start; } }
@media (max-width: 700px) { .adsd-pie__ads { flex-direction: column; align-items: flex-start; gap: 8px; } .adsd-pie__ads img { height: 26px; } }
.adsd-pie a { overflow-wrap: anywhere; }


/* Outras cores e acabamentos da mesma tinta */
.adsd-irm { display: flex; flex-direction: column; gap: 16px; margin: 4px 0 20px; padding: 16px 0; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.adsd-irm__t { margin: 0 0 10px !important; font-size: 15px; color: var(--tx2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.adsd-irm__t b { color: var(--tx); font-weight: 600; }
.adsd-irm__t small { color: var(--tx3); font-size: 12.5px; }
.adsd-irm__cores { display: flex; flex-wrap: wrap; gap: 8px; }
.adsd-irm__cor { position: relative; display: block; width: 36px; height: 36px; border-radius: 50%; padding: 3px; text-decoration: none !important; transition: transform .15s; }
.adsd-irm__cor i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.adsd-irm__cor:hover { transform: scale(1.1); }
.adsd-irm__cor.is-atual { box-shadow: 0 0 0 2px var(--tx); }
.adsd-irm__cor.is-a-abrir::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--vi); animation: adsdGira .7s linear infinite; }
@keyframes adsdGira { to { transform: rotate(360deg); } }
.adsd-irm__cor[hidden] { display: none; }
html body .adsd-irm__mais { height: 36px; min-width: 44px; padding: 0 10px; border: 1px dashed var(--vi-ln); border-radius: 999px !important; background: #fff; color: var(--vi-esc); font-size: 13px; font-weight: 600; cursor: pointer; }
.adsd-irm__acabs { display: flex; flex-wrap: wrap; gap: 8px; }
.adsd-irm__acab { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1.5px solid var(--ln); border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--tx) !important; text-decoration: none !important; background: #fff; transition: border-color .15s; }
a.adsd-irm__acab:hover { border-color: var(--vi); }
.adsd-irm__acab.is-atual { border-color: var(--tx); background: var(--tx); color: #fff !important; }
a.adsd-irm__acab.is-a-abrir { opacity: .6; }

/* Estrelas (só aparecem com opiniões reais) */
.adsd-est5 { position: relative; display: inline-block; width: 86px; height: 16px; background: linear-gradient(90deg, #e0dad5 0 100%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 16'%3E%3Cg%3E%3Cpath id='s' d='M8 .8l2.2 4.7 5.1.6-3.8 3.5 1 5.1L8 12.2 3.5 14.7l1-5.1L.7 6.1l5.1-.6z'/%3E%3Cuse href='%23s' x='17.5'/%3E%3Cuse href='%23s' x='35'/%3E%3Cuse href='%23s' x='52.5'/%3E%3Cuse href='%23s' x='70'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 86px 16px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 16'%3E%3Cg%3E%3Cpath id='s' d='M8 .8l2.2 4.7 5.1.6-3.8 3.5 1 5.1L8 12.2 3.5 14.7l1-5.1L.7 6.1l5.1-.6z'/%3E%3Cuse href='%23s' x='17.5'/%3E%3Cuse href='%23s' x='35'/%3E%3Cuse href='%23s' x='52.5'/%3E%3Cuse href='%23s' x='70'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 86px 16px; vertical-align: middle; }
.adsd-est5 span { position: absolute; inset: 0 auto 0 0; background: #f5a524; }
.adsd-aval { display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; }
.adsd-aval small { color: var(--tx3); font-size: 12.5px; }
.adsd-aval--cartao { margin: 4px 0 2px; }
.adsd-aval--ficha { margin: 0 0 12px; color: var(--tx) !important; }
.adsd-aval--ficha b { font-size: 14px; }
.adsd-aval--ficha:hover small { color: var(--vi-esc); }
.adsd-nav__busca span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* Ordenar: menu próprio (substitui o select do tema) */
.adsd-ord { position: relative; flex: none; }
html body .adsd-ord__btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border: 1px solid var(--ln); border-radius: 12px !important; background: #fff; color: var(--tx); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; box-shadow: none; margin: 0; text-transform: none; letter-spacing: normal; }
.adsd-ord__btn span { color: var(--tx3); font-weight: 400; }
.adsd-ord__btn b { font-weight: 600; }
.adsd-ord__btn .adsd-i { width: 14px; height: 14px; transition: transform .2s; }
.adsd-ord__btn[aria-expanded=true] { border-color: var(--vi); }
.adsd-ord__btn[aria-expanded=true] .adsd-i { transform: rotate(180deg); }
.adsd-ord__lista { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px; margin: 0 !important; padding: 6px !important; list-style: none; background: #fff; border: 1px solid var(--ln); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(31,26,23,.35); }
.adsd-ord__lista[hidden] { display: none; }
.adsd-ord__lista li { margin: 0 !important; padding: 0 !important; list-style: none; }
.adsd-ord__lista a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--tx) !important; text-decoration: none !important; }
.adsd-ord__lista a:hover { background: var(--vi-bg); }
.adsd-ord__lista [aria-selected=true] a { font-weight: 600; color: var(--vi-esc) !important; }
.adsd-ord__lista [aria-selected=true] a::after { content: "✓"; }
@media (max-width: 700px) { .adsd-ord__btn span { display: none; } .adsd-ord__lista { right: 0; } }
ul.products li.product { cursor: pointer; }
