/* =====================================================
   BRICOWEB CHECKOUT - New Design
   ===================================================== */

/* Variables de cores */
:root {
    --checkout-green: #6B8E23;
    --checkout-green-dark: #54AE32;
    --checkout-green-hover: #3d8125;
    --checkout-green-light: #f0f5e8;
    --checkout-gray: #666666;
    --checkout-gray-light: #f5f5f5;
    --checkout-border: #e5e5e5;
    --checkout-text: #333333;
}

/* =====================================================
   ESCONDER ELEMENTOS ANTIGOS
   ===================================================== */
/* Note: Removed the .col-lg-6:nth-last-child(2) hide rule as it was conflicting with custom form rows */

body .js-grid-table .card.customer-addresses-card {
    display: none !important;
}

.step-hidden {
    display: none;
}

/* Esconder imagem antiga dos steps */
.stepscart {
    display: none !important;
}

/* =====================================================
   CHECKOUT STEPS - BREADCRUMB STYLE (Chevron arrows)
   Based on steps.png - gray background, black active
   ===================================================== */
.checkout-steps-breadcrumb {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 46px;
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
    gap: 15px;
}

/* Order confirmation page - remove top margin */
.page-order-confirmation .checkout-steps-breadcrumb,
#order-confirmation .checkout-steps-breadcrumb {
    margin-top: 0;
}

.checkout-steps-breadcrumb .step-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Default step - gray - all steps same format */
.checkout-steps-breadcrumb .step-link {
    display: flex;
    padding: 8px 20px 8px 12px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    height: 43px;
    max-width: 200px;
    width:100%;
    background: #d0d0d0;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
    margin-left: 0;
    transition: background 0.3s ease;
    border-radius: 3px;
}

/* Completed steps - gray */
.checkout-steps-breadcrumb .step-item.completed .step-link {
    background: #d0d0d0;
    color: #FFF;
}

/* ACTIVE step - BLACK */
.checkout-steps-breadcrumb .step-item.active .step-link {
    background: #333333;
}

.checkout-steps-breadcrumb .step-link:hover {
    opacity: 0.85;
}

/* Step number - special shape with white background */
.checkout-steps-breadcrumb .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    background: #FFF;
    border-radius: 3px 50% 50% 3px;
    margin-right: 0;
    font-size: 14px;
    font-weight: 600;
    color: #d0d0d0;
}

/* Active step number - color matches black background */
.checkout-steps-breadcrumb .step-item.active .step-number {
    color: #333333;
}

/* Completed step number */
.checkout-steps-breadcrumb .step-item.completed .step-number {
    background: #FFF;
    color: #d0d0d0;
}

/* =====================================================
   CHECKOUT SECTIONS
   ===================================================== */
.checkout-step {
    background: #FFF;
    border: none;
    border-radius: 3px;
    width: 820px;
    max-width: 100%;
    min-height: 55px;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 0;
}

/* Remove padding-bottom from checkout steps 
#checkout section#checkout-personal-information-step,
#checkout section#checkout-addresses-step,
#checkout section#checkout-delivery-step {
    padding-bottom: 0 !important;
}*/

.checkout-step .step-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border-bottom: none;
}

.checkout-step .step-title .heading_color {
        font-size: 18px;
    font-weight: 600;
    color: var(--checkout-text);
    display: flex;
    align-items: center;
}

.checkout-step .step-title .step-number {
    display: none;
}

.checkout-step .step-title .done,
.checkout-step .done,
.step-title .done,
#checkout .done {
    display: none !important;
}

/* All edit/delete buttons - same style (inside address cards) */
.checkout-step .step-edit,
.btn-address-edit,
.btn-address-delete {
    display: inline-flex;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 3px;
    border: 2px solid #54AE32;
    background: #FFF;
    color: #54AE32 !important;
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    height: 16px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: content-box;
    padding: 8px 20px;
}

.checkout-step .step-edit:hover,
.btn-address-edit:hover,
.btn-address-delete:hover {
    border-radius: 3px;
    border: 2px solid #3A7A24;
    background: #3A7A24;
    color: #fff !important;
}

.checkout-step .step-edit .edit {
    display: none;
}

/* Esconder botão editar quando step está aberto/current */
.checkout-step.-current .step-edit,
.checkout-step.js-current-step .step-edit {
    display: none !important;
}

/* Specific button sizes */
/* Editar Entrega button */
.btn-address-edit[data-link-action="edit-address"][href*="delivery"] {
    min-width: 99px;
    white-space: nowrap;
}

/* Editar Faturação button */
.btn-address-edit[data-link-action="edit-address"][href*="invoice"] {
    min-width: 114px;
    white-space: nowrap;
}

/* Eliminar button */
.btn-address-delete {
    min-width: 57px !important;
    white-space: nowrap !important;
}


.checkout-step .content {
    padding: 15px 30px 30px;
}

/* =====================================================
   PERSONAL INFORMATION TABS - Remove borders
   ===================================================== */
#checkout-personal-information-step .sttab_block {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

#checkout-personal-information-step .sttab_block > .nav-tabs {
    box-shadow: none;
    background: transparent;
    gap: 10px;
    border: none;    
    border-bottom: 2px solid #E6E6E6;
    padding-bottom: 0;
    margin-bottom: 0;
}

#checkout-personal-information-step .sttab_block .tab-content {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

#checkout-personal-information-step .sttab_block .tab-pane {
    border: none !important;
    box-shadow: none !important;
}

#checkout-personal-information-step .sttab_block .tab-pane-body {
    border: none !important;
    box-shadow: none !important;
    padding: 20px 0 0 0 !important;
}

/* Nav links - Tab style */

#checkout-personal-information-step .sttab_block > .nav-tabs .nav-link {
    display: inline-flex;
    padding: 12px 30px;
    justify-content: center;
    align-items: center;
    border-radius: 3px 3px 0 0;
    background: #FFF;
    color: #000;
    text-transform: uppercase;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border: 2px solid #E6E6E6;
    border-bottom: 2px solid #FFF;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
    position: relative;
}

#checkout-personal-information-step .sttab_block > .nav-tabs .nav-link:hover {
    background: #4a9a2c !important;
    color: #FFF !important;
}

#checkout-personal-information-step .sttab_block > .nav-tabs .nav-link.active {
    background: #54AE32;
    color: #FFF;
    border: none;
}

/* =====================================================
   GUEST/REGISTER FORM STYLING
   ===================================================== */
#checkout-personal-information-step #info-pessoal {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

#checkout-personal-information-step #info-pessoal h3 {
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-bottom: 20px !important;
}

.checkout-guest-form-container {
    background: #fff;
    padding: 0;
}

.checkout-section-title {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 20px;
}

.checkout-guest-form-container .row {
    margin: 0 -10px;
}

.checkout-guest-form-container .form-group-custom {
    padding: 0 10px;
    margin-bottom: 0;
}

