

/* Start:/local/templates/time/components/bitrix/sale.basket.basket/main/style.css?17702998379876*/
#header,.staytouch, footer {
    display: none!important;
}
.cart-items {
    display: flex;
    flex-direction: column;
}
.wipe-slider {
    order: 2;
    padding-left: 12px;
}
.gift-swiper-wrapper {
    order: 3;
}
.table__row {
    order: 1;
}

.trade-in-information-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.trade-in-information-container p{
    font: 400 14px / 1.75 Montserrat, sans-serif;
}
.trade-in-text{
    color: #464646;
}
.trade-in-text-yellow{
    color: #ffad00;
}
.trade-in-text > a{
    color: #00e6ff;
}

.switch {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 25px;
    border-radius: 20px;
    background: #dfd9ea;
    transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    cursor: pointer;
}
.switch::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: #fafafa;
    border-radius: 50%;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.switch:active::before {
    box-shadow: 0 2px 8px rgba(0,0,0,0.28), 0 0 0 20px rgba(128,128,128,0.1);
}
input:checked + .switch {
    background: #ffad00;
}
input:checked + .switch::before {
    left: 27px;
    background: #fff;
}
input:checked + .switch:active::before {
    box-shadow: 0 2px 8px rgba(0,0,0,0.28), 0 0 0 20px rgba(0,150,136,0.2);
}
.gift-switch-button {
    margin-bottom: 44px;
    display: flex;
    gap: 10px;
}
.hidden {
    display: none;
}

.gift-content {
    overflow: hidden;
    height: 0;
    opacity: 0!important;
    transition: height 0.4s ease, opacity 0.3s ease;
}
.gift-content.open {
    max-height: 361px!important;
    opacity: 1!important;
}
.gift-switch-button-none {
    display: none;
}
.gift-swiper-wrapper {
    position: relative;
}
.cart__submit {
    width: 100%;
}
.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 20px;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}
.cart__bottom.cart__button {
    justify-content: center!important;
}
.gift-main-title h3 {
    font-size: 24px;
    font-weight: 100;
}
.table__row-wrap {
    align-items: center;
    max-height: 125px;
}
.price-block {
    padding: 57px;
}
.custom-arrow:hover {
    background-color:#ffad00;
}
.table__row:not(:first-child):hover {
    border: 1px solid #FFFFFF!important;
}

.cart__item-info-am,.cart__item-count-am, .cart__item-sum-am {
    font-size: 20px!important;
    line-height: 28px!important;
    font-weight: 700!important;
}
.gift-swiper-prev {
    left: 20px;
}
.field-quantity {
    min-height: 34px!important;
}
.gift-swiper-next {
    right: 20px;
}
.gift-swiper-nav {
    /*position: absolute;*/
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: end;
    padding: 0 10px;
    gap: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gift-swiper-nav.visible {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
}
.cart__item-image-gift {
    width: 150px;
    max-width: 88px;
    text-align: center;
}
.cart__item-image-gift img {
    max-height: 150px!important;
}
.table__row-wrap-gift {
    padding: 7px;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}
.gift-box-block {
    display: flex;
    flex-direction: column;
}
.cart__item-remove-am {
    padding: 15px 15px;
}
.gift-swiper-wrapper {
    margin-top: 20px;
}
.cart__item-sum-gift {
    font-size: 14px;
    margin: 0 auto;
    font-weight: 600;
}
.cart__item-count-gift {
    margin: 0 auto;
}
.addv-call-gift {
    margin: 0 auto;
}
.cart__title-gift {
    font-weight: 400;
    font-size: 14px;
}
.basket-gift-add {
    width: 126px;
    height: 45px;
    padding: 8px 10px 15px!important;
}
.gift-main-title {
    order: 2;
}
.gift-main-title h3 {

}
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Card Styling */
    max-width: 500px;
    margin: 40px auto;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);

    /* Animation */
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.cart-empty.hidden {
    display: none;
}

/* Icon Circle */
.cart-empty::before {
    content: '🛒'; /* Simple Emoji Fallback or use an icon font */
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #f0f4f8; /* Soft blue-gray bg */
    border-radius: 50%;
    margin-bottom: 25px;
    filter: grayscale(100%); /* Makes emoji generic grey */
    transition: transform 0.3s ease;
}

.cart-empty:hover::before {
    transform: scale(1.1) rotate(-10deg);
}

