* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    border: none;
    background-color: transparent;
}

:root {
    --bs-carousel-indicator-active-bg: var(--primary-color);
    --bs-primary: var(--primary-color) !important;
}

.nav-link {
    color: rgba(18, 18, 18, 1);
    padding: 0 !important;
    margin: 0.25rem 0.5rem;
    width: fit-content;
}

.nav-link:hover,
.nav-link.active {
    font-weight: 400 !important;
    color: var(--secondary-color) !important;
}

.language-selector {
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.nav-section-bottom {
    margin-inline: 5%;
}

.navbar > .container {
    width: 40%;
}

@media (max-width: 756px) {
    .language-selector {
        margin-top: 10px;
        padding: 0 9px;
    }

    #carouselHero {
        height: 40dvh;
        overflow: hidden;
    }

    /* .nav-link.active {
        color: #121212 !important;
        width: 100%;
        margin: 0.5rem 0;
        background-color: #ef8d2441;
    } */

    /* #navbarNav0 {
        height: 100vh;
    } */

    #navbarNav0 > div {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .navbar > .container {
        width: 100%;
    }

    .nav-section-bottom {
        background-color: rgba(18, 18, 18, 0.03);
        align-items: start !important;
        width: 100%;
        margin-inline: 0;
    }

    .navbar {
        background: #fff !important;
    }

    .language-selector button {
        font-size: 21px;
    }

    .language-selector svg {
        width: 25px;
    }

    .nav-item.active {
        background: #ef8d2470;
    }

    #navbarNav0 .nav-link {
        font-size: 21px;
    }

    .navbar-nav {
        margin-top: 20px;
    }

    #navbarNav0 > div {
        align-items: start !important;
    }
}

.disclosure-button {
    background: transparent;
    border-bottom: 1px solid transparent;
    font-size: 14px;
    color: rgba(18, 18, 18, 1);
    transition: 0.3s border-color ease;
}

.disclosure-button:hover {
    border-color: rgba(18, 18, 18, 1);
}

.icon-caret {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
}

.disclosure-button[aria-expanded="true"] .icon-caret {
    transform: rotate(180deg);
}

.disclosure-list-wrapper {
    position: absolute;
    top: calc(100% + 5px);
    inset-inline-start: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: 160px;
    z-index: 100;
}

.disclosure-link {
    display: block;
    margin: 12px;
    text-underline-offset: 5px;
    text-decoration-color: transparent;
    color: #333;
}

.disclosure-link:hover,
.disclosure-link.active {
    text-decoration-color: var(--secondary-color);
    color: var(--secondary-color);
}

.search-btn {
    --f: 18px;
    font-size: var(--f);
    padding: 12px 10px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.search-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 99999;
}

.search-bar input {
    border: 1px solid var(--secondary-color);
}

.search-bar input[type="search"]::-webkit-search-decoration,
.search-bar input[type="search"]::-webkit-search-cancel-button,
.search-bar input[type="search"]::-webkit-search-results-button,
.search-bar input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.search-bar input::-ms-clear {
    display: none;
}

.search-bar input[type="search"] {
    -moz-appearance: textfield;
}

#searchBtn {
    position: absolute;
    padding: 0 15px;
    top: 50%;
    inset-inline-end: 10px;
    transform: translateY(-50%);
    color: var(--secondary-color);
    background: transparent;
}

@media (max-width: 768px) {
    .navbar-nav {
        width: 100%;
    }
}

.carousel-inner {
    height: 600px;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 100%;
}

.carousel-caption {
    bottom: 30%;
}

.button-outline {
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 0;
    font-size: 20px;
    transition: all 0.3s ease;
}

.button-outline:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.button-main {
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    color: var(--light-color);
    background: var(--primary-color);
    border-radius: 0;
    font-size: 20px;
    transition: all 0.3s ease;
}

.button-main:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

.product-card * {
    transition: all 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card:hover .card-title {
    text-decoration: underline;
}

footer {
    background: var(--primary-color);
    color: var(--light-color);
}

footer .nav-link {
    color: var(--light-color);
    text-decoration: none;
}

footer .nav-link:hover {
    text-decoration: underline;
}

.social-links a {
    transition: 0.3s;
    color: var(--light-color);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* WhatsApp floating chat button */
.social-chat-icons {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* allow inner anchor to control clicks */
}

.social-chat-icons > div {
    pointer-events: auto;
    /* background: var(--primary-color, #25D366); */
    border-radius: 50%;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.social-chat-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.social-chat-icons img.chat-image-shadow {
    display: block;
    width: 35px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
    /* border-radius: 50%; */
    background: transparent;
}

/* Hover / focus effects */
.social-chat-icons > div:hover,
.social-chat-icons a:focus-visible {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
    outline: none;
}

/* Accessibility focus ring */
.social-chat-icons a:focus-visible {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12),
        0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Small screens */
@media (max-width: 576px) {
    .social-chat-icons {
        bottom: 70px;
        left: 13px;
    }

    .social-chat-icons > div {
        padding: 8px;
    }

    .social-chat-icons img.chat-image-shadow {
        width: 32px;
    }

    footer .nav-link {
        margin-inline-start: 0;
    }
}
