/* =========================================================
   VARIABLES
========================================================= */

.bs-header {

    --bs-red: #bf0d21;
    --bs-red-hover: #a80a1c;

    --bs-black: #050505;
    --bs-black2: #111111;

    --bs-gray: #252525;
    --bs-border: rgba(255,255,255,.12);

    --bs-white: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    position: relative;

    z-index: 999;

}


.bs-header *,
.bs-header *::before,
.bs-header *::after {

    box-sizing: border-box;

}


.bs-header a {

    text-decoration: none;

}


.bs-container {

    width: min(1440px, calc(100% - 40px));

    margin-left: auto;
    margin-right: auto;

}



/* =========================================================
   PROMO
========================================================= */

.bs-promo {

    background: #050505;

    color: #fff;

    border-top: 3px solid #66757c;

}


.bs-promo-inner {

    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.bs-promo-shipping {

    display: flex;

    align-items: center;

    gap: 12px;

}


.bs-shipping-text {

    font-size: 15px;

    font-weight: 700;

    line-height: 1.2;

}


.bs-truck {

    color: var(--bs-red);

    font-size: 28px;

}


.bs-truck svg {

    width: 1em;
    height: 1em;

    fill: currentColor;

}


.bs-shipping-price {

    font-size: 26px;

    line-height: 1;

}


.bs-promo-help {

    display: flex;

    align-items: center;

    gap: 16px;

    padding-left: 20px;

    border-left: 2px solid var(--bs-red);

    font-size: 13px;

    font-weight: 600;

    line-height: 1.2;

}


.bs-promo-help a {

    color: var(--bs-red);

    font-size: 18px;

    font-weight: 800;

    white-space: nowrap;

}



/* =========================================================
   TOP BAR
========================================================= */

.bs-topbar {

    background: #292929;

    border-bottom: 1px solid var(--bs-border);

}


.bs-topbar-inner {

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.bs-top-phone {

    display: flex;

    align-items: center;

    gap: 9px;

    color: #bdbdbd;

    font-size: 13px;

}


.bs-top-phone strong {

    color: #fff;

}


.bs-top-phone svg {

    width: 20px;
    height: 20px;

    fill: #fff;

}


.bs-top-links {

    height: 100%;

    display: flex;

    align-items: stretch;

}


.bs-top-links > a,
.bs-currency {

    display: flex;

    align-items: center;

    padding: 0 20px;

    border-left: 1px solid var(--bs-border);

    color: #fff;

    font-size: 13px;

    font-weight: 600;

}


.bs-top-links > a:last-child {

    border-right: 1px solid var(--bs-border);

}


.bs-top-links a:hover {

    background: #333;

}


.bs-currency span {

    color: #aaa;

    margin-right: 6px;

}



/* =========================================================
   STICKY — logo + menú
========================================================= */

.bs-sticky-sentinel {

    display: block;

    height: 0;

    margin: 0;

    padding: 0;

    pointer-events: none;

}


.bs-sticky-bar {

    position: relative;

    width: 100%;

    z-index: 1000;

    transition: box-shadow .25s ease;

}


.bs-sticky-bar.is-stuck {

    position: fixed !important;

    top: 0;

    left: 0;

    right: 0;

    width: 100% !important;

    z-index: 99999 !important;

    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);

}


.bs-sticky-bar .bs-menu .sub-menu {

    z-index: 1001;

}


.bs-sticky-bar .bs-search-results {

    z-index: 1002;

}


.admin-bar .bs-sticky-bar.is-stuck {

    top: 32px !important;

}


@media screen and (max-width: 782px) {

    .admin-bar .bs-sticky-bar.is-stuck {

        top: 46px !important;

    }

}


/* =========================================================
   STICKY COMPACT MODE (CUANDO SE HACE SCROLL)
========================================================= */

.bs-main-inner,
.bs-logo,
.bs-product-search,
.bs-product-search input[type="search"],
.bs-header .bs-product-search button,
.bs-account,
.bs-account-icon svg,
.bs-cart,
.bs-cart-icon svg,
.bs-menu > li > a {

    transition: all .3s cubic-bezier(0.25, 1, 0.5, 1);

}


.bs-sticky-bar.is-stuck .bs-main-inner {

    min-height: 65px;

    gap: 20px;

}


.bs-sticky-bar.is-stuck .bs-logo {

    max-height: 44px;

    max-width: 150px;

}


.bs-sticky-bar.is-stuck .bs-product-search {

    height: 40px;

    align-items: stretch;

}


.bs-sticky-bar.is-stuck .bs-product-search input[type="search"] {

    height: 40px;

    min-height: 40px;

    max-height: 40px;

    box-sizing: border-box;

    font-size: 13px;

    padding: 0 14px;

}


.bs-header .bs-sticky-bar.is-stuck .bs-product-search button,
.bs-sticky-bar.is-stuck .bs-product-search button {

    width: 44px !important;

    min-width: 44px !important;

    height: 40px !important;

    min-height: 40px !important;

    max-height: 40px !important;

    box-sizing: border-box !important;

    flex: 0 0 44px !important;

}


.bs-header .bs-sticky-bar.is-stuck .bs-product-search button svg,
.bs-sticky-bar.is-stuck .bs-product-search button svg {

    width: 18px !important;

    height: 18px !important;

}


.bs-sticky-bar.is-stuck .bs-account {

    min-height: 42px;

    padding: 0 12px;

    gap: 8px;

}


.bs-sticky-bar.is-stuck .bs-account-icon svg {

    width: 20px;

    height: 20px;

}


.bs-sticky-bar.is-stuck .bs-account-info small {

    display: none;

}


.bs-sticky-bar.is-stuck .bs-account-info strong {

    font-size: 12px;

}


.bs-sticky-bar.is-stuck .bs-cart {

    min-height: 42px;

    padding: 0 14px;

    gap: 10px;

}


.bs-sticky-bar.is-stuck .bs-cart-icon svg {

    width: 22px;

    height: 22px;

}


.bs-sticky-bar.is-stuck .bs-cart-info small {

    display: none;

}


.bs-sticky-bar.is-stuck .bs-cart-info strong {

    font-size: 13px;

}


.bs-sticky-bar.is-stuck .bs-cart-total {

    font-size: 13px;

}


.bs-sticky-bar.is-stuck .bs-menu > li > a {

    min-height: 44px;

    font-size: 12px;

    padding: 0 16px;

}



/* =========================================================
   MAIN HEADER
========================================================= */

.bs-main-header {

    background: var(--bs-black);

    color: #fff;

}


.bs-main-inner {

    min-height: 150px;

    display: grid;

    grid-template-columns: 240px minmax(250px, 1fr) auto;

    gap: 30px;

    align-items: center;

    justify-content: space-between;

}



/* =========================================================
   LOGO
========================================================= */

.bs-logo-wrapper {

    display: flex;

    align-items: center;

}


.bs-logo-wrapper a {

    display: inline-flex;

}


.bs-logo {

    display: block;

    width: auto;

    height: auto;

    max-width: 230px;

    max-height: 105px;

    object-fit: contain;

}


.bs-logo-placeholder {

    color: #fff;

    font-size: 25px;

    font-weight: 800;

}



/* =========================================================
   SEARCH
========================================================= */

.bs-product-search {

    display: flex;

    width: 100%;

    height: 52px;

}


.bs-product-search input[type="search"] {

    width: 100%;

    min-width: 0;

    border: 0;

    border-radius: 4px 0 0 4px;

    background: #fff;

    color: #111;

    outline: none;

    padding: 0 20px;

    font-size: 15px;

}


.bs-product-search input[type="search"]:focus {

    box-shadow: inset 0 0 0 2px var(--bs-red);

}


.bs-header .bs-product-search button {

    width: 62px;

    min-width: 62px;

    height: 52px;

    flex: 0 0 62px;

    border: 0;

    border-radius: 0 4px 4px 0;

    background: #303030;

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: .2s;

    padding: 0;

    margin: 0;

    line-height: 1;

    overflow: visible;

    -webkit-appearance: none;

    appearance: none;

    box-shadow: none;

}


.bs-header .bs-product-search button:hover {

    background: var(--bs-red);

    color: #fff;

}


.bs-header .bs-product-search button svg {

    display: block;

    width: 24px;

    height: 24px;

    flex-shrink: 0;

    pointer-events: none;

    fill: #fff;

}


.bs-header .bs-product-search button svg path {

    fill: #fff;

}



/* =========================================================
   AJAX SEARCH RESULTS
========================================================= */

.bs-header .bs-search-wrapper,
.bs-header .bs-mobile-search {

    position: relative;

}


.bs-header .bs-search-form {

    position: relative;

    width: 100%;

}


.bs-header .bs-search-results {

    position: absolute;

    top: calc(100% + 6px);

    left: 0;

    right: 0;

    background: #fff;

    border-radius: 4px;

    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);

    max-height: 420px;

    overflow-y: auto;

    z-index: 1001;

    border: 1px solid #e5e5e5;

}


