/* custom css override for comix theme */
:root {
    --black-color: #000;
    --yellow-color: #ffdf00;
    --blue-color: #00a1e5;
    --primary-color: #007cc2;
    --white-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--black-color);
}

header.page-header {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    .nav-sections-item-title {
        background-color: var(--yellow-color) !important;
        @media screen and (max-width: 991px) {
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        &.active {
            background-color: var(--blue-color) !important;
            color: var(--white-color) !important;
        }
    }
}

.page-wrapper > .breadcrumbs {
    background-color: var(--black-color) !important;
}

.layout-fullwidth .container,
.layout-fullwidth .block.category.event,
.layout-fullwidth .footer.content,
.layout-fullwidth .header.content,
.layout-fullwidth .navigation,
.layout-fullwidth .page-main,
.layout-fullwidth .page-wrapper > .breadcrumbs > ul,
.layout-fullwidth .page-wrapper > .page-bottom,
.layout-fullwidth .page-wrapper > .widget,
.layout-fullwidth .top-container {
    max-width: 1900px;
    padding: 0 20px;
}

.layout-fullwidth .page-main {
    margin: 40px auto;
}

@media (min-width: 1900px) {
    .layout-fullwidth .page-main {
        padding: 0 130px 0 60px;
    }
    .page-header {
        .header.content,
        .container {
            padding: 0 130px 0 60px;
        }
    }

    .page-footer {
        .container {
            padding: 0 130px 0 60px;
        }
    }

    .page-wrapper > .breadcrumbs ul {
        padding: 0 130px 0 60px !important;
    }
}

#maincontent .page-title span,
.page-header .panel.wrapper,
.page-header.type23 .panel.header a,
.page-header.type23 > .panel.wrapper,
.page-header.type23 .header.panel .switcher,
.page-header.type24 .top-links-icon a,
.page-header.type24 .top-links-icon,
.page-header.type24 .panel.header .switcher,
.header.panel > .header.links > li > a,
.page-header .minicart-wrapper .action.showcart,
.page-header .minicart-wrapper .action.showcart:before,
.page-header .minicart-wrapper .action.showcart.active:before,
.page-header.type18 .wishlist,
.page-header .header-main a,
.page-header.type5 .search-area a.search-toggle-icon,
.page-header .navigation li.level0 {
    color: var(--black-color) !important;
}

button:hover,
a:hover {
    color: var(--blue-color);
    transition: color, background-color, opacity 0.3s linear;
}

.main-panel-top {
    border: none !important;
}

.header.content {
    .nav-sections {
        @media screen and (min-width: 992px) {
            padding: 10px 0;
        }
    }
}

.page-header .panel.wrapper {
    justify-content: flex-end;

    .header-left {
        flex: 1;
        justify-content: flex-end;
    }
    .header-right {
        margin: 0;
        position: relative;
        /* margin for header icons menu*/
        > * {
            margin-left: 1rem;
            @media (min-width: 1280px) {
                margin-left: 1.8rem;
            }
        }
        a {
            &:hover {
                opacity: 0.6;
            }
        }
        @media (min-width: 992px) {
            &:before {
                content: "";
                position: absolute;
                top: 6px;
                left: 0;
                width: 2px;
                height: 35px;
                background-color: var(--black-color);
            }
        }
    }

    a.my-account {
        width: 26px;
        cursor: pointer;
    }

    .customer-welcome {
        position: absolute;
        top: 0;
        right: 0;
        width: 26px;
        padding: 0;
        > span {
            float: none !important;
        }
        .action.switch {
            visibility: hidden !important;
        }
        &::before {
            display: none;
        }
    }

    .action.showcart {
        display: block;
        margin-top: 5px;
        &:after {
            display: none;
        }
    }

    .minicart-wrapper {
        height: 30px;
        display: flex;
        align-items: center;
    }

    .top-links-icon {
        position: absolute;
        top: 0;
        left: 0;
        cursor: pointer;
        &:after {
            visibility: hidden;
        }
        > a {
            display: none;
            &:after {
                display: none;
            }
        }
    }
}

/* mpbile header row styling */
.page-header {
    @media screen and (max-width: 991px) {
        display: flex;
        flex-flow: row-reverse;
        align-items: center;
        .nav-sections .header.links li.greet.welcome {
            padding: 12px;
        }
        .main-panel-top {
            width: 100%;
        }
        .header-row {
            padding-right: 0 !important;
        }
        .header-contact {
            display: none !important;
        }
        .container {
            padding: 0;
        }
    }
}

.header-custom-block {
    flex: 1;
    width: 100%;
    @media screen and (max-width: 990px) {
        display: none;
    }
    > div {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }
    a {
        display: flex;
        flex-flow: nowrap;
        gap: 10px;
        align-items: center;
        font-weight: 700;
        font-size: 14px;
        color: var(--black-color);
        margin: 0 10px;
        &:hover {
            opacity: 0.6;
            color: var(--black-color) !important;
        }
        @media (min-width: 1280px) {
            font-weight: 900;
            font-size: 20px;
            line-height: 23px;
            gap: 15px;
            margin: 0 30px;
        }
    }
}

.page-header.type20 .main-panel-top {
    @media (min-width: 760px) {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
}

.page-header.type20.sticky-header .header-main {
    background-color: var(--yellow-color)!important;
}

.page-header.type20 .header-main .header-left {
    padding: 0 !important;
}

.page-header.type20 .navigation:not(.side-megamenu) > ul {
    margin-right: -10px;
}

.nav-sections .header.links a,
.page-header.type20 .navigation:not(.side-megamenu) .level0 {
    &:hover {
        background-color: var(--white-color) !important;
        color: var(--black-color) !important;
    }
    a.level-top {
        @media (max-width: 991px) {
            font-weight: 700;
            font-size: 15px;
            line-height: 18px;
            padding: 10px;
        }
    }
}

@media (min-width: 992px) {
    .page-header.type20 .navigation:not(.side-megamenu) .level0 a.level-top {
        font-weight: 700;
        font-size: 17px;
        line-height: 20px;
        padding: 10px;
    }
}

#search_mini_form {
    color: var(--black-color);
}

.header-left {
    .logo {
        width: 100%;
        margin: 10px 0;
        img {
            width: auto;
        }
        @media (min-width: 992px) {
            max-width: 240px;
            margin: 0;
            top: -30px;
        }
        @media (min-width: 1280px) {
            max-width: 320px;
        }
        @media (min-width: 1600px) {
            top: -40px;
            max-width: 500px;
        }
    }
}

.nav-toggle {
    padding: 0;
    margin-top: 12px;
    &:before {
        color: var(--black-color);
    }
}

html body .action.primary {
    font-size: 14px;
    border-radius: 31px;
    background-color: var(--blue-color);
    color: var(--white-color);
    border: 1px solid transparent;
    padding: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    &:hover {
        background-color: var(--white-color);
        color: var(--blue-color);
        border: 2px solid var(--blue-color);
    }
    @media screen and (min-width: 992px) {
        font-size: 18px;
        padding: 1.8rem 3rem;
    }
}

.columns .column.main {
    padding-bottom: 0;
}

html .action.primary,
html .btn,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
}

