/*Counter */
#countdown {
    display: flex;
    align-items: flex-end;
}

.time-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.digits {
    display: flex;
}

.digit-container {
    position: relative;
    width: 30px;
    height: 40px;
    overflow: hidden;
    display: inline-block;
    margin: 0 2px;
    color: white;
}

.digit {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 40px;
    text-align: center;
    font-weight: 800;
    font-size: 32px;
    top: 0;
}

.digit.next {
    top: -100%;
}

.digit.move-up {
    animation: moveUp 0.5s forwards;
}

.digit.move-down {
    animation: moveDown 0.5s forwards;
}

.label {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
}

.colon {
    font-size: 32px;
    line-height: 40px;
    padding: 0 5px;
}

@keyframes moveUp {
    0% {
        top: 0%;
    }

    100% {
        top: -100%;
    }
}

@keyframes moveDown {
    0% {
        top: 100%;
    }

    100% {
        top: 0%;
    }
}

.digit.next {
    top: -100%;
}

.digit.move-up {
    animation: moveUp 0.5s forwards;
}

.digit.move-down {
    animation: moveDown 0.5s forwards;
}

@keyframes moveUp {
    0% {
        top: 0%;
    }

    100% {
        top: -100%;
    }
}

@keyframes moveDown {
    0% {
        top: 100%;
    }

    100% {
        top: 0%;
    }
}

/* Base styles  */
body#black_days {
    background: #000;
}

.black_days_banner img {
    aspect-ratio: 96/37;
    width: 100%;
}

body#black_days .insideText p {
    font-weight: 700;
    font-size: 25px;
    color: #ffffff;
}

body#black_days .multiples-vitrinas {
    display: flex;
    width: 100%;
    gap: 35px;
    height: 100%;
    flex-direction: row;
    align-items: center;
}

body#black_days .black_days_vitrinas_continer {
    width: 60%;
}

body#black_days .imagenVitrinas {
    display: flex;
    width: 40%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.blackdays_container {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-direction: row;
}

.blackdays_large {
    flex: 2;
    position: relative;
    width: 50%;
    display: block;
    flex-basis: 50%;
}

.blackdays_right {
    gap: 10px;
    flex: 1;
    width: 50%;
    flex-basis: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.blackdays_item {
    position: relative;
    /* border: 2px solid #007bff; */
}

.blackdays_item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blackdays_text h2 {
    font-size: 20px;
}

.blackdays_button {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.productContainer {
    background: white;
}

.blackdays_item.blackdays_small_top {
    width: 100%;
}

.blackdays_item.blackdays_small_bottom {
    width: 50%;
    height: 100%;
}

section.container.banners_blackdays {
    display: flex;
    margin-top: 15px;
    justify-content: space-between;
}

section.container.banners_blackdays div {
    padding-right: 5px;
}

.black_days_vitrinas_continer_bottom {
    display: flex;
    height: 50%;
    gap: 10px;
}

section.container.banners_blackdays div {
    position: relative;
}

.blackdays_text {
    /* display: none; */
}

section.sellers_carrousel {
    background-color: #3a8dde;
    padding: 2rem 3rem;
    margin-top: 20px;
}

.black_days_insideText {
    font-size: 28px;
    padding: 35px 0;
    color: white;
}

.tabberHome h2 {
    font-size: 28px;
    color: #3585Da;
}

.tabberHome .titleH {
    text-align: center;
    position: relative;
    font-family: Poppins;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #3585Da;
}

.pestanas button.tab {
    padding: 20px 10px;
    font-size: 18px;
    background: transparent;
    color: white;
    border: 1px solid;
    font-weight: 600;
    border-radius: 10px
}

.pestanas button.tab.active {
    padding: 20px 10px;
    font-size: 18px;
    background: #3585da;
    color: white;
    border: 1px solid #3585da;
}

body#black_days .pestanas {
    display: flex;
    margin: 0 auto;
    text-align: center;
    height: initial;
    gap: 15px;
    margin: 30px auto;
    align-items: center;
    justify-content: center;
}

body#black_days .tabberHome .multiples-vitrinas .seccion-vitrina {
    background: none;
    padding: 20px 0;
}

.imagenVitrinas.black_days_vitrinas_images img {
    aspect-ratio: 468/379;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.black_days_banner {
    position: relative;
}

.black_days_banner {
    position: relative;
}

div#countdown {
    position: absolute;
    right: 25px;
    bottom: 50px;
    font-size: 32px;
    display: flex;
    color: white;
    align-items: flex-start;
}

body#black_days button.owl-next {
    position: absolute;
    right: -35px;
    top: 0;
    bottom: initial;
}

body#black_days button.owl-prev {
    position: absolute;
    left: -40px;
    top: 0;
    height: 60px;
    min-height: 100%;
}

body#black_days .tabberHome button.owl-next span, .tabberHome button.owl-prev span {
    content: none;
    width: 40px;
    display: flex;
    height: auto;
    aspect-ratio: 1;
}

body#black_days .CategoriasHome.LoMasVendido {
    margin-top: 50px;
}

.blackdays_item.blackdays_small_top .blackdays_text {
    position: absolute;
    width: 50%;
    bottom: 40%;
    left: 35px;
    color: white;
}

.blackdays_item.blackdays_small_bottom .blackdays_text {
    position: absolute;
    top: 40px;
    width: 50%;
    right: 14px;
    left: initial;
    color: white;
}