.bs-header .bs-search-results.is-open {

    display: block;

}


.bs-header .bs-search-results-list {

    display: flex;

    flex-direction: column;

}


.bs-header .bs-search-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    color: #111;

    border-bottom: 1px solid #eee;

    transition: background .15s;

}


.bs-header .bs-search-item:hover {

    background: #f7f7f7;

    color: #111;

}


.bs-header .bs-search-item:last-child {

    border-bottom: 0;

}


.bs-header .bs-search-item img {

    width: 52px;

    height: 52px;

    object-fit: cover;

    border-radius: 3px;

    flex-shrink: 0;

    background: #f0f0f0;

}


.bs-header .bs-search-item-info {

    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 0;

    flex: 1;

}


.bs-header .bs-search-item-title {

    font-size: 14px;

    font-weight: 700;

    line-height: 1.3;

    color: #111;

}


.bs-header .bs-search-item-sku {

    font-size: 11px;

    color: #777;

}


.bs-header .bs-search-item-price {

    font-size: 13px;

    font-weight: 700;

    color: var(--bs-red);

}


.bs-header .bs-search-item-price .woocommerce-Price-amount {

    color: inherit;

}


.bs-header .bs-search-message {

    padding: 16px;

    text-align: center;

    color: #666;

    font-size: 14px;

}


