.cart-hero {
    background: linear-gradient(135deg, #0a5899 0%, #0a5899 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.cart-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cart-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.cart-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0a5899, #0a5899);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.item-details h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.item-parameters {
    color: #0a5899;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.item-features {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.feature-badge {
    background: #f0f8ff;
    color: #0a5899;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #0a5899;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #0a5899;
    background: white;
    color: #0a5899;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #0a5899;
    color: white;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    font-weight: 600;
}

.remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #dc3545;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #f8d7da;
    color: #721c24;
}

.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.summary-row.total {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 700;
}

.promo-code {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.promo-input {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.promo-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.promo-input input[readonly] {
    background: #f8f9fa;
    cursor: not-allowed;
}

.promo-clear-btn {
    padding: 12px 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-clear-btn:hover {
    background: #c82333;
}

.promo-btn {
    padding: 12px 20px;
    background: #0a5899;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.promo-btn:hover {
    background: #0a5899;
}

.checkout-btn {
    width: 100%;
    background: #0a5899;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.checkout-btn:hover {
    background: #0a5899;
}

.empty-cart {
    text-align: center;
    padding: 60px 0;
    background: white;
    border-radius: 12px;
}

.empty-cart i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h3 {
    color: #333;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #666;
    margin-bottom: 30px;
}

.continue-shopping {
    background: #0a5899;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.continue-shopping:hover {
    background: #0a5899;
    color: white;
}

.empty-cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-cart-actions .continue-shopping {
    display: inline-flex;
    align-items: center;
    min-width: 160px;
    justify-content: center;
}

.security-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

.security-badges i {
    color: #0a5899;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-hero {
        padding: 40px 0;
    }

    .cart-hero h1 {
        font-size: 28px;
    }

    .cart-hero p {
        font-size: 16px;
    }

    .cart-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .item-image {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .item-details h5 {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .item-parameters {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .item-features {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 8px;
    }

    .feature-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .item-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .current-price {
        font-size: 18px;
    }

    .original-price {
        font-size: 14px;
    }

    .discount-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .quantity-controls {
        justify-content: flex-start;
        margin-top: 15px;
        gap: 8px;
    }

    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .quantity-input {
        width: 50px;
        padding: 6px;
        font-size: 14px;
    }

    .remove-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-top: 10px !important;
    }

    /* Mobile delete button positioning */
    .d-md-none.remove-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        margin-top: 0 !important;
        z-index: 2;
        background: rgba(220, 53, 69, 0.1);
        border: 1px solid #dc3545;
    }

    .cart-summary {
        margin-top: 20px;
        padding: 20px;
        position: static;
    }

    .summary-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .summary-row {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .summary-row.total {
        font-size: 16px;
    }

    .promo-input {
        flex-direction: column;
        gap: 8px;
    }

    .promo-input input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .promo-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .checkout-btn {
        padding: 12px;
        font-size: 15px;
    }

    .security-badges {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        margin-top: 15px;
    }

    .empty-cart {
        padding: 40px 20px;
    }

    .empty-cart i {
        font-size: 48px;
    }

    .empty-cart h3 {
        font-size: 20px;
    }

    .empty-cart p {
        font-size: 14px;
    }

    .empty-cart-actions {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .empty-cart-actions .continue-shopping {
        width: 100%;
        max-width: 250px;
    }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .cart-item {
        padding: 12px;
    }

    .cart-item .row {
        margin: 0;
    }

    .cart-item .col-3,
    .cart-item .col-9,
    .cart-item .col-6 {
        padding: 0 5px;
    }

    .item-image {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin: 0 auto;
    }

    .item-details h5 {
        font-size: 14px;
        line-height: 1.3;
    }

    .item-parameters {
        font-size: 11px;
    }

    .feature-badge {
        font-size: 9px;
        padding: 2px 4px;
    }

    .current-price {
        font-size: 16px;
    }

    .quantity-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .quantity-input {
        width: 45px;
        padding: 4px;
        font-size: 12px;
    }

    .remove-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
        position: absolute;
        top: 10px;
        right: 10px;
        margin-top: 0 !important;
    }

    .cart-summary {
        padding: 15px;
    }

    .summary-title {
        font-size: 16px;
    }

    .summary-row {
        font-size: 13px;
    }

    /* Mobile-specific improvements */
    .checkout-btn {
        position: sticky;
        bottom: 0;
        margin: 15px -15px -15px -15px;
        border-radius: 0;
        font-size: 16px;
        padding: 18px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .promo-input button .fas {
        font-size: 14px;
    }

    .summary-title i {
        color: #0a5899;
    }
}

/* Tablet Responsive (768px to 992px) */
@media (min-width: 769px) and (max-width: 991px) {
    .cart-item {
        padding: 22px;
    }

    .item-image {
        width: 70px;
        height: 70px;
        font-size: 22px;
    }

    .item-details h5 {
        font-size: 17px;
    }

    .current-price {
        font-size: 22px;
    }

    .cart-summary {
        padding: 25px;
    }
}