/* ========== 1. Переменные и шрифты ========== */
/* Подключение шрифтов */
@font-face {
  font-family: "Gilroy-A";
  src: url(../fonts/Gilroy-Light.woff2) format("woff2");
  font-weight: 300;
}
@font-face {
  font-family: "Gilroy-A";
  src: url(../fonts/Gilroy-Regular.woff2) format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: "Gilroy-A";
  src: url(../fonts/Gilroy-Medium.woff2) format("woff2");
  font-weight: 500;
}
@font-face {
  font-family: "Gilroy-A";
  src: url(../fonts/Gilroy-Bold.woff2) format("woff2");
  font-weight: 600;
}
@font-face {
  font-family: "Gilroy-A";
  src: url(../fonts/Gilroy-ExtraBold.woff2) format("woff2");
  font-weight: 700;
}

/* ========== 2. Сброс стилей и базовые стили ========== */

html {
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-gray-700);
  height: 100%;
  background:var(--color-bg) url('/img/home-bg-images/index-bg.webp') 50% 40% / cover no-repeat fixed;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
svg {
  pointer-events: none;
  display: inline-block;
  width: var(--icon-size);
  height: var(--icon-size);
  color: var(--icon-color);
}

input:where(
    :not([type="image"]):not([type="reset"]):not([type="submit"]):not(
        [type="button"]
      )
  ),
select,
textarea {
  background-color: #242528;
  border: #414244;
  border-radius: 0.5rem;
  font-family: var(--font-main);
  color: var(--color-white);
  padding: 0.5rem 0.75rem;
  font-weight: 500;
}

input:where(
    :not([type="reset"]):not([type="submit"]):not([type="button"])
  ):focus,
select:focus,
textarea:focus {
  border-color: var(--color-accent);
  outline: 0.5px solid var(--color-accent);
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #cccccc1c, transparent);
  margin: 0.75rem 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  padding: 0.5rem 0.75rem;
  border: 0 none;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  border-radius: 0.5rem;
  cursor: pointer;
  background-color: var(--color-accent);
  transition: background-color 0.3s linear;
}

[type="reset"] {
  background-color: var(--color-gray-500);
}

:is(#addPhtFrm, #addEntForm) :is(.u-comboedit, .u-comboedit:hover) {
  appearance: none;
  background-color: #242528;
  border: #414244;
  border-radius: 0.5rem;
  font-family: var(--font-main);
  color: var(--color-white);
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  max-width: 100%;
  text-align: left;
}

.myWinCont label {
  margin-left: 0.25rem !important;
  text-transform: capitalize;
}

.myWinCont :is(a, .noun) {
  text-decoration: none;
  color: #488bfa;
}

/* ========== 3. Логотип ========== */

.logo {
  font-size: 1.75rem;
  color: var(--color-white); /* был #f4fff4, совпадает с --color-white */
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.11);
}

/* ========== 4. Хедер ========== */

.header {
  width: 100%;
  display: flex;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  z-index: 1000;
  background-color: var(--color-accent-fade);
  transition: background-color 0.3s ease;
}

