:root{
  /* DARK THEME (основний сайт) */
  --bg:#0b1220;
  --text:#e9eefc;
  --muted:#b8c3e6;
  --btn:#2563eb;
  --line:rgba(255,255,255,.10);

  /* LIGHT BLOCKS (відгуки + прайс) */
  --lightBg:#ffffff;
  --lightText:#111827;
  --lightMuted:#4b5563;
  --lightLine:rgba(0,0,0,.08);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}
/* нижче те що добавив  */
body{
  position: relative;
}

/* ледь помітна текстура як на старому сайті */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: url("../img/polotno.jpg");
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: auto;
  opacity: 0.1; /* регулюй: 0.03–0.07 */
  pointer-events: none;
  z-index: -1;
}
/* вище те що добавив  */
a{color:inherit;text-decoration:none}

.wrap{
  max-width:980px;
  margin:0 auto;
  padding:18px 12px;
}

/* === HERO === */
.hero{
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(225,29,72,.22), transparent),
    radial-gradient(900px 400px at 80% 30%, rgba(37,99,235,.22), transparent),
    linear-gradient(180deg, #0b1220, #070b14);
  border-bottom:1px solid var(--line);
}

.badge{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:600;
  font-size:13px;
}

h1{margin:14px 0 8px;font-size:38px;line-height:1.05}
.sub{margin:0 0 16px;color:var(--muted);max-width:720px}

/* === TIMER === */
.timerCard{
  margin-top:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  border-radius:18px;
  padding:16px;
  display:flex;
  flex-direction:column;   /* 👈 вертикально */
  align-items:center;
  gap:14px;
}
.timerTitle {
    color: #fef3c7;      /* світлий бежево-жовтий, помітно на темному фоні */
    font-weight: 500;    /* трохи жирніше, але не кричуще */
    font-size: 20px;
    text-align: center;
    margin-bottom: 8px;
}
.timer {
    font-weight:500;     /* середній, не надто жирний */
    font-size:28px;      /* трохи більший */
    letter-spacing:1px;  /* залишаємо відстань між цифрами */
}

/* === BUTTONS === */
.ctaRow{display:flex;gap:10px;margin:16px 0 10px;flex-wrap:wrap}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  background:var(--btn);
  color:#fff;
  font-weight:800;
  border:1px solid rgba(255,255,255,.10);
}
.btnGhost{background:transparent}
.btnFull{width:100%}

/* === GRID 3 (переваги) === */
.grid3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  margin:18px 0;
}
.card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  border-radius:18px;
  padding:14px;
}
.cardTitle{font-weight:900;margin-bottom:6px}

/* === SECTIONS === */
.section{margin:26px 0}
h2{margin:0 0 8px;font-size:26px}
.muted{margin:0 0 12px;color:var(--muted)}

/* === FORM (center) === */
.form{
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.04);
  padding:14px;
  display:grid;
  gap:12px;
  max-width:520px;
  width:100%;
  margin:0 auto;
}
label{display:grid;gap:6px;color:var(--muted);font-weight:700}
input{
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.22);
  color:var(--text);
  padding:0 12px;
  outline:none;
}
input:focus{border-color:rgba(37,99,235,.7)}
.hint{color:rgba(255,255,255,.55);font-size:12px}

/* === FLOAT VIBER === */
.viberFloat{
  position:fixed;
  right:12px;
  bottom:12px;
  padding:12px 14px;
  border-radius:999px;
  background:#7360F2;
  color:#fff;
  font-weight:900;
  z-index:9999;
  box-shadow:0 10px 24px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.15);
}

/* === PRODUCT GRID (cards) === */
.productGrid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:18px;
  margin-top:16px;
}

.productCard{
  background:rgba(255,255,255,.04);
  border:0;
  border-radius:18px;
  overflow:hidden;
}

.productCard img{
  width:100%;
  height:240px;  
  object-fit:cover;
  object-position:center 45%;
  display:block;
}
/* === КАРТКА ПАЛІТРИ (не обрізається) === */
.productCard img.paletteImg{
  width:100%;
  height:auto;
            /*   max-height:520px;   */
  object-fit:contain;
  display:block;
}


