.summary-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    z-index: 10;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1399px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
}


.card-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.3s ease;
}

.card-item:hover .card-image {
    transform: scale(1.05);
}

.card-details {
    padding: 1.25rem;
    border-top: 1px solid #f1f3f4;
}

.card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    height:45px;
    display: flex;
    align-items: center;
}

.card-type {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.card-footer {
    display: flex;
    align-items: center;
    margin-top: -3rem;
    justify-content: flex-end;
}

.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #081A2E;
}

.remove-btn {
    background: #fff;
    border: 1px solid #e53e3e;
    color: #e53e3e;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #e53e3e;
    color: #fff;
    transform: scale(1.1);
}

.cart-header {
    background: linear-gradient(135deg, #081A2E 0%, #2d3748 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cart-count {
    background: #4fd1c7;
    color: #2d3748;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.address-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #e9ecef;
    display: none;
}

.cpf-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #e9ecef;
    display: none;
}

.address-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.address-title i {
    color: #4fd1c7;
    font-size: 1.6rem;
}

.address-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.address-item {
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.address-item:hover {
    border-color: #4fd1c7;
    background: #f0fdfa;
    transform: scale(0.98);
}

.address-item.selected {
    border-color: #4fd1c7;
    background: #f0fdfa;
    box-shadow: 0 4px 12px rgba(79, 209, 199, 0.2);
}

.address-details {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a5568;
}

.address-details strong {
    color: #2d3748;
    font-size: 1rem;
}

.btn-add-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    color: #4a5568;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.btn-add-address:hover {
    background: #e2e8f0;
    border-color: #4fd1c7;
    color: #2d3748;
    transform: translateY(-2px);
}

.address-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #fdcb6e;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.address-warning i {
    font-size: 1.5rem;
    color: #e17055;
}

.checkout-btn {
    background: linear-gradient(135deg, #081A2E 0%, #2d3748 100%);
    border: none;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: white;
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(8, 26, 46, 0.4);
    color: white;
}

.checkout-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.alert-custom {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-warning-custom {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #fdcb6e;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-header {
        padding: 1rem;
        text-align: center;
    }
    
    .address-section, .cpf-section {
        padding: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card-image-container {
    position: relative;
    display: block;
}

.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 9;
}

.card-image-container:hover .overlay-icon {
    opacity: 1;
}

.card-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 26, 46, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    cursor: pointer;
}

.card-image-container:hover::before {
    opacity: 1;
}

#modal-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25em;
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.shipping-info {
    font-size: 0.9rem;
}

.coupon-section {
    border-top: 1px dashed #dee2e6;
    padding-top: 1rem;
    margin-top: 1rem;
}

.coupon-input-group {
    transition: all 0.3s ease;
}

.coupon-success {
    color: #198754;
    font-weight: 500;
}

.coupon-error {
    color: #dc3545;
}

.toggle-section {
    margin-bottom: 1rem;
}

.toggle-header {
    cursor: pointer;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.toggle-header:hover {
    color: #007bff;
}

.toggle-header.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.toggle-header.disabled:hover {
    color: inherit;
}

.toggle-content {
    display: none;
    margin-top: 0.5rem;
}

.coupon-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.cpf-valid {
    border-color: #198754 !important;
}

.cpf-invalid {
    border-color: #dc3545 !important;
}

.international-shipping {
    color: #dc3545;
    font-weight: 500;
}

.delivery-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.international-notice {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left: 4px solid #17a2b8;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.international-notice i {
    color: #17a2b8;
    font-size: 1.2rem;
}

/* NOVOS ESTILOS PARA DESCONTOS */
.discount-line {
    color: #dc3545;
    font-weight: 600;
}

.savings-badge {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    justify-content: center;
}

.item-discount-badge {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

.original-price-line {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 0.9rem;
}

.current-price-emphasis {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
}

.item-savings {
    font-size: 0.8rem;
    color: #38a169;
    font-weight: 600;
    margin-top: 4px;
}

.summary-discount {
    color: #dc3545;
    font-weight: 600;
}

.original-total-line {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Ajustes para exibição de preços nos cards */
.card-pricing-mini {
    display: flex;
    /* flex-direction: column; */
    gap: 2px;
    margin-bottom: 8px;
    align-items: center;
}

.card-price-original {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 0.8rem;
}

.card-price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: #081A2E;
}

.card-discount-badge {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 4px;
}

/* ===============================
   COUPON INPUT - INKMANA STYLE
   Cor principal: #0B233F
=================================*/

.coupon-input-wrapper {
    position: relative;
}

/* INPUT */
#coupon-code.form-control {
    border-radius: 50px;
    padding-right: 60px;
    height: 48px;
    border: 1px solid rgba(11, 35, 63, 0.25);
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

#coupon-code.form-control:focus {
    border-color: #0B233F;
    box-shadow: 0 0 0 3px rgba(11, 35, 63, 0.15);
}

/* BOTÃO REDONDO */
#apply-coupon.btn {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #0B233F, #133a66);
    border: none;
    color: #fff;

    transition: all 0.25s ease;
    z-index: 3;
}

/* HOVER */
#apply-coupon.btn:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 14px rgba(11, 35, 63, 0.35);
}

