/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2025 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.gift-banner {
    background: #FEBADF;
    border: 1px solid #FEBADF;
    border-radius: 10px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInSlide 0.8s ease-out forwards;
    margin-bottom: 30px;
    position: relative;
    left: 50%;
    gap: 30px;
}

.gift-icon {
    position: relative;
    width: 115px;
    height: 20px;
}
.gift-icon img {
    position: absolute;
    object-fit: contain;
    max-width: 100%;
    height: 104px;
    top: -41px;
}

.gift-text {
    color: #390E47;
    font-size: 21px;
    font-weight: 600;
    line-height: normal;
}

.default-text {
    font-weight: 400;
}

.gift-button {
    padding: 10px 32px;
    border-radius: 10px;
    border: 1.5px solid #fff;
    background: white;
    color: #390E47;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-button:hover {
    border-color: #B79AFF;
    color: #B79AFF;
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

.container_for_gift_select{
    background-color: #fff;
    border: 1.5px solid #CBB6FF;
    border-radius: 8px;
    height: 70px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    color: white;
    font-size: 18px;
    margin-bottom: 30px;
}
.container_for_gift_select a{
    background: #edc3cc;
    border-radius: 8px;
    margin-left: 15px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    transition: .3s;
}


#solid_gift_form_container .modal-dialog{
    max-width: 1097px;
}
.solid_gift_form_container .product_gift_img_container{
    width: 100%;
    height: 100%;
    max-width: 300px;
    max-height: 300px;
}

.solid_gift_form_container .product_gift_img_container img{
    object-fit: none;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.solid_gift_form_container .modal_container{
    padding: 30px;
    padding-top: 40px;
}
#solid_gifts_form .container_for_product_gift_select{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    height: 100%;
}

#solid_gifts_form .container_for_product_gift_select a{
    color: #390E47;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    max-width: 300px;
}
.solid_gift_form_container button.close{
    font-size: 21px;
    opacity: 1;
    margin-right: 14px;
    margin-top: 12px;
    position: absolute;
    right: 0;
    border-radius: 4px;
    outline: none;
    transition: all .3s;
}
.solid_gift_form_container button.close span{
    display: flex;
    align-items: center;
}
.solid_gift_form_container button.close:hover{
    background-color: #CBB6FF;
}
.solid_gift_form_container .submit_gifts_form{
    background-color: #CBB6FF;
    color: #390E47;
    appearance: none;
    -moz-appearance: none;
    -ms-progress-appearance: none;
    -webkit-appearance: none;
    outline: none;
    border: none;
    min-width: 113px;
    height: 42px;
    border-radius: 10px;
    font-size: 16px;
    position: relative;
    margin: 0 auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background-color 0.3s;
}
.solid_gift_form_container button:hover{
    background-color: #B79AFF;
}
.solid_gift_form_container.modal .modal-content{
    border-radius: 10px;
    background-color: #FFF2F8;
}
.solid_gift_form_container #solid_gifts_form{
    margin-bottom: 58px;
}
.solid_gift_form_container #solid_gifts_form ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.solid_gift_form_container #solid_gifts_form ul li{
    flex-basis: 300px;
}
.container_for_product_gift_select .col-md-5.col-xs-6.col-sp-12.qty{
    padding: 0;
    width: auto;
    margin-top: auto;
}
.container_for_product_gift_select .qty-input.form-control{
    display: block;
    text-align: center;
    font-size: 16px;
    width: 108px;
    background-color: #fff !important;
    position: relative;
    z-index: 1;
    border-radius: 10px!important;
    border: 1.5px solid #CBB6FF;
}
.container_for_product_gift_select .input-group-btn-vertical{
    position: initial !important;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.container_for_product_gift_select .btn.btn-touchspin.js-touchspin.js-increase-product-quantity.bootstrap-touchspin-up{
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: #390E47;
    width: auto;
    z-index: 1;
    line-height: 1;
    font-size: 25px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 16px;
    box-shadow: none;
}
.container_for_product_gift_select button.btn.btn-touchspin.js-touchspin.js-increase-product-quantity.bootstrap-touchspin-up::before{
    content: "";
    font-size: 25px;
    color: #390E47;
    display: block;
    text-align: center;
    line-height: 20px;
}
.container_for_product_gift_select .btn.btn-touchspin.js-touchspin.js-decrease-product-quantity.bootstrap-touchspin-down{
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: #390E47;
    width: auto;
    z-index: 1;
    line-height: 1;
    font-size: 25px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 16px;
    box-shadow: none;
}
.container_for_gift_select a:hover{
    background-color: #efadbb;
}
.container_for_product_gift_select .material-icons.touchspin-up{
    display: none;
}
.container_for_product_gift_select .material-icons.touchspin-down{
    display: none;
}
.container_for_product_gift_select button.btn.btn-touchspin.js-touchspin.js-decrease-product-quantity.bootstrap-touchspin-down::before{
    content: "";
    font-size: 25px;
    color: #390E47;
    display: block;
    text-align: center;
    line-height: 20px;
}
.solid_gift_headr_text{
    color: #390E47;
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
    text-align: center;
    margin-bottom: 2px;
}

.solid_gift_headr_text + span{
    display: block;
    color: #390E47;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 30px;
}

.submit_gifts_form .ajax_preloader{
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    max-width: 20px;
    max-height: 20px;
    width: 100%;
    height: 100%;
    display: none;
}
.submit_gifts_form.loading{
    pointer-events: none;
}
.submit_gifts_form.loading .ajax_preloader {
    display: inline-block;
}

.notification_new {
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: #fde2e2;
    color: #b30000;
    padding: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 16px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    z-index: 10000;
    max-width: 100%;
    min-width: 280px;
    animation: fadeIn 0.4s ease forwards;
    position: relative;
    visibility: visible;
    margin-bottom: 30px;
    display: none;
}

.notification_new.active{
    display: block;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.notification-icon {
    font-size: 28px;
    line-height: normal;
}

.notification-text {
    flex-grow: 1;
    text-align: left;
}

/* Close ikona viršuje dešinėje */
#module-steasycheckout-default .notification-close {
    position: absolute;
    right: 10px;
    background: white;
    border: 1px solid #b30000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #b30000;
    transition: all 0.3s ease;
    top: 50% !important;
    transform: translateY(-50%);
}

#module-steasycheckout-default .notification-close:hover {
    background: #b30000!important;
    color: white;
}

