/* Хатина в Карпатах — єдиний файл стилів. Mobile-first. */

:root {
  --bg: #faf6ef;
  --surface: #ffffff;
  --text: #2b2a26;
  --muted: #6b665c;
  --forest: #2f4a3a;
  --forest-dark: #223829;
  --wood: #a8693b;
  --sand: #e9dfcc;
  --line: #998a6e; /* межі клікабельних елементів, ≥ 3:1 до фону */
  --busy: #d9d4c7;
  --danger: #b3402a;

  --font-head: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Шкала 17 → 22 → 30 → 40 → 53 px */
  --fs-small: 0.8235rem;
  --fs-1: 1rem;
  --fs-2: 1.294rem;
  --fs-3: 1.765rem;
  --fs-4: 2.353rem;
  --fs-5: 3.118rem;

  --radius: 16px;
  --radius-btn: 12px;
  --section-gap: clamp(4rem, 2.5rem + 6vw, 7rem);
  --gutter: 16px;
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 106.25%; /* 17px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  color: var(--forest-dark);
}

h1 {
  font-size: clamp(var(--fs-4), 1.6rem + 3vw, var(--fs-5));
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(var(--fs-3), 1.3rem + 2vw, var(--fs-4));
}

h3 {
  font-size: var(--fs-2);
}

p {
  margin: 0 0 1em;
  max-width: 65ch;
}

a {
  color: var(--forest);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--forest-dark);
}

:focus-visible {
  outline: 3px solid var(--wood);
  outline-offset: 3px;
}

/* Ціни, дати, таблиці — рівні цифри однакової ширини */
.num,
table {
  font-variant-numeric: lining-nums tabular-nums;
}

/* Атрибут hidden сильніший за display: flex/grid у компонентах */
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius-btn);
}

.skip-link:focus {
  top: 8px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-gap) 0;
}

.section__intro {
  color: var(--muted);
}

/* Кнопка */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--forest);
  color: #fff;
  font: inherit; /* <button> не успадковує шрифт сам */
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--forest-dark);
  color: #fff;
}

.btn--small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.94rem;
}

/* Шапка */
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "logo cta"
    "nav nav";
  align-items: center;
  gap: 4px 16px;
  padding-block: 12px 4px;
}

.logo {
  grid-area: logo;
  font-family: var(--font-head);
  font-size: var(--fs-2);
  color: var(--forest-dark);
  text-decoration: none;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  white-space: nowrap;
}

.logo__mark {
  flex: none;
  width: 28px;
  height: 28px;
}

/* Вузькі екрани: логотип зі знаком і кнопка мають вміститися в один рядок навіть на 360 px */
@media (max-width: 599px) {
  .site-header__inner {
    column-gap: 12px;
  }

  .site-header .logo {
    gap: 8px;
    font-size: 1.12rem;
  }

  .site-header .btn--small {
    padding-inline: 12px;
    font-size: 0.88rem;
  }
}

.site-header .btn {
  grid-area: cta;
}

.site-header nav {
  grid-area: nav;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.94rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.nav a:hover {
  color: var(--forest);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav cta";
    padding-block: 16px;
  }

  .nav {
    justify-content: flex-end;
    gap: 0 28px;
    font-size: 1rem;
  }
}

/* Hero */
.hero {
  padding-top: 8px;
}

.hero__grid {
  display: grid;
  gap: 24px;
}

.hero__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero__lead {
  font-size: 1.1rem;
}

.hero__facts {
  margin: 16px 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.55fr 1fr;
    align-items: end;
    gap: 48px;
  }

  .hero__text {
    padding-bottom: 8px;
  }
}

/* Про котедж */
.about {
  display: grid;
  gap: 28px;
}

