/* ========================================
   CART & CHECKOUT SHARED STYLES
   ======================================== */

:root {
    --primary-blue: #242F66;
    --success-green: #1D8802;
    --light-green: #f0fdf4;
    --border-gray: #e2e8f0;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

body {
    background-color: #f8fafc;
}

/* ========================================
   CART PAGE STYLES
   ======================================== */

.cart-header-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Savings Banner */
.savings-banner {
    background: linear-gradient(90deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bdf2d5;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #15803d;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.savings-banner img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    scale: 2;
}
.brand-name{
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 4px;
}
/* Cart Item Card */
.cart-item-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    gap: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.cart-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.cart-item-media {
    width: 120px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.brand-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.product-name {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 12px;
}

.item-offer-text {
    color: var(--primary-blue);
    font-size: 13px;
    margin-bottom: 8px;
}

.shipping-status {
    color: var(--success-green);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.item-controls {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.selector-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.selector-btn:hover {
    border-color: var(--text-dark);
    background: #f8fafc;
}

.item-pricing {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 13px;
}

.saved-amount {
    color: var(--success-green);
    font-size: 12px;
    font-weight: 600;
}

.remove-item {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
}

/* Summary Section */
.summary-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    padding: 32px;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.offer-banner-sidebar {
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background: #f8fafc;
}

.apply-coupon-btn {
    background: var(--primary-blue);
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    border: none;
    cursor: pointer;
}

.summary-title-main {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    color: var(--text-dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-dark);
}
.body-moda{
    padding:30px;
}

.summary-row.total-row {
    border-top: 1px solid var(--border-gray);
    margin-top: 15px;
    padding-top: 15px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 16px;
}

.summary-row .value {
    color: var(--text-dark);
    font-weight: 500;
}

.summary-row .savings-value {
    color: var(--success-green);
}

.free-delivery-badge {
    background: var(--light-green);
    color: var(--success-green);
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    margin: 20px 0;
    font-size: 13px;
}

.proceed-btn {
    background: linear-gradient(135deg, #242F66 0%, #1a224d 100%);
    color: white;
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(36, 47, 102, 0.25);
}

.proceed-btn:hover {
    box-shadow: 0 6px 20px rgba(36, 47, 102, 0.35);
    background: linear-gradient(135deg, #2d3b80 0%, #242F66 100%);
}

/* Trust Icons */
.trust-icons {
    display: flex;
    justify-content: space-around;
    padding: 25px 0;
    border-top: 1px solid var(--border-gray);
    margin-top: 10px;
}

.trust-item {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.trust-item i {
    font-size: 28px;
    color: #64748b;
    margin-bottom: 5px;
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #ffffff;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
    letter-spacing: -0.3px;
}

.modal-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f8fafc;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.modal-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

.modal-body {
    padding: 24px !important;
}

.qty-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 25px !important;
}

.qty-option {
    border: 1px solid #d1d5db;
    border-radius: 50px;
    height: 44px;
    min-width: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
}

.qty-option:hover {
    border-color: var(--primary-blue);
    background: #f8fafc;
}

.qty-option.selected {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Modal Action Button */
.modal-action-btn {
    background: var(--text-dark);
    color: white;
    width: 200px;
    display: block;
    margin: 0 auto;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.modal-action-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Coupon Modal Refinement */
.coupon-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.coupon-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s;
}

.coupon-input-group input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(36, 47, 102, 0.1);
}

.coupon-apply-btn {
    background: var(--primary-blue);
    color: white !important;
    border: none;
    font-weight: 700;
    padding: 15px 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 12px;
}

.coupon-apply-btn:hover {
    background: var(--text-dark);
}

.coupon-card-mini {
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s;
}

.coupon-card-mini:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.coupon-card-code {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
    border: 1px dashed #059669;
}

.coupon-card-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 500;
}
.checkout{
        margin: 40px 0;
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

.breadcrumb-nav {
    margin-bottom: 20px;
    background: white;
    border-bottom: 1px solid var(--border-gray);
}

.checkout-main-container {
    padding-top: 20px;
    padding-bottom: 40px;
}

/* Section Headers */
.section-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}
.section-title i{
        font-size: 30px;
}
.add-new-btn {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 13px;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
}

/* Order Summary Card */
.summary-card-new {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    overflow: hidden;
    margin-bottom: 25px;
}

.summary-header-mobile {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.summary-header-mobile i {
    font-size: 25px;
    transition: transform 0.3s;
}

.summary-header-mobile.collapsed i {
    transform: rotate(-180deg);
}

.summary-content-body {
    padding: 0 20px 20px 20px;
}

.summary-item-row {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.summary-item-img {
    width: 60px;
    height: 80px;
    border-radius: 6px;
    background: #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
}

.summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-details {
    flex: 1;
}

.summary-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.summary-item-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.summary-item-price-p {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Price Breakdown */
.price-breakdown {
    padding: 20px 0 0 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #000;
}

.price-row.total-pay {
    border-top: 1px solid var(--border-gray);
    margin-top: 15px;
    padding-top: 15px;
    font-weight: 800;
    color: var(--text-dark);
    font-size: 16px;
}

.price-row .value-p {
    color: var(--text-dark);
    font-weight: 600;
}

.price-row .value-p.free {
    color: var(--success-green);
}

/* Address Cards */
.address-card-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.address-card-label {
    display: block;
    background: white;
    border: 1px dashed var(--border-gray);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.address-card-input {
    display: none;
}

.address-card-input:checked + .address-card-label {
    border-style: solid;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(36, 47, 102, 0.1);
}

.selection-checkmark {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--primary-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 5;
}

.address-card-input:checked + .address-card-label .selection-checkmark {
    display: flex;
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.user-name-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    text-transform: capitalize;
}

.address-actions {
    display: flex;
    gap: 15px;
 font-size: 15px;
    font-weight: 700;
}

.action-edit {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-delete {
    color: #ef4444;
}

.address-full-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 15px;
}

.contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-pill {
    background: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sticky Bottom Mobile Bar */
.mobile-continue-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px 25px 20px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
    z-index: 5;
    display: none;
}

.continue-btn-mobile {
    background: var(--primary-blue);
    color: white;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal Styling (Checkout specific) */
.modal-dialog {
    max-width: 550px;
}

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.modal-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control-new {
    height: 50px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    width: 100%;
}

.form-control-new:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(36,47,102,0.1);
}

.save-address-btn {
    background: var(--primary-blue);
    color: white;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
    border: none;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Payment Option Cards */
.payment-methods-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
}

.payment-radio-input { 
    display: none; 
}

.payment-card-label {
    display: block; 
    border: 1px solid var(--border-gray); 
    border-radius: 8px; 
      padding: 9px 15px;
    text-align: center; 
    cursor: pointer; 
    font-weight: 700; 
    font-size: 15px;
    transition: all 0.25s ease;
    background: white;
    position: relative;
}

.payment-radio-input:checked + .payment-card-label {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 10px 20px rgba(36, 47, 102, 0.2);
    transform: translateY(-2px);
}

.payment-radio-input:checked + .payment-card-label::after {
    content: '\e812';
    font-family: "molla";
    position: absolute;
    top: -10px;
    right: -10px;
    background: #4ade80;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.address-type-badge {
    background: #eef2ff;
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 10px;
    border: 1px solid rgba(36, 47, 102, 0.1);
}
.back-welcome{
    font-size: 18px; color: var(--text-dark); margin-bottom: 25px; display: flex; justify-content: space-between; align-items: center;
}
.selection-checkmark i{
        position: absolute;
    left: 28%;
    top: 31%;

}
/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Mobile View Overrides - Cart */
@media (max-width: 767px) {
    .cart-header-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .body-moda{
    padding:30px;
}

    .continue-btn-mobile {
    padding: 10px;
    font-size: 14px;
}
    .back-welcome {
gap:10px;
font-size:15px;
    flex-direction: column;
}
.checkout{
        margin: 10px 0;
}
.save-address-btn {
    padding: 5px;
    font-weight: 500;
    font-size: 14px;
}
.payment-card-label{
        font-size: 12px;
}
.selection-checkmark{
      left: -4px;  
}
.checkout-main-container{
    padding-bottom:0px;
}
.checkout-card-new{
    margin-top:40px;
}
    .cart-item-card {
        padding: 12px;
        gap: 15px;
        align-items: flex-start;
        flex-direction: row;
    }

    .cart-item-media {
        width: 80px;
        height: 110px;
        flex-shrink: 0;
    }

    .cart-item-info {
        padding-right: 25px;
    }

    .brand-name {
        font-size: 13px;
    }

    .product-name {
        font-size: 12px;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
    }

    .item-controls {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .selector-btn {
        font-size: 1.1rem;
        padding: 5px 10px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
    }

    .item-pricing {
        position: absolute;
        bottom: 12px;
        right: 12px;
        text-align: right;
        justify-content: flex-end;
    }

    .current-price {
        font-size: 15px;
    }

    .original-price {
        font-size: 1.1rem;
    }

    .saved-amount {
        font-size: 1.1rem;
        display: block;
        margin-top: 2px;
    }

    .remove-item {
        top: 10px;
        right: 10px;
        font-size: 14px;
    }



    .savings-banner {
        border-radius: 4px;
        padding: 10px 15px;
        font-size: 12px;
    }

    /* Mobile Sticky Navigation */
    .mobile-sticky-nav {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        z-index: 5000;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    }

    .nav-savings-bar {
        background: #00B852;
        color: white;
        padding: 8px 15px;
        text-align: center;
        font-size: 13px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .nav-savings-bar img {
             scale: 2;
        width: 25px;
        height: 25px;
    
    }

    .nav-main-action {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px 25px 15px;
    }

    .price-details-trigger {
        display: flex;
        flex-direction: column;
    }

    .nav-total-price {
        font-size: 20px;
        font-weight: 800;
        color: #1e293b;
    }

    .nav-view-details {
        color: #1c6c9e;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .nav-proceed-btn {
        background: #242F66;
        color: white;
        padding: 14px 35px;
        border-radius: 6px;
        font-weight: 800;
        font-size: 16px;
        border: none;
        letter-spacing: 0.5px;
    }
    
    main.main {
        padding-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .mobile-sticky-nav {
        display: none !important;
    }
}

/* ========================================
   MODERN CHECKOUT ENHANCEMENTS (BS5)
   ======================================== */

:root {
    --checkout-bg: #f8fafc;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --primary-blue: #242F66;
    --primary-hover: #1a224a;
    --accent-blue: #3b82f6;
}

.checkout-main-container {
    background-color: var(--checkout-bg);
    padding: 40px 0 80px;
}

/* Stepper UI */
.checkout-stepper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 80px;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.step-item.active .step-number {
    background: var(--primary-blue);
    color: white;
}
.step-label {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
}
.step-item.active .step-label {
    color: var(--primary-blue);
}

/* Cards */
.checkout-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--card-shadow);
    padding: 35px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.section-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Address Grid */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}
.address-box {
    position: relative;
    cursor: pointer;
}
.address-radio {
    display: none;
}
.address-label {
    display: block;
    padding: 25px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    background: white;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}
.address-radio:checked + .address-label {
    border-color: var(--primary-blue);
    background: #f8fbff;
    box-shadow: 0 4px 12px rgba(36, 47, 102, 0.08);
}
.address-type-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: inline-block;
}
.address-radio:checked + .address-label .address-type-tag {
    background: var(--primary-blue);
    color: white;
}
.address-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
.address-details {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}
.address-contact {
    font-size: 16px;
    color: #4b5563;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.address-contact span{
        display: flex;
    align-items: center;
    color: #4b5563;
}
.address-contact span i {
    width: 20px;
    color: #4b5563;
}

.address-actions {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    gap: 15px;
}
.action-btn {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    transition: color 0.2s;
    text-decoration: none !important;
}
.action-btn:hover {
    color: var(--primary-blue);
}
.action-btn.delete:hover {
    color: #ef4444;
}

/* Payment Methods */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.payment-item {
    position: relative;
}
.payment-radio {
    display: none;
}
.payment-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
        height: 100%;
            justify-content: center;
    padding: 20px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.payment-radio:checked + .payment-label {
    border-color: var(--primary-blue);
    background: #f8fbff;
    box-shadow: 0 4px 12px rgba(36, 47, 102, 0.08);
}
.payment-icon {
    font-size: 32px;
    color: #94a3b8;
}
.payment-radio:checked + .payment-label .payment-icon {
    color: var(--primary-blue);
}
.payment-text {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

/* Summary Sidebar */
.summary-sidebar {
    position: sticky;
    top: 100px;
}
.summary-items {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
    margin: 25px 0;
}
.summary-items::-webkit-scrollbar {
    width: 6px;
}
.summary-items::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.summary-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.item-mini {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.item-mini:last-child {
    border: none;
}
.item-mini-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.item-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item-mini-info {
    flex: 1;
}
.item-mini-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.item-mini-meta {
    font-size: 14px;
    color: var(--primary-blue);
    display: flex;
    gap:20px;
}

/* Price Summary Row */
.price-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    color: #242F66;
}
.price-summary-row.total {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f1f5f9;
    font-weight: 800;
    font-size: 22px;
    color: #1e293b;
}
.text-success-green {
    color: #059669;
}

/* Buttons */
.btn-place-order {
    background: var(--primary-blue);
    color: white;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 18px;
    border: none;
    text-align:center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(36, 47, 102, 0.2);
}
.btn-place-order:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(36, 47, 102, 0.3);
}

/* New Address Button */
.btn-new-address {
    background: transparent;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 35px;
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
    color: #64748b;
    text-decoration: none !important;
}
.btn-new-address:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #f8fbff;
}
.btn-new-address i {
    font-size: 32px;
}

/* Modals */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 15px 35px;
}
.modal-title {
    font-size: 22px;
}
.modal-body {
    padding: 10px 35px !important;
}
.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 10px;
}
.form-control-premium {
    height: 55px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}
.form-control-premium:focus {
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(36, 47, 102, 0.1);
}

@media (max-width: 991px) {
    .checkout-main-container {
        padding: 20px 0 120px;
    }
    .address-grid {
        grid-template-columns: 1fr;
    }
    .summary-sidebar {
        position: static;
        margin-top: 40px;
    }
    .mobile-continue-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }
}

@media(max-width:767px){
    .payment-grid {
    display: flex;
    flex-direction:column;
    gap: 20px;
}
.payment-label {
    padding: 14px;

}
.summary-items {;
    margin: 20px 0;
}
.item-mini-meta {
    font-size: 14px;
    color: #242F66;
    display: flex;
    font-weight:bold;
    gap: 22px;
    justify-content: flex-start;
}
}
