body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(ellipse at center, #001a33 0%, #000000 70%);
    background-attachment: fixed;
    color: #b8c5d6;
    line-height: 1.6;
    min-height: 100vh;
}

.cart-section {
    min-height: 80vh;
    padding: 40px 0 80px;
}
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b98a9;
    font-weight: 600;
    transition: all 0.3s;
}

.step.active .step-number {
    background: rgba(93, 185, 255, 0.2);
    border-color: #5db9ff;
    color: #5db9ff;
}

.step.completed .step-number {
    background: rgba(39, 174, 96, 0.2);
    border-color: #27ae60;
    color: #27ae60;
    font-size: 20px;
}

.step-label {
    color: #8b98a9;
    font-size: 14px;
}

.step.active .step-label {
    color: #5db9ff;
}

.step.completed .step-label {
    color: #27ae60;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 16px;
}

.step-line.completed {
    background: #27ae60;
}
/* ==================
   EMPTY CART STATE
   ================== */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: rgba(21, 25, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin: 40px auto;
    max-width: 600px;
}

.empty-icon {
    font-size: 100px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-cart h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-cart p {
    color: #8b98a9;
    font-size: 16px;
    margin-bottom: 32px;
}

/* ==================
   CART GRID
   ================== */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 20px;
}

/* ==================
   CART ITEMS
   ================== */
.cart-items {
    background: rgba(21, 25, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.cart-items-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-items-header h2 {
    color: #fff;
    font-size: 20px;
    margin: 0;
}

/* ==================
   CART ITEM
   ================== */
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.cart-item:hover {
    background: rgba(93, 185, 255, 0.05);
}

.cart-item:last-child {
    border-bottom: none;
}

/* Cart Item Image */
.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
}

/* Cart Item Details */
.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cart-item-description {
    color: #8b98a9;
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.cart-item-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.item-price-single {
    color: #5db9ff;
    font-size: 15px;
    font-weight: 600;
}

.billing-period {
    color: #8b98a9;
    font-size: 13px;
    font-weight: 400;
}

/* Quantity Controls */
.cart-item-quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.cart-item-quantity label {
    color: #8b98a9;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(93, 185, 255, 0.1);
    color: #5db9ff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: rgba(93, 185, 255, 0.2);
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
}

/* Cart Item Total */
.cart-item-total {
    text-align: right;
    min-width: 120px;
}

.item-total-label {
    color: #8b98a9;
    font-size: 12px;
    margin-bottom: 4px;
}

.item-total-price {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

/* Remove Button */
.cart-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: scale(1.1);
}

/* ==================
   CART ACTIONS BOTTOM
   ================== */
.cart-actions-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
}

.btn-continue {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    color: #b8c5d6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-continue:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-clear {
    padding: 12px 24px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-clear:hover {
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.5);
}

/* ==================
   CART SUMMARY
   ================== */
.cart-summary {
    background: rgba(21, 25, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    height: fit-content;
    position: sticky;
    top: 30px;
}

.summary-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-header h2 {
    color: #fff;
    font-size: 20px;
    margin: 0;
}

.summary-content {
    padding: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #b8c5d6;
    font-size: 15px;
}

.summary-row span:last-child {
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 16px 0;
}

.summary-total {
    font-size: 18px;
    color: #fff;
    padding-top: 16px;
}

.summary-total span:last-child {
    font-size: 24px;
    font-weight: 700;
    color: #5db9ff;
}

.summary-info {
    text-align: center;
    margin: 16px 0 24px;
}

.summary-info small {
    color: #8b98a9;
    font-size: 12px;
}

/* Checkout Button */
.btn-checkout {
    display: block;
    width: 100%;
    padding: 16px;
    background: #5db9ff;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-checkout:hover {
    background: #4da8ee;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 185, 255, 0.4);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8b98a9;
    font-size: 13px;
}

.trust-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1200px) {
    .cart-grid {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 1024px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 16px;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-quantity,
    .cart-item-total,
    .cart-item-remove {
        grid-column: 1 / -1;
        justify-content: flex-start;
        text-align: left;
    }
    
    .cart-item-quantity {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .cart-item-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .cart-item-remove {
        padding-bottom: 0;
    }
    
    .remove-btn {
        width: 100%;
        height: 44px;
        justify-content: center;
    }
    
    .cart-actions-bottom {
        flex-direction: column;
    }
    
    .btn-continue,
    .btn-clear {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cart-section {
        padding: 20px 0 40px;
    }
    
    .cart-item {
        padding: 16px;
    }
    
    .summary-content {
        padding: 16px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
}
