/* Container principal do checkout */
.grpms-tuzzello-brand-fallback {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    justify-content: center;
    margin: 0 auto;
    max-width: min(420px, 100%);
    padding: 10px 14px;
}

.grpms-tuzzello-brand-fallback--banner {
    background: linear-gradient(135deg, #123f46 0%, #47767e 100%);
    border-radius: 10px;
    box-shadow: 0 14px 36px rgba(15, 42, 46, 0.16);
    min-height: 110px;
    width: min(680px, 100%);
}

.grpms-tuzzello-brand-fallback--thankyou {
    display: flex;
    margin-bottom: 12px;
}

.grpms-tuzzello-brand-mark {
    align-items: center;
    background: #f7fafc;
    border-left: 7px solid #f35b04;
    border-radius: 8px;
    color: #102f35;
    display: inline-flex;
    flex: 0 0 48px;
    font-family: Poppins, Arial, sans-serif;
    font-size: 30px;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    line-height: 1;
    position: relative;
}

.grpms-tuzzello-brand-mark::after {
    background: #f35b04;
    border: 2px solid #f7fafc;
    border-radius: 999px;
    content: "";
    height: 11px;
    position: absolute;
    right: -7px;
    top: 7px;
    width: 11px;
}

.grpms-tuzzello-brand-copy {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    font-family: Poppins, Arial, sans-serif;
    gap: 3px;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
}

.grpms-tuzzello-brand-copy strong {
    color: #123f46;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0;
}

.grpms-tuzzello-brand-copy span {
    color: rgba(15, 42, 46, 0.62);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.grpms-tuzzello-brand-fallback--banner .grpms-tuzzello-brand-copy strong {
    color: #ffffff;
}

.grpms-tuzzello-brand-fallback--banner .grpms-tuzzello-brand-copy span {
    color: rgba(237, 246, 249, 0.78);
}

.custom-checkout .vendor-logo > img {
    height: auto;
    max-width: 200px;
}

.custom-checkout .vendor-logo--brand-fallback {
    align-items: center;
    display: flex;
    justify-content: center;
}

@media (max-width: 520px) {
    .grpms-tuzzello-brand-copy strong {
        font-size: 24px;
    }

    .grpms-tuzzello-brand-copy span {
        font-size: 8px;
        letter-spacing: 1.3px;
    }
}

body.grpms-thankyou-modern {
    background:
        linear-gradient(180deg, #edf8fa 0%, #e7f3f6 48%, #f7fbfc 100%) !important;
    background-attachment: fixed !important;
    background-image:
        linear-gradient(180deg, #edf8fa 0%, #e7f3f6 48%, #f7fbfc 100%) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
}

body.grpms-thankyou-modern #page,
body.grpms-thankyou-modern #content,
body.grpms-thankyou-modern .site,
body.grpms-thankyou-modern .site-content,
body.grpms-thankyou-modern .entry-content,
body.grpms-thankyou-modern .elementor,
body.grpms-thankyou-modern .elementor-section,
body.grpms-thankyou-modern .elementor-container,
body.grpms-thankyou-modern .elementor-widget-wrap,
body.grpms-thankyou-modern .elementor-widget-container,
body.grpms-thankyou-modern .elementor-shortcode {
    background: transparent !important;
    background-image: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.grpms-thankyou-modern.cartflows-canvas,
body.grpms-thankyou-modern .cartflows-container,
body.grpms-thankyou-modern .elementor-1338,
body.grpms-thankyou-modern .elementor-1338 .elementor-element-fad0471,
body.grpms-thankyou-modern .elementor-1338 .elementor-element-fad0471 > .e-con-inner {
    background:
        linear-gradient(180deg, #edf8fa 0%, #e7f3f6 48%, #f7fbfc 100%) !important;
    background-color: #edf8fa !important;
    background-image:
        linear-gradient(180deg, #edf8fa 0%, #e7f3f6 48%, #f7fbfc 100%) !important;
}

body.grpms-thankyou-modern .elementor-1338 .elementor-element-fad0471 {
    --background-overlay: none !important;
    --e-global-color-primary: #47767e;
    min-height: 100vh;
}

body.grpms-thankyou-modern .elementor-1338 .elementor-shape,
body.grpms-thankyou-modern .elementor-1338 .elementor-background-overlay {
    display: none !important;
}

body.grpms-thankyou-modern::before,
body.grpms-thankyou-modern::after,
body.grpms-thankyou-modern #page::before,
body.grpms-thankyou-modern #page::after,
body.grpms-thankyou-modern #content::before,
body.grpms-thankyou-modern #content::after,
body.grpms-thankyou-modern .site::before,
body.grpms-thankyou-modern .site::after,
body.grpms-thankyou-modern .entry-content::before,
body.grpms-thankyou-modern .entry-content::after,
body.grpms-thankyou-modern .elementor::before,
body.grpms-thankyou-modern .elementor::after {
    background-image: none !important;
}

body.grpms-thankyou-modern img[src*="logo-tuzzello-transp-Jan2025.webp"],
body.grpms-thankyou-modern img[src*="logo-tuzzello.png"],
body.grpms-thankyou-modern .entry-title,
body.grpms-thankyou-modern .page-title,
body.grpms-thankyou-modern .elementor-widget-heading .elementor-heading-title {
    display: none !important;
}

body.grpms-thankyou-modern .woocommerce {
    color: #1f3338;
    font-family: Poppins, Arial, sans-serif;
    margin: 0 auto 56px;
    max-width: 1120px;
    padding-top: 24px;
    width: min(1120px, calc(100vw - 32px));
}

body.grpms-thankyou-modern .woocommerce-notice--success,
body.grpms-thankyou-modern .woocommerce-thankyou-order-received {
    background: rgba(18, 63, 70, 0.08);
    border: 1px solid rgba(71, 118, 126, 0.18);
    border-radius: 8px;
    color: #2f6872;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 18px;
    padding: 14px 18px;
    text-align: center;
}

.grpms-thankyou-confirmation {
    background: linear-gradient(135deg, #123f46 0%, #47767e 100%);
    border: 1px solid rgba(237, 246, 249, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 42, 46, 0.18);
    color: #edf6f9;
    margin: 0 0 22px;
    overflow: hidden;
    padding: 28px;
    position: relative;
}

.grpms-thankyou-confirmation::after {
    background: #f35b04;
    bottom: 0;
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 6px;
}

.grpms-thankyou-confirmation__brand {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.grpms-thankyou-confirmation .grpms-tuzzello-brand-fallback {
    margin: 0;
    padding: 0;
}

.grpms-thankyou-confirmation .grpms-tuzzello-brand-copy strong {
    color: #ffffff;
}

.grpms-thankyou-confirmation .grpms-tuzzello-brand-copy span {
    color: rgba(237, 246, 249, 0.78);
}

.grpms-thankyou-status {
    background: rgba(237, 246, 249, 0.14);
    border: 1px solid rgba(237, 246, 249, 0.22);
    border-radius: 8px;
    color: #d2fff2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 10px 14px;
    text-transform: uppercase;
}

.grpms-thankyou-eyebrow {
    color: rgba(210, 255, 242, 0.86);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.grpms-thankyou-confirmation__intro h1 {
    color: #d2fff2;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0 0 8px;
}

.grpms-thankyou-confirmation__intro p:not(.grpms-thankyou-eyebrow) {
    color: rgba(237, 246, 249, 0.88);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.grpms-thankyou-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 26px;
}

.grpms-thankyou-metric,
.grpms-thankyou-next > div {
    background: rgba(237, 246, 249, 0.12);
    border: 1px solid rgba(237, 246, 249, 0.18);
    border-radius: 8px;
    min-width: 0;
    padding: 14px;
}

.grpms-thankyou-metric span,
.grpms-thankyou-next span {
    color: rgba(237, 246, 249, 0.72);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.grpms-thankyou-metric strong,
.grpms-thankyou-next strong {
    color: #ffffff;
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.grpms-thankyou-metric--total strong,
.grpms-thankyou-metric--total strong .woocommerce-Price-amount,
.grpms-thankyou-metric--total strong .woocommerce-Price-currencySymbol {
    color: #d2fff2 !important;
    display: inline !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
}

.grpms-thankyou-metric--total strong {
    display: block !important;
}

.grpms-thankyou-next {
    border-top: 1px solid rgba(237, 246, 249, 0.18);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
    padding-top: 18px;
}

body.grpms-thankyou-modern .woocommerce-order-overview,
body.grpms-thankyou-modern .woocommerce-order-details,
body.grpms-thankyou-modern .woocommerce-customer-details,
body.grpms-thankyou-modern .grpms-vendor-contact {
    background: #ffffff !important;
    border: 1px solid rgba(71, 118, 126, 0.18) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 26px rgba(15, 42, 46, 0.08) !important;
    color: #2a3f44 !important;
    margin: 18px 0 !important;
    padding: 22px !important;
}

body.grpms-thankyou-modern .woocommerce-order-overview {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
}

body.grpms-thankyou-modern .woocommerce-order-overview li {
    border: 0;
    color: #47767e;
    float: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

body.grpms-thankyou-modern .woocommerce-order-overview li strong {
    color: #1f3338;
    display: block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    margin-top: 6px;
    text-transform: none;
}

body.grpms-thankyou-modern .woocommerce-order-details__title,
body.grpms-thankyou-modern .woocommerce-column__title,
body.grpms-thankyou-modern .grpms-vendor-contact h2 {
    border-bottom: 1px solid rgba(71, 118, 126, 0.18);
    color: #2f6872 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    margin: 0 0 18px !important;
    padding-bottom: 12px;
}

body.grpms-thankyou-modern table.shop_table {
    border: 1px solid rgba(71, 118, 126, 0.16) !important;
    border-collapse: separate !important;
    border-radius: 8px !important;
    border-spacing: 0;
    overflow: hidden;
}

body.grpms-thankyou-modern table.shop_table th {
    background: #47767e !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    padding: 13px 16px !important;
}

body.grpms-thankyou-modern table.shop_table td,
body.grpms-thankyou-modern table.shop_table tfoot th {
    background: #f8fbfc !important;
    color: #2a3f44 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    padding: 13px 16px !important;
}

body.grpms-thankyou-modern table.shop_table td,
body.grpms-thankyou-modern table.shop_table td a,
body.grpms-thankyou-modern table.shop_table td strong,
body.grpms-thankyou-modern table.shop_table tfoot th,
body.grpms-thankyou-modern table.shop_table tfoot td {
    font-size: 15px !important;
}

body.grpms-thankyou-modern address {
    background: #f8fbfc;
    border: 1px solid rgba(71, 118, 126, 0.16);
    border-radius: 8px;
    color: #2a3f44;
    font-size: 15px;
    line-height: 1.65;
    padding: 18px;
}

body.grpms-thankyou-modern .grpms-vendor-contact p {
    color: #2a3f44;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

body.grpms-thankyou-modern .grpms-vendor-contact a {
    color: #f35b04;
    font-weight: 800;
    text-decoration: none;
}

body.grpms-thankyou-modern .grpms-vendor-contact a:hover {
    text-decoration: underline;
}

body.dark-theme.grpms-thankyou-modern,
body.grpms-thankyou-modern.dark-theme {
    background: #162528;
}

body.dark-theme.grpms-thankyou-modern .woocommerce-notice--success,
body.dark-theme.grpms-thankyou-modern .woocommerce-thankyou-order-received {
    background: rgba(35, 52, 56, 0.88);
    border-color: rgba(180, 228, 218, 0.18);
    color: #d2fff2;
}

body.dark-theme.grpms-thankyou-modern .woocommerce-order-overview,
body.dark-theme.grpms-thankyou-modern .woocommerce-order-details,
body.dark-theme.grpms-thankyou-modern .woocommerce-customer-details,
body.dark-theme.grpms-thankyou-modern .grpms-vendor-contact {
    background: #223033 !important;
    border-color: rgba(180, 228, 218, 0.18) !important;
    color: #edf6f9 !important;
}

body.dark-theme.grpms-thankyou-modern .woocommerce-order-overview li,
body.dark-theme.grpms-thankyou-modern .grpms-vendor-contact p {
    color: #a9cbc8 !important;
}

body.dark-theme.grpms-thankyou-modern .woocommerce-order-overview li strong,
body.dark-theme.grpms-thankyou-modern table.shop_table td,
body.dark-theme.grpms-thankyou-modern table.shop_table tfoot th,
body.dark-theme.grpms-thankyou-modern address {
    background: #1e2b2e !important;
    color: #edf6f9 !important;
}

@media (max-width: 900px) {
    .grpms-thankyou-metrics,
    body.grpms-thankyou-modern .woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .grpms-thankyou-confirmation {
        padding: 22px;
    }

    .grpms-thankyou-confirmation__brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .grpms-thankyou-next,
    .grpms-thankyou-metrics,
    body.grpms-thankyou-modern .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

    .grpms-thankyou-confirmation__intro h1 {
        font-size: 28px;
    }
}

.custom-checkout-container {
    display: flex;
    flex-direction: column;
    width: 70%; /* Define 70% da largura */
    max-width: 1200px; /* Limita o tamanho máximo */
    margin: 0 auto; /* Centraliza horizontalmente */
    padding: 20px;
    background: #ffffff; /* Fundo branco */
    border-radius: 10px; /* Bordas arredondadas */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15); /* Sombra suave */
    font-family: 'Poppins', sans-serif; /* Fonte padrão */
}

/* Responsividade para dispositivos médios */
@media (max-width: 768px) {
    .custom-checkout-container {
        width: 90%; /* Ajusta largura para telas menores */
        padding: 15px;
    }
}

/* Responsividade para dispositivos pequenos */
@media (max-width: 480px) {
    .custom-checkout-container {
        width: 95%; /* Quase 100% da largura */
        padding: 10px;
    }
}

/* Remoção do mapa */
#wcfmmp-user-locaton-map {
    display: none !important; /* Oculta o mapa */
}

/* Container para o campo de entrada do logo e botão "Choose Image" */
.logo-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Campo de entrada do logo */
#vendor_logo {
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #333;
    box-sizing: border-box;
}

/* Botão "Choose Image" */
#vendor-logo-upload-button {
    background-color: #47767E;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

/* Hover no botão "Choose Image" */
#vendor-logo-upload-button:hover {
    background-color: #365A61;
}

/* Botão "Save Settings" com estilo semelhante ao "Choose Image" */
button[type="submit"] {
    background-color: #47767E;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    margin: 20px auto;   /* centraliza horizontalmente */
    display: block;      /* necessário para o margin:auto funcionar */
    width: 25%;
}


/* Hover no botão "Save Settings" */
button[type="submit"]:hover {
    background-color: #365A61;
}

.woocommerce-notices-wrapper,
.woocommerce-info {
    display: none !important;
}


/* Estilo para a tabela do checkout */
.woocommerce-checkout-review-order-table {
    background-color: #EEEEEE; /* Fundo cinza claro */
    border-collapse: collapse; /* Remove espaçamento entre bordas */
    width: 100%; /* Faz a tabela ocupar 100% da largura */
    border-radius: 8px; /* Bordas arredondadas */
    overflow: hidden; /* Garante que as bordas arredondadas apareçam */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra para destaque */
}

/* Estilo para as células da tabela */
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 10px; /* Espaçamento interno */
    border-bottom: 1px solid #ddd; /* Linha separadora */
    text-align: left; /* Alinha o conteúdo à esquerda */
    font-family: 'Poppins', sans-serif; /* Fonte padrão */
    font-size: 13px; /* Tamanho da fonte */
    color: #333; /* Cor do texto */
}

/* Estilo para o cabeçalho da tabela */
.woocommerce-checkout-review-order-table thead th {
    background-color: #dddddd; /* Fundo mais escuro para o cabeçalho */
    font-weight: bold; /* Negrito */
    text-transform: uppercase; /* Texto em maiúsculas */
    color: #555; /* Cor do texto */
}

/* Estilo para o rodapé da tabela */
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    font-weight: bold; /* Negrito */
    background-color: #dddddd; /* Fundo mais escuro */
}

/* Estilo para as linhas alternadas no corpo da tabela */
.woocommerce-checkout-review-order-table tbody tr:nth-child(even) {
    background-color: #f5f5f5; /* Fundo alternado */
}

/* Estilo para links dentro da tabela */
.woocommerce-checkout-review-order-table a {
    color: #47767E; /* Cor do link */
    text-decoration: none; /* Remove sublinhado */
    font-weight: bold; /* Negrito */
}

.woocommerce-checkout-review-order-table a:hover {
    text-decoration: underline; /* Sublinhado ao passar o mouse */
}

/* Estilo específico para o botão "Place Order" no WooCommerce */
.woocommerce-checkout button#place_order {
    background-color: #47767E !important; /* Cor de fundo padrão */
    color: #ffffff !important; /* Cor do texto */
    border: none !important; /* Remove bordas */
    padding: 12px 25px !important; /* Espaçamento interno */
    font-size: 13px !important; /* Tamanho da fonte */
    font-family: 'Poppins', sans-serif !important; /* Fonte padrão */
    font-weight: bold !important; /* Texto em negrito */
    text-transform: uppercase !important; /* Texto em letras maiúsculas */
    border-radius: 5px !important; /* Bordas arredondadas */
    cursor: pointer !important; /* Mostra o cursor como pointer */
    transition: background-color 0.3s ease !important; /* Transição suave */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important; /* Sombra para destaque */
}

/* Efeito de hover para o botão */
.woocommerce-checkout button#place_order:hover {
    background-color: #365A61 !important; /* Cor ao passar o mouse */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2) !important; /* Sombra mais intensa no hover */
}

/* Responsividade para dispositivos pequenos */
@media (max-width: 768px) {
    .woocommerce-checkout button#place_order {
        width: 100% !important; /* O botão ocupa toda a largura */
        text-align: center !important; /* Centraliza o texto */
    }
}

/* Altere o fundo do cabeçalho da tabela específica */
table.shop_table.woocommerce-checkout-review-order-table th {
    background-color: #EEEEEE !important; /* Altera o fundo para cinza claro */
    color: #333333 !important; /* Altere a cor do texto, se necessário */
    border: none !important; /* Remove bordas, se necessário */
    text-transform: none !important; /* Remove transformações de texto, se aplicável */
}

/* Para remover estilos extras aplicados no container da tabela */
table.shop_table.woocommerce-checkout-review-order-table {
    background-color: transparent !important; /* Remove qualquer fundo no container da tabela */
    border: none !important; /* Remove bordas */
}

.responsive-vendor-logo {
    width: 60%; /* Largura fixa de 60% */
    height: 30%; /* Altura fixa de 30% */
    object-fit: fill; /* Ignora proporções e preenche totalmente */
    display: block; /* Remove comportamento inline */
    margin: 0 auto; /* Centraliza horizontalmente */
    border-radius: 8px; /* Arredondamento dos cantos */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra para destaque */
}
button[type="button"] {
    background-color: transparent;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif !important; /* Fonte padrão */
    font-weight: bold !important; /* Texto em negrito */
}




/* Seção dos Logos */
.logo-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px; /* Espaço entre os itens */
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif !important; /* Fonte padrão */
    font-weight: bold !important; /* Texto em negrito */
}

/* Estilo para cada contêiner de logo */
.logo-container, .slogo-container {
    display: flex;
    flex-direction: column; /* Permite que a label fique acima da imagem */
    align-items: center; /* Centraliza o conteúdo */
    text-align: center;
    width: 300px; /* Tamanho fixo para os containers */
}

/* Estilo para as imagens */
.logo-container img,
.slogo-container img {
    width: 100%; /* Preenche completamente o contêiner */
    height: 200px; /* Altura fixa */
    object-fit: cover; /* Exibe como cover */
    border-radius: 10px; /* Borda arredondada */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra */
    margin: 10px 0;
    transition: transform 0.3s ease; /* Transição para hover */
    cursor: pointer; /* Aponta para interação */
}

/* Hover nas imagens */
.logo-container img:hover,
.slogo-container img:hover {
    transform: scale(1.05); /* Zoom leve */
}

.logo-container label, .slogo-container label {
    font-size: 16px; /* Tamanho do texto */
    font-weight: bold; /* Negrito */
    color: #424242; /* Cor do texto */
    margin-bottom: 8px; /* Espaçamento entre o label e a imagem */
}

#ship_form, #ship_country {
    font-family: Poppins;
    font-size: 11px;
    height: auto;
}

/* realce quando o radio estiver checado */
#shipping-options-container label:has(input[type="radio"]:checked){
  border-color:#47767E;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}


/* 🔒 Garante que nada “vaze” visualmente quando recolher */
.sc-shell { overflow: hidden; }

/* Aba precisa ficar acima do fluxo para continuar clicável */
.sc-tab { z-index: 2; }

/* 🧹 No modo resultados, esconda totalmente o bloco de endereço
   (deixa só a aba visível) */
.sc-shell.results-mode .sc-side{
  transform: none !important;         /* não usa translate (evita sobras) */
  width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip-path: inset(0 100% 0 0);       /* recorte total por segurança */
}

/* Evita qualquer conteúdo interno aparecer por reflow/zoom */
.sc-shell.results-mode .sc-side > *{
  display: none !important;
}

/* Mantém exatamente 2 colunas: aba (28px) + resultados */
.sc-shell.results-mode{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
}

/* results aberto: garante um quadro alto o suficiente p/ não cortar a aba */
.sc-shell.results-mode .sc-results { min-height: 180px; }


/* === Modal Overlay (slide-up) === */
#shipping-overlay{
  position:fixed; inset:0;
  display:none;                 /* começa oculto */
  align-items:center; justify-content:center;
  background:rgba(0,0,0,.45);
  z-index:9999;
}
#shipping-overlay.active{ display:flex; }

#shipping-frame{
  width:min(980px,90vw);
  max-height:90vh; overflow:auto;
  background:#fff; border-radius:16px;
  box-shadow:0 16px 60px rgba(0,0,0,.25);
  transform:translateY(32px) scale(.98);
  opacity:0;
  transition:transform .35s ease, opacity .35s ease;
}
#shipping-overlay.active #shipping-frame{
  transform:translateY(0) scale(1);
  opacity:1;
}