.checkout-guest-form-container .form-group-custom label {
    display: block;
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.checkout-guest-form-container .form-group-custom input,
.checkout-guest-form-container .form-group-custom select {
    width: 100%;
    height: 44px;
    padding: 10px 15px;
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    background: #FFF;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #1A1A1A;
    transition: border-color 0.3s ease;
}

.checkout-guest-form-container .form-group-custom input:focus,
.checkout-guest-form-container .form-group-custom select:focus {
    border-color: #54AE32;
    outline: none;
}

.checkout-guest-form-container .form-group-custom input::placeholder {
    color: #999;
}

.form-footer-custom {
    margin-top: 20px;
    padding-top: 15px;
}

.btn-checkout-continue {
    display: inline-flex;
    padding: 12px 40px !important;
    justify-content: center;
    align-items: center;
    border-radius: 3px !important;
    background: #54AE32 !important;
    color: #FFF !important;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: none !important;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-checkout-continue:hover {
    background: #3d8a24 !important;
    color: #FFF !important;
}

/* Login form styling */
.checkout-login-form-container {
    background: #fff;
    padding: 0;
}

.checkout-login-form-container .row {
    flex-wrap: nowrap !important;
    width: 100%;
}

.checkout-login-form-container .form-group-custom {
    margin-bottom: 0;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
}

#checkout-personal-information-step #login-form .checkout-login-form-container .row {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

#checkout-personal-information-step #login-form .form-group-custom {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    display: block !important;
}

.checkout-login-form-container .form-group-custom .form-group,
.checkout-login-form-container .form-group-custom .form-group-small {
    margin-bottom: 0;
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
}

.checkout-login-form-container .form-group-custom .form-group label {
    display: block;
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.checkout-login-form-container .form-group-custom .form-group .js-input-column {
    width: 100%;
}

.checkout-login-form-container .form-group-custom input {
    width: 100%;
    height: 44px;
    padding: 10px 15px;
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    background: #FFF;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #1A1A1A;
}

.checkout-login-form-container .form-group-custom input:focus {
    border-color: #54AE32;
    outline: none;
}

/* Password field styling in login */
.checkout-login-form-container .input-group {
    display: flex;
    width: 100%;
}

.checkout-login-form-container .input-group input {
    flex: 1;
}

.checkout-login-form-container .input-group .input-group-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.checkout-login-form-container .input-group .input-group-btn .btn {
    background: transparent;
    border: none;
    padding: 0;
}

.checkout-login-form-container .js-input-column {
    position: relative;
}

/* Remove border from input groups */
#checkout-personal-information-step form#customer-form .input-group,
#checkout-personal-information-step .input-group-with-border,
.checkout-login-form-container .input-group-with-border,
.checkout-guest-form-container .input-group-with-border {
    border: none !important;
    padding: 0 !important;
}

/* Hide decorative icons (email, padlock) but keep password toggle button visible */
#checkout-personal-information-step .input-group-with-border > i,
.checkout-login-form-container .input-group-with-border > i,
.checkout-guest-form-container .input-group-with-border > i {
    display: none !important;
}

/* Keep password show/hide button visible */
#checkout-personal-information-step .input-group-with-border .input-group-btn,
.checkout-login-form-container .input-group-with-border .input-group-btn,
.checkout-guest-form-container .input-group-with-border .input-group-btn {
    display: flex !important;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

#checkout-personal-information-step .input-group-with-border .input-group-btn .btn,
.checkout-login-form-container .input-group-with-border .input-group-btn .btn,
.checkout-guest-form-container .input-group-with-border .input-group-btn .btn {
    background: transparent;
    border: none;
    padding: 5px;
    color: #666;
}

#checkout-personal-information-step .input-group-with-border .input-group-btn .btn:hover,
.checkout-login-form-container .input-group-with-border .input-group-btn .btn:hover,
.checkout-guest-form-container .input-group-with-border .input-group-btn .btn:hover {
    color: #54AE32;
}

/* Make input-group position relative for absolute positioning of button */
#checkout-personal-information-step .input-group-with-border,
.checkout-login-form-container .input-group-with-border,
.checkout-guest-form-container .input-group-with-border {
    position: relative;
}

#checkout-personal-information-step .input-group-with-border input,
.checkout-login-form-container .input-group-with-border input,
.checkout-guest-form-container .input-group-with-border input {
    border: 1px solid #CCCCCC !important;
    border-radius: 3px !important;
}

#checkout-personal-information-step .input-group-with-border input:focus,
.checkout-login-form-container .input-group-with-border input:focus,
.checkout-guest-form-container .input-group-with-border input:focus {
    border-color: #54AE32 !important;
    box-shadow: none !important;
    outline: none !important;
}

#checkout-personal-information-step form#customer-form .input-group:focus-within,
#checkout-personal-information-step .input-group-with-border:focus-within {
    border-color: transparent !important;
    box-shadow: none !important;
}

.forgot-password-link {
    margin-top: 15px;
}

.forgot-password-link .forgot-password {
    color: #54AE32;
    font-size: 13px;
    text-decoration: none;
}

.forgot-password-link .forgot-password:hover {
    text-decoration: underline;
}

/* =====================================================
   CREATE ACCOUNT FORM STYLING
   ===================================================== */

/* Hide register form by default — revealed by openFormContact() */
#customer-form-checkout {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

#customer-form-checkout.show {
    opacity: 1;
    max-height: none;
    overflow: visible;
}

.checkout-register-section {
    border: none !important;
    background: transparent;
}

.checkout-register-form {
    border: none !important;
    background: transparent;
}

.checkout-register-form-container {
    background: #fff;
    padding: 0;
}

.checkout-register-form-container .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.checkout-register-form-container .form-group-custom {
    padding: 0 10px;
    margin-bottom: 15px;
}

.checkout-register-form-container .form-group,
.checkout-register-form-container .form-group-small {
    margin-bottom: 0;
}

/* Labels dos inputs - uppercase */
.checkout-register-form-container .form-group > label,
.checkout-register-form-container .form-group-small > label {
    display: block;
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
}

/* RGPD checkboxes - NÃO uppercase */
.checkout-register-form-container .custom-checkbox label {
    text-transform: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    display: inline !important;
}

/* Links nos checkboxes (condições, privacidade) */
#checkout-personal-information-step label.checkbox-inline a,
.checkout-guest-form-container label.checkbox-inline a,
.checkout-register-form-container label.checkbox-inline a {
    color: #3A7A24 !important;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    text-decoration: underline !important;
}

#checkout-personal-information-step label.checkbox-inline a:hover,
.checkout-guest-form-container label.checkbox-inline a:hover,
.checkout-register-form-container label.checkbox-inline a:hover {
    color: #2d6618 !important;
}

.checkout-register-form-container input.form-control {
    width: 100%;
    height: 44px;
    padding: 10px 15px;
    border: 1px solid #CCCCCC !important;
    border-radius: 3px !important;
    background: #FFF;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #1A1A1A;
}

.checkout-register-form-container input.form-control:focus {
    border-color: #54AE32 !important;
    outline: none;
    box-shadow: none !important;
}

.checkout-register-form-container select.form-control {
    width: 100%;
    height: 44px;
    padding: 10px 15px;
    border: 1px solid #CCCCCC !important;
    border-radius: 3px !important;
    background: #FFF;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #1A1A1A;
}