.productBody{padding:14px}
.productTitle{
  text-align: center;
  font-weight: 600;
  margin-bottom: 8px;
}

      /* === PRICE ROW в картках товарів === */
.productCard .priceRow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,.12);
  font-size: 18px;      /* збільшили шрифт для всіх span */
}

.productCard .priceRow:last-child {
  border-bottom: 0;
}

.productCard .priceRow s {
  opacity: 0.6;
  margin-right: 6px;
  font-size: 16px;      /* стара ціна трохи менша */
}

.productCard .priceRow b {
  font-weight: 700;     /* жирна нова ціна */
  font-size: 20px;      /* більша нова ціна */
  color: #dc2626;       /* червоний колір ціни */
}

/* === CATEGORY BUTTONS (2 картинки) === */
.choose-type{
  max-width:760px;
  margin:16px auto;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  width:100%;
  padding:0;
}

/* ВАЖЛИВО: тут і центрування тексту, і неон, і рамка — все в одному місці */
.choose-card{
  min-width:0;
  display:block;
  position:relative;
  border-radius:20px;
  overflow:hidden;
  text-align:center;                 /* ⬅️ оце центрує span/small */
  background:rgba(255,255,255,.04);
  border:1.5px solid rgba(34,197,94,.55);
  animation:neonPulseGreen 3s ease-in-out infinite;
}

.choose-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
  border-radius:20px;
}

.choose-card span{
  display:block;
  padding:8px 6px 2px;
  font-weight:500;
}

.choose-card small{
  display:block;
  padding-bottom:10px;
  font-size:12px;
  opacity:.85;
}

/* === НЕОНОВА ПУЛЬСАЦІЯ ТІЛЬКИ ДЛЯ МОБІЛКИ === */
@media (max-width: 768px) {
  @keyframes neonPulseGreen {
    0%, 100% {
      box-shadow: 0 0 0 rgba(34,197,94,0), 0 0 0 rgba(34,197,94,0);
    }
    50% {
      box-shadow: 0 0 16px rgba(34,197,94,.5), 0 0 32px rgba(34,197,94,.25);
    }
  }

  .choose-card {
    animation: neonPulseGreen 2s ease-in-out infinite; /* ⬅ 2 секунди */
  }
}

/* === ПК: тільки ефект наведення курсора === */
@media (hover:hover) {
  .choose-card:hover {
    transform: translateY(-2px);
    transition: transform .2s ease;
  }
}

@media (hover:hover){
  .choose-card:hover{
    transform:translateY(-2px);
    transition:transform .2s ease;
  }
}



.reviewsList{
  display:grid;
  gap:14px;
  margin-top:14px;
}

.reviewCard{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:12px;
  padding:14px;
  border:1px solid var(--lightLine);
  border-radius:16px;
  background:var(--lightBg);
  color:var(--lightText);
}

.reviewImg{
  width:92px;
  height:92px;
  object-fit:cover;
  border-radius:12px;
}

.reviewText{
  margin:0;
  line-height:1.45;
  color:var(--lightText);
}

/* мобілка: фото маленьке, текст поряд */
@media (max-width:520px){
  .reviewCard{
    grid-template-columns:64px 1fr;
    align-items:flex-start;
  }
  .reviewImg{
    width:64px;
    height:64px;
    border-radius:10px;
  }
}

/* === PRICE BOX (same width as form) === */
.priceBox{
  margin:16px auto 18px;
  padding:14px;
  max-width:520px;
  width:100%;
  border:1px solid var(--lightLine);
  border-radius:16px;
  background:var(--lightBg);
  color:var(--lightText);
}

.priceBox .priceRow{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  padding:6px 0;
  border-bottom:1px dashed rgba(0,0,0,.08);
  font-size:15px;
}
.priceBox .priceRow:last-child{border-bottom:0}

.priceBox .priceRow s{
  color:rgba(0,0,0,.45);
  margin-right:6px;
}
.priceBox .priceRow b{
  color:#dc2626;
  font-weight:900;
}

