.order-sidebar input[name="desc"],
#set_price_field,
.thwepo-extra-options,
.order-empty-content,
.related.products {
    display: none;
}
.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
}
.wc-dnd-file-upload {
    order: -1;
    padding: 0;
}
.wc-dnd-file-upload > label {
    display: none;
}
.order-tabs {
    margin-top: 0 !important;
}
.order-header,
.order-row-container {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.order-item {
    background: #F8F8F8;
    padding: 15px;
    margin-bottom: 24px;
    width: 330px;
    flex-grow: 1;
}
@media (max-width: 600px) {
    .order-item {
        width: 100%;
    }
}
.order-title {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}
.order-title div {
    white-space: nowrap;
}
.order-header-buttons span {
    cursor: pointer;
}
.remove-all-button svg,
.order-header-buttons svg {
    width: 26px
}
.order-header-buttons .copy:hover path {
    fill: var(--green) !important;
}
.remove-all-button svg path,
.order-header-buttons .delete:hover path {
    fill: red !important;
}
.order-img {
    margin-top: 15px;
    position: relative;
}
.order-img img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}
.order-price-title,
.order-row-container {
    gap: 10px;
}
.order-price {
    flex-grow: 1;
    text-align: right;
}
.order-price-title {
    display: flex;
    align-items: center;
}
.order-row-container {
    margin-top: 15px;
    flex-wrap: wrap;
}
.order-row-title {
    white-space: nowrap;
}
.order-select {
    flex-grow: 1;
    border: none;
    padding: 5px 25px 5px 10px;
    height: 28px;
    color: inherit;
    background: url(../img/icons/arrow-down.svg) no-repeat right 5px center / 16px auto;
    cursor: pointer;
    max-width: 300px;
}
.order-select,
.comment_container textarea,
.comment-container textarea {
    border: none;
    background-color: #e4e4e4;
}
.comment_container textarea,
.comment-container textarea {
    resize: none;
    width: 100%;
    height: 62px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}
.disabled-color .fd_shirts-blocks-item-colors:not(.fd_shirts-blocks-item-sizes),
.order-select[disabled] {
    cursor: not-allowed;
    opacity: .5;
}
.tabs-content .order-item.t-shirt .cup-title {
    min-width: 0;
}
/*.disabled-color .fd_shirts-blocks-item-colors:not(.fd_shirts-blocks-item-sizes) .fd_shirts-blocks-item-color:not(.active),*/
.disabled-color .cup-images-container.fd_shirts-blocks-item-imgs {
    display: none;
}
.disabled-color .fd_shirts-blocks-item-colors:not(.fd_shirts-blocks-item-sizes) .fd_shirts-blocks-item-color {
    pointer-events: none;
}
.order-select select {
    max-width: 240px;
}

