:root {
    /* Светлая тема (по умолчанию) */
    --primary-color: #2196f3;
    --secondary-color: #25d366;
    --text-color: #333;
    --background-color: #fff;
    --card-background: #fff;
    --header-bg: rgba(33, 150, 243, 0.85);
    --shadow-color: rgba(0, 0, 0, 0.14);
    --border-color: #eee;
    --gradient-start: rgba(33, 150, 243, 0.05);
    --gradient-end: rgba(37, 211, 102, 0.05);
    --header-height: 80px;
    --tb-item-bg: rgba(255, 255, 255, 0.84);
    --card-quantity-bg: rgb(222, 237, 251);
}

/* Тёмная тема */
[data-theme="dark"] {
    --primary-color: #64b5f6;
    --secondary-color: #4caf50;
    --text-color: #e0e0e0;
    --background-color: #121212;
    --card-background: #1e1e1e;
    --header-bg: rgba(25, 25, 25, 0.95);
    --shadow-color: rgba(0, 43, 170, 0.22);
    --border-color: #333;
    --gradient-start: rgba(100, 181, 246, 0.1);
    --gradient-end: rgba(76, 175, 80, 0.1);
    --tb-item-bg: rgba(255, 255, 255, 0.15);
    --card-quantity-bg:#0f1317;
}

/* Базовые стили */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: var(--header-height);
    padding-bottom: 60px;
    background: var(--background-color);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    height: var(--header-height);
    transition: transform 0.3s ease;
    z-index: 100;
    box-shadow: 0 8px 15px var(--shadow-color);
    width: 100%;
    box-sizing: border-box;
}

/* container styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

/* Header */
.header .container {
    height: 100%;
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}

.logo__img {
    height: 50px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* Стили для интерактивного меню в настольной версии */
.nav__list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.nav__list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav__list a:hover::after {
    width: 100%;
}

/* Кнопки корзины */
.cart-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-toggle::before,
.floating-cart-btn::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1.003 1.003 0 0 0 20 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.floating-cart-btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.floating-cart-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1.003 1.003 0 0 0 20 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
}

/* ... existing code ... */

.cart-items-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: white;
    font-size: 12px;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* Герой секция */
.hero {
    padding-top: calc(var(--header-height) + 40px);
}

.hero__wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
}

.hero__image {
    max-width: 450px;
}

.hero__character {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Кнопки действий */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shine 3s ease-in-out infinite;
    z-index: 1;
}

.btn:hover::before {
    animation: shine 2s ease-in-out infinite;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Специфичные стили для разных типов кнопок */
.btn--primary {
    --primary-color: #2196f3;
    color: white;
    background-color: var(--primary-color);
}

.btn--telegram {
    --primary-color: #0088cc;
    color: white;
    padding-left: 54px;
    background-color: var(--primary-color);
    background-image: url('../images/tgicon.png');
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 24px;
}

.btn--whatsapp {
    --primary-color: #25d366;
    color: white;
    padding-left: 54px;
    background-color: var(--primary-color);
    background-image: url('../images/waicon.png');
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 24px;
}

/* Каталог */
.catalog {
    padding: 80px 0;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--card-background);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color);
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    gap: 20px;
}

.product-card h3 {
    margin: 0;
    font-size: 24px;
    color: var(--text-color);
}

.product-card__content {
    flex-grow: 1;
}

.product-card__content p {
    margin: 0;
    color: #888;
    line-height: 1.6;
}

.product-card__quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    padding: 8px;
    background: var(--card-quantity-bg);
    border-radius: 12px;
}

.quantity-decrease,
.quantity-increase {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.quantity-decrease:hover,
.quantity-increase:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.quantity-display {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    min-width: 40px;
    text-align: center;
}

.product-card .btn {
    width: 100%;
    margin-top: auto;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

/* Модульные блоки */
section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(odd) {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 20px 30px -10px var(--shadow-color);
}

section:nth-child(even) {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 20px 30px -10px var(--shadow-color);
}

.about {
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.1), rgba(37, 211, 102, 0.1)) !important;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--text-color);
    position: relative;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Корзина */
.cart-popup {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 380px;
    background: var(--card-background);
    transition: 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 30px var(--shadow-color);
}

.cart-popup.active {
    right: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 15px;
}