.bs-header .bs-search-view-all {

    display: block;

    padding: 13px 16px;

    text-align: center;

    background: #f8f8f8;

    color: var(--bs-red);

    font-weight: 700;

    font-size: 13px;

    border-top: 1px solid #eee;

    transition: background .15s;

}


.bs-header .bs-search-view-all:hover {

    background: #f0f0f0;

    color: var(--bs-red-hover);

}



/* =========================================================
   ACTIONS (MI CUENTA + CARRITO)
========================================================= */

.bs-header-actions {

    display: flex;

    align-items: center;

    gap: 12px;

    justify-self: end;

}


.bs-account {

    min-height: 62px;

    padding: 0 16px;

    display: flex;

    align-items: center;

    gap: 10px;

    background: #252525;

    color: #fff;

    border-radius: 3px;

    transition: .2s;

    text-decoration: none;

}


.bs-account:hover {

    background: #333;

    color: #fff;

}


.bs-account-icon {

    display: flex;

    align-items: center;

}


.bs-account-icon svg {

    width: 24px;

    height: 24px;

    fill: currentColor;

    display: block;

}


.bs-account-info {

    display: flex;

    flex-direction: column;

    line-height: 1.2;

}


.bs-account-info small {

    opacity: .75;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .08em;

}


.bs-account-info strong {

    font-size: 13px;

    white-space: nowrap;

}


/* =========================================================
   CART
========================================================= */

.bs-cart {

    min-height: 62px;

    padding: 0 18px;

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 13px;

    background: var(--bs-red);

    color: #fff;

    border-radius: 3px;

    transition: .2s;

}