.order-template .fd_product-price-count {
    border: none;
    background: #e4e4e4;
}
.order-template .fd_product-price-count-value {
    height: 28px !important;
    width: 30px !important;
    font-weight: normal !important;
    color: inherit;
    font-size: inherit !important;
}
.order-template .fd_product-price-count-btn {
    justify-content: center;
    height: 26px;
    width: 26px;
    position: relative;
    cursor: pointer;
}
.order-template .fd_product-price-count-btn.minus,
.order-template .fd_product-price-count-btn.plus {
    margin: 0;
}
.order-template label {
    cursor: pointer;
}
.order-template [type="checkbox"] {
    display: none;
}
.order-template [type="checkbox"] + span {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 24px;
}
.order-template [type="checkbox"] + span::before,
.order-template [type="checkbox"]:checked + span::after {
    content: '';
    position: absolute;
}
.order-template [type="checkbox"] + span::before {
    width: 16px;
    height: 16px;
    background: #e4e4e4;
    left: 0;
    top: 1px;
}
.order-template [type="checkbox"]:checked + span::after {
    width: 8px;
    height: 8px;
    background: #000;
    left: 4px;
    top: 5px;
}
.tooltip-container {
    position: relative;
    display: flex;
    justify-content: center;
}
.tooltip-icon,
.tooltip-body {
    background: #000;
    color: #fff;
    font-size: 12px;
}
.tooltip-icon {
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1px;
    cursor: pointer;
}
.tooltip-body {
    position: absolute;
    display: none;
    bottom: 100%;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 5px;
}
.tooltip-container:hover .tooltip-body {
    display: block;
}
.convert-label .tooltip-body {
    min-width: 226px;
}
.cup-images-container:empty,
.cup-options-container:empty {
    display: none;
}
.cup-images-container .fd_home-product-image {
    height: 100%;
    background: #F8F8F8 no-repeat center / cover;
}
.cup-images-container .fd_home-product-image,
a.fd_shirts-blocks-item-imgs {
    opacity: 1 !important;
}
.fd_shirts-blocks-item-imgs {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #F8F8F8;
    right: 0;
    bottom: 0;
    min-height: 0 !important;
    max-height: 150px !important;
    padding: 0 !important;
    transition: all .2s;
}
.product-t-shirt-page .fd_shirts-blocks-item-imgs {
    min-height: 0;
}
.cup-images-container:hover {
    width: 150px;
    height: 150px;
}
.cup-options-row {
    display: flex;
    gap: 12px;
}
.cup-options-row .fd_shirts-blocks-item-colors {
    padding: 0;
    background: transparent;
    justify-content: flex-start;
}
.no-image .order-img::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #e4e4e4;
}
.order-item .fd_button.add,
.no-image label {
    display: none;
}
.order-item.t-shirt .cup-images-container img {
    padding: 10%;
}
.order-item.t-shirt .cup-images-container a[href*="b-c-kid"] img {
    padding: 5%;
}
.order-item.t-shirt .cup-images-container a[href*="roly-female"] img,
.order-item.t-shirt .cup-images-container a[href*="roly-male"] img,
.order-item.t-shirt .cup-images-container a[href*="b-c-female"] img,
.order-item.t-shirt .cup-images-container a[href*="fruit-male"] img {
    padding: 15%;
}
.order-item.t-shirt .cup-images-container a[href*="fruit-female"] img {
    padding: 18%;
}
.order-item.t-shirt .cup-images-container a[href*="fruit-kid"] img {
    padding: 16%;
}
.order-item.t-shirt .cup-title {
    min-width: 52px;
}
.fd_shirts-blocks-item-sizes .material-symbols-outlined {
    position: relative;
    top: -2px;
    cursor: pointer;
}
.order-item .fd_important-info {
    background-position: 6px 7px;
    padding: 10px 10px 10px 48px;
    margin: 0;
    font-size: 12px;
}
.order-item.disabled,
.order-item.loading {
    opacity: .5;
    pointer-events: none;
}
.order-checkbox {
    width: 24px;
    height: 24px;
    background: #e4e4e4;
    cursor: pointer;
    position: relative;
}
.order-item.checked {
    box-shadow: 0 0 8px rgba(0,0,0,.4);
}
.order-item.checked .order-checkbox::after {
    content: '';
    background: #000;
    position: absolute;
    left: 4px;
    right: 4px;
    top: 4px;
    bottom: 4px;
}
.price-panel-item {
    box-shadow: 0 0 8px rgba(0,0,0,.4);
    padding: 20px;
    background: var(--green-3);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: column;
    align-items: center;
}
.price-panel-item .fd_button {
    width: 100%;
}
.price-panel-item .fd_button.loading {
    opacity: .5;
    pointer-events: none;
}
.control-panel {
    position: fixed;
    left: 0;
    right: 0;
    padding: 0 30px;
    bottom: 30px;
    height: 0;
    z-index: 10;
    gap: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.control-panel-item:not(.active),
.price-panel-item:not(.active) {
    display: none;
}
.control-panel-list {
    flex-grow: 1;
}
.filter-panel-item .filters-close {
    display: none;
}
.filter-panel-item .comment_container,
.filter-panel-item .comment-container {
    flex-grow: 1;
}
.filter-panel-item {
    padding: 0;
}
.filter-panel-item label {
    position: relative;
    top: 2px;
}
.filter-panel-item,
.control-panel-item {
    width: auto;
    margin: 0;
}
.control-panel-item {
    box-shadow: 0 0 8px rgba(0,0,0,.4);
    padding: 16px 80px 16px 16px;
    background: var(--green-3);
    flex-grow: 1;
    position: relative;
}
.order-list .order-item.t-shirt:not(.disabled-color) .additional-container,
#canvas-content .comment-container,
.order-list .order-item.cup.hasTemplate .additional-container {
    display: block !important;
}
.order-list .order-item.t-shirt.disabled-color .additional-container.a1,
.order-list .order-item.t-shirt:not(.disabled-color) .additional-container.a2 {
    display: none !important;
}
.order-list {
    display: block;
    min-height: 800px;
    z-index: 1;
}
.order-list:empty {
    display: none;
}
.control-panel-item,
.filter-panel-item {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.filter-panel-item > *,
.control-panel-item > * {
    display: flex;
    align-items: center;
    gap: 10px;
}
.order-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px 100px;
}
.order-sidebar {
    width: 380px;
    padding-right: 24px;
    position: relative;
}
.order-sidebar:not(.active) {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
}
.remove-all-wrapper {
    position: absolute;
    top: -30px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}
.remove-all-button {
    align-items: center;
    gap: 4px;
    color: red;
    display: none;
    cursor: pointer;
}
.remove-all-button span {
    position: relative;
    top: -2px;
}
.remove-all-button.active {
    display: flex;
}
.order-content {
    width: calc(100% - 380px);
}
.filters-close {
    position: absolute;
    right: 10px;
    top: 15px;
    z-index: 1;
    width: 30px !important;
    height: 30px;
    cursor: pointer;
    background: url(../img/close.svg) no-repeat center / contain;
}
.tab-content .filters-delete {
    display: none;
}
.filters-delete {
    position: absolute;
    z-index: 1;
    right: 45px;
    top: 17px;
    cursor: pointer;
    color: red;
}
.filters-delete span {
    font-size: 26px;
}
.tab-title {
    margin-bottom: 20px;
    font-weight: 700;
}
.filter-panel-item .comment_container textarea,
.control-panel .comment_container textarea,
.filter-panel-item .comment-container textarea,
.control-panel .comment-container textarea {
    height: 28px;
    min-width: 195px;
}
.filter-panel-item.no-image .cup-title,
.filter-panel-item.no-image .fd_button.add {
    display: inline-flex;
}
.filter-panel-item.no-image .fd_shirts-blocks-item-color {
    min-width: 46px;
    height: 46px;
}
.filter-panel-item.no-image .cup-title {
    align-items: center;
}
.order-list .no-image .order-title [data-value] {
    font-size: 0;
}
.order-list .no-image .order-title [data-value]::after {
    content: 'Упаковка для чашки';
    font-size: 15px;
}
.codedropz-upload-handler.disabled {
    opacity: .5;
    pointer-events: none;
}
.no-image .fd_shirts-blocks-item-imgs {
    position: static;
    width: 100%;
    height: auto;
    max-height: 1500px !important;
    pointer-events: none;
}
.codedropz--results:not(.hasError) {
    overflow: hidden;
    max-height: 70px;
    position: relative;
}
.codedropz--results:not(.hasError)::after {
    content: '';
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
}
.cd-separator {
    display: block;
    width: 100%;
    margin: -5px 0 7px;
}
.order-sidebar .woocommerce div.product div.summary {
    width: 100%;
}
.codedropz-upload-container {
    background-color: var(--green-3);
}
.full-shot .order-img-wrapper {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--green);
}
.full-shot img {
    position: absolute;
}
.full-shot.from-top-to-bottom img {
    top: 0;
    bottom: 0;
}
.full-shot.from-left-to-right img {
    top: 50%;
    left: 0;
    right: 0;
    transform: translate(0,-50%);
}