.header__wrapper {
  width: 100%;
  max-width: calc(var(--site-width) + var(--site-gap) * 2);
  margin: 0 auto;
  padding-inline: var(--site-gap);
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Меню */
.header__menu-list {
  display: flex;
  gap: min(max(1rem, 3vw), 2rem);
  font-weight: 500;
  font-size: 1.075rem;
  flex-wrap: wrap;
}

.header__menu-item {
  position: relative;
}

.header__menu-link {
  color: var(--color-white);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom:1px solid rgba(255,255,255,0);
  transition: all 0.3s ease;
}

.header__menu-link:hover {
  border-color:rgba(255,255,255,1);
}

.header__menu-item:hover > .header__submenu {
  display: block;
}

.header__submenu {
  display: none;
  position: absolute;
  top: calc(100%);
  left: -0.5rem;
  background-color: var(
    --color-accent
  ); /* было rgba(21,21,22,0.68), затем #e58411 */
  padding-inline: var(--site-gap);
  padding-block: calc(var(--site-gap) / 2);
  min-width: max-content;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(0.5rem);
}

.header__submenu-item {
  padding: 5px 0;
}

.header__submenu-link {
  color: var(--color-white);
}

.header__submenu-link:hover {
  text-decoration: underline;
}

.mobile-menu {
display: none;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.9);
z-index: 1000;
flex-direction: column;
justify-content: space-between;
}
.mobile-menu.open{
display:flex;   
}
.mobile-menu-list {
display: flex;
flex-direction: column;
gap: 1rem;
padding: 7rem 2rem 2rem;
overflow-y: auto;
}
.menu-item a {
display:flex;
align-items: center;
color: white;
font-size: 1.25rem;
font-weight: 400;
}
.menu-item a:hover {
color: var(--color-accent);
}
.has-submenu > a i {
margin-left: 0.5rem;
transition: transform 0.3s ease;
}

.submenu {
display: none;
padding-left: 1rem;
margin-top: 0.5rem;
}
.submenu-item {
margin-top: 0.5rem;
}
.submenu-item a {
color: #ccc;
font-size: 1rem;
}
.submenu-item a:hover {
color: var(--color-accent);
}
.has-submenu.open > .submenu {
display: block;
}
.has-submenu.open > a i {
transform: rotate(180deg);
}

/* Кнопки авторизации */
.header__auth-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__auth-link {
  color: var(--color-white-pure); /* Было #fff */
  display: flex;
  align-items: center;
  gap: 0.275rem;
}

.header__auth-link:hover {
  color: var(
    --link-hover-color
  ); /* переменная не объявлена, можно завести отдельно */
}

.is-link-hide{
	display: none !important;
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__menu-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.2s ease;
}

/* Состояние активного бургера */
.header__menu-toggle.is-active .header__menu-toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__menu-toggle.is-active .header__menu-toggle-line:nth-child(2) {
  opacity: 0;
}
.header__menu-toggle.is-active .header__menu-toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========== 5. Главный контент ========== */

.content {
  width: 100%;
  max-width: calc(var(--site-width) + var(--site-gap) * 2);
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  padding: var(--site-gap);
  margin: 0 auto;
}

.main-direction {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: start;
  justify-content: start;
  margin-top: 1.5rem;
  gap: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.direction-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}
.direction-item__image {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--color-accent);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
position: relative;
  z-index: 0;
}
.direction-item__image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  z-index: -1;
  box-shadow:
    0 0 10px #00f0ff,
    0 0 20px #00f0ff,
    0 0 40px #00f0ff,
    0 0 60px #00f0ff;
  animation: neonPulse 1s infinite alternate;
  opacity:0.3;
}

/* Анимация пульсации */
@keyframes neonPulse {
  0% {
    box-shadow:
      0 0 5px #00f0ff,
      0 0 10px #00f0ff,
      0 0 20px #00f0ff,
      0 0 40px #00f0ff;
  }
  100% {
    box-shadow:
      0 0 15px #00aaff,
      0 0 30px #00aaff,
      0 0 60px #00aaff,
      0 0 120px #00aaff;
  }
}
.direction-item__image--src {
width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  opacity: 0.95;
  transition:opacity 0.3s linear;
}
.direction-item__image--src:hover {
  opacity: 0.75;
}
.direction-item__title {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-white);
}

.teasers {
  padding-block: 2rem;
}

.teaser__list {
  width: 100%;
  max-width: calc(var(--site-width) + var(--site-gap) * 2);
  padding: var(--site-gap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
  gap: 2rem;
}

.teaser__item {
  display: flex;
  gap: 1rem;
}
.teser__item-icon {
  width: 50px;
  height: 50px;
  color: var(--color-accent);
}
.teaser__item-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.2rem;
}
.teaser__item-title {
  font-weight: 600;
  color: var(--color-title);
  font-size: 1.25rem;
}
.teaser__item-title:hover {
  color: var(--color-accent);
}
.teaser__item-descr {
  color: var(--color-gray-800); /* Было #777 */
  line-height: 1.4;
}

