:root {
    --bg-notifycation: rgba(18, 84, 29, 1);
}

/* #terabuy-header {
    overflow: hidden;
} */

#terabuy-header * {
    box-sizing: border-box;
}

#terabuy-header p {
    margin: 0px;
}

#terabuy-header a {
    color: inherit;
}

#terabuy-header .minicart-wrapper .action.showcart:before {
    width: 24px;
    height: 24px;
}

#terabuy-header .minicart-wrapper {
    margin-left: 0px;
    position: relative;
}

#terabuy-header p.hightlight,
#terabuy-header span.hightlight {
    color: rgba(252, 213, 8, 1);
}

#terabuy-header span.caution {
    color: rgba(18, 84, 29, 1);
    font-weight: 700;
}

.header-wraper-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
}

#terabuy-header .header-licese-wraper {
    display: none;
}

.header-container {
    width: 100%;
}

.header-notification {
    width: 100%;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: var(--bg-notifycation);
    color: #fff;
}

.header-notification__container {
    display: grid;
    row-gap: 4px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.header-notification__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-notification__text,
.header-notification__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.header-notification__countdown {
    gap: 10px;
    font-weight: normal;
}

.header-notification__text {
    font-weight: 600;
}

.notification__countdown__time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.notification__countdown__time .notification__countdown__time--content {
    font-size: 14px;
    font-weight: 700;
}

.notification__countdown__time .notification__countdown__time--afterfix {
    font-size: 10px;
}

.notification__countdown__time:first-child {
    margin-left: 8px;
}

#terabuy-header .header-licese {
    padding-top: 0px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 12px 0px;
    color: rgba(107, 114, 128, 1);
    font-size: 14px;
    border-bottom: 1px solid rgba(229, 231, 235, 1);
}

#terabuy-header .header-licese__content {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

#terabuy-header .header-licese__content__item {
    margin: 0;
    padding: 0 7px;
}

#terabuy-header .header-licese__content__item:first-child {
    padding-left: 0px;
}

#terabuy-header .header-licese__content__item:last-child {
    border-left: 1px solid rgba(229, 231, 235, 1);
}

#terabuy-header .header-action-container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    color: rgba(3, 7, 18, 1);
    align-items: center;
    padding: 10px 0;
    width: 100%;
}

.nav-toggle {
    position: static;
}

#terabuy-header .header-left-container {
    grid-column: span 5 / span 5;
}

#terabuy-header .header-right-container {
    grid-column: span 1 / span 1;
}

#terabuy-header .header-center-container {
    grid-column: span 6 / span 6;
}

#terabuy-header .header-left-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

#terabuy-header .header-left-logo-img {
    width: 157px;
    max-height: 80px;
    object-fit: cover;
    max-width: 100px;
}

#terabuy-header .header-icon-text-component {
    display: none;
}

#terabuy-header .header-left-container .header-icon-text-component {
    justify-content: flex-end;
    padding-right: 30px;
}

#terabuy-header .header-right-container .header-icon-text-component {
    padding-left: 30px;
}

#terabuy-header .header-icon-text-component__icon {
    /* font-size: 24px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon-text-component__icon svg {
    height: 24px;
    width: 24px;
}

#terabuy-header .header-icon-text-component__content-wraper {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    position: relative;
}

.header-icon-text-component__content-wraper:hover
    > .header-icon-text-component__logined_modal {
    display: flex;
}

.header-icon-text-component__logined_modal {
    position: absolute;
    bottom: 0px;
    z-index: 10;
    color: #4b5563;
    display: none;
    flex-direction: column;
    align-items: start;
    width: fit-content;
    transform: translateY(100%);
    right: 0;
    white-space: nowrap;
    font-size: 13px;
    background-color: #fff;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    border-radius: 6px;
    padding: 6px 0;
    margin-bottom: 0px;
    list-style-type: none;
}

.header-icon-text-component__logined_modal-item {
    margin-bottom: 0px;
    padding: 4px 20px;
    width: 100%;
}

.header-icon-text-component__logined_modal-item:hover {
    background-color: #f9f9f9;
}

.header-icon-text-component__logined_modal-item a {
    text-decoration: none;
}

#terabuy-header .header-icon-text-component__content-wraper__title {
    font-weight: 400;
}

#terabuy-header .header-icon-text-component__content-wraper__text {
    font-weight: bold;
    font-size: 13px;
}

#terabuy-header .header-icon-text-component__content-wraper__text:hover {
    text-decoration: underline;
    cursor: pointer;
}

#terabuy-header .header-center-container {
    background-color: rgba(243, 244, 246, 1);
    border-radius: 8px;
    /* overflow: hidden; */
    padding: 10px;
}

