body {
  width: 100%;
  overflow-x: hidden;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  background: #fafbfa;
  margin: 0;
  color: #2D3741;
}
/* === Header quick links menu === */
.menu-panel {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2001;
  width: min(88vw, 300px);
  background: #ffffff;
  color: #2D3741;            /* узгоджено з вашим футером */
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  padding: 10px 8px;
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 4px;
}
.menu-list li { margin: 0; }
.menu-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  font: 500 15px/1.3 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.menu-list a:hover,
.menu-list a:focus {
  background: #f2f5f7;
  outline: none;
}
.menu-sep {
  height: 1px;
  margin: 6px 8px;
  background: #e6eaed;
}

/* напівпрозорий фон */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.25);
}

/* опційно: покращити вигляд самої кнопки меню */
.menu-btn[aria-expanded="true"] {
  background: #f2f5f7;
  outline: 2px solid #e6eaed;
  border-radius: 10px;
}
header {
  background: #fff;
  border-bottom: 2px solid #e5e5e5;
  padding: 0;
}
.header-content {
  display: flex;
  justify-content: space-between;
  padding: 28px 32px 14px 32px;
}
.header-content h1 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.1rem;
  margin: 0;
  color: #2D3741;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.subtitle {
  font-family: 'Dancing Script', cursive;
  color: #B9B09B;
  font-size: 1.5rem;
  margin-top: 5px;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-btn, .menu-btn {
  background: #f5f5f2;
  border: none;
  padding: 9px 18px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}
.menu-btn {
  font-size: 1.35rem;
  padding: 8px 15px;
}

.hero {
  background: #ede9e2;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  border-radius: 0 0 8px 8px;
  width: 100%; 
  display: flex;
  align-items: flex-start;
  padding: 44px 32px 44px 32px;
  gap: 56px;
  box-sizing: border-box;
}
.hero-logo {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  align-items: left;
  object-fit: contain;
  background: #ded7c0;
  border-radius: 6px;
  box-shadow: 0 2px 16px #00000010;
  flex-shrink: 0;
}
.hero-content {
  flex: 1;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  min-width: 0;
}
.hero-content h2 {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 2.7rem;
  margin: 0 0 19px 0;
  color: #2D3741;
  font-weight: bold;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-content .bold {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
}
.hero-content .divider {
  margin: 0 0.2em;
  font-size: 2.3rem;
  color: #b9b09b;
}
.hero-content .script {
  font-family: 'Dancing Script', cursive;
  color: #b9b09b;
  font-size: 2.2rem;
  font-weight: 700;
}
.hero-desc {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  color: #3E4551;
  margin-bottom: 32px;
  margin-top: 0;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-buttons button,
.hero-buttons a {
  min-width: 5px;
  font-size: 1.2rem;
  padding: 5px 28px;
  border-radius: 28px;
  border: 2px solid #2D3741;
  background: #2D3741;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: background .2s, color .2s, border .2s;
  font-family: inherit;
  text-decoration: none;
}
.hero-buttons .secondary-btn {
  background: none;
  color: #b9b09b;
  border: 2px solid #b9b09b;
}
.hero-buttons .outline-btn {
  background: none;
  color: #2D3741;
  border: 2px solid #2D3741;
}
.hero-buttons .secondary-btn:hover,
.hero-buttons .outline-btn:hover {
  background: #f1ede6;
}
.hero-buttons .primary-btn:hover {
  background: #1b2631;
}

/* Додаємо іконки окремо */
.icon-img {
  vertical-align: middle;
  margin-right: 7px;
}

.youtube-icon {
  width: 70px;
  height: 70px;
}

.coffee-icon {
  width: 44px;
  height: 56px;
}
.donate-banner {
  border-radius: 26px;
  max-width: 1590px;  /* або 95vw, або 1000px — як хочеш */
  margin: 60px auto 0 auto;
  box-sizing: border-box;
  text-align: center;
  padding: 42px 32px 54px 22px;
  background: #fff;
}

.donate-message {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  color: #254452;
  margin-bottom: 18px;
  font-weight: 500;
}

.donate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 12px;
}

.donate-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 28px;
  border: 3px solid #37404A;
  border-radius: 36px;
  background: #ede7db !important;
  color: #232931 !important;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none !important;
  transition: none !important; /* взагалі без ефектів */
}

.donate-btn:hover,
.donate-btn:focus,
.donate-btn:active {
  background: #ede7db !important;
  color: #232931 !important;
  box-shadow: none !important;
}

.donate-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.donate-note {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.8rem;
  color: #666;
  margin-top: 24px;
}
.about-section {
  transform: translateX(35px);
  border-radius: 26px;
  width: 100%;
  max-width: 1595px;
  margin-top: 60px;
  box-sizing: border-box;
  text-align: center;
  padding: 40px 40px 20px 40px;
  background: #fff;
}
.about-title {
  text-align: center !important; 
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2rem; /* менше, як ти хотіла */
  color: #2D3741;
  font-weight: bold;
  margin-bottom: 34px;
  margin-top: 0;
  white-space: normal;  /* дозволяє переносити рядки */
  overflow-x: visible;
}
.about-section h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  color: #2D3741;
  font-size: 2.5rem; /* менше, як ти хотіла */
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-description {
  color: #4B5A62;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;   /* більше, ніж заголовок, але не гігантський */
  margin: 0 auto 60px auto;
  width: 100%;
  display: block;
  text-align: center; /* щоб текст залишався в межах секції */
}
.about-values-section {
  width: 100%;
  padding: 0 0 16px 0;
  background: #fff; 
  margin-top: -28px; /* або прозорий, якщо секція без білого прямокутника */
}