.checkout-register-form-container select.form-control:focus {
    border-color: #54AE32 !important;
    outline: none;
    box-shadow: none !important;
}

/* Hide decorative icons in register form */
.checkout-register-form-container .input-group-with-border > i {
    display: none !important;
}

.checkout-register-form-container .input-group-with-border {
    border: none !important;
    padding: 0 !important;
    position: relative;
}

.checkout-register-form-container .input-group-with-border input {
    border: 1px solid #CCCCCC !important;
    border-radius: 3px !important;
}

.checkout-register-form-container .input-group-with-border input:focus {
    border-color: #54AE32 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Password show/hide button in register form */
.checkout-register-form-container .input-group-with-border .input-group-btn {
    display: flex !important;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.checkout-register-form-container .input-group-with-border .input-group-btn .btn {
    background: transparent;
    border: none;
    padding: 5px;
    color: #666;
}

.checkout-register-form-container .input-group-with-border .input-group-btn .btn:hover {
    color: #54AE32;
}

/* Hide field comments/hints - only show on error via JS */
.checkout-register-form-container .form-control-comment {
    display: none;
}

/* Password policy styling */
.checkout-register-form-container .field-password-policy .form-group {
    margin-bottom: 0;
}

/* Social login buttons in checkout */
#create-account-content .sociais {
    margin-bottom: 20px;
}

#create-account-content .sociais .label {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 15px;
    text-align: center;
}

#create-account-content .container-sociais-btn {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Separator "ou" line */
.separator-ou {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
}

.separator-ou::before,
.separator-ou::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E6E6E6;
}

