[x-cloak] {
    display: none !important;
}

.rotate-y-60 {
    transform: rotateY(60deg);
}

.rotate-y-90 {
    transform: rotateY(90deg);
}

.scale-150 {
    transform: scale(1.5);
}

.popup_wrapper {
    background-color: white;
    border-radius: 0.125rem; /* rounded-sm */
    border-style: solid;
    border-width: 1px;
    font-size: 0.875rem; /* text-sm */
    margin: auto;
    padding-top: 0.5rem;     /* py-2 */
    padding-bottom: 0.5rem;
    padding-left: 1rem;      /* px-4 */
    padding-right: 1rem;
    position: relative;
    z-index: 99;
    border-color: rgba(128, 128, 128, 1);
    box-shadow: 3px 3px 15px #222;
    width: max-content;
    border-radius: 3%;
}

/* Css for template-contact-form */
#template-contact-form .popup_content {
   border-style: solid;
    box-sizing: border-box;
    margin-top: 0.75rem;  /* my-3 */
    margin-bottom: 0.75rem;
    margin-left: auto;    /* mx-auto */
    margin-right: auto;
    padding: 1rem;        /* p-4 */
    width: 100%;
    border-radius: 10px;
    border-color: rgba(25, 121, 195, 1);
    width: 100%;
    box-sizing: border-box;
    height: 100%;
}
#template-contact-form .contact {
    width: 100%;;
}
#template-contact-form .fieldset {
    margin: 0;
}
#template-contact-form .fieldset >.field {
    margin: 0 0 10px;
}
#template-contact-form .fieldset .control {
    width: 100%;
    position: relative;
}
#template-contact-form .legend {
    text-align: center;
    color: #00007b;
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 24px;
    border: none;
    padding: 20px;
}
#template-contact-form .input-text {
    width: 100%;
    background: #e9e9e9;
    padding: 24px 48px;
    border-radius: 20px;
    outline: unset;
    border: none;
    margin-bottom: 8px;
}
#template-contact-form .input-text::placeholder {
    color: #2c2f52;
}
#template-contact-form .input-text:-ms-input-placeholder {
    color: #2c2f52;
}
#template-contact-form .input-text::-ms-input-placeholder {
    color: #2c2f52;
}
#template-contact-form .input-text .text-msg{
    border-radius: 16px;
    padding: 24px;
    resize: none;
}
#template-contact-form .icon-name__img {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 20px;
    transform: translateY(-80%);
}
#template-contact-form .icon-email__img{
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 24px;
    transform: translateY(-80%);
}
#template-contact-form .popup-contact{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
#template-contact-form .popup-contact #contact-form {
    width: 36%;
}
#template-contact-form .popup-contact .popup__contact-img {
    width: 50%;
    img {
        width: 90%;
    }
}
#template-contact-form #contact-form .actions-toolbar {
    border-top-width: 0;
}
#template-contact-form .popup-contact .actions-toolbar .primary {
    width: 100%;
}
#template-contact-form .popup-contact .btn-contact {
    width: 100%;
    padding: 16px;
    margin-top: -10%;
    border-radius: 40px;
    font-weight: 700;
    background: linear-gradient(to right, #4b0596, #4355f1);
    border: none;
    outline: unset;
    opacity: 0.9;
    justify-content: center;
    align-items: center;
    display: flex;
}
#template-contact-form .popup-contact .btn-contact:hover {
    opacity: 1;
}

/* Css for template-age-verification */
#template-age-verification {
    max-width: 90vw;
    height: auto;
    text-align: center;
    box-sizing: border-box;
    border-radius: 24px;
    padding: 40px;
}
#template-age-verification .popup-title {
    margin-top: 24px;
    font-size: 32px;
    text-transform: capitalize;
    font-weight: 700;
    color: #1b2289;
}
#template-age-verification .popup-description {
    font-size: 20px;
    margin: 20px auto;
    width: 340px;
    box-sizing: border-box;
    line-height: 26px;
    color: #888;
    word-spacing: 1px;
}
#template-age-verification #age_verification_redirect {
    margin: 10px 58px 60px 0;
    max-width: 270px;
    float: right;
}
#template-age-verification .popup-footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 16px;
    gap: 16px;
}
#template-age-verification #age_verification_redirect {
    margin: 10px 58px 60px 0;
    max-width: 270px;
    float: right;
}
#template-age-verification .popup__age-verify-img {
    width: 30%;
    margin: auto;
}
#template-age-verification .popup__age-verify-img img{
    width: 100%;
}
#template-age-verification button.btn__age-verify {
    text-transform: uppercase;
    border-radius: 40px;
    border: none;
    outline: unset;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-sizing: border-box;
    transition: background 300ms cubic-bezier(.694, 0, 0.335, 1);
}
#template-age-verification #age_verification_yes {
    color: #fff;
    font-weight: 600;
    padding: 14px 40px;
    background: linear-gradient(to right, #fb6a3b, #fbb03b);
}
#template-age-verification #age_verification_yes:hover {
    background: linear-gradient(to right, #fbb03b, #fb6a3b);
}
#template-age-verification #age_verification_no {
    background: none;
    color: #666;
    border: 2px solid #fbb03b;
    padding: 12px 38px;
    font-weight: 700;
    opacity: 1;
}
#template-age-verification #age_verification_no:hover {
    background: #fbb03b;
}

