.cart-item-quantity button {
    padding: 11px 20px !important;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    contain: layout style;
}

.contact-text{
    margin: 50px 0;
}

.contact-text > p{
    margin-top: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 17px !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Hardware accelerate animations */
.submit-btn {
    position: relative;
    padding: 12px 24px;
    background-color: #D0A652;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    transform: translateZ(0);
    will-change: background-color;
}

.submit-btn:disabled {
    cursor: not-allowed;
}

.submit-btn:hover {
    background-color: #93753a;
}

.cafe-container{
    position: absolute;
    z-index: -1;
    right: -200px;
    top: 300px;
}

.cafe-container img {
    animation: float 3s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.cafe-container img:nth-child(1) {
    animation-delay: 0s;
}

.cafe-container img:nth-child(2){
    position: relative;
    top: -50px;
    animation-delay: 0.5s;
}

.cafe-container img:nth-child(3){
    position: relative;
    top: -100px;
    animation-delay: 1s;
}

.cafe-container:nth-child(3){
    position: absolute;
    top: 250px;
}

@media (prefers-reduced-motion: reduce) {
    .cafe-container img {
        animation: none;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.toast.success {
    background-color: #4CAF50;
}

.toast.error {
    background-color: #f44336;
}

.toast.show {
    opacity: 1;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 10px;
        margin: 20px auto;
    }
}


@media screen and (max-width: 1230px){
    .cafe-container{
        position: absolute;
        z-index: -1;
        right: 0px;
        top: 300px;
    }

    .cafe-container img:nth-child(1){
        width: 50px;
    }

    .cafe-container img:nth-child(2){
        width: 50px;
    }
    
    .cafe-container img:nth-child(3){
        width: 50px;
    }
}