.about-values {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.about-value {
  font-family: ui-sans-serif, system-ui, sans-serif;
  width: 260px;
  min-width: 180px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-value-icon {
  margin-bottom: 18px; /* було 32px */
}
.about-value-icon svg {
  width: 56px !important;   /* було 120px */
  height: 56px !important;
}

.about-value-title {
  font-size: 1.3rem;
  font-family: 'Georgia', serif;
  color: #2D3741;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.about-value-text {
  font-size: 1.2rem;
  color: #525a61;
  font-weight: 400;
  text-align: center;
  line-height: 1.3;
  max-width: 300px;
}
.about-pagination .custom-pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.lace-section { /* обмеження, щоб не вилітало за межі */
  margin: 0 auto 64px auto;  /* центрування */
  padding: 0px 32px 0 0; /* поля з боків */
  background: none;
}
.lace-section h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.5rem;   
  margin-top: 40px;
  width: 100%;
  display: block;
  text-align: center; 
}
.lace-section-description {
  font-size: 1.5rem;   
  font-family: ui-sans-serif, system-ui, sans-serif;
  width: 100%;
  margin-bottom: 32px;
  display: block;
  text-align: center; 
}

.lace-patterns-grid {
  display: grid;
  margin-bottom: 60px;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-left: 25px;
  padding-right: 3px;
  min-height: 700px;
  transition: min-height 0.2s;
}

.lace-pattern-card {
  background: #fefefe;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0002;
  padding: 18px 18px 18px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 350px;
  min-height: 400px;
}

.lace-pattern-card:hover {
  box-shadow: 0 8px 32px rgba(44, 50, 60, 0.13);
  transform: translateY(-4px) scale(1.015);
}

.lace-pattern-card img {
  width: 100%;
  max-width: 370px;
  border-radius: 10px;
  margin-bottom: 14px;
  object-fit: cover;
}

.lace-pattern-content {
  padding: 18px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lace-pattern-title {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  margin-bottom: 34px;
  color: #344148;
  margin-bottom: 5px;
  margin-top: 0px;
  letter-spacing: 0.01em;
}

.lace-pattern-desc {
  font-family: ui-sans-serif, system-ui, sans-serif;

  font-size: 1.3rem;
  color: #494f52;
  margin-bottom: 14px;
  flex: 1;
}

.lace-pattern-meta {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #293136;
  margin-bottom: 6px;
}

.etsy-btn {
  display: inline-block;
  background: #F56400;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: 'Georgia', 'Times New Roman', Times, serif; /* Etsy використовує Georgia для логотипу */
  font-weight: bold;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  box-shadow: 0 2px 9px rgba(246,100,0,0.07);
  cursor: pointer;
}
.etsy-btn:hover,
.etsy-btn:focus {
  background: #d45500;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(246,100,0,0.12);
  transform: translateY(-2px) scale(1.03);
}
.main-container {
  margin-top: 20px;
}
.lace-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: -30px;
  margin-bottom: 0; 
}
.lace-pagination button {
  font-size: 1.2em;      /* Розмір шрифту */
  padding: 12px 28px;    /* Внутрішні відступи: більше всередині */
  border-radius: 6px;    /* Округлені кути */
  border: none;          /* Без рамки */
  background: #F56400;  /* Яскравий фон (можеш обрати свій колір) */
  color: white;          /* Колір тексту */
  font-weight: bold;     /* Товстіші літери */
  cursor: pointer;
  transition: background 0.2s;
}
.lace-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.lace-pagination button:hover:not(:disabled) {
  background: hsl(20, 20%, 82%);   /* Трохи темніше при наведенні */
}
#lace-page-info {
  font-size: 1.2em; /* Розмір шрифту */
  font-weight: bold; /* Товстіші літери */
  color: #2D3741; /* Темний колір тексту */
  margin: 0 1em; /* Відступи між кнопками */
  display: inline-block; /* Розташування в лінію */
}
body {
  background: #f4f1eb;
  font-family: sans-serif;
  margin: 0;
}
.free-patterns-section {
  background: transparent;
  border-radius: 18px;
}
.vintage-grid-wrapper {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto 15px auto;
  display: flex;
  justify-content: center;
}

.free-patterns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  padding-left: 35px;
  padding-right: 35px;
  margin-bottom: 32px; /* Відступ до пагінації */
}
.free-patterns-section h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.5rem;
  padding-left: 0; /* Вирівняй, якщо не хочеш зміщення */
  text-align: center;
}

.free-patterns-section .on-the-house {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1em;
  color: #b9b09b;
  font-weight: 700;
}
.free-patterns-section .lace-pattern-title{
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
}
.free-patterns-description{
  font-size: 1.5rem;   
  font-family: ui-sans-serif, system-ui, sans-serif;
  display: block;
  text-align: center;
  padding-left: 55px;
  padding-right: 65px;
  margin-bottom: 32px;
}
.free-patterns-section .lace-pattern-content {
  padding: 18px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
}

