/* ═══════════════════════════════════════════════════════
   SWE Product Page — Parcelas, Urgência, Entrega, Selos
   ═══════════════════════════════════════════════════════ */

/* ── VARIÁVEIS (herda do tema) ─────────────────────── */
:root {
    --swe-or:    #ee4d2d;
    --swe-green: #27ae60;
    --swe-bg:    #fff8f6;
    --swe-border:#ffe5de;
    --swe-text:  #333;
    --swe-muted: #777;
    --swe-r:     8px;
}

/* ── BREADCRUMB FIX ─────────────────────────────────── */
.sw-bc {
    padding: .625rem 0;
    font-size: .8rem;
    color: var(--mu, #999);
    margin-bottom: .5rem;
}
.sw-bc ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sw-bc li {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.sw-bc a {
    color: var(--mu, #999);
    text-decoration: none;
    transition: color .2s;
}
.sw-bc a:hover { color: var(--swe-or); }
.sw-bc-sep {
    color: #ccc;
    font-size: .75rem;
    margin: 0 .1rem;
    pointer-events: none;
}
.sw-bc li:last-child a,
.sw-bc li:last-child span[itemprop="name"] {
    color: var(--swe-text);
    font-weight: 600;
}

/* ── PARCELAS ────────────────────────────────────────── */
.swe-installment {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .92rem;
    color: var(--swe-muted);
    margin-bottom: 1rem;
    margin-top: -.5rem;
}
.swe-installment svg {
    color: #2980b9;
    flex-shrink: 0;
}
.swe-installment strong {
    color: var(--swe-green);
    font-weight: 700;
}

/* ── URGÊNCIA ────────────────────────────────────────── */
.swe-urgency {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8b8 100%);
    border: 1.5px solid #f0a500;
    color: #7a4f00;
    font-size: .82rem;
    font-weight: 700;
    padding: .45rem .875rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    animation: swe-pulse 2.5s ease-in-out infinite;
}
@keyframes swe-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240, 165, 0, .4); }
    50%       { box-shadow: 0 0 0 6px rgba(240, 165, 0, 0); }
}

/* ── ENTREGA POR REGIÃO ──────────────────────────────── */
.swe-delivery {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #f0faf5;
    border: 1.5px solid #b7e4c7;
    border-radius: var(--swe-r);
    padding: .7rem 1rem;
    font-size: .88rem;
    color: #1a6b3a;
    margin-bottom: 1.25rem;
    transition: all .3s;
    min-height: 42px;
}
.swe-delivery svg {
    flex-shrink: 0;
    color: #27ae60;
}
.swe-delivery strong { font-weight: 700; }

/* Estado de carregamento */
.swe-delivery:not(.swe-delivery--loaded) #swe-delivery-text {
    display: inline-block;
    background: linear-gradient(90deg, #d5eed9 25%, #b7e4c7 50%, #d5eed9 75%);
    background-size: 200% 100%;
    animation: swe-shimmer .9s linear infinite;
    border-radius: 4px;
    min-width: 220px;
    height: 14px;
    color: transparent;
}
@keyframes swe-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── SELOS DE CONFIANÇA ──────────────────────────────── */
.swe-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eee;
}
.swe-trust__item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .875rem;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: var(--swe-r);
    transition: border-color .2s, background .2s;
}
.swe-trust__item:hover {
    border-color: var(--swe-or);
    background: var(--swe-bg);
}
.swe-trust__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #fff3ef 0%, #ffe5de 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swe-or);
}
.swe-trust__icon svg {
    width: 18px;
    height: 18px;
}
.swe-trust__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.swe-trust__text strong {
    font-size: .78rem;
    font-weight: 700;
    color: var(--swe-text);
    line-height: 1.3;
}
.swe-trust__text span {
    font-size: .7rem;
    color: var(--swe-muted);
}

@media (max-width: 600px) {
    .swe-trust { grid-template-columns: 1fr; }
}

