/* Price visibility */
/*.hideablePrice {
    display: none;
}
.show-prices .hideablePrice {
    display: inline;
}*/

/* Search functionality */
.simple-search {
    display: block;
}
.advanced-search-active .advanced-search {
    display: flex;
}
.advanced-search-active .simple-search {
    display: none;
}
.simple-search-active .advanced-search {
    display: none;
}
.simple-search-active .simple-search {
    display: flex;
}

/* WhatsApp icon */
.whatsapp-icon {
    color: #25D366;
}

/* Debug info */
.debug-info {
    background: yellow;
    padding: 10px;
    margin: 10px;
}

/* Top bar styles */
.top-bar {
    font-size: 0.875rem;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Swiper styles */
.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
}

/* Sticky navbar */
.navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Logo styles */
.logo-image {
    max-height: 40px;
    width: auto;
}

/* Search box styles */
.search-box {
    flex: 1;
    max-width: 500px;
    margin: 0 1rem;
}

.search-box .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.search-box .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Button animations */
.animate-shake:hover {
    animation: shake 0.5s ease-in-out;
}

.animate-pulse:hover {
    animation: pulse 0.5s ease-in-out;
}

.animate-scale:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.modal .modal-dialog.modal-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.modal-bottom .modal-content {
    border-radius: 0;
    width: 100%;
}

.modal-bottom .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    min-height: 56px; /* Ensures a minimum height to prevent collapsing */
}

.modal-bottom .modal-body .d-flex {
    width: 100%;
    justify-content: center;
}

/* Prevents the body from shifting when the modal is open */
body.modal-open {
    padding-right: 0 !important;
}

/* Optional: Ensure consistent scrollbar presence */
html {
    overflow-y: scroll;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 0.5s ease-in-out;
} 