.separator-ou span {
    padding: 0 15px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

/* Switch links styling */
.checkout-form-switch {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #E6E6E6;
}

.checkout-form-switch span {
    color: #666;
    font-size: 14px;
}

.checkout-form-switch a {
    color: #54AE32;
    font-size: 14px;
    text-decoration: none;
    margin-left: 5px;
}

.checkout-form-switch a:hover {
    text-decoration: underline;
}

/* Steps não ativos (collapsed) */
.checkout-step:not(.-current):not(.-complete) {
    background: var(--checkout-gray-light);
}

.checkout-step:not(.-current):not(.-complete) .step-title {
    background: transparent;
    border-bottom: none;
}

.checkout-step:not(.-current):not(.-complete) .step-title .heading_color {
    color: #999;
}

/* Steps unreachable - padding uniforme e alinhamento vertical */
.checkout-step.-unreachable .step-title {
    padding: 15px 30px;
    align-items: center;
}

.checkout-step:not(.-current):not(.-complete) .step-edit {
    display: none;
}

.checkout-step:not(.-current) .content {
    display: none;
}

.checkout-step.-complete .content {
    display: block;
}

/* ADDRESS SECTIONS — defined below in "ADDRESS SECTIONS STYLING" block */

/* Address Cards - Based on moradas.png */
/* Override style.css - cards are WHITE with gray border, buttons INSIDE */
#checkout div#invoice-addresses article.selected .card-block,
#checkout div#delivery-addresses article.selected .card-block,
#checkout div#invoice-addresses article .card-block,
#checkout div#delivery-addresses article .card-block,
.address-item .card-block {
    background: #fff !important;
    width: 475px !important;
    min-height: 280px !important;
    height: auto !important;
    border-radius: 3px !important;
    border: 2px solid #D2D2D2 !important;
    padding: 20px 20px 30px 20px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.address-item .card-block .radio-block {
    flex: 1;
}

.address-item .card-block .address-buttons {
    margin-top: auto;
    justify-content: flex-start;
}

.address-item {
    max-width: 475px;
    margin-bottom: 10px;
}

.address-item .card,
.address-item .card.card_trans {
    border: none !important;
    border-radius: 4px;
    background: transparent !important;
    overflow: visible;
    margin-bottom: 0 !important;
}

.address-item .address-alias {
    display: block;
        font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--checkout-text);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.address-item .address {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 8px;
}

/* Address Footer Buttons - INSIDE the card-block */
.address-footer,
.address-footer.card-footer {
    padding: 0 !important;
    margin-top: 10px;
    margin-bottom: 30px !important;
    background: transparent !important;
    border-top: none !important;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Buttons styling moved to unified section above */

/* Address buttons container inside card */
.address-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* =====================================================
   ADDRESS FORM (Entrega e Faturação)
   Only the .address-form-container gets green styling
   ===================================================== */

/* Green form container */
.address-form-container {
    border-radius: 3px;
    border: 2px solid #54AE32;
    background: rgba(84, 174, 50, 0.05);

    padding: 25px;
    margin-bottom: 20px;
}

/* Form title - "Alterar morada de entrega / faturação" */
.address-form-title {
    color: #54AE32;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-bottom: 20px;
}

/* Form Fields */
.js-address-form .form-group {
    margin-bottom: 20px;
}

/* Labels */
.js-address-form .form-control-label,
.address-form-container .form-control-label {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

/* Required field indicator - inside label */
.address-form-container .form-control-label .required-indicator {
    color: #C00;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

/* Required field indicator */
.js-address-form .form-control-label.required::after {
    content: "";
}

#customer-form-checkout label.required::after {
    content: " *";
    color: #e74c3c;
    font-weight: 600;
}

/* Address form rows */
.address-form-container .address-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    margin-left: 0;
    margin-right: 0;
}

.address-form-container .address-form-row .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 10px;
    padding-left: 0;
}

.address-form-container .address-form-row .col-lg-6:last-child {
    padding-right: 0;
    padding-left: 10px;
}

.address-form-container .form-group {
    margin-bottom: 0;
}

/* Input fields */
.js-address-form .form-control {

    height: 47px;
    padding: 12px 15px;
    border-radius: 3px;
    border: 1px solid #D2D2D2;
    background: #FFF;
    font-size: 14px;
    color: var(--checkout-text);
    transition: border-color 0.3s ease;
}

.js-address-form .form-control:focus {
    border-color: #54AE32;
    outline: none;
    box-shadow: 0 0 0 3px rgba(84, 174, 50, 0.1);
}

.js-address-form .form-control::placeholder {
    color: #aaa;
}

/* Select dropdown */
.js-address-form select.form-control,
.address-form-container select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-color: #FFF;
    padding-right: 40px;

    height: 47px !important;
    min-height: 47px !important;
    line-height: 23px;
    padding-top: 12px;
    padding-bottom: 12px;
    box-sizing: border-box;
}

/* Form note - "* Campos de preenchimento obrigatório" */
.address-form-note {
    margin-top: 15px;
}

.address-form-note .required-asterisk {
    color: #C00;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

.address-form-note .required-text {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 130%;
}

/* Form Buttons */
.address-form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Botão Atualizar/Guardar (Entrega e Faturação) */
.btn-save-address,
#delivery-address .btn-save-address,
#invoice-address .btn-save-address,
.address-form-container .btn-save-address {
    display: inline-flex !important;
    padding: 8px 20px 9px 20px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 3px !important;
    border: 2px solid #54AE32 !important;
    background: #54AE32 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-address:hover,
#delivery-address .btn-save-address:hover,
#invoice-address .btn-save-address:hover,
.address-form-container .btn-save-address:hover {
    background: #3A7A24 !important;
    border-color: #3A7A24 !important;
}

/* Botão Cancelar do formulário (Entrega e Faturação) */
.address-form-container #cancel-btn,
.address-form-container .cancel-address,
.address-form-container .js-cancel-address,
.address-form-container a.cancel-address,
.address-form-container a.js-cancel-address,
.address-form-container a#cancel-btn,
.address-form-buttons #cancel-btn,
.address-form-buttons .cancel-address,
.address-form-buttons .js-cancel-address,
#delivery-address .cancel-address,
#delivery-address .js-cancel-address,
#invoice-address .cancel-address,
#invoice-address .js-cancel-address,
a.js-cancel-address.cancel-address#cancel-btn {
    display: inline-flex !important;
    padding: 8px 20px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 3px !important;
    border: 2px solid #54AE32 !important;
    background: #FFF !important;
    color: #54AE32 !important;
    text-align: center !important;
    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    height: 16px !important;
    box-sizing: content-box !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    width: auto !important;
    min-width: unset !important;
    min-height: unset !important;
    max-width: unset !important;
    max-height: unset !important;
}

.address-form-container #cancel-btn:hover,
.address-form-container .cancel-address:hover,
.address-form-container .js-cancel-address:hover,
.address-form-buttons #cancel-btn:hover,
.address-form-buttons .cancel-address:hover,
.address-form-buttons .js-cancel-address:hover,
#delivery-address .cancel-address:hover,
#delivery-address .js-cancel-address:hover,
#invoice-address .cancel-address:hover,
#invoice-address .js-cancel-address:hover {
    border-color: #3A7A24 !important;
    background: #3A7A24 !important;
    color: #FFF !important;
}

/* =====================================================
   ADD DIFFERENT INVOICE BUTTON
   ===================================================== */
.add-address,
.checkout-step .add-address {
    margin: 30px 0 !important;
    margin-top: 30px !important;
}

.add-address a,
.add-address a.add-invoice,
a.add-invoice {
    display: inline-flex;
    padding: 8px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 3px;
    border: 2px solid #54AE32;
    background: #FFF;
    color: #54AE32 !important;
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    height: 16px;
    box-sizing: content-box;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.add-address a:hover,
.add-address a.add-invoice:hover,
a.add-invoice:hover {
    background: #3A7A24;
    border-color: #3A7A24;
    color: #fff !important;
}

/* =====================================================
   CONTINUE BUTTON
   ===================================================== */
.btn-continue,
button[name="confirm-addresses"] {
    display: flex !important;
    width: 235px !important;
    padding: 10px 0 11px 0 !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 3px !important;
    background: #54AE32 !important;
    border: none !important;
    color: #FFF !important;
    text-align: center !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.btn-continue:hover,
button[name="confirm-addresses"]:hover {
    background: #3A7A24 !important;
}

/* =====================================================
   SIDEBAR - CART SUMMARY
   ===================================================== */
.checkout_right_wrapper {
    position: sticky;
    top: 20px;
    margin-top: 0;
}

/* Align sidebar with "Informações pessoais" step */
#checkout .cart-grid-right {
    padding-top: 0 !important;
    margin-top: 119px;
}

/* Cart page - same styling as checkout */
body.cart .cart-grid-right {
    padding-top: 0;
    margin-top: 1rem;
}

body.cart .cart-grid-right .cart-detailed-totals {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.cart .cart-grid-right .checkout-card,
body.cart .cart-grid-right .checkout-card-payments,
body.cart .cart-grid-right .checkout-card-contact {
    background: #FFF !important;
    border-radius: 3px !important;
    padding: 25px 30px !important;
}

body.cart .voucher-input-group {
    display: flex;
    gap: 10px;
}

body.cart .voucher-input {
    width: 240px;
    height: 47px;
    padding: 12px 15px;
    border-radius: 3px;
    border: 1px solid #D2D2D2;
    background: #FFF;
    box-sizing: border-box;
    color: #545557;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

body.cart .voucher-btn {
    display: flex;
    width: 90px;
    height: 47px;
    /* padding: 10px 0 11px 0; */
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 3px;
    background: #D2D2D2;
    border: none;
    color: #FFF;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

body.cart .voucher-btn:hover {
    background: #54AE32;
}

body.cart .summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

body.cart .summary-line.promo-line {
    width: calc(100% + 30px);
    height: 41px;
    border-radius: 3px;
    background: rgba(231, 196, 71, 0.1);
    margin: 6px -15px;
    padding: 10px 15px !important;
    box-sizing: border-box;
}

body.cart .total-line {
    margin-top: 10px;
    padding-top: 10px;
}

body.cart .total-label,
body.cart .total-value {
    color: #1A1A1A;
    font-family: Roboto;
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
}

.checkout_right_column {
    background: transparent;
    border: none;
    border-radius: 0;
}

/* =====================================================
   CHECKOUT CARDS - 3 Cards with white background
   ===================================================== */
.cart-detailed-totals,
.checkout_right_column.mb-3 {
    /* padding: 20px 30px; */
    border-radius: 3px;
    /* background: #FFF; */
    overflow: visible;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.checkout-card,
.checkout-card-payments,
.checkout-card-contact {
    background: #FFF !important;
    border-radius: 3px !important;
    padding: 25px 30px !important;
}

/* Card Title */
.checkout-card .card-title {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 15px 0;
}

/* =====================================================
   CARD 1: Voucher Section
   ===================================================== */
.cart-voucher {
    margin-bottom: 25px;
}

.voucher-divider {
    /* width: 340px; */
    height: 1px;
    background: #D2D2D2;
    margin-bottom: 25px;
}

.voucher-input-group {
    display: flex;
    gap: 10px;
}

.voucher-input {
    width: 240px;
    height: 47px;
    padding: 12px 15px;
    border-radius: 3px;
    border: 1px solid #D2D2D2;
    background: #FFF;
    box-sizing: border-box;
    color: #545557;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.voucher-input::placeholder {
    color: #545557;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 130%;
}

.voucher-btn {
    display: flex;
    width: 90px;
    height: 47px;
    /* padding: 10px 0 11px 0; */
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 3px;
    background: #D2D2D2;
    border: none;
    color: #FFF;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.voucher-btn:hover {
    border-radius: 3px;
    background: #54AE32;
}

.voucher-btn:disabled {
    background: #D2D2D2;
    cursor: not-allowed;
}

/* =====================================================
   CARD 1: Order Summary
   ===================================================== */
.order-summary {
    padding-top: 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 130%;
}

.summary-label {
    color: #1A1A1A;
    font-weight: 400;
}

.summary-value {
    font-weight: 400;
    color: #1A1A1A;
    text-align: right;
}

/* Promo discount line - yellow background */
.summary-line.promo-line {
    width: calc(100% + 30px);
    height: 41px;
    border-radius: 3px;
    background: rgba(231, 196, 71, 0.1);
    margin: 6px -15px;
    padding: 10px 15px !important;
    box-sizing: border-box;
}

.promo-label {
    color: #1A1A1A;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 130%;
}

.promo-value {
    color: #3A7A24 !important;
    text-align: right;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.promo-label .remove-voucher {
    color: #999;
    margin-left: 5px;
}

/* Total Line */
.summary-line.total-line {
    margin-top: 10px;
    padding-top: 10px;
}

.total-label,
.total-value {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

/* =====================================================
   CARD 2: Pagamentos Seguros
   ===================================================== */
.checkout-card-payments {
    text-align: center;
}

.payments-title {
    color: #1A1A1A;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 20px;
}

.payment-icons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.payment-icon-box {
    width: 75px;
    height: 50px;
    border-radius: 3px;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E5E5;
}

.payment-icon-box img {
    max-width: 60px;
    max-height: 45px;
    object-fit: contain;
}

/* =====================================================
   CARD 3: Compre sem hesitações
   ===================================================== */
.checkout-card-contact {
    text-align: center;
}

.checkout-card-contact .contact-title {
    color:#47942B;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-bottom: 15px;
}

.checkout-card-contact .contact-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.checkout-card-contact .contact-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.checkout-card-contact .contact-checklist li:last-child {
    margin-bottom: 0;
}

.checkout-card-contact .contact-checklist li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkout-card-contact .contact-checklist li strong {
    font-weight: 600;
}

.checkout-card-contact .contact-checklist .conditions-link {
    color: #1A1A1A;
    text-decoration: underline;
}

.checkout-card-contact .contact-checklist .conditions-link:hover {
    color: #47942B;
}

/* =====================================================
   PAYMENT METHODS BOX
   ===================================================== */
.meiospagamento.pagamentos {
    background: #fff;
    border: 1px solid var(--checkout-border);
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    text-align: center;
}

.meiospagamento h4 {
        font-size: 14px;
    font-weight: 400;
    color: var(--checkout-gray);
    margin-bottom: 20px;
}

.meiospagamento img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.meiospagamento p {
    font-size: 13px;
    color: var(--checkout-gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

.meiospagamento p b a {
    color: var(--checkout-text);
    text-decoration: none;
}

.meiospagamento p span {
    font-size: 12px;
    color: #999;
}

/* =====================================================
   FORM FIELDS LAYOUT
   ===================================================== */
.js-address-form .row.com_grid_view {
    margin: 0 -10px;
}

.js-address-form .row.com_grid_view > .col-lg-6 {
    padding: 0 10px;
}

/* =====================================================
   IFTHENPAY PAYMENT RETURN
   ===================================================== */
.if_table .if_td_value {
    text-align: right;
}

@media (max-width: 575px) {
    #paymentReturnPanel {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px;
    }

    #paymentReturnPanel .panel-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #paymentReturnPanel .paymentLogo {
        text-align: center;
        width: 100%;
        padding-bottom: 15px;
    }

    #paymentReturnPanel .paymentData {
        width: 100%;
    }

    #paymentReturnPanel .if_table {
        width: 100%;
    }

    #paymentReturnPanel .if_td_desc,
    #paymentReturnPanel .if_td_value {
        padding: 0.5rem 0.75rem;
        font-size: 14px;
    }

    #content-hook_payment_return {
        padding: 10px;
    }

    #content-hook_payment_return .card-block {
        padding: 10px;
    }
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.checkout-step h6 {
        font-size: 16px;
    font-weight: 600;
    color: var(--checkout-text);
    margin-bottom: 8px;
}

.checkout-step h6 + p {
    font-size: 14px;
    color: var(--checkout-gray);
    margin-bottom: 20px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* ===== TABLET (992px - 1199px) ===== */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Voucher input group - responsive tablet */
    .voucher-input-group,
    body.cart .voucher-input-group {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .voucher-input,
    body.cart .voucher-input {
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 100px) !important;
    }

    .voucher-btn,
    body.cart .voucher-btn {
        width: 90px !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 991px) {
    .checkout-steps-breadcrumb {
        flex-wrap: wrap;
        gap: 5px;
    }

    .checkout-steps-breadcrumb .step-link {
        padding: 10px 20px 10px 15px;
        font-size: 12px;
    }

    .checkout-steps-breadcrumb .step-number {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .checkout_right_wrapper {
        position: static;
        margin-bottom: 30px;
    }
    #checkout .cart-grid-right {
      margin-top: 50px;
    }
}

@media (max-width: 767px) {
    /* Manter forma de seta em mobile */
    .checkout-steps-breadcrumb {
        gap: 5px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .checkout-steps-breadcrumb .step-link {
        height: 32px;
        padding: 6px 10px 6px 8px;
        clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%) !important;
    }

    .checkout-steps-breadcrumb .step-number {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .checkout-step .step-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .address-footer {
        flex-direction: column;
    }

    .btn-address-edit,
    .btn-address-delete {
        width: 100%;
        text-align: center;
    }

    .address-form-buttons {
        flex-direction: column;
    }

    .btn-save-address,
    #cancel-btn,
    .cancel-address {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}

/* =====================================================
   INVOICE ADDRESS SECTION
   ===================================================== */
/* Different invoice button styling */
.different-invoice-button {
    display: none;
}

/* =====================================================
   ADDRESS SECTIONS STYLING
   ===================================================== */
.delivery-address-section,
.invoice-address-section {
    margin-bottom: 15px;
}

.invoice-address-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: none;
}

.address-section-title {
        font-size: 16px;
    font-weight: 600;
    color: var(--checkout-text);
    margin-bottom: 5px;
}

.address-section-subtitle {
    color: #1A1A1A;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 12px;
}

/* =====================================================
   PROMO LINE STYLING
   ===================================================== */
.promo-line {
    width: 370px;
    height: 41px;
    border-radius: 3px;
    background: rgba(231, 196, 71, 0.1);
    margin: 6px 0;
    padding: 10px 15px !important;
    box-sizing: border-box;
}

.promo-line .promo-label {
    color: #1A1A1A;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 130%;
}

.promo-line .promo-value {
    color: #3A7A24;
    text-align: right;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.remove-voucher {
    color: #999;
    margin-left: 5px;
}

.remove-voucher:hover {
    color: #dc3545;
}

/* Hide error when empty */
.cart-voucher .js-error:empty,
.cart-voucher .js-error .js-error-text:empty {
    display: none;
}

.cart-voucher .js-error {
    margin-top: 10px;
}

/* =====================================================
   CART TOTAL STYLING IN SIDEBAR
   ===================================================== */
.checkout_right_column .cart-total {
    margin: 0 -20px;
    padding: 15px 20px !important;
    background: #fff;
    border-top: none;
}

/* =====================================================
   ADDRESS CARDS CONTAINER
   ===================================================== */
.address-cards-container {
    margin-bottom: 12px;
}

/* =====================================================
   ALERT STYLING
   ===================================================== */
.js-address-error {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
}

/* =====================================================
   CHECKOUT HEADER (if using different header)
   ===================================================== */
.checkout_wrapper .header-container {
    margin-bottom: 0;
}

/* =====================================================
   LABELS IN FORM
   ===================================================== */
.address-form-container .form-control-label {
        font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--checkout-text);
    margin-bottom: 8px;
}

/* =====================================================
   BOTÃO CANCELAR - OVERRIDE FINAL
   ===================================================== */
a.js-cancel-address.cancel-address,
a#cancel-btn.js-cancel-address.cancel-address,
.address-form-container a.js-cancel-address,
.address-form-container a.cancel-address,
.address-form-container a#cancel-btn,
.address-form-buttons a.js-cancel-address,
.address-form-buttons a.cancel-address,
#invoice-address a.js-cancel-address.cancel-address,
#delivery-address a.js-cancel-address.cancel-address {
    display: inline-flex !important;
    padding: 8px 20px 9px 20px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 3px !important;
    border: 2px solid #54AE32 !important;
    background: #FFF !important;
    color: #54AE32 !important;
    text-align: center !important;
    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    width: 63px !important;
    height: 16px !important;
    min-width: 63px !important;
    min-height: 16px !important;
    max-width: unset !important;
    max-height: unset !important;
    box-sizing: content-box !important;
    margin: 0 !important;
    float: none !important;
    position: static !important;
}

a.js-cancel-address.cancel-address:hover,
a#cancel-btn.js-cancel-address.cancel-address:hover,
.address-form-container a.js-cancel-address:hover,
.address-form-container a.cancel-address:hover,
.address-form-container a#cancel-btn:hover,
.address-form-buttons a.js-cancel-address:hover,
.address-form-buttons a.cancel-address:hover,
#invoice-address a.js-cancel-address.cancel-address:hover,
#delivery-address a.js-cancel-address.cancel-address:hover {
    border-color: #3A7A24 !important;
    background: #3A7A24 !important;
    color: #FFF !important;
}

/* =====================================================
   SHIPPING STEP - Resumo dos custos de entrega
   ===================================================== */
.shipping-summary-container {
    background: #fff;
    padding: 20px;
}

.shipping-summary-title {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E6E6E6;
}

/* Shipping Group */
.shipping-group {
    margin-bottom: 25px;
}

.shipping-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #D2D2D2;
}

.shipping-group-label {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 130%;
}

.shipping-group-price {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 130%;
}

/* Product Items */
.shipping-group-products {
    padding-left: 15px;
    /* border-left: 3px solid #E6E6E6; */
}

.shipping-product-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.shipping-product-item:last-child {
    margin-bottom: 0;
}

.shipping-product-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    overflow: hidden;
}

.shipping-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shipping-product-image .no-image {
    color: #999;
    font-size: 11px;
    text-align: center;
}

.shipping-product-info {
    flex: 1;
}

.shipping-product-name {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 140%;
    margin: 0 0 5px 0;
}

.shipping-product-qty {
    color: #666;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 130%;
    margin: 0;
}

/* Shipping Total */
.shipping-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 10px;
}

.shipping-total-label {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
}

.shipping-total-price {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
}

/* Continue Button */
#checkout-delivery-step .btn-checkout-continue {
    display: inline-flex;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 3px;
    background: #54AE32;
    color: #FFF;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

#checkout-delivery-step .btn-checkout-continue:hover {
    background: #3d8125;
}

