.ts-settings .ts-product-content{
    background-color: #F1F1F1;
    flex: 1 0 0%;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.product-header{
    padding: 2rem;
    justify-content: space-between;
    align-items: flex-end;

}

.product-header .product-title{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ts-settings .ts-product-content .content-wrapper{
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 0 auto;
    overflow-y: auto;
    width: 100%;
}

.product-header .product-actions{
    display: flex;
    height: fit-content;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1430px){
    .product-header .product-actions{
        flex-wrap: nowrap !important;
    }
}

.product-header .product-actions .language{
    font-size: 14px;
    width: auto;
}

.product_action_btn{
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: .5rem
}


.upload-card:has(.card-footer){
    border: none;
}
.upload-card:has(.card-footer) .card-body,
.upload-card:has(.card-footer) .card-footer{
    border-width: 2px !important;
}

.upload-card:has(.card-footer) .card-body{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-style: dashed !important;
    border-bottom-style: none !important;
}

.upload-card .card-footer{
    width: 100%;
}

.variant-item-group,
.download-list-group,
.hotspot-list-group,
.detail-list-group{
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.variant-item-group .variant-item,
.download-list-group .download-item,
.hotspot-list-group .hotspot-item,
.detail-list-group .detail-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px;
}

.variant-item-group:has(:nth-child(2)) .variant-item:not(:last-child),
.download-list-group:has(:nth-child(2)) .download-item:not(:last-child),
.hotspot-list-group:has(:nth-child(2)) .hotspot-item:not(:last-child),
.detail-list-group:has(:nth-child(2)) .detail-item:not(:last-child){
    border-bottom: 1px solid var(--bs-border-color);
}

.variant-item-group .variant-item .variant-item-info{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.variant-item-group .variant-item .variant-item-info .variant-item-image-thumbnail{
    width: 38px;
    height: 38px;
    object-fit: cover;
}

.variant-attributes-group{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.attribute-pill{
    font-size: 14px;
}

.square{
    aspect-ratio: 1/1;
}

.gallery_media_action_mark{
    position: absolute;
    top: 0;
    left: 0;
    margin-top: calc(var(--bs-gutter-x) * .5);
    margin-left: var(--bs-gutter-x);
    z-index: 100;
}
.gallery_media_action_grab{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: calc(var(--bs-gutter-x) * .5);
    margin-right: var(--bs-gutter-x);
    z-index: 100;
}

.object-position-top{
    object-position: top;
}
.object-position-bottom{
    object-position: bottom;
}
.object-position-center{
    object-position: center;
}

.product_media_3d_glb_actions{
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .35);
}

.product_media_3d_glb_actions .btn{
    width: 35%;
}

.product-overview-list-product-preview,
.small-img-preview{
    width: 38px;
    height: 38px;
    object-fit: cover;
}
.big-img-preview{
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.delete-item{
    margin-left: calc(var(--indent-layer) * 2rem);
}

.modal{
    position: absolute;
}