/* mobile header */

.byno-mobile-header {
    background: var(--byno-var-color-light-dark-bg-blur);
    width: 95vw;
    margin: 10px auto;
    height: 50px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 15px;
    position: sticky;
    top: 10px;
    z-index: 99;
    overflow: hidden;
    box-shadow: 0 0 15px -10px var(--byno-var-color-light-dark-shadow);
}

.byno-header-btn-support {
    gap: 5px;
    background: var(--byno-var-second-color-opacity);
    border-radius: 10px;
    padding: 5px 10px;
    font-weight: 500;
    flex-direction: row-reverse;
    color: var(--byno-var-main-color);
}

.byno-header-btn-support svg {
    width: 26px;
    height: 26px;
}

.byno-mobile-header>.right-box-m-header-byno {
    max-height: 50px;
}

.byno-mobile-header>.right-box-m-header-byno a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.byno-mobile-header>.right-box-m-header-byno img,
.byno-mobile-header>.right-box-m-header-byno svg {
    height: 30px;
    width: auto;
}

.middle-box-m-header-byno {
    display: flex;
    flex: 1;
    height: 100%;
    width: 100%;
}

.byno-mobile-header-goback,
.byno-mobile-header-shop-btn {
    gap: 5px;
    background: var(--byno-var-color-light-dark-opacity-bg);
    border-radius: 12px;
    padding: 5px;
    font-weight: 400;
    flex-direction: row-reverse;
    color: var(--byno-var-color-light-dark-opacity-text);
}

.byno-mobile-header-goback svg,
.byno-mobile-header-shop-btn svg {
    height: 30px;
    width: auto;
}

.page-title-mobile-byno {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    font-size: 18px;
    font-weight: 600;
}

/* mobile header */

/* woocommerce */

/* footer top box */

/* footer */

@media (max-width: 480px) {
div.item-popup-notice-woo-byno {
        flex-wrap: wrap !important;
    }
}

/* unified footer */

.popup-notice-woo-byno {
    margin: 10px auto;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.inner-popup-wrapper-woo-byno {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--byno-var-color-light-dark-bg);
    border-radius: 20px;
    max-width: 600px;
    width: 90vw;
    gap: 15px;
    padding: 20px;
    flex-wrap: wrap;
}

div.item-popup-notice-woo-byno {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    display: flex;
    flex-direction: row;
    margin: auto !important;
    gap: 6px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex: 1;
}

.item-popup-notice-woo-byno.woocommerce-error {
    color: #b81c23;
}

div.item-popup-notice-woo-byno>a {
    width: 30%;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    overflow: hidden !important;
    position: relative !important;
    background: transparent !important;
    margin: 0 !important;
    padding: .618em 1em !important;
    line-height: 1;
}

div.item-popup-notice-woo-byno::before,
div.item-popup-notice-woo-byno::after {
    display: none;
}

.close-popup-byno {
    width: fit-content;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    background: transparent !important;
}

.close-popup-byno::before,
div.item-popup-notice-woo-byno>a::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
}

.woocommerce-info+.close-popup-byno,
.woocommerce-info.item-popup-notice-woo-byno>a {
    color: var(--byno-var-main-color);
    margin: 0 !important;
}

.woocommerce-info+.close-popup-byno::before,
.woocommerce-info.item-popup-notice-woo-byno>a::before {
    background: var(--byno-var-main-color);
}

.woocommerce-error+.close-popup-byno,
.woocommerce-error.item-popup-notice-woo-byno>a {
    color: #b81c23;
}

.woocommerce-error+.close-popup-byno::before,
.woocommerce-error.item-popup-notice-woo-byno>a::before {
    background: #b81c23;
}

.woocommerce-message+.close-popup-byno,
.woocommerce-message.item-popup-notice-woo-byno>a {
    color: var(--byno-var-main-color);
}

.woocommerce-message+.close-popup-byno::before,
.woocommerce-message.item-popup-notice-woo-byno>a::before {
    background: var(--byno-var-main-color);
}

