* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    height: 100%;
}

:root {
    /* Colors */
    --mor: #9f8de5;
    --morado1: #8f67e9;
    --morado2: #2c1a55;
    --morado3: #211e3f;
    --morado4: rgb(59 14 66);
    --morado5: #454b90;
    --morado6: #5d42d2;
    --morado7: #674cdb;
    --piel: #f1e5dd;
    --amarillo: #f7ac23;
    --color1: #0f1235;
    --color2: #232641;
    --color3: #5d5c90;
    --color4: #a29fe9;
    --color5: #e8d7ed;

    --thm-white: #ffffff;
}


ul,
li {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    text-decoration: none;
    transition: all 0.2s ease 0s;
}

a:focus,
.btn:focus {
    text-decoration: none;
    outline: none;
}

a:hover,
a:active {
    color: var(--morado1);
    border-bottom: 2px solid var(--amarillo);
    text-decoration: none;
    outline: 0;
}

*,
::before,
::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

span {
    letter-spacing: 0;
}

a,
button,
input {
    outline: medium none;
    color: inherit;
}

dl,
ol,
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ====================================================== */
/* 02.START NAVIGATION OVERRIDES */
.atf-top-header {
    background-color: var(--mor);
    overflow: hidden;
}

.atf-top-header .atf-top-header-in {
    height: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    transition: all 0.4s ease;
    padding-right: 1vh;
}

.atf-sticky-active .atf-top-header-in {
    height: 0;
}