.full-format .order-img-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.order-img-overlay {
    display: none;
}
.full-format {
    overflow: hidden;
}
.full-format .order-img-overlay {
    position: absolute;
    display: block;
    border: 2px solid var(--green);
}
.order-img-overlay::before,
.order-img-overlay::after {
    content: '';
    position: absolute;
    background: rgba(0,0,0,.5);
    display: block;
}
.full-format.from-top-to-bottom .order-img-overlay {
    top: 0;
    bottom: 0;
}
.full-format.from-top-to-bottom .order-img-overlay::before,
.full-format.from-top-to-bottom .order-img-overlay::after {
    top: -2px;
    bottom: -2px;
    width: 100%;
}
.full-format.from-top-to-bottom .order-img-overlay::before {
    right: calc(100% + 2px);
}
.full-format.from-top-to-bottom .order-img-overlay::after {
    left: calc(100% + 2px);
}
.full-format.from-left-to-right .order-img-overlay {
    top: 50%;
    left: 0;
    right: 0;
    transform: translate(0,-50%);
}
.full-format.from-left-to-right .order-img-overlay::before,
.full-format.from-left-to-right .order-img-overlay::after {
    left: -2px;
    right: -2px;
    height: 100%;
}
.full-format.from-left-to-right .order-img-overlay::before {
    top: calc(100% + 2px);
}
.full-format.from-left-to-right .order-img-overlay::after {
    bottom: calc(100% + 2px);
}
#photos-comment {
    resize: none;
    height: 140px !important;
}
#photo-print-modal {
    max-width: 600px !important;
}
.photos-submit-wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.filter-panel-item .items-group:last-child {
    flex-grow: 1;
}

.mobile-add-file,
.cart .quantity,
#order-page-container .cart .single_add_to_cart_button,
.order-page-container .checkout-container,
.order-sidebar .woocommerce-message,
.wc-dnd-file-upload .codedropz--preview,
.control-panel-item [value="cup-box"],
.control-panel-item [value="t-shirt-empty"],
.control-panel-item [value="cup-empty"],
.order-list [value="t-shirt-empty"],
.order-list [value="cup-empty"],
.order-list [value="cup-box"],
.order-list [value="print-type"],
.no-image .items-group,
.no-image .comment-container,
.no-image .order-checkbox,
.no-image .order-img + .order-row-container,
.no-image .cup-options-container + .order-row-container {
    display: none;
}