/* ========================================
   PAYMENT STEP STYLES
   ======================================== */

.payment-options-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.payment-option-card {
    border: 1px solid #E6E6E6;
    border-radius: 3px;
    background: #FFF;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.payment-option-card.selected {
    border-color: #54AE32;
    border-width: 2px;
}

.payment-option-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    gap: 15px;
}

.payment-option-card .custom-radio {
    flex-shrink: 0;
}

.payment-option-card .custom-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.payment-option-card .custom-radio span {
    width: 20px;
    height: 20px;
    border: 2px solid #CCCCCC;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background: #FFF;
}

.payment-option-card .custom-radio input[type="radio"]:checked + span {
    border-color: #54AE32;
}

.payment-option-card .custom-radio input[type="radio"]:checked + span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #54AE32;
    border-radius: 50%;
}

.payment-option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex: 1;
}

.payment-logo {
    height: 24px;
    width: auto;
    max-width: 50px;
    object-fit: contain;
}

.payment-option-name {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 130%;
}

/* Additional Information (expanded content) */
.payment-additional-info {
    padding: 0 20px 20px 55px;
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.payment-additional-info p {
    margin: 0 0 10px 0;
}

.payment-additional-info p:last-child {
    margin-bottom: 0;
}

/* Payment Form Content */
.payment-form-content {
    padding: 0 20px 20px 55px;
}

.payment-form-content label {
    display: block;
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.payment-form-content input[type="text"],
.payment-form-content input[type="tel"] {
    width: 100%;
    max-width: 300px;
    padding: 12px 15px;
    border: 1px solid #E6E6E6;
    border-radius: 3px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
}

.payment-form-content input[type="text"]:focus,
.payment-form-content input[type="tel"]:focus {
    outline: none;
    border-color: #54AE32;
}

/* Conditions to approve */
#conditions-to-approve {
    margin: 25px 0;
}

#conditions-to-approve ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#conditions-to-approve li {
    margin-bottom: 10px;
}