/* ── AVALIAÇÕES (review system) ──────────────────────── */
/* Upload de fotos */
.sw-rv-upload label:first-of-type {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #666;
    margin-bottom: .375rem;
    display: block;
}

/* Fotos nas avaliações */
.swe-review-photos {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}
.swe-review-photos a {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #eee;
    transition: border-color .2s;
}
.swe-review-photos a:hover { border-color: var(--swe-or); }
.swe-review-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── GARANTE PREÇO VISÍVEL ───────────────────────────── */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.woocommerce div.product .woocommerce-product-rating {
    display: flex !important;
}

/* ═══════════════════════════════════════════════════════
   v5.1 — Galeria com vídeo + variações premium
   ═══════════════════════════════════════════════════════ */
.woocommerce div.product{box-shadow:0 18px 55px rgba(20,20,20,.07)}
.woocommerce div.product .summary{background:linear-gradient(180deg,#fff 0%,#fffaf8 100%);border:1px solid #f1ebe9;border-radius:18px;padding:1.25rem}
@media(max-width:768px){.woocommerce div.product .summary{padding:.95rem;border-radius:14px}}

.swe-video-slide{background:#080808!important;border-radius:14px;overflow:hidden}
.swe-video-shell{position:relative;width:100%;aspect-ratio:1;background:radial-gradient(circle at center,#222 0%,#070707 72%);display:flex;align-items:center;justify-content:center;overflow:hidden}
.swe-video-shell iframe,.swe-video-shell video{width:100%;height:100%;border:0;display:block;background:#000;object-fit:contain}
.swe-video-label{position:absolute;left:12px;top:12px;z-index:3;display:inline-flex;align-items:center;gap:.35rem;background:rgba(0,0,0,.68);color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:.34rem .65rem;font-size:.72rem;font-weight:800;letter-spacing:.02em;backdrop-filter:blur(6px)}
.swe-video-label:before{content:'▶';font-size:.72rem;color:#fff}
.flex-control-thumbs .swe-video-thumb-li{position:relative}
.flex-control-thumbs .swe-video-thumb-li:after{content:'▶';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.38);border-radius:var(--r);font-size:1rem;font-weight:900;pointer-events:none}

.swe-var-panel{border:1px solid #ffe0d7;background:linear-gradient(135deg,#fff8f6 0%,#fff 70%);border-radius:16px;padding:1rem;margin:1.1rem 0 1rem;box-shadow:0 10px 28px rgba(238,77,45,.07)}
.swe-var-panel__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}
.swe-var-panel__head span{font-size:.9rem;font-weight:800;color:#2c2c2c}
.swe-var-panel__head strong{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:#1f8f4d;background:#eaf8ef;border:1px solid #c9efda;border-radius:999px;padding:.28rem .55rem;white-space:nowrap}
.swe-var-panel__body{font-size:.84rem;color:#686868;line-height:1.55}
.swe-var-selected{display:grid;grid-template-columns:58px 1fr;gap:.85rem;align-items:center}
.swe-var-thumb{width:58px;height:58px;border-radius:12px;background:#fff;border:1px solid #eee;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 6px 16px rgba(0,0,0,.06)}
.swe-var-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.swe-var-thumb-ph{font-weight:900;color:#27ae60;font-size:1.15rem}
.swe-var-attrs{font-weight:800;color:#333;margin-bottom:.2rem}
.swe-var-price{font-weight:900;color:var(--swe-or);font-size:1.05rem;margin-bottom:.2rem}
.swe-var-price .price{margin:0!important;font-size:1.05rem!important;color:var(--swe-or)!important}
.swe-var-stock{font-size:.78rem;font-weight:800;display:inline-flex;align-items:center;gap:.3rem;border-radius:999px;padding:.23rem .55rem;margin-top:.1rem}
.swe-var-stock:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.swe-var-stock.is-ok{color:#168044;background:#ebf8f0}
.swe-var-stock.is-bad{color:#b42318;background:#fff1f0}
.swe-var-sku{font-size:.72rem;color:#999;margin-top:.25rem}
.variations_form table.variations{background:#fff;border:1px solid #f1e8e5!important;border-radius:16px!important;padding:1rem!important;display:block!important;margin-top:.75rem!important}
.variations_form .single_variation_wrap{margin-top:.85rem}
.woocommerce-variation-price{margin:.75rem 0}.woocommerce-variation-availability{margin:.25rem 0;color:#168044;font-weight:700}

.swe-trust{background:#fff;border:1px solid #f1ebe9;border-radius:18px;padding:1rem;margin-top:1.2rem;box-shadow:0 10px 30px rgba(20,20,20,.04)}
.swe-trust__item{background:linear-gradient(180deg,#fff,#fbfbfb)}
.swe-delivery{box-shadow:0 8px 22px rgba(39,174,96,.08)}
.swe-installment{background:#f7fbff;border:1px solid #dfeeff;border-radius:999px;padding:.45rem .75rem;width:max-content;max-width:100%}
@media(max-width:600px){.swe-var-panel__head{align-items:flex-start;flex-direction:column}.swe-var-selected{grid-template-columns:50px 1fr}.swe-var-thumb{width:50px;height:50px}.swe-video-label{font-size:.68rem}}


/* ═══════════════════════════════════════════════════
   v5.1.1 — spacing refinements for price and offer block
   ═══════════════════════════════════════════════════ */
.woocommerce div.product .summary .product_title{
    margin-bottom:.45rem!important;
}
.woocommerce div.product .summary .woocommerce-product-rating{
    margin-bottom:.55rem!important;
}
.woocommerce div.product .summary .price,
.woocommerce div.product .summary p.price,
.woocommerce div.product .summary span.price{
    margin-bottom:.3rem!important;
}
.swe-installment{
    margin-top:0!important;
    margin-bottom:1rem!important;
}
.swe-delivery{
    margin-top:.15rem!important;
    margin-bottom:1.1rem!important;
}
.swe-trust{
    margin-top:1rem!important;
}
.woocommerce div.product .woocommerce-product-details__short-description{
    margin-top:1rem!important;
}


/* v5.1.2 — review uploads and better review media */
.sw-rv-upload .sw-upload-area{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.sw-rv-upload .sw-upload-btn{display:inline-flex;align-items:center;gap:.45rem;padding:.65rem .95rem;border:1.5px dashed #d9d2ce;border-radius:12px;background:#fffaf8;color:#575757;font-size:.85rem;font-weight:700;cursor:pointer}
.sw-rv-upload .sw-upload-btn:hover{border-color:var(--swe-or);color:var(--swe-or)}
.sw-photo-thumb{width:60px;height:60px;border-radius:12px;overflow:hidden;border:1px solid #eadfd9;background:#fff;position:relative;display:block}
.sw-photo-thumb img,.sw-photo-thumb video{width:100%;height:100%;object-fit:cover;display:block}
.sw-photo-thumb.is-video:after{content:'▶';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;background:rgba(0,0,0,.24)}
.sw-media-badge{position:absolute;left:6px;bottom:6px;background:rgba(0,0,0,.68);color:#fff;font-size:10px;font-weight:800;padding:2px 6px;border-radius:999px;z-index:2}

/* v5.1.5 — trust badges refinement */
.swe-trust{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:.85rem!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;margin-top:1.1rem!important}
.swe-trust__item{display:flex!important;align-items:center!important;gap:.8rem!important;padding:1rem!important;min-height:108px;border-radius:18px!important;border:1px solid #f1ddd7!important;background:linear-gradient(180deg,#fff 0%,#fff9f7 100%)!important;box-shadow:0 12px 28px rgba(20,20,20,.04)!important}
.swe-trust__icon{width:46px!important;height:46px!important;border-radius:14px!important;background:linear-gradient(135deg,#fff3ee 0%,#ffe2d7 100%)!important}
.swe-trust__icon svg{width:20px!important;height:20px!important}
.swe-trust__text strong{font-size:1.02rem!important;line-height:1.15!important;color:#242424!important}
.swe-trust__text span{font-size:.86rem!important;line-height:1.35!important;color:#757575!important}
@media(max-width:768px){.swe-trust{grid-template-columns:1fr 1fr!important}.swe-trust__item{min-height:0!important}}
@media(max-width:520px){.swe-trust{grid-template-columns:1fr!important}}

/* v5.1.7 — compact trust bubbles */
.swe-trust__item{min-height:92px!important;padding:.82rem!important;gap:.65rem!important}
.swe-trust__icon{width:40px!important;height:40px!important;border-radius:12px!important}
.swe-trust__icon svg{width:17px!important;height:17px!important}
.swe-trust__text strong{font-size:.88rem!important;line-height:1.18!important;letter-spacing:-.01em!important}
.swe-trust__text span{font-size:.76rem!important;line-height:1.32!important}
@media(max-width:520px){.swe-trust__text strong{font-size:.84rem!important}.swe-trust__text span{font-size:.72rem!important}}

/* v5.1.8 — final single-product compact trust badges */
.swe-trust__item{min-height:82px!important;padding:.72rem!important;gap:.58rem!important}
.swe-trust__icon{width:36px!important;height:36px!important;border-radius:11px!important}
.swe-trust__icon svg{width:15px!important;height:15px!important}
.swe-trust__text strong{font-size:.78rem!important;line-height:1.16!important;letter-spacing:-.01em!important}
.swe-trust__text span{font-size:.68rem!important;line-height:1.25!important}

/* v5.1.11 — variable product clean layout */
.woocommerce div.product.product-type-variable form.variations_form{
  width:100%;
}
.woocommerce div.product.product-type-variable table.variations{
  width:100%!important;
  border:0!important;
  margin:0 0 1rem!important;
  display:block!important;
}
.woocommerce div.product.product-type-variable table.variations tbody,
.woocommerce div.product.product-type-variable table.variations tr,
.woocommerce div.product.product-type-variable table.variations th,
.woocommerce div.product.product-type-variable table.variations td{
  display:block!important;
  width:100%!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.woocommerce div.product.product-type-variable table.variations tr{
  margin:0 0 .85rem!important;
}
.woocommerce div.product.product-type-variable table.variations label{
  display:block!important;
  margin:0 0 .4rem!important;
  font-size:.78rem!important;
  font-weight:900!important;
  color:#555!important;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.woocommerce div.product.product-type-variable table.variations select{
  width:100%!important;
  max-width:100%!important;
  min-height:48px!important;
  height:48px!important;
  line-height:48px!important;
  border:1.5px solid #efd7d0!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#202020!important;
  font-size:.95rem!important;
  font-weight:800!important;
  padding:0 2.4rem 0 1rem!important;
  box-shadow:0 8px 22px rgba(238,77,45,.05)!important;
  outline:none!important;
}
.woocommerce div.product.product-type-variable table.variations select:focus{
  border-color:#ee4d2d!important;
  box-shadow:0 0 0 4px rgba(238,77,45,.10)!important;
}
.woocommerce div.product.product-type-variable table.variations .reset_variations{
  display:inline-flex!important;
  margin-top:.5rem!important;
  color:#ee4d2d!important;
  font-size:.78rem!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.swe-var-panel{
  margin:.95rem 0 1rem!important;
  padding:1rem!important;
  border-radius:18px!important;
  border:1px solid #f1d9d2!important;
  background:linear-gradient(180deg,#fff 0%,#fffaf8 100%)!important;
  box-shadow:0 14px 34px rgba(30,20,16,.05)!important;
}
.swe-var-panel__head{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:.7rem!important;
  margin:0!important;
}
.swe-var-panel__head span{
  font-size:.95rem!important;
  font-weight:900!important;
  color:#272727!important;
}
.swe-var-panel__head strong{display:none!important}
.swe-var-panel__body{
  margin-top:.75rem!important;
  font-size:.9rem!important;
  color:#555!important;
}
.swe-var-selected{
  display:flex!important;
  align-items:center!important;
  gap:.75rem!important;
  padding:.75rem!important;
  border-radius:14px!important;
  background:#fff!important;
  border:1px solid #f3e4de!important;
}
.swe-var-thumb{width:56px!important;height:56px!important;border-radius:12px!important;overflow:hidden!important;flex:0 0 56px!important;background:#fff6f2!important;display:flex!important;align-items:center!important;justify-content:center!important}
.swe-var-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
.swe-var-attrs{font-size:.9rem!important;font-weight:900!important;color:#232323!important;margin-bottom:.2rem!important}
.swe-var-stock{display:inline-flex!important;align-items:center!important;border-radius:999px!important;padding:.28rem .55rem!important;font-size:.72rem!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.035em!important}
.swe-var-stock.is-ok{background:#e9f8ef!important;color:#118a45!important;border:1px solid #bcebd0!important}
.swe-var-stock.is-bad{background:#fff1f1!important;color:#b42318!important;border:1px solid #ffc9c4!important}
.swe-var-sku{font-size:.73rem!important;color:#777!important;margin-top:.25rem!important}
.woocommerce div.product.product-type-variable .single_variation_wrap .woocommerce-variation-price{display:none!important}
@media(max-width:768px){
  .woocommerce div.product.product-type-variable table.variations select{min-height:46px!important;height:46px!important;font-size:.9rem!important}
  .swe-var-panel{padding:.9rem!important;border-radius:16px!important}
}

/* v5.1.12 — variável limpa, separada e sem select bugado */
.woocommerce div.product.product-type-variable form.cart.variations_form{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:1rem 0!important;
  gap:0!important;
}
.woocommerce div.product.product-type-variable form.cart.variations_form table.variations{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.swe-var-panel{
  width:100%!important;
  margin:0 0 1rem!important;
  padding:1rem!important;
  border-radius:20px!important;
  border:1px solid #f2d8d0!important;
  background:linear-gradient(180deg,#fff 0%,#fffaf8 100%)!important;
  box-shadow:0 14px 35px rgba(25,18,16,.05)!important;
}
.swe-var-panel__head{margin:0 0 .8rem!important;display:block!important}
.swe-var-panel__head span{font-size:.98rem!important;font-weight:900!important;color:#202020!important}
.swe-var-panel__body{margin:.8rem 0 0!important;padding:0!important}
.swe-var-choices{display:flex!important;flex-direction:column!important;gap:.85rem!important;margin:0 0 .9rem!important;width:100%!important}
.swe-var-choice-group{display:block!important;width:100%!important}
.swe-var-choice-label{display:block!important;margin:0 0 .45rem!important;font-size:.78rem!important;font-weight:900!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:#666!important}
.swe-var-choice-list{display:flex!important;flex-wrap:wrap!important;gap:.5rem!important;width:100%!important}
.swe-var-choice{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:.62rem .9rem!important;border-radius:14px!important;border:1.5px solid #ead6cf!important;background:#fff!important;color:#333!important;font-size:.9rem!important;font-weight:850!important;line-height:1.1!important;box-shadow:0 8px 18px rgba(0,0,0,.035)!important;cursor:pointer!important;transition:all .18s ease!important;text-align:center!important}
.swe-var-choice:hover{border-color:#ee4d2d!important;color:#ee4d2d!important;background:#fff7f4!important}
.swe-var-choice.is-active{background:linear-gradient(180deg,#ff7042 0%,#ee4d2d 100%)!important;border-color:#ee4d2d!important;color:#fff!important;box-shadow:0 12px 24px rgba(238,77,45,.18)!important}
.swe-var-choice.is-disabled{opacity:.45!important;cursor:not-allowed!important;text-decoration:line-through!important}
.swe-var-selected{display:flex!important;align-items:center!important;gap:.75rem!important;width:100%!important;padding:.72rem!important;border-radius:16px!important;background:#fff!important;border:1px solid #f2e2dc!important;box-shadow:none!important}
.swe-var-thumb{width:50px!important;height:50px!important;flex:0 0 50px!important;border-radius:12px!important;background:#fff5f1!important;border:1px solid #f0e0da!important;overflow:hidden!important}
.swe-var-attrs{font-size:.88rem!important;font-weight:900!important;color:#202020!important;margin:0!important;line-height:1.25!important}
.swe-var-stock{margin-top:.35rem!important;font-size:.72rem!important;font-weight:900!important;line-height:1!important}
.woocommerce div.product.product-type-variable .single_variation_wrap{display:block!important;width:100%!important;margin:0!important;padding:0!important;clear:both!important}
.woocommerce div.product.product-type-variable .single_variation{display:none!important}
.woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart,
.woocommerce div.product.product-type-variable form.cart .variations_button{
  display:grid!important;
  grid-template-columns:128px minmax(0,1fr)!important;
  gap:.75rem .85rem!important;
  align-items:stretch!important;
  width:100%!important;
  margin-top:.9rem!important;
  padding:0!important;
}
.woocommerce div.product.product-type-variable form.cart .variations_button > .quantity{grid-column:1!important;grid-row:1 / span 2!important;align-self:stretch!important;margin:0!important;width:128px!important;min-width:128px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:.35rem!important;border:1px solid #f0ded8!important;border-radius:16px!important;background:#fff!important;padding:.45rem!important}
.woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,
.woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now{grid-column:2!important;grid-row:1!important;margin:0!important;width:100%!important;min-height:56px!important}
.woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button{grid-column:2!important;grid-row:2!important;margin:0!important;width:100%!important;min-height:54px!important}
.woocommerce div.product.product-type-variable .reset_variations{display:none!important}
@media(max-width:640px){
  .woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart,
  .woocommerce div.product.product-type-variable form.cart .variations_button{grid-template-columns:1fr!important;gap:.7rem!important}
  .woocommerce div.product.product-type-variable form.cart .variations_button > .quantity{grid-column:1!important;grid-row:auto!important;width:max-content!important;min-width:126px!important;min-height:48px!important}
  .woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button{grid-column:1!important;grid-row:auto!important}
  .swe-var-choice{flex:1 1 calc(50% - .5rem)!important;min-width:0!important}
}

/* ═══════════════════════════════════════════════════
   v5.1.13 — variável sem painel duplicado e sem sobreposição
   ═══════════════════════════════════════════════════ */
.woocommerce div.product.product-type-variable .swe-var-panel,
.woocommerce div.product.product-type-variable #swe-var-summary,
.woocommerce div.product.product-type-variable .swe-var-panel__head,
.woocommerce div.product.product-type-variable .swe-var-panel__body{
  display:none!important;
}

.woocommerce div.product.product-type-variable form.cart.variations_form{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:1rem 0 1.15rem!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.woocommerce div.product.product-type-variable form.cart.variations_form table.variations{
  position:absolute!important;
  left:-99999px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  visibility:hidden!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.woocommerce div.product.product-type-variable .swe-var-choices{
  display:block!important;
  width:100%!important;
  margin:0 0 1rem!important;
  padding:1rem!important;
  border:1px solid #f1dbd3!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 28px rgba(24,18,16,.045)!important;
}
.woocommerce div.product.product-type-variable .swe-var-choice-group{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
.woocommerce div.product.product-type-variable .swe-var-choice-label{
  display:block!important;
  margin:0 0 .55rem!important;
  font-size:.78rem!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  color:#666!important;
}
.woocommerce div.product.product-type-variable .swe-var-choice-list{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:.55rem!important;
  align-items:center!important;
  width:100%!important;
}
.woocommerce div.product.product-type-variable .swe-var-choice{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:.62rem .95rem!important;
  border-radius:14px!important;
  border:1.5px solid #edd6cf!important;
  background:#fff!important;
  color:#2a2a2a!important;
  font-size:.9rem!important;
  font-weight:850!important;
  line-height:1.1!important;
  text-align:center!important;
  box-shadow:none!important;
}
.woocommerce div.product.product-type-variable .swe-var-choice.is-active{
  background:linear-gradient(180deg,#ff7042 0%,#ee4d2d 100%)!important;
  color:#fff!important;
  border-color:#ee4d2d!important;
  box-shadow:0 10px 20px rgba(238,77,45,.16)!important;
}
.woocommerce div.product.product-type-variable .single_variation_wrap{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  clear:both!important;
  overflow:visible!important;
}
.woocommerce div.product.product-type-variable .single_variation{
  display:none!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart,
.woocommerce div.product.product-type-variable form.cart .variations_button{
  display:grid!important;
  grid-template-columns:126px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:.75rem .85rem!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:1rem!important;
  border:1px solid #f1dbd3!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 28px rgba(24,18,16,.045)!important;
  overflow:visible!important;
}
.woocommerce div.product.product-type-variable form.cart .variations_button > .quantity,
.woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart > .quantity{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  width:126px!important;
  min-width:126px!important;
  max-width:126px!important;
  min-height:116px!important;
  margin:0!important;
  padding:.55rem!important;
  border:1px solid #f0ded8!important;
  border-radius:16px!important;
  background:#fffaf8!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.38rem!important;
  align-self:stretch!important;
}
.woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,
.woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now,
.woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart > .sw-buy-now,
.woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart > #sw-buy-now{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  margin:0!important;
}
.woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button,
.woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart > .single_add_to_cart_button{
  grid-column:2!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  margin:0!important;
}
.woocommerce div.product.product-type-variable .reset_variations,
.woocommerce div.product.product-type-variable .woocommerce-variation-price,
.woocommerce div.product.product-type-variable .woocommerce-variation-availability{
  display:none!important;
}
@media(max-width:640px){
  .woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart,
  .woocommerce div.product.product-type-variable form.cart .variations_button{
    grid-template-columns:1fr!important;
    gap:.72rem!important;
    padding:.85rem!important;
  }
  .woocommerce div.product.product-type-variable form.cart .variations_button > .quantity,
  .woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart > .quantity{
    grid-column:1!important;
    grid-row:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:54px!important;
    justify-content:center!important;
  }
  .woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now,
  .woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart > .sw-buy-now,
  .woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart > #sw-buy-now,
  .woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button,
  .woocommerce div.product.product-type-variable .woocommerce-variation-add-to-cart > .single_add_to_cart_button{
    grid-column:1!important;
    grid-row:auto!important;
  }
  .woocommerce div.product.product-type-variable .swe-var-choices{padding:.85rem!important}
  .woocommerce div.product.product-type-variable .swe-var-choice{flex:1 1 calc(50% - .55rem)!important;min-width:0!important}
}

/* Avaliações mais compactas no mobile */
@media(max-width:768px){
  .woocommerce div.product .woocommerce-tabs .panel,
  .woocommerce div.product .sw-desc-panel,
  .woocommerce div.product .sw-reviews-panel{
    padding:.85rem!important;
  }
  #reviews{
    padding:.85rem!important;
    border-radius:18px!important;
  }
  #comments .commentlist{gap:.75rem!important}
  #comments .commentlist .comment_container{
    padding:.85rem!important;
    gap:.65rem!important;
    border-radius:16px!important;
  }
  #comments .commentlist .comment-text{padding:0!important;margin:0!important}
}

/* v5.1.13b — esconder swatches duplicados quando as pílulas novas estão ativas */
.woocommerce div.product.product-type-variable form.variations_form .sw-swatches{
  display:none!important;
}


/* v5.1.14 — final quantity / buttons separation */
.woocommerce div.product .product_meta{display:none!important}
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product.product-type-variable form.cart .variations_button{display:grid!important;grid-template-columns:126px minmax(0,1fr)!important;gap:.85rem 1.05rem!important;align-items:stretch!important;width:100%!important;overflow:visible!important}
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .quantity,
.woocommerce div.product.product-type-variable form.cart .variations_button > .quantity{grid-column:1!important;grid-row:1 / span 2!important;align-self:center!important;justify-self:start!important;width:126px!important;min-width:126px!important;max-width:126px!important;height:58px!important;margin:0!important;border-radius:16px!important;background:#fff!important;border:1px solid #f0ded8!important;box-shadow:0 10px 28px rgba(20,20,20,.035)!important;overflow:hidden!important;padding:0!important}
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .sw-buy-now,
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > #sw-buy-now,
.woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,
.woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;margin:0!important;min-height:58px!important}
.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
.woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button{grid-column:2!important;grid-row:2!important;width:100%!important;min-width:0!important;margin:0!important;min-height:56px!important}
@media(max-width:640px){.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart,.woocommerce div.product.product-type-variable form.cart .variations_button{grid-template-columns:1fr!important;gap:.75rem!important}.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .quantity,.woocommerce div.product.product-type-variable form.cart .variations_button > .quantity,.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .sw-buy-now,.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > #sw-buy-now,.woocommerce div.product.product-type-variable form.cart .variations_button > .sw-buy-now,.woocommerce div.product.product-type-variable form.cart .variations_button > #sw-buy-now,.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,.woocommerce div.product.product-type-variable form.cart .variations_button > .single_add_to_cart_button{grid-column:1!important;grid-row:auto!important}.woocommerce div.product.product-type-variable form.cart .woocommerce-variation-add-to-cart > .quantity,.woocommerce div.product.product-type-variable form.cart .variations_button > .quantity{width:126px!important;min-width:126px!important;max-width:126px!important}}


/* v5.1.19 — galeria com vídeo primeiro sem tela branca */
.woocommerce div.product .woocommerce-product-gallery__image.swe-product-video-slide,
.woocommerce div.product .woocommerce-product-gallery__image.swe-video-slide{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  background:#080808!important;
  border-radius:14px!important;
  overflow:hidden!important;
}
.woocommerce div.product .swe-product-video-slide .swe-video-shell{
  position:relative!important;
  width:100%!important;
  aspect-ratio:1/1!important;
  background:radial-gradient(circle at center,#222 0%,#070707 72%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.woocommerce div.product .swe-product-video-slide iframe,
.woocommerce div.product .swe-product-video-slide video{
  width:100%!important;
  height:100%!important;
  min-height:260px!important;
  border:0!important;
  display:block!important;
  background:#000!important;
  object-fit:contain!important;
}
.woocommerce div.product .woocommerce-product-gallery__image:not(.swe-product-video-slide) img{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
.flex-control-thumbs .swe-video-thumb-li{position:relative!important}

/* v5.1.20 — fallback estático contra tela branca ao usar vídeo como capa 1 */
body.single-product .woocommerce-product-gallery.swe-static-gallery .flex-viewport{
  overflow:hidden!important;
  background:#fff!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper{
  width:100%!important;
  min-width:0!important;
  transform:none!important;
  transition:none!important;
  margin:0!important;
  left:auto!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image{
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  float:none!important;
  margin:0!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  transition:none!important;
  position:relative!important;
  box-sizing:border-box!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:not(.flex-active-slide){
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.flex-active-slide{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  opacity:1!important;
  visibility:visible!important;
}
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .swe-product-video-slide,
body.single-product .woocommerce-product-gallery.swe-static-gallery .woocommerce-product-gallery__wrapper .swe-video-slide{
  width:100%!important;
  max-width:100%!important;
}
