.search-design-wrapper {
    margin-top: 25px;
}

.form-searchdesign.focus {
    background-color: #fff;
    border-color: #5441B5;
}

.form-searchdesign {
    padding: 4px;
    height: 50px;
    background-color: #fff;
    border: 2px solid #f1f1f1;
    border-radius: var(--pr-spacing-09);
    transition: var(--pr-trans-standard);
    font-size: var(--pr-font-size-body);
    background-color: #f1f1f1;
    z-index: 9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.fill-search-tag {
    text-transform: capitalize;
    background-color: #5441B5;
    color: #fff;
    border-radius: 40px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    padding-left: 6px;
    padding-right: 6px;
}

.fill-search-tag>span {
    padding: 6px 4px;
}

.remove-search-tag {
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    cursor: pointer;
}

.search-design-wrapper .searchdesign-input {
    background-color: transparent !important;
    border: none !important;
    border-radius: 40px;
    height: 100%;
    padding: 4px;
    text-indent: 4px;
}

.search-design-wrapper .searchdesign-button {
    position: absolute;
    height: 100%;
    width: 46px;
    min-width: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--pr-radius-x-large);
    top: 50%;
    transform: translateY(-50%);
    right: 3px;
    background-color: transparent;
    color: #5441B5;
    z-index: 4;
    padding: 0;
}

.list-suggest-search {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 45px -8px;
    position: relative;
    overflow: hidden;
    padding: 4px;
}

.suggest-search-item {
    margin: 0 8px;
}

.suggest-link {
    --bgColor: #DFCCFB;
    margin: 0;
    background-color: var(--bgcolor);
    height: 46px;
    width: auto;
    padding: 0 24px;
    border-radius: 46px;
    color: var(--pr-color-primary);
    font-weight: var(--pr-font-weight-heading);
    display: flex;
    align-items: center;
    grid-gap: 8px;
    user-select: none;
    cursor: pointer;
    transition: background-color 100ms ease-in;
}

.suggest-link+.suggest-link {
    margin-left: 12px;
}

.suggest-link:hover {
    color: #fff;
    background-color: #5441B5;
}

.suggest-link img {
    width: 46px;
    height: 46px;
    border-radius: 46px;
    object-fit: cover;
    overflow: hidden;
    flex: 0 0 46px;
}

.suggest-link span {
    white-space: nowrap;
    display: block;
}

.list-image-design {
    display: flex;
    margin-bottom: 32px;
}

.item-image-column:not(:last-child) {
    margin-right: 16px;
}

.item-image-design {
    display: block;
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 5px;
    padding: 16px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.item-image-design img {
    width: 100%;
    height: auto;
    object-position: center;
    object-fit: contain;
    border-radius: 5px;
}


.item-image-design>.item-wrapp:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
}

.item-image-design:hover>.item-wrapp:before {
    opacity: 1;
    visibility: visible;
}

.item-image-design:hover:after {
    opacity: 1;
    visibility: visible;
    bottom: 5%;
}

.list-product-loading {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 13px;
}

.product-view-image-loading {
    padding-top: 100%;
}

.product-view-loading {
    border-radius: 5px;
    display: block;
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    -webkit-animation: 1.5s shine linear infinite;
    animation: 1.5s shine linear infinite;
    margin-bottom: 4px;
}

@-webkit-keyframes shine {
    to {
        background-position-x: -200%
    }
}

@keyframes shine {
    to {
        background-position-x: -200%
    }
}


.choose-design-popup-wrapper {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.choose-design-popup-wrapper.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.choose-design-overlay-bg {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(11, 11, 11, 0.4);
    z-index: 1;
}

.choose-design-modal {
    background-color: var(--pr-color-white);
    height: 100%;
    width: 90%;
    max-width: 1400px;
    max-height: 80vh;
    margin: auto;
    position: relative;
    z-index: 2;
    border-radius: var(--pr-radius-small);
    box-shadow: var(--pr-shadow-500);
    pointer-events: all;
    border-radius: 5px;
    overflow: hidden;
}

.choose-design-modal-content {
    display: grid;
    grid-template-columns: 43% 57%;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.choose-design-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #fff;
    color: var(--pr-color-primary);
    background: var(--pr-color-flash);
    border-radius: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9;
}

.list-product-view {
    padding: 16px;
    height: 100%;
    overflow-y: auto;
}

.list-product-wrapper {
    padding-bottom: 24px;
}

.list-product {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 13px;
}

.choose-design-modal .design-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.list-title {
    font-weight: var(--pr-font-weight-heading);
    margin-bottom: var(--pr-spacing-07);
    color: var(--pr-color-title);
    line-height: var(--pr-line-height-display2);
    font-size: calc(var(--pr-font-size-display3) + (24 - 20) * ((100vw - 300px)/ (1920 - 300)));
}

.list-title:after {
    content: '';
    width: 100%;
    height: 1px;
    background: #d1d1d1;
    position: absolute;
    left: 0;
    bottom: -2px;
    z-index: 1;
}

.product-modal-tile-name {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    width: 100%;
    font-size: var(--pr-font-size-display6);
    line-height: 1.6;
    color: var(--pr-color-primary);
    font-weight: var(--pr-font-weight-heading);
    margin-bottom: 0;
    word-break: break-all;
    text-transform: capitalize;
}

.product-modal-tile-name[href]:hover {
    color: var(--pr-color-secondary);
}

.product-detail {
    display: flex;
}

.product-price,
.product-high-price {
    font-weight: var(--pr-font-weight-heading);
    font-size: var(--pr-font-size-body);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--pr-color-price);
}

.product-high-price {
    font-size: 14px;
    font-weight: 400;
    margin-left: 6px;
    text-decoration: line-through;
    color: var(--pr-color-gray);
}