.main-directions {
}

.section {
  width: 100%;
  position:relative;
}

.section__image{
background: no-repeat 50% / cover;  
}

.section__image::before {
  content: '';
  position:absolute;
  inset:0;
  background:rgba(0, 0, 0, 0.8);
  pointer-events:none;
}

.section__wrapper {
  width: 100%;
  max-width: calc(var(--site-width) + var(--site-gap) * 2);
  /* min-height: calc(100vh - var(--header-height) - var(--footer-height)); */
  padding: calc(var(--site-gap) * 3.5) var(--site-gap) calc(var(--site-gap) * 2);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
}

.section.section--gray {
  background-color: var(--color-bg-section-alt);
}

.section__subtitle {
  color: var(--color-gray-500); /* Было #999 */
  letter-spacing: 0.02rem;
  margin-bottom: 1rem;
  display: none;
}

.section__title-wrapper {
  display: flex;
  align-items: center;
  line-height: 1;
  gap: 1rem;
}

.section__title {
  max-width: 70%;
}

.section__title-link {
  font-weight: 400;
  margin-left: auto;
  color: var(--color-title);
  letter-spacing: 0.02rem;
}

.section__title-link:hover {
  color: var(--color-accent);
}

.section__descr {
  font-weight: 400;
  color: var(--color-gray-700); /* Было #666 */
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: calc(var(--site-width) / 1.3);
}

.section__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.section__list-item {
  display: flex;
  flex-direction: row;
  padding: 1rem;
  gap: 2rem;
  border: 1px solid var(--color-border-darker); /* Было #e5e5e5 */
  border-radius: var(--radius-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.section__list-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.section__list-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.section__list-name {
  font-weight: 600;
  color: var(--color-title);
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.45rem;
  transition: color 0.3s ease;
}

.section__list-item:hover .section__list-name {
  color: var(--color-accent);
}

.section__list-conut {
  font-size: 0.9rem;
}

.section__list-descr {
  margin-top: auto;
  color: var(--color-gray-700);
}

.section__list-image {
  display: flex;
  align-items: center;
}

.section__list-image img {
  display: flex;
  width: 140px;
  height: 210px;
  object-fit: cover;
}

/* .section li a {
  color: var(--color-accent);
}

.section li a:hover {
  color: var(--color-title);
} */

.section p {
  margin-bottom: 1rem;
}

/* .section ul {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.section li {
  display: flex;
  margin-bottom: 0.5rem;
  margin-left: 1rem;
}

.section li::before {
  content: "";
  position: relative;
  left: 0;
  top: 11px;
  background: var(--color-gray-700);
  width: 11px;
  height: 1px;
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
}

.section li:last-child {
  margin-bottom: 0;
} */

/* ========== 7. Герой (Hero) ========== */

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--color-bg); /* Было #000 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  color: var(--color-gray-500);
  padding: var(--site-gap);
  max-width: calc(var(--site-width) / 1.15);
  margin: calc(var(--header-height) - var(--site-gap)) auto 0;
}

.hero__title {
  font-size: clamp(3rem, 2vw + 1rem, 7rem);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-white); /* Или var(--color-white-pure) */
  line-height: 1.2;
  opacity: 0;
  transform: translateY(-80px);
  animation:fadeUp 1.3s ease-out forwards;
}

.hero__content {
  font-size: clamp(2rem, 5vw + 1rem, 3rem);
  line-height: 1.6;
  font-weight: 300;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-align: center;
  color: var(--color-white);
}

.hero__content span {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
  animation: fadeWord 0.6s ease-out forwards;
}