.free-patterns-section .lace-pattern-card {
  background: #fff;
  border-radius: 14px;
  min-height: 170px;
  max-width: 380px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  box-shadow: 0 1px 6px #0001;
  margin: 0;
}

.free-patterns-section .badge-free {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #4a857e;
  color: #fff;
  font-size: 0.9em;
  padding: 0.18em 1em;
  border-radius: 1em;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 2px 6px #0001;
  letter-spacing: 1px;
}

.free-patterns-section .btn.primary {
  background: #3e4c5a;
  color: #fff;
  border-radius: 2em;
  padding: 0.7em 2em;
  font-size: 1.08em;
  border: none;
  display: inline-flex;
  align-items: center;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  margin-top: 18px;
}
.free-patterns-section .btn.primary:hover {
  background: #4a857e;
}

/* Пагінація */
.pagination-wrapper.free-pattern-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}
.pagination.custom-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

#free-prev-btn,
#free-next-btn {
  padding: 12px 24px;
  font-size: 1.3em;
  font-weight: 700;
  border: none;
  border-radius: 27px;
  color: #fff;
  background: #3e4c5a;
  cursor: pointer;
  transition: background 0.2s;
  outline: none;
}

#free-prev-btn:disabled,
#free-next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.free-pagination-page-info {
  font-family: ui-sans-serif, system-ui, sans-serif;
  min-width: 160px;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #2D3741;
  margin: 1em;
  display: inline-block;
}
.reviews-section {
  background: transparent;
  padding-top: 5 !important; 
}
.reviews-title {
  text-align: center;
}
.reviews-title h2 {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #2D3741;
  margin-bottom: 10px;
}
.reviews-subtitle {
  font-size: 1.8rem;
  color: #62646a;
  margin-bottom: 28px;
}
.reviews-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
  position: relative;
}
.reviews-slider {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  max-width: 900px;
  width: 100%;
  margin: 0 20px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 265px;
  overflow: visible;
}
.slider-arrow {
  background: #fff;
  border-radius: 50%;
  border: none;
  width: 48px;
  height: 48px;
  font-size: 2em;
  color: #38444c;
  box-shadow: 0 2px 6px #0002;
  cursor: pointer;
  z-index: 3;
  position: relative;
  transition: background 0.14s, box-shadow 0.14s;
}
.slider-arrow:active { background: #f2efd9;}
.slider-arrow:disabled { opacity: 0.3; cursor: not-allowed;}
.slider-arrow.left { margin-right: -2px;}
.slider-arrow.right { margin-left: -2px;}
.auto-label {
  position: absolute;
  right: 20px;
  top: 16px;
  background: #f1f0ea;
  border-radius: 6px;
  padding: 2px 12px;
  font-size: 0.95em;
  color: #777;
  font-family: ui-sans-serif, system-ui, sans-serif;
  pointer-events: none;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 16px; /* більша відстань між крапками, як на скріншоті */
  margin: 24px 0 36px 0;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d3d7db;        /* світло-сіра */
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: none;
  border: none;
}
.slider-dot.active {
  background: #243439;        /* темна, як на скріншоті */
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d3d7db;   /* зовнішнє світле кільце */
}
.reviews-actions {
  display: flex;
  justify-content: center;
  position: relative;
  top: -20px; 
}
.reviews-etsy-btn {
  background: #293336;
  color: #fff;
  border-radius: 28px;
  padding: 10px 12px;
  font-size: 1.16rem;
  font-weight: 600;
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background 0.14s;
}
.reviews-etsy-btn:hover { background: #42525b;}
.etsy-logo {
  font-family: serif;
  font-size:1.5em;
  margin-right:8px;
}
.external-link-icon {
  margin-left: 10px;
  vertical-align:middle;
}
.review-img {
  max-width: 800px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 2px 10px #0001;
  background: #fff;
  border: 1px solid #e3e3e2;
  margin: 0 auto;
  display: block;
}

.vintage-section {
  width: 100%;
  max-width: 1590px;
  margin: 0 auto;
  
  padding-top: -50;
}
.vintage-header {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  text-align: center;
  margin-bottom: 40px;
}
.vintage-header h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 16px;
}
.vintage-header-subtitle {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.vintage-header p {
  font-size: 1.35rem;
  color: #3d4852;
  margin-bottom: 28px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.vintage-stats {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 20px;
  font-size: 1.8rem;
}
.vintage-stats div {
  text-align: center;
  min-width: 120px;
}
.vintage-stats span {
  font-size: 2.1rem;
  font-weight: 700;
  color: #2d3b41;
}
.vintage-grid-wrapper {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto 15px auto;
  display: flex;
  justify-content: center;
}
.vintage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  padding-top: 25px;
  align-items: stretch;
}
.vintage-card {
  background: #fefefe;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0002;
  padding: 24px 18px 18px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 350px;
  min-height: 80px;

}
.vintage-card img {
  width: 100%;
  max-width: 370px;
  border-radius: 10px;
  margin-bottom: 14px;
  object-fit: cover;
}
.vintage-card h3 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1em;
  font-weight: 600;
  margin: 10px 0 4px 0;
  color: #28353f;
}

.vintage-card p {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8em;
  color: #3d4852;
  margin-bottom: 20px;
  min-height: 70px; /* для однакової висоти карток */
}
.vintage-buttons {
  display: flex;
  gap: 10px;
}
.vintage-btn {
  background: #714c41;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 0.75em;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 1px 4px #0001;    
  transition: background 0.1s;
}
.vintage-btn:hover {
  background: #b8a57c;
}
.vintage-pagination {
  font-family: Georgia, 'Times New Roman', Times, serif;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.9em;
  margin-top: 16px;
}
.color-magic-section {
  background: #f5f3e9;      /* або зменшити значення */
  padding-top: 0;
  margin-bottom: 60px;
}
.color-magic-header {
  text-align: center;
  max-width: 1400px;
  margin: 0 auto 40px auto;
}
.color-magic-header h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3b41;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.color-magic-header .script {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1em;
  color: #7e8a8e;
  font-style: italic;
}
.color-magic-header p {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.6rem;
  justify-content: center;
  color: #3d4852;
  margin-bottom: 0;
}

.color-magic-card {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 38px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 4px 40px #0002;
  padding: 42px 38px;
  align-items: flex-start;
}
.color-magic-builder {
  flex: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
}
.color-magic-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.launch-builder-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -370%);
  background: #fff;
  color: #25313B;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 12px #0002;
  font-size: 1.14em;
  font-weight: 500;
  padding: 12px 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 2;
  text-align: center;
}
.builder-image {
  width: 512px;
  height: 512px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 16px #0001;

  display: block;
}