.product-modal-tile-image {
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 4px;
    display: block;
    cursor: pointer;
    position: relative;
}

.product-modal-tile-image::before {
    content: "";
    padding-top: 100%;
    display: block;
}

.product-modal-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-modal-tile-image .search-loading {
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    z-index: 999;
    display: block;
}

.product-modal-tile-image.generating {
    pointer-events: none;
    position: relative;
}

.product-modal-tile-image.generating::after {
    content: "";
    display: block;
    background-color: black;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    opacity: 0.25;
}


@keyframes l4 {
    to {
        transform: rotate(1turn)
    }
}

.lds-dual-ring {
    --s: 50px;
    --b: 8px;
    width: var(--s);
    height: var(--s);
    border-radius: var(--s);
    padding: 1px;
    background: conic-gradient(#0000 10%, #f03355) content-box;
    -webkit-mask: repeating-conic-gradient(#0000 0deg, #000 1deg 20deg, #0000 21deg 36deg), radial-gradient(farthest-side, #0000 calc(100% - var(--b) - 1px), #000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    animation: l4 1s infinite steps(10);
    -webkit-border-radius: var(--s);
    -moz-border-radius: var(--s);
    -ms-border-radius: var(--s);
    -o-border-radius: var(--s);
}

.p-20 {
    padding: 20px;
}

@media (max-width: 1200px) and (orientation: portrait),
(max-width: 1366px) and (orientation: landscape) {
    .item-image-design .button-buy-desgin {
        opacity: 1;
    }
}

@media (min-width: 1000px) {
    .choose-design-modal .design-image img {
        position: absolute;
        width: 90%;
        height: 90%;
        object-fit: contain;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 1200px) {
    .list-product {
        grid-template-columns: repeat(3, 1fr);
    }

    .item-image-design .button-buy-desgin {
        opacity: 1;
    }
}

@media (min-width: 760px) and (max-width: 1000px) {
    .choose-design-modal-content {
        display: block
    }

    .choose-design-modal .design-image {
        height: 420px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .choose-design-modal .list-product-view {
        height: calc(100% - 420px);
    }

    .choose-design-modal .design-image img {
        width: 90%;
        height: 90%;
        object-fit: contain;
        object-position: calc();
    }

    .list-product-view {
        padding: 0 16px 16px;
    }

    .list-title {
        background-color: #fff;
        position: sticky;
        top: -1px;
        left: 0;
        padding-top: 16px;
        z-index: 1;
    }
}

@media (max-width: 767px) {

    .fill-search-tag {
        max-width: 100px;
    }

    .fill-search-tag>span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .choose-design-modal .design-image {
        height: 250px;
        padding: 16px 16px 32px;
    }

    .list-product-view {
        height: calc(100% - 250px);
    }

    .list-product {
        grid-template-columns: repeat(2, 1fr);
    }

    .choose-design-modal-content {
        display: block;
    }

    .choose-design-modal .design-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .choose-design-modal {
        max-height: 80vh;
    }

    .search-design-wrapper {
        margin-bottom: 25px;
    }

    .list-suggest-search {
        margin: 25px -8px;
    }

    .item-image-design .button-buy-desgin {
        opacity: 1;
    }
}


.no-design img {
    margin: 0 auto;
}

.no-design {
    text-align: center;
}

.no-design img {
    margin: 0 auto;
}

.no-design .title {
    color: var(--pr-color-primary);
    font-size: 18px;
    font-weight: 500;
}

.list-suggest-search .swiper-button-prev {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.list-suggest-search .swiper-button-next {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.link-explore-design-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 8px;
    justify-content: flex-start;
    margin-top: 35px;
}

.link-explore-design-wrap .title {
    font-weight: 500;
    color: var(--pr-color-primary);
    font-size: 14px;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background: #f2f2f2;
    padding: 5px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-explore-design {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: flex-start;
    overflow-x: auto;
    margin-top: 5px;
}

.link-explore-design::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.link-explore-design:hover::-webkit-scrollbar-thumb {
    background-color: #f1f1f1;
}

/* .link-explore-design::-webkit-scrollbar {
    display: none;
  } */

.link-explore-design a {
    font-weight: 400;
    white-space: nowrap;
    font-size: 13px;
    margin: 0 4px;
}

.link-explore-design a+a:after {
    content: ",";
    opacity: 1;
}

.button-buy-desgin {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 3px;
    width: 36px;
    height: 36px;
    border-radius: 36px;
    box-shadow: var(--pr-shadow-300);
    transition: var(--pr-trans-standard);
    opacity: 0;
    background: var(--pr-color-addtocart);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image-design:hover .button-buy-desgin {
    opacity: 1;
}

.item-image-design:hover .button-buy-desgin:hover {
    background: var(--pr-color-addtocart-hover);
}

.button-buy-desgin-popup {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    background: var(--pr-color-addtocart);
    border-radius: 36px;
    box-shadow: var(--pr-shadow-300);
    transition: var(--pr-trans-standard);
    display: flex;
    align-items: center;
    grid-gap: 8px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.buy-this-design-content {
    display: flex;
    align-items: center;
    grid-gap: 8px;
}

.buy-this-design-content .add-loading {
    width: 23px;
    height: 23px;
}

.buy-this-design-content .add-loading .lds-dual-ring {
    --s: 24px;
}

.button-buy-desgin-popup:hover {
    background: var(--pr-color-addtocart-hover);
}

.choose-design-modal .design-image .button-buy-desgin-popup img {
    position: relative !important;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
    transform: none;
}

.add-loading .lds-dual-ring {
    --s: 24px;
}

@media (max-width: 767px) {
    .link-explore-design a {
        font-size: 14px;
    }

    .button-buy-desgin-popup {
        bottom: 5px;
        padding: 7px 16px;
    }
}