.giftpopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 999999;
    transition: opacity 0.3s ease-in-out;
}
.giftpopup.active {
    opacity: 1;
    pointer-events: auto;
}
.giftpopup .giftpopup-content {
    width: 1120px;
    max-width: 90%;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    position: relative;
}
.giftpopup .giftpopup-content .giftpopup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: #530107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.giftpopup .giftpopup-content .giftpopup-close > svg {
    pointer-events: none;
}
.giftpopup .giftpopup-content .giftpopup-header {
    padding: 30px;
    background-color: rgba(57, 137, 204, .1);
    display: flex;
    align-items: center;
    gap: 20px;
}
.giftpopup .giftpopup-content .giftpopup-header > svg {
    stroke: #3989cc;
}
.giftpopup .giftpopup-content .giftpopup-header > strong {
    font-size: 20px;
    font-weight: normal;
}
.giftpopup .giftpopup-content .giftpopup-body {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 60px 20px 60px;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left > div {
    width: fit-content;
    text-align: left;
    display: block;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left strong {
    font-size: 20px;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left p {
    font-size: 16px;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left > h3 {
    font-size: 34px;
    font-weight: normal;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left > h3 > i {
    font-weight: bold;
    font-style: normal;
    position: relative;
    color: #3989cc;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left > h3 > i::after {
    content: url('/images/skins/tidySense/images/giftshop-line.svg');
    position: absolute;
    top: 100%;
    left: 50%;
    transform-origin: top;
    transform: translate(-50%, -10px) scale(0.5);
    width: 76px;
    height: 19px;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-right {
    width: 50%;
    text-align: center;
    font-size: 16px;
    position: relative;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-right img {
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 15px;
    background-color: #fff;
    width: 100%;
}
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-bottom-left,
.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-bottom-right {
    width: 50%;
    padding: 20px 0;
    text-align: center;
    font-size: 15px;
}
.giftpopup .giftpopup-content .giftpopup-body-products {
    width: 100%;
    flex: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.giftpopup .giftpopup-content .giftpopup-body-products > .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    pointer-events: none;
}
.giftpopup.active .giftpopup-content .giftpopup-body-products > .item.active {
    opacity: 1;
    pointer-events: auto;
}
.giftpopup .giftpopup-content .giftpopup-body-products > .item > .image {
    border: 1px solid #ccc;
    width: 100%;
}
.giftpopup .giftpopup-content .giftpopup-body-products > .item > .image > img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    height: auto;
}
.giftpopup .giftpopup-content .giftpopup-body-products > .item button {
    margin-top: -50%;
    padding: 10px 30px;
    font-weight: bold;
    background-color: #3989cc;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}
.giftpopup .giftpopup-content .giftpopup-body-products > .item button::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="3" stroke="rgb(255,255,255)" width="16" height="16"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5" /></svg>');
    position: absolute;
    top: 50%;
    right: -20px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    transition: right ease .2s;
}
.giftpopup .giftpopup-content .giftpopup-body-products > .item button.active {
    background-color: #333333;
    color: #fff;
    padding: 10px 40px 10px 15px
}
.giftpopup .giftpopup-content .giftpopup-body-products > .item button.active::after {
    right: 15px;
}
.giftpopup .giftpopup-content .giftpopup-body-products > .item button.inactive {
    background-color: #ccc;
    color: #fff;
    opacity: 0.5;
    pointer-events: none;
}
.giftpopup .giftpopup-content .giftpopup-body-products > .item > div > span {
    display: block;
    text-align: center;
    font-size: 15px;
    color: #888;
    margin-top: 5px;
}

@media(max-width: 900px) {
    .giftpopup .giftpopup-content .giftpopup-header {
        padding: 10px 15px;
        gap: 10px;
        justify-content: center;
    }
    .giftpopup .giftpopup-content .giftpopup-header > svg {
        width: 20px;
        height: 20px;
    }
    .giftpopup .giftpopup-content .giftpopup-header > strong {
        font-size: 16px;
    }
    .giftpopup .giftpopup-content .giftpopup-body {
        padding: 15px;
    }
    .giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left {
        width: 100%;
    }
    .giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left > div {
        text-align: center;
    }
	.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left > h3 {
		font-size: 26px;
	}
	.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left strong,
	.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-bottom-left strong,
	.giftpopup-body-bottom-right strong,
	.giftpopup .giftpopup-content .giftpopup-body-products > .item > div > span {
		font-size: 13px;
	}
	
    .giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-right,
	.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-left p {
        display: none;
    }
	.giftpopup .giftpopup-content .giftpopup-body > .giftpopup-body-bottom-left,
	.giftpopup-body-bottom-right {
		width: 100%;
		padding: 0;
		text-align: center;
	}
	
    .giftpopup .giftpopup-content .giftpopup-body-products {
        margin-top: 10px;
		/*
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
		*/
		gap: 10px;
		display: flex;
		flex-wrap: wrap;
    }
	.giftpopup .giftpopup-content .giftpopup-body-products > .item {
		width: calc(50% - 5px);
	}
	
	.giftpopup .giftpopup-content .giftpopup-body-products > .item button {
		padding: 6px 20px;
	}
	
	
	
}