.launch-builder-btn:hover {
  background: #dedede;
}
.builder-icon {
  font-size: 1.25em;
}

.color-magic-palettes {
  flex: 1;
  padding-left: 10px;
}
.color-magic-palettes h3 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #2d3b41;
}
.palette-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.palette-card {
  background: #f8f7f3;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0001;
  border: 1px solid #e9e7e7;
  padding: 14px 18px 8px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.palette-name {
  font-size: 1.08em;
  font-weight: 600;
  color: #2d3b41;
}
.palette-count {
  font-size: 0.97em;
  color: #7e8a8e;
  margin-left: auto;
  font-weight: 500;
}
.palette-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
}
.swatch {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #e0dede;
  box-shadow: 0 2px 6px #0001;
}
.more {
  font-size: 0.92em;
  color: #b8a57c;
  font-weight: 600;
  margin-left: 8px;
}

.palette-divider {
  margin: 24px 0 18px 0;
  border: none;
  border-top: 1px solid #e0dfdb;
}
.palette-coming-soon {
  font-size: 1.08em;
  color: #2d3b41;
}
.palette-coming-soon ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}
.palette-coming-soon li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  color: #3d4852;
  margin-bottom: 6px;
}
.palette-coming-soon .icon {
  font-size: 1.1em;
}

.support-section {
  width: 100%;
  background: #fff;
  padding: 10px 0 50px 0;
}
.support-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 56px;
  align-items: flex-start;
}
.support-text {
  flex: 1.2;
  min-width: 370px;
}
.support-text h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #23323a;
  margin-bottom: 0;
}
.support-text .script {
  font-family: 'Dancing Script', cursive; 
  font-size: 3rem;
  color: #7e8a8e;
  font-style: italic;
  margin-top: 0;       /* або зменшити значення */
  padding-top: 0; 
}
.support-text p {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.28rem;
  color: #3d4852;
  margin-bottom: 34px;
  margin-top: 10px;
}
.support-impact-card {
  background: #edece7;
  border-radius: 18px;
  padding: 20px 30px;
  box-shadow: 0 4px 24px #0001;
  margin-bottom: 28px;
  max-width: 410px;
}
.support-impact-title {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.12em;
  font-weight: 600;
  color: #23323a;
  margin-bottom: 14px;
}
.support-impact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  font-size: 1em;
  color: #3d4852;
}
.impact-icon {
  margin-right: 6px;
  font-size: 1.08em;
}
.support-buttons {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  margin-left: 35px;
}
.btn-icon-img {
  width: 40px;
  height: 40px;
  margin-right: 8px;
  vertical-align: middle;
  object-fit: contain; /* або cover, якщо треба обрізати */
  border-radius: 4px; /* якщо хочеш зробити злегка округлу іконку */
}
.support-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12em;
  font-weight: 500;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  border-radius: 24px;
  text-decoration: none;
  padding:12px 34px;
  border: 2px solid #23323a;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 1px 8px #0001;
  cursor: pointer;
}
.join-btn {
  background: #fff;
  color: #23323a;
}
.join-btn:hover {
  background: #edece7;
}
.btn-icon {
  font-size: 1.15em;
}
.support-image-wrap {
  flex: 1;
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  overflow: hidden;
  
  min-width: 350px;
}
.support-image {
  border-radius: 22px;
  max-width: 75%;
  height: auto;
  object-fit: cover;
  background: #eee;

}

.site-footer {
  background: #314146;
  color: #b2c0c4;
  padding: 56px 0 0 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.12em;
  margin-top: 100px;
}