#conditions-to-approve .js-terms {
    font-size: 14px;
    line-height: 140%;
}

#conditions-to-approve .js-terms a {
    color: #54AE32;
    text-decoration: underline;
}

/* Payment Confirmation Button */
#payment-confirmation .btn-checkout-continue,
#payment-confirmation .btn-primary,
#payment-confirmation button[type="submit"] {
    display: inline-flex;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 3px;
    background: #54AE32;
    color: #FFF;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    max-width: 300px;
}

#payment-confirmation .btn-checkout-continue:hover,
#payment-confirmation .btn-primary:hover,
#payment-confirmation button[type="submit"]:hover {
    background: #3d8125;
}

#payment-confirmation .btn-checkout-continue.disabled,
#payment-confirmation .btn-primary.disabled,
#payment-confirmation button[type="submit"]:disabled {
    background: #CCCCCC;
    cursor: not-allowed;
}

/* Alert message */
#payment-confirmation .js-alert-payment-conditions {
    display: none !important;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 3px;
    font-size: 14px;
}

/* ifthenpay specific styles */
.ifthenpay-payment-info,
.ifthenpay-payment-return {
    font-family: Roboto, sans-serif;
}

.ifthenpay-payment-info p,
.ifthenpay-payment-return p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 150%;
}

/* ========================================
   PAYMENT OPTIONS - SIMPLE DESIGN
   ======================================== */

/* Payment option card */
#checkout-payment-step .payment-options > div > .payment-option {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    min-height: 50px;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #D2D2D2;
    background: #FFF;
}

/* Active payment option card */
#checkout-payment-step .payment-options > div > .payment-option:has(input[type="radio"]:checked) {
    border-radius: 5px;
    border: 2px solid #54AE32;
}