.hero__content span:nth-child(1) {
  animation-delay: 0.6s;
}
.hero__content span:nth-child(2) {
  animation-delay: 0.9s;
}
.hero__content span:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes fadeWord {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: var(--hero-video-opacity); /* Было 0.3 */
}

.hero__link-button {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  width: max-content;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.hero__link-button span {
  position: relative;
}

.hero__link-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  transition: width 0.5s ease;
}

.hero__link-button:hover::before {
  width: 100%;
}

.shop-list,
.shop-page__content #allEntries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.shop-item {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}
.shop-item__image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  transition:all 0.5s ease;
}
.shop-item__image:hover{
  transform:scale(1.1);
  background-color:#323232;
}
.shop-item__block {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}
.shop-item__section {
  font-size: 0.9rem;
  color: var(--color-gray-300);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.shop-item__title {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.shop-item__title a:hover {
  color: var(--color-accent);
}

.shop-item__status {
  font-size: 0.9rem;
}
.shop-item__status.is-true {
  color: #69be15;
}
.shop-item__status.is-false {
  color: #918b8b;
}
.shop-item__status::before {
  content: "";
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  margin-right: 0.5rem;
}
.shop-item__status.is-true::before {
  background-color: #69be15;
}
.shop-item__status.is-false::before {
  background-color: #918b8b;
}
.shop-item__block-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-item__prices {
  color: var(--color-black);
  font-weight: 500;
}
.shop-item__price-first {
}
.shop-item__price-second {
}

.shop-item__price-first::before,
.shop-item__price-second::before {
  content: "Аренда на день";
  display: flex;
  font-size: 0.9rem;
  color: var(--color-black);
  font-weight: 300;
  letter-spacing: 0.05rem;
}

.shop-item__price-second::before {
  content: "Второй день";
}

.shop-item__button {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  width: max-content;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.shop-item__button--empty {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: default;
}

.shop-item__button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  transition: width 0.5s ease;
}

.shop-item__button:not(.shop-item__button--empty):hover::before {
  width: 100%;
}

.slide-block {
  position: sticky;
  top: calc(var(--header-height) + 45px);
  display: flex;
  flex-direction: column;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(43, 137, 209, 0.8);
  overflow: hidden;
}
.slide-block__head {
  display: flex;
  align-items: center;
  height: 46px;
  padding-inline: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
}
.slide-block__body {
}

/* ───────────────────────
		 ВЕРХНИЙ УРОВЕНЬ МЕНЮ
		 ─────────────────────── */
.side-menu {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.side-menu__item {
  position: relative;
}
.side-menu__item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* открытый пункт */
.side-menu__item--open > .side-menu__submenu-wrapper {
  max-height: 100vh;
  opacity: 1;
  visibility: visible;
}
.side-menu__item--open > .side-menu__link > .side-menu__chevron {
  transform: rotate(90deg);
}

/* ссылка верхнего уровня */
.side-menu__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding-inline: 1.5rem;
  position: relative;
  color:var(--color-white);
  transition: background var(--duration) var(--easing);
}
.side-menu__link:hover,
.side-menu__link:focus-visible {
  background: rgba(0, 0, 0, 0.11);
}

.side-menu__item--active {
  color: var(--color-white-pure);
  font-weight: 600;
}

.side-menu__item--active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 19px;
  width: 4px;
  height: 10px;
  border-radius: 10px;
  background-color: var(--color-accent);
}

.side-menu__icon {
  flex: 0 0 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  filter: brightness(1.3) saturate(1.2);
}
.side-menu__label {
  flex: 1 1 auto;
  line-height: 1.1;
}
.side-menu__chevron {
  flex: 0 0 18px;
  height: 18px;
  transition: transform var(--duration) var(--easing);
}

/* ───────────────────────
		 ПОДМЕНЮ
		 ─────────────────────── */
.side-menu__submenu-wrapper {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height var(--duration) var(--easing),
    opacity var(--duration) var(--easing);
}

.side-menu__submenu {
}

.side-menu__submenu-link {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: 15px;
  color: #aaa;
  font-weight: 400;
}
.side-menu__submenu-link:hover,
.side-menu__submenu-link:focus-visible {
  background: rgba(0, 0, 0, 0.11);
}

/* ========== 6. Футер ========== */

.footer {
  background-color: var(--color-dark);
  color: var(--color-white-pure);
  position:relative;
  z-index:5;
}

.footer__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  width: 100%;
  max-width: calc(var(--site-width) + var(--site-gap) * 2);

  padding: var(--site-gap);
  margin: 0 auto;
}

