/* Cart Slide */
.cart-slide {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Change from right to left */
    width: 300px;
    background: #fff;
    padding: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    border: 2px solid #ff4747;
}


/* Cart Content */
.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.total-items {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Cart Buttons (Specific) */
.cart-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

/* View Cart Button */
.cart-buttons .view-cart {
    background: #ff4747;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s ease-in-out;
}

.cart-buttons .view-cart:hover {
    background: #d93d3d;
}

/* Close Cart Button */
.cart-buttons .close-cart {
    background: #ddd;
    color: #333;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s ease-in-out;
}

.cart-buttons .close-cart:hover {
    background: #bbb;
}

/* Hide Cart Initially */
.cart-slide.hide {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}


/* Footer Styling */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}
.site-footer {
    color: #ddd;
    padding: 15px;
    font-size: 14px; 
}
.site-footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px;
    gap: 20px;
}
.site-footer .contact-info {
    flex: 1;
    min-width: 200px;
    background: white;
    box-shadow: 0px 2px 4px white;
    border-radius: 8px;
    text-align: left;
}
.site-footer .contact-info h3 {
    margin-top: 20px;
    font-size: 16px;
    color: black;
    font-weight: bold;
}
.site-footer .contact-info p {
    color: black;
    font-size: 14px;
    margin: 5px 0;
    margin-left: 48px;
}
.site-footer .contact-info h3 img {
    margin-right: 6px;
    margin-left: 10px;
    width: 25px;
    height: 25px;
    vertical-align: middle;
}
.site-footer .contact-form {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px white;
}
.site-footer .contact-form h3 {
    color: black;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
.site-footer .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    margin: 0 auto;
}
.site-footer .contact-form input, 
.site-footer .contact-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 14px;
    /* background: white; */
    /* color: white; */
}
.site-footer .contact-form input::placeholder, 
.site-footer .contact-form textarea::placeholder {
    color: black;
}
.site-footer .contact-form button {
    padding: 10px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}
.site-footer .contact-form button:hover {
    background: #388E3C;
}
.site-footer .map-container {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}
.site-footer iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 5px;
}
.site-footer .get-directions {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 12px;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
}
.site-footer .get-directions:hover {
    background: #388E3C;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-content: center;
    padding: 0 10px;
}

.product-card {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .custom-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .site-footer {
        font-size: 13px;
        padding: 10px;
    }
    .site-footer .footer-container {
        flex-direction: column;
        text-align: left;
        gap: 10px;
    }
    .site-footer .contact-form {
        padding: 10px;
    }
    .site-footer .contact-form input, 
    .site-footer .contact-form textarea {
        padding: 6px;
        font-size: 12px;
    }
    .site-footer .contact-form button {
        padding: 8px;
        font-size: 12px;
    }
    .site-footer .map-container {
        margin-top: 10px;
    }
    .site-footer iframe {
        height: 200px;
    }
    .custom-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}