.cart-item__remove {
    width: 30px;
    height: 30px;
    border: none;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.cart-item__remove:hover {
    background: #ff0000;
    transform: rotate(90deg);
}

/* Стилизация корзины */
.cart-popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #999;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.cart-popup__close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.cart-popup__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.delivery-address input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.33);
    transition: border-color 0.3s ease;
    background: var(--background-color);
    color: var(--text-color);
}

.delivery-address input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: var(--gradient-start);
}

.cart-popup button {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cart-popup button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.js-checkout {
    background-color: var(--primary-color);
    color: white;
}

.js-whatsapp-checkout {
    background-color: var(--secondary-color);
    color: white;
}

/* Модальное окно для сертификатов */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal__image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.modal__close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.certificate {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.certificate:hover {
    transform: scale(1.05);
}

/* Certificates Grid */
.certificates__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certificate img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.js-whatsapp-checkout img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* Мобильные элементы управления */
.mobile-controls {
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    bottom: 0;
    width: 280px;
    background: var(--card-background);
    box-shadow: -5px 0 15px var(--shadow-color);
    transition: transform 0.3s ease;
    z-index: 99;
    padding: 20px;
    transform: translateX(100%);
}

.mobile-menu.active {
    transform: translateX(0);
    right: 0;
}

.mobile-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav__list li {
    border-bottom: 1px solid var(--border-color);
    padding: 5px 0;
}

.mobile-nav__list li:last-child {
    border-bottom: none;
}

.mobile-nav__list a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav__list a::before {
    content: '';
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.mobile-nav__list a[href="#main"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232196f3' d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
}

.mobile-nav__list a[href="#catalog"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232196f3' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1.003 1.003 0 0 0 20 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
}

.mobile-nav__list a[href="#about"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232196f3' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

.mobile-nav__list a[href="#info"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232196f3' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

.mobile-nav__list a[href="#certificates"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232196f3' d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");
}

.mobile-nav__list a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.mobile-nav__list a:hover::before {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .header__wrapper {
        justify-content: space-between;
        position: relative;
    }

    .logo {
        position: static;
        transform: none;
    }

    .logo__img {
        width: 40px;
        height: 40px;
    }

    .logo__text {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
    }

    .logo__slogan {
        display: none;
    }

    .logo__title {
        font-size: 20px;
    }

    .mobile-controls {
        margin-left: auto;
    }
}

/* Восстановление адаптивности */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-controls {
        display: flex;
        gap: 15px;
        align-items: center;
        margin-right: 12px;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding-top: calc(var(--header-height) + 20px);
    }

    .hero__wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 0;
    }

    .hero__image {
        order: -1;
        max-width: 350px;
        margin: 0 auto;
        margin-top: -90px;
    }

    .hero__content {
        text-align: center;
    }

    .action-buttons {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .action-buttons .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
        padding-left: 28px;
        margin: 0;
        box-sizing: border-box;
    }

    .btn--telegram,
    .btn--whatsapp {
        padding-left: 28px;
        background-position: 28px center;
    }

    .products__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cart-popup {
        width: 100%;
    }

    .cart-popup__content {
        padding: 20px;
    }

    .btn::before {
        animation: none;
    }
    
    .btn:active::before {
        animation: shine 1s ease-in-out;
    }

    .hero__content .action-buttons {
        margin-top: 30px;
    }

    .info .action-buttons {
        margin-top: 40px;
    }

    .floating-cart-btn {
        right: 15px;
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .action-buttons {
        padding: 14px 10px;
        width: 90%;
    }

    .action-buttons .btn {
        padding: 14px 20px;
        font-size: 16px;
    }

    .btn--telegram,
    .btn--whatsapp {
        padding-left: 28px;
        background-position: 28px center;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .action-buttons {
        padding: 0 5px;
    }

    .action-buttons .btn {
        padding: 15px 15px;
        font-size: 13px;
    }

    .tabbar-item {
        width: 45px;
        height: 45px;
    }

    .tabbar-icon {
        width: 24px;
        height: 24px;
    }
}

/* Мобильный таббар */
.mobile-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    display: none;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px var(--shadow-color);
    z-index: 100;
    backdrop-filter: blur(8px);
    width: 100%;
    box-sizing: border-box;
}

.tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 4px;
    background: var(--tb-item-bg);
    border-radius: 24px;
    width: 42px;
    height: 42px;
    justify-content: center;
    transition: all 0.3s ease;
}

.tabbar-item:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.90);
}

.tabbar-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.phone-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232196f3' d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2c-2.8-1.4-5.1-3.8-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.3-1.1-.5-2.3-.5-3.5 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.6-.4-1-1-1zM19 12h2c0-4.9-4-8.9-9-8.9v2c3.9 0 7 3.1 7 6.9zm-4 0h2c0-2.8-2.2-5-5-5v2c1.7 0 3 1.3 3 3z'/%3E%3C/svg%3E");
}