/* Css for template-newsletter */
#template-newsletter {
    padding: 0;
    text-align: center;
    max-width: 600px;
    border-radius: 25px;
    background: #f1f1f1;
}
#template-newsletter .popup-newsletter-img {
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, #8741ff, #606bf1);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    position: relative;
}
#template-newsletter .popup-newsletter-img img {
    position: absolute;
    top: 16px;
    left: -32px;
    width: 110%;
    max-width: 110%;
}
#template-newsletter .popup-newsletter-content {
    padding: 32px 80px;
    .newsletter-des {
        color: #3e3e3e;
        font-size: 14px;
        line-height: 22px;
        margin-top: 5%;
    }
}
#template-newsletter .popup_content .newsletter {
    width: 100%;
    max-width: 100%;
}
#template-newsletter .popup_content :before {
    content:"";
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
}
#template-newsletter .popup_content .title-popup {
    font-size: 40px;
    color: #727272;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Josefin Sans', sans-serif;
}
#template-newsletter .subscribe {
    margin-top: 24px;
}
#template-newsletter .subscribe .actions{
    display:block;
    width: 100%;
    max-width: 100%;
}
#template-newsletter .subscribe .newsletter{
    display:block;
    width: 100%;
    max-width: 100%;
}
#template-newsletter .subscribe .field .control :before {
    display:none;
}
#template-newsletter .subscribe .field .control #newsletter {
    border: 1px solid #ececec;
    border-radius: 30px;
    color: #222;
    width: 300px;
    padding: 18px 24px;
    margin: 0;
    font-size: 15px;
}
#template-newsletter .subscribe .field .control #newsletter ::placeholder {
    color: #5a737e;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
}
#template-newsletter .subscribe .field .control #newsletter :-ms-input-placeholder {
    color: #5a737e;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
}
#template-newsletter .subscribe .field .control #newsletter ::-ms-input-placeholder {
    color: #5a737e;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
}
#template-newsletter .actions .subscribe {
    background: linear-gradient(to right, #8741ff, #606bf1);
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    text-transform: uppercase;
    border: none;
    margin: 12px 0 0;
    text-align: center;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}
#template-newsletter .actions .subscribe:hover {
    opacity: 0.95;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 8px;
}
#template-newsletter .mfp-close {
    display:none;
}

#template-social-sharing {
    text-align: center;
    height: auto;
    padding: 40px 64px;
    box-sizing: border-box;
    border-radius: 24px;
}
#template-social-sharing .title-popup {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 32px;
    background: linear-gradient(to right, #1c257b, #622b97);
    color: transparent;
    -webkit-background-clip: text;
    margin: 20px 0;
}
#template-social-sharing .popup__social-share-img {
    width: 60%;
    margin: auto;
}
#template-social-sharing .mfp-close {
    display:none;
}
#template-social-sharing .des-popup {
    font-size: 20px;
    color: #888;
    line-height: 24px;
    font-weight: 500;
}
#template-social-sharing .social {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
}
#template-social-sharing .social li {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #e1e1e1;
    border-radius: 100%;
    position: relative;
    border: 2px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 2px 4px;
    margin: 0 12px;
}
#template-social-sharing .social li a {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}
#template-social-sharing .social li:hover {
    opacity: 0.75;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 8px;
}

/* Css for template-hot-deals */
#template-hot-deals {
    width: 724px;
    border-radius: 24px;
    overflow: hidden;
    padding: 40px 12px;
    position: relative;
}
#template-hot-deals .block-products-list .block-title {
    margin: 40px 0;
}
#template-hot-deals .block-products-list .block-title strong{
    font-size: 25px;
    line-height: 25px;
    font-weight: bold;
}
#template-hot-deals .block-products-list .product-item {
    padding: 0px 8px;
    border: 1px solid #ccc;
}
#template-hot-deals .hot-deal {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: #e82e3d;
    width: 35%;
    padding: 0 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 100;
}
#template-hot-deals .hot-deal .hot-deal__text {
    font-size: 52px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    line-height: 54px;
    margin-bottom: 24px;
}
#template-hot-deals .hot-deal .btn__hot-deal {
    background-color: #fff;
    color: #e82e3d;
    font-size: 20px;
    font-weight: bold;
}
#template-hot-deals .hot-deal .btn__hot-deal:link {
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 48px;
    display: inline-block;
    border-radius: 100px;
    transition: all .2s;
    position: relative;
}
#template-hot-deals .hot-deal .btn__hot-deal:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 48px;
    display: inline-block;
    border-radius: 100px;
    transition: all .2s;
    position: relative;
}
#template-hot-deals .hot-deal .btn__hot-deal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
#template-hot-deals .hot-deal .btn__hot-deal:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
#template-hot-deals .hot-deal .btn__hot-deal::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}
#template-hot-deals .hot-deal .btn__hot-deal::after {
    background-color: #fff;
}
#template-hot-deals .hot-deal .btn__hot-deal:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}
#template-hot-deals .hot-deal .btn-animated {
    animation: moveInBottom 5s ease-out;
    animation-fill-mode: backwards;
}
@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