#terabuy-header .searchsuite-autocomplete {
    left: 0px;
    margin-top: 20px;
    bottom: unset;
    border-radius: 6px;
    overflow: hidden;
    transform: unset;
    border: none;
    width: 100%;
}

#terabuy-header .block.block-search,
#terabuy-header #search {
    width: 100%;
    height: 100%;
    animation: none;
}

#terabuy-header .block-search .action.search:before {
    display: none;
}

#terabuy-header #search {
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 14px;
    padding: 0px;
}

#terabuy-header #search:focus {
    box-shadow: none;
}

#terabuy-header .header-right-container {
    display: block;
}

#terabuy-header .header-icon-notify-component {
    display: none;
}

#terabuy-header .header-icon-notify__icon {
    font-size: 24px;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#terabuy-header .header-icon-notify__text,
#terabuy-header .minicart-wrapper .action.showcart .counter.qty {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(50%, -30%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: rgba(250, 204, 21, 1);
    font-size: 11px;
    font-weight: 600;
    background-color: rgba(18, 84, 29, 1);
    padding: 0px;
    margin: 0px;
}

#terabuy-header .minicart-wrapper .action.showcart .counter.qty.empty {
    display: none;
}

#terabuy-header .minicart-wrapper .action.showcart .counter.qty {
    padding: 0px;
    margin: 0px;
}

.minicart-wrapper .action.showcart:before {
    content: url("../../images/icons/cart-icon.svg") !important;
    /* zoom: 1.5%; */
    width: 24px;
    height: 24px;
}

.minicart-wrapper {
    margin-left: 0px;
    margin-top: 0px;
}

#terabuy-header .block-search .label {
    position: absolute;
    width: 1px;
    margin-top: -5px;
}

#terabuy-header .block-search input {
    position: static !important;
    margin: 0;
}

#terabuy-header .block-search {
    margin-top: 0px;
}

#terabuy-header .block-search .control {
    border-top: none;
    margin: 0;
    padding: 0 0 0 25px;
}

.page-header .panel.wrapper {
    display: block;
}

@media only screen and (min-width: 769px) {
    #terabuy-header .searchsuite-autocomplete {
        bottom: -100%;
        transform: translateY(100%);
        margin-top: 0px;
    }

    #terabuy-header .header-left-container,
    #terabuy-header .header-right-container {
        grid-column: span 3 / span 3;
    }

    #terabuy-header .header-icon-text-component {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
    }

    #terabuy-header .header-left-container .header-icon-text-component {
        display: none;
    }

    .header-wraper-container {
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
        max-width: 1600px;
        padding-left: 20px;
        padding-right: 20px;
    }

    #terabuy-header .header-licese-wraper {
        display: flex;
    }

    #terabuy-header .header-left-logo-img {
        max-width: 157px;
    }

    #terabuy-header .header-right-container {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    #terabuy-header .header-icon-notify-component {
        display: block;
        position: relative;
        text-decoration: none;
        color: inherit;
    }

    .header-notification__text,
    .header-notification__countdown {
        font-size: 12px;
    }

    .notification__countdown__time .notification__countdown__time--content {
        font-size: 18px;
    }

    #terabuy-header .block-search .control {
        padding: 0 5px;
    }

    #terabuy-header .block-search .control {
        padding-left: 0;
    }

    .page-header .panel.wrapper {
        display: none;
    }
}

@media only screen and (min-width: 1024px) {
    .header-notification__container {
        row-gap: 0px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #terabuy-header .header-left-container .header-icon-text-component {
        display: flex;
    }
}

@media only screen and (min-width: 1280px) {
    .header-notification__container {
        row-gap: 0px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #terabuy-header .header-left-container {
        grid-column: span 3 / span 3;
    }

    #terabuy-header .header-right-container {
        grid-column: span 2 / span 2;
    }

    #terabuy-header .header-center-container {
        grid-column: span 7 / span 7;
    }
}