/* Paslėpta būsena */
.notification.hidden {
    display: none;
}

/* Animacija */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Telefonams */
@media (max-width: 600px) {
    .notification {
        font-size: 14px;
        padding: 20px;
    }

    .notification-icon {
        font-size: 24px;
    }

    #module-steasycheckout-default .notification-close {
        width: 28px;
        height: 28px;
        font-size: 14px;
        top: 8px;
        right: 8px;
    }
}

@media (min-width: 576px){
    #solid_gift_form_container.modal:not(.quickview) .modal-dialog{
        margin: 50px auto 30px;
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px){
    .container_for_gift_select{
        width: calc(100% - 30px);
        margin-left: 15px;
    }

    .gift-banner {
        flex-wrap: wrap;
    }

    .gift-icon {
        width: 100%;
    }

    .gift-icon img {
        left: calc(50% - 57px);
        top: -57px;
    }
}

@media (max-width: 905px){
    .solid_gift_form_container #solid_gifts_form ul li{
        flex-basis: 47%;
    }
}

@media (max-width: 905px){
    .container_for_gift_select{
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px){
    .gift-banner{
        width: calc(100% - 40px);
        flex-direction: column;
        text-align: center;
    }

    .solid_gift_form_container #solid_gifts_form{
        display: grid;
    }

    .solid_gift_form_container #solid_gifts_form ul{
        display: grid;
        grid-column: 2;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 650px){
    .solid_gift_form_container #solid_gifts_form ul{
        justify-content: center;
    }
    .container_for_gift_select{
        flex-direction: column;
        height: unset;
        gap: 15px;
        padding-top: 20px;
        padding-bottom: 20px;
        text-align: center;
    }
    .container_for_gift_select a{
        width: 100%;
        margin-left: 0;
        height: 50px;
    }
}
@media (max-height: 860px){
    .container_for_submit_gifts_form{
        position: sticky;
        bottom: 0;
        z-index: 9999;
        top: 0;
        background: white;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        transition: 0.3s;
        margin-left: -30px;
        width: calc(100% + 60px);
        padding: 15px;
    }
    .solid_gift_form_container .modal_container{
        padding-bottom: 0;
    }
}

@media (max-width: 580px){
    .solid_gift_form_container #solid_gifts_form ul{
        justify-content: center;
    }

    .container_for_submit_gifts_form{
        position: sticky;
        bottom: 0;
        z-index: 9999;
        top: 0;
        background: white;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        transition: 0.3s;
        margin-left: -15px;
        width: calc(100% + 30px);
        padding: 15px;
        border-radius: 0 0 10px 10px;
    }
    .solid_gift_form_container .modal_container{
        padding-bottom: 0;
    }

}
@media (max-width: 580px){
    .solid_gift_form_container #solid_gifts_form ul{
        gap: 15px;
    }
    .solid_gift_form_container .modal_container{
        padding-left: 15px;
        padding-right: 15px;
    }
    #solid_gifts_form .container_for_product_gift_select a{
        font-size: 14px;
    }
    .solid_gift_form_container .product_gift_img_container{
        max-width: 100px;
    }
}
@media (max-width: 500px){
    .solid_gift_headr_text{
        font-size: 28px!important;
    }

    .gift-icon {
        height: 50px;
    }

    .gift-icon img {
        top: -35px
    }
}
/*#solid_gifts_form li:last-child .container_for_product_gift_select{
    border-bottom: none;
}*/