:root {
    --green: #C0FF00;
    --red: #FF0000;
    --black: #221629;
    --white: #FFFFFF;
    --yellow: #FFC70F;
    --swiper-theme-color: #221629;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.theme-shadow{
    box-shadow: 0 0 6px rgba(0, 0, 0, .2);
}

header {
  transition: transform 0.3s ease;
}

header.scroll-up{
    transform: translateY(0);
}

header.scroll-down {
    transform: translateY(-100%);
}

.sec-legal {
    p{
        margin-bottom: 20px;
    }
    h2{
        font-weight: 600;
        margin-bottom: 20px;
    }
    ul{
        margin: 0 0 20px 20px;
    }
    li{
        list-style: disc;
        margin-top: 8px;
    }
}

.filter-label {
    cursor: pointer;
    position: relative;
    span { transition: color 0.3s; }
    input[type="checkbox"]:checked + span {
        color: #FF0000;
        font-weight: 600;
        &::after {
            content: "\e908";
            font-family: 'icomoon';
            color: #FF0000;
            position: absolute;
            right: 2px;
            top: 4px;
            font-size: 12px;
            font-weight: 400;
        }
    }
}

.bottom-navigation::after{
    content: "";
    position: absolute;
    bottom: -75px;
    width: 100%;
    height: 100px;
    box-shadow: 0 0 25px 44px rgba(0, 0, 0, .2);
    z-index: -1;
    background: #fff;
}

/* Wheel size chip selected state */
.filter-label input[type="checkbox"]:checked + span.block {
    background-color: #221629;
    color: #C0FF00;
    border-color: #221629;
}
.filter-label input[type="checkbox"]:checked + span.block::after {
    display: none;
}

.description-list {
    ul{
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    li{
        list-style: inside;
    }
} 

.footer{
    background: linear-gradient(300deg,#000 60%,#383838 100%);
}

/* swiper carousel*/
.swiper{
    padding-bottom: 30px;
}
.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 14px;
    font-weight: bold;
}
.pd-thumb-carousel .swiper-slide.swiper-slide-thumb-active .border{
    border-color: var(--green);
}
.pd-thumb-carousel .swiper-slide{
    height: auto;
    width: 100% !important;
    cursor: pointer;
    outline: 0;
}

/* Accordion */
.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.accordion-content[style*="max-height"] {
  opacity: 1;
}

/* Tabs */
.tab-content{
    display: none;
    &.active{
        display: block;
        transition: all .3s ease-in-out;
    }
}

.tabs li{
    padding: 8px 18px;
    border-radius: 6px;
    transition: all .25s ease-in-out;
    color: #6b7280;

    &:hover {
        color: var(--black);
    }

    &.active{
        background-color: var(--green);
        color: var(--black);
    }
}

.form-group{
    position: relative;
    .form-label{
        pointer-events: none;
        position: absolute;
        top: 12px;
        left: 16px;
        font-size: 14px;
        color: #6b7280;
        background-color: transparent;
        transition: all .3s ease-in-out;
    }
    .form-label.select{
        opacity: 0;
        transition: opacity 0.3s;
    }
}

.form-group:has(.form-select option:checked:not(:first-child)) {
    .form-select{
        border-color: #5ad2354a;
    }
    .form-label.select {
        opacity: 1;
        top: -8px;
        left: 12px;
        font-size: 12px;
        background-color: #fff;
        padding: 0 4px;
        z-index: 999;
        color: var(--color-brand-500);
    }
}
.form-group:has(.form-control:focus),
.form-group:has(.form-control:not(:placeholder-shown)) {
    .form-control{
        border-color: #5ad2354a;
    }
    .form-label {
        top: -8px;
        left: 12px;
        font-size: 12px;
        background-color: #fff;
        padding: 0 4px;
        color: var(--color-brand-500);
    }
}

.custom-scrollbar {
    &::-webkit-scrollbar {
        width: calc(var(--spacing) * 1.5);
        height: calc(var(--spacing) * 1.5);
    }
    &::-webkit-scrollbar-track {
        border-radius: calc(infinity * 1px);
    }
    &::-webkit-scrollbar-thumb {
        border-radius: calc(infinity * 1px);
        background-color: var(--color-gray-200);
    }
}
@media only screen and (max-width: 768px) {
    .container { 
        padding-left: 16px;
        padding-right: 16px; 
    }
}
@media only screen and (min-width: 576px) {
  .container { max-width: 540px; }
}

@media only screen and (min-width: 768px) {
  .container { max-width: 720px; }
}

@media only screen and (min-width: 992px) {
  .container { max-width: 960px; }
}

@media only screen and (min-width: 1200px){
    .container{
        max-width: 1140px;
    }
    .sec-legal {
        p,li{
            font-size: 20px;
        }
        h2{
            font-size: 26px;
        }
    }
    .top-selling-carousel .swiper-slide{
        opacity: 0.5;
        transform: scale(0.8);
    }
    .top-selling-carousel .swiper-slide-next {
        opacity: 1;
        transform: scale(1.02);
    }
    .top-selling-carousel .swiper-button-next{
        right: 30%;
    }
    .top-selling-carousel .swiper-button-prev{
        left: 30%;
    }
    .product-carousel .swiper-slide {
        transition: transform 0.4s ease, opacity 0.4s ease;
        opacity: 0.6;
        transform: scale(0.85);
    }
    .product-carousel .swiper-slide-next,
    .product-carousel .swiper-slide-next + .swiper-slide,
    .all-active .swiper-slide {
        transform: scale(1);
        opacity: 1;
        z-index: 10;
    }
}

@media only screen and (min-width: 1400px) {
  .container { max-width: 1320px; }
}

@media only screen and (min-width: 1600px) {
  .container { max-width: 1520px; }
}