/* trava scroll da página ao abrir o modal */
body.shipping-open{ overflow:hidden; }

/* botão Close interno */
.sc-close{
  position:absolute; right:14px; top:14px;
  background:#47767E; color:#fff; border:0;
  border-radius:18px; padding:6px 12px;
  font:600 12px/1 Poppins, Arial, sans-serif;
  cursor:pointer;
}

/* ajustes do seu shell para não “vazar” lateral */
.sc-shell{ position:relative; display:block; overflow:hidden; }

/* (opcional) min-height para não cortar a aba no carregamento */
.sc-shell.results-mode .sc-results{ min-height:180px; }
.rate-card.is-loading{
  min-height:140px; display:flex; align-items:center; justify-content:center;
  font-family:Poppins, Arial, sans-serif; font-size:13px; color:var(--dark); opacity:.7;
}


/*---------------------------------------------------*/
/* Modal Overlay */
.shipping-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: none; /* Começa escondido */
    flex-direction: column;
    z-index: 9999; /* Alto z-index para estar na frente */
    overflow-y: auto; /* Permite rolagem se necessário */
    padding: 10px;
}

.shipping-modal-overlay.visible {
    animation: modal-appear 0.3s ease-out;
}

/* Modal Container - Centralizado com sombra */
.shipping-calculator-container {
    background-color: white;
    width: 90%;
    max-width: 800px; /* Adjust as needed */
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: modal-appear 0.3s ease-out;
}