/* Контейнер */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1590px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Колонки */
.footer-col {
  flex: 1 1 260px;
  min-width: 240px;
}
.footer-col.brand {
  flex: 2 1 420px;
  min-width: 320px;
}
.footer-col.follow {
  min-width: 260px;
}

/* Лого та заголовки */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7e6;
}
.footer-title {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: bold;
  color: #d3cfaf;
  font-size: 1.55em;
  margin-bottom: 7px;
}
.footer-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: 1.13em;
  color: #d0d7d2;
  margin-top: 0;
}
.footer-desc {
  margin-top: 18px;
  color: #b2c0c4;
  font-size: 1.05em;
  max-width: 480px;
}

/* Лінки списком */
.footer-heading {
  font-size: 1.18em;
  font-weight: bold;
  color: #d3cfaf;
  margin-bottom: 15px;
  margin-top: 0;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li { margin-bottom: 10px; }
.footer-list a {
  color: #b2c0c4;
  text-decoration: none;
  transition: color 0.13s;
}
.footer-list a:hover {
  color: #fffbe2;
  text-decoration: underline;
}

/* Соцмережі */
.footer-socials {
  display: flex;
  gap: 18px;
  margin: 12px 0 4px 0;
  flex-wrap: wrap;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #26353a;
  color: #fffbe2;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: background 0.18s, color 0.18s, transform 0.05s;
}
.footer-social:hover {
  background: #fffbe2;
  color: #26353a;
  transform: translateY(-1px);
}
.footer-social-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;             /* максимально заповнює коло */
  border-radius: 50%;            /* на випадок, якщо overflow відмінять інші стилі */
  transform: scale(var(--footer-social-scale));
  transform-origin: center;
}
.footer-social-desc {
  color: #b2c0c4;
  font-size: 1em;
  margin-top: 12px;
  max-width: 280px;
}

