/*
Theme Name: dovgan_es
Version: 1.1.0
Description: Header (logo+search) + FULL Seasonal Slider (Swiper) with gradients, particles & season buttons.
Text Domain: dovgan_es
*/
:root{--fg:#0f172a;--muted:#c7d2fe;--bg:#ffffff;--border:#e5e7eb;--card:#11182710}
*{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%;}
body{font:16px/1.5 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:#000;display: flex;flex-direction: column;min-height: 100vh;}
.logo{display:flex;flex-direction: column;align-items:center;gap:10px;font-weight:800;font-size:18px;color:#111;text-decoration:none}
.logo img{height:36px;width:auto;display:block}
.logo-caption {text-transform: uppercase; color:#e31818;font-size: 0.8rem;margin-top: -12px; 
}
@media (max-width:768px){.search-form{display:none}.search-form.open{display:flex;position:absolute;left:12px;right:12px;top:64px;background:#fff;z-index:60}.search-form input[type="search"]{min-width:0;width:100%}.search-toggle{display:flex}}
.hero-season{position:relative;overflow:hidden;padding:72px 0 56px}
.hero-season .container{width:min(1280px,92vw);margin-inline:auto;display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center}
@media (max-width:1024px){.hero-season .container{grid-template-columns:1fr}}
body.season-spring .hero-season{background:linear-gradient(135deg,#9be7d8,#7cc7ff 70%)}
body.season-summer .hero-season{background:linear-gradient(135deg,#34d399,#22c55e 70%)}
body.season-autumn .hero-season{background:linear-gradient(135deg,#fb923c,#f59e0b 70%)}
body.season-winter .hero-season{background:linear-gradient(135deg,#4f46e5,#7c3aed 70%)}
.particles{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.particles span{position:absolute;opacity:.7;filter:blur(.2px)}
@keyframes fall-slow{to{transform:translateY(120vh) rotate(360deg)}}
@keyframes drift{0%{transform:translateY(-10vh) translateX(0)}50%{transform:translateY(60vh) translateX(20px)}100%{transform:translateY(120vh) translateX(-10px)}}
.particle--snow{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.9)}
.particle--leaf{width:12px;height:8px;background:rgba(124,45,18,.9);border-radius:2px 8px 2px 8px}
.particle--blossom{width:10px;height:10px;background:rgba(255,255,255,.9);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:#ffffff20;border:1px solid #ffffff40;font-weight:700}
.hero-title{font-size:clamp(32px,6vw,64px);line-height:1.05;margin:.25rem 0 .5rem 0;font-weight:800;color:#fff}
.hero-sub{color:#e5e7eb;max-width:60ch;margin-bottom:10px}
.hero-list{margin:14px 0 22px 0;padding-left:0;list-style:none}
.hero-list li{display:flex;align-items:center;gap:10px;margin:8px 0}
.hero-list li:before{content:'';width:8px;height:8px;border-radius:50%;background:#a7f3d0;display:inline-block}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;border-radius:12px;font-weight:700;text-decoration:none;border:1px solid #ffffff50;color:#fff;background:#ffffff20;backdrop-filter:blur(3px)}
.btn-primary{background:#fff;color:#111827;border-color:#fff}
.buttons{display:flex;gap:12px;flex-wrap:wrap}
.hero-media{position:relative;border-radius:22px;background:#ffffff10;border:1px solid #00000020;box-shadow:0 30px 60px #00000025;min-height:420px;overflow:hidden}
.badge{position:absolute;top:16px;right:16px;background:#fff;color:#111827;border-radius:14px;padding:10px 14px;font-weight:700;box-shadow:0 10px 24px #00000020}
.status{position:absolute;bottom:16px;left:16px;background:#fff;color:#111827;border-radius:12px;padding:8px 12px;display:flex;align-items:center;gap:8px;box-shadow:0 10px 24px #00000020}
.status i{width:8px;height:8px;border-radius:50%;background:#22c55e;display:inline-block}
.hero-swiper{position:relative}
.hero-swiper .swiper{overflow:visible}
.hero-swiper .swiper-button-prev,.hero-swiper .swiper-button-next{width:38px;height:38px;border:1px solid #ffffff60;border-radius:999px;color:#fff;backdrop-filter:blur(3px)}
.hero-swiper .swiper-pagination-bullet{background:#fff;opacity:.4}
.hero-swiper .swiper-pagination-bullet-active{opacity:1}
.season-pills{position:absolute;right:min(32px,3vw);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:14px}
.season-pills button{display:flex;align-items:center;gap:10px;border:1px solid #ffffff60;background:#ffffff20;color:#fff;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer;backdrop-filter:blur(3px)}
.season-pills button.active{background:#fff;color:#111827}
.site-footer{background:#fff;color:#111}
.site-footer .container{color:#607391}

/* === Контейнер === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
}

.site-main{
  flex: 1;
}
.site-main h1{
  text-align: center;
}
.site-content {
  display: flex;
  align-items: center; /* по вертикали */
  justify-content: center; /* по горизонтали */
  min-height: 80vh;
}

/* Хедер */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  color: #111;
  border-bottom: 1px solid #e5e7eb;
  z-index: 50;
}
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 10px;
  height: 80px;
}

/* Логотип */
.logo img {
  height: 60px;
  width: auto;
  display: block;
}


/* Иконки справа */
.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-btn {
  color: #111827;
  font-size: 20px;
  text-decoration: none;
}

/* Фуллскрин поиск */
.search-fullscreen {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.search-fullscreen.active { display: flex; }

.search-center {
  width: 100%;
  max-width: 700px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-center input[type="search"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid #111827;
  border-radius: 8px;
  font-size: 18px;
}
.search-close {
  font-size: 32px;
  border: none;
  background: none;
  cursor: pointer;
  color: #111;
}

/* ====== Бургер ====== */
.menu-toggle {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
  z-index: 110;
}
.menu-toggle span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #111;
  left: 0;
  transition: all 0.35s ease;
}
.menu-toggle span:nth-child(1){top:0;}
.menu-toggle span:nth-child(2){top:10px;}
.menu-toggle span:nth-child(3){top:20px;}
.menu-toggle.open span:nth-child(1){transform:rotate(45deg);top:10px;}
.menu-toggle.open span:nth-child(2){opacity:0;}
.menu-toggle.open span:nth-child(3){transform:rotate(-45deg);top:10px;}

/* ====== Главное меню ====== */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  text-decoration: none;
  color: #111827;
  font-weight: 500;
  padding: 12px 14px;
  transition: color .3s;
}

.main-menu > li > a:hover {
  color: #e60023;
}

/* ====== Бургер ====== */
.menu-toggle {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
  z-index: 110;
}
.menu-toggle span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #111;
  left: 0;
  transition: all 0.35s ease;
}
.menu-toggle span:nth-child(1){top:0;}
.menu-toggle span:nth-child(2){top:10px;}
.menu-toggle span:nth-child(3){top:20px;}
.menu-toggle.open span:nth-child(1){transform:rotate(45deg);top:10px;}
.menu-toggle.open span:nth-child(2){opacity:0;}
.menu-toggle.open span:nth-child(3){transform:rotate(-45deg);top:10px;}

/* ====== Главное меню ====== */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  text-decoration: none;
  color: #111827;
  font-weight: 500;
  padding: 12px 14px;
  transition: color .3s;
}

.main-menu > li > a:hover {
  color: #e60023;
}

/* ====== ВЫПАДАЮЩЕЕ МЕНЮ (ВНИЗ, КАК НА DOVGAN.DE) ====== */
.main-menu > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 15px 0;
  min-width: 280px;
  z-index: 100;
  opacity: 0;
  transform: translateY(10px);
  transition: all .25s ease;
}

.main-menu > li:hover > ul {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Категории (жирные, с разделителями) */
.main-menu > li > ul > li {
  list-style: none;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
}

.main-menu > li > ul > li:last-child {
  border-bottom: none;
}

.main-menu > li > ul > li > a {
  display: block;
  padding: 6px 20px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.main-menu > li > ul > li > a:hover {
  color: #e60023;
}

/* Подкатегории */
.main-menu > li > ul > li > ul {
  list-style: none;
  margin: 6px 0 0 0;
  padding: 0;
}

.main-menu > li > ul > li > ul li a {
  display: block;
  padding: 4px 30px;
  font-weight: 400;
  color: #444;
  text-decoration: none;
}

.main-menu > li > ul > li > ul li a:hover {
  color: #e60023;
}

/* ====== Мобильная версия ====== */
@media (max-width: 768px) {
  .menu-toggle {display:block;}
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 100;
  }
  .main-nav.open {display: flex;}

  .main-menu {
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }

  .main-menu li ul {
    position: static !important;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    display: none;
    opacity: 1;
    transform: none;
  }

  .main-menu li.open > ul {display: flex;}
}
/* ====== Главное меню ====== */

/* === Кнопка поиска (лупа) === */
.search-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: none !important;
  background: transparent !important;
  padding: 0;
  margin: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none !important;
}

.search-toggle svg {
  width: 22px;
  height: 22px;
  stroke: #111; /* чёрная лупа */
}

/* эффект при наведении */
.search-toggle:hover svg {
  opacity: 0.7;
}

/* === FOOTER (one-to-one from React look) === */
.site-footer{background:#0f172a;color:#fff}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:48px;
  padding:48px 0 28px;
  align-items: start;
}
@media (max-width:1024px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.footer-grid{grid-template-columns:1fr}}
.footer-desc{color:#9ca3af;margin:16px 0 12px;max-width:340px;line-height:1.5}

.footer-socials{display:flex;gap:16px;margin-top:8px}
.footer-socials .soc{color:#9ca3af;display:inline-flex}
.footer-socials .soc:hover{color:#fff}

.footer-col h3{font-weight:700;margin:0 0 14px;color:#fff;}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col ul li{margin:10px 0}
.footer-col ul li a{color:#9ca3af;text-decoration:none}
.footer-col ul li a:hover{color:#fff}

.footer-contact li{
  display:flex;align-items:center;gap:10px;color:#9ca3af;margin:10px 0
}
.footer-contact svg{flex:0 0 18px;color:#9ca3af}

.footer-bottom{border-top:1px solid #1f2937}
.footer-bottom-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:14px 0;color:#9ca3af
}
.footer-links{display:flex;gap:24px}
.footer-links a{color:#9ca3af;text-decoration:none}
.footer-links a:hover{color:#fff}

.site-footer .container{max-width:1280px;margin:0 auto;padding: 20px}
.footer-logo img {
  filter: grayscale(100%); /* ч/б */
  opacity: 0.8;           /* слегка тусклый */
  transition: filter 0.3s, opacity 0.3s;
  height: 60px;
}

.footer-logo img:hover {
  filter: none;  /* при наведении цветной */
  opacity: 1;
}


/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ef4444, #ec4899);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #dc2626, #db2777);
}
/* Custom scrollbar */

/* === About (О компании) === */
.about-section {
  padding: 72px 0;
  background: #f9fafb;
}

/* локально нейтрализуем шапочный flex у .container */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* ровно 50% / 50% */
  gap: 48px;
  align-items: start;
}

/* порядок строго: текст слева, картинка справа */
.about-content { order: 1; }
.about-image {
  order: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image .image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* квадрат */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.10);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* чтобы заполнял квадрат */
}

.about-eyebrow {
  color: #dc2626;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.about-title {
  font-size: clamp(28px, 4.5vw, 36px);
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
  line-height: 1.15;
}

.about-text {
  color: #4b5563;
  font-size: 18px;
  margin: 0 0 24px;
}

/* фичи */
.about-features { list-style: none; margin: 0 0 8px; padding: 0; }
.about-features li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 16px;
}
.about-features .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fee2e2; display: inline-flex; align-items: center; justify-content: center;
}
.about-features h3 { margin: 0 0 4px; font-weight: 700; color: #111827; }
.about-features p  { margin: 0; color: #6b7280; font-size: 14px; }

/* кнопки */
.about-buttons { display: flex; gap: 14px; margin-top: 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none;
  border: 1px solid #0000; transition: .2s ease;
}
.btn-primary { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-primary:hover { background: #b91c1c; border-color: #b91c1c; }
.btn-outline { border-color: #111; color: #111; background: #fff; }
.btn-outline:hover { background: #111; color: #fff; }

/* картинка + бейдж */
.stats-box {
  position: absolute; left: 24px; bottom: -18px;
  background: #fff; border-radius: 12px; padding: 18px 22px;
  display: flex; gap: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.stat-number { font-size: 24px; font-weight: 800; color: #dc2626; }
.stat-label  { font-size: 12px; color: #6b7280; }

/* адаптив */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-image { order: 2; }
  .stats-box   { position: static; margin-top: 12px; }
}
/* === about-section === */




/* Сетка основного блока товара */
.product-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 20px 0;
  color: #000;
}

.product-single hr {
 border-bottom: #e2e8f0;
}


@media (min-width: 1024px) {
  .product-single {
    grid-template-columns: 1fr 1fr;
    margin: 20px 0;
    color: #000;
  }
}

/* Галерея */
.product-gallery {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 1rem;
  overflow: hidden;
  background: #f9fafb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Миниатюры */
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.product-thumbs img {
  border-radius: 0.5rem;
  border: 2px solid transparent;
  transition: 0.2s;
}
.product-thumbs img:hover {
  border-color: #ef4444; /* красная рамка */
}

/* --- Контейнер продукта --- */
.product-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
  color: #111;
}

@media (min-width: 1024px) {
  .product-single {
    grid-template-columns: 1fr 1fr; /* 50/50 */
    align-items: start;
  }
}

/* --- Хлебные крошки --- */
.woocommerce-breadcrumb {
  font-size: 14px;
  margin-bottom: 1rem;
  color: #6b7280;
  padding: 10px;
}
.woocommerce-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

/* --- Галерея --- */
.product-gallery {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__wrapper img {
  width: 100%;
  height: auto;       /* чтобы не обрезалось */
  object-fit: contain; /* картинка целиком вписывается */
}

/* --- Заголовок и рейтинг --- */
.product-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: left !important;
}
.product-rating {
  margin-bottom: 1rem;
}

/* --- Цена --- */
.product-price {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 1rem;
}
.product-price del {
  color: #9ca3af;
  margin-left: 10px;
}
.product-price ins {
  color: #ef4444;
  text-decoration: none;
}

/* --- Meta --- */
.product-meta {
  margin: 1rem 0;
  font-size: 14px;
  color: #374151;
}
.product-meta p {
  margin: 0.3rem 0;
}

/* --- Кнопка --- */
.add-to-cart .single_add_to_cart_button {
  background: linear-gradient(to right, #ef4444, #ec4899);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  padding: 12px 20px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.add-to-cart .single_add_to_cart_button:hover {
  background: linear-gradient(to right, #dc2626, #db2777);
}

/* Сетка основного блока товара */



/* Табы блока */
.product-tabs {
  margin-top: 40px;
  margin-bottom: 60px;
}

.woocommerce-tabs {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 20px;
}

.woocommerce-tabs ul.tabs li {
  margin: 0 10px -2px 0;
  list-style: none;
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #374151;
  border-radius: 6px 6px 0 0;
  transition: all 0.2s ease;
}

.woocommerce-tabs ul.tabs li.active a {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-bottom: none;
  color: #ef4444;
}

/* Контент табов */
.woocommerce-Tabs-panel {
  padding: 20px;
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .woocommerce-tabs ul.tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .woocommerce-tabs ul.tabs li {
    margin: 0 0 10px 0;
  }

  .woocommerce-tabs ul.tabs li a {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
  }

  .woocommerce-tabs ul.tabs li.active a {
    border-color: #ef4444;
    background: #fff5f5;
  }
}

/* ====== Категория ====== */

.category-page{
  margin-bottom: 40px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  justify-items: center;
  margin-top: 20px;
}

/* ====== Карточка ====== */
.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* ====== Изображение ====== */
.product-thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  /*background: #f9fafb;*/
  height: 250px; /* фиксированная высота, одинаковая для всех */
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* сохраняем пропорции */
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

/* ====== Контент ====== */
.product-content {
  padding: 16px;
  flex-grow: 1; /* чтобы кнопка прижималась вниз */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

/* ====== Заголовок ====== */
.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px; 
}

/* ====== Кнопка ====== */
.button {
  background: linear-gradient(90deg, #ef4444, #ec4899);
  border-radius: 8px;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 0;
  display: block;
  width: 100%;
  text-align: center;
  transition: background 0.3s ease;
  text-decoration: none;
}

.button:hover {
  background: linear-gradient(90deg, #dc2626, #db2777);
}

/* ====== Адаптив ====== */
@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
/* ====== Категория ====== */



/* ====== Контакты (Dovgan España) ====== */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
}

.contact-left,
.contact-right {
  flex: 1 1 45%;
  min-width: 320px;
}

/* Левая часть */
.contact-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 12px;
  line-height: 1.5;
  color: #333;
}

.contact-info a {
  color: #e82b4b;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-info a:hover {
  color: #ff5575;
  text-decoration: underline;
}

/* Правая часть */
.contact-right {
  background: #fff;
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.contact-right:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.contact-right h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #222;
}

/* Стили формы Contact Form 7 */
.contact-right form p {
  margin-bottom: 18px;
}

.contact-right input[type="text"],
.contact-right input[type="email"],
.contact-right textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  background: #fafafa;
  transition: all 0.2s ease;
}

.contact-right input[type="text"]:focus,
.contact-right input[type="email"]:focus,
.contact-right textarea:focus {
  background: #fff;
  border-color: #f25b74;
  box-shadow: 0 0 0 2px rgba(242, 91, 116, 0.15);
  outline: none;
}

/* Кнопка отправки */
.contact-right input[type="submit"],
.contact-right button[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #f25b74, #ff7a95);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-right input[type="submit"]:hover {
  background: linear-gradient(135deg, #ff6a8d, #f44664);
  transform: translateY(-2px);
}

/* Метки */
.contact-right label {
  font-weight: 500;
  color: #333;
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

/* Сообщения Contact Form 7 */
.wpcf7-not-valid-tip {
  color: #d60000;
  font-size: 13px;
}

.wpcf7-response-output {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
  background: #e6fff0;
  border: 1px solid #b7ffce;
}

.wpcf7-response-output.wpcf7-validation-errors {
  background: #fff2f2;
  border: 1px solid #ffbaba;
}

/* Основной контейнер страницы, чтобы футер прижимался вниз */
.contact-page {
  flex: 1;
}

/* ====== Адаптив под мобильные ====== */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .contact-left,
  .contact-right {
    flex: 1 1 100%;
  }

  .contact-photo {
    max-height: 300px;
    object-fit: cover;
  }

  .contact-right {
    margin-top: 30px;
    text-align: left;
  }
}
/* ====== контакты ====== */


/* === PRODUCT CATEGORIES === */
section.product-categories {
  padding: 60px 0;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

section.product-categories .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section.product-categories h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

section.product-categories .subtitle {
  text-align: center;
  font-size: 18px;
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* GRID */
section.product-categories .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

/* CARD */
section.product-categories .card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

section.product-categories .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border-color: #d1d5db;
}

/* ICON */
section.product-categories .icon-box {
  padding: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
section.product-categories .card:hover .icon-box {
  transform: scale(1.05);
}

/* TEXT */
section.product-categories .text {
  margin-left: 16px;
  flex: 1;
}

section.product-categories .title {
  font-weight: 600;
  font-size: 18px;
  color: #111827;
  margin-bottom: 4px;
}

section.product-categories .desc {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 8px;
}

section.product-categories .count {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

/* === TAILWIND COLOR MAPPING === */
.bg-blue-100 { background-color: #dbeafe; }
.text-blue-600 { color: #2563eb; }

.bg-pink-100 { background-color: #fce7f3; }
.text-pink-600 { color: #db2777; }

.bg-orange-100 { background-color: #ffedd5; }
.text-orange-600 { color: #ea580c; }

.bg-green-100 { background-color: #dcfce7; }
.text-green-600 { color: #15803d; }

.bg-purple-100 { background-color: #ede9fe; }
.text-purple-600 { color: #7c3aed; }

.bg-yellow-100 { background-color: #fef9c3; }
.text-yellow-600 { color: #ca8a04; }

/* ADAPTIVE */
@media (max-width: 768px) {
  section.product-categories h2 { font-size: 26px; }
  section.product-categories .subtitle { font-size: 16px; margin-bottom: 32px; }
  section.product-categories .card { padding: 20px; }
}
/* === PRODUCT CATEGORIES === */


/* === FEATURED PRODUCTS ADVANCED === */
section.featured-products {
  padding: 100px 0;
 /*background: linear-gradient(145deg, #fff7f7 0%, #ffffff 40%, #f6f9ff 100%);*/
background-image: radial-gradient(
  circle farthest-corner at 50% 50%, 
  #fffff5 0%,              /* Теплый, сливочный белый (Центр) */
  #f3fff3 60%,              /* Очень нежный светло-зеленый */
  #ffffff 100%             /* Чистый белый (Края) */
);
}

.featured-products .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.featured-products .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.featured-products .header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #228a19;
  margin-bottom: 10px;
}

.featured-products .header p {
  color: #4b5563;
  font-size: 17px;
}

.featured-products .btn-outline {
  border: 1px solid #228a19;
  color: #228a19;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.featured-products .btn-outline:hover {
  background: #228a19;
  color: #fff;
}

/* GRID */
.featured-products .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* CARD */
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* IMAGE */
.image-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover img {
  transform: scale(1.05);
}

/* BADGE */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}
.badge-red { background: #e63946; }

/* ICONS */
.hover-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .hover-icons { opacity: 1; }

.wishlist-btn {
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.wishlist-btn:hover { background: #e63946; color: #fff; }

/* INFO */
.info {
  padding: 18px 16px 24px;
}
.info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}
.info .desc {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
}

/* RATING */
.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #111827;
  margin-bottom: 14px;
}
.rating .reviews { color: #6b7280; }

/* PRICE + BUTTON */
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price .current {
  font-size: 17px;
  font-weight: 700;
  color: #e63946;
}

.buy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e63946;
  color: #fff;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}
.buy-btn:hover { background: #c72e3b; }