.about__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.features {
  display: grid;
  gap: 20px 32px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.features li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.features svg {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  color: var(--forest);
}

.features p {
  margin: 0;
}

.features strong {
  display: block;
  font-weight: 600;
}

.features span {
  color: var(--muted);
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 5fr 6fr;
    gap: 56px;
    align-items: center;
  }

  .about__img {
    aspect-ratio: 4 / 5;
  }
}

/* Галерея: мобільний — однакові плитки 4:3, десктоп — мозаїка */
.gallery {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.gallery__item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--sand);
}

/* Абсолютне позиціювання: фото не розтягує рядки сітки */
.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__item--bedroom img {
  object-position: center 72%;
}

.gallery__item--fireplace img {
  object-position: center 68%;
}

@media (min-width: 600px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 16px;
  }

  .gallery__item--tall {
    grid-row: span 2;
    aspect-ratio: auto;
  }

  .gallery__item--bedroom {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .gallery__item--fireplace {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .gallery__item--bedroom img,
  .gallery__item--fireplace img {
    object-position: center;
  }
}

/* Стрічка року: ширина сегмента пропорційна кількості днів (--days) */
.year {
  display: flex;
  margin: 32px 0 40px;
  padding-top: 3.4em;
  font-size: var(--fs-small);
  line-height: 1.35;
  font-variant-numeric: lining-nums tabular-nums;
}

.year__seg {
  position: relative;
  flex: var(--days) 1 0;
  min-width: 0;
}

.year__bar {
  display: block;
  height: 36px;
  border-right: 2px solid var(--bg);
}

.year__seg:first-child .year__bar {
  border-radius: 8px 0 0 8px;
}

.year__seg:last-child .year__bar {
  border-right: 0;
  border-radius: 0 8px 8px 0;
}

.year__seg--low .year__bar {
  background: var(--sand);
  box-shadow: inset 0 0 0 1px #c9bb9f;
}

.year__seg--high .year__bar {
  background: var(--forest);
}

.year__seg--holiday .year__bar {
  background: var(--wood);
}

.year__label {
  display: flex;
  flex-direction: column;
  padding: 8px 6px 0 6px;
  border-left: 2px solid var(--tick, var(--muted));
}

.year__label > * {
  white-space: nowrap;
}

.year__label b {
  font-weight: 600;
}

.year__seg--high {
  --tick: var(--forest);
}

.year__seg--holiday {
  --tick: var(--wood);
}

/* Вузькі сегменти: свята — підпис над стрічкою, зима — праворуч, займаючи місце під святами */
.year__seg--above .year__label {
  position: absolute;
  right: 0;
  bottom: 100%;
  align-items: flex-end;
  padding: 0 6px 6px 0;
  border-left: 0;
  border-right: 2px solid var(--tick);
  white-space: nowrap;
  text-align: right;
}

.year__seg--end .year__label {
  margin-left: calc(-100% * var(--borrow, 0) / var(--days));
  align-items: flex-end;
  padding: 8px 6px 0 0;
  border-left: 0;
  border-right: 2px solid var(--tick);
  text-align: right;
}

/* Вузькі екрани: діапазони дат не влазять і накладаються — вони є в таблиці нижче */
@media (max-width: 480px) {
  .year {
    padding-top: 2em;
  }

  .year__label b + span {
    display: none;
  }
}

/* Таблиця тарифів */
.table-wrap {
  overflow-x: auto;
}

.tariffs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.tariffs th,
.tariffs td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--sand);
  text-align: left;
  vertical-align: top;
}

.tariffs thead th {
  color: var(--muted);
  font-weight: 400;
  border-bottom: 2px solid var(--forest);
}

.tariffs tbody th {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.06rem;
}

.tariffs__period {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
}

.tariffs .num {
  text-align: right;
  white-space: nowrap;
}

.extras {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.extras li {
  padding-left: 18px;
  position: relative;
}

/* Крапка, а не риска: риска перед «+300 грн» читалась як мінус */
.extras li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wood);
}

@media (min-width: 900px) {
  .prices {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
  }

  .extras {
    margin-top: 0;
  }
}