/* Розділювач і низ */
.footer-divider {
  border: none;
  border-top: 1.5px solid #46575b;
  margin: 36px 0 24px 0;
}
.footer-bottom {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 24px 30px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
  color: #b2c0c4;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-copy { color: #b2c0c4; }
.footer-links a {
  color: #b2c0c4;
  text-decoration: none;
  margin-left: 24px;
  font-size: 1.04em;
  transition: color 0.13s;
}
.footer-links a:first-child { margin-left: 0; }
.footer-links a:hover {
  color: #fefdf6;
  text-decoration: underline;
}

/* Мобільна адаптація */
@media (max-width: 700px) {
  .site-footer {
    font-size: 1rem;
    padding-top: 36px;
    margin-top: 60px;
  }
  .footer-main {
    padding: 0 16px;
    gap: 18px;
  }
  .footer-col,
  .footer-col.brand,
  .footer-col.follow {
    flex: 1 1 100%;
    min-width: 0;
  }
  .footer-logo-row {
    justify-content: center;
    text-align: center;
  }
  .footer-desc {
    max-width: none;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-social-desc {
    text-align: center;
    max-width: none;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
    padding: 0 16px 20px 16px;
  }
}

/* Планшети */
@media (min-width: 701px) and (max-width: 1024px) {
  .footer-main { gap: 20px 28px; }
}

/* Мобільна адаптація */
@media (max-width: 700px) {
  .site-footer {
    font-size: 1rem;
    padding-top: 36px;
    margin-top: 60px;
  }
  .footer-main {
    padding: 0 16px;
    gap: 18px;
  }
  .footer-col,
  .footer-col.brand,
  .footer-col.follow {
    flex: 1 1 100%;
    min-width: 0;
  }
  .footer-logo-row {
    justify-content: center;
    text-align: center;
  }
  .footer-desc {
    max-width: none;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-social-desc {
    text-align: center;
    max-width: none;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
    padding: 0 16px 20px 16px;
  }
}

/* Планшети */
@media (min-width: 701px) and (max-width: 1024px) {
  .footer-main { gap: 20px 28px; }
}
@media (max-width: 600px) {
  .color-builder-modal-content {
    min-width: 100vw;
    min-height: 100vh;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    padding: 0;
  }
  .color-builder-header {
    padding: 14px 4vw 10px 4vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .color-builder-main {
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: visible;
  }
  .cb-scheme-area {
    min-height: 220px;
    border-radius: 0;
    padding: 8px 2vw 2vw 2vw;
    border-width: 0 0 1px 0;
  }
  .cb-controls-area {
    border-radius: 0;
    min-width: 0;
    max-width: 100vw;
    padding: 12px 4vw;
    gap: 12px;
    font-size: 1em;
    overflow-y: visible;
  }
  .cb-bg-table {
    grid-template-columns: repeat(4, 38px);
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    margin-bottom: 8px;
  }
  .cb-bg-swatch {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .cb-label {
    font-size: 1em;
  }
  .cb-select {
    font-size: 1em;
    padding: 0.3em 0.8em;
    border-radius: 1em;
  }
  .cb-actions {
    gap: 8px;
  }
  .btn, #cb-paint-btn {
    width: 100%;
    font-size: 1.15em;
    padding: 0.7em 0;
  }
  .cb-shopping-list {
    margin-top: 8px;
    padding: 10px 10px;
    font-size: 1em;
  }
  .cb-shopping-list h4 {
    font-size: 1.05em;
    margin-bottom: 6px;
  }
}
@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    gap: 20px;
    padding: 24px 4vw 28px 4vw;
    align-items: center;
    border-radius: 0 0 8px 8px;
  }
  .hero-logo {
    width: 60vw;
    max-width: 240px;
    height: auto;
    margin-bottom: 16px;
    align-self: center;
  }
  .hero-content {
    width: 100%;
    min-width: 0;
    text-align: center;
  }
  .hero-content h2 {
    font-size: 2rem;
    gap: 7px;
    flex-direction: column;
    align-items: center;
  }
  .hero-content .script {
    font-size: 1.4rem;
  }
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 18px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 11px;
    align-items: center;
  }
  .hero-buttons button,
  .hero-buttons a {
    width: 100%;
    max-width: 340px;
    font-size: 1rem;
    padding: 8px 0;
    justify-content: center;
  }
  .youtube-icon {
    width: 36px;
    height: 36px;
  }
  .coffee-icon {
    width: 28px;
    height: 32px;
  }
}
@media (max-width: 700px) {
  .about-section {
    transform: none;
    padding: 24px 4vw 12px 4vw;
    margin-top: 30px;
    border-radius: 0;
    max-width: 100vw;
  }
  .about-title,
  .about-section h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    padding: 0 1vw;
    text-align: center;
  }
  .about-description {
    font-size: 1rem;
    margin-bottom: 28px;
    padding: 0 2vw;
    width: 100%;
  }
  .about-values-section {
    margin-top: 0;
    padding: 0;
  }
  .about-values {
    flex-direction: column;
    align-items: center;
    gap: 23px;
    max-width: 100vw;
    width: 100%;
  }
  .about-value {
    width: 95%;
    min-width: 0;
    max-width: 400px;
    margin: 0 auto;
    padding: 16px 0 8px 0;
  }
  .about-value-icon {
    margin-bottom: 8px;
  }
  .about-value-icon svg {
    width: 44px !important;
    height: 44px !important;
  }
  .about-value-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }
  .about-value-text {
    font-size: 0.97rem;
    max-width: 98vw;
    padding: 0 6vw;
  }
}@media (max-width: 700px) {
  .lace-section {
    padding: 0 2vw 0 2vw;
    margin: 0 auto 32px auto;
  }
  .lace-section h2 {
    font-size: 1.3rem;
    margin-top: 22px;
    margin-bottom: 16px;
    padding: 0 1vw;
  }
  .lace-section-description {
    font-size: 1rem;
    margin-bottom: 21px;
    padding: 0 2vw;
  }

  .lace-patterns-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 0;
    padding-right: 0;
    min-height: 0;
    margin-bottom: 30px;
  }
  .lace-pattern-card {
    min-width: 0;
    width: 100%;
    max-width: 99vw;
    min-height: 260px;
    padding: 12px 7px 18px 7px;
  }
  .lace-pattern-card img {
    max-width: 100%;
    margin-bottom: 9px;
    border-radius: 7px;
  }
  .lace-pattern-content {
    padding: 10px 3vw 8px 3vw;
  }
  .lace-pattern-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
  }
  .lace-pattern-desc {
    font-size: 0.98rem;
    margin-bottom: 7px;
  }
  .lace-pattern-meta {
    font-size: 0.97rem;
    margin-bottom: 3px;
  }
  .etsy-btn {
    padding: 8px 0;
    width: 100%;
    font-size: 1rem;
    border-radius: 7px;
  }
  .lace-pagination {
    margin-top: 0;
    gap: 5px;
    flex-direction: column;
  }
  .lace-pagination button {
    font-size: 1.05em;
    padding: 9px 0;
    min-width: 110px;
    width: 48vw;
    max-width: 230px;
    border-radius: 7px;
    margin: 0 0 6px 0;
  }
  #lace-page-info {
    font-size: 1.03em;
    margin: 0 0.5em;
  }
}
@media (max-width: 700px) {
  .free-patterns-section {
    border-radius: 0;
    padding: 0 2vw 0 2vw;
  }
  .free-patterns-section h2 {
    font-size: 1.3rem;
    padding: 0 1vw;
  }
  .free-patterns-description {
    font-size: 1rem;
    padding-left: 4vw;
    padding-right: 4vw;
    margin-bottom: 18px;
  }
  .free-patterns-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 18px;
  }
  .free-patterns-section .lace-pattern-card {
    max-width: 100vw;
    width: 100%;
    margin: 0 auto;
    min-height: 160px;
    padding: 8px 2vw;
    border-radius: 10px;
  }
  .free-patterns-section .badge-free {
    top: 7px;
    left: 7px;
    font-size: 0.8em;
    padding: 0.1em 0.7em;
  }
  .free-patterns-section .lace-pattern-content {
    padding: 8px 2vw 12px 2vw;
  }
  .free-patterns-section .lace-pattern-title {
    font-size: 1rem;
  }
  .free-patterns-section .lace-pattern-desc {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }
  .free-patterns-section .btn.primary {
    font-size: 1rem;
    padding: 0.6em 0;
    width: 100%;
    border-radius: 17px;
    margin-top: 11px;
    justify-content: center;
  }
  .pagination-wrapper.free-pattern-pagination {
    margin-top: 0;
    margin-bottom: 0;
  }
  #free-prev-btn,
  #free-next-btn {
    font-size: 1rem;
    padding: 8px 0;
    width: 44vw;
    max-width: 200px;
    border-radius: 13px;
    margin-bottom: 5px;
  }
  .free-pagination-page-info {
    font-size: 1em;
    min-width: 0;
    margin: 0 0.5em;
  }
}
/* ===== Color Magic: Mobile adaptations ===== */
@media (max-width: 700px) {
  .color-magic-section {
    margin-bottom: 32px;
    padding: 0 2vw 0 2vw;
    background: #f5f3e9;
  }

  .color-magic-header {
    margin: 0 auto 18px auto;
    padding: 0 2vw;
  }
  .color-magic-header h2 {
    font-size: 1.6rem;
    letter-spacing: 0;
    margin-bottom: 8px;
  }
  .color-magic-header .script {
    font-size: 1em;
  }
  .color-magic-header p {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .color-magic-card {
    flex-direction: column;
    gap: 16px;
    padding: 16px 12px;
    border-radius: 16px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.06);
  }

  .color-magic-builder {
    width: 100%;
    justify-content: center;
  }
  .color-magic-img-wrapper {
    padding: 10px;
    border-radius: 12px;
  }
  .builder-image {
    width: 100%;
    max-width: 92vw;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  }

  /* Переносимо кнопку рівно в центр зображення на мобільному */
  .launch-builder-btn {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* було translate(-50%, -370%) */
    font-size: 1rem;
    padding: 10px 16px;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  }

  .color-magic-palettes {
    padding-left: 0;
    width: 100%;
  }
  .color-magic-palettes h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    text-align: left;
    padding: 0 2vw;
  }
  .palette-list {
    gap: 10px;
  }
  .palette-card {
    padding: 10px 12px 8px 12px;
    border-radius: 10px;
  }
  .palette-name { font-size: 1rem; }
  .palette-count { font-size: 0.92rem; }
  .palette-row { gap: 6px; }
  .swatch {
    width: 18px;
    height: 18px;
  }
  .more {
    font-size: 0.88rem;
    margin-left: 6px;
  }

  .palette-divider {
    margin: 16px 0 12px 0;
  }
  .palette-coming-soon {
    font-size: 0.98rem;
  }
  .palette-coming-soon ul {
    padding: 0 2vw;
  }
}

