@font-face {
    font-family: "Della Respira";
    src: url('fonts/DellaRespira-Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Della Respira";
}
/*#interiorPaintingDiv{*/
/*    display: none;*/
/*}*/
.cartMainDiv{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cartMainDiv img{
    fill: #000;
    width: 50px;
    height: 50px;
}
.logoDiv{
    position: absolute;
    /*top: 20px;*/
    top: 30px;
    left: 30px;display: none;
}
.logoDiv img{
    max-width: 100%;
}
.inactive-seddles {
      pointer-events: none;
    }
ul {
    margin-bottom: 0;
}
.main-parent {
    display: grid;
    grid-template-columns: 100%;
    height: 100vh;
    overflow: hidden;
}
.iframe-box {
    background-color: #dbdbdb;
    position: relative;
}

.zoomDiv{
    position: absolute;
    /*top: 20px;*/
    top: 60px;
    right: 50px;
    display: flex;
    gap: 20px;
}
.zoomDiv img{
    max-width: 32px;cursor: pointer;
    display: none;
}
#iframeModalName{
    position: absolute;
    /*top: 10%;*/
    top: 75px;
    left: 50%;transform: translate(-10%,-50%);font-size: 22px;
    display: none;
}
#moreOptions{
    position: absolute;
    bottom: 20px;
    right: 50px;
    display: none;
    gap: 20px;
    align-items: end !important;
}
.config-box {
    overflow-y: auto;
    padding: 40px;
    padding-bottom: 0;
    overflow-x: hidden;
}
.config-box {
    padding: 40px;
}

.main-hdng {
    font-weight: 600;
}

.accordion {
    margin: 50px 20px 25px 20px;
}
/*.accordion-body {*/
/*    padding: 20px 8px !important;*/
/*}*/
.accordion-item {
    border: none;
    border-bottom: 2px solid #a42d20;
    border-radius: 2px !important;
}
.accordion-button {
    font-size: 20px;
}
.accordion-button:focus-visible {
    border: none;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-button:not(.collapsed) {
    color: black;
    background-color: white;
    box-shadow: none;
}

.box-type {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(131px, 1fr));
    justify-content: center;
    align-items: center;
    text-align: center;
    /*height: 250px;*/
    /*overflow-y: scroll;*/
    /*overflow-x: hidden;*/
}
.boxTypes-images {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.box-images {
    width: 140px;
    margin: 20px auto;
    cursor: pointer;
}
/* .abs {
    position: absolute;
    left: center;
    top: center;
    background-color: white;
    border-radius: 50%;
}
.check-img {
    height: 20px;
} */
.images-txt {
    font-size: 14px;
}



.sizesMain-div {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(119px, 1fr));
    justify-content: center;
    align-items: center;
}


.cart-box {
    border: 1px solid #a42d20;
    border-radius: 20px;
    padding: 20px;
    margin-top: 60px;
}
.boxType-hdng {
    font-size: 24px;
    border-bottom: 2px solid #a42d20;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    border-bottom: 2px solid #a42d20;
    padding-bottom: 13px;
}
.list-names {
    display: flex;
    flex-direction: column;
}
.price-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
}
.price-txt {
    font-size: 21px;
}
.btn-danger {
    background-color: #a42d20;
    /*padding: 8px 40px;*/
    padding: 4px 20px;
}



.colors {
    /* width: fit-content; */
    border: 3px solid white;
    /* border-radius: 15%; */
}

.colors-box {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(119px, 1fr));
    justify-content: center;
    align-items: center;
    text-align: center;
}
.colors-img {
    height: 100px;
}

.all-borders {
    /*border: 5px solid white;*/
    border-radius: 3px;
    cursor: pointer;
}