/* FAQ */
.faq {
  max-width: 760px;
  margin-top: 24px;
}

.faq details {
  border-bottom: 1px solid var(--sand);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--forest);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-bottom: 16px;
}

@media (min-width: 900px) {
  .faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    align-items: start;
    max-width: none;
  }
}

/* Підвал */
.site-footer {
  margin-top: var(--section-gap);
  padding-block: 40px;
  background: var(--forest-dark);
  color: #e9e4d8;
}

.site-footer a {
  color: #fff;
}

.site-footer__grid {
  display: grid;
  gap: 24px;
}

.site-footer .logo {
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer .site-footer__note {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: #c9c3b4;
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

/* ---------- Сторінка бронювання ---------- */
.booking {
  padding-top: 24px;
}

.booking__calendar {
  max-width: 820px;
}

.notice {
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--surface);
}

.notice--error {
  border-left: 4px solid var(--danger);
  background: #fbeee9;
}

/* Календар */
.cal {
  position: relative;
  container-type: inline-size;
}

.cal__nav {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.cal__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--forest);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.cal__arrow:hover:not(:disabled) {
  border-color: var(--forest);
}

.cal__arrow:disabled {
  color: var(--busy);
  cursor: default;
}

.cal__months {
  display: grid;
  gap: 32px;
}

.cal__month {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 2px; /* на 360 px клітинка лишається ≥ 44 px */
}

.cal__month caption {
  height: 44px;
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: var(--fs-2);
  line-height: 44px;
  color: var(--forest-dark);
}

.cal__month th {
  padding: 4px 0;
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--muted);
}

.cal__month td {
  padding: 0;
}

.cal__day {
  position: relative;
  display: block;
  width: 100%;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-variant-numeric: lining-nums tabular-nums;
  cursor: pointer;
}

.cal__day--free {
  border-color: var(--line);
}

.cal__day--free:hover,
.cal__day--checkout-only:hover {
  border-color: var(--forest);
}

.cal__day--past,
.cal__day--outside {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  cursor: default;
}

.cal__day--busy {
  border-color: var(--busy);
  background: var(--busy);
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Ніч зайнята, але виїхати можна: заштрихована нижня права половина */
.cal__day--checkout-only {
  background:
    linear-gradient(to bottom right, var(--surface) 50%, transparent 50%),
    repeating-linear-gradient(45deg, var(--busy) 0 4px, #c4bdac 4px 6px);
}

.cal__day.is-between {
  border-color: #c3d6c7;
  background: #dce8de;
}

.cal__day.is-start,
.cal__day.is-end {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.cal__day[aria-current="date"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}

.cal__status {
  min-height: 1.6em;
  margin: 16px 0 0;
  font-weight: 600;
}

/* Легенда */
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
}

.cal-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cal-legend__swatch {
  width: 20px;
  height: 20px;
  border: 1px solid var(--sand);
  border-radius: 5px;
  background: var(--surface);
}

.cal-legend__swatch--free {
  border-color: var(--line);
}

.cal-legend__swatch--busy {
  border-color: var(--busy);
  background: var(--busy);
}

.cal-legend__swatch--checkout {
  background:
    linear-gradient(to bottom right, var(--surface) 50%, transparent 50%),
    repeating-linear-gradient(45deg, var(--busy) 0 3px, #c4bdac 3px 5px);
}

.cal-legend__swatch--selected {
  border-color: var(--forest);
  background: var(--forest);
}

.cal-legend__swatch--between {
  border-color: #c3d6c7;
  background: #dce8de;
}

/* Крапка як у клітинці сьогоднішньої дати */
.cal-legend__swatch--today {
  position: relative;
  border-color: var(--line);
}

.cal-legend__swatch--today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--text);
}

@media (min-width: 600px) {
  .cal__month {
    border-spacing: 4px;
  }
}

/* 2 місяці — коли сам календар ширший за 640 px (те саме число в calendar.js) */
@container (min-width: 640px) {
  .cal__months {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Розкладка: мобільний — колонка; від 960 px картка вартості праворуч і липка */
.booking__layout {
  display: grid;
  gap: 40px;
  margin-top: 32px;
}

.booking__step {
  margin-bottom: 16px;
  font-size: var(--fs-3);
}

@media (min-width: 960px) {
  .booking__layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
      "dates quote"
      "guests quote"
      "form quote";
    gap: 48px 56px;
    align-items: start;
  }

  .booking__dates { grid-area: dates; }
  .booking__guests { grid-area: guests; }
  .booking__form { grid-area: form; }

  .booking__quote {
    grid-area: quote;
    position: sticky;
    top: 16px;
  }
}

/* Поля форми */
.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  max-width: 420px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--muted);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.field input[aria-invalid="true"] {
  border: 2px solid var(--danger);
}

.field__hint {
  margin: 6px 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
}

.field__error {
  margin: 6px 0 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--danger);
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stepper__btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--muted);
  border-radius: 10px;
  background: var(--surface);
  color: var(--forest);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.stepper__btn:hover:not(:disabled) {
  border-color: var(--forest);
}

