:root {
    --homeFonts: "Square Peg", cursive;
    --fs-light: rgba(255, 89, 55, 1);
    --fs-dark: rgba(246, 28, 28, 1);
}

#homepage {
    display: grid;
    grid-gap: 40px;
}

.home-component {
    width: 100%;
    margin: 0 auto;
}

#banner:empty,
#empty-box:empty {
    display: none;
}

#homepage .swiper-initialized {
    height: fit-content;
}

.home-container {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto;
    max-width: 1200px;
    overflow: hidden;
}

#homepage .in-story-title-wrapper {
    margin-bottom: 10px;
}

.home-top-section {
    display: grid;
    grid-template-columns: 3fr 1.3fr;
    grid-gap: 20px;
    margin-top: 20px;
}

.banner-left-link {
    display: flex;
    border-radius: 16px;
    position: relative;
}

.banner-left-link::before {
    content: "";
    display: block;
    padding-top: 35%;
}

.banner-left-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.home-banner-left,
.home-flashsale-list-product {
    overflow: hidden;
}

.home-flashsale-list-product {
    position: relative;
}

.home-banner-slide {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.home-banner-left .swiper-pagination-bullet {
    border: 1px solid #fff;
    background: transparent;
    opacity: 1;
}

.home-banner-left .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fff;
    width: 20px;
    border-radius: 5px
}

.home-event-top {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
}

.home-event-content {
    position: absolute;
    bottom: 22px;
    padding: 0 20px;
    z-index: 2;
}

.home-event-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.home-event-image::before {
    content: "";
    display: block;
    padding-top: 70%;
}

.home-event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.home-event-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    grid-gap: 8px;
}

.home-event-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
}

.home-event-label {
    display: flex;
    align-items: center;
    grid-gap: 4px;
    color: #F6D645;
    font-size: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
    padding: 4px 8px;
    width: fit-content;
}

.home-event-label > span {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.home-event-label > svg {
    min-width: 14px;
}

.home-event-top::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(2, 2, 2, 0.24) 69%, rgba(0, 0, 0, 0.73) 100%);
    z-index: 1;
}

.home-heading {
    color: var(--home-box-title-color, #0A0A0A);
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.recipients-vs-quick-gift-finder .site-w {
    display: flex;
    grid-gap: 20px;
    width: 100%;
    flex-direction: column;
}

.quick-gift-finder-heading {
    text-align: center;
    color: var(--recipient-heading-color, #0A0A0A);
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.recipient-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 16px;
}

.recipient-content-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 8px;
}

.recipient-content-item:hover img {
    transform: scale(1.1);
}

.recipient-content-image {
    position: relative;
    width: 100%;
}

.recipient-content-image::after {
    content: "";
    padding-bottom: 100%;
    display: block;
}

.recipient-content-image::before {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
    background-color: var(--recipient-icon-bg, #FF9D32);
    display: block;
}

.recipient-content-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.recipient-content-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: var(--recipient-title-color, #0A0A0A);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-align: center;
    transition: all 0.3s ease;
}

.recipient-content-item:hover .recipient-content-title {
    color: var(--recipient-title-color-hover, var(--secondary));
}

.recipient-content-item:hover .recipient-content-image::before {
    background-color: var(--recipient-icon-bg-hover, var(--secondary));
}

.quick-gift-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 8px;
}

#gift-finder-form-wrapper {
    width: 100%;
    position: relative;
}

#gift-finder-form-wrapper:after {
    --icon: 96px;
    content: "";
    position: absolute;
    background-image: var(--bg-gift-icon, url(/assets/images/gift.png));
    background-repeat: no-repeat;
    background-size: var(--icon);
    background-position: bottom left;
    width: var(--icon);
    height: var(--icon);
    bottom: -14px;
    left: -24px;
    pointer-events: none;
}

