html {
    font-size: 14px;
}


.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%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-menu {
        margin-top: 0;
    }
}

.mega-dropdown {
    position: static !important;
}

    .mega-dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.mega-menu {
    width: 600px;
    left: auto !important;
    right: 0 !important;
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
    overflow: hidden;
    display: block !important;
}


.store-option {
    position: relative;
    height: 250px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.store-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: all 0.3s ease;
}

.store-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px 10px;
    color: white;
    z-index: 2;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

    .store-content h3 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .store-content p {
        opacity: 0.9;
        font-size: 0.9rem;
    }

.store-option:hover {
    transform: translateY(-5px);
}

    .store-option:hover .store-image {
        transform: scale(1.05);
    }

    .store-option:hover .store-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    .store-option:hover .store-content {
        transform: translateY(0);
    }

.physical-store {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 767.98px) {
    html {
        font-size: 16px;
    }

    .mega-menu {
        width: 100%;
    }

    .store-option {
        height: 150px;
        margin-top: 10px;
    }

    .store-content h3 {
        font-size: 1.2rem;
    }

    .mega-dropdown .dropdown-menu {
        position: relative !important;
        transform: none !important;
        left: 0 !important;
    }

    .store-image {
        max-height: 150px;
        object-fit: cover;
        width: 100%;
    }

    .store-content {
        padding: 0.5rem;
    }

    .store-option {
        margin-bottom: 10px;
    }

    .whatsapp-support {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

        .whatsapp-btn i {
            font-size: 20px;
        }

}



.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

.object-fit-cover {
    object-fit: cover;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #f8f9fa;
    max-height:750px;
}

    .product-card:hover {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }

.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    max-width: 300px;
    max-width: 300px;
}

    .product-buttons .btn span {
        font-size: 14px;
        white-space: nowrap;
    }

    .product-buttons .btn img {
        width: 40px !important;
        height: auto;
        object-fit: contain !important;
    }

    .product-buttons .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.95);
        border: 1px solid #eee;
        transition: all 0.3s ease;
        height: 70px;
    }

        .product-buttons .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

@media (min-width: 992px) {
    .hover-effect {
        position: relative;
        overflow: hidden;
    }

    .desktop-buttons {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease;
    }

    .hover-effect:hover .desktop-buttons {
        opacity: 1;
    }

    .mobile-buttons {
        display: none !important;
    }
    .hover-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s;
        z-index: 10;
    }

    a:hover .hover-overlay {
        opacity: 1;
    }

 }


.product-card.h-100 {
    display: flex;
    flex-direction: column;
}

    .product-card.h-100 .card-image {
        flex: 1 1 auto;
        height: 90%;
    }

        .product-card.h-100 .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

@media (max-width: 991px) {
    .mobile-buttons {
        display: block !important;
        background: #f8f9fa;
    }

    .desktop-buttons {
        display: none !important;
    }

    .product-buttons {
        align-items: center;
        max-width:100% !important;
    }

    .mega-dropdown:hover .mega-menu {
        display: none !important;
    }

    .mega-dropdown .mega-menu.show {
        display: block !important;
    }

    .mega-menu {
        position: static !important;
        width: 100% !important;
    }

    .store-option {
        margin-bottom: 10px;
    }
}

.card-body {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .card-title a:hover {
        color: #007bff;
    }

@media (min-width: 992px) {
    .mobile-buttons {
        display: none !important;
    }
}

.whatsapp-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

    .whatsapp-btn:hover {
        background-color: #128C7E;
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-btn i {
        font-size: 24px;
    }

.card-img-top {
    transition: transform 0.5s ease;
}

.hover-effect:hover .card-img-top {
    transform: scale(1.05);
}

.card {
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

#searchModal .modal-content {
    border-radius: 10px;
}

#searchInput {
    padding: 10px 15px;
    border-radius: 5px 0 0 5px;
}

#searchButton {
    border-radius: 0 5px 5px 0;
}

.highlight-term {
    background-color: yellow;
    font-weight: bold;
    padding: 2px 4px;
}

.search-highlight {
    animation: blink 0.4s alternate 3;
    outline: 2px solid #ff9800;
    border-radius: 3px;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hover-effect:hover .hover-overlay {
    opacity: 1;
}

@keyframes blink {
    from {
        background-color: #fff3cd;
    }

    to {
        background-color: #ffe8a1;
    }
}
