* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .2rem 10rem;
    background-color: #002366;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-top .social {
    display: flex;
    gap: 0.75rem;
}

.header-top .social li {
    list-style: none;
    /* background: white; */
    border-radius: 1rem;
}

.header-top .social a img {
    width: 1.6rem;
    height: 1.6rem;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-top .social a:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

.logo {
    height: 3.5rem;
}

.search {
    height: 1.5rem;
}

.match {
    width: 1.5rem;
    background: white;
    border-radius: 1rem;
}

header {
    background: #fff;
    padding: .5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 0%;
}

.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 0 10rem;
}

nav {
    background: #e8e9eb;
    width: 100vw;
}

.nav-links {
    display: flex;
    list-style: none;
    transition: right .4s ease, left .4s ease;
    justify-content: center;
    font-family: 'Belleza', sans-serif;
}

.nav-links li {
    position: relative;
    margin-left: 2rem;
}

.nav-links a {
    color: #555;
    padding: 4px 0;
    display: block;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #002366;
}

a {
    text-decoration: none;
    color: inherit;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    border-radius: 4px;
    overflow: hidden;
    animation: fadeIn .3s ease;
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content a {
    padding: 8px 16px;
    white-space: nowrap;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    z-index: 1100;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #555;
    transition: all .3s;
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* footer icons */
.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list li {
    margin-bottom: 8px;
}

.social-list a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.social-icon {
    width: 1.4rem;
    height: 1.4rem;
    margin-right: 8px;
    vertical-align: middle;
}

/* SEARCH OVERLAY */
#search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    z-index: 1000;
}

#search-box {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#search-input {
    width: 100%;
    border: none;
    padding: 12px;
    font-size: 1rem;
    box-sizing: border-box;
}

#search-input:focus {
    outline: none;
}

#search-results {
    max-height: 300px;
    overflow-y: auto;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    border-top: 1px solid #eee;
}

.search-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
}

.search-item h4 {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 100;
}

.search-item p {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: #666;
}

.search-item:hover {
    background: #f9f9f9;
}

.search-item div {
    display: flex;
    flex-direction: column;
}

.product-id {
    font-size: 0.75rem;
    color: #999;
    margin: 2px 0 4px;
}

footer {
    background: #002365;
    color: #ccc;
    padding: 2rem;
    display: flex;
    justify-content: space-evenly;
}

footer h3 {
    color: #fff;
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 8px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .col {
        padding-bottom: 1rem;
    }
}

#whatsapp-btn,
#toTop {
    position: fixed;
    right: 20px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: opacity .4s, transform .4s, bottom .4s ease;
    z-index: 1000
}

#whatsapp-btn {
    bottom: 1rem;
    background: #25D366;
    color: #fff;
}

#toTop {
    bottom: 20px;
    background: #1565c0;
    color: #fff;
    opacity: 0;
    transform: translateY(50px);
}

#toTop.visible {
    opacity: 1;
    transform: translateY(0);
}

#toTop.hide {
    opacity: 0;
    transform: translateY(-50px);
}

input[type="email"] {
    padding: .5rem;
    border: brown;
    border-radius: .5rem;
    min-width: 13rem;
}


.exit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #000000;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 6px 12px rgba(0, 0, 0, 0.04);
}

.exit-btn:hover,
.exit-btn:focus {
    background-color: #333333;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exit-btn:disabled {
    background-color: #d0d3d6;
    cursor: not-allowed;
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}


@media(max-width:1024px) {

    header {
        padding: .8rem;
    }
}

@media(max-width:768px) {
    header {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        padding: .8rem;
    }

    .header {
        padding: 0 .5rem;
    }

    .header-top {
        padding: .2rem 1rem;
    }

    nav {
        width: auto !important;
        background: none;
    }

    .nav-links {
        scroll-snap-type: none;
        justify-content: flex-start;
    }

    #subscribe input {
        width: 100%;
        margin-bottom: 12px;
    }
}

@media(max-width:768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        height: 100%;
        width: 45%;
        max-width: 300px;
        background: #fff;
        flex-direction: column;
        padding-top: 80px;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        border-radius: .5rem;
    }

    .logo {
        height: 3.5rem;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        margin: .5rem;
        text-align: center;
    }

    .burger {
        display: flex;
    }
}