

/* Start:/local/templates/compliment/styles.css?1785159792225*/
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Montserrat', sans-serif; color: #333; background: #faf8f5; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* End */


/* Start:/local/templates/compliment/template_styles.css?178635180419491*/
		/* ОБЩИЕ СТИЛИ (Одинаковые для всего сайта) */
		
        /* ШАПКА */
        .header {
            position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.97);
            backdrop-filter: blur(10px); border-bottom: 1px solid #e8e4df; z-index: 1000;
        }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: #2e473b; }
        .logo span { color: #d4af37; }
        .nav { display: flex; gap: 32px; }
        .nav a { text-decoration: none; color: #555; font-size: 14px; font-weight: 500; transition: color 0.3s; }
        .nav a:hover { color: #2e473b; }
        .header-phone { font-size: 15px; font-weight: 600; color: #2e473b; text-decoration: none; }
		
		/* КНОПКА */
        .btn {
            display: inline-block; padding: 16px 40px; background: #d4af37; color: #fff;
            text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 50px;
            transition: all 0.3s; box-shadow: 0 4px 15px rgba(212,175,55,0.3);
        }
        .btn:hover { background: #c4a030; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,0.4); }
        .btn-outline {
            display: inline-block; padding: 12px 28px; border: 2px solid #d4af37; color: #d4af37;
            text-decoration: none; font-weight: 600; font-size: 14px; border-radius: 50px; transition: all 0.3s;
        }
        .btn-outline:hover { background: #d4af37; color: #fff; }
		
		/* Отличия кнопки */
		.product-page .btn,
		.cart-page .btn {
			border: none; 
			cursor: pointer;
		}
        .product-page .btn-outline,
		.cart-page .btn-outline {
            padding: 16px 40px; font-size: 15px; background: #fff;
        }

        .product-page .btn-outline:hover { background: #d4af37;}

		/* ЗАГОЛОВОК СЕКЦИЙ */
        .section-title {
            font-family: 'Playfair Display', serif; font-size: 36px; text-align: center;
            color: #2e473b; margin-bottom: 50px;
        }
		
		/* СЕТКА ГАЛЕРЕИ */
        .gallery-grid {
            display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px;
        }
        .gallery-item {
            background: #e8dfd3; border-radius: 12px; overflow: hidden;
            display: flex; align-items: center; justify-content: center; color: #999; font-size: 14px;
        }
        .gallery-item:nth-child(1) { grid-row: span 2; }
        .gallery-item:nth-child(4) { grid-row: span 2; }
        .gallery-item:nth-child(5) { grid-column: span 2; }

        /* ГЛАВНАЯ СТРАНИЦА */
		
        /* БАННЕР */
        .hero {
            margin-top: 70px; height: 420px; background: linear-gradient(135deg, #f5f0e8 0%, #e8dfd3 100%);
            display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden;
        }
        .hero::before {
            content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%); border-radius: 50%;
        }
        .hero-content { position: relative; z-index: 1; }
        .hero h1 { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: #2e473b; margin-bottom: 16px; }
        .hero p { font-size: 18px; color: #666; max-width: 500px; margin: 0 auto 32px; line-height: 1.6; }

        /* КАТЕГОРИИ */
        .categories { padding: 80px 0; }
        .cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .cat-card {
            background: #fff; border-radius: 16px; overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s;
        }
        .cat-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
        .cat-img {
            height: 240px; background: #f0ebe3; display: flex; align-items: center; justify-content: center;
            font-size: 80px; color: #d4af37;
        }
        .cat-info { padding: 28px; text-align: center; }
        .cat-info h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: #2e473b; margin-bottom: 10px; }
        .cat-info p { font-size: 14px; color: #777; margin-bottom: 20px; line-height: 1.5; }

        /* ПОЧЕМУ МЫ */
        .why { padding: 80px 0; background: #fff; }
        .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
        .why-item .icon {
            width: 70px; height: 70px; background: #f5f0e8; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
            font-size: 28px; color: #d4af37;
        }
        .why-item h4 { font-size: 16px; font-weight: 600; color: #2e473b; margin-bottom: 8px; }
        .why-item p { font-size: 13px; color: #888; line-height: 1.5; }

        /* ГАЛЕРЕЯ */
        .gallery { padding: 80px 0; }

        /* ОТЗЫВЫ */
        .reviews { padding: 80px 0; background: #fff; }
        .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .review-card {
            background: #faf8f5; border-radius: 16px; padding: 32px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.04);
        }
        .stars { color: #d4af37; font-size: 18px; margin-bottom: 16px; }
        .review-text { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
        .review-author { display: flex; align-items: center; gap: 12px; }
        .review-avatar {
            width: 44px; height: 44px; background: #2e473b; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 16px;
        }
                        .review-name { font-weight: 600; color: #2e473b; font-size: 14px; }

        /* ФОРМА */
        .cta { padding: 100px 0; background: #2e473b; text-align: center; position: relative; overflow: hidden; }
        .cta::before {
            content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px;
            background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%); border-radius: 50%;
        }
        .cta h2 { font-family: 'Playfair Display', serif; font-size: 38px; color: #fff; margin-bottom: 12px; position: relative; z-index: 1; }
        .cta p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 40px; position: relative; z-index: 1; }
        .form-row { display: flex; gap: 16px; justify-content: center; max-width: 500px; margin: 0 auto; position: relative; z-index: 1; }
        .form-row input {
            flex: 1; padding: 16px 24px; border: none; border-radius: 50px; font-size: 15px;
            background: rgba(255,255,255,0.1); color: #fff; outline: none;
        }
        .form-row input::placeholder { color: rgba(255,255,255,0.5); }
        .form-row .btn { border: none; cursor: pointer; }

        /* СТРАНИЦА ТОВАРА */

        .product-page { padding: 110px 0 60px; }
        .product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
        .product-image {
            background: #f5f0e8; border-radius: 20px; overflow: hidden;
            display: flex; align-items: center; justify-content: center; min-height: 500px;
        }
        .product-image svg { width: 100%; height: 100%; display: block; }
        .product-info h1 {
            font-family: 'Playfair Display', serif; font-size: 42px; color: #2e473b; margin-bottom: 20px; line-height: 1.2;
        }
        .product-price {
            font-size: 36px; font-weight: 700; color: #d4af37; margin-bottom: 30px;
        }
        .product-price span { font-size: 20px; font-weight: 500; color: #999; text-decoration: line-through; margin-left: 12px; }
        .product-actions { display: flex; gap: 16px; margin-bottom: 40px; }
        .product-desc { font-size: 16px; color: #666; line-height: 1.7; margin-bottom: 40px; }

        /* СОСТАВ */
        .contents { margin-bottom: 40px; }
        .contents h3 {
            font-family: 'Playfair Display', serif; font-size: 24px; color: #2e473b; margin-bottom: 24px;
        }
        .contents-table { width: 100%; border-collapse: collapse; }
        .contents-table tr { border-bottom: 1px solid #e8e4df; }
		.contents-table tr td:first-child { width: 70px; }
        .contents-table tr:last-child { border-bottom: none; }
        .contents-table td { padding: 16px 12px; vertical-align: middle; }
        .item-img { width: 60px; height: 60px; border-radius: 12px; background: #f5f0e8; display: flex; align-items: center; justify-content: center; }
        .item-img svg { width: 100%; height: 100%; }
        .item-name { font-weight: 600; color: #2e473b; font-size: 15px; }
        .item-weight { color: #999; font-size: 14px; }

        /* ГАЛЕРЕЯ ДРУГИХ */
        .other-bouquets { padding: 60px 0; background: #fff; }

        /* КОРЗИНА */

        .cart-page { padding: 110px 0 60px; }
        .cart-page h1 {
            font-family: 'Playfair Display', serif; font-size: 36px; color: #2e473b; margin-bottom: 40px;
        }
        .cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }

        /* Список товаров */
        .cart-items { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
        .cart-item {
            display: grid; grid-template-columns: 100px 1fr auto auto auto; gap: 20px;
            align-items: center; padding: 24px 0; border-bottom: 1px solid #f0ebe3;
        }
        .cart-item:last-child { border-bottom: none; }
        .item-thumb {
            width: 100px; height: 100px; background: #f5f0e8; border-radius: 12px;
            display: flex; align-items: center; justify-content: center; overflow: hidden;
        }
        .item-thumb svg { width: 100%; height: 100%; }
        .item-details h3 { font-size: 16px; font-weight: 600; color: #2e473b; margin-bottom: 6px; }
        .item-details h3 a { text-decoration: none; color: inherit; }
        .item-details p { font-size: 13px; color: #999; }
        .item-price { font-size: 16px; font-weight: 600; color: #2e473b; white-space: nowrap; }
        .item-total { font-size: 18px; font-weight: 700; color: #d4af37; white-space: nowrap; }

        /* Количество */
        .qty-control {
            display: flex; align-items: center; gap: 0; border: 1px solid #e8e4df; border-radius: 8px; overflow: hidden;
        }
        .qty-control button {
            width: 36px; height: 36px; border: none; background: #f5f0e8; color: #2e473b;
            font-size: 18px; cursor: pointer; transition: background 0.2s;
        }
        .qty-control button:hover { background: #e8dfd3; }
        .qty-control input {
            width: 44px; height: 36px; border: none; text-align: center; font-size: 14px;
            font-weight: 600; color: #2e473b; background: #fff;
        }

        /* Удалить */
        .item-remove {
            width: 32px; height: 32px; border-radius: 50%; border: none; background: #f5f0e8;
            color: #999; cursor: pointer; font-size: 16px; transition: all 0.2s;
        }
        .item-remove:hover { background: #c41e3a; color: #fff; }

        /* Итоги */
        .cart-summary {
            background: #fff; border-radius: 16px; padding: 32px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.04); position: sticky; top: 90px;
        }
        .cart-summary h3 {
            font-family: 'Playfair Display', serif; font-size: 22px; color: #2e473b; margin-bottom: 24px;
        }
        .summary-row {
            display: flex; justify-content: space-between; padding: 12px 0;
            font-size: 15px; color: #666; border-bottom: 1px solid #f0ebe3;
        }
        .summary-row:last-of-type { border-bottom: none; }
		.summary-row.discount span:last-child {
			color: #c41e3a;
		}
        .summary-row.total {
            font-size: 20px; font-weight: 700; color: #2e473b; padding-top: 20px; margin-top: 8px;
            border-top: 2px solid #2e473b; border-bottom: none;
        }
        .summary-row.total span { color: #d4af37; }

        /* Промокод */
        .promo {
            display: flex; gap: 8px; margin: 20px 0;
        }
        .promo input {
            flex: 1; padding: 12px 16px; border: 1px solid #e8e4df; border-radius: 8px;
            font-size: 14px; outline: none;
        }
        .promo input:focus { border-color: #d4af37; }
        .cart-page .promo button {
            padding: 12px 20px; border: 1px solid #d4af37; background: #fff; color: #d4af37;
            border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s;
        }
        .cart-page .promo button:hover { background: #d4af37; color: #fff; }

        .checkout-btn { width: 100%; margin-top: 8px; }
        .continue-link {
            display: block; text-align: center; margin-top: 16px; color: #999;
            font-size: 14px; text-decoration: none; transition: color 0.2s;
        }
        .continue-link:hover { color: #2e473b; }

        /* Пустая корзина (скрыта) */
        .empty-cart {
            text-align: center; padding: 60px 20px; display: none;
        }
        .empty-cart svg { width: 120px; height: 120px; margin-bottom: 24px; }
        .empty-cart h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: #2e473b; margin-bottom: 12px; }
        .empty-cart p { color: #999; margin-bottom: 24px; }
		
        /* ПОДВАЛ */
        .footer { background: #1a2e26; color: rgba(255,255,255,0.6); padding: 60px 0 30px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; color: #fff; margin-bottom: 16px; }
        .footer-logo span { color: #d4af37; }
		.footer-about p { font-size:14px; line-height:1.6; }
        .footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
        .footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.3s; }
        .footer-col a:hover { color: #d4af37; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 13px; }

		/* Общие добавленные стили для изображений*/

		/* Каталог */

		.cat-img a {
			display: flex;
			width: 100%;
			height: 100%;
		}

		.cat-img img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}

		/* Плитка товаров */

		.gallery-item a {
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			height: 100%;
		}

		.gallery-item picture {
			display: block;
			width: 100%;
			height: 100%;
		}

		.gallery-item img {
			width: 100%;
			height: 100%;
			object-fit: contain; 
			object-position: center; 
			display: block;
		}

		/* Слайдер на странице товара */

		/* 1. Главный контейнер (подстраиваем под .product-image с min-height: 500px) */
		.product-slider-container {
			position: relative;
			overflow: hidden;
			width: 100%;
			max-width: 600px;
			margin: 0 auto;
			min-height: inherit; /* Наследует 500px от .product-image */
			display: flex;
			align-items: center; /* Центрирует ленту по вертикали, если она меньше 500px */
		}
		
		/* Длинная лента со слайдами */
		.product-slider-wrapper {
			display: flex;
			transition: transform 0.4s ease-in-out;
			width: 100%;
			height: 100%;
		}
		
		/* Каждый отдельный слайд */
		.gallery-slide {
			width: 100%;        /* Меняем min-width на жесткий width */
			flex-shrink: 0;     /* Запрещает браузеру сжимать слайды по ширине! */
			box-sizing: border-box;
			display: flex;          
			align-items: center;     
			justify-content: center;   
			min-height: 500px;       
		}
		
		/* 4. Стили для тегов picture и img, создаваемых Билдером */
		.gallery-slide picture {
			display: flex;
			align-items: center;
			justify-content: center;
			max-width: 100%;
			max-height: 100%;
		}
		
		.gallery-slide img {
			max-width: 100%;
			max-height: 500px; /* Ограничиваем высоту под размер макета */
			width: auto;
			height: auto;
			object-fit: contain; /* Картинка не искажается и вписывается */
			display: block;
		}
		
		/* 5. Навигационные стрелки слайдера */
		#slider-prev-btn,
		#slider-next-btn {
			position: absolute;
			top: 50%;
			transform: translateY(-50%);
			background: rgba(46, 71, 59, 0.7); /* Фирменный зеленый цвет с прозрачностью */
			color: #fff;
			border: none;
			padding: 12px 16px;
			cursor: pointer;
			font-size: 18px;
			z-index: 10;
			border-radius: 50%; /* Сделаем стрелки круглыми, это аккуратнее для цветов */
			width: 44px;
			height: 44px;
			display: flex;
			align-items: center;
			justify-content: center;
			user-select: none;
			transition: all 0.2s ease;
		}
		
		#slider-prev-btn:hover,
		#slider-next-btn:hover {
			background: rgba(46, 71, 59, 0.9);
			transform: translateY(-50%) scale(1.1); /* Легкий интерактив */
		}
		
		#slider-prev-btn { left: 15px; }
		#slider-next-btn { right: 15px; }

		/* Ингридиенты на странице товара */

		.item-img {
			overflow: hidden; 
		}

		.item-img picture {
			display: block;
			width: 100%;
			height: 100%;
		}

		.item-img img {
			width: 100%;
			height: 100%;
			object-fit: cover; 
			display: block; 
		}

		/* ОБЩИЙ МОБИЛЬНЫЙ АДАПТИВ ДЛЯ ВСЕХ СТРАНИЦ */

        @media (max-width: 768px) {
			/* Общие элементы */
            .nav { display: none; }
			.footer-grid { grid-template-columns: 1fr; }
			
			/* Главная страница */
            .hero h1 { font-size: 32px; }
            .cat-grid, .why-grid, .reviews-grid, .gallery .gallery-grid { grid-template-columns: 1fr; }
            .form-row { flex-direction: column; }
            .gallery .gallery-item:nth-child(1), .gallery .gallery-item:nth-child(4) { grid-row: span 1; }
            .gallery .gallery-item:nth-child(5) { grid-column: span 1; }

			/* Страница товара */
            .product-layout { grid-template-columns: 1fr; }
            .product-info h1 { font-size: 28px; }
            .product-page .gallery-grid { grid-template-columns: 1fr 1fr; }

			/* Страница корзины */
            .cart-layout { grid-template-columns: 1fr; }
            .cart-item { grid-template-columns: 80px 1fr; gap: 12px; }
            .item-price, .item-total, .qty-control, .item-remove { grid-column: 2; }
        }
/* End */
/* /local/templates/compliment/styles.css?1785159792225 */
/* /local/templates/compliment/template_styles.css?178635180419491 */