/* Modal Header */
.shipping-modal-overlay::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-top: 3px solid white;
    border-left: 3px solid white;
    cursor: move;
}

/* Botão de fechar */
.shipping-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

@keyframes modal-appear {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.shipping-calculator-container {
    transition: all 0.3s ease-out;
    transform: translateY(0);
}

/* Modern checkout shell */
body.grpms-checkout-modern {
    background:
        linear-gradient(180deg, #edf8fa 0%, #e7f3f6 50%, #f7fbfc 100%) !important;
    color: #1f3338;
    font-family: Poppins, Arial, sans-serif;
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
}

body.grpms-checkout-modern #page,
body.grpms-checkout-modern #content,
body.grpms-checkout-modern .site,
body.grpms-checkout-modern .site-content,
body.grpms-checkout-modern .entry-content,
body.grpms-checkout-modern .elementor,
body.grpms-checkout-modern .elementor-section,
body.grpms-checkout-modern .elementor-container,
body.grpms-checkout-modern .elementor-widget-wrap,
body.grpms-checkout-modern .elementor-widget-container,
body.grpms-checkout-modern .elementor-shortcode {
    background: transparent !important;
    background-image: none !important;
}

body.grpms-checkout-modern.cartflows-canvas,
body.grpms-checkout-modern .cartflows-container,
body.grpms-checkout-modern .elementor-1337,
body.grpms-checkout-modern .elementor-1337 .elementor-element,
body.grpms-checkout-modern .elementor-1337 .e-con,
body.grpms-checkout-modern .elementor-1337 .e-con-inner {
    background:
        linear-gradient(180deg, #edf8fa 0%, #e7f3f6 50%, #f7fbfc 100%) !important;
    background-color: #edf8fa !important;
    background-image:
        linear-gradient(180deg, #edf8fa 0%, #e7f3f6 50%, #f7fbfc 100%) !important;
}

body.grpms-checkout-modern .elementor-1337 .elementor-background-overlay,
body.grpms-checkout-modern .elementor-1337 .elementor-shape,
body.grpms-checkout-modern .elementor-1337 img[src*="logo-tuzzello-transp-Jan2025.webp"],
body.grpms-checkout-modern .elementor-1337 img[src*="logo-tuzzello.png"],
body.grpms-checkout-modern .elementor-1337 .elementor-widget-heading .elementor-heading-title {
    display: none !important;
}

body.grpms-checkout-modern .custom-checkout,
body.grpms-checkout-modern .woocommerce {
    box-sizing: border-box;
    margin: 0 auto 56px !important;
    max-width: none !important;
    padding: 24px 24px 0 !important;
    width: 100% !important;
}

body.grpms-checkout-modern .custom-checkout .woocommerce {
    margin-bottom: 0 !important;
    padding: 0 !important;
    width: 100%;
}

body.grpms-checkout-modern .wcf-embed-checkout-form,
body.grpms-checkout-modern .wcf-embed-checkout-form .woocommerce,
body.grpms-checkout-modern .wcf-woocommerce-checkout-form,
body.grpms-checkout-modern .woocommerce-checkout {
    box-sizing: border-box !important;
    max-width: none !important;
    width: 100% !important;
}

body.grpms-checkout-modern .wcf-embed-checkout-form {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.grpms-checkout-modern .wcf-embed-checkout-form .wcf-col2-set,
body.grpms-checkout-modern .wcf-embed-checkout-form .wcf-customer-info-main-wrapper,
body.grpms-checkout-modern .wcf-embed-checkout-form .wcf-customer-info,
body.grpms-checkout-modern .wcf-embed-checkout-form .wcf-order-wrap,
body.grpms-checkout-modern .wcf-embed-checkout-form .wcf-order-review-toggle,
body.grpms-checkout-modern .wcf-embed-checkout-form .wcf-col-1,
body.grpms-checkout-modern .wcf-embed-checkout-form .wcf-col-2,
body.grpms-checkout-modern .wcf-embed-checkout-form .col-1,
body.grpms-checkout-modern .wcf-embed-checkout-form .col-2 {
    box-sizing: border-box !important;
    float: none !important;
    max-width: none !important;
    width: 100% !important;
}

body.grpms-checkout-modern .grpms-checkout-hero {
    align-items: center;
    background: linear-gradient(135deg, #123f46 0%, #47767e 100%);
    border: 1px solid rgba(237, 246, 249, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 42, 46, 0.14);
    color: #edf6f9;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 0 0 22px;
    max-width: none !important;
    overflow: hidden;
    padding: 28px;
    position: relative;
    width: 100% !important;
}

body.grpms-checkout-modern .grpms-checkout-hero::after {
    background: #f35b04;
    bottom: 0;
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 6px;
}

body.grpms-checkout-modern .grpms-checkout-hero__brand {
    align-items: center;
    display: flex;
    gap: 18px;
    min-width: 0;
}

body.grpms-checkout-modern .grpms-tuzzello-brand-fallback--checkout-modern {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

body.grpms-checkout-modern .grpms-tuzzello-brand-fallback--checkout-modern .grpms-tuzzello-brand-copy strong {
    color: #ffffff;
}

body.grpms-checkout-modern .grpms-tuzzello-brand-fallback--checkout-modern .grpms-tuzzello-brand-copy span {
    color: rgba(237, 246, 249, 0.76);
}

body.grpms-checkout-modern .grpms-checkout-hero__copy p {
    color: rgba(210, 255, 242, 0.86);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

body.grpms-checkout-modern .grpms-checkout-hero__copy h1 {
    color: #d2fff2;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 8px;
}

body.grpms-checkout-modern .grpms-checkout-hero__copy span {
    color: rgba(237, 246, 249, 0.88);
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

body.grpms-checkout-modern .grpms-checkout-hero__seller {
    background: rgba(237, 246, 249, 0.14);
    border: 1px solid rgba(237, 246, 249, 0.22);
    border-radius: 8px;
    min-width: 168px;
    padding: 14px 16px;
}

body.grpms-checkout-modern .grpms-checkout-hero__seller span {
    color: rgba(237, 246, 249, 0.72);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

body.grpms-checkout-modern .grpms-checkout-hero__seller strong {
    color: #ffffff;
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

body.grpms-checkout-modern form.checkout,
body.grpms-checkout-modern .woocommerce form.checkout,
body.grpms-checkout-modern .wcf-embed-checkout-form form.checkout {
    align-items: start;
    display: grid !important;
    gap: 20px;
    grid-template-areas:
        "express express"
        "customer review";
    grid-template-columns: minmax(500px, 1.03fr) minmax(460px, 0.97fr) !important;
    margin: 0 auto !important;
    max-width: none !important;
    width: 100% !important;
}

body.grpms-checkout-modern form.checkout::before,
body.grpms-checkout-modern form.checkout::after {
    content: none !important;
    display: none !important;
}

body.grpms-checkout-modern form.checkout #customer_details,
body.grpms-checkout-modern .woocommerce form.checkout #customer_details,
body.grpms-checkout-modern form.checkout > .wcf-col2-set,
body.grpms-checkout-modern form.checkout > .wcf-customer-info-main-wrapper,
body.grpms-checkout-modern form.checkout > .wcf-customer-info {
    align-self: start !important;
    display: block !important;
    float: none !important;
    grid-area: customer !important;
    margin-top: 0 !important;
    min-width: 0;
    width: auto !important;
}

body.grpms-checkout-modern form.checkout .wc-stripe-express-checkout-element,
body.grpms-checkout-modern form.checkout .wc-stripe-express-checkout-container,
body.grpms-checkout-modern form.checkout .wc-stripe-product-checkout-container,
body.grpms-checkout-modern form.checkout .wc-stripe-gateway-container,
body.grpms-checkout-modern form.checkout .wc-stripe-payment-request-wrapper,
body.grpms-checkout-modern form.checkout #wc-stripe-payment-request-wrapper,
body.grpms-checkout-modern form.checkout #wc-stripe-payment-request-button-separator,
body.grpms-checkout-modern form.checkout .wcpay-express-checkout-wrapper,
body.grpms-checkout-modern form.checkout .wcpay-express-checkout-element,
body.grpms-checkout-modern form.checkout .wc-block-components-express-payment,
body.grpms-checkout-modern form.checkout > .wcf-express-checkout-wrapper,
body.grpms-checkout-modern form.checkout > .wcf-payment-option-heading,
body.grpms-checkout-modern form.checkout > .wcf-payment-option,
body.grpms-checkout-modern form.checkout .payment-methods--express,
body.grpms-checkout-modern form.checkout .express-checkout,
body.grpms-checkout-modern form.checkout [class*="express-checkout"],
body.grpms-checkout-modern form.checkout [id*="express-checkout"],
body.grpms-checkout-modern form.checkout [class*="payment-request"],
body.grpms-checkout-modern form.checkout [id*="payment-request"] {
    float: none !important;
    grid-area: express !important;
    margin: 0 0 6px !important;
    max-width: none !important;
    min-width: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

body.grpms-checkout-modern form.checkout #order_review_heading,
body.grpms-checkout-modern .woocommerce form.checkout #order_review_heading,
body.grpms-checkout-modern form.checkout > .wcf-order-review-heading {
    display: none !important;
}

body.grpms-checkout-modern form.checkout #order_review,
body.grpms-checkout-modern .woocommerce form.checkout #order_review,
body.grpms-checkout-modern form.checkout > .wcf-order-wrap,
body.grpms-checkout-modern form.checkout > .wcf-order-review,
body.grpms-checkout-modern form.checkout > .woocommerce-checkout-review-order {
    align-self: start !important;
    float: none !important;
    grid-area: review !important;
    margin-top: 0 !important;
    min-width: 0;
    position: sticky;
    top: 24px;
    width: auto !important;
}

body.grpms-checkout-modern .woocommerce-billing-fields,
body.grpms-checkout-modern .woocommerce-additional-fields,
body.grpms-checkout-modern #order_review,
body.grpms-checkout-modern .woocommerce-checkout-payment {
    background: #ffffff !important;
    border: 1px solid rgba(71, 118, 126, 0.18) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 26px rgba(15, 42, 46, 0.08) !important;
    color: #2a3f44 !important;
}

body.grpms-checkout-modern .woocommerce-billing-fields,
body.grpms-checkout-modern .woocommerce-additional-fields,
body.grpms-checkout-modern #order_review {
    padding: 24px !important;
}

body.grpms-checkout-modern .woocommerce-billing-fields {
    margin-top: 0 !important;
}

body.grpms-checkout-modern .woocommerce-additional-fields {
    margin-top: 20px;
}

body.grpms-checkout-modern .woocommerce-billing-fields h3,
body.grpms-checkout-modern .woocommerce-additional-fields h3,
body.grpms-checkout-modern #order_review_heading {
    border-bottom: 1px solid rgba(71, 118, 126, 0.18);
    color: #2f6872 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    padding-bottom: 12px;
}

body.grpms-checkout-modern .woocommerce-billing-fields h3,
body.grpms-checkout-modern .woocommerce-additional-fields h3 {
    margin: 0 0 20px !important;
}

body.grpms-checkout-modern #order_review_heading {
    background: #ffffff;
    border: 1px solid rgba(71, 118, 126, 0.18);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 10px 26px rgba(15, 42, 46, 0.08);
    padding: 18px 24px 12px;
}

body.grpms-checkout-modern #order_review {
    border-radius: 8px !important;
    border-top: 1px solid rgba(71, 118, 126, 0.18) !important;
    padding-top: 14px !important;
}

body.grpms-checkout-modern #order_review::before {
    border-bottom: 1px solid rgba(71, 118, 126, 0.18);
    color: #2f6872;
    content: "Your order";
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 20px;
    padding-bottom: 12px;
}

body.grpms-checkout-modern .wcf-order-wrap,
body.grpms-checkout-modern .wcf-order-review,
body.grpms-checkout-modern .woocommerce-checkout-review-order,
body.grpms-checkout-modern .woocommerce-checkout-review-order-table {
    margin-top: 0 !important;
}

body.grpms-checkout-modern #customer_details .col-1,
body.grpms-checkout-modern #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
}

body.grpms-checkout-modern #customer_details {
    display: grid !important;
    gap: 20px;
}

body.grpms-checkout-modern .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    gap: 16px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.grpms-checkout-modern .form-row {
    clear: none !important;
    float: none !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
    position: static !important;
    width: 100% !important;
}

body.grpms-checkout-modern .form-row.form-row-wide,
body.grpms-checkout-modern .form-row.address-field,
body.grpms-checkout-modern #billing_address_1_field,
body.grpms-checkout-modern #billing_address_2_field,
body.grpms-checkout-modern #billing_country_field,
body.grpms-checkout-modern #billing_city_field,
body.grpms-checkout-modern #billing_state_field,
body.grpms-checkout-modern #billing_postcode_field,
body.grpms-checkout-modern #billing_phone_field,
body.grpms-checkout-modern #billing_email_field {
    grid-column: 1 / -1;
}

body.grpms-checkout-modern .form-row label {
    color: #3f5b62 !important;
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 7px;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    visibility: visible !important;
}

body.grpms-checkout-modern .form-row .required {
    color: #ef4444 !important;
}

body.grpms-checkout-modern .form-row input.input-text,
body.grpms-checkout-modern .form-row textarea,
body.grpms-checkout-modern .form-row select,
body.grpms-checkout-modern .select2-container .select2-selection--single {
    background: #f8fbfc !important;
    border: 1px solid rgba(71, 118, 126, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: #1f3338 !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 14px !important;
    height: auto !important;
    line-height: 1.45 !important;
    min-height: 44px !important;
    padding: 11px 13px !important;
    position: static !important;
    width: 100% !important;
}

body.grpms-checkout-modern .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
}

body.grpms-checkout-modern .select2-container .select2-selection__rendered {
    color: #1f3338 !important;
    line-height: 1.4 !important;
    padding-left: 0 !important;
}

body.grpms-checkout-modern .form-row input.input-text:focus,
body.grpms-checkout-modern .form-row textarea:focus,
body.grpms-checkout-modern .form-row select:focus,
body.grpms-checkout-modern .select2-container--open .select2-selection--single {
    border-color: #47767e !important;
    box-shadow: 0 0 0 3px rgba(71, 118, 126, 0.14) !important;
    outline: none !important;
}

body.grpms-checkout-modern .woocommerce-checkout-review-order-table {
    background: transparent !important;
    border: 1px solid rgba(71, 118, 126, 0.16) !important;
    border-collapse: separate !important;
    border-radius: 8px !important;
    border-spacing: 0 !important;
    box-shadow: none !important;
    margin: 0 0 18px !important;
    overflow: hidden;
}

body.grpms-checkout-modern .woocommerce-checkout-review-order-table th,
body.grpms-checkout-modern .woocommerce-checkout-review-order-table td {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(71, 118, 126, 0.14) !important;
    color: #263f45 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    padding: 13px 0 !important;
}

body.grpms-checkout-modern .woocommerce-checkout-review-order-table thead th {
    color: #2f6872 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px;
    text-transform: uppercase !important;
}

body.grpms-checkout-modern .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.grpms-checkout-modern .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    color: #123f46 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

body.grpms-checkout-modern .woocommerce-checkout-payment {
    padding: 18px !important;
}

body.grpms-checkout-modern .woocommerce-checkout-payment ul.payment_methods {
    border-bottom: 1px solid rgba(71, 118, 126, 0.14) !important;
    padding: 0 0 14px !important;
}

body.grpms-checkout-modern .woocommerce-checkout-payment .payment_box {
    background: #edf8fa !important;
    border-radius: 8px !important;
    color: #2a3f44 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

body.grpms-checkout-modern .woocommerce-checkout-payment .payment_box::before {
    border-bottom-color: #edf8fa !important;
}

body.grpms-checkout-modern .woocommerce-privacy-policy-text,
body.grpms-checkout-modern .woocommerce-terms-and-conditions-wrapper {
    color: #50686e !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

body.grpms-checkout-modern .woocommerce-privacy-policy-text a,
body.grpms-checkout-modern .woocommerce-terms-and-conditions-wrapper a {
    color: #f35b04 !important;
    font-weight: 800;
    text-decoration: none;
}

body.grpms-checkout-modern .woocommerce-checkout button#place_order {
    background: linear-gradient(135deg, #f35b04 0%, #ff7a22 100%) !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 30px rgba(243, 91, 4, 0.22) !important;
    color: #ffffff !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    margin: 18px 0 0 !important;
    min-height: 48px !important;
    padding: 14px 18px !important;
    text-transform: none !important;
    width: 100% !important;
}

body.grpms-checkout-modern .woocommerce-checkout button#place_order:hover {
    background: linear-gradient(135deg, #d94f00 0%, #f35b04 100%) !important;
    box-shadow: 0 16px 34px rgba(243, 91, 4, 0.28) !important;
}

body.grpms-checkout-modern .woocommerce-error,
body.grpms-checkout-modern .woocommerce-message,
body.grpms-checkout-modern .woocommerce-notice {
    border-radius: 8px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body.dark-theme.grpms-checkout-modern,
body.grpms-checkout-modern.dark-theme {
    background: #162528 !important;
    color: #edf6f9;
}

body.dark-theme.grpms-checkout-modern #page,
body.dark-theme.grpms-checkout-modern #content,
body.dark-theme.grpms-checkout-modern .site,
body.dark-theme.grpms-checkout-modern .site-content,
body.dark-theme.grpms-checkout-modern .entry-content,
body.dark-theme.grpms-checkout-modern .elementor,
body.dark-theme.grpms-checkout-modern .elementor-section,
body.dark-theme.grpms-checkout-modern .elementor-container,
body.dark-theme.grpms-checkout-modern .elementor-widget-wrap,
body.dark-theme.grpms-checkout-modern .elementor-widget-container,
body.dark-theme.grpms-checkout-modern .elementor-shortcode {
    background: transparent !important;
    background-image: none !important;
}

body.dark-theme.grpms-checkout-modern .woocommerce-billing-fields,
body.dark-theme.grpms-checkout-modern .woocommerce-additional-fields,
body.dark-theme.grpms-checkout-modern #order_review,
body.dark-theme.grpms-checkout-modern #order_review_heading,
body.dark-theme.grpms-checkout-modern .woocommerce-checkout-payment {
    background: #223033 !important;
    border-color: rgba(199, 240, 228, 0.18) !important;
    color: #edf6f9 !important;
}

body.dark-theme.grpms-checkout-modern .woocommerce-billing-fields h3,
body.dark-theme.grpms-checkout-modern .woocommerce-additional-fields h3,
body.dark-theme.grpms-checkout-modern #order_review_heading,
body.dark-theme.grpms-checkout-modern #order_review::before {
    border-bottom-color: rgba(199, 240, 228, 0.18) !important;
    color: #c7f0e4 !important;
}

body.dark-theme.grpms-checkout-modern .form-row label,
body.dark-theme.grpms-checkout-modern .woocommerce-checkout-review-order-table thead th {
    color: rgba(199, 240, 228, 0.78) !important;
}

body.dark-theme.grpms-checkout-modern .form-row input.input-text,
body.dark-theme.grpms-checkout-modern .form-row textarea,
body.dark-theme.grpms-checkout-modern .form-row select,
body.dark-theme.grpms-checkout-modern .select2-container .select2-selection--single,
body.dark-theme.grpms-checkout-modern .woocommerce-checkout-review-order-table th,
body.dark-theme.grpms-checkout-modern .woocommerce-checkout-review-order-table td {
    background: #1e2b2e !important;
    border-color: rgba(199, 240, 228, 0.16) !important;
    color: #edf6f9 !important;
}

body.dark-theme.grpms-checkout-modern .select2-container .select2-selection__rendered,
body.dark-theme.grpms-checkout-modern .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.dark-theme.grpms-checkout-modern .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    color: #c7f0e4 !important;
}

body.dark-theme.grpms-checkout-modern .woocommerce-checkout-payment .payment_box {
    background: #1e2b2e !important;
    color: #edf6f9 !important;
}

body.dark-theme.grpms-checkout-modern .woocommerce-checkout-payment .payment_box::before {
    border-bottom-color: #1e2b2e !important;
}

body.dark-theme.grpms-checkout-modern .woocommerce-privacy-policy-text,
body.dark-theme.grpms-checkout-modern .woocommerce-terms-and-conditions-wrapper {
    color: rgba(237, 246, 249, 0.72) !important;
}

@media (max-width: 960px) {
    body.grpms-checkout-modern .grpms-checkout-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    body.grpms-checkout-modern .grpms-checkout-hero__seller {
        width: 100%;
    }

    body.grpms-checkout-modern form.checkout {
        grid-template-columns: 1fr;
    }

    body.grpms-checkout-modern form.checkout #customer_details,
    body.grpms-checkout-modern form.checkout #order_review_heading,
    body.grpms-checkout-modern form.checkout #order_review {
        grid-column: 1;
        grid-row: auto;
    }

    body.grpms-checkout-modern form.checkout #order_review {
        position: static;
    }
}

@media (max-width: 640px) {
    body.grpms-checkout-modern .custom-checkout,
    body.grpms-checkout-modern .woocommerce {
        padding-top: 16px !important;
        width: min(100%, calc(100vw - 20px));
    }

    body.grpms-checkout-modern .grpms-checkout-hero {
        padding: 22px;
    }

    body.grpms-checkout-modern .grpms-checkout-hero__brand {
        align-items: flex-start;
        flex-direction: column;
    }

    body.grpms-checkout-modern .grpms-checkout-hero__copy h1 {
        font-size: 28px;
    }

    body.grpms-checkout-modern .woocommerce-billing-fields,
    body.grpms-checkout-modern .woocommerce-additional-fields,
    body.grpms-checkout-modern #order_review {
        padding: 18px !important;
    }
}
