@font-face {
    font-family: 'Gidole-Regular';
    src: url('../gidole-regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gidole-Regular', sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

iframe {
    width: 100%;
    height: 100%;
}

.main {
    position: relative;
    width: 100%;
    height: 100vh;
}

.configuration-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.config-box {
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin: 0 auto;
    background: transparent;
    border-radius: 20px;
    padding: 5px 10px;
    position: relative;
    align-items: center;
}

.config-type {
    border: none;
    color: rgb(0, 0, 0);
    padding: 5px 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    font-size: 12px;
    text-transform: uppercase;
}
.config-type2 {
    display: none; 
    width: 20%;
    text-align: center;
    border: none;
    color: rgb(0, 0, 0);
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    font-size: 16px;
    border-bottom: 2px solid rgb(0, 0, 0);
}

/*.addtocartbtn{*/
/*    background-color: #000!important;*/
/*    color: white!important;;*/
/*}*/


    .open-btn {
      display: block;
      position: absolute;
      bottom: 30px;
      left: 20px;
      cursor: pointer;
      z-index: 1111111111111111111;
    }

    .modal-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 11111111111;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .modal-content {
      background: #fff;
      border-radius: 12px;
      max-width: 50%;
      max-height: 50%;
      overflow: auto;
      position: relative;
    }

    .modal-content img {
      width: 100%;
      height: auto;
      display: block;
    }

    .modal-close {
      position: absolute;
      top: 10px;
      right: 10px;
      background: #000000;;
      border: none;
      font-size: 17px;
      cursor: pointer;
      color: #fff;
      border-radius: 50%;
      width: 25px;
    }

.move-tab {
    flex: 0 0 auto;
}

.config-type.active {
    color: black;
    /* border-radius: 20px; */
    border-bottom: 1px solid black;
}
.config-type2.active {
    display: block;
    color: black;
}

.f-16{
        font-size: 20px!important;
        margin-bottom: 3px!important;
}
    
.f-15{
    font-size: 18px!important;
}

#add-to-cart{
    position: absolute;
    bottom: 75px;
    right: 10px;
    z-index: 11111111111;
}

.config-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    justify-content: center;
}

.config-box .glider {
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 103px;
    height: 100%;
    transition: left 0.3s ease, width 0.3s ease;
    z-index: 1;
    border-bottom: 1px solid black;
}

#next{
    /* display: none; */
}

.config-box-items {
    position: absolute;
    bottom: 130px;
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    padding: 10px 30px;
    overflow: hidden;
}

.config-box-items::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -1;
}

.items {
    display: flex;
    overflow: auto;
    gap: 30px;
    padding: 10px;
    max-width: 100%;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in, visibility 0s 0.2s;
    align-items: flex-end;
}

.items .item:first-child {
    align-self: flex-end;
}

.items.fade {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease-in, visibility 0s 0s;
}

.items:not(:first-child) {
    display: none;
}