/* Label text */
#checkout-payment-step .payment-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

#checkout-payment-step .payment-option label span {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

#checkout-payment-step .payment-option label img {
    height: 24px;
    width: auto;
}

/* ========================================
   PAYMENT ADDITIONAL INFO (inside card)
   ======================================== */
#checkout-payment-step .payment-option .additional-information {
    width: 100%;
    padding-top: 10px;
    margin-top: 5px;
    border-top: 1px solid #D2D2D2;
}

#checkout-payment-step .payment-option .additional-information p,
#checkout-payment-step .payment-option .multibanco-deadline,
#checkout-payment-step .payment-option .multibanco-notice {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin: 0;
}

.multibanco-payment-info {
    padding: 0;
}

/* ========================================
   MBWAY PAYMENT FORM
   ======================================== */
.mbway-payment-form {
    width: 100%;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid #D2D2D2;
}

.mbway-payment-form .mbway-info-text p,
.mbway-payment-form .mbway-warning-text p {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin: 0;
}

.mbway-payment-form .mbway-phone-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.mbway-payment-form .mbway-country-select {
    width: 100px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid #D2D2D2;
    border-radius: 3px;
    background: #FFF;
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.mbway-payment-form .mbway-phone-input {
    flex: 1;
    max-width: 250px;
    height: 44px;
    padding: 0 15px;
    border: 1px solid #D2D2D2;
    border-radius: 3px;
    background: #FFF;
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.mbway-payment-form .mbway-phone-input:focus,
.mbway-payment-form .mbway-country-select:focus {
    outline: none;
    border-color: var(--checkout-green-dark, #54AE32);
}

.mbway-payment-form .mbway-phone-input::placeholder {
    color: #999;
}

.mbway-payment-form .mbway-warning-text {
    margin-top: 15px;
}

/* Payment option form inside card */
#checkout-payment-step .payment-option .payment-option-form {
    width: 100%;
}

/* Payshop and Credit Card payment info */
.payshop-payment-info,
.creditcard-payment-info {
    padding: 0;
}

.payshop-payment-info p,
.creditcard-payment-info p {
    color: #1A1A1A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin: 0;
}

/* =====================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ===================================================== */
/* =====================================================
   RESPONSIVE - TABLET (max-width: 991px)
   ===================================================== */
@media (max-width: 991px) {

    /* Checkout header - garantir visibilidade */
    .checkout_header {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* ===== TODOS OS CHECKOUT STEPS - LARGURA 100% ===== */
    .checkout-step,
    #checkout-personal-information-step,
    #checkout-addresses-step,
    #checkout-delivery-step,
    #checkout-payment-step {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Layout: coluna direita em baixo */
    #checkout .cart-grid,
    body.cart .cart-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    #checkout .cart-grid-body,
    body.cart .cart-grid-body {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    #checkout .cart-grid-right,
    body.cart .cart-grid-right {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* Remover padding lateral dos containers */
    #checkout .checkout_right_wrapper,
    body.cart .checkout_right_wrapper {
        /* padding-left: 0 !important; */
        /* padding-right: 0 !important; */
    }

    /* Esconder highlightrow no checkout em mobile/tablet */
    #checkout .checkout_right_wrapper .highlightrow,
    #checkout .checkout_right_column .highlightrow,
    body.cart .checkout_right_wrapper .highlightrow,
    body.cart .checkout_right_column .highlightrow,
    #checkout .checkout_right_wrapper .container:has(.highlightrow),
    body.cart .checkout_right_wrapper .container:has(.highlightrow),
    #checkout .checkout_right_column .container:has(.highlightrow),
    body.cart .checkout_right_column .container:has(.highlightrow) {
        display: none !important;
    }

    /* ===== PERSONAL INFORMATION STEP - MOBILE ===== */
    #checkout-personal-information-step .step-title {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    /* Todos os step-title em linha */
    .checkout-step .step-title {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Tabs responsivos - lado a lado */
    #checkout-personal-information-step .sttab_block > .nav-tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 5px;
    }

    #checkout-personal-information-step .sttab_block > .nav-tabs .nav-link {
        flex: 1 !important;
        padding: 12px 15px !important;
        border-radius: 3px 3px 0 0 !important;
        font-size: 13px !important;
        text-align: center !important;
    }

    /* Form fields em coluna */
    #checkout-personal-information-step .form-group.row,
    #checkout-personal-information-step .checkout-login-form-container .row,
    #checkout-personal-information-step #login-form .checkout-login-form-container .row {
        flex-direction: column !important;
    }

    #checkout-personal-information-step .form-group.row > div,
    #checkout-personal-information-step .checkout-login-form-container .row > div,
    #checkout-personal-information-step #login-form .form-group-custom {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #checkout-personal-information-step input[type="text"],
    #checkout-personal-information-step input[type="email"],
    #checkout-personal-information-step input[type="password"],
    #checkout-personal-information-step select {
        width: 100% !important;
    }

    /* ===== ADDRESSES STEP - MOBILE ===== */
    #checkout-addresses-step {
        width: 100% !important;
        /* padding: 15px !important; */
        padding: 12px 15px;
    }

    #checkout-addresses-step .step-title {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 0 0 15px 0 !important;
    }

    /* Títulos dos containers - mobile */
    .checkout-step .step-title .heading_color,
    #checkout-personal-information-step .step-title .heading_color,
    #checkout-addresses-step .step-title .heading_color,
    #checkout-delivery-step .step-title .heading_color,
    #checkout-payment-step .step-title .heading_color {
        color: #1A1A1A !important;
        font-family: Roboto, sans-serif !important;
        font-size: 18px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 130% !important;
    }

    #checkout-addresses-step .content {
        padding: 0 !important;
    }

    /* Address section titles */
    #checkout-addresses-step .address-section-title {
        /* font-size: 14px !important; */
        color: #1A1A1A;
        font-family: Roboto;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 130%;
    }

    #checkout-addresses-step .address-section-subtitle {
        /* font-size: 12px !important; */
        color: #1A1A1A;
        font-family: Roboto;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
    }

    /* Address cards */
    #checkout-addresses-step .address-cards-container {
        width: 100% !important;
    }

    #checkout-addresses-step .address-item {
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    #checkout-addresses-step .address-item .card {
        width: 100% !important;
    }

    #checkout-addresses-step .address-item .card-block {
        padding: 15px !important;
    }

    #checkout-addresses-step .address-item .address {
        /* font-size: 13px !important; */
        /* line-height: 1.4 !important; */
        color: #1A1A1A;
        font-family: Roboto;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
    }

    #checkout-addresses-step .address-item .address-alias {
        color: #1A1A1A;
        font-family: Roboto;
        font-size: 13px;
        font-style: normal;
        font-weight: 600;
        line-height: 130%;
        text-transform: uppercase;
    }

    /* Address buttons */
    #checkout-addresses-step .address-buttons {
        margin-top: 10px !important;
    }

    #checkout-addresses-step .btn-address-edit {
        width: 100% !important;
        text-align: center !important;
        padding: 10px !important;
    }

    /* Add address link */
    #checkout-addresses-step .add-address {
        margin: 15px 0 !important;
    }

    #checkout-addresses-step .add-address a {
        font-size: 13px !important;
    }

    /* Form footer / Continue button */
    #checkout-addresses-step .form-footer {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }

    #checkout-addresses-step .btn-continue {
        width: 100% !important;
    }

    /* ===== DELIVERY STEP - MOBILE ===== */
    #checkout-delivery-step .step-title {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Shipping summary container */
    .shipping-summary-container {
        padding: 15px !important;
        border-radius: 3px;
    }

    /* Shipping group header */
    .shipping-group-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }

    .shipping-group-label {
        width: 150px;
        color: #1A1A1A;
        font-family: Roboto;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
    }

    .shipping-group-price {
        color: #1A1A1A;
        text-align: right;
        font-family: Roboto;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
    }

    /* Product items */
    .shipping-product-item {
        gap: 10px !important;
    }

    .shipping-product-image {
        width: 50px !important;
        height: 50px !important;
    }

    .shipping-product-name {
        font-size: 13px !important;
        line-height: 130% !important;
    }

    .shipping-product-qty {
        font-size: 12px !important;
        color: #666;
    }

    /* Shipping total */
    .shipping-total {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding-top: 15px !important;
        border-top: 1px solid #E6E6E6;
    }

    .shipping-total-label {
        width: 160px;
        color: #1A1A1A;
        font-family: Roboto;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 130%;
    }

    .shipping-total-price {
        color: #1A1A1A;
        text-align: right;
        font-family: Roboto;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 130%;
    }

    /* Continue button */
    #checkout-delivery-step .btn-checkout-continue,
    #checkout-delivery-step button[name="confirmDeliveryOption"] {
        width: 100% !important;
        margin-top: 20px !important;
        margin-bottom: 15px !important;
    }

    /* ===== ADDRESS CARDS - MOBILE ===== */
    #checkout div#invoice-addresses article.selected .card-block,
    #checkout div#delivery-addresses article.selected .card-block,
    #checkout div#invoice-addresses article .card-block,
    #checkout div#delivery-addresses article .card-block,
    .address-item .card-block {
        width: 100% !important;
        max-width: 100% !important;
    }

    .address-item .card {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ===== ADDRESS FORMS - MOBILE ===== */
    .address-form-container {
        width: 100% !important;
        padding: 15px !important;
    }

    .js-address-form .form-control {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Form rows em coluna */
    .address-form-container .address-form-row {
        flex-direction: column !important;
    }

    .address-form-container .address-form-row .col-lg-6,
    .address-form-container .address-form-row .col-lg-6:last-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 15px !important;
    }

    .js-address-form .row.com_grid_view > .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 15px !important;
    }

    /* Form buttons */
    .address-form-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }

    .address-form-buttons .btn-save-address,
    .address-form-buttons .cancel-address,
    .address-form-buttons .js-cancel-address,
    .address-form-buttons #cancel-btn {
        width: 100% !important;
    }

    /* Select dropdowns */
    .js-address-form select.form-control,
    .address-form-container select.form-control {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ===== VOUCHER INPUT GROUP - RESPONSIVE ===== */
    .voucher-input-group,
    body.cart .voucher-input-group {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .voucher-input,
    body.cart .voucher-input {
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 100px) !important;
    }

    .voucher-btn,
    body.cart .voucher-btn {
        width: 90px !important;
        flex-shrink: 0 !important;
    }

}