.cart-empty__message {
    font-size: 22px;
    font-weight: 600;
    color: #ffad00;
    margin-bottom: 10px;
}

.cart-empty__info {
    font-size: 15px;
    color:#9ca3ad;
    line-height: 1.5;
}
.title-stem {
    font-size: 20px!important;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
}
.basket-close-btn {
    position: fixed;
    top: 0;
    right: 16px;
    z-index: 1000;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
.coupon-error {
    height: unset!important;
}
/* Base style for the block */
.fixed-blocks {
    background: rgba(255, 255, 255, 0.95); /* Slight transparency */
    backdrop-filter: blur(10px); /* Modern "Glass" effect */
    width: 100%;
    box-sizing: border-box;
    z-index: 100;

    /* Smooth transitions for visual properties */
    transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Hardware acceleration for smooth rendering */
    transform: translateZ(0);
    will-change: transform, position, box-shadow;
}

/*
   STATE: STICKY
   When the block is floating at the bottom of the screen
*/
.fixed-blocks.is-sticky-active {
    position: fixed;
    bottom: 0;
    left: 0; /* JS will override this to keep it aligned with container */

    /* Beautiful shadow lifting it up */
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.08);

    /* Optional: A subtle border on top */
    border-top: 1px solid rgba(0,0,0,0.05);

    /* Animation: Slight slide up when it becomes sticky */
    animation: slideUpFade 0.4s ease-out forwards;
}

/*
   STATE: DOCKED
   When it hits the bottom and sits in its natural place
*/
.fixed-blocks.is-docked {
    position: relative; /* Back to normal flow */
    box-shadow: none;   /* Shadow disappears smoothly */
    background: #fff;   /* Solid background when docked */
}
.cart__item-sum-discount {
    font-size: 12px!important;
}
/* Animation Keyframes */
@keyframes slideUpFade {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}
@media all and (max-width:767px) {
    .price-block {
        display: flex!important;
    }
}
@media (min-width: 1280px) and (max-width: 1919px) {
    .cart__title-gift {
        font-size: 13px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .gift-swiper-prev {
        left: 0;
    }
    .gift-swiper-next {
        right: 0;
    }
    .cart__item-image {
        width: 30%!important;
    }
}
@media (min-width: 320px) and (max-width: 767px) {
    .cart__item-image img {
        max-width: 160px!important;
    }
    .fixed-blocks.is-sticky-active {
        padding-left: 10px;
        padding-right: 10px;
    }
    .fixed-blocks.is-sticky-active {
        position: fixed !important;
        /* Force the block to sit ABOVE the browser UI */
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;

        /* This is the magic for Firefox and Safari */
        padding-bottom: env(safe-area-inset-bottom, 0px);

        /* Ensure it's on the highest possible layer */
        z-index: 2147483647;

        /* Prevent the block from being 'cut off' */
        margin-bottom: 0;
    }

    /* Optional: Make text or buttons slightly larger for "thumb" tapping */
    .fixed-blocks.is-sticky-active button,
    .fixed-blocks.is-sticky-active a {
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Hide the animation if it causes lag on older mobile devices */
    .fixed-blocks.is-sticky-active {
        animation: mobileSlideUp 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    }
    .cart__item-image-gift {
        max-width: unset!important;
    }
    .table__row-wrap {
        padding: unset!important;
    }
    .basket-gift-add {
        width: 126px!important;
    }
    .gift-swiper-nav {
        top: 46%;
    }
    .cart__item-sum-gift {
        margin: 0 auto;
        align-items: center;
        font-size: 15px;
    }
    .cart__item-count-gift {
        margin: 0 auto;
    }
    .addv-call-gift {
        margin: 0 auto;
    }
    .cart__item-remove-am {
        background: unset;
    }
    .custom-arrow {
        /*background: unset;*/
        padding: 2px 8px;
    }
    .gift-swiper-prev {
        left: 0;
    }
    .gift-swiper-next {
        right: 0;
    }
    .wipe-slider {
        padding-left: unset!important;
    }
    .cart__discount {
        font-size: 12px!important;
    }
    .cart__summary dt {
        font-size: 12px!important;
    }
    .cart__summary-total dd {
        font-size: 16px!important;
    }
}
.table__row-wrap-gift .field-quantity .disabled {
    color: #d1d1d1!important;
}
/* End */
/* /local/templates/time/components/bitrix/sale.basket.basket/main/style.css?17702998379876 */