@media (max-width: 1468px) {
 .blackdays_item.blackdays_small_top .blackdays_text {
    position: absolute;
    width: 50%;
    bottom: 40%;
    left: 15px;
    color: white;
}

.blackdays_item.blackdays_small_bottom .blackdays_text {
    position: absolute;
    top: -15px;
    width: 45%;
    right: 15px;
    left: initial;
    color: white;
}
    .blackdays_text h2 {
    font-size: 12px;
}
}

@media (max-width: 1000px) {
    .black_days_banner img {
        aspect-ratio: 1;
        width: 100%;
    }

    div#countdown {
        position: absolute;
        right: 6px;
        bottom: 40%;
        border: 3px solid;
        font-size: 32px;
        display: flex;
        background: #00000099;
        color: white;
        align-items: flex-start;
    padding: 5px;
    }

    .blackdays_container {
        display: flex;
        gap: 10px;
        width: 100%;
        flex-direction: column;
    }

    .blackdays_right {
        gap: 10px;
        flex: 1;
        width: 100%;
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .blackdays_large {
        flex: 2;
        position: relative;
        width: 100%;
        display: block;
        flex-basis: 100%;
    }

    body#black_days .multiples-vitrinas {
        display: flex;
        width: 100%;
        gap: 0;
        height: 100%;
        flex-direction: column;
        align-items: center;
    }

    body#black_days .imagenVitrinas {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    body#black_days .black_days_vitrinas_continer {
        width: 100%;
    }

    .digit-container {
        position: relative;
        width: 15px;
        height: 20px;
        overflow: hidden;
        display: inline-block;
        margin: 0 2px;
        color: white;
    }

    .digit {
        position: absolute;
        width: 100%;
        height: 100%;
        line-height: 20px;
        text-align: center;
        font-weight: 800;
        font-size: 20px;
        top: 0;
    }

    label {
        margin-top: 5px;
        font-size: 10px;
        text-align: center;
    }

    .colon {
        font-size: 29px;
        line-height: 20px;
        padding: 0 5px;
    }

    section.container.banners_blackdays {
        margin-top: 15px;
    }

    body#black_days .prateleira.home.n2colunas h2 {
        display: none;
    }

    body#black_days .n1colunas > ul > li,body#black_days .n2colunas > ul > li,body#black_days .n3colunas > ul > li,body#black_days .n4colunas > ul > li,body#black_days .n5colunas > ul > li, .prateleira.vitrine > ul > li {
        display: inline-block;
        vertical-align: top;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    body#black_days .prateleira.n2colunas ul {
        display: flex;
        gap: 10px;
    }


    body#black_days .tabberHome .multiples-vitrinas .seccion-vitrina {
        background: none;
        padding: 0;
    }
        .blackdays_text h2 {
        font-size: 10px;
    }
  
  .label {
    margin-top: 5px;
    font-size: 8px;
    text-align: center;
}
  section.container.banners_blackdays .cat img {
    aspect-ratio: 430/303;
    height: 100%;
    width: auto;
}
section.container.banners_blackdays {
    aspect-ratio: 430/303;
}
body#black_days .pestanas {    
    border: none;
}
  .owl-carousel {
    display: none !important;
    width: 100%;
    z-index: 1;
}
.no-js .owl-carousel, .owl-carousel.owl-loaded {
    display: block !important;
}
  

button.tab {
    width: 100px;
}

.pestanas button.tab {
    font-size: 12px;
    background: transparent;
    color: white;
    padding: 5px 5px;
    border: 1px solid;
    font-weight: 600;
}

.pestanas button.tab.active {
    padding: 5px 5px;
    font-size: 12px;
    background: #3585da;
    color: white;
    border: 1px solid #3585da;
}
b.product-name.test {
    display: flex;
    min-height: 100px;
}
  .tabberHome .titleH {
    border-bottom: none;
    padding: 0;
}
  .vitrinas_tab_container {
    display: flex;
    gap: 15px;
    flex-direction: column;
}
  body#black_days .pestanas {
    border: none;
    position: relative;
    overflow-x: auto; /* Use auto instead of scroll */
    white-space: nowrap; /* Prevent line breaks */
    width:480px; /* Adjust the width to fit three and a part of the fourth button */
}

button.tab {
    width: 126px;
    display: inline-block; /* Ensure buttons are inline */
}

.pestanas button.tab {
    font-size: 12px;
    background: transparent;
    color: white;
    padding: 5px 5px;
    border: 1px solid;
    width: 128px;
    font-weight: 600;
}

.pestanas button.tab.active {
    padding: 5px 5px;
    font-size: 12px;
    background: #3585da;
    display: flex;
    color: white;
    width: 128px;
    border: 1px solid #3585da;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}


.overflow_x_container {
    overflow-x: scroll;
}

/* For WebKit browsers */
body#black_days .overflow_x_container::-webkit-scrollbar {
    height: 8px; /* Adjust the height of the scrollbar */
}

body#black_days .overflow_x_container::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners */
}

body#black_days .overflow_x_container::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Color when hovered */
}

/* For Firefox */
body#black_days .overflow_x_container {
    scrollbar-width: thin; /* Reduce the width of the scrollbar */
    scrollbar-color: #888 #f1f1f1; /* Color of the scrollbar thumb and track */
}

}