.telegram-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230088cc' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69.01-.03.01-.14-.07-.2-.08-.06-.19-.04-.27-.02-.12.02-1.95 1.24-5.5 3.65-.52.36-1 .53-1.42.52-.47-.01-1.37-.26-2.03-.48-.82-.27-1.47-.42-1.42-.88.03-.24.29-.49.8-.75 3.12-1.36 5.2-2.26 6.24-2.7 2.97-1.23 3.58-1.44 3.98-1.44.09 0 .28.02.4.09.11.06.19.14.22.23.03.1.04.2.01.32z'/%3E%3C/svg%3E");
}

.whatsapp-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2325d366' d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.815 9.815 0 0 0 12.04 2zm.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.17-3.12.82.83-3.04-.2-.32a8.188 8.188 0 0 1-1.26-4.38c.01-4.54 3.7-8.24 8.25-8.24zM8.53 7.33c-.16 0-.43.06-.66.28-.22.22-.87.86-.87 2.07 0 1.22.89 2.39 1 2.56.14.17 1.75 2.67 4.23 3.74.59.27 1.05.42 1.41.53.59.19 1.13.16 1.56.1.48-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.15-1.18-.07-.1-.23-.16-.48-.27-.25-.14-1.47-.74-1.69-.82-.23-.08-.37-.12-.56.12-.18.25-.64.82-.78 1-.14.18-.29.21-.53.07-.26-.15-1.06-.39-2-1.23-.74-.66-1.23-1.47-1.38-1.72-.12-.24-.01-.39.11-.5.11-.11.27-.29.37-.44.13-.14.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.11-.56-1.35-.77-1.84-.2-.48-.4-.42-.56-.43-.14 0-.3-.01-.47-.01z'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
    .mobile-tabbar {
        display: flex;
    }
    
    body {
        padding-bottom: 80px;
    }
}

/* Стили для элементов управления количеством в корзине */
.cart-item__quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 5px 10px;
    background: var(--card-quantity-bg);
    border-radius: 8px;
}

.cart-item__name {
    flex-grow: 1;
    font-weight: 500;
}

/* Анимация блика для кнопок */
@keyframes shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Центрирование кнопки в блоке о компании */
.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.about__text {
    max-width: 800px;
    margin: 0 auto;
}

/* Информационный блок */
.info {
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.05), rgba(37, 211, 102, 0.05));
    padding: 80px 0;
}

.info__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.info__text {
    text-align: left;
}

.info__text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #717070;
}

.info__text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.info__text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.info__text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.info .action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .info__text {
        padding: 0 20px;
    }
    
    .info .action-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .info .action-buttons .btn {
        width: 100%;
    }
}

/* Логотип и название */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo__text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo__title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.logo__slogan {
    font-family: 'Brush Script MT Rus', cursive;
    font-size: 19px;
    color: #008cff;
    margin: 0 0 0 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Спойлер с предупреждением */
.warning-spoiler {
    margin-top: 30px;
    width: 100%;
    max-width: 800px;
}

.warning-spoiler__trigger {
    width: 100%;
    padding: 15px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

.warning-spoiler__trigger:hover {
    background: #ff0000;
    transform: translateY(-2px);
}

.warning-spoiler__content {
    display: none;
    padding: 20px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.warning-spoiler__content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.warning-spoiler__content p {
    margin: 10px 0;
    font-weight: 500;
    color: #ff4444;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Подключение шрифта */
@font-face {
    font-family: 'Brush Script MT Rus';
    src: url('../fonts/brushscriptmtrusbyme_italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}