.footer__column {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.footer__column h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.footer__column ul li {
  margin: 0.5rem 0;
}

.footer__column ul li a {
  color: var(--color-white-pure);
  text-decoration: none;
}

.footer__column ul li a:hover {
  text-decoration: underline;
}

.footer__buttons {
  grid-column: span 4;
  text-align: center;
  margin-top: 2rem;
}

.footer__btn {
  padding: 1rem 2rem;
  background-color: var(--color-accent-2); /* Было #ff8c00 */
  color: var(--color-white-pure);
  font-weight: bold;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.footer__bottom {
  grid-column: span 4;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.footer__bottom a {
  color: var(--color-white-pure);
  text-decoration: none;
}

.footer__bottom a:hover {
  text-decoration: underline;
}

/* Утилитарные стиили */
.title-md {
  color: var(--color-title);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: 0.02rem;
}

.text-ghost {
  position: relative;
  z-index: 1;
}

.text-ghost::before {
  content: attr(data-text-ghost);
  color: var(--color-title);
  font-weight: 700;
  font-size: 7.5rem;
  letter-spacing: 0.02rem;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate3d(0, -60%, 0);
  opacity: 0;
  z-index: -1;
  animation: fadeGhostIn 1.2s ease forwards;
}

@keyframes fadeGhostIn {
  to {
    transform: translate3d(0, -50%, 0);
    opacity: 0.02;
  }
}

.page-header-filter {
  display: none;
  position: relative;
  margin-bottom: 1rem;

  & .page-header-filter__toggle {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    gap: 0.3rem;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.25rem;
    background-color: var(--color-accent-fade);
    color: var(--color-white);

    & .page-header-filter__icon {
      width: 1rem;
      height: 1rem;
      transition: transform 0.1s ease;
      transform: rotate(0deg);
    }
  }

  & .page-header-filter__list {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: var(--space-xs);
    background-color: var(--color-dark-fade);
    border: 1px solid var(--color-border);
    gap: 0.3rem;
    border-radius: var(--radius);
    min-width: 160px;
    z-index: 50;
    overflow: hidden;
    backdrop-filter: blur(1rem);
  }

  & .page-header-filter__item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: var(--font-small);
    color: var(--color-white);
    border-radius: var(--radius);
    transition: background-color 0.2s ease;

    &:hover,
    &.is-active {
      background-color: var(--color-accent);
    }
  }
  &.is-open {
    & .page-header-filter__list {
      display: flex;
    }

    .page-header-filter__icon {
      transform: rotate(180deg);
    }
  }
}

.pagesBlockuz1 {
  display: flex;
  margin: 1rem auto;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.swchItem,
.swchItemA {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 500;
  transition: 0.3s linear;
}
.swchItemA {
  background-color: var(--color-accent);
  color: var(--color-white);
  cursor: default;
}
.swchItem:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.moder-block {
  position: relative;
  z-index: 10;
}

.uwnd-local-auth table {
  border-collapse: separate;
  border-spacing: 0 5px;
}
.uwnd-local-auth table input[type="checkbox"] {
  vertical-align: middle;
  margin-right: 4px;
}
.uwnd-local-auth table label {
  margin-right: 16px;
  cursor: pointer;
  font-size: 13px;
}

.site-pages {
  margin-top: 2rem;
  line-height: 1.6;
  color: var(--color-gray-700);
  font-size: clamp(1rem, 0.5vw + 1rem, 1.125rem);
}

.site-pages p {
  margin: 0 0 1.5em;
}

.site-pages ul,
.site-pages ol {
  margin: 0 0 0.5em 1.5em;
  padding-left: 1em;
}

.site-pages ul {
  list-style: disc;
}

.site-pages ol {
  list-style: decimal;
}

.site-pages li {
  margin-bottom: 0.5em;
}

/* Заголовки */
.site-pages h1,
.site-pages h2,
.site-pages h3,
.site-pages h4 {
  font-weight: 600;
  line-height: 1.3;
  margin: 1em 0;
  color: var(--color-white);
}

.site-pages h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
}

.site-pages h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
}

.site-pages h3 {
  font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem);
}

