@keyframes tgwv-header-stacked-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tgwv-header-stacked {
    background-color: #ffffff;
    position: relative;
    z-index: auto;
}

.tgwv-header-stacked__main {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.tgwv-header-stacked__logo img {
    max-height: 60px;
    display: block;
}

.tgwv-header-stacked__search {
    max-width: 600px;
}

.tgwv-header-stacked__search .input-group {
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #ced4da;
}

.tgwv-header-stacked__search-input {
    border: none !important;
    box-shadow: none !important;
}

.tgwv-header-stacked__search-input:focus {
    border-color: var(--tgwv-header-stacked-accent, #198754) !important;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--tgwv-header-stacked-accent, #198754) 15%, transparent) !important;
}

.tgwv-header-stacked__search-btn {
    border: none !important;
    border-radius: 0 25px 25px 0 !important;
    padding-left: 20px;
    padding-right: 20px;
    color: var(--tgwv-header-stacked-accent, #198754) !important;
    border-color: var(--tgwv-header-stacked-accent, #198754) !important;
}

.tgwv-header-stacked__search-btn:hover {
    background-color: var(--tgwv-header-stacked-accent, #198754);
    color: #ffffff !important;
}

.tgwv-header-stacked__search .form-control {
    border-color: var(--tgwv-header-stacked-accent, #198754);
}

.tgwv-header-stacked__action-btn {
    width: 38px;
    height: 38px;
    border: 1.5px solid #000;
    border-radius: 50%;
    color: #000;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tgwv-header-stacked__action-btn:hover {
    background-color: var(--tgwv-header-stacked-accent, #198754);
    border-color: var(--tgwv-header-stacked-accent, #198754);
    color: #ffffff !important;
}

.tgwv-header-stacked__lang button::after {
    display: none;
}

.tgwv-header-stacked__login-text-sm {
    font-size: 13px;
}

.tgwv-header-stacked__cart-badge {
    font-size: 0.6rem;
}

.tgwv-header-stacked__empty-cart-icon {
    font-size: 26px;
}

.tgwv-header-stacked__cart-btn-action {
    font-size: 12px;
    padding: 6px 0;
}

.tgwv-header-stacked__flag-icon {
    width: 20px;
    height: auto;
}

.tgwv-header-stacked .dropdown-menu {
    background-color: #ffffff;
}

.tgwv-header-stacked__lang:hover .dropdown-menu {
    display: block;
    animation: tgwv-header-stacked-fade-in 0.2s ease-in-out;
    z-index: 1030;
}

.tgwv-header-stacked__lang .tgwv-header-stacked__action-btn img {
    display: block;
    border-radius: 2px;
}

.tgwv-header-stacked__account {
    position: relative;
}

.tgwv-header-stacked__login-box {
    width: 280px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px;
    margin-top: 10px !important;
    right: 0 !important;
    left: auto !important;
}

.tgwv-header-stacked__login-box::before {
    content: "";
    position: absolute;
    top: -15px;
    right: 0;
    width: 100%;
    height: 15px;
    background-color: transparent;
}

.tgwv-header-stacked__account:hover .tgwv-header-stacked__login-box,
.tgwv-header-stacked__account:focus-within .tgwv-header-stacked__login-box {
    display: block;
    animation: tgwv-header-stacked-fade-in 0.2s ease-in-out;
    z-index: 1030;
}

.tgwv-header-stacked__login-input {
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.tgwv-header-stacked__login-input:focus {
    border-color: var(--tgwv-header-stacked-accent, #198754);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--tgwv-header-stacked-accent, #198754) 15%, transparent);
}

.tgwv-header-stacked__cart {
    position: relative;
}

.tgwv-header-stacked__cart-box {
    width: 320px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px;
    margin-top: 10px !important;
    right: 0 !important;
    left: auto !important;
}

.tgwv-header-stacked__cart-box::before {
    content: "";
    position: absolute;
    top: -15px;
    right: 0;
    width: 100%;
    height: 15px;
    background-color: transparent;
}

.tgwv-header-stacked__cart:hover .tgwv-header-stacked__cart-box,
.tgwv-header-stacked__cart:focus-within .tgwv-header-stacked__cart-box {
    display: block;
    animation: tgwv-header-stacked-fade-in 0.2s ease-in-out;
    z-index: 1030;
}

.tgwv-header-stacked__nav-desktop {
    --tgwv-header-stacked-menu-accent: #198754;
    background-color: #cecece;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tgwv-header-stacked__menu-desktop .nav-link {
    font-size: 14px;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.tgwv-header-stacked__menu-desktop .nav-link:hover,
.tgwv-header-stacked__menu-desktop .nav-link:focus {
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
}

.tgwv-header-stacked__menu-desktop .nav-link.active,
.tgwv-header-stacked__menu-desktop .nav-link.active:hover,
.tgwv-header-stacked__menu-desktop .nav-link.active:focus {
    background-color: transparent !important;
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
}

.tgwv-header-stacked__menu-desktop .dropdown-item {
    font-size: 14px;
    text-transform: none;
    padding: 0.5rem 1rem;
    color: #212529;
}

.tgwv-header-stacked__menu-desktop .dropdown-item:hover,
.tgwv-header-stacked__menu-desktop .dropdown-item:focus {
    background-color: #f8f9fa !important;
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
}

.tgwv-header-stacked__menu-desktop .dropdown-item.active,
.tgwv-header-stacked__menu-desktop .dropdown-item.active:hover,
.tgwv-header-stacked__menu-desktop .dropdown-item.active:focus,
.tgwv-header-stacked__menu-desktop .dropdown-item:active {
    background-color: #f8f9fa !important;
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
}

.tgwv-header-stacked__menu-desktop .dropdown-toggle::after {
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.tgwv-header-stacked__menu-desktop .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
}

.tgwv-header-stacked__menu-desktop .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: tgwv-header-stacked-fade-in 0.2s ease-in-out;
}

.tgwv-header-stacked__menu-desktop .dropend {
    position: relative;
}

.tgwv-header-stacked__menu-desktop .dropend:hover > .dropdown-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -8px;
}

.tgwv-header-stacked__menu-desktop .dropend .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.tgwv-header-stacked__menu-desktop .dropend .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: auto;
}

.tgwv-header-stacked__menu-desktop .dropend:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
}

.tgwv-header-stacked .offcanvas-header,
.tgwv-header-stacked__offcanvas-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 10;
    border-bottom: 1px solid #f0f0f0;
}

.tgwv-header-stacked__offcanvas-title {
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.tgwv-header-stacked__offcanvas-body {
    padding-top: 1rem;
}

.tgwv-header-stacked__mobile-toolbar {
    margin-bottom: 1.5rem !important;
}

.tgwv-header-stacked__mobile-search {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}

.tgwv-header-stacked__mobile-search .form-control.border-success,
.tgwv-header-stacked__mobile-search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 1%;
    border-color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    font-size: 14px;
    padding: 0.5rem 0.75rem;
    box-shadow: none !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.tgwv-header-stacked__mobile-search .form-control.border-success:focus {
    border-color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    box-shadow: none !important;
    z-index: 3;
}

.tgwv-header-stacked__mobile-search .tgwv-header-stacked__mobile-search-btn,
.tgwv-header-stacked__mobile-search .btn-success {
    flex: 0 0 auto;
    --bs-btn-bg: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    --bs-btn-border-color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    --bs-btn-hover-bg: color-mix(in srgb, var(--tgwv-header-stacked-menu-accent, #198754) 85%, #000) !important;
    --bs-btn-hover-border-color: color-mix(in srgb, var(--tgwv-header-stacked-menu-accent, #198754) 85%, #000) !important;
    --bs-btn-active-bg: color-mix(in srgb, var(--tgwv-header-stacked-menu-accent, #198754) 75%, #000) !important;
    --bs-btn-active-border-color: color-mix(in srgb, var(--tgwv-header-stacked-menu-accent, #198754) 75%, #000) !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-color: #fff !important;
    background-color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    border-color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    color: #ffffff !important;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.tgwv-header-stacked__language {
    font-size: 14px;
    color: #212529;
    white-space: nowrap;
    flex-shrink: 0;
}

.tgwv-header-stacked__mobile-lang {
    align-items: flex-start;
}

@media (min-width: 360px) {
    .tgwv-header-stacked__mobile-lang {
        align-items: center;
    }
}

.tgwv-header-stacked__mobile-lang-options {
    flex: 1;
    min-width: 0;
}

.tgwv-header-stacked__mobile-lang-link {
    font-size: 13px;
    line-height: 1.2;
    padding: 0.35rem 0.55rem !important;
    border-color: #dee2e6 !important;
    background-color: #ffffff;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.tgwv-header-stacked__mobile-lang-link:hover,
.tgwv-header-stacked__mobile-lang-link:focus {
    border-color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
}

.tgwv-header-stacked__mobile-lang-link.is-current {
    border-color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
}

.tgwv-header-stacked__menu-mobile {
    --tgwv-header-stacked-menu-accent: #198754;
}

.tgwv-header-stacked__menu-mobile .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s ease;
    color: #212529 !important;
    text-transform: uppercase;
    font-size: 1rem;
}

.tgwv-header-stacked__menu-mobile .nav-link:hover,
.tgwv-header-stacked__menu-mobile .nav-link:focus {
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
}

.tgwv-header-stacked__menu-mobile .nav-link.active,
.tgwv-header-stacked__menu-mobile .nav-link.active:hover,
.tgwv-header-stacked__menu-mobile .nav-link.active:focus {
    background-color: transparent !important;
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
}

.tgwv-header-stacked__menu-mobile .dropdown-item {
    font-size: 14px;
    text-transform: none;
    padding: 10px 1rem;
    transition: color 0.2s ease;
    color: #212529;
}

.tgwv-header-stacked__menu-mobile .dropdown-item:hover,
.tgwv-header-stacked__menu-mobile .dropdown-item:focus {
    background-color: transparent !important;
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
}

.tgwv-header-stacked__menu-mobile .nav-link:active,
.tgwv-header-stacked__menu-mobile .dropdown-item:active,
.tgwv-header-stacked__menu-mobile .nav-link.text-active,
.tgwv-header-stacked__menu-mobile .dropdown-item.text-active,
.tgwv-header-stacked__menu-mobile .dropdown-item.active,
.tgwv-header-stacked__menu-mobile .dropdown-item.active:hover,
.tgwv-header-stacked__menu-mobile .dropdown-item.active:focus {
    color: var(--tgwv-header-stacked-menu-accent, #198754) !important;
    background-color: transparent !important;
}

.tgwv-header-stacked__menu-mobile .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    border: none;
    box-shadow: none !important;
    background-color: transparent;
    padding-left: 1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    display: none;
}

.tgwv-header-stacked__menu-mobile .dropend .dropdown-menu {
    border-left: 2px solid #e9ecef;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
}

.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__menu-item-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f0f0f0;
}

.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__menu-item-row > .nav-link,
.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__menu-item-row > .dropdown-item {
    flex: 1 1 auto;
    min-width: 0;
    border-bottom: none;
}

.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__submenu-toggle {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #212529;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__submenu-toggle:hover,
.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__submenu-toggle:focus {
    color: var(--tgwv-header-stacked-menu-accent, #198754);
}

.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__submenu-toggle:focus {
    outline: none;
}

.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__submenu-toggle:focus-visible {
    outline: 2px solid var(--tgwv-header-stacked-menu-accent, #198754);
    outline-offset: -2px;
}

.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__submenu-toggle i {
    font-size: 14px;
    transition: transform 0.3s ease, color 0.3s ease;
    transform: rotate(0deg);
}

.tgwv-header-stacked__menu-mobile .tgwv-header-stacked__open-mobile > .tgwv-header-stacked__menu-item-row .tgwv-header-stacked__submenu-toggle i {
    transform: rotate(180deg);
    color: var(--tgwv-header-stacked-menu-accent, #198754);
}

.tgwv-header-stacked-widgets {
    position: relative;
    z-index: 1031;
}

.tgwv-header-stacked .btn-success,
.tgwv-header-stacked .btn-outline-success {
    --bs-btn-bg: var(--tgwv-header-stacked-accent, #198754);
    --bs-btn-border-color: var(--tgwv-header-stacked-accent, #198754);
    --bs-btn-hover-bg: color-mix(in srgb, var(--tgwv-header-stacked-accent, #198754) 85%, #000);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--tgwv-header-stacked-accent, #198754) 85%, #000);
    --bs-btn-active-bg: color-mix(in srgb, var(--tgwv-header-stacked-accent, #198754) 75%, #000);
    --bs-btn-active-border-color: color-mix(in srgb, var(--tgwv-header-stacked-accent, #198754) 75%, #000);
}

.tgwv-header-stacked .btn-outline-success {
    --bs-btn-color: var(--tgwv-header-stacked-accent, #198754);
    --bs-btn-bg: transparent;
    --bs-btn-hover-color: #fff;
}

.tgwv-header-stacked .text-success {
    color: var(--tgwv-header-stacked-accent, #198754) !important;
}

@media (max-width: 991.98px) {
    .tgwv-header-stacked {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1020;
        background-color: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

    .tgwv-header-stacked__main {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .tgwv-header-stacked__logo img {
        max-height: 55px;
        padding-right: 15px;
    }

    .tgwv-header-stacked__login-box {
        display: none !important;
    }

    .tgwv-header-stacked__cart-box {
        display: none !important;
    }
}