/* =====================================================
   RESPONSIVE - SMALL MOBILE (max-width: 479px)
   ===================================================== */
@media (max-width: 479px) {
    #checkout-personal-information-step .sttab_block > .nav-tabs {
        flex-direction: column;
    }
    body#checkout section.checkout-step .content {
        padding: 15px 20px;
    }

    /* Delivery step - small mobile */
    #checkout-delivery-step,
    #checkout-payment-step {
        padding: 15px;
    }

    /* Remove padding do delivery step content */
    body#checkout section#checkout-delivery-step .content {
        padding: 0 !important;
    }

    /* Remove padding do payment step content */
    body#checkout section#checkout-payment-step .content {
        padding: 0 !important;
    }

    /* Remove padding do shipping summary container */
    .shipping-summary-container {
        padding: 0 !important;
    }

    /* Remove padding do step-title do delivery step */
    #checkout-delivery-step .step-title.flex_container {
        padding: 0 !important;
    }

    /* ===== PAYMENT STEP - MOBILE ===== */

    #checkout-payment-step .payment-options {
        width: 100% !important;
    }

    #checkout-payment-step .payment-options > div {
        width: 100% !important;
    }

    #checkout-payment-step .payment-options > div > .payment-option {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px !important;
    }

    #checkout-payment-step .payment-option .additional-information {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    #checkout-payment-step .payment-option .additional-information p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* MB Way phone input responsivo */
    .mbway-payment-form {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .mbway-payment-form .mbway-phone-group {
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }

    .mbway-payment-form .mbway-country-select,
    #ifthenpayMbwayPhoneCode {
        width: 80px !important;
        min-width: 80px !important;
        flex-shrink: 0 !important;
    }

    .mbway-payment-form .mbway-phone-input,
    #ifthenpayMbwayPhone {
        flex: 1 !important;
        width: calc(100% - 90px) !important;
        max-width: calc(100% - 90px) !important;
        box-sizing: border-box !important;
    }
    #checkout-personal-information-step .sttab_block > .nav-tabs .nav-link.active {
        border-bottom: 2px solid #E6E6E6;
    }
    #checkout-personal-information-step .sttab_block > .nav-tabs{
        border:none;
    }
}

/* =====================================================
   UNREACHABLE STEPS - MOBILE FIX
   ===================================================== */
@media (max-width: 991px) {
    /* Steps unreachable - alinhamento uniforme no mobile */
    .checkout-step.-unreachable,
    #checkout-payment-step.-unreachable,
    #checkout-delivery-step.-unreachable,
    #checkout-addresses-step.-unreachable {
        padding: 15px;
    }

    .checkout-step.-unreachable .step-title,
    #checkout-payment-step.-unreachable .step-title,
    #checkout-delivery-step.-unreachable .step-title,
    #checkout-addresses-step.-unreachable .step-title {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .checkout-step.-unreachable .step-title .heading_color,
    #checkout-payment-step.-unreachable .step-title .heading_color,
    #checkout-delivery-step.-unreachable .step-title .heading_color,
    #checkout-addresses-step.-unreachable .step-title .heading_color {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #999 !important;
    }
}

/* =====================================================
   VALIDAÇÃO: feedback visual nos campos com erro
   ===================================================== */
.address-form-container .form-group.has-error .form-control {
    border-color: #dc3545;
}
.address-form-container .form-group.has-error .form-control-label {
    color: #dc3545;
}

.order-confirmation #main > .card{
    padding: 15px;
    margin:auto;
    border:none;
    background-color:#ffffff;
    margin-bottom: 1rem;
}
.order-confirmation #main > .card form{
    width: fit-content;
}