.atf-top-header-list li {
    margin-right: 15px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.atf-top-header-list li:last-child {
    margin-right: 0;
}

.atf-top-header-list li i {
    margin-right: 10px;
}

.atf-site-branding img {
    width: 45%;
    object-fit: cover;
}

.atf-main-header-left {
    width: 54%;
}
@media (min-width: 992px) {
    .atf-main-header-left {
        width: 39%;
    }
}
@media (min-width: 1200px) {
    .atf-main-header-left {
        width: 48%;
    }
}

/* ================ */
.nav-right-part {
    position: relative;
    font-size: 16px;
    height: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    transition: all 0.4s ease;
    color: var(--thm-white);
    text-align: center;
}

.nav-right-part-mobile {
    display: none;
}

.nav-right-part ul {
    margin: 0;
    padding: 0;
    display: inline-flex;
    margin-left: 10px;
}

.nav-right-part ul li {
    list-style: none;
    display: inline-flex;
    line-height: 45px;
    text-transform: uppercase ! important;
}

.nav-right-part ul li:first-child a {
    margin-left: 0 ! important;
}

.nav-right-part ul li .search {
    font-size: 13px;
}

.nav-right-part ul li a {
    color: #AEAEAE;
}

.nav-right-part ul li .shopping-cart-btn span {
    position: absolute;
    right: -7px;
    top: 7px;
    width: 16px;
    height: 16px;
    background: var(--amarillo);
    display: inline-block;
    font-size: 13px;
    line-height: 16px;
    color: #ffffff;
    text-align: center;
    border-radius: 50%;
}

.nav-right-part ul li a:hover {
    color: var(--thm-white);
}

.nav-right-part ul li a {
    margin-left: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.atf-sticky-active .atf-top-header-in {
    height: 0;
}

.atf-sticky-active .nav-right-part {
    height: 0;
}

.atf-sticky-active .nav-right-part-mobile {
    height: 40px ! important;
}

.atf-top-header-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.atf-top-header-list li {
    margin-right: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.atf-top-header-list li:last-child {
    margin-right: 0;
}

.atf-top-header-list li i {
    margin-right: 10px;
}

.atf-top-header-list li a:hover {
    color: var(--thm-white);
}

.atf-site-header.atf-style1 {
    transition: all 0.4s ease;
}

.atf-site-header.atf-style1 .atf-main-header-in {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    height: 80px; 
    align-content: center;
}

.atf-site-header.atf-style1.atf-sticky-active {
    background: var(--morado3) !important;
    color: var(--thm-white) !important;
    -webkit-box-shadow: 0 2px 28px 0 rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 28px 0 rgba(255, 255, 255, 0.15);
}

.atf-nav .atf-nav-list>li>a {
    color: var(--thm-white);
}

.atf-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-transform: uppercase;
    font-size: 14px;
}

.atf-main-header {
    position: relative;
}

.atf-sticky-header {
    position: fixed;
    z-index: 200;
    width: 100%;
    top: 0;
    left: 0;
}

@media screen and (max-width: 991px) {
    .atf-main-header .container {
        max-width: 100%;
    }

    .atf-top-header {
        display: none;
    }

    .nav-right-part-mobile {
        display: block;
    }

    .nav-right-part {
        margin-right: 50px;
    }
}

/* ======================== */
/*  @media */

@media screen and (min-width: 992px) {
    .atf-nav .atf-nav-list {
        display: flex !important;
        flex-wrap: wrap;
    }

    .atf-nav .atf-nav-list>li {
        margin-right: 25px;
        font-weight: 500;
    }

    .atf-nav .atf-nav-list>li:last-child {
        margin-right: 0;
    }

    .atf-nav .atf-nav-list>li>a {
        padding: 15px 0;
        display: inline-block;
    }

    .atf-nav .atf-nav-list>li>ul {
        left: 0;
        top: calc(100% + 15px);
    }

    .atf-nav .atf-nav-list>li>ul:before {
        content: '';
        position: absolute;
        height: 10px;
        width: 10px;
        border: 1px solid #eaeaea;
        transform: rotate(45deg);
        background-color: #fff;
        border-right: none;
        border-bottom: none;
        top: -6px;
        left: 16px;
    }

    .atf-nav .atf-nav-list>li:hover>ul {
        top: 100%;
        opacity: 1;
        visibility: visible;
        transition: all 0.4s ease;
    }

    .atf-nav .atf-nav-list li {
        position: relative;
    }

    .atf-nav .atf-nav-list li a.active {
        color: var(--thm-white);
    }

    .atf-nav .atf-nav-list ul {
        width: 200px;
        background-color: #fff;
        position: absolute;
        border: 1px solid #eaeaea;
        border-radius: 4px;
        padding: 10px 0;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        display: block !important;
        transition: all 0.1s ease;
    }

    .atf-nav .atf-nav-list ul li:hover ul {
        top: 0px;
    }

    .atf-nav .atf-nav-list ul li:hover>ul {
        opacity: 1;
        visibility: visible;
        transition: all 0.4s ease;
    }

    .atf-nav .atf-nav-list ul a {
        font-size: calc(100% - 1px);
        display: block;
        line-height: 1.2em;
        padding: 12px 20px;
        color: var(--color1);
    }

    .atf-nav .atf-nav-list ul a:hover {
        background-color: var(--amarillo);
        color: var(--thm-white);
    }

    .atf-nav .atf-nav-list ul ul {
        top: 15px;
        left: 100%;
    }

    .atf-menu-toggle,
    .atf-menu-dropdown-toggle {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    .atf-menu-dropdown-toggle {
        position: absolute;
        height: 30px;
        width: 30px;
        right: 20px;
        top: 5px;
    }

    .atf-menu-dropdown-toggle:before,
    .atf-menu-dropdown-toggle:after {
        content: '';
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        height: 2px;
        width: 10px;
        background-color: var(--thm-white);
        transition: all 0.3s ease;
    }

    .atf-menu-dropdown-toggle:before {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .atf-menu-dropdown-toggle.active:before {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .atf-nav .atf-nav-list {
        position: absolute;
        width: 100vw;
        left: 0;
        background-color: #211e3f;
        padding: 10px 0;
        display: none;
        top: 100%;
        border-top: 1px solid #eaeaea;
        border-bottom: 1px solid #eaeaea;
        overflow: auto;
        max-height: calc(100vh - 80px);
    }

    .atf-nav .atf-nav-list ul {
        padding-left: 15px;
        display: none;
    }

    .atf-nav .atf-nav-list a {
        display: block;
        padding: 8px 20px;
        color: var(--thm-white);
    }

    .atf-nav .menu-item-has-children {
        position: relative;
    }

    /*Mobile Menu Button*/

    .atf-menu-toggle {
        position: relative;
        display: inline-block;
        width: 28px;
        height: 27px;
        margin: 15px 0px 15px 0px;
        cursor: pointer;
    }

    .atf-menu-toggle span,
    .atf-menu-toggle span:before,
    .atf-menu-toggle span:after {
        width: 100%;
        height: 2px;
        background-color: var(--thm-white);
        display: block;
    }

    .atf-menu-toggle span {
        margin: 0 auto;
        position: relative;
        top: 12px;
        transition-duration: 0s;
        transition-delay: 0.2s;
    }

    .atf-menu-toggle span:before {
        content: '';
        position: absolute;
        margin-top: -8px;
        transition-property: margin, transform;
        transition-duration: 0.2s;
        transition-delay: 0.2s, 0s;
    }

    .atf-menu-toggle span:after {
        content: '';
        position: absolute;
        margin-top: 8px;
        transition-property: margin, transform;
        transition-duration: 0.2s;
        transition-delay: 0.2s, 0s;
    }

    .atf-toggle-active span {
        background-color: rgba(0, 0, 0, 0);
        transition-delay: 0.2s;
    }

    .atf-toggle-active span:before {
        margin-top: 0;
        transform: rotate(45deg);
        transition-delay: 0s, 0.2s;
    }

    .atf-toggle-active span:after {
        margin-top: 0;
        transform: rotate(-45deg);
        transition-delay: 0s, 0.2s;
    }
}

@media (min-width:320px){
    .atf-site-branding img {
        width: 100%;
    }
    .atf-site-header.atf-style1 .atf-main-header-in{
        justify-content: space-around;
    }
}

@media (min-width: 768px){
    .atf-site-branding img {
        width: 45%;
    }
    .atf-site-header.atf-style1 .atf-main-header-in{
        justify-content: space-around;
    }
}

@media (min-width: 9928px){
    .atf-site-branding img {
        width: 35%;
    }
    .atf-site-header.atf-style1 .atf-main-header-in{
        justify-content: space-around;
    }
}