/* LINKS EM ÁREAS INTERNAS DO WOO, sem afetar menus do site */

/* Conteúdo principal da área da conta Woo */
.woocommerce-MyAccount-content a,
.woocommerce-MyAccount-content table a,
.woocommerce-table--downloads a,
.woocommerce-customer-downloads a,
.woocommerce-MyAccount-downloads a,
.woocommerce-orders-table__cell-order-actions a,
.woocommerce-orders-table__cell-order-actions .button {
    color: #19ffd0 !important;
    font-weight: 500;
    text-decoration: underline dotted;
    transition: color 0.2s;
}

.woocommerce-MyAccount-content a:hover,
.woocommerce-MyAccount-content table a:hover,
.woocommerce-table--downloads a:hover,
.woocommerce-customer-downloads a:hover,
.woocommerce-MyAccount-downloads a:hover,
.woocommerce-orders-table__cell-order-actions a:hover,
.woocommerce-orders-table__cell-order-actions .button:hover {
    color: #10e0ff !important;
    text-decoration: underline;
}

/* Download buttons internos: manter cor dos botões */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content .button.alt,
.woocommerce-MyAccount-content .button.download-button,
.woocommerce-MyAccount-content .woocommerce-button {
    color: #181e22 !important;
    font-weight: 700 !important;
    background: linear-gradient(90deg,#10e0ff 0%,#19ffd0 100%) !important;
    border-radius: 6px !important;
    box-shadow: 0 0 5px #10e0ff63 !important;
    text-decoration: none !important;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content .button.alt:hover,
.woocommerce-MyAccount-content .button.download-button:hover,
.woocommerce-MyAccount-content .woocommerce-button:hover {
    color: #181e22 !important;
    background: linear-gradient(90deg,#19ffd0 0%,#10e0ff 100%) !important;
    box-shadow: 0 0 7px #19ffd0 !important;
}

/* Menu lateral da conta (opcional, ajuste se quiser harmonizar) */
.woocommerce-MyAccount-navigation-link a        { color: #fff !important; }
.woocommerce-MyAccount-navigation-link.is-active a,
.woocommerce-MyAccount-navigation-link a:hover  { color: #19ffd0 !important; }

.mc-cupom-btn {
    display: inline-block;
    background: linear-gradient(90deg,#10e0ff 0%,#19ffd0 100%);
    color: #181e22 !important;              /* Preto, legível */
    font-weight: 700;
    font-size: 15px;
    padding: 7px 24px;
    border-radius: 6px;
    text-decoration: none !important;
    box-shadow: 0 1px 5px #10e0ff3d;
    margin-left: 10px;
    vertical-align: middle;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    border: none;
    outline: none;
}
.mc-cupom-btn:hover, .mc-cupom-btn:focus {
    background: linear-gradient(90deg,#19ffd0 0%,#10e0ff 100%);
    color: #181e22 !important;
    box-shadow: 0 0 12px #19ffd08c;
    filter: brightness(1.08);
}

/* ============================ */
/* BOTÕES PADRÕES CARRINHO/CHECKOUT */
/* ============================ */

/* Estilo geral para todos os botões do carrinho/checkout */
.woocommerce-cart .cart .button,
.woocommerce-cart .button,
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order {
    background: linear-gradient(90deg, #10e0ff 0%, #19ffd0 100%);
    color: #181e22 !important;
    border: none;
    border-radius: 6px;
    box-shadow: 0 0 5px #10e0ff63 !important;
    font-size: 16px;
    font-weight: bold;
    min-width: 150px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1;
    padding: 0 24px;
    margin: 0 4px 8px 0;
    cursor: pointer;
    text-decoration: none !important;
    box-sizing: border-box;
    height: 42px;
    vertical-align: middle;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

/* Botão "Continuar para Finalização": garantir centralização e destaque especial */
a.checkout-button.button.alt.wc-forward {
    background: linear-gradient(90deg, #10e0ff 0%, #19ffd0 100%) !important;
    color: #181e22 !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: 0 0 7px #10e0ff63 !important;
    font-size: 17px !important;
    font-weight: bold !important;
    height: 48px !important;
    min-width: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 28px !important;
    margin: 0 4px 12px 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

a.checkout-button.button.alt.wc-forward:hover {
    background: linear-gradient(90deg, #19ffd0 0%, #10e0ff 100%) !important;
    box-shadow: 0 0 10px #19ffd0 !important;
    color: #181e22 !important;
}

/* Botão "Atualizar carrinho" */
.woocommerce-cart button.button[name="update_cart"] {
    background: linear-gradient(90deg, #10e0ff 0%, #19ffd0 100%) !important;
    color: #181e22 !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: 0 0 5px #10e0ff63 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    min-width: 145px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 22px !important;
    margin: 0 4px 8px 0 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.woocommerce-cart button.button[name="update_cart"]:hover {
    background: linear-gradient(90deg, #19ffd0 0%, #10e0ff 100%) !important;
    box-shadow: 0 0 8px #19ffd0 !important;
    color: #181e22 !important;
}


/* Botão "Aplicar cupom" (mais compacto, alinhado ao campo) */
.woocommerce-cart .button[name="apply_coupon"] {
    height: 38px !important;
    min-width: 110px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    padding: 0 17px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Botão em desabilitado */
.woocommerce-cart .cart .button:disabled,
.woocommerce-cart .button:disabled,
.woocommerce-cart .checkout-button:disabled,
.woocommerce-checkout #place_order:disabled,
.woocommerce-cart button.button[name="update_cart"]:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Cupom: remover só X */
.cart-discount .woocommerce-remove-coupon,
.woocommerce-cart .woocommerce-remove-coupon,
.woocommerce .cart .woocommerce-remove-coupon {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0 !important;
    min-width: 38px;
    min-height: 38px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    margin-left: 7px;
    cursor: pointer !important;
}
.cart-discount .woocommerce-remove-coupon::before,
.woocommerce-cart .woocommerce-remove-coupon::before,
.woocommerce .cart .woocommerce-remove-coupon::before {
    content: '✖';
    color: #19ffd0 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    display: inline-block;
    line-height: 1 !important;
    vertical-align: middle;
    transition: color 0.18s;
}
.cart-discount .woocommerce-remove-coupon:hover::before,
.woocommerce-cart .woocommerce-remove-coupon:hover::before,
.woocommerce .cart .woocommerce-remove-coupon:hover::before {
    color: #10e0ff !important;
}

/* Campo quantidade: garantir exibição em linha */
.woocommerce .quantity, .quantity.spinners-added {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
}
.woocommerce .quantity * {
    margin: 0 2px !important;
}

/* Avisos WooCommerce */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    border-radius: 6px !important;
    color: #fff !important;
    background: linear-gradient(90deg, #101920 0%, #274857 100%) !important;
    border: 2px solid #10e0ff !important;
    padding: 17px 16px !important;
    margin-bottom: 18px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    box-shadow: 0 0 7px #10e0ff3d !important;
}
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a {
    color: #19ffd0 !important;
    font-weight: bold !important;
    text-decoration: underline !important;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {
    display: none !important;
}

/* ============ Responsive =========== */
@media (max-width: 800px) {
    .woocommerce-cart .cart .button,
    .woocommerce-cart .button,
    .woocommerce-cart .checkout-button,
    .woocommerce-checkout #place_order,
    .woocommerce-cart .button[name="apply_coupon"],
    .woocommerce-cart button.button[name="update_cart"],
    a.checkout-button.button.alt.wc-forward {
        height: 34px !important;
        min-width: 80px !important;
        font-size: 13px !important;
        padding: 0 10px !important;
    }
    .woocommerce-cart .checkout-button,
    a.checkout-button.button.alt.wc-forward {
        min-width: 120px !important;
    }
    .woocommerce-cart .button[name="apply_coupon"],
    .woocommerce-cart button.button[name="update_cart"] {
        min-width: 80px !important;
    }
}

.woocommerce-account .mc-cupom-btn,
.woocommerce-MyAccount-content .mc-cupom-btn,
.mc-cupons-lista .mc-cupom-btn,
.mc-cupom-btn {
    display: inline-block !important;
    background: linear-gradient(90deg,#10e0ff 0%,#19ffd0 100%) !important;
    color: #181e22 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 7px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    box-shadow: 0 1px 5px #10e0ff3d !important;
    margin-left: 10px !important;
    border: none !important;
    outline: none !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s !important;
}

.woocommerce-account .mc-cupom-btn:hover,
.woocommerce-MyAccount-content .mc-cupom-btn:hover,
.mc-cupons-lista .mc-cupom-btn:hover,
.mc-cupom-btn:hover,
.woocommerce-account .mc-cupom-btn:focus,
.woocommerce-MyAccount-content .mc-cupom-btn:focus,
.mc-cupons-lista .mc-cupom-btn:focus,
.mc-cupom-btn:focus {
    background: linear-gradient(90deg,#19ffd0 0%,#10e0ff 100%) !important;
    color: #181e22 !important;
    box-shadow: 0 0 12px #19ffd08c !important;
    filter: brightness(1.11) !important;
}

/* Estiliza os botões "Adicionar ao carrinho" na página inicial */
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    display: inline-block;
    background: linear-gradient(90deg, #10e0ff 0%, #19ffd0 100%);
    color: #181e22 !important;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none !important;
    box-shadow: 0 1px 5px #10e0ff3d;
    margin-top: 10px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    border: none;
    outline: none;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover {
    background: linear-gradient(90deg, #19ffd0 0%, #10e0ff 100%);
    box-shadow: 0 0 12px #19ffd08c;
    filter: brightness(1.08);
}

.baixar-grupo {
  background: #181a20;
  border-radius: 18px;
  box-shadow: 0 2px 18px #10e0ff28;
  padding: 32px 16px 28px 16px;
  margin: 34px auto;
  max-width: 650px;
  text-align: center;
  border: 2px solid #23252b;
  margin-bottom: 38px;
}

.baixar-grupo-premium {
  border: 2.5px solid #10e0ff;
  box-shadow: 0 0 18px #19ffd046;
  background: linear-gradient(120deg,#2e2b3a 85%,#19ffd028 100%);
  position: relative;
}

.baixar-grupo-premium:before {
  content:"★";
  color: #10e0ff;
  font-size: 34px;
  position: absolute;
  left: 22px;
  top: -28px;
  filter: drop-shadow(0 2px 8px #19ffd08a);
}

.baixar-grupo-premium .aviso-login {
  color: #19ffd0;
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 13px;
  margin-top: 0;
}

.baixar-titulo {
  font-size: 1.35em;
  font-weight: 900;
  background: linear-gradient(90deg,#10e0ff 10%,#19ffd0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.baixar-links-lista {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  margin: 0 auto 12px auto;
  padding: 0;
}

.baixar-links-grupo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

@media (max-width:480px) {
  .baixar-links-grupo {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
}

.baixar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg,#10e0ff 0%,#19ffd0 100%);
  color: #181e22 !important;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 1px 9px #10e0ff30;
  border: none;
  outline: none;
  margin: 0 0 0 0;
  min-width: 155px;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  height: 46px;
}

.baixar-btn:hover {
  background: linear-gradient(90deg,#19ffd0 20%,#10e0ff 100%);
  box-shadow: 0 0 12px #19ffd08c,0 2px 4px #00000012;
  color: #181e22 !important;
  filter: brightness(1.10);
}

.baixar-btn svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
}

/* Aviso para usuários que não têm acesso */
.acesso-negado {
  color: #ef5959;
  font-size: 1.07em;
  background: #2e2b35;
  border-radius: 6px;
  padding: 8px 16px;
  margin: 18px auto 6px auto;
  display: inline-block;
}

/* ==== AJUSTES GERAIS DO MODAL ==== */
article.content-wrapper {
    position: relative;
    background: #181c22 !important;   /* Fundo escuro igual ao resto do site */
    color: #19ffd0 !important;        /* Cor do texto */
    border-radius: 14px;
    box-shadow: 0 0 32px #000a;
    border: none !important;
    padding: 32px 24px;
    max-width: 440px;                 /* Ajuste a largura do modal aqui */
    width: 94vw;
    max-height: 97vh;
    overflow: visible !important;     /* Remove barra de rolagem */
}

/* === Tabelas e campos dentro do modal === */
article.content-wrapper table,
article.content-wrapper .shop_table,
article.content-wrapper .woocommerce-table {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    table-layout: auto !important;
    border-spacing: 0;
}

article.content-wrapper td,
article.content-wrapper th {
    white-space: normal !important;
    word-break: break-word !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    color: #19ffd0 !important;
}

article.content-wrapper tr {
    border-bottom: 1px solid #23272f;
}

/* === Inputs e selects customizados === */
article.content-wrapper input,
article.content-wrapper select,
article.content-wrapper textarea {
    background: #23272f !important;
    color: #19ffd0 !important;
    border: 1px solid #19ffd0 !important;
    font-weight: 500;
    border-radius: 7px;
    padding: 9px 12px;
    box-sizing: border-box;
}

/* === Textos dentro do modal === */
article.content-wrapper label,
article.content-wrapper p,
article.content-wrapper span,
article.content-wrapper b,
article.content-wrapper h1,
article.content-wrapper h2,
article.content-wrapper h3,
article.content-wrapper h4 {
    color: #19ffd0 !important;
}

article.content-wrapper hr {
    border-color: #19ffd0 !important;
    opacity: 0.17;
}

/* === Links e botões padrões === */
article.content-wrapper a,
article.content-wrapper .button,
article.content-wrapper button {
    color: #17222a !important;
    background: #19ffd0 !important;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 18px;
    margin: 10px 0 0 0;
    display: inline-block;
    border: none;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
article.content-wrapper a:hover,
article.content-wrapper .button:hover,
article.content-wrapper button:hover {
    background: #12abb3 !important;
    color: #fff !important;
}

/* === Botão FECHAR (X) refinado === */
article.content-wrapper .close,
article.content-wrapper .close-modal,
article.content-wrapper .modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    background: none !important;
    color: #19ffd0 !important;
    border: none !important;
    font-size: 2.1em;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    opacity: 0.7;
    cursor: pointer;
    z-index: 1100;
    border-radius: 50%;
    transition: opacity 0.22s, background 0.22s, color 0.22s;
}
article.content-wrapper .close:hover,
article.content-wrapper .close-modal:hover,
article.content-wrapper .modal-close:hover {
    opacity: 1;
    background: #23272f42 !important;
    color: #4afffb !important;
}

/* === Remove barra de rolagem horizontal do modal === */
article.content-wrapper::-webkit-scrollbar,
article.content-wrapper table::-webkit-scrollbar {
    display: none;
}

article.content-wrapper {
    overflow-x: hidden !important; /* Remove qualquer scroll horizontal extra */
    overflow-y: auto !important;   /* Só aparece scroll vertical se realmente precisar */
}

/* === Overlay/fundo escuro atrás do modal, caso exista === */
div[role="dialog"], .modal, .swal2-container {
    background: rgba(20,24,30,0.89) !important;
}
/* Evita que outros elementos do site influenciem */
body .modal-backdrop, body .iziModal-overlay {
    background: rgba(23,34,42,0.92) !important;
}