/* === CENTER TITLES (тільки заголовки блоків) === */
.hero h1,
.hero .sub{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.section > h2,
.section > .muted{
  text-align:center;
}

/* === PREMIUM GRAIN (very subtle) === */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:3px 3px;
  opacity:.22;
  mix-blend-mode:overlay;
}
body > *{position:relative; z-index:1;}

/* === RESPONSIVE === */
@media (max-width:820px){
  h1{font-size:32px}
  .grid3{grid-template-columns:1fr}
}
@media (max-width:768px){
  .choose-type{max-width:100%; padding:0 10px;}
  .choose-card img{height:130px}
  .productGrid{grid-template-columns:1fr}
}
.productCard img{border-radius:18px 18px 0 0;}
/* === щоб по центру слова заголовків === */
.section h2,
.section h3,
.section .muted{
  text-align:center;
}
    /* === відступ 1,5см перед "жакрдовими без юбки" === */
#covers-no-skirt{
  margin-top: 56px; /* ≈ 1.5 см */
}
   /* === "Чохли з оборкою(юбкою)" чуть збільшити === */
.h3Big{
  font-size:1.15em;
  font-weight:700;
}
/* Базовий стиль кнопки */
.btnFull {
  display: inline-block;
  background-color: var(--btn); /* базовий колір */
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease; /* плавна анімація */
}

/* Підсвічування при наведенні (без зміни кольору) */
.btnFull:hover {
  box-shadow: 0 0 15px 4px rgba(255, 111, 97, 0.7);
  transform: scale(1.05); /* трохи збільшуємо */
}

/* Зміна кольору при натисканні */
.btnFull:active {
  background-color: #e65a50; /* змінюється лише на мить при натисканні */
  transform: scale(0.95); /* трохи "тиснемо" */
}

                     /* Секція benefits */
/* Вирівнювання стилю секції benefits під кроки замовлення */
#benefits {
  margin-top: 10mm;
  padding: 20px;
  background-color: #111827; /*   темно-синій/темний фон, як у кроків */
  border-radius: 16px;
}

#benefits .grid > div {
  padding: 16px;
  border-radius: 16px;
  background-color: #1f2937; /*  трохи світліший від секції фон */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#benefits .grid > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

#benefits .grid > div .text-lg {
  font-size: 1.1rem;   /* трохи менше ніж заголовок кроків */
  font-weight: 600;
  margin-bottom: 6px;
  color: #f9fafb;      /* світлий текст */
}

#benefits .grid > div p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #f9fafb;      /* світлий текст */
}

/* Додатково, якщо картки мають клас card */
#benefits .card {
  background-color: #374151; /* той самий фон, що й у grid > div */
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

    /* великий акційний вигляд ЧАСІВ */
    .timerGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  width:100%;
}

.timeBox{
  text-align:center;
  background:rgba(0,0,0,.25);
  border-radius:14px;
  padding:12px 6px;
}

.timeBox .num{
  font-size:42px;        /* 🔥 великі цифри */
  font-weight:800;
  color:#fff;
  line-height:1;
  letter-spacing:2px;
}

.timeBox .label{
  margin-top:6px;
  font-size:13px;
  color:#fef3c7;
  opacity:.9;
}

 .sub{
  font-size: 18px;
  line-height: 1.5;
}
          /* ===== ЗАМІРИ + ЗБІЛЬШЕННЯ ФОТО ===== */
.measure-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  cursor: zoom-in;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease;
}

.measure-img:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,.18);
}

/* overlay */
.measure-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 99999;
}

.measure-overlay img{
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  background: #fff;
  cursor: zoom-out;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

/* кнопка закриття */
.measure-close{
  position: fixed;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.95);
  font-size: 26px;
  cursor: pointer;
  z-index: 100000;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
}

.measure-close:active{
  transform: scale(.95);
}

/* мобілка */
@media (max-width: 420px){
  .measure-overlay{
    padding: 12px;
  }
  .measure-overlay img{
    max-height: 86vh;
  }
}

/* Сітка замірів: мобілка 2 колонки, ПК 4 (і при звуженні падає на 2) */
.measure-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 колонки завжди на моб */
  gap: 14px;

  max-width: 900px;   /* щоб не розтягувалось на всю ширину */
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 900px){
  .measure-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 на ПК */
    gap: 16px;
  }
}