/* ACTIVE */
#apply-coupon.btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* DISABLED */
#apply-coupon:disabled {
    background: #c5cbd3;
    cursor: not-allowed;
    box-shadow: none;
}

/* NOVOS SCRIPTS CHECKOUT STEPS */

   /* Estilos para o accordion (mantidos originais) */
    .accordion-button:not(.collapsed) {
        background-color: #f8f9fa;
        color: #000;
    }
    .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(0,0,0,.125);
    }
    .booster-list-item {
        display: flex;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid #eee;
        background: #fff;
    }
    .booster-list-item:last-child {
        border-bottom: none;
    }
    .booster-image {
        width: 60px;
        height: 60px;
        object-fit: contain;
        margin-right: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 5px;
        background: #fff;
    }
    .booster-details {
        flex: 1;
    }
    .booster-name {
        font-weight: 600;
        margin-bottom: 4px;
    }
    .booster-price {
        color: #28a745;
        font-weight: 500;
    }
    .booster-quantity {
        background: #e9ecef;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.9rem;
    }
    .booster-subtotal {
        font-weight: 600;
        color: #007bff;
    }
    .booster-actions {
        margin-left: 15px;
    }
    .remove-booster {
        color: #dc3545;
        background: none;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
    }

    /* NOVOS ESTILOS PARA SEÇÃO DE FRETE (mantidos) */
    .shipping-options-container {
        margin: 20px 0;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #dee2e6;
    }
    .shipping-option-item {
        display: flex;
        align-items: center;
        padding: 12px;
        margin-bottom: 8px;
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s;
    }
    .shipping-option-item:hover {
        border-color: #0d6efd;
        background: #f0f7ff;
    }
    .shipping-option-item.selected {
        border-color: #0d6efd;
        background: #e7f1ff;
        box-shadow: 0 0 0 2px rgba(13,110,253,0.1);
    }
    .shipping-option-item input[type="radio"] {
        margin-right: 12px;
        width: 18px;
        height: 18px;
    }
    .shipping-option-details {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .shipping-company {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .shipping-company img {
        width: 50px;
        height: auto;
        object-fit: contain;
    }
    .shipping-price {
        font-weight: 600;
        font-size: 1.1rem;
        color: #198754;
    }
    .free-shipping-message-checkout {
        background: #d1e7dd;
        color: #0f5132;
        padding: 10px 15px;
        border-radius: 6px;
        margin-bottom: 15px;
    }
    .missing-free-shipping {
        color: #856404;
        background: #fff3cd;
        padding: 8px 12px;
        border-radius: 6px;
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .empty-cart-icon {
        font-size: 64px;
        display: block;
        margin: 0 auto 12px;
    }

    /* ===== STEPS CHECKOUT (mantido o comportamento das divs de conteúdo) ===== */
.checkout-step {
    display: none;
    animation: fadeIn 0.35s ease;
}

.checkout-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= FREE SHIPPING ================= */
.free-shipping-highlight {
    background: linear-gradient(120deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.15);
}

.free-shipping-highlight i {
    font-size: 1.4rem;
    color: #059669;
}

/* ================= STEPPER ================= */

/* ================= TABS CLEAN COM ÍCONES ================= */

.stepper-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 2rem;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid #e9ecef;
}

/* ITEM */
.step-circle-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: unset;
    cursor: pointer;
    padding: 12px 2px;
    position: relative;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.25s ease;
}

/* REMOVE visual de círculo */
.step-circle {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ÍCONE */
.step-circle i {
    font-size: 16px;
    opacity: 0.7;
    transition: all 0.25s ease;
}

/* LABEL */
.step-label {
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

/* HOVER */
.step-circle-item:hover {
    color: #0a1c2d;
}

.step-circle-item:hover i {
    opacity: 1;
    transform: translateY(-1px);
}

/* ACTIVE */
.step-circle-item.active {
    color: #0a1c2d;
    font-weight: 600;
}

/* ÍCONE ATIVO */
.step-circle-item.active i {
    opacity: 1;
    transform: scale(1.05);
}

/* UNDERLINE BASE */
.step-circle-item::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #0a1c2d;
    transition: width 0.3s ease;
}

/* UNDERLINE ATIVO */
.step-circle-item.active::after {
    width: 100%;
}

/* COMPLETED (verde clean, sem exagero) */
.step-circle-item.completed {
    color: #198754;
}

.step-circle-item.completed i {
    color: #198754;
    opacity: 1;
}

/* RESPONSIVO */
@media (max-width: 576px) {
    .stepper-wrapper {
        gap: 18px;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .step-circle-item {
        white-space: nowrap;
        font-size: 0.85rem;
    }

    .step-circle i {
        font-size: 14px;
    }
}

/* =========================================================
   INKMANA 20260812 MOBILE CART HEADER ALIGNMENT
   Mantém contador e "Clear all" com a mesma geometria do dark.
   ========================================================= */
.checkout-page-shell .cart-header .text-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
.checkout-page-shell .cart-header :is(.cart-count, #clear-cart-btn) {
    min-height: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .86rem !important;
    font-weight: 700;
    line-height: 1 !important;
}
@media (max-width: 768px) {
    .checkout-page-shell .cart-header .text-end {
        justify-content: center;
        align-content: center;
    }
    .checkout-page-shell #clear-cart-btn {
        vertical-align: middle;
        transform: none !important;
    }
}