.items::-webkit-scrollbar {
    display: none;
}
.arrow {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: rgba(0, 0, 0);
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.arrow.backward {
    left: 3px;
}

.arrow.forward {
    right: 3px;
}

.arrow img {
    width: 15px;
    filter: invert(1);
}


.item img {
    width: 100px;
    height: 100px;
    /* border: 1px solid black; */
    padding: 10px;
    z-index: 1;
    object-fit: scale-down;
}

.item {
    cursor: pointer;
    flex: 0 0 auto;
    background-color: #b7b7b6a6;
    padding: 10px;
    border-radius: 5px;
}

.item.active {
    position: relative;
}

.item img.active {
    /* border: 1px solid white; */
}

.item.active .item-img-container::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('../assets/icons/check.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    right: 0;
    z-index: 2;
    filter: brightness(110%) hue-rotate(30deg) saturate(250%) contrast(120%);
    pointer-events: none;
}

.item.active.white-active .item-img-container::before {
    filter: brightness(110%) hue-rotate(30deg) saturate(250%) contrast(120%);
}
.item-colors {
    display: flex;
    justify-content: space-between;
    margin: 10px;
}

.item-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.item-color.active {
    outline: 1px solid black;
    outline-offset: 3px;
}

.hand {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hand .hand-items {
    display: flex;
    justify-content: center;
    /* flex-wrap: wrap; */
    gap: 10px;
}

.hand .hand-type {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.hoodie-size {
    background: rgba(108, 108, 108, 0.54);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    width: 50px;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    position: absolute;
    top: 20px;
    right: 0;
    transform: translateX(-50%);
    max-height: 50px; 
    /*overflow: hidden;*/
    transition: max-height 0.3s ease-in-out;
    max-height: 300px;
}
/*.hoodie-size.show {*/
/*    max-height: 300px;*/
/*}*/

.size {
    color: #fff;
    cursor: pointer;
}

.size.active {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background-color: rgba(166 159 159 / 60%);*/
    background-color: #000;
    border-radius: 50%;
    padding: 15px;
}

.hoodie-label {
    color: white;
    background: rgba(108, 108, 108);
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -10px;
}

.hoodie-label img {
    width: 30px;
}

.total-amount {
    position: absolute;
    bottom: -15px;
    right: 20px;
}
.share {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #b7b7b6a6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    top: 30px;
    left: 20px;
    cursor: pointer;
}
.share img {
    width: 30px;
}

.items:not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(5)):not(:nth-child(6)) .arrow {
    display: none;
}
.color-item {
    background-color: transparent;
    padding: 0;
}

.color-item img{
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    padding: 0;
}
.color-item img.active {
    border: 2px solid rgb(0, 0, 0);
    padding: 3px;
}
.logo-colors {
    background-color: rgb(195 195 195);
    position: absolute;
    top: 40%;
    left: 25%;
    transform: translateY(-50%);
    padding: 20px;
    text-align: center;
    transition: opacity 0.3s ease-in, visibility 0s 0.2s;
    opacity: 0;
    visibility: hidden;
}
.logo-colors.fade {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in, visibility 0s 0s;
}

.logo-color-label {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.logo-color-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.progress-bar {
    position: relative; 
    padding: 5px;
    width: 80%;
    margin: 10px auto;
    height: 10px;
    background-color: rgb(152, 152, 152);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    width: var(--progress, 0%);
    height: 100%;
    border-radius: 10px 0 0 10px;
    transition: width 0.3s ease;
}
.progress-section {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 50%;
    margin: 10px auto;
}
.items:first-child {
    justify-content: center;
}
.move-tab {
    display: block;
}
.move-tab button, .move-tab input[type="submit"] {
    border: 2px solid black;
    padding: 5px 20px;
    color: black;
    font-weight: 700;
    cursor: pointer;
    background-color: inherit;
    transition:  background-color 0.2s linear, color 0.2s linear;
    width: 150px;
}
.move-tab button:hover, .move-tab input[type="submit"]:hover {
    background-color: #000;
    color: white;
} 

.selection-type {
    width: 50%;
    margin: 0 auto;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.selection-type button {
    border: 3px inset #e5e0e0;
    padding: 5px 10px;
    cursor: pointer;
    background-color: #6d6d6d;
    color: rgb(255, 255, 255);
    font-weight: 600;
}
.selection-type button.active {
    background-color: #ffffff;
    color: #000;
    border: 3px inset black;
}


@media screen and (max-width: 1440px) {
    .config-box-items {
        bottom: 140px;
    }

    /*.item img {*/
    /*    width: 80px;*/
    /*    height: 80px;*/
    /*}*/

    .config-type {
        font-size: 12px;
        padding: 5px;
    }

    .config-box {
        /* display: grid;
        grid-template-columns: repeat(3, 1fr); */
        align-items: center;
        gap: 8px;
        top: 10px;
        padding: 5px 40px;
    }

    .config-box .glider {
        display: none !important;
    }
    .config-type.active {
        /*background-color: white;*/
        border-bottom: 2px solid #000;
        border-radius: 0;
    }
    .item-colors {
        margin: 5px;
    }
    .config-type {
        display: none;
    }
    .selection-type button {
        display: none;
    }
    .move-tab {
        display: block;
    }
}

@media screen and (max-width: 1200px) {
    /* .items .arrow {
        display: flex !important;
    } */
    .logo-colors {
        left: unset;
        right: 3%;
        padding: 10px;
        width: 15%;
        overflow: auto;
        transform: translateY(-70%);
        /* max-height: 200px; */
        border-radius: 5px;
        top: 51%;
        background-color: transparent;
    }
    .logo-color-items {
        /* display: flex; */
        grid-template-columns: none;
    }
    .logo-color-label {
        display: none;
    }
    .progress-bar {
        width: 70%;
    }
    .items:first-child {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .selection-type {
        position: fixed;
        gap: 7px;
        top: 0;
        transform: translate(50%, 50%);
    }
    .item img {
        width: 60px;
        height: 60px;
    }
    .item {
        /*width: 100px;*/
        text-align: center;
    }

    #hoodie-color-plate {
        justify-content: flex-start !important;
    }
    .config-box {
        width: 100%;
        text-align: center;
    }

    .config-type {
        font-size: 10px;
        padding: 2px 5px;
    }

    .config-box-items {
        width: 80%;
        bottom: 100px;
    }
    .progress-section {
        position: relative;
        top: 4px;
        padding: 0 15px;
        width: 100%;
    }

    #hoodie-sleeve-logo .item img {
        width: 70px;
        height: 70px;
    }

    #hoodie-sleeve-logo {
        flex-direction: row;
        align-items: center;
    }

    .hand {
        width: 100%;
    }

    .hand .hand-items {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hand .hand-items::-webkit-scrollbar {
        display: none;
    }

    .hand .item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .total-amount {
        bottom: unset;
        right: 20px;
        top: 10px;
    }

    .hoodie-label {
        width: 50px;
        height: 50px;
    }

    .hoodie-label img {
        width: 30px;
    }

    .hoodie-size {
        width: 40px;
        right: unset;
        left: 10px;
        transform: translateX(20%);
        top: 115px;
    }
    .share {
        bottom: unset;
        top: 15px;
        left: 18px;
        width: 40px;
        height: 40px;
        
    }
    .share img {
        width: 25px;
    }
    .item-colors {
       gap: 10px;
    }
    
    .configuration-container {
        bottom: 80px;
    }
    .logo-color-items .color-item img {
        width: 30px !important;
        height: 30px !important;
    }
 
    .config-type2{
        width: 100%;
    }
    .mob{
        font-size: 18px !important;
    }
    
   .items:not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(5)):not(:nth-child(6)) .arrow {
     display: block;
     display: flex;
    }
    .config-box {
        padding: 5px 15px;
        gap: 30px;
    }
    .move-tab button, .move-tab input[type="submit"] {
        width: unset;
    }
    .move-tab input[type="submit"] {
        padding: 5px 8px;
    } 
    
    .f-16{
        font-size: 16px!important;
        margin-bottom: 3px!important;
    }
    
    .f-15{
        font-size: 15px!important;
    }
    
    #add-to-cart{
        position: absolute;
        bottom: 0;
        right: 15px;
        top: 62px;
        z-index: 00000;
    }
    
    .modal-content {
        padding: 25px;
     }
     
     .open-btn {
      top: 73px;
    }
    
    .modal-content {
        max-width: 90%;
        max-height: 90%;
    }
}