.site-pages h4 {
  font-size: clamp(1.125rem, 1vw + 1rem, 1.5rem);
}

/* Ссылки */
.site-pages a {
  color: var(--color-accent, #0066cc);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.site-pages a:hover,
.site-pages a:focus {
  color: #004999;
  text-decoration: none;
}

/* Цитаты */
.site-pages blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid var(--color-accent, #0077ff);
  font-style: italic;
}

/* ========== 8. Адаптивность (Mobile) ========== */

.float-order-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 18px;
  background-color: #007bff;
  color: white;
  border-radius: 0.5rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

body:has(.float-soc1al) .float-order-button {
  bottom: 80px;
}

.float-order-button .badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 0 0 2px white;
}

.order-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(43, 137, 209, 0.75);
  display: none;
  backdrop-filter: blur(0.25rem);
  padding: 0.75rem;
}

.order-wrapper.is-visible {
  display: block;
}

.order-wrapper form {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.order-inner {
  display: flex;
  flex-direction: column;
  max-width: 380px;
  width: 100%;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(43, 137, 209, 1);
  position: relative;
}

.close-order-form {
  position: absolute;
  right: -22px;
  top: -22px;
  height: 44px;
  width: 44px;
  border-radius: 100%;
  background-color: #be3b10;
  color: var(--color-white);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-input {
  font-family: var(--font-main);
color: #000;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
}

.wishlist-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
max-height: 240px;
  overflow-y: auto;
}

.wishlist-items li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.wishlist-items a {
  color: var(--color-white);
}

.wishlist-items a:hover {
  text-decoration: underline;
}

.wishlist-remove-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: #be3b10;
  color: var(--color-white);
  border-radius: 0.5rem;
  flex: 0 0 auto;
}

.order-submit {
  background-color: #329a16;
  color: var(--color-white);
  padding: 0.75rem 0.55rem;
  border-radius: 0.5rem;
}

body:has(.soc1al-bar) .header {
  top: 36px;
}

.soc1al-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 36px;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg-section-alt);
}

.soc1al-bar a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.soc1al-bar img {
  height: 22px;
  padding:0.25rem;
  background-color: #0077FF;
  border-radius: 100%;
}

.soc1al-bar img:last-child {
  background-color: #0088cc;
}

.float-soc1al {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: fixed;
  z-index: 101;
  bottom: 1rem;
  right: 1rem;
}

.float-soc1al a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  padding: 0.75rem;
}

.float-soc1al img {
  margin-right: 0.1rem;
}