.bs-cart:hover {

    background: var(--bs-red-hover);

    color: #fff;

}


.bs-cart-icon svg {

    width: 31px;

    height: 31px;

    fill: currentColor;

}


.bs-cart-info {

    display: flex;

    flex-direction: column;

    line-height: 1.3;

}


.bs-cart-info small {

    opacity: .75;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .08em;

}


.bs-cart-info strong {

    font-size: 14px;

}


.bs-cart-total {

    font-size: 15px;

    font-weight: 800;

    white-space: nowrap;

}


.bs-cart-total .woocommerce-Price-amount {

    color: inherit;

}



/* =========================================================
   NAVIGATION
========================================================= */

.bs-nav-wrapper {

    background: var(--bs-red);

}


.bs-menu {

    list-style: none;

    margin: 0;

    padding: 0;

    display: flex;

    align-items: stretch;

}


.bs-menu > li {

    margin: 0;

    padding: 0;

    position: relative;

}


.bs-menu > li > a {

    min-height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 22px;

    color: #fff;

    border-left: 1px solid rgba(0,0,0,.18);

    text-transform: uppercase;

    font-size: 12px;

    font-weight: 700;

    transition: .2s;

}


.bs-menu > li:last-child > a {

    border-right: 1px solid rgba(0,0,0,.18);

}


.bs-menu > li > a:hover,
.bs-menu > li.current-menu-item > a {

    background: var(--bs-red-hover);

    color: #fff;

}



/* =========================================================
   SUBMENUS
========================================================= */

.bs-menu .sub-menu {

    position: absolute;

    top: 100%;

    left: 0;

    width: 240px;

    list-style: none;

    margin: 0;

    padding: 0;

    background: #121212;

    opacity: 0;

    visibility: hidden;

    transform: translateY(7px);

    transition: .18s;

    box-shadow: 0 15px 35px rgba(0,0,0,.35);

    z-index: 1000;

}


.bs-menu li:hover > .sub-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.bs-menu .sub-menu li {

    position: relative;

}


.bs-menu .sub-menu a {

    display: block;

    padding: 15px 18px;

    border-bottom: 1px solid #262626;

    color: #fff;

    font-size: 13px;

}


.bs-menu .sub-menu a:hover {

    background: #1d1d1d;

    color: #e51c35;

}



/* NIVEL 3 */

.bs-menu .sub-menu .sub-menu {

    left: 100%;

    top: 0;

}



/* =========================================================
   HAMBURGER
========================================================= */

.bs-header .bs-menu-toggle {

    display: none;

    width: 0;

    height: 0;

    padding: 0;

    margin: 0;

    border: 0;

    overflow: hidden;

    visibility: hidden;

    pointer-events: none;

    flex: 0 0 0;

}


.bs-mobile-search {

    display: none;

}



/* =========================================================
   DESKTOP — ocultar hamburguesa, mostrar buscador
========================================================= */

@media (min-width: 901px) {

    .bs-header .bs-menu-toggle {

        display: none !important;

        width: 0 !important;

        height: 0 !important;

        visibility: hidden !important;

        pointer-events: none !important;

    }


    .bs-header .bs-search-wrapper {

        display: block;

    }


    .bs-header .bs-mobile-search {

        display: none !important;

    }

}


