/*
Theme Name: aav2-2025-09 Leya Arno
Theme URI: https://leya-arno.ru
Author: Leya Arno
Author URI: https://vk.com/leya_arno
Description: Премиальная тема WordPress для продажи макаронс ручной работы. Версия v1 содержит Header.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leya-arno 
*/
/* ==============================
   ВОЛНЫ (общие для всех блоков)
   ============================== */
.wave {
    position: relative;
    width: 100%;
    line-height: 0; /* убираем лишние отступы */
    overflow: hidden;
}

.wave img {
    display: block;
    width: 100%;
    height: auto;
}

/* Волна сверху блока */
.wave-top {
    margin-bottom: -2px; /* чтобы не было просвета */
}

/* Волна снизу блока */
.wave-bottom {
    margin-top: -2px;
}
/* ----- Single Product Page ----- */
.single-product-page {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.single-product-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  align-items: flex-start;
}

/* Левая колонка (галерея) */
.product-gallery {
  flex: 1 1 50%;
  text-align: center;
}

.product-main-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.product-main-image img:hover {
  transform: scale(1.03);
}

/* Мини-галерея */
.product-thumbnails {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.product-thumbnails img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.product-thumbnails img:hover {
  border-color: var(--caramel);
  transform: scale(1.05);
}

/* Правая колонка (инфо) */
.product-info {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--chocolate);
}

.price {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--caramel);
}

/* Краткое описание */
.product-short-description {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #444;
}

/* Кнопка "Заказать" */
.single-product .cart button.single_add_to_cart_button {
  background: var(--caramel);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.single-product .cart button.single_add_to_cart_button:hover {
  background: var(--chocolate);
  transform: translateY(-2px);
}

/* Адаптив */
@media (max-width: 768px) {
  .single-product-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .product-gallery,
  .product-info {
    flex: 1 1 100%;
    text-align: center;
  }

  .product-info {
    align-items: center;
  }
}