#template-hot-deals .popup_content {
    display: block;
}
#template-hot-deals .block-products-list .block-title strong {
    font-size: 1.5rem;
    line-height: 1.5rem;
    font-weight: bold;
}

.action.primary, .action-primary {
    border-radius: 0.375rem; /* rounded-md */
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-weight: 600; /* font-semibold */
    font-size: 1.5rem; /* text-2xl */
    padding-top: 0.5rem; /* py-2 */
    padding-bottom: 0.5rem;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem;
    color: white;
    text-align: center;
    background-color: rgba(25, 121, 195, 1);
    border-color: rgba(25, 121, 195, 1);
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/*Responsive*/
@media (max-width: 1024px) {
    .popup_wrapper {
        max-width: 100%;
    }
}
@media (max-width: 820px) {
    #template-contact-form {
        width: 96%;
    }
    .popup-bss-hyva {
        width: 100%;
    }
    #template-hot-deals {
        width: 70%;
    }
}
@media (max-width: 576px) {
    .popup-bss-hyva {
        width: 90%;
    }
    .popup-bss-hyva-top-center {
        width: 90%;
        position: absolute;
        transform: translate(-50%, 0);
        left: 50%;
    }
    .popup-bss-hyva-top-right {
        width: 90%;
        float: right;
    }
    #template-contact-form {
        width: 100%;
        padding: 24px;
        background: #fff;
        height: auto;
        border-radius: 24px;
    }
    #template-contact-form .actions-toolbar .primary {
        float: right;
    }
    #template-contact-form .actions-toolbar .primary button{
        margin: 0;
    }
    #template-contact-form .popup_content .legend {
        text-align: center;
        padding: 5px;
    }
    #template-contact-form .popup_content .popup-contact {
        display: block;
        padding: 0;
    }
    #template-contact-form .popup_content .popup-contact .popup__contact-img {
        width: auto;
        justify-content: center;
        height: auto;
    }
    #template-contact-form .popup_content .popup-contact .popup__contact-img img{
        width: 100%;
        margin-bottom: 24px;
    }
    #template-contact-form .popup_content .popup-contact #contact-form {
        width: 100%;
    }
    #template-contact-form .popup_content .popup-contact #contact-form .actions-toolbar .primary .btn-contact {
        margin: 0;
    }
    #template-contact-form .popup-contact .actions-toolbar .primary{
        margin-top: -20%;
    }
    #template-contact-form .input-text {
        margin-bottom: 2px;
    }

    #template-age-verification button {
        width: 100%;
    }
    #template-age-verification #age_verification_redirect {
        max-width:100%;
    }
    #template-age-verification .popup__age-verify-img {
        width: 50%;
    }
    #template-age-verification .popup-title {
        margin: 0;
    }
    #template-age-verification .popup-description {
        width: auto;
        font-size: 18px;
        line-height: 24px;
        margin-top: 10px;
    }
    #template-age-verification .popup-footer {
        display: block;
    }
    #template-age-verification #age_verification_no {
        margin-top: 5%;
    }

    #template-newsletter {
        width: 90%;
    }
    #template-newsletter .popup_content {
        display: block;
    }
    #template-newsletter .popup_content .newsletter .popup-newsletter-img {
        height: 200px;
    }
    #template-newsletter .popup_content .newsletter .popup-newsletter-img img {
        top: 12px;
        left: -20px;
    }
    #template-newsletter .popup_content .newsletter .popup-newsletter-content {
        padding: 24px;
    }

    #template-hot-deals {
        width: 90%;
        min-height: 400px;
        padding: 0;
    }
    #template-hot-deals .hot-deal{
        width: 50%;
    }
    #template-hot-deals .block-products-list .product-item {
        width: 49%;
    }
    #template-hot-deals .block-products-list .block-title {
        margin: 30px 0;
    }
    #template-hot-deals .block-products-list .block-title strong {
        font-size:20px;
    }

    #template-social-sharing {
        width: 90%;
    }
}

@media (max-width: 375px) {
    #template-newsletter .subscribe .field .control #newsletter {
        width: 290px;
    }
    #template-social-sharing {
        width: 90%;
    }
}

@media (max-width: 320px) {
    #template-newsletter .subscribe .field .control #newsletter {
        width: 240px;
    }
    #template-newsletter .popup_content .title-popup {
        font-size: 30px;
    }
    #template-social-sharing {
        width: 90%;
    }
}
