﻿/* style.css — полный рабочий файл под элегантную женскую сумку */

/* 1) Импорт шрифтов */
@import url('../../css2');

/* 2) Цветовая палитра */
:root {
  --bg:         #FAF5F4;   /* кремовый фон */
  --primary:    #B76E79;   /* dusty rose */
  --secondary:  #8B5E3C;   /* taupe */
  --accent:     #D4AF37;   /* золотистый */
  --highlight:  #FFF8F0;   /* светлый айвори */
  --text:       #4A342E;   /* тёмный шоколад */
}

/* 3) Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  background-image:
    url('images/bag1.png'),
    url('images/bag2.png'),
    url('images/bag3.png'),
    url('images/bag4.png');
  background-repeat: no-repeat;
  background-position:
    10% 15%, 80% 20%, 30% 75%, 60% 50%;
  background-size:
    120px 120px, 80px 80px, 100px 100px, 90px 90px;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* 4) Обёртка */
.lt-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 5) Мультяшный куб с преимуществами */
/* === Минималистичный слайдер === */
.benefits-slider {
  width: 100%;
  max-width: 100vw;  /* Ширина на весь экран */
  margin: 0 auto;
}

.minimalist-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px; /* Высота слайдера чуть больше текста */
  overflow: hidden;
}

.slider-container {
  display: flex;
  animation: slideText 9s infinite ease-in-out;
}

.slider-item {
  flex-shrink: 0;
  padding: 0 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  background: #f7f9fc;
  margin: 0 0.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Анимация плавного сдвига текста */
@keyframes slideText {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(-100%);
  }
  66% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}


/* 6) Шапка (offer) */
.offer_section {
  background-color: #f7f9fc;
  text-align: center;
  padding: 2rem;
}
.offer_section .box1 {
  margin-bottom: 1rem;
}
.lt-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary);
  text-transform: uppercase;
}

/* 7) Галерея */
.gallery_section {
  margin: 2rem 0;
}
.image-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-display {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.main-image, .main-video {
  width: 100%;
  border-radius: 8px;
  transition: opacity .3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.main-video { display: none; }
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: rgba(139,94,60,0.5);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
}
.nav-btn:hover { background: rgba(139,94,60,0.8); }
.nav-btn.prev { left: 8px; }
.nav-btn.next { right: 8px; }
.lt-gallery-hint {
  margin-top: 1rem;
}
.hint-box {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #e0c0f0;
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem; font-weight: 600;
}
.lt-arrow {
  margin-left: 8px;
  font-size: 1.2rem;
  animation: arrowBounce 1s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%,100% { transform: translateX(0); }
  50%     { transform: translateX(6px); }
}
.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
  overflow-x: auto;
  cursor: grab;
}
.thumbs:active { cursor: grabbing; }
.thumb {
  flex: 0 0 auto;
  width: 60px; height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color .2s;
}
.thumb.active { border-color: var(--secondary); }


/* 8) Прайс-блок */
:root {
  --bg-card:   #f7f9fc;
  --accent:    #e0c0f0;
  --primary:   #64B5F6;
  --secondary: #42A5F5;
  --text:      #333;
  --text-muted:#777;
}

/* Контейнер всей строки */
.ct-price-hero-block {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}

