
.products-colors{

    margin-top:1rem;
    display: -ms-flexbox;
    /*margin-top:0;*/
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 1.25rem;

}
.color-swatches{
    margin-top: 5px;
    margin-top: .3125rem;
}
.color-swatches{
    -moz-transition-property: margin;
    -o-transition-property: margin;
    -webkit-transition-property: margin;
    transition-property: margin;
    -moz-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
    -moz-transition-duration: .5s;
    -o-transition-duration: .5s;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    position: absolute;
    top:0;
    right:0;
    margin:5px;
}

.swatches li a{
    display: block;
}
.swatches li  img{
    display: block;
    background-size: contain;
    width: auto !important;
    height: 30px;
    background: #fff;
    display: inline-block;
    margin-right: .313em;
    position: relative;
}
.swatches ul li:hover{
    cursor: pointer;
}
.swatches ul{
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    -webkit-align-items: stretch;
    -moz-align-items: stretch;
    -ms-align-items: stretch;
    align-items: stretch;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;

    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
}

.product-tile-wrapper .product-tile:hover .tile-body .color-swatches{
    margin-top: 5px;
    margin-top: .3125rem;
}
.more-swatches:hover{
    cursor: pointer;
}

.more-swatches{
    width: 30px;
    height: 30px;
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.more-swatches .icon{
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
    opacity: .4;
}

.icon-more{
    background-image: url("../img/color.svg");
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.show-more-colors{
    display: none;
}

@media (max-width: 767px) {

    .color-swatches .swatches li{
        display: none;
    }
    .show-more-colors{
        display: block;
        font-size: 11px;
        margin: 5px;
        color: #777575;
    }

    .more-swatches{
        margin:5px 0;
    }
    .swatches ul{
        margin: 0;
    }
}

.products-colors .plg-colors li{
    margin-right: 10px;
    /*margin-top: 10px;*/
}

.products-colors .plg-colors li:last-child{
    margin-right: 0;
}
.products-colors{
    /*margin: 15px 0;*/
}
.products-colors ul{
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.products-colors ul li a img{

}

.products-colors li a{
    /*border-radius: 50%;*/
    /*width: 55px;*/
    background: #fff;
    /*height: 55px;*/
    overflow: hidden;
    /*box-shadow: 0px 3px 6px #00000029;*/
    /*border: 5px solid #FFFFFF;*/
    margin: AUTO;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*flex-direction: column;*/
}
.products-colors li{
    max-width: 23%;
    width: 23%;
}
.products-colors .plg-colors li.selected{
    /*border: 2px solid #c02228;*/
    border-radius: 50%;
}
.products-colors .plg-colors{
  width: 100%;
  margin: 0;
    /*margin-bottom: 25px;*/
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  align-items: stretch;
  -webkit-box-direction: normal;
  -webkit-box-orient: horizontal;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /*margin-top:25px;*/
}


.products-colors .plg-colors li img{

    background-size: contain;
    width: 35px;
    height: 35px;
    /*background: #fff;*/

    /* padding: 3px; */
    display: inline-block;
    position: relative;
}

.products-colors h2 {

    /*margin-right: 40px;*/

    margin-bottom: 15px;
    /*text-transform: uppercase;*/
    display: block;
    /*width: 100%;*/

    width: 6.5rem;
    margin: 0;
    padding-right: 0.25rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-size: 0.75rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 2.75rem;
    font-size: 16px;

}

@media (max-width: 991px) {
    .products-colors li{
        max-width: 26%;
        width: 26%;
    }
}

@media (max-width: 850px) {
    .products-colors li{
        max-width: 48%;
        width: 48%;
    }
}

@media (max-width: 767px ) {
    .more-swatches{
        width: 20px;
        height: 20px;
    }
    .products-colors ul{
        gap: 15px;
		        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        justify-content: unset;
        padding-bottom: 6px;
		margin-bottom: 0;
    }

    .show-more-colors{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        margin-right: 5px;
    }


}





.products-colors li a.selected{

    border: 2px solid #0bbdb4;
}
.products-colors li a{
    position: relative;
    overflow: hidden;
    padding:6px;
    border:1px solid #f1f1f1;
    border-radius: 0.25rem;
}
.products-colors li a .color{
    font-size: 0.75rem;
}
.products-colors li a .color .value{
        font-weight: bold;
    color: #059f97;
}
.price-details{
    font-size:12px;
}

.price-details em{
    font-weight: bold;
}

.products-colors li a span {

    /*background-color: #000;*/
    /*color: #ffffff;*/
    /*position: absolute;*/
    /*font-size: 12px;*/
    /*top: -40px;*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    /*width: 100px;*/
    /*padding: 5px 0;*/
    /*opacity: 0;*/
    /*transition: 0.3s;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*border-radius: 20px;*/
}
.products-colors li a span::before {
    /*position: absolute;*/
    /*content: "";*/
    /*border-width: 10px;*/
    /*border-color: #000 transparent transparent;*/
    /*border-style: solid;*/
    /*left: 50%;*/
    /*bottom: -20px;*/
    /*transform: translateX(-50%);*/
    /*opacity: 0;*/
}
.products-colors li a:hover {
    overflow: visible;
}
.products-colors li a:hover span,
.products-colors li a:hover span::before {
    opacity: 1;
}
.products-colors li.product-color-disable{
    position: relative;
    cursor: default;
    opacity: .3;

}
.products-colors li.product-color-disable a{
    cursor: default;

    border:1px solid #dadada;

}

.products-colors li.product-color-disable a.selected{
    border:none;
}
.products-colors li.product-color-disable:after{
    content: "";
    position: absolute;
    top: 0.375rem;
    left: 0.375rem;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    background: linear-gradient(to left top, transparent 50%, #9e9e9e 50%, transparent calc(50% + 2px))
}
.more-swatches::before, .more-swatches::after {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    border-radius: 50%;
}
.more-swatches::after{
    content: '';
    left: 6px;
    -webkit-transform: translateY(-50%) rotate(-145deg);
    transform: translateY(-50%) rotate(-145deg);
    width: 16px;
    height: 16px;
    background: -webkit-linear-gradient(30deg, rgba(255,0,0,0.8), rgba(255,0,0,0) 70%),-webkit-linear-gradient(330deg, rgba(255,191,0,0.8), rgba(255,191,0,0) 70%),-webkit-linear-gradient(top, rgba(0,255,64,0.8), rgba(0,255,64,0) 70%),-webkit-linear-gradient(210deg, rgba(0,64,255,0.8), rgba(0,64,255,0) 70%),-webkit-linear-gradient(150deg, rgba(128,0,255,0.8), rgba(128,0,255,0) 70%),-webkit-linear-gradient(bottom, rgba(255,0,191,0.8), rgba(255,0,191,0) 70%);
    background: linear-gradient(60deg, rgba(255,0,0,0.8), rgba(255,0,0,0) 70%),linear-gradient(120deg, rgba(255,191,0,0.8), rgba(255,191,0,0) 70%),linear-gradient(180deg, rgba(0,255,64,0.8), rgba(0,255,64,0) 70%),linear-gradient(240deg, rgba(0,64,255,0.8), rgba(0,64,255,0) 70%),linear-gradient(300deg, rgba(128,0,255,0.8), rgba(128,0,255,0) 70%),linear-gradient(360deg, rgba(255,0,191,0.8), rgba(255,0,191,0) 70%);
}

.mobile-version-colors{
    display: none;
}







/* #######################
### ACCORDION STYLING ###
########################## */
.accordion {
    /* Apply border radius to the parent container... */
    border-radius: 8px;
    /* ...and set 'overflow: hidden' to crop its children so the border remains visible. */
    overflow: hidden;

    &:has(.accordion-toggle:focus-visible),
    &:has(.accordion-toggle:focus) {
        outline: 2px solid var(--accent-light);
    }
}

.accordion-toggle-colors {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-pack: start;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    /*min-height: 3.8125rem;*/
    padding: 15px;
    color: inherit;
    text-align: left;
    border: 1px solid #f1f1f1;
    border-radius: 0.25rem;
    cursor: pointer;
    background: #fff;
}

.accordion-toggle-colors:active,
.accordion-toggle-colors:focus-visible,
.accordion-toggle-colors:focus,
.accordion-toggle-colors:hover{
    outline: none;
}

.btn-icon {
    position: relative;
    width: 32px;
    border-radius: 100vmax;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 0.9375rem;
    font-size: 1.75rem;
    color: #696969;


    &::before,
    &::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;

        height: 1px;
        width: calc(100% - 22px);

        background-color: #696969;
    }
    &::after {
        rotate: 90deg;
    }
    .accordion-toggle-colors[aria-expanded="true"] &::before,
    .accordion-toggle-colors[aria-expanded="true"] &::after {
        rotate: 180deg;
    }

    /* The prefers-reduced-motion feature query detects whether the user has requested the operating system to minimize the amount of animation or motion it uses. */
    @media (prefers-reduced-motion: no-preference) {
        &::before,
        &::after {
            /* Transition from '-' to '+'. */
            transition: rotate var(--transition-duration-timing-from);
        }

        /* Transition from '+' to -'. */
        .accordion-toggle-colors[aria-expanded="true"] &::before,
        .accordion-toggle-colors[aria-expanded="true"] &::after {
            transition: rotate var(--transition-duration-timing-to);
        }
    }
}

.accordion-panel-colors {
    display: grid;
    grid-template-rows: 0fr;
    /* Make the collapsed panel container not accessible to screen reader. */
    /* Contrary to 'display: none', the 'visibility' property can be delayed to transition other properties (here 'grid-template-row'). */
    visibility: hidden;
    /* Also add opacity transition for better visual effect. */
    opacity: 0;

    .accordion-toggle-colors[aria-expanded="true"] + & {
        grid-template-rows: 1fr;
        visibility: visible;
        opacity: 1;

        padding: 1rem 1rem 1.25rem;
        border: 1px solid #f1f1f1;
        border-top: 0;
        border-radius: 0 0 0.25rem 0.25rem;
        overflow: hidden;
    }

    @media (prefers-reduced-motion: no-preference) {
        /* Transition from expanded to collapsed state. */
        /* The 'visibility: hidden' property cannot be animated but it can be delayed so it kicks in only after the 'grid-template-rows' and 'opacity' transitions are complete.  */
        transition: grid-template-rows var(--transition-duration-timing-from),
        visibility var(--transition-duration-delay-timing-from),
        opacity var(--transition-duration-timing-from);

        /* Transition from collapsed to expanded state (no delay required).*/
        /* This works since 'visbility: visible' is set instantaneously and the 'grid-template-rows' and 'opacity' control the state transition. */
        .accordion-toggle-relatedproductcapacity[aria-expanded="true"] + & {
            transition: grid-template-rows var(--transition-duration-timing-to),
            visibility var(--transition-duration-delay-timing-to),
            opacity var(--transition-duration-timing-to);

        }
    }
}
.accordion-toggle-colors[aria-expanded="true"]{
    border-bottom: none;
}


.accordion-panel-colors .accordion-drawer {
    color: var(--primary-dark);
    background-color: var(--accent-light);
    overflow: hidden;
}

/* Additional div to add padding to the content without messing with the animation. */
.accordion-panel-colors .accordion-content {
    padding: 1em;
    p {
        text-align: left;
    }
}
.accordion-toggle-colors .title-toggle{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0 auto 0 0;
}
.accordion-toggle-colors .title-toggle .large-title{

    gap: 1px;
    flex-direction: column;
    align-items: start;
    display: flex;
}

.accordion-toggle-colors .title-toggle .large-title .text{
    font-size: 0.875rem;
    font-weight: bold;
}
.accordion-toggle-colors .title-toggle .large-title .bal{
    font-size: 0.75rem;
    font-weight: 900;
}


.accordion-toggle-colors  .title-toggle .icon:before{
    content: '\e934';
    font-family: IcoMoon;

    color: #000;
    font-size: 11px;
}

.accordion-toggle-colors .selected-text img{
    width: 40px;
}


@media (max-width: 767px) {
    .mcolors,.desktop-vs{
        display: none !important;
    }
    .mobile-version-colors{
        display: block;
        width: 100%;

    }
    .products-colors{
        margin-top:0;
    }

    .products-colors li{
        max-width: 30%;
        width: 30%;
    }
    .color-Selected{
        width: 2.75rem;
        height: 2.75rem;
        margin-left: 0.625rem;
        border-radius: 0.25rem;
        border: 1px solid;
        padding: 0.125rem;
        object-fit: contain;
        border-color: #f1f1f1;
    }
	
	.products-colors li a{
	padding:10px;}
}


@media (max-width: 640px) {
    .products-colors li{
        max-width: 47%;
        width: 47%;
    }

    .accordion-toggle-colors{
        padding:8px 15px;
    }
}