@media (min-width: 1321px) {
    .price-panel-item {
        position: fixed;
        top: 80px;
        right: 265px;
        min-width: 200px;
        box-shadow: 0 1px 1px rgba(0,0,0,.4);
        padding: 16px 20px 20px;
        gap: 8px;
    }
    [data-admin="1"] .price-panel-item {
        top: 112px;
    }
}
@media (min-width: 1661px) {
    .price-panel-item {
        right: 320px;
        min-width: 220px;
    }
}
@media (min-width: 541px) {
    .items-group {
        display: flex;
        position: relative;
    }
    .items-group .comment_container::after,
    .items-group .comment-container::after {
        content: '';
        position: absolute;
        left: -5px;
        right: -5px;
        top: -5px;
        bottom: -5px;
        border: 1px solid #e4e4e4;
        pointer-events: none;
    }
}

@media (max-width: 1150px) {
    .order-sidebar {
        width: 280px;
    }
    .order-content {
        width: calc(100% - 280px);
    }
}
@media (max-width: 1023px) {
    .order-container {
        flex-direction: column;
        padding-bottom: 70px;
    }
    .wc-dnd-file-upload,
    .order-sidebar,
    .order-content {
        width: 100%;
    }
    .order-sidebar {
        padding-right: 0;
    }
    .order-sidebar .woocommerce-wrapper {
        position: static !important;
    }
}
@media (min-width: 766px) and (max-width: 768px) {
    .order-list .order-item {
        width: calc(50% - 12px);
    }
    .order-select {
        max-width: 100%;
    }
}
@media (max-width: 540px) {
    .control-panel {
        bottom: 16px;
        padding: 0 16px;
    }
    .order-select {
        max-width: 100%;
    }
    .order-container {
        padding: 0 16px 70px;
    }
    .control-panel {
        bottom: 0;
        padding: 0;
        gap: 0;
    }
    .price-panel-item {
        padding: 16px;
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
    }
    .price-panel-item .fd_button {
        width: auto;
        padding: 2px 15px 0;
    }
    .price-panel-item {
        font-size: 0;
    }
    .price-panel-item b {
        font-size: 24px;
        font-weight: 400;
    }
    .price-panel-item nobr::after {
        content: ' грн';
        font-size: 14px;
    }
    .mobile-add-file {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        min-width: 46px;
        background: var(--gray-1) url(../img/icons/add_photo.svg) no-repeat center / 30px auto;
        cursor: pointer;
        position: absolute;
        left: 16px;
        bottom: 16px;
        color: #fff;
    }
    .items-group > *,
    .filter-panel-item > *,
    .control-panel-item > * {
        width: 100%;
        flex-wrap: wrap;
    }
    .filter-panel-item .comment_container textarea,
    .control-panel .comment_container textarea,
    .filter-panel-item .comment-container textarea,
    .control-panel .comment-container textarea {
        height: 62px;
        min-width: 100%;
    }
    .control-panel-list {
        position: absolute;
        bottom: 78px;
        width: 100vw;
        right: 100%;
        transition: all .3s;
    }
    .control-panel-list.opened {
        right: 46px;
    }
    .control-panel-item {
        box-shadow: none;
        padding: 16px 16px 16px 62px;
        border-top: 1px solid #e4e4e4;
        border-bottom: 1px solid #e4e4e4;
    }
    .control-panel-list .filters-close {
        width: 46px !important;
        height: 46px;
        background-color: var(--green-2);
        background-size: 30px auto;
        right: -46px;
        top: -1px;
    }
    .control-panel-list .filters-delete {
        width: 46px !important;
        height: 46px;
        background-color: #fdd;
        right: -46px;
        top: 91px;
        justify-content: center;
    }
    .active ~ .control-panel-list-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        background: var(--green) url(../img/icons/right-arrow.svg) no-repeat center / 22px auto;
        position: absolute;
        left: 100%;
        top: 46px;
        cursor: pointer;
    }
    .control-panel-list.opened .control-panel-list-toggle {
        transform: rotate(180deg);
    }
}
@media (max-width: 320px) {
    .price-panel-item b {
        font-size: 20px;
    }
}




.order-img {
    aspect-ratio: 1;
    background: #e4e4e4;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.ver-img .order-img-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
}
.full-format .order-img-wrapper {
    overflow: hidden;
}
.order-list .order-item.photo .order-row-container:nth-child(4) .order-row-title {
    display: none;
}
.full-shot.hor-img .order-img-wrapper {
    width: 100%;
}
#photo-print-modal .hasError {
    background: #F9E6E6 !important;
}
#photo-print-modal .error:empty {
    display: none;
}
#photo-print-modal .error {
    line-height: 15px;
    margin: -25px 0 10px;
    color: red;
}