.box-img-active,.all_options.active,.shelfs.active,.saddles.active {
    /*border-color: #d19893;*/
    transition: all 0.2s ease;
    /*border: 5px solid #d19893;*/
    border-radius: 3px;
    cursor: pointer;
}
.colors-border-active {
    border: 3px solid #d19893;
    transition: all 0.3s ease;
}
.options-img-active, .sizes-img-active, .extras-img-active {
    transition: all 0.3s ease;
    border-color: #d19893;
}


/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #a42d20;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a42d20;
}

.icon-class{
    position: absolute;
    left: 65%;
    top: 4%;
    cursor: pointer;
}


.switch-input {
  position: relative;
  width: 50px;
  height: 25px;
  border-radius: 25px;
  background: #999;
  -webkit-appearance: none;
  cursor: pointer;
}
.switch-input::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  width: calc((100% - 4px) / 2);
  height: calc(100% - 4px);
  border-radius: 50%;
  background: #eee;
  transition: all .1s linear;
}
.switch-input:checked {
  background: #a42d20;
}
.switch-input:checked::after {
  transform: translateX(100%);
}
/* Hide the default arrows for number input */
.minus{
    line-height: 30px !important;
}
#inp_qty {
    /* Firefox */
    -moz-appearance: textfield;
    /* Webkit */
    -webkit-appearance: none;
    /* Edge */
    appearance: none;
    max-width: 35px;border: 0;text-align: center;font-size: 24px;
    outline: none;
  }
  .qtyDiv{
    display: flex;gap: 10px;align-items: center;
  }
  /* Hide the up and down arrows in different browsers */
  #inp_qty::-webkit-inner-spin-button,
  #inp_qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  #inp_qty::-webkit-inner-spin-button {
    display: none;
  }

  #inp_qty::-webkit-outer-spin-button {
    display: none;
  }

  /* Hide the arrows in Firefox */
  #inp_qty {
    -moz-appearance: textfield;
  }

  /* Hide the arrows in Edge */
  #inp_qty::-ms-clear,
  #inp_qty::-ms-reveal {
    display: none;
  }
  .qtyInp{
    width: 40px;
    font-size: 30px;
    background: #e4e4e4;
    border-radius: 50%;
    height: 40px;
    display: flex;
    justify-content: center;
    line-height: 39px;
    /*font-weight: 900;*/
    cursor: pointer;
    font-family: sans-serif !important;
  }
    #tabUl{
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0 !important;
    margin-bottom: 20px;
    }
    #tabUl li{
        width: 50%;
    }
    #tabUl li button{
        background: white;
        border: 1px solid;
        padding: 5px 20px;
        font-size: 14px;
        border-radius: 2px;
        width: 100%;
    }
    #tabUl li button.active{
        border: 2px solid #d19893;
    }
    #myTabContent .colors-borders{
        height: 175px;
    }
/*  ===========   Media Queries For Responsive  ========== */

/* Mobile */
@media only screen and (min-device-width: 300px) and (max-device-width: 1100px) {
    .logoDiv {
        position: absolute;
        top: 10px;
        left: 10px;
    }
    .logoDiv img{
        max-width: 110px;
    }
    .main-parent {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .iframe-box {
        height: 60vh;
    }
    .config-box {
        height: auto;
        padding: 15px;
    }
    .accordion-button{
        font-size: 14px;
    }
    h6{
        font-size: 12px;
    }
    .accordion {
        margin: 0;
    }
    .box-type {
        height: auto;
        overflow-y: hidden;
    }
    .zoomDiv {
        position: absolute;
        top: 20px;
        right: 10px;
        display: flex;
        gap: 5px;
    }
    .zoomDiv img {
        max-width: 20px;
    }

    #moreOptions{
        position: absolute;
        bottom: 10px;
        right: 20px;
    }
    #moreOptions h3{
        font-size: 16px;
    }
    .images-txt {
        font-size: 12px;
    }
    .qtyDiv{
        margin-bottom: 10px;
    }
    .qtyInp{
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    .minus {
        line-height: 25px !important;
    }
    .logoDiv img{
        max-width: 80px;
    }
    
    #iframeModalName {
        top: 10px;
        left: 225px;
    } 
}