.smart-home-wrapper {
  width: 100%;
  min-height: 100vh;
  max-width: calc(var(--site-width) + var(--site-gap) * 2);
  padding: calc(var(--site-gap) * 3.5) var(--site-gap) calc(var(--site-gap) * 2);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  position:relative;
}
.smart-home-bg{
  background-image:url('/img/home-bg-images/smarthome-bg.webp');
}
.smart-home {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 0.25rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
  z-index:10;
}
.smart-home-item {
  background: #f0f0f0;
  padding: 16px;
  background: no-repeat 50% / cover;
  text-align: center;
}
.item-rest {
  background-image: url("/smart-home/image1.jpg");
}
.item-apart {
  background-image: url("/smart-home/image2.jpg");
}
.item-home {
  background-image: url("/smart-home/image3.jpg");
}
.item-room {
  background-image: url("/smart-home/image4.jpg");
}
.item-rest-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 0 #000;
  letter-spacing: 0.05rem;
  background-color: #000000b0;
  display: inline-block;
  padding: 0.75rem;
  border-radius: 0.5rem;
}
.smart-home-option {
  position: absolute;
  width: 100%;
  height: 100%;
}
.smart-home-option-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--color-accent);
  color: #fff;
  border-radius: 100%;
  font-weight: bold;
  transition: 0.5s;
  user-select: none;
  cursor: pointer;
  opacity: 0;
  transform: translate(0, 0);
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease, background 0.3s linear;
}
.smart-home-option-item.is-active {
  background-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.6);
  z-index: 2;
}
.smart-home-option.is-animated .smart-home-option-item {
  pointer-events: auto;
}
@media screen and (max-width: 1000.98px) {
  .header__menu{
   display:none 
  }
  
  /*.header__menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    background-color: var(--color-bg-overlay);
    flex-direction: column;
    gap: 1rem;
    padding: var(--site-gap);
    z-index: 1001;
    backdrop-filter: blur(0.5rem);
    transition: transform 0.3s ease;
    transform: translateX(100%);
    padding-top: 70px;
  }

  .header__menu.open {
    transform: translateX(0);
  }

  .header__menu-list {
    flex-direction: column;
  }

  .header__submenu {
    position: static;
    display: flex;
    flex-direction: column;
    gap: var(--site-gap);
    background-color: transparent;
    padding: 0;
    backdrop-filter: blur(0);
  }

  .header__submenu-item {
    padding: 0;
  }

  .header__submenu-link {
    color: var(--color-white);
  }
  
  .header__menu-item {
    display: flex;
    flex-direction: column;
    gap: var(--site-gap);
  }
  */



    .header__menu-toggle {
    display: flex;
    z-index: 1002;
  }
  
  .header__menu-link > .lni,
  .header__auth-text {
    display: none !important;
  }

  .header__auth-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
  }

  .header__auth-link i {
    font-size: 1.625rem;
  }

  .section__title-wrapper {
    flex-direction: column;
    align-items: baseline;
    margin-bottom: 1rem;
  }

  .section__title-link {
    margin-left: 0;
  }

  .footer__wrapper {
    gap: 1rem;
  }
}

@media screen and (max-width: 600.98px) {
  .shop-item__block-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  .shop-item__prices {
    width: 100%;
  }
  .page-header-filter {
    display: flex;
  }
  .soc1al-bar{
    gap:0;
    justify-content: space-evenly;
  }
  .soc1al-bar span {
  font-size:0.8rem;
}
  .header__auth-buttons{
  gap:0.25rem;
  }
}

.is-fixed {
  overflow: hidden;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1rem;
  gap: 0.5rem;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
	padding: 0 !important;

  & ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;

    & li {
      display: flex;
      align-items: center;
      white-space: nowrap;
    }
    & li:not(:last-child)::after {
      content: "—";
      margin-inline: 0.75rem;
      opacity: 0.5;
    }
  }
  :is(a) {
    color: var(--color-gray-300);
    transition: color 0.2s ease;
    text-decoration-thickness: 1px;
    text-underline-position: under;
    padding-block: 0.5rem;
  }
  :is(a):hover {
    text-decoration: underline;
    color: var(--color-accent);
  }

  @media (max-width: 600px) {
    & {
      font-size: 0.85rem;
      gap: 0.25rem;
    }
    & li:not(:last-child)::after {
      margin-inline: 0.25rem;
    }
    & ol {
      gap: 0.25rem;
    }
  }
}
