.loading {
    width: 120px;
    height: 22px;
    border-radius: 20px;
    color: #f4bf00;
    border: 2px solid;
    position: relative;
}

.loading::before {
    content: "";
    position: absolute;
    margin: 2px;
    inset: 0 100% 0 0;
    border-radius: inherit;
    background: #f4bf00;
    animation: p6 2s infinite;
}

.loader {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    background-color: white;
}
.content .loader::before {
    opacity: 0 !important;
}
.is-loading .content .loader {
    opacity: 1;
    pointer-events: all;
}

@keyframes p6 {
    100% {
        inset: 0;
    }
}

#jobs-quicklook {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 88;
}
#jobs-quicklook * {
    transition: 0.4s;
}

#jobs-quicklook.active {
    opacity: 1;
    pointer-events: all;
}

#jobs-quicklook .content {
    width: min(100%, 1000px);
    position: relative;
    background-color: white;
    padding: 50px;
    border-radius: 16px;
    overflow: hidden;
}

#jobs-quicklook .content .close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

#jobs-quicklook .content .container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
#jobs-quicklook .content .container .left {
    width: 50%;
}
#jobs-quicklook .content .container .right {
    width: 45%;
}

#jobs-quicklook .swiper-slide img {
    width: 100%;
    aspect-ratio: 1;
}

#jobs-quicklook .swiper-wrapper > .swiper-slide:nth-child(1) img {
    object-fit: cover;
}
#jobs-quicklook .swiper-wrapper > .swiper-slide:nth-child(n + 2) img {
    object-fit: contain;
}
#jobs-quicklook .thumbs {
    margin-top: 20px;
}
#jobs-quicklook .thumbs img {
    outline: 1px solid #ddd;
}

#jobs-quicklook .right {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

#jobs-quicklook .title {
    font-family: "Merienda";
    font-size: 32px;
}

#jobs-quicklook .price {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#jobs-quicklook .regularPrice {
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 16px;
    color: #b69f8a;
    line-height: 22px;
    text-align: left;
    font-style: normal;
    text-decoration-line: line-through;
    text-transform: none;
}
#jobs-quicklook .content:has(.salePrice:empty) .regularPrice,
#jobs-quicklook .content .salePrice {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 22px;
    color: #ff0f0f;
    line-height: 31px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    text-decoration-line: none;
}

#jobs-quicklook .shortDesc {
    max-height: 200px;
}

#jobs-quicklook .learnMore {
    display: block;
    padding: 10px 20px;
    outline: 1px solid var(--e-global-color-primary);
    background-color: transparent;
    font-size: 18px;
    width: fit-content;
}
#jobs-quicklook .learnMore:hover {
    background-color: var(--e-global-color-primary);
    color: white;
}

#jobs-compare {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 88;
}
#jobs-compare * {
    transition: 0.4s;
}
#jobs-compare.active {
    opacity: 1;
    pointer-events: all;
}
#jobs-compare .content {
    width: min(100%, 1200px);
    position: relative;
    background-color: white;
    padding: 50px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-height: calc(100% - 200px);
    /* overflow-y: auto; */
    box-sizing: border-box;
}
#jobs-compare .container {
    width: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}
#jobs-compare .products-container {
    width: calc(100% - 300px);
}
#jobs-compare .control {
    gap: 30px;
}

#jobs-compare .attribute-item {
    width: 300px;
    border-right: 1px solid #ddd;
}
#jobs-compare .attribute-item > div {
    display: flex;
    justify-content: center;
    align-items: center;
}
#jobs-compare .attribute-item .image {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}
#jobs-compare .attribute-item .image .firstImage {
    display: none;
}
#jobs-compare .attribute-item .image .secondImage {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f4ef;
}
#jobs-compare .attribute-item .image .secondImage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#jobs-compare .attribute-item .title {
    padding: 20px;
    height: 60px;
    box-sizing: border-box;
    border-top: 1px solid #ddd;
}
#jobs-compare .attribute-item .price {
    border-top: 1px solid #ddd;
    padding: 20px;
    box-sizing: border-box;
    height: 60px;
}
#jobs-compare .attribute-item .shortDescription {
    padding: 20px;
    border-top: 1px solid #ddd;
    height: 300px;
    overflow: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#jobs-compare .attribute-item .shortDescription p {
    margin-top: 0;
}
#jobs-compare .attribute-item .averageRating {
    padding: 20px;
    border-top: 1px solid #ddd;
    height: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
}
#jobs-compare .attribute-item .material {
    border-top: 1px solid #ddd;
    height: 60px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}
#jobs-compare .attribute-item .control {
    padding: 20px;
    border-top: 1px solid #ddd;
    box-sizing: border-box;
}
#jobs-compare .attribute-item .control button {
    height: 50px;
    width: 50px;
    border-radius: 999px;
    background-color: #fff;
    outline: none;
    border: 1px solid #604c3f;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}
#jobs-compare .attribute-item .control button path {
    stroke: #604c3f;
    transition: 0.3s;
}
#jobs-compare .attribute-item .control button:hover {
    background-color: #604c3f;
}
#jobs-compare .attribute-item .control button:hover path {
    stroke: #fff;
}

#jobs-compare .content .close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}
