/*
Theme Name: MarketShoes.com.ua
Theme URI: https://obuv-plus.com.ua/
Description: Тема WordPress/WooCommerce для гуртового магазину взуття MarketShoes.com.ua — яскрава сучасна версія дизайну. Соковиті кольори, анімації, повна підтримка WooCommerce.
Version: 1.10.9
Author: Obuv Plus
Author URI: https://obuv-plus.com.ua/
Text Domain: obuvplus
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
WC requires at least: 6.0
Tags: e-commerce, woocommerce, shop, translation-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================
   ОБУВЬ ПЛЮС — яскрава тема
   Палітра:
     --green  #5fae00   яскравий зелений
     --teal   #00b894   бірюзовий
     --pink   #ff2e88   соковитий рожевий
     --orange #ff9f1c   помаранчевий (акценти, бейджі)
      --violet #7b2ff7   фіолетовий (фони/меню)
     --dark   #1e2158   темно-синій
     --lightbg #eafff4  світло-м'ятний фон
   ========================================================= */

:root {
  --green: #5fae00;
  --green-dark: #4a8a00;
  --teal: #00b894;
  --pink: #ff2e88;
  --pink-dark: #e01170;
  --pink-light: #ff6aa5;
  --orange: #ff9f1c;
  --violet: #7b2ff7;
  --dark: #1e2158;
  --dark-line: #3a3e85;
  --lightbg: #eafff4;
  --text: #2b2b3a;
  --text-mut: #5a5a6e;
  --border: #ececf4;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(31, 33, 88, .10);
  --grad: linear-gradient(120deg, var(--green) 0%, var(--teal) 100%);
  --grad-pink: linear-gradient(120deg, var(--pink) 0%, #ff7a2f 100%);
  --grad-menu: linear-gradient(90deg, var(--violet) 0%, var(--pink) 55%, var(--orange) 130%);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Nunito Sans', 'Roboto', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: #f7f9ff;
  letter-spacing: .1px;
}

img { max-width: 100%; height: auto; }
a { color: var(--pink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--pink-dark); }
h1, h2, h3, h4, h5 { font-family: 'Montserrat', 'Roboto', sans-serif; color: var(--dark); line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 15px; }
.clear-both { clear: both; }
.align-center { text-align: center; }
.float-left { float: left; }
.float-right { float: right; }
.colored { color: var(--pink); }

/* ---------------------------------------------------------
   ВЕРХНЯ ПАНЕЛЬ
--------------------------------------------------------- */
#top-fixed {
  background: var(--violet);
  color: #fff;
}
#top-fixed .wrap { display: flex; align-items: center; justify-content: space-between; }
#top-fixed .top-fixed-right { border-left: 1px solid #000; padding-left: 12px; }
#top-fixed .top-fixed-center { display: flex; align-items: center; gap: 12px; border-left: 1px solid #000; border-right: 1px solid #000; padding: 0 14px; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
#top-fixed .top-fixed-center > span + span { border-left: 1px solid #000; padding-left: 12px; }
.top-fixed-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.top-fixed-menu > li { position: relative; }
.top-fixed-menu > li + li { border-left: 1px solid #000; }
.top-fixed-menu > li > a {
  display: block;
  color: #fff;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.top-fixed-menu > li > a:hover,
.top-fixed-menu > li:hover > a { background: rgba(255,255,255,.18); color: #fff; border-radius: 8px; }
.top-fixed-menu .indicator {
  display: inline-block;
  min-width: 19px;
  padding: 0 5px;
  background: #fff;
  color: var(--pink);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  margin-left: 4px;
}
.top-fixed-menu .cart-total { font-weight: 700; }
.top-fixed-right .currency-widget { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.currency-widget b { color: #ffd400; font-weight: 800; }
.fly-popup {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 200;
  width: 280px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.has-popup:hover .fly-popup { display: block; }
.fly-popup .empty-field { padding: 18px; color: #999; text-align: center; }

/* ---------------------------------------------------------
   ХЕДЕР
--------------------------------------------------------- */
#header { background: #fff; }
#header .header-bottom { background: var(--lightbg); padding: 18px 0 20px; }
.header-type { display: flex; align-items: center; justify-content: center; gap: 32px; }
.header-type .logo { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-width: 0; }
.header-type .logo .brand { flex: 0 0 auto; text-decoration: none; }
.header-type .logo .brand-name { font-size: clamp(30px, 4vw, 60px); letter-spacing: -1px; white-space: nowrap; vertical-align: middle; }
.brand-tagline-row { display: flex; align-items: center; justify-content: flex-start; gap: 24px; padding-top: 10px; }
.brand-tagline-row .logo-img { flex: 0 0 auto; line-height: 0; }
.brand-tagline-row .logo-img img { width: clamp(110px, 12vw, 220px); height: clamp(110px, 12vw, 220px); object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: var(--shadow); display: block; }
.brand-tagline-row .brand-center { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-width: 0; }
.brand-tagline-row .brand-center .brand-name { font-size: clamp(34px, 4.5vw, 64px); }
.brand-tagline-row .brand-tagline { text-align: center; font-size: clamp(12px, 1.5vw, 22px); color: #4d0015; }
.search-row { display: flex; justify-content: center; padding-top: 16px; }
.search-row .search { flex: 1 1 auto; max-width: 640px; }
.search-row .search form { max-width: none; }
.tagline-row { display: flex; align-items: center; justify-content: center; gap: 40px; padding-top: 14px; flex-wrap: wrap; }
.tagline-row .header-bl-2 { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tagline-row .header-bl-2 .phone,
.tagline-row .header-bl-2 .email,
.tagline-row .header-bl-2 .workhours { font-size: 17px; color: #4d0015; font-weight: 700; }
.tagline-row .header-bl-2 .phone.colored { color: #4d0015; }
.tagline-row .social-buttons { display: inline-flex; gap: 8px; margin-top: 0; }
.tagline-row .social-btn { width: 48px; height: 48px; }
.tagline-row .social-btn svg { width: 28px; height: 28px; }
.brand-name {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  white-space: nowrap;
  background: linear-gradient(100deg, #5fae00 0%, #00b894 25%, #ff2e88 50%, #7b2ff7 75%, #5fae00 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: msp-shimmer 7s linear infinite;
}
.brand-name .tld {
  background: linear-gradient(100deg, #ff2e88 0%, #ff7a2f 50%, #ff2e88 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: msp-shimmer 3.5s linear infinite;
}
@keyframes msp-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.brand-tagline-row .brand-tagline {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.3;
  white-space: nowrap;
  color: #4d0015;
}

/* Соцкнопки біля пошти */
.social-buttons { display: inline-flex; gap: 8px; margin-top: 8px; justify-content: center; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,.16);
}
.social-btn svg { width: 36px; height: 36px; }
.social-btn.viber { background: linear-gradient(135deg, #7b519d, #5d3a8c); }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn:hover { transform: translateY(-2px) scale(1.07); box-shadow: 0 8px 16px rgba(0,0,0,.22); }

@media (max-width: 767px) {
  .top-fixed-center { display: none; }
  .header-type { justify-content: center; gap: 14px; flex-wrap: wrap; }
  .header-type .logo .brand-name { font-size: clamp(20px, 6vw, 34px); letter-spacing: 0; }
  .brand-tagline-row { flex-direction: row; justify-content: center; gap: 8px; }
  .brand-tagline-row .logo-img img { width: 80px; height: 80px; }
  .brand-tagline { white-space: normal; text-align: center; font-size: clamp(12px, 3vw, 16px); }
  .tagline-row { gap: 14px; justify-content: center; }
  .tagline-row .header-bl-2 { justify-content: center; gap: 10px; }
  .search-row { justify-content: center; }
  .search-row .search { max-width: 100%; }
}

/* ---------------------------------------------------------
   ПОШУК
--------------------------------------------------------- */
.search form { display: flex; max-width: 640px; margin: 0 auto; }
.search-input-field {
  flex: 1;
  border: 1px solid #d8d8e8;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 14px 0 0 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  background: #fff;
  height: 30px;
}
.search-input-field:focus { border-color: var(--pink); }
.search-submit {
  border: none;
  background: var(--grad-pink);
  color: #fff;
  width: 32px;
  height: 30px;
  border-radius: 0 14px 14px 0;
  cursor: pointer;
  font-size: 12px;
}
.search-submit::before { content: '🔍'; font-size: 12px; }
.search-button { display: none; }

/* ---------------------------------------------------------
   ГОРИЗОНТАЛЬНЕ МЕНЮ
--------------------------------------------------------- */
#horizontal-menu {
  background: var(--violet);
  position: relative;
  z-index: 50;
}
#horizontal-menu ul { list-style: none; margin: 0; padding: 0; }
#horizontal-menu .categories-list { display: flex; flex-wrap: wrap; }
#horizontal-menu .categories-list > li + li > a { border-left: 1px solid #fff; }
#horizontal-menu .categories-list > li > a {
  display: block;
  color: #fff;
  padding: 13px 18px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .3px;
}
#horizontal-menu .categories-list > li > a:hover,
#horizontal-menu .categories-list > li.selected > a { background: #fff; color: var(--pink); }
#horizontal-menu .categories-list .dropdown,
#horizontal-menu .categories-list .sub-menu {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 230px;
  z-index: 120;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
#horizontal-menu .categories-list > li { position: relative; }
#horizontal-menu .categories-list > li:hover .dropdown,
#horizontal-menu .categories-list > li:hover .sub-menu { display: block; }
#horizontal-menu .dropdown li a,
#horizontal-menu .sub-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
#horizontal-menu .dropdown li a:hover,
#horizontal-menu .sub-menu li a:hover { color: var(--pink); background: #fff5fa; }
.mobile-menu, .mobile-categories-block { display: none; }

/* ---------------------------------------------------------
   ОСНОВНИЙ КОНТЕНТ
--------------------------------------------------------- */
.content { display: flex; gap: 28px; padding: 28px 0 46px; align-items: flex-start; }
.sidebar { flex: 0 0 260px; min-width: 260px; }
.sidebar .h3, .sidebar h3 {
  background: var(--grad);
  color: #fff;
  margin: 0 0 1px;
  padding: 13px 16px;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: var(--radius) var(--radius) 0 0;
}
.sidebar ul.menu-v, .sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar ul li { border-bottom: 1px solid var(--border); }
.sidebar ul li a { display: block; padding: 10px 16px; color: var(--text); }
.sidebar ul li a:hover { background: var(--lightbg); color: var(--pink); }
.sidebar ul li.current-cat > a, .sidebar ul li.current-cat-parent > a { color: var(--pink); font-weight: 600; background: #fff5fa; }
.sidebar ul.children { margin-left: 16px; border: none; }
.sidebar .widget { margin-bottom: 18px; }
.sidebar .widget-title {
  color: #fff;
  background: var(--grad);
  padding: 13px 16px;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 0 1px;
  border-radius: var(--radius) var(--radius) 0 0;
  font-weight: 700;
}

.main-content { flex: 1; min-width: 0; }
.main-content h1 { font-size: 26px; margin: 0 0 18px; color: var(--dark); }
.breadcrumbs { font-size: 12px; color: #999; margin: 12px 0; }
.breadcrumbs a { color: var(--pink); }
.breadcrumbs .sep { padding: 0 6px; color: #ccc; }

/* ---------------------------------------------------------
   СЛАЙДЕР / БАНЕР
--------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero .slides { display: flex; transition: transform .8s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.hero.s0 .slides { transform: translateX(0); }
.hero.s1 .slides { transform: translateX(-100%); }
.hero.s2 .slides { transform: translateX(-200%); }
.hero.s3 .slides { transform: translateX(-300%); }
.hero.s4 .slides { transform: translateX(-400%); }
.hero.s5 .slides { transform: translateX(-500%); }
.hero.s6 .slides { transform: translateX(-600%); }
.hero .slide {
  position: relative;
  flex: 0 0 100%;
  padding: 52px 48px;
  min-height: 300px;
  background-color: #ffffff;
  background-position: calc(100% - 48px) center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}
.hero .slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.25) 72%, rgba(255,255,255,0) 100%);
}
.hero .slide-text { position: relative; z-index: 2; max-width: 55%; }
.hero .slide h2 { font-size: 32px; margin: 0 0 12px; color: var(--dark); font-weight: 800; }
.hero .slide p { font-size: 16px; color: #555; max-width: 520px; }
.hero .slide .btn {
  display: inline-block;
  margin-top: 16px;
  background: var(--grad);
  color: #fff;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.hero .slide .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.26); }
.hero .dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.hero .dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(60,60,90,.35);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.hero .dots span.active { background: var(--dark); transform: scale(1.25); }

/* ---------------------------------------------------------
   БЛОКИ КАТЕГОРІЙ
--------------------------------------------------------- */
.cat-blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0; }
.cat-block {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-block:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31,33,88,.18); }
.cat-block .thumb {
  display: block;
  height: 150px;
  background: #fff;
  overflow: hidden;
}
.cat-block .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-block .name {
  display: block;
  text-align: center;
  color: #fff;
  background: var(--violet);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 16px 10px;
}
@media (max-width: 900px) { .cat-blocks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-blocks { grid-template-columns: 1fr; } }

.section-title {
  font-size: 22px;
  color: var(--dark);
  margin: 34px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after { content: ''; flex: 1; height: 3px; border-radius: 2px; background: var(--grad-pink); }
.home-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.home-cat {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  padding: 18px;
  color: var(--text);
  box-shadow: 0 3px 12px rgba(31,33,88,.05);
  transition: transform .18s, box-shadow .18s;
}
.home-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--pink); border-color: var(--pink); }
.home-cat .thumb { height: 140px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.home-cat .thumb img { transition: transform .25s; }
.home-cat:hover .thumb img { transform: scale(1.06); }
.home-cat .name { font-weight: 600; margin-top: 10px; }

.advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0; }
.advantage {
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px 16px;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(31,33,88,.05);
}
.advantage .big { font-size: 30px; }
.advantage .title { font-weight: 700; color: var(--green-dark); }
.advantage .text { font-size: 13px; color: var(--text-mut); }

/* ---------------------------------------------------------
   СІТКА ТОВАРІВ
--------------------------------------------------------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(31,33,88,.05);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--pink); box-shadow: 0 14px 34px rgba(31,33,88,.16); }
.product-card .thumb { position: relative; display: block; overflow: hidden; border-radius: 8px; margin-bottom: 10px; }
.product-card .thumb img { width: 100%; height: auto; transition: transform .25s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card h5 { font-size: 13px; margin: 0 0 6px; line-height: 1.35; font-weight: 600; }
.product-card h5 a { color: var(--text); }
.product-card h5 a:hover { color: var(--pink); }
.product-card .price { font-size: 19px; font-weight: 800; color: var(--pink); margin: 4px 0 10px; }
.product-card .price del { color: #aaa; font-weight: 400; font-size: 13px; margin-right: 6px; }
.product-card .btn-add {
  display: block;
  background: var(--grad);
  color: #fff;
  padding: 10px 0;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(95,174,0,.35);
}
.product-card .btn-add:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(95,174,0,.45); color: #fff; }
.product-card .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}
.product-card .badge.sale { background: var(--orange); }
.product-card .badge.new { background: var(--green); }
.product-card .sku { font-size: 11px; color: #999; }

.woocommerce-result-count, .woocommerce-ordering { margin: 0 0 16px; color: var(--text-mut); }
.woocommerce-ordering select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; background: #fff; }

/* пагінація */
.pagination, .woocommerce-pagination { margin: 30px 0; text-align: center; }
.pagination .page-numbers, .woocommerce-pagination .page-numbers {
  display: inline-block;
  padding: 9px 14px;
  margin: 0 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
}
.pagination a:hover, .pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------------------------------------------------------
   ТОВАР
--------------------------------------------------------- */
.product-page { display: flex; gap: 36px; align-items: flex-start; }
.product-page .gallery { flex: 0 0 380px; }
.product-page .gallery img { border-radius: var(--radius); border: 1px solid var(--border); }
.product-page .info { flex: 1; min-width: 0; }
.product-page .info h1 { font-size: 26px; margin: 0 0 8px; }
.product-page .info .sku-line { color: #999; font-size: 13px; margin-bottom: 12px; }
.product-page .price-block .price { font-size: 34px; font-weight: 800; color: var(--pink); }
.product-page .price-block .price del { color: #aaa; font-size: 18px; }
.product-summary {
  background: var(--lightbg);
  border-radius: var(--radius);
  padding: 20px;
  margin: 18px 0;
  border: 1px solid #d8f5e8;
}
.product-summary form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.product-summary .qty {
  width: 74px;
  padding: 10px;
  border: 2px solid #e3e3f0;
  border-radius: 24px;
  font-family: inherit;
  font-size: 14px;
  text-align: center;
}
.product-summary .single_add_to_cart_button {
  background: var(--grad-pink);
  border: none;
  color: #fff;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255,46,136,.35);
}
.product-summary .single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,46,136,.45); }
.product-summary .stock.in-stock { color: var(--green-dark); font-weight: 600; }
.product-summary .stock.out-of-stock { color: #d63031; font-weight: 600; }
.product-attributes { margin: 22px 0; }
.product-attributes table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 3px 12px rgba(31,33,88,.05); }
.product-attributes th, .product-attributes td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.product-attributes th { background: var(--lightbg); width: 40%; color: var(--dark); font-weight: 700; }
.product-attributes tr:nth-child(even) td { background: #fafbff; }
.product-page .tabs { margin: 28px 0 0; }
.product-page .tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.product-page .tabs ul li a {
  display: block;
  padding: 11px 22px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 24px;
  font-weight: 600;
}
.product-page .tabs ul li.active a, .product-page .tabs ul li a:hover { background: var(--grad-pink); color: #fff; border-color: transparent; }
.product-page .tabs .panel { padding: 20px 2px; }

.related h2 { font-size: 22px; margin: 36px 0 18px; }

/* ---------------------------------------------------------
   ГАЛЕРЕЯ
--------------------------------------------------------- */
.woocommerce-product-gallery { position: relative; background: #fff; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .woocommerce-product-gallery__image { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.woocommerce-product-gallery .woocommerce-product-gallery__image img { width: 100%; }
.woocommerce-product-gallery .flex-control-thumbs {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 76px; }
.woocommerce-product-gallery .flex-control-thumbs li img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  opacity: .7;
}
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active { opacity: 1; border-color: var(--pink); }

/* ---------------------------------------------------------
   СТОРІНКИ
--------------------------------------------------------- */
.post, .page-content { line-height: 1.7; }
.post h2 { font-size: 20px; }
.btn, .button, button, input[type='submit'], input[type='button'] {
  background: var(--grad-pink);
  border: none;
  color: #fff;
  padding: 11px 22px;
  border-radius: 24px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover, .button:hover, button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(255,46,136,.35); color: #fff; }
input[type='text'], input[type='search'], input[type='email'], input[type='password'], input[type='tel'], input[type='number'], select, textarea {
  border: 2px solid #e3e3f0;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  border-radius: 10px;
  background: #fff;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--pink); }
.entry-meta { color: #999; font-size: 12px; margin-bottom: 14px; }
.comments-area { margin-top: 30px; }

/* ---------------------------------------------------------
   КОШИК / ОФОРМЛЕННЯ
--------------------------------------------------------- */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 3px 12px rgba(31,33,88,.05); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; }
.woocommerce table.shop_table th { background: var(--lightbg); color: var(--dark); }
.woocommerce .cart_totals { background: var(--lightbg); padding: 18px; border-radius: var(--radius); }
.woocommerce .checkout-button.button { background: var(--grad); color: #fff; font-size: 16px; font-weight: 800; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row input, .woocommerce form .form-row select, .woocommerce form .form-row textarea { width: 100%; }
.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
  padding: 14px 18px;
  margin: 0 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  list-style: none;
}
.woocommerce .woocommerce-message { background: #f0fbe9; border-color: var(--green); }
.woocommerce .woocommerce-info { background: #eef4ff; border-color: #bcd2ff; }
.woocommerce .woocommerce-error { background: #fff0f0; border-color: #f5b8b8; }

/* ---------------------------------------------------------
   SEO-ТЕКСТ ПЕРЕД ПІДВАЛОМ
--------------------------------------------------------- */
.seo-text {
  background: var(--lightbg);
  border-top: 1px solid var(--border);
  padding: 42px 0 46px;
}
.seo-text .wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  color: #4a4a5a;
  font-size: 15px;
  line-height: 1.75;
  text-align: center;
}
.seo-text h2 {
  font-family: 'Comfortaa', cursive, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin: 0 0 16px;
}
.seo-text h3 {
  font-family: 'Comfortaa', cursive, sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
  margin: 30px 0 10px;
  text-align: center;
}
.seo-text p { margin: 0 0 12px; text-align: center; }
.seo-text ul { margin: 0 0 14px 22px; list-style: disc; display: inline-block; text-align: left; }
.seo-text li { margin: 0 0 6px; }
.seo-text .seo-note {
  font-weight: 700;
  color: var(--dark);
  margin-top: 16px;
}

/* ---------------------------------------------------------
   ПІДВАЛ
--------------------------------------------------------- */
.footer {
  background: var(--lightbg);
  color: #4a1d8f;
  padding: 44px 0 30px;
}
.footer-center { max-width: 1000px; margin: 0 auto; }
.footer-brand { text-align: center; margin-bottom: 26px; }
.footer-brand .brand-name { font-size: 36px; letter-spacing: -1px; }
.footer-brand .brand-name .tld { background: linear-gradient(100deg, var(--pink) 0%, var(--pink-dark) 50%, var(--pink) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: msp-shimmer 3.5s linear infinite; }
.footer-brand .text-logo .flogo {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #2b2b3a;
  letter-spacing: .5px;
}
.footer-brand .text-logo .plus { color: var(--pink); }
.footer-brand .tagline { color: #5f27cd; font-size: 13px; margin: 8px 0 0; }
.footer-cols {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}
.footer-col { min-width: 200px; }
.footer .h5 { color: #2b2b3a; font-size: 14px; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; letter-spacing: .5px; }
.footer ul.menu-v { list-style: none; margin: 0; padding: 0; }
.footer ul.menu-v li { margin-bottom: 9px; }
.footer ul.menu-v li a { color: #4a1d8f; }
.footer ul.menu-v li a:hover { color: var(--pink-dark); }
.footer ul.contacts li { color: #4a1d8f; }
.footer ul.contacts i { margin-right: 6px; color: var(--pink); }
.footer .colored { color: var(--pink); }
.footer .payment-block { margin-bottom: 12px; }
.footer .payment-block ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.footer .payment-icon {
  display: inline-block;
  background: #fff;
  color: var(--dark);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}
.footer .delivery-text { font-size: 13px; color: #5f27cd; margin: 0; }
.footer-bottom { border-top: 1px solid #d8ccf0; margin-top: 30px; padding-top: 20px; text-align: center; }
.footer .copyright { font-size: 13px; color: var(--text-mut); }

/* ---------------------------------------------------------
   СТОРІНКА «ЯК ЗАМОВИТИ»

.how-to-order { background: var(--lightbg); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-bottom: 30px; }
.how-to-order > h1 { margin-top: 0; color: var(--violet); }
.how-to-order-intro { background: #ffffff; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 20px; }
.how-to-order-intro h2 { margin-top: 0; }
.how-to-order-step { background: #ffffff; border-radius: var(--radius); padding: 18px 24px; margin-bottom: 16px; border-left: 4px solid var(--violet); }
.how-to-order-step h3 { margin-top: 0; color: var(--violet); }
.how-to-order-step ul { margin: 10px 0; padding-left: 20px; }
.how-to-order-step li { margin-bottom: 6px; }
.how-to-order-step p:last-child { margin-bottom: 0; }
/* ---------------------------------------------------------
   АДАПТИВНІСТЬ
--------------------------------------------------------- */
@media (max-width: 985px) {
  .hero .slide { background-position: center center !important; background-size: contain !important; }
  .hero .slide::before { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.45) 100%); }
  .hero .slide-text { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero .slide p { margin-left: auto; margin-right: auto; }
  .content { flex-direction: column; }
  .sidebar { flex: 1 1 auto; min-width: 0; width: 100%; }
  .products-grid, .home-cats, .advantages { grid-template-columns: repeat(2, 1fr); }
  .product-page { flex-direction: column; }
  .product-page .gallery { flex: 1 1 auto; }
  .mobile-categories-block { display: block; }
  #horizontal-menu .categories-list > li:not(.first) { display: none; }
  .top-fixed-menu > li > a span { display: none; }
}
@media (max-width: 600px) {
  .products-grid, .home-cats, .advantages { grid-template-columns: 1fr; }
  .hero .slide { padding: 34px 24px; }
  .hero .slide h2 { font-size: 24px; }
}
