/* start: Global Styles */
*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", Helvetica, sans-serif;
    background-color: #ffffff;
    color: #000000;
}
input,
textarea,
select,
button {
    font-family: inherit;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #545454;
}
.breadcrumb-item > a {
    text-decoration: none;
    color: inherit;
}
.breadcrumb-item+.breadcrumb-item::before {
    color: inherit;
}
.breadcrumb-item.active {
    color: #54AD99;
}
/* end: Global Styles */

/* start: Navbar */
.navbar {
    background-color: #fff;
    padding: 24px 0;
    box-shadow: 0px 4px 4px 0px #d3d3d340;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 20;
}
.navbar-wrapper,
.navbar-left,
.navbar-right,
.navbar-link {
    display: flex;
    align-items: center;
}
.navbar-wrapper {
    gap: 32px;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
.navbar-left {
    gap: 32px;
}
.navbar-logo-img {
    height: 20px;
    display: block;
}
.navbar-link {
    gap: 32px;
}
.navbar-link-item {
    color: #545454;
    text-decoration: none;
    font-size: 14px;
}
.navbar-link-item:hover {
    color: #43a391;
}
.navbar-link-item.active {
    color: #43a391;
    font-weight: 600;
}
.navbar-search {
    max-width: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}
.navbar-search-form {
    position: relative;
    width: 100%;
}
.navbar-search-input {
    width: 100%;
    border: 1px solid #d9d9d9;
    height: 40px;
    padding: 0 16px;
    padding-right: 40px;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}
.navbar-search-input:focus {
    border-color: #b3b3b3;
    box-shadow: 0 0 0 4px #f2f4f7;
}
.navbar-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #b3b3b3;
    background-color: transparent;
    cursor: pointer;
    border: none;
    pointer-events: none;
}
.navbar-right {
    gap: 8px;
}
.navbar-menu,
.navbar-menu-overlay {
    display: none;
}
.navbar-menu-trigger,
.navbar-search-close,
.navbar-search-trigger {
    display: none !important;
}
.navbar-account-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px;
}
.navbar-product-autocomplete-item {
    padding: 8px 16px;
    cursor: pointer;
    background-color: transparent;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.navbar-product-autocomplete-item:last-child {
    border-bottom: none;
}
.navbar-product-autocomplete-item-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
.navbar-product-autocomplete-item-label {
    font-size: 14px;
    min-width: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.navbar-product-autocomplete-item:hover {
    background-color: #f2f4f7;
}
/* end: Navbar */

/* start: Footer */
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
    border-top: 1px solid #dddddd;
}
.footer .footer-top {
    padding-top: 50px;
}
.footer .footer-about .logo img {
    margin-right: 6px;
    max-width: 100%;
    max-height: 100%;
}
.footer .footer-about .logo span {
    color: black;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}
.footer .footer-about .logo span strong {
    color: var(--main-color);
}
.footer .footer-about p {
    font-size: 14px;
}
.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    transition: 0.3s;
}
.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}
.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
}

.footer .footer-links {
    margin-bottom: 30px;
}
.site-description {
    width: 84%;
}
.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}
.footer .footer-links ul li {
    display: flex;
    align-items: center;
}
.footer .footer-links ul li:first-child {
    padding-top: 0;
}
.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    display: inline-block;
    line-height: 2;
}
.footer .footer-links ul a:hover {
    color: var(--accent-color);
}
.footer .footer-contact p {
    margin-bottom: 5px;
}
.footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}
.footer .copyright p {
    margin-bottom: 0;
}
.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}
#footer a:hover {
    color: var(--main-color);
}
/* end: Footer */

/* start: Dropdown */
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0px 4px 4px 0px #d3d3d340;
    border-radius: 8px;
    margin-top: 8px;
    min-width: 200px;
    display: none;
}
.dropdown.active .dropdown-menu {
    display: block;
}
/* end: Dropdown */

/* start: Autocomplete */
.autocomplete {
    position: relative;
}
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 4px 4px 0px #d3d3d340;
    border-radius: 8px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    padding: 8px 0;
    border: 1px solid #e0e0e0;
}
.autocomplete-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    background-color: transparent;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}
.autocomplete-item:last-child {
    border-bottom: none;
}
.autocomplete-item:hover {
    background-color: #f2f4f7;
}
/* end: Autocomplete */