@media only screen and (min-device-width: 1100px) and (max-device-width: 1330px) {
    .accordion {
        margin: 10px;
    }
    .main-parent {
        grid-template-columns: 60% 40% !important;
    }
}
@media(max-width: 568px){
    #iframeModalName {
          top: 12px;
          left: 53%;
          transform: translate(-50%,10px);
          font-size: 13px;
    }
}
.hidden {
    display: none;
}
#exterior_color_span,#interior_color_span,#options_selected{
    display: block;
    margin-left: 10px;
}

#tack-box-list td, #tack-box-list tr {
    border: 1px solid rgb(75, 74, 74);
    border-collapse: collapse;
    width: 50%;
    text-align: center;
    padding: 10px;
}
#tack-box-list table {
    width: 100%;
}

.image-upload {
  border-radius: 8px;
  margin: 1rem auto;
  max-width: 768px;
}

.dropzone {
  transition: border-color 200ms ease-in;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem;
  padding: 1rem;
  border: 1px solid lightgrey;
  border-radius: inherit;
  text-align: center;

  &:hover {
    cursor: pointer;
  }

  &.active {
    border-color: grey;
  }
}

.upload {
  display: none;
}

.container {
  margin-bottom: 0;

  &.hidden {
    display: none;
  }

  > div {
    border-radius: 8px;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

  img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
}


@media screen and (max-width: 576px) {
    .modal-body {
        max-height: 250px;
        overflow: auto;
    }
}

.text-box {
  margin: 10px 0;
  width: 100%;
}

.text-box textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box; 
  resize: vertical;
  min-height: 100px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#tack-box-list .modal-dialog {
    max-width: 900px;
    width: 90%;
}
.box-type2 {
    display: grid;
    grid-gap: 12px;
    grid-template-columns: repeat(4, minmax(100px, 1fr));
    justify-content: center;
    align-items: center;
    text-align: center;
}
.sticker-dimension {
    width: 140px;
    height: 144px;
    object-fit: contain;
}
.remove-image {
    font-size: 1.5rem;            
    position: absolute;
    top: 6px;                     
    right: 6px;                   
    background: black;
    color: white;
    padding: 0;
    line-height: 3px;
    width: 20px;                  
    height: 20px;                 
    display: flex;               
    align-items: center;
    justify-content: center;
    border-radius: 50%;         
    cursor: pointer;
    z-index: 10;                 
}

.boxTypes-images {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.boxTypes-images.active {
    background-color: #d6dfe4;
    position: relative;
}
.boxTypes-images.active::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #d6dfe4;
    z-index: 2;
}

.boxTypes-images.active::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 13px;
    width: 7px;
    height: 12px;
    border: solid #d6dfe4;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    z-index: 3;
}
.box-images {
    width: 140px;
    margin: 20px auto;
    cursor: pointer;
    padding: 10px;
}

#optionsModal button.disabled{
    pointer-events: none;
    opacity: 0.5;
}

#optionsModal button {
 background: white;
 border-radius: 10px;
 font-size: 12px;
 padding: 3px 10px;
 transition: 0.5s all ease;
 margin-bottom: 3px;
}
#optionsModal button:hover {
background:#a42d20!important;
color: white!important;
}

@media screen and (max-width: 768px) {
    .box-type2 {
        grid-template-columns : repeat(2, minmax(100px, 1fr));
        text-align: left;
    }
    .box-type2 .box-images {
        width: 100px;
        height: 100px;
        display: block;
        margin: 10px auto;
    }
    .images-txt {
        text-align: center;
    }
    #iframeModalName {
        top: 40px;
        left: 360px;
    }
}

.scrollable-section {
    min-height: 500px;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.background-product {
    min-height: 50vh;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

@supports (-webkit-touch-callout: inherit) {
.scrollable-section, .background-product  {
    background-attachment: scroll;
  }
}