.grid-find-form-background {
    border-radius: 16px;
    background: var(--bg-gift, rgba(238 149 68 / 30%));
    box-shadow: var(--bg-gift-gradient-1, rgba(238 149 68 / 30%)) 0 -6px 10px 0 inset, var(--bg-gift-gradient-2, rgba(238 149 68 / 30%)) 0 6px 10px 0 inset;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    grid-gap: 16px;
    padding: 18px 24px 18px 44px;
}

.gift-form-box {
    display: flex;
    flex-direction: column;
    grid-gap: 6px;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.gift-finder-title {
    text-align: center;
    margin: 0 auto;
    color: var(--gift-finder-heading, #0A0A0A);
}

.gift-contain {
    position: relative;
    width: 100%;
    cursor: pointer;
}

#gift-finder-form-wrapper .label {
    font-weight: 500;
    color: var(--gift-finder-label-color, #0A0A0A);
}

.gift-title-box {
    background-color: #fff;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23a1a1a1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" ><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M6 9l6 6l6 -6" /></svg>');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 99% center;
    border-radius: 9px;
    line-height: 40px;
    padding: 6px 10px;
    border: 1px solid #fff;
    transition: all 222ms ease-in-out;
}

.gift-contain.active .gift-title-box {
    border-color: var(--bg-gift-gradient-2, #ffa800);
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23a1a1a1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" ><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M6 15l6 -6l6 6" /></svg>');
    border-radius: 9px 9px 0 0;
}

.gift-list {
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 9px;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    border: 1px solid var(--bg-gift-gradient-2, #ffa800);
    border-top: none;
    transition: all 222ms ease-in-out;
    box-shadow: 0 3px 12px rgba(11 11 11 / 22%);
    max-height: 320px;
    overflow-y: auto;
}

.gift-contain.active .gift-list:not(.force-hide-dropdown) {
    opacity: 1;
    pointer-events: all;
    border-radius: 0 0 9px 9px;
}

.gift-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    width: 100%;
}

.gift-item:hover {
    background-color: #fafafa;
    color: #0A0A0A;
}

.gift-search-item:hover .gift-search-input {
    border: 1px solid var(--bg-gift-gradient-2, #ffa800);
}

.item-active,
.item-active:hover,
.gift-search-item:hover .item-active {
    color: var(--bg-gift-gradient-2, #ffa800);
    background-color: transparent;
    cursor: default;
}

.gift-search-item {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 3;
    display: block;
}

.gift-search-item .gift-search-input {
    border: 1px solid var(--flash);
    padding: 2px 8px;
    background-color: #fff;
    font-size: 16px;
    border-radius: 5px;
    width: 100%;
    line-height: 36px;
    outline: none;
}

.gift-form-button {
    width: fit-content;
    min-width: fit-content;
}

.gift_finder_button {
    font-size: 17px;
    line-height: 34px;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--gift-finder-button-background, #ff342d);
    color: var(--gift-finder-button-text, #fff);
    border: 2px solid var(--gift-finder-button-text, #fff);
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.gift_finder_button:hover {
    background: var(--gift-finder-button-hover-background, #d31c16);
    color: var(--gift-finder-button-hover-text,#fff);
    border: 2px solid var(--gift-finder-button-hover-text, #fff);
}

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

.appears-ready-content {
    display: flex;
    justify-content: center;
    grid-gap: 22px;
}

.appears-ready-item {
    width: 118px;
}

.appears-ready-item-image img {
    border-radius: 50%;
    object-fit: cover;
}

.appears-ready-item-image {
    display: flex;
    margin-bottom: 16px;
}

.appears-ready-item-txt {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--home-title-color, #0A0A0A);
}

.home-what-you-love-wrapper-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    margin-bottom: 20px;
}

.home-what-you-love-wrapper-title .home-heading {
    margin-bottom: 0;
}

.because-you-viewed {
    display: flex;
    align-items: center;
    grid-gap: 12px;
}

.because-list {
    display: flex;
    grid-gap: 4px;
}

.because-item-link {
    background: #f8f8f8;
}

.because-item-link img {
    mix-blend-mode: multiply;
    border-radius: 4px;
}

.what-you-love-list-product {
    overflow: hidden;
    position: relative;
}

.product-item-image {
    position: relative;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
}

.product-item-image img:hover {
    transform: scale(1.45);
}

.product-item-image img {
    transition: .3s ease;
}

.product-item-image::before {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.product-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    mix-blend-mode: multiply;
}

.product-item {
    display: flex;
    flex-direction: column;
    grid-gap: 10px;
}

.product-item-title {
    color: var(--home-product-title, #494949);
    font-size: 14px;
    font-weight: 500;
    line-height: 120%; 
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.home-flashsale-wrapper .product-item-title {
    color: var(--fs-title-product-color, #525252);
}

.product-item-title:hover {
    color: var(--home-title-product-hover, #ff7300);
}

.product-item-price-wrapper {
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    color: var(--home-price-product, #0A0A0A);
}

html[lang="es-MX"]:has(.home-what-you-love-wrapper) .product-item-price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 6px;
}

html[lang="es-MX"]:has(.home-what-you-love-wrapper) .product-item-price-wrapper .old-price,
html[lang="es-MX"]:has(.home-what-you-love-wrapper) .product-item-price-wrapper .item-percent-sale {
    margin-left: 0;
}

.product-viewed-info .product-item-price-wrapper {
    font-weight: 500;
    display: flex;
    align-items: center;
    column-gap: 4px;
    flex-wrap: wrap;
}

.product-viewed-info .product-item-price-wrapper .old-price {
    margin-left: 0;
}

.product-viewed-list.swiper-wrapper {
    align-items: stretch;
}

.product-viewed-list.swiper-wrapper .swiper-slide {
    height: auto;
}

.what-you-love-list-product:not(.swiper-initialized) img,
.what-you-love-list-product:not(.swiper-initialized) .product-item-image,
.fandom-slider:not(.swiper-initialized) img,
.fandom-slider:not(.swiper-initialized) .fandom-link {
    max-width: 212px;
}

.home-flashsale-title .home-heading {
    margin-bottom: 0;
    margin-right: auto;
    font-size: 28px;
    color: var(--fs-text-color, #fff);
}

.flashsale-title-count,
.home-flashsale-count-text {
    font-size: 16px;
    color: var(--fs-text-color, #fff);
}

.home-flashsale-title {
    display: flex;
    align-items: center;
    grid-gap: 8px;
}

.flashsale-title-count {
    display: flex;
    align-items: center;
    grid-gap: 4px;
    font-size: 14px;
    color: var(--fs-text-color, #fff);
}

.home-flashsale-count-down {
    display: flex;
    align-items: center;
    grid-gap: 4px;
}

.home-flashsale-count-down span {
    background: var(--home-title-color, #0A0A0A);
    color: #fff;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.product-item-price-wrapper .old-price {
    color: var(--home-price-old-product, #A3A3A3);
    font-size: 14px;
    font-weight: var(--font-body, 400);
    text-decoration: line-through;
    margin-left: 4px;
}

.product-item-price-wrapper .item-percent-sale,
.product-item-price-wrapper .percent-sale {
    font-size: 14px;
    color: var(--home-percent-sale-txt, #F60);
    font-weight: 500;
    border-radius: 12px;
    background: var(--home-percent-sale-bg, #FEF1D3);
    padding: 2px 8px;
    margin-left: 4px;
}

.product-item-event,
.product-item-flash-sale-text {
    font-size: 12px;
    color: var(--flashsale-time-end, #2B96CC);
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-height: 1.2;
}

.product-item-price-wrapper .item-percent-sale {
    color: var(--home-item-percent-color, #F60);
    background: var(--home-item-percent-bg, #FEF1D3);
}

.product-item-flash-sale-text {
    color: var(--home-flashsale-color, #258635)
}

html[lang="ja-JP"] .product-item-flash-sale-text {
    margin-top: 6px;
}

.home-flashsale-list-product .product-item-flash-sale-text {
    margin-top: 8px;
}

.swiper-bottom-action {
    display: flex;
    align-items: center;
    width: fit-content;
    justify-content: center;
    margin: 20px auto;
    grid-gap: 8px;
}

.swiper-bottom-action .swiper-button-prev,
.swiper-bottom-action .swiper-button-next,
.swiper-bottom-action .swiper-pagination {
    position: static;
}

.swiper-bottom-action .swiper-button-prev, 
.swiper-bottom-action .swiper-button-next {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    box-shadow: none;
    padding: 8px 16px;
    margin-top: 0;
}

.swiper-bottom-action .swiper-button-prev::after, 
.swiper-bottom-action .swiper-button-next::after {
    font-size: 13px;
}

.swiper-bottom-action .swiper-pagination {
    font-size: 14px;
    color: #a3a3a3;
}

.swiper-bottom-action .swiper-pagination .swiper-pagination-current {
    color: var(--home-title-color, #0A0A0A);
}

.home-top-pics-list {
    display: flex;
    grid-gap: 20px;
    align-items: stretch;
}

.product-item.first-product {
    width: calc((100% - 60px) / 5 * 2);
    min-width: calc((100% - 60px) / 5 * 2);
    background-color: #fafafa;
    border-radius: 8px;
}

.home-top-pics-list .product-item-image, 
.home-top-pics-list .product-item-image img {
    border-radius: 8px 8px 0 0;
}

.home-top-pics-list .home-top-pics-item {
    background-color: #fafafa;
    border-radius: 8px;
}

.home-top-pics-list .swiper-button-next,
.home-top-pics-list .swiper-button-prev,
.fandom-wrapper .swiper-button-next,
.fandom-wrapper .swiper-button-prev {
    margin-top: calc(-10px - (var(--swiper-navigation-size) / 2));
}

.product-viewed-slide .swiper-button-next,
.product-viewed-slide .swiper-button-prev {
    width: 30px;
    height: 30px;
}

.product-viewed-slide .swiper-button-next::after,
.product-viewed-slide .swiper-button-prev::after {
    font-size: 15px;
}

.home-top-pics-list .swiper-button-prev.swiper-button-disabled, 
.home-top-pics-list .swiper-button-next.swiper-button-disabled {
    display: none;
}

.product-item.first-product .product-item-title {
    font-size: 16px;
    -webkit-line-clamp: 2;
    line-height: 1.5;
}

.product-item.first-product .product-item-info .new-price {
    font-size: 20px;
}

.product-item.first-product .product-item-info .old-price, 
.product-item.first-product .product-item-info .percent-sale {
    font-size: 16px;
}

.product-item-info {
    padding: 6px 20px 16px;
}

.product-item-info .product-item-title {
    margin-bottom: 8px;
}

.home-top-pics-item:first-child .old-price,
.home-top-pics-item:first-child .percent-sale {
    font-size: 16px;
}

.home-event-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
}

.home-event-wrapper .product-item-details {
    display: flex;
    flex-direction: column;
    grid-gap: 6px;
}

.home-event-item.home-event-info {
    grid-column-start: span 2;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 100%;
    padding: 20px;
    border-radius: 11px;
    overflow: hidden;
    background-color: var(--se-bg-color, #FFF8EE);
    background-image: var(--se-bg-img, url(https://cdn.printerval.com/unsafe/960x960/printerval.com/assets/images/home-events/collection-bg.png?v=2));
    color: var(--se-text-color, #414141);
}

.home-event-view-more::before {
    content: "";
    width: 48px;
    height: 48px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: -20px;
    bottom: 16px;
    pointer-events: none;
    background-image: var(--se-btn-bg-img);
}

.home-event-time-txt {
    font-size: 16px;
    font-weight: 700;
}

.home-event-time-wrapper {
    display: flex;
    align-items: center;
    grid-gap: 4px;
}

.home-event-time {
    display: flex;
    align-items: center;
    grid-gap: 4px;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 14px;
    border: 1px solid var(--se-text-color, #414141);
    background-color: var(--se-time-bg);
    color: var(--se-time-color)
}

.home-event-info .home-event-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--se-text-primary, #0A0A0A) !important
}

.home-event-info {
    display: flex;
    flex-direction: column;
    grid-gap: 16px;
    position: relative;
    overflow: hidden;
}

.home-event-info > * {
    position: relative;
    z-index: 1;
}

.home-event-desctiption {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.home-btn {
    display: flex;
    align-items: center;
    grid-gap: 4px;
    width: fit-content;
    padding: 10px 24px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    transition: .3s ease;
    position: relative;

    background: var(--se-btn-bg-color, #F60);
    color: var(--se-btn-text-color, #fff);
}

.home-btn:hover {
    cursor: pointer;
    color: var(--se-btn-text-color, #fff);
}

.home-event-view-more.home-btn svg {
    transition: all .3s;
}

.home-event-view-more.home-btn:hover svg {
    transform: translate(8px);
    transition: all .3s;
}

.home-btn.btn-primary {
    background-color: #504BFF;
}

.home-create-your-own .home-heading {
    font-size: 48px;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.home-cyo-uploaded-img {
    display: none;
}

.home-cyo-preview-img {
    position: relative;
    width: fit-content;
    margin: auto;
}

.home-cyo-preview-img:hover {
    cursor: pointer;
}

.home-cyo-preview-img:hover .home-create-your-own-button.home-btn {
    background: #e86107;
}

.home-cyo-preview-img:hover .home-btn.btn-primary {
    background-color: #2721ec;
}

.home-create-your-own-banner {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

#cyo-icon-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: rgba(111, 111, 111, .9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    color: #fff;
}

.home-create-your-own-button.home-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 50px;
    border-radius: 9px;
}

#create-your-own-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 50px;
    width: max-content;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 999;
}

.home-event-content-box-sub-title {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    color: var(--home-title-color, #0A0A0A);
    text-transform: capitalize;
}

.home-create-your-own {
    text-align: center;
    display: flex;
    flex-direction: column;
    grid-gap: 16px;
    justify-content: center;
}

#create-your-own-button {
    display: none;
}

.home-create-your-own-button,
.designTarget,
#create-your-own-button,
.home-create-your-own-banner {
    margin: auto;
}
.loading-spiner {
    --loadingIcon: 16px;
    font-size: 10px;
    width: var(--loadingIcon);
    height: var(--loadingIcon);
    min-width: var(--loadingIcon);
    min-height: var(--loadingIcon);
    border-radius: 50%;
    position: relative;
    top: auto;
    text-indent: -9999em;
    background: none;
    animation: l3 1s infinite linear;
}

.loading-spiner::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 44px;
    border: 2px solid rgba(255 255 255 / 88%);
    border-top-color: rgba(255 255 255 / 22%);
    border-right-color: rgba(255 255 255 / 44%);
}
.designTarget {
    width: fit-content;
    height: auto;
    max-width: 350px;
}

.home-event-banner-image,
#homepage .thumbStorySwiper .swiper-slide {
    border-radius: 11px;
}

.home-event-banner-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.home-flashsale-wrapper {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(0deg, var(--fs-bg-color-dark, #f61c1c) 0%, var(--fs-bg-color-light, #ff5937) 100%);
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
    border-radius: 11px;
    position: relative;
    overflow: hidden;
}

.home-flashsale-list-product .product-item {
    background-color: #fff;
    border-radius: 19px;
}

.home-flashsale-list-product .swiper-pagination {
    display: none;
}

.home-flashsale-list-product .product-item-image img {
    mix-blend-mode: normal;
    border-radius: 8px 8px 0 0;
}

.home-flashsale-list-product .product-item-details {
    padding: 0 14px 10px;
    display: flex;
    flex-direction: column;
    grid-gap: 8px;
}

.home-flashsale-list-product .product-item-image {
    border-radius: 19px 19px 0 0;
    mix-blend-mode: normal;
    background-color: #fff;
}

.home-flashsale-list-product:not(.swiper-initialized) .swiper-button-next,
.home-flashsale-list-product:not(.swiper-initialized) .swiper-button-prev {
    opacity: 0;
    pointer-events: none;
}

#homepage .home-flashsale-list-product .swiper-button-next,
#homepage .home-flashsale-list-product .swiper-button-prev {
    top: 45%
}

.home-flashsale-list-product:not(.swiper-initialized) .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    align-items: flex-start;
}

.home-flashsale-list-product:not(.swiper-initialized) .swiper-wrapper .product-item:nth-child(n + 5) {
    display: none;
}

.d-none {
    display: none;
}

.spice-up-your-life-block {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: 100%;
    width: 100%;
}

.spice-up-your-life-block::after {
    content: "";
    display: block;
    padding-bottom: 23.8%
}

.spice-up-your-life-block::before {
    content: "";
    width: 80vw;
    height: 100%;
    position: absolute;
    left: 0;
    top:0;
    background-color: #FF7F0B;
    z-index: -1;
}

.spice-up-your-life-content {
    width: 100%;
    position: absolute;
    bottom: 30%;
    left: 44%;
    max-width: 465px;
}

.spice-up-txt {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    grid-gap: 16px;
    align-items: baseline;
    font-size: 16px;
    font-weight: var(--font-body, 400);
    line-height: 140%;
    letter-spacing: -0.16px;
    color: var(--color-primary, #0A0A0A);
}

.fandom-slider {
    position: relative;
    overflow: hidden;
}


.fandom-slider .fandom-link {
    display: block;
    position: relative;
    cursor: pointer;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.fandom-link::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.fandom-link img {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.fandom-button-txt {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0 0 0 / 40%) 0%, rgba(0 0 0 / 80%) 100%);
    opacity: 0;
    transition: .3s ease;
    pointer-events: none;
}

.fandom-link:hover .fandom-button-txt {
    opacity: 1;
}

.fandom-button-txt span {
    display: block;
    padding: 8px 16px;
    background-color: #fff;
    border-radius: 3px;
    font-size: 14px;
    box-shadow: 0 3px 4px -1px rgba(0, 0, 0, .15),0 5px 10px 0 rgba(0, 0, 0, .1),0 1px 12px 0 rgba(0, 0, 0, .1);
}

.home-perfect-fit {
    text-align: center;
}

.home-perfect-fit .home-heading {
    margin-bottom: 12px;
}

.home-perfect-fit-sub-title {
    font-size: 16px;
    font-weight: var(--font-body, 400);
    color: var(--color-dark, #525252);
}

.perfect-fit-content {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.perfect-fit-item {
    padding: 24px;
}

.perfect-fit-item-icon {
    font-family: var(--homeFonts);
    font-size: 49px;
    line-height: 1.2;
}

.perfect-fit-item:first-child .perfect-fit-item-icon {
    color: #2B96CC;
}

.perfect-fit-item:nth-of-type(2) .perfect-fit-item-icon {
    color: var(--secondary);
}

.perfect-fit-item:last-child .perfect-fit-item-icon {
    color: #22C55F;
}

.perfect-fit-item-title {
    margin: 16px 0;
    color: var(--color-primary, #0A0A0A);
    font-size: 16px;
    font-weight: 700;
}

.perfect-fit-item-description {
    font-size: 14px;
    font-weight: var(--font-body, 400);
    line-height: 140%;
    color: var(--color-dark, #525252);
}

.perfect-fit-item-description a {
    text-decoration: underline;
}

.home-refer-and-support {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-gap: 20px;
}

.home-refer-and-support.full-width {
    grid-template-columns: 1fr;
}

.home-about-sell {
    position: relative;
    overflow: hidden;
}

.home-about-sell-content {
    width: 40%;
}

.refer-a-friend-box {
    width: 50%;
}

.home-selling,
.home-refer-link {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
}

.home-refer-link {
    top: auto;
    bottom: 0;
    right: -15%;
}

.home-selling img {
    height: 100%;
}

.home-refer-and-support.full-width .home-about-sell {
    max-width: 70%;
    margin: 0 auto;
}

.home-refer-and-support.full-width .home-about-sell-image img {
    margin: auto;
    width: 100%;
    height: auto;
}

.home-refer-and-support.full-width .home-about-sell-content {
    text-align: center;
}

.home-refer-and-support.full-width .button-container a {
    margin: auto;
}

.refer-a-friend-wrapper {
    padding: 24px;
    position: relative;
    overflow: hidden;
    min-height: 300px;;
    border-radius: 12px;
    background: var(--Orange-50, #FFF8EC);
}

.home-about-sell {
    padding: 24px;
    border-radius: 12px;
    background: var(--Primary-Blue-50, #EBEFFF);
}

.home-refer-and-support .home-heading {
    margin-bottom: 12px;
}

.refer-a-friend-text,
.p-description {
    font-size: 16px;
    font-weight: var(--font-body, 400);
    line-height: 140%;
    color: var(--color-dark, #525252);
    margin-bottom: 24px;
    word-break: break-word;
}

.refer-a-friend-images,
.home-about-sell-image {
    margin-top: 16px;
    display: block;
}

.refer-a-friend-images img,
.home-about-sell-image img {
    border-radius: 8px;
}

.refer-a-friend-images img {
    width: 100%;
    max-width: 100%;
}

.home-heading .text-primary {
    color: #504BFF;
}

.fresh-blog {
    padding: 20px;
    border-radius: 12px;
    background: var(--Neutral-50, #FAFAFA);
    margin-bottom: 40px;
}

.fresh-blog-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.fresh-blog-title .home-heading {
    margin-bottom: 0;
}

.fresh-blog-link-view-more {
    color: var(--color-dark, #525252);
    display: flex;
    align-items: center;
    grid-gap: 4px;
}

.fresh-blog-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
}

.fresh-blog-item-image {
    position: relative;
}

.fresh-blog-item-image::after {
    content: "";
    display: block;
    padding-bottom: 60%;
}

.fresh-blog-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.fresh-blog-item {
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
}

.fresh-blog-item-category {
    color: var(--color-dark, #525252);
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 120%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.fresh-blog-item-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    color: var(--color-primary, #0A0A0A);
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    min-height: 38px;
}

.fresh-blog-item-view-more {
    display: flex;
    align-items: center;
    grid-gap: 8px;
    font-size: 14px;
    color: var(--color-dark, #525252);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--Neutral-300, #D4D4D4);
    background: var(--Neutral-50, #FAFAFA);
    width: fit-content;
}

.fresh-blog-item-view-more:hover {
    border-color: var(--secondary)
}

.home-bottom-section {
    margin-top: 24px;
    display: block;
}

.home-bottom-section img {
    width: 100%;
    height: auto;
    max-width: 1920px;
    margin: 0 auto;
    display: block;
}

.popular-area-wrapper .home-heading {
    display: flex;
    align-items: center;
    grid-gap: 8px;
}

.popular-area-wrapper .popular-group-title {
    color: var(--color-primary, #0A0A0A);
}

#homepage .popular-list {
    padding-bottom: 0;
    margin-top: 20px;
}

.popular-list .popular-list-wrapper {
    position: relative;
    width: 100%;
}

.product-viewed-slide {
    overflow: hidden;
    position: relative;
}

#homepage .product-viewed-slide .swiper-button-next, #homepage .product-viewed-slide .swiper-button-prev {
    margin-top: 0;
    top: calc(50% - 15px);
}

.product-viewed-item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    grid-gap: 12px;
    padding: 8px;
    border-radius: 12px;
    background: var(--Neutral-50, #FAFAFA);
    align-items: center;
}

.product-viewed-img {
    position: relative;
    background: #f8f8f8;
    border-radius: 8px;
}

.product-viewed-img::after {
    content: "";
    display: block;
    padding-top: 100%;
}

.product-viewed-img img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    mix-blend-mode: multiply;
    border-radius: 8px;
}

.product-viewed-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-gap: 4px;
}

.product-viewed-title {
    font-size: 14px;
    font-weight: var(--font-body, 400);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: var(--home-title-product, #525252);
    line-height: 1.3;
}

.product-viewed-title:hover {
    color: var(--home-title-product-hover, #F60);
}

.product-viewed-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--home-box-title-color, #0A0A0A);
    margin-bottom: 16px;
    text-transform: capitalize;
}

.product-viewed-list-loading {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 12px;
    margin-bottom: 16px;
}

.what-you-love-loading-item {
    animation-duration: 3s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    background: #f6f7f8;
    background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    background-size: 300% 100%;
    border-radius: 3px;
}

.loading-item-block-link {
    width: 100%;
    display: block;
    border-radius: 7px;
    position: relative;
    background-color: var(--multiply);
}

.what-you-love-loading {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
    margin: 20px 0;
}

.home-top-pics-loading .loading-item-block:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.home-event-loading .loading-item-block:first-child {
    grid-column-start: span 2;
    grid-gap: 0;
    border-radius: 7px;
}

.home-event-loading .loading-item-block:first-child > * {
    border-radius: 0;
}

.home-event-loading .loading-item-block:first-child .loading-item-block-link::after {
    padding-bottom: 50%;
}

.loading-item-block-link {
    width: 100%;
    height: 100%;
}

.loading-item-block-link::after {
    content: "";
    padding-bottom: 100%;
    display: block;
}

.loading-item-block {
    display: flex;
    flex-direction: column;
    grid-gap: 8px;
}

.what-you-love-title-loading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.because-list-loading {
    display: flex;
    align-items: center;
    grid-gap: 4px;
}

.home-banner-right {
    max-width: 380px;
    overflow: hidden;
    height: 100%;
}

.home-banner-right .home-banner-right-slide {
    height: 100%;
}

#homepage .home-banner-right-slide.swiper-initialized {
    height: 100%;
}

.footer-nav-list:nth-child(5) .footer-nav-item a + a {
    display: block;
    margin-top: 20px;
}

.footer-nav-list:first-child .footer-nav-item picture {
    justify-content: flex-start;
}

#homepage .swiper-button-next {
    right: 0;
}

#homepage .swiper-button-prev {
    left: 0;
}

#homepage .swiper-button-next,
#homepage .swiper-button-prev {
    box-shadow: none;
    border: 1px solid #f5f5f5;
}

@media(min-width: 1550px) {
    .spice-up-your-life-block {
        background-size: 1512px 360px;
    }

    .spice-up-your-life-block::after {
        padding-bottom: 360px;
    }
}

@media (min-width: 1340px) {
    .home-container {
        max-width: 1340px;
    }
}

@media(max-width: 1023px) {
    .appears-ready-content {
        flex-wrap: wrap;
    }

    .appears-ready-item {
        width: calc((100% - 44px) / 3);
    }

    .appears-ready-item-image {
        justify-content: center;
    }

    .home-event-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-event-item.home-event-info {
        grid-column-start: span 1;
    }

    .home-refer-and-support {
        grid-template-columns: 1fr;
    }

    .fresh-blog-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .spice-up-your-life-content {
        max-width: 400px;
        bottom: 5px;
        left: 42%;
    }
}

@media(max-width: 1024px) {
    .home-flashsale-wrapper {
        width: calc(100vw - 60px);
    }
}

@media (max-width: 900px) {
    .home-create-your-own .home-heading {
        font-size: 27px;
    }
    .perfect-fit-content {
        grid-template-columns: repeat(1, 1fr);
    }

    .fresh-blog-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sale-bar-preview {
    margin-bottom: 0!important;
}

.sale-bar-preview + .main-content {
    margin-top: 24px;
}

.sale-bar-preview strong {
    font-weight: 500!important;
}

html[lang="es-MX"] .product-item-price-wrapper {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr);
    grid-gap: 4px 6px !important;
    align-items: center;
}

html[lang="es-MX"] .product-item-price-wrapper .item-percent-sale {
    margin-left: 0;
    width: max-content;
}

html[lang="es-MX"] .product-item-price-wrapper .new-price {
    grid-column-start: span 2;
}

html[lang="es-MX"] .product-item-price-wrapper .old-price {
    margin-left: 0;
}