/* start: Button */
/* Base */
.btn {
    border: none;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    border-radius: 8px;
    height: 40px;
    background-color: transparent;
    color: #000000;
    transition-property: box-shadow, background-color, color, border-color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

/* Disabled */
.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Button Small */
.btn-sm {
    padding: 4px 12px;
    height: 32px;
    font-size: 12px;
    line-height: 18px;
}

/* Button Large */
.btn-lg {
    padding: 12px 20px;
    height: 48px;
    font-size: 16px;
    line-height: 24px;
}

/* Button Icon */
.btn-icon {
    padding: 0;
    height: 40px;
    width: 40px;
}

/* Button Icon Small */
.btn-icon.btn-sm {
    height: 32px;
    width: 32px;
}

/* Button Icon Large */
.btn-icon.btn-lg {
    height: 48px;
    width: 48px;
}

/* Primary */
.btn-primary {
    color: #ffffff;
    background-color: #54ad99;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.btn-primary:hover {
    background-color: #459684;
}
.btn-primary:active,
.btn-primary:focus-visible {
    box-shadow: 0 0 0 4px #f1fffd;
}

/* Outline */
.btn-outline {
    border: 1px solid #d0d5dd;
    background-color: #ffffff;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.btn-outline:hover {
    background-color: #f9fafb;
}
.btn-outline:active,
.btn-outline:focus-visible {
    box-shadow: 0 0 0 4px #f2f4f7;
}

/* Outline Light */
.btn-outline-light {
    border: 1px solid #d0d5dd;
    background-color: transparent;
    color: #ffffff;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.btn-outline-light:hover {
    background-color: #f9fafb;
    color: #000000;
}
.btn-outline-light:active,
.btn-outline-light:focus-visible {
    box-shadow: 0 0 0 4px #f2f4f7;
}

/* Soft Primary */
.btn-soft-primary {
    color: #459684;
    background-color: #f8fffe;
}
.btn-soft-primary:hover {
    background-color: #f1fffd;
}
.btn-soft-primary:active,
.btn-soft-primary:focus-visible {
    box-shadow: 0 0 0 4px #e9d7fe;
}

/* Ghost */
.btn-ghost:hover {
    background-color: #f9fafb;
}
.btn-ghost:active,
.btn-ghost:focus-visible {
    box-shadow: 0 0 0 4px #f2f4f7;
}

/* Link */
.btn-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.btn-link:active,
.btn-link:focus-visible {
    box-shadow: 0 0 0 4px #f2f4f7;
}
/* end: Button */

/* start: Breakpoints */
@media (max-width: 1200px) {
    .navbar-link {
        display: none;
    }
    .navbar-search-close,
    .navbar-search-trigger {
        display: inline-flex !important;
    }
    .navbar-search {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-width: unset;
        height: 100%;
        background-color: #fff;
        display: none;
    }
    .navbar-search.active {
        display: flex;
    }
}
@media (max-width: 991px) {
    .navbar-action-desktop {
        display: none;
    }
    .navbar-menu-trigger {
        display: inline-flex !important;
    }
    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: calc(100vw - 80px);
        height: 100%;
        max-width: 300px;
        background-color: #ffffff;
        z-index: 30;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 16px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    .navbar-menu.active {
        transform: translateX(0);
    }
    .navbar-menu-item {
        color: #545454;
        text-decoration: none;
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 10px;
    }
    .navbar-menu-item:hover {
        background-color: #f2f4f7;
    }
    .navbar-menu-item.active {
        color: #43a391;
        font-weight: 600;
        background-color: #f8fffe;
    }
    .navbar-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 20;
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    .navbar-menu.active + .navbar-menu-overlay {
        opacity: 1;
        visibility: visible;
    }
    .navbar-menu-divider {
        height: 1px;
        background-color: #e0e0e0;
        margin: 8px 0;
    }
}
@media (max-width: 576px) {
    .navbar {
        padding: 16px 0;
    }
    .navbar-wrapper {
        gap: 16px;
    }
    .navbar-logo-img {
        height: 16px;
    }
}
/* end: Breakpoints */