/* === Старая цена === */
.ct-original-price {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
}
.ct-original-price .ct-price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.ct-original-price .ct-old-cost {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

/* === SALE-бейдж === */
.ct-sale-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffcfcf, #ff0c0c);
  padding: 0.75rem 1rem;
  border-radius: 50px;
  color: #fff;
  min-width: 80px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.ct-sale-badge .ct-sale-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.ct-sale-badge .ct-sale-discount {
  font-size: 1rem;
  font-weight: 900;
  margin-top: 0.25rem;
}

/* === Новая цена === */
.ct-today-price {
  background-color: #ff33df;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
}
.ct-today-price .ct-price-label {
  display: block;
  font-size: 0.75rem;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.ct-today-price .ct-new-cost {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

/* Hover-эффект */
.ct-price-hero-block > div:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}


/* 9) Форма заказа */
/* === Форма заказа в стиле карточек === */
.ct-order-form {
  background: #fff;
  border: 2px solid #e0c0f0;                /* тонкая фиолетово-розовая обводка */
  border-radius: 12px;                      /* скруглённые углы */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* лёгкая тень */
  padding: 1.5rem;
  max-width: 480px;
  margin: 2rem auto;
  box-sizing: border-box;
}

/* Поля ввода */
.ct-order-form .ct-field {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 2px solid #e0c0f0;                /* совпадает с рамкой формы */
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Кнопка отправки */
.ct-order-form .ct-button {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  background: #f7bef2;                       /* фиолетовый акцент */
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Эффект при наведении */
.ct-order-form .ct-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Стили для placeholder (опционально) */
.ct-order-form .ct-field::placeholder {
  color: #aaa;
}


/* 10) Бегущая строка */
.ct-marquee-container {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F8BBD0;
  overflow: hidden;
  margin: 2rem 0; /* или margin: 2rem calc((100% - 100vw)/2); */
}

.ct-marquee {
  display: flex;
  animation: marq 10s linear infinite;
}

.ct-marquee span {
  flex: none;
  padding: 0 2rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #C2185B;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  white-space: nowrap;
}

@keyframes marq {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}



/* 11) Таймер */


/* 12) Декоративный разделитель */
.cartoon-divider {
  position: relative;
  margin: 2rem 0;
  text-align: center;
}

/* основная линия */
.cartoon-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #e0c0f0;
  transform: translateY(-50%);
}

/* декоративный элемент в центре */
.cartoon-divider::after {
  content: "❀";                    /* можно заменить на любой символ */
  position: relative;
  display: inline-block;
  background: #fff;                /* цвет фона под символом */
  color: #e0c0f0;
  font-size: 1.2rem;
  padding: 0 0.5em;
}




/* 13) Секции 2, 5, отзывы, опрос, доставка и гарантии */
.sect2, .sect5,
.cartoon-reviews, .ct-poll-section,
.ct-order-section, .ct-guarantee-section {
  margin: 2rem 0;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Section 2 */
.sect2 .box2,
.sect5 .box2 {
  text-align: center;
  margin-bottom: 1rem;
}
.sect2 .ct-dashed-img {
  display: inline-block;
  padding: 1rem;
  background: var(--highlight);
  border: 2px dashed var(--accent);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.sect2 .pattern-box {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.9),
    rgba(247,240,240,0.9));
  border: 2px dashed var(--accent);
  border-radius: 12px;
  position: relative;
  text-align: center;
  font-size: 1rem;
  color: var(--secondary);
}
.sect2 .pattern-box::before,
.sect2 .pattern-box::after {
  content: '✿';
  position: absolute;
  font-size: 1.5rem;
  color: var(--accent);
}
.sect2 .pattern-box::before { top: -10px; left: 10px; }
.sect2 .pattern-box::after  { bottom: -10px; right: 10px; }

/* Section 5 */
/* == Основные преимущества (чередующийся макет) == */
.sect5 {
	padding: 2rem 1rem;
	background: var(--highlight);
  }
  .sect5 .box2 {
	text-align: center;
	margin-bottom: 2rem;
  }
  .sect5 .box2 h2 {
	display: inline-block;
	font-family: 'Playfair Display', serif;
	font-size: 1.8rem;
	padding: 0.5rem 1rem;
	background: #fff;
	border: 2px dashed var(--accent);
	border-radius: 8px;
	box-shadow: 2px 2px 0 rgba(0,0,0,0.05);
  }
  
  /* Сетка для карточек */
  .benefits-grid {
	display: flex;
	flex-direction: column;
	gap: 2rem;
  }
  /* На больших экранах — блочками по 2 колонки */
  @media (min-width: 600px) {
	.benefits-grid {
	  display: grid;
	  grid-template-columns: 1fr 1fr;
	  gap: 2rem;
	}
  }
  
  /* Каждый «бенефит» */
  .benefit-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
  }
  /* На desktop чередуем направление */
  @media (min-width: 600px) {
	.benefit-item {
	  flex-direction: row;
	  align-items: center;
	}
	/* чётные — картинка справа */
	.benefits-grid .benefit-item:nth-child(even) {
	  flex-direction: row-reverse;
	}
  }
  
  /* Сама картинка */
  .benefit-image img {
	width: 100%;
	max-width: 220px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  
  /* Текстовый блок */
  .benefit-text {
	background: #fff;
	padding: 1rem;
	border: 2px dashed var(--accent);
	border-radius: 12px;
	position: relative;
	max-width: 320px;
	text-align: left;
	box-shadow: 2px 2px 0 rgba(0,0,0,0.05);
  }
  /* «Цветочек» в углу */
  .benefit-text::before {
	content: '✿';
	position: absolute;
	top: -10px; left: -10px;
	font-size: 1.4rem;
	color: var(--accent);
  }
  .benefit-text h3 {
	font-family: 'Playfair Display', serif;
	color: var(--primary);
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
  }
  .benefit-text p {
	font-size: 0.95rem;
	color: var(--text);
	line-height: 1.4;
  }
  

/* Видеообзор */
.ct-video-block {
  text-align: center;
  margin-top: 1.5rem;
}
.ct-video-title {
  
  font-size: 1.5rem;
  color: #6c4e9d;
  margin-bottom: 1rem;
}
.ct-video-wrapper {
  display: inline-block;
  border: 2px dashed var(--accent);
  padding: .5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.ct-video-player {
  width: 100%;
  border-radius: 8px;
}

/* Отзывы */
.cartoon-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cartoon-reviews__item {
  background: #fff;
  padding: 1rem;
  border: 2px dashed var(--accent);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
}
.cartoon-reviews__item::after {
  content: '';
  position: absolute;
  bottom: -12px; left: 20px;
  border: 8px solid transparent;
  border-top-color: #fff;
}
.cartoon-reviews__author {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  margin-bottom: .5rem;
  font-weight: 600;
}
.cartoon-reviews__text {
  font-style: italic;
  color: var(--text);
}

/* Опрос */
.ct-poll-options {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.ct-poll-option {
  display: flex;
  align-items: center;
  background: #fff;
  padding: .75rem;
  border: 2px dashed var(--accent);
  border-radius: 8px;
  transition: background .2s;
}
.ct-poll-option:hover { background: var(--highlight); }
.ct-option-text {
  flex: 1;
  font-weight: 600;
}
.ct-option-bar {
  width: 40%;
  height: 12px;
  background: var(--highlight);
  margin: 0 1rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px dashed var(--primary);
}
.ct-bar-fill {
  height: 100%;
  background: var(--primary);
  transition: width .3s;
}
.ct-option-percent {
  width: 40px;
  text-align: right;
  font-weight: 600;
}

/* Доставка и оплата */
.ct-order-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
}
.ct-order-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem;
  background: #fff;
  border: 2px dashed var(--accent);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.ct-step-label {
  font-size: .9rem;
  background: var(--highlight);
  color: var(--secondary);
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 600;
}
.ct-step-desc { font-size: .9rem; }

/* Тройная гарантия */
.ct-guarantee-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.ct-guarantee-item {
  background: #fff;
  padding: 1rem;
  text-align: center;
  border: 2px dashed var(--accent);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.ct-guarantee-item img {
  width: 40px;
  margin-bottom: .5rem;
}
.ct-guarantee-item p {
  font-size: .9rem;
  color: var(--text);
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  font-size: .8rem;
  color: #777;
}
footer a {
  color: var(--primary);
  text-decoration: none;
}
/* центрируем весь блок «Доставка и оплата» */
.ct-order-section {
	text-align: center;
  }
  
  /* делаем сетку шагов компактнее и по центру */
  .ct-order-list {
	display: grid;
	/* две колонки одинаковой ширины */
	grid-template-columns: repeat(2, auto);
	gap: 1rem;
	/* ограничиваем ширину сетки и центрируем */
	max-width: 360px;
	margin: 0 auto;
	justify-content: center;
  }
  
  /* подгоняем карточки шагов */
  .ct-order-item {
	/* фиксированная ширина, чтобы не растягивались на всю сетку */
	width: 160px;
	margin: 0 auto;
  }
  
  /* ссылка-кнопка «Заказать со скидкой» */
  .button-m1 {
	display: inline-block;
	margin: 1.5rem auto 0;
	/* если нужно, можно вернуть прежний стиль кнопки: */
	/* background: var(--secondary); color:#fff; padding:.75rem 1.5rem; border-radius:6px; */
  }

  /* Центрируем заголовок и содержимое всего блока */
.ct-order-section {
	text-align: center;
  }
  
  /* Делаем сетку из двух колонок и центрируем её */
  .ct-order-list {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 1rem;
	max-width: 360px;    /* подгоните под нужный вам общий размер */
	margin: 0 auto;
	justify-content: center;
  }
  
  /* В каждой карточке раскладываем всё по колонке и по центру */
  .ct-order-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	/* при желании фиксируйте ширину, чтобы все были одинаковыми */
	width: 160px;
	margin: 0 auto;
  }
  
  /* Отступы между элементами внутри карточки */
  .ct-step-label {
	margin-bottom: .5rem;
  }
  .ct-order-img {
	margin-bottom: .5rem;
  }
  .ct-step-desc {
	margin: 0;
  }
  
  /* Центрируем кнопку под карточками */
  .button-m1 {
	display: inline-block;
	margin: 1.5rem auto 0;
  }
  
  /* Сбрасываем отступы между всеми секциями внутри .lt-wrapper */
.lt-wrapper > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0;     /* при необходимости убрать внутренние отступы */
  padding-bottom: 0;
}

/* На всякий случай обнулим специфичные отступы */
.gallery_section,
.ct-price-block,
.ct-order-form,
.ct-marquee-container,
.ct-cartoon-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
    margin-bottom: 2rem; /* Добавляем отступ снизу */
}