/* Tablet tweaks (2-колонковий макет з комфортними відступами) */
@media (min-width: 701px) and (max-width: 1024px) {
  .color-magic-card {
    gap: 24px;
    padding: 28px;
    border-radius: 24px;
  }
  .builder-image {
    width: 420px;
    height: auto;
  }
  .launch-builder-btn {
    transform: translate(-50%, -55%);
  }
}
/* Tablet (2 колонки) */
@media (min-width: 701px) and (max-width: 1024px) {
  .vintage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .vintage-card { min-width: 0; }
}

/* Mobile */
@media (max-width: 700px) {
  .vintage-header {
    margin-bottom: 24px;
    padding: 0 2vw;
  }
  .vintage-header h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  .vintage-header-subtitle {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .vintage-header p {
    font-size: 0.98rem;
    margin-bottom: 14px;
  }

  .vintage-stats {
    gap: 14px;
    font-size: 1rem;
    flex-wrap: wrap;
    padding: 0 2vw;
  }
  .vintage-stats div {
    min-width: 0;
    flex: 1 1 45%;
  }
  .vintage-stats span {
    font-size: 1.2rem;
  }

  .vintage-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 10px;
  }
  .vintage-card {
    min-width: 0;
    width: 100%;
    padding: 12px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 12px #0001;
  }
  .vintage-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  .vintage-card h3 {
    font-size: 0.95rem;
    margin: 8px 0 4px 0;
  }
  .vintage-card p {
    font-size: 0.9rem;
    min-height: 0;
    margin-bottom: 12px;
  }

  .vintage-buttons {
    width: 100%;
    gap: 8px;
    justify-content: center;
  }
  .vintage-buttons .vintage-btn {
    flex: 1 1 48%;
    padding: 9px 12px;
    font-size: 0.95rem;
    border-radius: 10px;
    text-align: center;
  }

  .vintage-pagination {
    gap: 8px;
    font-size: 1rem;
    margin-top: 10px;
  }
  #vintage-prev,
  #vintage-next {
    padding: 9px 0;
    width: 44vw;
    max-width: 210px;
    border-radius: 12px;
  }
}
/* ===== Mobile (≤700px) ===== */
@media (max-width: 700px) {
  .support-content {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 0 2vw;
  }

  .support-text {
    min-width: 0;
  }

  .support-text h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .support-text .script {
    font-size: 1.25em;
  }

  .support-text p {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .support-impact-card {
    max-width: 100%;
    padding: 14px 14px;
    border-radius: 14px;
    box-shadow: 0 2px 12px #0001;
  }

  .support-impact-title {
    font-size: 1.02em;
    margin-bottom: 10px;
  }

  /* Зручне розміщення пунктів впливу в 2 колонки на мобільному */
  .support-impact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    font-size: 0.98rem;
  }

  .support-buttons {
    flex-direction: column;
    gap: 10px;
    margin-left: 0;   /* прибираємо зсув ліворуч */
    width: 100%;
  }

 и

  .btn-icon-img {
    width: 32px;
    height: 32px;
  }

  .support-image-wrap {
    min-width: 0;
    margin-top: 6px;
    border-radius: 12px;
  }

  .support-image {
    max-width: 100%;
    width: 100%;
    border-radius: 12px;
  }
}