.item-popup-notice-woo-byno:has(a)+.close-popup-byno {
    /*display: none;*/
}

.right-box-m-header-byno {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.left-box-m-header-byno {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.woocommerce .woocommerce-breadcrumb {
    display: flex;
    justify-content: center;
    white-space: nowrap;
    overflow-x: auto;
    margin: auto 15px;
    padding-bottom: 15px;
}

.buyno-star-rating-wrapper {
    display: flex;
    gap: 8px;
    justify-content: start;
    align-items: center;
    margin-top: 5px;
}

.buyno-star-rating {
    height: 22px;
    display: flex !important;
    justify-content: start;
    align-items: center;
    gap: 5px;
    width: 100% !important;
}

.buyno-star-rating-stars-box {
    display: flex;
    width: 74px;
    position: relative;
    height: 23px;
}

.header-byno-full {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.inner-header-byno {
    background: var(--byno-var-color-light-dark-bg-blur);
    width: 100%;
    margin: 0 auto;
    gap: 12px;
    min-height: 80px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 10px;
    box-shadow: 0 0 15px -10px var(--byno-var-color-light-dark-shadow);
    transition: gap 0.3s ease, padding 0.3s ease;
}

.header-scrolled .inner-header-byno {
    gap: 0;
    padding: 15px 25px;
}

.logo-header-byno img,
.logo-header-byno svg {
    width: auto;
    height: 50px;
}

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

.top-head-in-header-byno,
.bottom-head-in-header-byno {
    display: flex;
    flex: 1;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.top-head-in-header-byno {
    overflow: visible;
    position: relative;
}

.bottom-head-in-header-byno {
    max-height: 100px;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
}

.header-scrolled .bottom-head-in-header-byno {
    max-height: 0;
    opacity: 0;
    margin: 0;
    pointer-events: none;
}

.logo-search-box-header-byno {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.right-bottom-header-box-byno {
    display: flex;
    flex: 1;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.banner-top-header-buyno,
.banner-top-header-buyno a,
.banner-top-header-buyno img {
    position: relative;
    display: block;
    height: auto;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
}

.text-banner-top-header-byno {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-inline: 40px;
    background: var(--byno-var-main-color);
    justify-content: center;
    align-items: center;
    border-radius: 0;
    height: fit-content;
    color: #ffffff;
    overflow: hidden;
    font-size: 16px;
    font-weight: 500;
    min-height: 45px;
}

@media (max-width: 768px) {
.text-banner-top-header-byno {
        padding: 10px;
        row-gap: 0;
        font-size: 100%;
    }
}

@media (max-width: 768px) {
.banner-top-header-buyno.byno-except-desktop img {
        height: 30px;
    }
}

.top-banner {
    width: 100%;
    overflow: hidden;
    background: var(--byno-var-main-color);
    color: #fff;
}

.woocommerce a.button.byno-unavailable-loop-btn {
    background: var(--byno-var-color-light-dark-opacity-bg);
    border: 1px solid var(--byno-var-color-light-dark-border);
    color: var(--byno-var-color-light-dark-opacity-text);
}

.woocommerce a.button.byno-unavailable-loop-btn:hover {
    background: var(--byno-var-color-light-dark-opacity-bg);
    color: var(--byno-var-color-light-dark-opacity-text);
    opacity: 0.95;
}

.banner-image-header-buyno {
    display: block;
    width: 100%;
    overflow: hidden;
    background: var(--byno-var-main-color);
    color: #fff;
    max-height: 50px;
}

.top-banner-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    margin: auto;
}

.top-banner-track.animate {
    animation: bannerScroll 16s linear infinite;
}

@keyframes bannerScroll {
    from {
        transform: translateX(-100vw);
    }

    to {
        transform: translateX(120vw);
    }
}

.woocommerce nav.woocommerce-pagination ul {
    clear: both;
    border: 0px solid !important;
    border-left: 0;
    margin: 0px !important;
}

.woocommerce nav.woocommerce-pagination ul li {
    border-left: 0px solid !important;
}
