:root {
    --cyo-black: #0A0A0A;
    --cyo-neutral-100: #f5f5f5;
    --cyo-neutral-50: #FAFAFA;
    --cyo-primary: #F60;
    --cyo-bg-primary: #FFF8EC;
    --cyo-border-radius: 8px;
}

@media(max-width: 760px) {
    .cyo-modal-header-title {
        color: var(--cyo-black);
    }

    .cyo-modal-header {
        margin: 0 16px;
        padding: 10px 0;
    }

    .cyo-modal-content .input-dropdown {
        border-radius: 24px;
        background-color: var(--cyo-neutral-100);
        color: var(--cyo-black);
        border: 0;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="18" viewBox="0 0 17 18" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.14616 2.44788C4.72314 2.44788 1.94824 5.22278 1.94824 8.64579C1.94824 12.0688 4.72314 14.8437 8.14616 14.8437C11.5692 14.8437 14.3441 12.0688 14.3441 8.64579C14.3441 5.22278 11.5692 2.44788 8.14616 2.44788ZM0.885742 8.64579C0.885742 4.63598 4.13634 1.38538 8.14616 1.38538C12.156 1.38538 15.4066 4.63598 15.4066 8.64579C15.4066 10.4595 14.7415 12.1179 13.642 13.3904L15.9593 15.7076C16.1668 15.9151 16.1668 16.2515 15.9593 16.4589C15.7518 16.6664 15.4155 16.6664 15.208 16.4589L12.8907 14.1417C11.6182 15.2412 9.95986 15.9062 8.14616 15.9062C4.13634 15.9062 0.885742 12.6556 0.885742 8.64579Z" fill="%230A0A0A"/></svg>');
        background-repeat: no-repeat;
        background-position: 12px center;
        padding-left: 40px;
        padding-right: 12px;
    }

    .search-design-wrapper-input {
        position: relative;
        height: fit-content;
    }

    .search-design-wrapper-input .remove-search-value {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 30px;
    }

    .search-design-wrapper-input .input-dropdown.has-value-search {
        padding-right: 35px;
    }

    .open-filter {
        border: 0;
        border-radius: 24px;
        background-color: var(--cyo-neutral-100);
        color: var(--cyo-black);
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.69247 7.09327C3.91711 6.83119 4.31167 6.80084 4.57375 7.02548L10.0003 11.6768L15.4269 7.02548C15.689 6.80084 16.0836 6.83119 16.3082 7.09327C16.5328 7.35535 16.5025 7.74991 16.2404 7.97455L10.4071 12.9745C10.173 13.1752 9.82765 13.1752 9.59359 12.9745L3.76026 7.97455C3.49818 7.74991 3.46783 7.35535 3.69247 7.09327Z" fill="%23A3A3A3"/></svg>');
        background-repeat: no-repeat;
        background-position: calc(100% - 10px) center;
        padding-right: 32px;
        max-width: 140px;
        min-width: 125px;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        line-height: 42px;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-top: 0;
        padding-bottom: 0;
    }

    .design-item-image {
        background: var(--cyo-neutral-100);
    }

    .design-item-image img {
        background: transparent;
    }

    .design-price {
        font-size: 16px;
    }

    .cyo-modal-header {
        padding: 12px 0;
    }

    .choose-products .modal-right-head-wrapper, 
    .choose-design .modal-right-head-wrapper {
        position: sticky;
        top: 0;
    }

    .cyo-modal.choose-design .cyo-modal-content .list-product-content, 
    .cyo-modal.choose-products .cyo-modal-content .list-product-content {
        position: static;
        padding-bottom: 70px;
    }

    .cyo-modal {
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
        transition: all 222ms ease-in-out;
    }

    .cyo-modal.active {
        transform: none;
        opacity: 1;
        pointer-events: all;
    }

    .cyo-modal.choose-products.active, 
    .cyo-modal.choose-design.active {
        max-height: calc(74vh + 44px);
        bottom: 0;
        top: unset;
    }

    .popup-modal.cyo-modal {
        border-radius: 20px 20px 0 0;
    }

    .cyo-modal.active + .popup-modal-background.active {
        position: fixed;
        display: block;
        top: 0;
        left: 0;
        z-index: 98;
        background-color: rgba(11 11 11 / 55%);
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }

    .modal-left:not(.upload-left) {
        width: 100%;
        max-height: calc(74vh + 44px);
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
        bottom: 0;
        top: auto;
        border-radius: 20px 20px 0 0;
    }

    .modal-left.mobile.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .design-left .filter {
        max-height: calc(74vh + 44px);
    }

    .product-filter-variant-heading {
        font-size: 17px;
        color: var(--cyo-black);
    }

    .modal-left .filter-action {
        flex-direction: row-reverse;
        width: calc(100% - 32px);
        margin: auto;
        padding: 11px 0 !important;
    }

    .modal-left .close-filter svg {
        display: none;
    }

    .modal-left .close-filter {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16"><path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z"></path></svg>');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 16px;
        padding: 10px 14px;
    }

    .choose-design .hot-topics-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 8px;
        padding-bottom: 66px;
    }

    #custom-product .choose-design .hot-topics-list {
        padding-bottom: 66px;
    }

    .choose-design .hot-topics-list .menuitem {
        margin-bottom: 0;
        background-color: var(--cyo-neutral-50);
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        justify-content: flex-start;
        padding: 9px 12px;
    }

    .choose-design .hot-topics-list .menuitem.active {
        border: 1px solid var(--cyo-primary);
        background: var(--cyo-bg-primary);
    }

    .choose-design .hot-topics-list .menuitem .hot-topic {
        color: var(--cyo-black);
        text-transform: capitalize;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        white-space: normal;
        font-size: 16px;
        font-weight: 400;
        text-align: left;
        padding: 0;
    }

    .choose-design .hot-topics-list .menuitem.active .hot-topic {
        color: var(--cyo-primary);
    }

    .modal-left.mobile.active .filter-section-content.filter-labels {
        max-width: 100%;
    }

    .bestseller-action {
        position: fixed;
        bottom: 0;
        left: 0;
        background: #fff;
        width: 100%;
        padding: 12px 16px;
        box-shadow: 0 -4px 12px 0 rgba(0, 0, 0, 0.04);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 8px;
        opacity: 1;
        pointer-events: all;
    }

    .bestseller-action-btn {
        font-size: 16px;
        font-weight: 500;
    }

    .bestseller-action-clear {
        border: 1px solid var(--Red-200, #FDCBCB);
        background: var(--Red-50, #FEF2F2);
        color: var(--Red-600, #D92A28);
        border-radius: 8px;
        padding: 12px 20px;
    }

    .bestseller-action-apply {
        border-radius: 8px;
        border: 1px solid var(--Primary-Blue-950, #19124F);
        background: var(--Primary-Blue-950, #19124F);
        color: #fff;
    }

    .no-designs-text h4 {
        color: var(--cyo-black);
        margin-bottom: 12px;
    }

    .no-designs-text p {
        margin-top: 12px;
    }

    .filter-section-header .product-filter-variant-heading {
        color: var(--cyo-black);
    }

    .filter-category-label,
    .filter-category-label.active {
        color: var(--cyo-black);
        font-weight: 400;
    }

    .filter-child-category li {
        color: var(--cyo-black);
        padding: 8px;
    }

    .filter-child-category li.active,
    .filter-child-category li:hover {
        color: var(--cyo-primary);
        padding-left: 8px;
        border-radius: 12px;
        background-color: var(--cyo-bg-primary);
    }

    .filter-child-category li.active::before, 
    .filter-child-category li:hover::before {
        display: none;
    }

    #custom-product .modal-left .filter-action.block-sm {
        padding: 12px 16px !important;
        width: 100vw;
    }

    #custom-product .filter-action .apply-button {
        border-radius: 8px;
        background-color: var(--cyo-primary);
    }

    #custom-product .modal-left #filter {
        max-height: calc(100vh - 200px);
    }

    .product-left #filter .filter-section {
        padding: 4px 0;
    }

    .mockup-print-location-mobile.active {
        background-color: #525252;
    }

    .custom-menu-item .custom-product-menu-button {
        grid-gap: 0;
    }

    .custom-menu-cart-item .custom-product-menu-button .button-text {
        color: var(--cyo-primary);
    }

    /* Hide header */
    #main-header,
    .header-content,
    .header-navigation-block {
        display: none;
    }

    .CreateYourOwnApp {
        margin-top: 60px;
    }

    #customProductFooter {
        top: 0;
        bottom: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content max-content;
        min-height: unset;
        padding: 10px 16px;
    }

    #custom-product-menu {
        bottom: 0;
    }

    #customProductFooter .confirm-add2cart {
        padding: 0 12px;
        color: #fff;
        background: var(--cyo-primary);
        border: 0;
        min-width: 80px;
        min-height: 36px;
    }

    #customProductFooter .product-price {
        color: #0A0A0A;
        font-size: 16px;
    }

    #customProductFooter .cyo-back-btn {
        display: flex;
        align-items: center;
        grid-gap: 8px;
        font-size: 16px;
        color: #0A0A0A;
    }

    #customProductFooter .cyo-back-btn.edit-screen {
        opacity: 0;
        visibility: hidden;
        font-size: 0;
    }

    .cyo-modal.half-screen {
        bottom: 0;
    }

    .cyo-back-popup-wrapper {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 222ms ease-in-out;
    }

    .cyo-back-popup-wrapper.active {
        opacity: 1;
        pointer-events: all;
        visibility: visible;
    }

    .cyo-back-popup-bg {
        position: fixed;
        display: block;
        top: 0;
        left: 0;
        z-index: 0;
        background-color: rgba(11 11 11 / 55%);
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }

    .cyo-back-popup {
        background: #fff;
        position: fixed;
        width: calc(100% - 32px);
        height: max-content;
        z-index: 1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 12px;
        padding: 20px 16px;
        text-align: center;
    }

    .cyo-back-popup-content {
        font-size: 16px;
        color: var(--cyo-black);
        margin-bottom: 10px;
    }

    .cyo-back-popup-btn {
        border: 0;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 700;
        background: #e5e5e5;
        color: #525252;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 100px;
        color: #0A0A0A;
        text-transform: uppercase;
    }

    .cyo-back-popup-btn.cyo-back-popup-btn-stay {
        background: #19124F;
        color: #fff;
    }

    .cyo-back-popup-actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 8px;
    }

    .cyo-back-popup-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px;
        background: var(--Orange-100, #FEF1D3);
        width: 48px;
        height: 48px;
        margin: 0 auto;
    }

    .cyo-back-popup-head {
        margin: 16px 0;
        font-weight: 500;
        font-size: 16px;
        line-height: 1;
    }

    .cyo-back-popup-txt {
        color: #525252;
        font-size: 14px;
        margin-bottom: 16px;
    }

    .no-data-search {
        top: 280px;
        width: 100%;
        padding: 16px;
        text-align: center;
    }

    .uploaded-title {
        font-size: 16px;
        color: var(--cyo-black);
        font-weight: 500;
        margin-bottom: 8px;
    }

    .product-type-info-headline,
    .product-variant-heading {
        color: var(--cyo-black);
    }

    .multiple-size-item-title {
        color: var(--cyo-black);
        font-size: 16px;
    }

    .multiple-size-selection-content .multiple-size-btn {
        width: 36px;
        height: 36px;
        border: 1px solid #E5E5E5;
        background-color: transparent;
        border-radius: 4px;
        min-width: 36px;
    }

    .multiple-size-selection-content .multiple-size-btn:hover {
        color: var(--darkness);
    }

    .multiple-size-selection-content .multiple-size-quantity {
        border: 1px solid #E5E5E5;
        border-radius: 4px;
        margin: 0 8px;
        padding: 8px 20px;
        width: 100px;
    }

    .list-product-size .product-size-item-content,
    .list-product-size .product-size-item {
        color: var(--cyo-black);
    }

    .list-product-size-wrapper.product-size-focus .list-product-size {
        border-radius: 15px 15px 0 0;
    }

    .multiple-size-list .multiple-size-item {
        padding: 8px 0;
    }

    .multiple-size-list .multiple-size-item:first-child {
        padding-top: 0;
    }

    .upload-loading {
        width: 40px;
        height: 40px;
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }

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