 /* Общие стили */
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "Montserrat", sans-serif;
     transition-property: background-color, color, border-color, opacity, transform, visibility;
     transition-duration: 0.2s;
     transition-timing-function: ease;
 }

 html,
 body {
     overflow-x: hidden;
     position: relative;
     height: 100%;
 }

 body {
     background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
     color: #333;
     font-size: 16px;
 }

 /* Стили для body на главной странице - как запасной вариант на случай, если JS не сработает */
 body.home-page {
     overflow: hidden;
 }

 /* Стили для body на других страницах - как запасной вариант */
 body.content-page {
     overflow: auto;
 }

 /* Для страниц с прокруткой добавляем плавную прокрутку */
 body[style*="overflow: auto"] {
     scroll-behavior: smooth;
 }



 /* Главное меню */
 .main-menu {
     display: flex;
     flex-wrap: wrap;
     gap: 15px;
     justify-content: center;
 }

 .main-menu button {
     background: rgba(255, 255, 255, 0.3);
     backdrop-filter: blur(10px);
     color: #333;
     border: none;
     border-radius: 12px;
     font-size: 20px;
     font-weight: bold;
     cursor: pointer;
     width: 160px;
     height: 80px;
     transition: all 0.3s ease-in-out;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
 }

 .main-menu button:hover {
     background: rgba(255, 255, 255, 0.5);
     transform: scale(1.05);
 }

 /* Страница товаров */
 .product {
     background: white;
     border-radius: 10px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
     padding: 10px;
     transition: transform 0.3s ease-in-out;
     width: 48%;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
         box-shadow 0.3s;
 }

 .product:hover {
     transform: scale(1.05);
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .product img {
     max-width: 100%;
     height: 150px;
     object-fit: cover;
     border-radius: 8px;
 }

 .product h3 {
     font-size: 14px;
     margin: 10px 0;
 }

 .product:hover {
     transform: scale(1.05);
 }

 .product img {
     max-width: 100%;
     height: 150px;
     object-fit: cover;
     border-radius: 8px;
 }

 .product p {
     font-size: 14px;
 }

 .add-to-cart {
     background: linear-gradient(120deg, #1ABC9C, #16A085);
     color: white;
     border: none;
     border-radius: 8px;
     cursor: pointer;
     font-size: 14px;
     transition: 0.3s;
     width: 100%;
     height: 35px;
     display: flex;
     justify-content: center;
     align-items: center;
     transition: transform 0.3s, background 0.3s;
 }

 .btn-text {
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 10px;
 }

 .btn-text h3 {
     display: none;
 }

 .add-to-cart:hover {
     background: linear-gradient(120deg, #16A085, #1ABC9C);
     transform: translateY(-2px);
 }

 /* Кнопка корзины */
 /* .cart-button {
     background: #FFD700;
     color: #333;
     border: none;
     padding: 10px;
     border-radius: 10px;
     font-size: 18px;
     cursor: pointer;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
     display: flex;
     align-items: center;
     gap: 10px;
     transition: transform 0.3s ease;
     height: 50px;
     position: relative;
 } */

 .bottom-menu {
     display: flex;
     height: 60px;
     width: 100%;
     position: fixed;
     bottom: 0;
     align-items: center;
     background-color: #4fd662;
     justify-content: space-around;

 }

 .cart-button span {
     font-size: 15px;
     position: absolute;
     top: 0;
     right: -5px;
     background: #19b294;
     color: #fff;
     z-index: 10;
     text-align: center;
     width: 20px;
     height: 20px;
     border-radius: 50%;
 }

 .cart-button .menu__icon {
     position: relative;
 }



 .cart-count {
     position: absolute;
     top: 10px;
     right: 10px;
     background-color: #FFD700;
     color: #333;
     border-radius: 50%;
     width: 20px;
     height: 20px;
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 12px;
     font-weight: bold;
 }

 /* Корзина */
 .cart-overlay {
     justify-content: center;
     align-items: center;
     display: flex;
 }



 .removeCart {
     background: none;
     border: none;
     font-size: 25px;
 }

 .cart-container {
     background: white;
     border-radius: 12px;
     width: 90%;
     padding: 20px;
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
 }




 .cart-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 10px 0;
     border-bottom: 1px solid #ddd;
 }

 .cart-item input {
     text-align: center;
     width: 50px;
     border: 0;
     font-size: 18px;
     font-weight: bold;
 }

 .cart-item span {
     font-size: 14px;
 }

 .cart-total {
     font-size: 16px;
     font-weight: bold;
     text-align: right;
     margin: 20px 0;
 }

 .main-menu-button {
     position: fixed;
     width: 120px;
     height: 50px;
     font-size: 20px;
     bottom: 20px;
     left: 15px;
     background-color: #1ABC9C;
     color: white;
     border: none;
     padding: 15px 5px;
     border-radius: 10px;
     cursor: pointer;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 1000;
     transition: transform 0.3s ease, box-shadow 0.3s ease;

 }

 .main-menu-button:hover {
     transform: scale(1.1);
     box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
 }


 .top-menu {
     display: flex;
     justify-content: center;
     align-items: center;
     margin: 50px 0;
 }

 .top-menu img {
     width: 200px;
     position: absolute;
     top: -50px;
     animation: float 6s ease-in-out infinite;
 }

 @keyframes float {
     0% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-10px);
     }

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


 .promotions-page {
     padding: 10px;

 }

 .promotion {
     background-color: white;
     border-radius: 15px;
     padding: 5px;
     margin: 10px 0;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .promotion:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
 }

 .promotion h3 {
     margin: 10px 0;
     font-size: 14px;
     padding-left: 15px;
     font-weight: 400;
 }

 .promotion img {
     max-width: -webkit-fill-available;
     border-radius: 15px;
 }

 .promotion p {
     color: #666;
 }

 .catalog-page {
     padding: 10px;
 }

 .catalog-page img {
     width: 100%;
     height: auto;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 }

 .catalog-page img:first-child {
     border-radius: 10px 10px 0 0;
 }

 .catalog-page img:last-child {
     border-radius: 0px 0px 10px 10px;
 }

 .products-page {
     display: flex;
     flex-direction: column;
 }

 .products-page #products {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
     padding: 10px;
     justify-content: space-around;
 }

 /* Стили для страницы "Мои баллы" */
 #my-points-page {
     padding: 20px;
     margin: 0;
 }


 .points-header {
     background-color: #f0f0f0;
     border-radius: 10px;
     padding: 20px;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 }

 .points-header h2 svg {
     width: 30px;
     margin-right: 10px;
 }

 #user-points {
     font-size: 24px;
     font-weight: bold;
     color: #1ABC9C;
 }



 .vouchers-list {
     display: flex;
     align-items: flex-end;
     flex-direction: column;
     gap: 15px;
     background: white;
     border-radius: 10px;
     padding: 15px;
 }

 .voucher-card {
     display: flex;
     flex-direction: column;
     gap: 12px;
 }

 .voucher-image {
     width: 100%;
     height: 150px;
     object-fit: cover;
     border-radius: 8px;
 }

 .redeem-button {
     background: #1ABC9C;
     color: white;
     border: none;
     padding: 12px 20px;
     border-radius: 5px;
     cursor: pointer;
     margin-top: 10px;
     width: 150px;
 }


 /* Анимация появления корзины */
 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: scale(0.9);
     }

     to {
         opacity: 1;
         transform: scale(1);
     }
 }

 .custom-alert {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 10000;
     animation: fadeIn 0.3s ease-out;
 }

 .alert-content {
     background: white;
     padding: 20px;
     min-width: 220px;
     height: 180px;
     border-radius: 15px;
     text-align: center;
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     align-items: center;
     animation: slideIn 0.3s ease-out;
 }

 .alert-content .close-alert-btn {
     border: none;
     background: #1ABC9C;
     color: white;
     border-radius: 10px;
     width: 100%;
     height: 35px;
     font-size: 14px;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
     font-weight: bold;
     align-items: center;
     justify-content: center;
     position: relative;
     overflow: hidden;
 }

 .alert-text {
    display: flex;
    align-items: center;
 }

 .alert-text svg {
    margin-right: 5px;
 }

 .close-alert-btn:hover {
     background-color: #16A085;
     transform: translateY(-2px);
 }



 .container {
     width: 100%;
     display: flex;
     position: relative;
 }

 html {
     box-sizing: border-box;
     --duration: 0.45s;
     --cubic: cubic-bezier(0.4, 0, 0.2, 1);
     --color-1: #d5dadd;
     --color-2: #51d5c2;
 }

 /* style.css */
 /* Удаляем старые стили меню */
 .menu {
     display: none !important;
 }

 /* Новые стили для главной страницы */
 .main-buttons-page {
     padding: 20px;
 }

 .grid-buttons {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 15px;
     margin-top: 30px;
 }

 .main-btn {
     aspect-ratio: 1;
     background-color: rgb(0 0 0 / 70%);
     border: none;
     border-radius: 15px;
     font-size: 20px;
     font-weight: 600;
     color: #fff;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     cursor: pointer;
     background-blend-mode: color;
     transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
         background-color 0.3s,
         box-shadow 0.3s;

 }

 .main-btn#btn_points {
     background-image: url(/images/points-btn-4.jpg);
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;

 }

 .main-btn#btn_promotions {
     background-image: url(/images/promotions-btn-3.jpg);
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;

 }

 .main-btn#btn_catalog {
     background-image: url(/images/catalog-btn-2.jpg);
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;

 }

 .main-btn#btn_products {
     background-image: url(/images/product-btn.jpeg);
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;

 }





 .main-btn:hover {
     transform: scale(1.03);
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
 }

 .main-btn span {
     display: block;
     margin-top: 10px;
 }

 .main-btn.active {
     background: #16A085;
     transform: scale(0.98);
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
 }

 /* Стили для фиксированной кнопки корзины */
 .fixed-cart-btn {
     position: fixed;
     /* Фиксированное позиционирование */
     bottom: 20px;
     /* Отступ снизу экрана */
     right: 20px;
     /* Отступ справа */
     background: #1ABC9C;
     color: white;
     height: 45px;
     width: 130px;
     padding: 5px;
     border-radius: 10px;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
     font-weight: bold;
     z-index: 1000;
     /* Высокий z-index, чтобы кнопка была поверх других элементов */
     display: none;
     /* По умолчанию скрыта */
     align-items: center;
     justify-content: center;
     transition: transform 0.2s;
 }

 .fixed-cart-btn:hover {
     transform: scale(1.05);
 }

 /* Стиль для счетчика товаров в корзине */
 .fixed-cart-btn #cart-count {
     background: white;
     color: #1ABC9C;
     border-radius: 20px;
     height: 22px;
     padding: 5px;
     align-items: center;
     justify-content: center;
     font-size: 14px;
     position: absolute;
     top: -10px;
     right: -6px;
     z-index: 1000;
     box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.3);
 }


 .fixed-cart-btn svg {
     width: 20px;
     fill: #fff;
     margin-right: 8px;
 }

 /* Показывать кнопку корзины только на странице товаров */
 .active #home-anm {
     animation: home var(--duration-icon);
 }

 @keyframes home {
     25% {
         transform: translate3d(0, -0.8em, 0);
     }

     50% {
         transform: translate3d(0, 0.5em, 0);
     }
 }

 #strategy-anm {
     transform: scaleX(0.85);
     transform-origin: center;
 }

 .active #strategy-anm {
     animation: strategy var(--duration-icon);
 }

 @keyframes strategy {
     50% {
         transform: scaleX(1);
     }

     100% {
         transform: scaleX(0.85);
     }
 }

 .active #strategy-cir1 {
     animation: strategy-cir1 var(--duration-icon);
 }

 .active #strategy-cir2 {
     animation: strategy-cir2 var(--duration-icon) 0.1s;
 }

 .active #strategy-cir3 {
     animation: strategy-cir3 var(--duration-icon) 0.2s;
 }

 @keyframes strategy-cir1 {
     50% {
         transform: translate3d(-0.7em, -0.7em, 0);
     }

     100% {
         transform: translate3d(0, 0, 0);
     }
 }

 @keyframes strategy-cir2 {
     35% {
         transform: translate3d(0, -0.7em, 0);
     }

     100% {
         transform: translate3d(0, 0, 0);
     }
 }

 @keyframes strategy-cir3 {
     35% {
         transform: translate3d(0.7em, -0.7em, 0);
     }

     100% {
         transform: translate3d(0, 0, 0);
     }
 }

 .active #period-anm {
     transform-origin: center 100%;
     animation: period var(--duration-icon);
 }

 .active #period-cir {
     transform-origin: center;
     animation: period-cir var(--duration-icon);
 }

 .active #period-line {
     stroke-dasharray: 66;
     animation: period-line calc(var(--duration-icon) / 2.5) reverse;
 }

 @keyframes period {
     35% {
         transform: scaleY(0.85);
     }

     60%,
     70% {
         transform: scaleY(1.2);
     }

     100% {
         transform: scaleY(1);
     }
 }

 @keyframes period-cir {
     0% {
         opacity: 0;
     }

     35% {
         opacity: 1;
         transform: translate3d(15%, -55%, 0);
     }

     60% {
         opacity: 0;
         transform: translate3d(-8%, -50%, 0);
     }
 }

 @keyframes period-line {
     100% {
         stroke-dashoffset: 66;
     }
 }

 .active #security-cir {
     transform-box: fill-box;
     transform-origin: center;
     animation: security-cir calc(var(--duration-icon) / 1.5);
 }

 @keyframes security-cir {
     0% {
         transform: scale(0);
     }

     100% {
         transform: scale(1);
     }
 }

 .active #security-strok {
     stroke-dasharray: 96;
     animation: security-strok calc(var(--duration-icon) / 1.2);
 }

 @keyframes security-strok {
     0% {
         stroke-dashoffset: 60;
     }

     100% {
         stroke-dashoffset: 230;
     }
 }

 .active #settings-anm {
     transform-box: fill-box;
     transform-origin: center;
     animation: settings-anm calc(var(--duration-icon) / 1.5);
 }

 @keyframes settings-anm {
     0% {
         transform: rotate(-60deg);
     }

     50% {
         transform: rotate(60deg);
     }
 }


 .page {
     position: relative;
     width: 100%;
     margin-bottom: 70px;
     display: none;
     flex-direction: column;
     opacity: 0;
     transform: translateY(30px);
     transition: transform 0.4s ease-out, opacity 0.4s ease-out;
 }

 /* Обновленные стили для .page */
 .page {
     min-height: calc(100vh - 120px);
     /* Высота экрана минус верхний и нижний отступы */
 }


 .page h2 {
     color: #000;
     display: flex;
     align-items: center;
 }

 .page-title {
     display: flex;
     margin: 20px;
 }

 .page-title svg {
     width: 25px;
     margin-right: 10px;
 }

 .active-page {
     opacity: 1;
     transform: translateY(0);
     z-index: 999;
     display: flex;
 }


 /* Анимации для страниц при переходе */
 .page-enter {
     animation: pageEnter 0.4s forwards;
 }

 .page-exit {
     animation: pageExit 0.3s forwards;
 }

 @keyframes pageEnter {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes pageExit {
     from {
         opacity: 1;
         transform: translateY(0);
     }

     to {
         opacity: 0;
         transform: translateY(-30px);
     }
 }

 .cart-header {
     display: flex;
     margin-bottom: 15px;
 }

 .cart-header h2 {
     font-size: 22px;
     font-weight: bold;
     color: #333;
     margin: 0;

 }

 .cart-header svg {
     width: 30px;
     margin-right: 10px;
 }

 .points-header h2 {
     margin: 0;
 }

 .vouchers-container h2 {
     margin: 15px 0;
 }

 #Stock_cut {
     fill: transparent;
 }

 .catalog-button svg path {
     stroke: currentColor;
     fill: currentColor;
 }

 .cart-button svg {
     fill: transparent;
 }

 .points-btn svg {
     fill: currentColor;
 }


 /* style.css */
 /* Кнопка назад */
 .back-button {
     position: fixed;
     top: 15px;
     left: 15px;
     z-index: 1000;
     background: #1ABC9C;
     color: white;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 24px;
     cursor: pointer;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
     transition: transform 0.2s;
 }

 .back-button:hover {
     transform: scale(1.1);
 }

 /* Popup корзины */
 .cart-popup-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     display: none;
     justify-content: center;
     align-items: center;
     z-index: 2000;
     transition: opacity 0.3s ease;
     opacity: 0;
     visibility: hidden;
 }

 .cart-popup-overlay.active {
     display: flex;
     opacity: 1;
     visibility: visible;

 }

 .cart-popup {
     background: white;
     width: 90%;
     max-width: 500px;
     border-radius: 15px;
     padding: 20px;
     animation: slideIn 0.3s ease-out;
     position: relative;
     transform: translateY(50px);
     opacity: 0;
     transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
         opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
 }

 .cart-popup-overlay.active .cart-popup {
     transform: translateY(0);
     opacity: 1;
 }


 @keyframes slideIn {
     from {
         transform: translateY(50px);
         opacity: 0;
     }

     to {
         transform: translateY(0);
         opacity: 1;
     }
 }

 .close-cart {
     position: absolute;
     top: 10px;
     right: 20px;
     background: none;
     border: none;
     font-size: 40px;
     cursor: pointer;
     color: #666;
     transition: transform 0.2s;
 }

 .close-cart:hover {
     transform: rotate(90deg);
 }

 .cart-actions {
     display: flex;
     gap: 10px;
     margin-top: 20px;
 }

 .clear-cart-button {
     background: #e74c3c;
     color: white;
     flex: 1;
     height: 40px;
     border-radius: 10px;
     border: none;
 }

 .clear-cart-button:hover {
     background-color: #c0392b;
     box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
 }

 .checkout-button:hover,
 .redeem-button:hover {
     background-color: #27ae60;
     box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
 }

 .checkout-button {
     background: #2ecc71;
     color: white;
     flex: 2;
     height: 40px;
     border-radius: 10px;
     border: none;
 }

 /* Показать кнопку назад на всех страницах кроме главной */
 #main-buttons-page~.back-button {
     display: none;
 }


 /* Анимация удаления товара из корзины */
 @keyframes fadeOut {
     from {
         opacity: 1;
         transform: translateX(0);
     }

     to {
         opacity: 0;
         transform: translateX(-50px);
     }
 }


 /* Стили для фиксированной кнопки "Назад" */
 .fixed-back-btn {
     position: fixed;
     bottom: 20px;
     left: 20px;
     background: #1ABC9C;
     color: white;
     width: 130px;
     height: 45px;
     font-size: 16px;
     border-radius: 10px;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
     font-weight: bold;
     z-index: 1000;
     display: none;
     /* По умолчанию скрыта */
     align-items: center;
     justify-content: center;
     transition: transform 0.3s, background-color 0.3s;
 }

 .fixed-back-btn:hover {
     transform: scale(1.05);
     transform: translateX(-5px);
 }

 .fixed-back-btn span {
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .fixed-back-btn svg {
     width: 20px;
     height: 20px;
     fill: #fff;
     margin-right: 5px;
 }

 .empty-cart {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     min-height: 150px;
     padding: 20px;
     text-align: center;
     animation: fadeIn 0.5s;
 }

 .empty-cart p {
     color: #777;
     margin: 10px 0;
 }

 .empty-cart img {
     width: 80px;
     height: 80px;
     opacity: 0.5;
     margin: 15px 0;
     animation: pulse 2s infinite;
 }


 @keyframes pulse {
     0% {
         transform: scale(1);
     }

     50% {
         transform: scale(1.1);
     }

     100% {
         transform: scale(1);
     }
 }


 /* Стили для карточек товаров в корзине */
 .cart-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 10px 0;
     border-bottom: 1px solid #ddd;
     animation: slideIn 0.3s ease-out forwards;
     transform-origin: top;
 }

 @keyframes slideIn {
     from {
         opacity: 0;
         transform: translateX(-20px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 .cart-item-info {
     display: flex;
     align-items: center;
     gap: 10px;
     max-width: 70%;
 }

 /* Миниатюра изображения товара */
 .cart-item-image {
     width: 40px;
     height: 40px;
     object-fit: cover;
     border-radius: 5px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 /* Заглушка, если нет изображения */
 .cart-item-no-image {
     width: 40px;
     height: 40px;
     background-color: #f0f0f0;
     border-radius: 5px;
 }

 /* Название товара */
 .cart-item-info span {
     font-size: 13px;
     font-weight: 500;
     color: #333;
     /* Ограничение текста: используем оба способа */
     overflow: hidden;
     text-overflow: ellipsis;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     line-clamp: 2;
     /* Стандартное свойство для совместимости */
     -webkit-box-orient: vertical;
     /* Альтернативный способ обрезки текста без line-clamp */
     max-height: 2.8em;
     /* Примерно 2 строки текста */
     line-height: 1.4;
 }

 /* Элементы управления товаром (цена, количество) */
 .cart-item-controls {
     display: flex;
     align-items: center;
     gap: 5px;
 }

 /* Цена товара */
 .item-price {
     color: #1ABC9C;
     font-weight: bold;
     font-size: 14px;
 }

 /* Поле ввода количества */
 .cart-item-controls input {
     width: 45px;
     height: 30px;
     border: 1px solid #ddd;
     border-radius: 5px;
     text-align: center;
     font-size: 14px;
     font-weight: bold;
     transition: border-color 0.2s, box-shadow 0.2s;
 }

 .cart-item-controls input:focus {
     border-color: #1ABC9C;
     box-shadow: 0 0 0 2px rgba(26, 188, 156, 0.3);
     outline: none;
 }

 .cart-popup .cart-items {
     overflow: scroll;
     max-height: 400px;
     display: flex;
     flex-direction: column;
     gap: 5px;
 }

 .variation-select {
     width: 100%;
     padding: 5px;
     border-radius: 5px;
     border: 1px solid #ddd;
     margin: 5px 0;
     font-size: 12px;
 }

 .variation-info {
     margin: 5px 0;
     font-size: 14px;
     color: #1ABC9C;
     font-weight: bold;
 }

 .product-info {
     display: flex;
     flex-direction: column;
     padding: 5px;
 }

 .cart-item-info small {
     font-size: 12px;
     color: #888;
     display: block;
     margin-top: 2px;
 }

 /* Стили для кнопки удаления товара */
 .remove-item-btn {
     background: #e74c3c;
     color: white;
     border: none;
     width: 30px;
     height: 30px;
     border-radius: 5px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: background-color 0.2s;
     margin-left: 5px;
     transition: transform 0.2s, background-color 0.2s;
 }

 .remove-item-btn:hover {
     transform: rotate(90deg);
     background-color: #c0392b;
 }

 .remove-item-btn svg {
     fill: white;
 }

 /* Обновим стили для элементов управления в корзине */
 .cart-item-controls {
     display: flex;
     align-items: center;
 }

 /* Уменьшим ширину input, чтобы кнопка удаления поместилась */
 .cart-item-controls input {
     width: 40px;
     height: 30px;
     border: 1px solid #ddd;
     border-radius: 5px;
     text-align: center;
     font-size: 14px;
 }


 /* Анимации для кнопок */

 /* Общий эффект нажатия для всех кнопок */
 .main-btn,
 .fixed-cart-btn,
 .fixed-back-btn,
 .add-to-cart,
 .checkout-button,
 .clear-cart-button,
 .close-alert-btn,
 .remove-item-btn {
     /* position: relative; */
     /* overflow: hidden; */
     transition: transform 0.2s, box-shadow 0.2s;
 }

 /* Эффект волны при клике */
 .main-btn::after,
 .fixed-cart-btn::after,
 .fixed-back-btn::after,
 .add-to-cart::after,
 .checkout-button::after,
 .clear-cart-button::after,
 .close-alert-btn::after,
 .remove-item-btn::after {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 5px;
     height: 5px;
     background: rgba(255, 255, 255, 0.5);
     opacity: 0;
     border-radius: 100%;
     transform: scale(1, 1) translate(-50%, -50%);
     transform-origin: 50% 50%;
 }

 /* Активируем эффект волны при клике */
 .main-btn:active::after,
 .fixed-cart-btn:active::after,
 .fixed-back-btn:active::after,
 .add-to-cart:active::after,
 .checkout-button:active::after,
 .clear-cart-button:active::after,
 .close-alert-btn:active::after,
 .remove-item-btn:active::after {
     animation: ripple 0.4s ease-out;
 }

 /* Кнопки становятся меньше при нажатии */
 .main-btn:active,
 .fixed-cart-btn:active,
 .fixed-back-btn:active,
 .add-to-cart:active,
 .checkout-button:active,
 .clear-cart-button:active,
 .close-alert-btn:active,
 .remove-item-btn:active {
     transform: scale(0.95);
     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
 }

 /* Анимация волны */
 @keyframes ripple {
     0% {
         transform: scale(0, 0);
         opacity: 0.7;
     }

     20% {
         transform: scale(25, 25);
         opacity: 0.5;
     }

     100% {
         opacity: 0;
         transform: scale(40, 40);
     }
 }


 /* Улучшенные эффекты для кнопок */
 .checkout-button,
 .clear-cart-button,
 .redeem-button {
     /* position: relative;
    overflow: hidden; */
     transition: all 0.3s;
 }