/* ===== Tablet (701–1024px) ===== */
@media (min-width: 701px) and (max-width: 1024px) {
  .support-content {
    gap: 28px;
  }
  .support-text {
    min-width: 0;
  }
  .support-image-wrap {
    min-width: 0;
  }
  .support-text h2 {
    font-size: 2rem;
  }
  .support-text .script {
    font-size: 2.2rem;
  }
  .free-patterns-grid { grid-template-columns: repeat(2, 1fr); 
  }
  .lace-patterns-grid { grid-template-columns: repeat(2, 1fr); }
  .lace-pattern-card { min-width: 0; }
}

/* Fix: центр і симетрія для Lace на широких екранах */
@media (min-width: 1025px) {
  /* секція має однакові поля зліва/справа */
  .lace-section {
    padding-left: 24px;   /* було 0 */
    padding-right: 24px;  /* було 32px */
    margin-left: auto;
    margin-right: auto;
  }

  /* контейнер секції по центру і з обмеженням ширини */
  #lace-cards-container {
    max-width: 1800px;    /* як у vintage */
    margin-left: auto;
    margin-right: auto;
  }

  /* прибрати асиметрію всередині гріда */
  .lace-patterns-grid {
    padding-left: 0;      /* було 25px */
    padding-right: 0;     /* було 3px  */
    margin-left: auto;
    margin-right: auto;
    gap: 15px;            /* як у vintage-grid (можна лишити 20px, якщо подобається) */
  }
}

/* Щоб не було переливу при звуженні екрану */
@media (min-width: 1025px) and (max-width: 1399px) {
  .lace-patterns-grid { grid-template-columns: repeat(3, 1fr); }
  .lace-pattern-card { min-width: 0; } /* картки можуть звужуватися, не штовхаючи сітку */
}
/* ===== Wide screens only (≥1600px): alignment-only fixes ===== */
@media (min-width: 1600px) {
  /* About: прибираємо ручний зсув лише на дуже широких */
  .about-section {
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }

  /* Lace: симетричні поля секції + центрований контейнер і грід */
  .lace-section {
    padding-left: 24px;   /* було лише праворуч */
    padding-right: 24px;
  }
  #lace-cards-container {
    max-width: 1590px;    /* як у vintage */
    margin-left: auto;
    margin-right: auto;
  }
  .lace-patterns-grid {
    padding-left: 0;      /* прибираємо асиметрію всередині гріда */
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1590px;    /* центр на широких */
  }

  /* Free Patterns: центр гріда + симетрія опису */
  .free-patterns-grid {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1590px;
  }
  .free-patterns-description {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;      /* було 55px */
    padding-right: 0;     /* було 65px */
  }

  /* Global Map intro (лише якщо в HTML лишився 100vw/translate) */
  .global-map-section .global-map-desc {
    width: auto;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Support: без локального зсуву кнопок */
  .support-content {
    padding-left: 24px;
    padding-right: 24px;
  }
  .support-buttons {
    margin-left: 0;       /* було 35px */
  }
}
/* ===== iPad Pro 11" (2nd gen, 834×1194 @2x) – точкові правки ===== */

/* Portrait (834 × 1194) */
@media only screen
  and (device-width: 834px)
  and (device-height: 1194px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {

  /* симетричні “гаттери” з урахуванням safe-area */
  .about-section,
  .lace-section,
  .support-content,
  .free-patterns-grid,
  .vintage-grid,
  .color-magic-card,
  .footer-main {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    margin-left: auto;
    margin-right: auto;
  }

  /* сітки: 2 колонки — як на планшеті */
  .lace-patterns-grid { grid-template-columns: repeat(2, 1fr); }
  .free-patterns-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Landscape (1194 × 834) */
@media only screen
  and (device-width: 1194px)
  and (device-height: 834px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

  /* трохи ширші “гаттери”, центр всіх контейнерів */
  .about-section,
  .lace-section,
  .support-content,
  .free-patterns-grid,
  .vintage-grid,
  .color-magic-card,
  .footer-main {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    margin-left: auto;
    margin-right: auto;
  }

  /* сітки: 3 колонки — не тісно і без переливу */
  .lace-patterns-grid { grid-template-columns: repeat(3, 1fr); }
  .free-patterns-grid { grid-template-columns: repeat(3, 1fr); }

  /* перестраховка проти переливу від мін-ширини карток */
  .lace-pattern-card { min-width: 0; }
}

/* (за потреби) Якщо тестуєш у девтулзах і device-запити не спрацьовують,
   можна дублювати лендскейп-налаштування ширинним запитом:
@media (min-width: 1025px) and (max-width: 1194px) and (orientation: landscape) {
  .free-patterns-grid { grid-template-columns: repeat(3, 1fr); }
  .lace-patterns-grid { grid-template-columns: repeat(3, 1fr); }
  .lace-pattern-card { min-width: 0; }
}
*/