/* 3.0.31 — condição compacta e garantia como etapa da compra. */
.pc-product-options {
  padding: 0;
  background: transparent;
  border: 0;
}
.pc-warranty-modal[hidden] { display: none !important; }
.pc-warranty-modal {
  position: fixed;
  z-index: 100020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}
.pc-warranty-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(7, 12, 20, .68);
  border: 0;
  backdrop-filter: blur(7px);
}
.pc-warranty-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100dvh - 32px));
  overflow: auto;
  padding: 30px;
  color: #17202d;
  background: #fff;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
}
.pc-warranty-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  color: #273142;
  background: #f1f3f6;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}
.pc-warranty-modal__eyebrow { color: var(--pc-orange); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.pc-warranty-modal h2 { margin: 7px 42px 7px 0; color: #111722; font-size: clamp(22px, 3vw, 30px); line-height: 1.08; }
.pc-warranty-modal__dialog > p { margin: 0 0 20px; color: #626c7c; font-size: 13px; }
.pc-warranty-modal__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  padding-top: 14px;
  color: #5f6978;
  border-top: 1px solid #e0e4e9;
  font-size: 11px;
}
.pc-warranty-modal__total strong { color: var(--pc-orange); font-size: 20px; }
.pc-warranty-modal__actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.pc-warranty-modal__actions button { min-height: 48px; padding: 0 18px; border-radius: 12px; font-size: 11px; font-weight: 900; }
.pc-warranty-modal__skip { color: #414b5a; background: #f1f3f6; border: 1px solid #e3e6eb; }
.pc-warranty-modal__confirm { color: #fff; background: var(--pc-orange); border: 1px solid var(--pc-orange); }
.pc-warranty-modal__legal { display: block; margin-top: 11px; color: #7b8492; text-align: right; font-size: 9px; }
body.pc-warranty-open { overflow: hidden !important; }
.single-product form.cart .single_add_to_cart_button { min-width: 220px; }

@media (min-width: 981px) {
  .single-product div.product.type-product .woocommerce-product-details__short-description { display: none !important; }
  .single-product div.product.type-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .single-product div.product.type-product form.cart .pc-product-options { flex: 0 0 100%; }
}

@media (max-width: 880px) {
  .pc-product-options { padding: 0; }
  .pc-warranty-modal { padding: 12px; }
  .pc-warranty-modal__dialog { padding: 24px 16px 18px; border-radius: 19px; }
  .pc-warranty-modal__actions { display: grid; }
  .pc-warranty-modal__actions button { width: 100%; }
  .pc-warranty-modal__legal { text-align: left; }
}

@media (max-width: 390px) {
  .pc-warranty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


