.jp-extended-attribute-item .delete-btn {
    padding: 5px;
    background-color: rgb(236, 236, 236);
    font-size: 10px; color:black;
    border-radius: 15px;
    width: 50px;
    margin-left: auto;
    position: relative;
    top: -30px;
    cursor: pointer;
    border: 1px solid #9a9a9a;
}
.jp-extended-attribute-item .delete-btn:hover {
    background-color: rgb(201, 201, 201);
}


.jp-subproducts-input-text {
    width: calc(100%);
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.jp-subproducts-input-file {
    width: calc(100%);
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.loader {
    width: 35px;
    height: 35px;
    border: 4px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.jp-subproducts-extended-attribute-wrapper {
    display: none;
}

.jp-subproducts-extended-attribute-container {
    border: 1px solid #ccc;
    /*min-height: 100px; */
    padding: 5px; 
    margin-bottom: 10px;
}

.jp-extended-attribute-container {
    display: flex;
    flex-direction: column ;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.jp-extended-attribute-sub-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.jp-extended-attribute-item {
    margin-bottom: 5px;
    width: 100%;
}

.jp-extended-attribute-textfield-subitem {
    flex-grow: 1;
}

.jp-extended-attribute-textfield-subitem label, .jp-extended-attribute-item label {
    font-weight: bold;
}

.jp-extended-attribute-item-errors {
    padding: 5px;
    background-color: #ff4c4c;
    color: #fff;
    text-align: center;
    display: none;
    border-radius: 8px;
    margin: 5px 0px;
}

/* DROP zone */
.drop-zone {
    width: 100%;
    height: 180px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    border: 2px dashed #9a9a9a;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
}
.drop-zone-innerbg {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.drop-zone--over {
    border-style: solid;
    border-color: #82a408;
}
.drop-zone__input {
    display: none;
}
.drop-zone__prompt {
    font-size: 13px;
    background-color: rgba(255,255,255,0.8);
    padding: 5px;
    display: inline-block;
    border-radius: 5px;
    color: black;
    border: 1px solid #cccccc;
    /*font-family: 'Manrope';*/
    margin: 5px;
}
.drop-zone__loader {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #cccccc;
    background-size: cover;
    position: relative;
}

.jp-subproducts-input-text-editable {
    border-radius: 4px; 
    border: 1px solid #ccc; 
    background-color: #fff; 
    padding: 4px; 
    word-wrap: break-word; 
    min-height: 20px; 
    width: 100%; 
    display: inline-block;
}
.jp-subproducts-input-small-editable {
    font-size: 75%;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

[data-button-action="add-to-cart"].is-ajax-loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: not-allowed;
}

[data-button-action="add-to-cart"].is-ajax-loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ps-cart-spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes ps-cart-spin {
  to { transform: rotate(360deg); }
}