html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card {
    max-width: 500px;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease-out;
}

    .success-icon i {
        font-size: 3rem;
        color: white;
    }

@@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-message {
    color: #6c757d;
    margin-bottom: 2rem;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.letter-spacing {
    letter-spacing: 2px;
}

.product-item {
    transition: all 0.2s ease;
}

    .product-item:hover {
        background-color: #fff !important;
        border-color: var(--bs-primary) !important;
    }

.quantity-box {
    transition: all 0.2s ease;
}

.product-item:hover .quantity-box {
    border-color: var(--bs-primary) !important;
}

.product-image {
    transition: transform 0.2s ease;
}

.product-item:hover .product-image {
    transform: scale(1.05);
}

.btn-quantity:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}

.quantity-value.updated {
    animation: pulse 0.3s ease-in-out;
}

@@media (max-width: 768px) {
    .product-image {
        width: 60px !important;
        height: 60px !important;
    }

    .product-item {
        flex-wrap: wrap;
    }

        .product-item > div:last-child {
            width: 100%;
            justify-content: space-between;
            margin-top: 0.75rem;
        }

        .product-item .d-flex.flex-column {
            flex-direction: row !important;
        }
}