.stepper__btn:disabled {
  border-color: var(--sand);
  color: var(--busy);
  cursor: default;
}

.field .stepper input {
  width: 64px;
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}

.check input {
  width: 22px;
  height: 22px;
  accent-color: var(--forest);
}

.submit-reason {
  margin: 0 0 10px;
}

.btn:disabled {
  background: var(--busy);
  color: var(--muted);
  cursor: not-allowed;
}

.draft-note {
  margin: 12px 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* Картка вартості */
.quote {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(43, 42, 38, 0.06), 0 8px 24px rgba(43, 42, 38, 0.07);
  font-variant-numeric: lining-nums tabular-nums;
}

.quote__title {
  font-size: var(--fs-2);
}

.quote__empty,
.quote__dates {
  margin: 0;
  color: var(--muted);
}

.quote__lines {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.94rem;
}

.quote__lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.quote__amount {
  flex: none;
  white-space: nowrap;
}

.quote__lines .is-discount {
  color: var(--forest);
  font-weight: 600;
}

.quote__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 2px solid var(--forest);
}

.quote__total strong {
  font-size: var(--fs-3);
  color: var(--forest-dark);
}

.quote__errors {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-left: 4px solid var(--danger);
  border-radius: 8px;
  background: #fbeee9;
  list-style: none;
  font-weight: 600;
}

/* Підтвердження */
.confirm {
  max-width: 720px;
}

.confirm h1:focus {
  outline: none;
}

.summary {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  font-variant-numeric: lining-nums tabular-nums;
}

.summary div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 12px;
}

.summary dt {
  color: var(--muted);
}

.summary dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.confirm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn--ghost {
  border: 2px solid var(--forest);
  background: transparent;
  color: var(--forest);
}

.btn--ghost:hover {
  background: var(--surface);
  color: var(--forest-dark);
}

.copy-status {
  min-height: 1.6em;
  margin: 12px 0 0;
  font-weight: 600;
}

.request-text {
  padding: 16px;
  border: 1px solid var(--muted);
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  white-space: pre-wrap;
  user-select: all;
}

/* Відгук на наведення й натискання: плавна зміна кольору, на дотик — трохи темніше */
.btn,
.cal__arrow,
.cal__day,
.stepper__btn {
  transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out, filter 100ms ease-out;
}

.btn:active:not(:disabled),
.cal__arrow:active:not(:disabled),
.stepper__btn:active:not(:disabled),
.cal__day--free:active,
.cal__day--checkout-only:active {
  filter: brightness(0.9);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .cal__arrow,
  .cal__day,
  .stepper__btn {
    transition: none;
  }
}