.bs-no-menu {

    color: #fff;

    padding: 18px 0;

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {


    .bs-promo-help span {

        display: none;

    }


    .bs-main-inner {

        grid-template-columns: 200px 1fr auto;

        gap: 20px;

    }


    .bs-menu > li > a {

        padding: 0 14px;

        font-size: 11px;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {


    .bs-container {

        width: calc(100% - 28px);

    }



    /* PROMO */

    .bs-promo-inner {

        min-height: 40px;

    }


    .bs-shipping-text {

        font-size: 12px;

    }


    .bs-truck {

        font-size: 22px;

    }


    .bs-shipping-price {

        font-size: 22px;

    }


    .bs-promo-help {

        padding-left: 14px;

        gap: 10px;

        font-size: 11px;

    }


    .bs-promo-help a {

        font-size: 16px;

    }



    /* TOPBAR */

    .bs-topbar-inner {

        height: 36px;

    }


    .bs-top-links {

        display: none;

    }



    /* MAIN */

    .bs-main-inner {

        min-height: 90px;

        grid-template-columns: 1fr auto auto;

        gap: 12px;

    }


    .bs-search-wrapper {

        display: none;

    }


    .bs-logo {

        max-width: 155px;

        max-height: 65px;

    }



    /* CART MOBILE */

    .bs-cart {

        display: flex;

        min-height: 45px;

        padding: 8px 10px;

        background: transparent;

    }


    .bs-cart-info {

        display: none;

    }


    .bs-cart-icon svg {

        width: 27px;

        height: 27px;

    }


    .bs-cart-total {

        font-size: 12px;

    }



    /* HAMBURGER */

    .bs-header .bs-menu-toggle {

        display: flex;

        width: 46px;

        min-width: 46px;

        height: 46px;

        min-height: 46px;

        border: 0;

        padding: 0;

        margin: 0;

        border-radius: 3px;

        background: #171717;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 6px;

        cursor: pointer;

        overflow: visible;

        visibility: visible;

        pointer-events: auto;

        flex: 0 0 46px;

        -webkit-appearance: none;

        appearance: none;

        box-shadow: none;

        line-height: 0;

    }


    .bs-header .bs-menu-toggle span {

        display: block;

        width: 22px;

        height: 2px;

        min-height: 2px;

        background: #fff;

        border-radius: 1px;

        transition: transform .2s, opacity .2s;

        flex-shrink: 0;

    }


    .bs-header .bs-menu-toggle.active span:nth-child(1) {

        transform: translateY(8px) rotate(45deg);

    }


    .bs-header .bs-menu-toggle.active span:nth-child(2) {

        opacity: 0;

        transform: scaleX(0);

    }


    .bs-header .bs-menu-toggle.active span:nth-child(3) {

        transform: translateY(-8px) rotate(-45deg);

    }



    /* MOBILE SEARCH */

    .bs-mobile-search {

        display: block;

        padding-bottom: 14px;

    }


    .bs-mobile-search .bs-product-search {

        height: 45px;

    }


    .bs-header .bs-mobile-search .bs-product-search button {

        height: 45px;

        min-height: 45px;

    }


    .bs-header .bs-mobile-search .bs-product-search button svg,
    .bs-header .bs-mobile-search .bs-product-search button svg path {

        fill: #fff;

    }



    /* MOBILE NAV */

    .bs-nav-wrapper {

        background: #090909;

        border-top: 1px solid #222;

    }


    .bs-navigation {

        display: none;

    }


    .bs-navigation.open {

        display: block;

    }


    .bs-menu {

        flex-direction: column;

    }


    .bs-menu > li > a {

        min-height: 50px;

        width: 100%;

        justify-content: flex-start;

        border: 0;

        border-bottom: 1px solid #222;

        padding: 0 8px;

        font-size: 12px;

        background: #090909;

    }



    /* SUBMENUS MOBILE */

    .bs-menu .sub-menu {

        display: none;

        position: static;

        width: 100%;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        background: #151515;

    }


    .bs-menu li.bs-submenu-open > .sub-menu {

        display: block;

    }


    .bs-menu .sub-menu a {

        padding-left: 25px;

    }


    .bs-menu .sub-menu .sub-menu a {

        padding-left: 40px;

    }


}



/* =========================================================
   TELÃ‰FONOS PEQUEÃ‘OS
========================================================= */

@media (max-width: 560px) {


    .bs-shipping-text {

        display: none;

    }


    .bs-promo-inner {

        justify-content: center;

        gap: 16px;

    }


    .bs-promo-help {

        padding-left: 15px;

    }


    .bs-promo-help a {

        font-size: 14px;

    }


    .bs-top-phone {

        font-size: 11px;

    }


    .bs-cart-total {

        display: none;

    }


    .bs-logo {

        max-width: 135px;

    }

}