html .action.primary,
html .btn {
    color: var(--primary-color);
    &:hover {
        color: var(--white-color);
    }
}

html .btn-solid {
    &:hover {
        color: var(--primary-color) !important;
    }
}

ul,
ol,
dl,
p {
    margin: 0 0 1.5em;
}

header.page-header.sticky-header .header-main {
    position: relative;
    .logo {
        position: sticky;
        max-width: 200px;
    }
}

header.page-header.sticky-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    height: auto !important;
    @media screen and (min-width: 992px) {
        .main-panel-top {
            display: none;
        }
    }
}

footer.page-footer {
    background-color: var(--yellow-color);
    color: var(--white-black);
    padding: 35px 0;
    @media screen and (min-width: 992px) {
        padding: 65px 0;
    }

    .row {
        width: 100%;
        margin: 0;
    }

    .custom-block {
        width: 100%;
        > div {
            width: 100%;
        }
    }

    .footer-content {
        width: 100%;
    }

    .content-top {
        display: flex;
        flex-flow: wrap;
        margin-bottom: 30px;
        gap: 20px;
        @media screen and (min-width: 992px) {
            margin-bottom: 77px;
            gap: 10px;
        }

        .col {
            flex: 1 0 100%;
            @media screen and (min-width: 576px) {
                flex: 1 0 calc(50% - 10px);
            }

            @media screen and (min-width: 992px) {
                flex: 1 0 calc(25% - 15px);
            }
        }
    }

    .social li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 0;
    }

    .content-bottom {
        display: flex;
        align-items: center;
        flex-flow: column;
        justify-content: space-between;
        gap: 15px;

        @media screen and (min-width: 992px) {
            flex-flow: wrap;
        }

        ul {
            display: flex;
            flex-flow: row wrap;
            gap: 15px;
            flex: 1 0 auto;
            justify-content: center;
            @media screen and (min-width: 992px) {
                justify-content: flex-end;
            }
            li {
                line-height: 1;
            }
        }
        p {
            margin: 0;
            color: var(--black-color);
            font-weight: 600;
            font-size: 11px;
            line-height: 22px;
        }
    }

    .footer-title {
        color: var(--black-color);
        text-transform: uppercase;
        font-size: 18px;
        font-weight: 900;
        line-height: 22px;
        margin: 0 0 5px;

        @media screen and (min-width: 992px) {
            margin: 0 0 20px;
        }
    }
    ul {
        display: flex;
        flex-flow: column;
        list-style: none;
        padding: 0;
        a {
            font-weight: 700;
            font-size: 15px;
            line-height: 30px;
            color: var(--black-color);
            &:hover {
                text-decoration: underline;
            }
        }
    }
}

.nav-sections-item-content {
    .header.links:first-of-type {
        .greet.welcome {
            display: none;
        }
        .sign-out {
            display: none;
        }
    }
}

@media (min-width: 992px) {
    .header.panel > .header.links > li.greet.welcome + .customer-welcome {
        cursor: pointer;
    }

    .page-header.type20 .header.panel > .header.links > li {
        display: none;
    }
}

.opc-estimated-wrapper .minicart-wrapper {
    display: none;
}

.cart.table-wrapper .item-options dt {
    float: none;
}
@media (max-width: 760px) {
    .minicart-items .product-item-details .price,
    .price-including-tax,
    .price-excluding-tax {
        text-align: center;
    }

    .cart .item-actions .actions {
        text-align: center;
    }
}

.action.action-delete {
    font-size: 15px;
    margin-right: 0 !important;
}
