@charset "UTF-8";
:root {
  --allo-red: #ff0000;
  --comfy-green: #43b02a;
  --main-height: 520px;
  --radius: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: #f4f4f6;
  font-family: "Inter", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

.app-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* OVERLAY */
#page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

body.active-overlay #page-overlay {
  opacity: 1;
  visibility: visible;
}

.header {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 2000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .app-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 15px;
}

.logo {
  font-weight: 900;
  font-size: 32px;
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo span {
  color: #ff0000;
  transition: 0.3s;
}

#catalogBtnDesktop {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  background: #ff0000;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  height: 40px;
  transition: all 0.3s ease;
}

#catalogBtnDesktop:hover {
  background: #e3000f;
  box-shadow: 0 4px 12px rgba(227, 0, 15, 0.3);
}

#catalogBtnDesktop i {
  font-size: 18px;
  margin-right: 8px;
}

#catalogBtnMobile {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 100%;
  background: #ff0000;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

#catalogBtnMobile:hover {
  background: #e3000f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 0, 15, 0.3);
}

#catalogBtnMobile i {
  font-size: 18px;
  margin-right: 8px;
}

.search-container.desktop-only {
  flex: 0 0 400px;
  max-width: 400px;
  width: 100%;
  margin: 0 10px;
}

.phone-number.desktop-only {
  margin: 0 10px;
  flex-shrink: 0;
}

.phone-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: rgba(240, 240, 244, 0.5);
}

.phone-link:hover {
  background: rgba(227, 0, 15, 0.05);
  color: #ff0000;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.phone-link i {
  font-size: 18px;
}

.phone-text {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
}

.header-icons-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 24px;
  color: #333;
  position: relative;
  transition: 0.3s;
  cursor: pointer;
}

.header-icon:hover {
  color: #ff0000;
  background: rgba(227, 0, 15, 0.05);
  transform: translateY(-2px);
}

.header-icon span {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #ff0000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(227, 0, 15, 0.2);
}

.search-bar-container {
  position: relative;
  width: 100%;
}

.search-bar {
  width: 100%;
  padding: 10px 42px 10px 16px;
  border-radius: 16px;
  border: 2px solid transparent;
  font-size: 15px;
  height: 40px;
  background: #f0f0f4;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}

.search-bar:focus {
  background: #fff;
  border-color: #ff0000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 0, 15, 0.1);
}

.bi-search {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #666;
}

.search-bar:focus + .bi-search {
  color: #ff0000;
}

/* Десктоп / мобильные версии */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* Десктопный хедер */
.desktop-header {
  display: block;
}

/* Мобильный хедер */
.mobile-header {
  display: none;
}

/* Адаптация для больших экранов */
@media (min-width: 1400px) {
  .search-container.desktop-only {
    flex: 0 0 500px;
    max-width: 500px;
  }
}
/* Адаптация для средних экранов */
@media (max-width: 1200px) {
  .search-container.desktop-only {
    flex: 0 0 320px;
    max-width: 320px;
  }
  .phone-text {
    font-size: 14px;
  }
  .phone-link {
    padding: 8px 12px;
    font-size: 14px;
  }
  #catalogBtnDesktop {
    padding: 8px 16px;
    font-size: 15px;
    height: 38px;
  }
}
/* Адаптация для планшетов и мобильных */
@media (max-width: 991.98px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
    flex-direction: column;
  }
  .desktop-search {
    display: none;
  }
  .mobile-search {
    display: block;
    width: 100%;
  }
  .header-icons-container a {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  /* На мобильных показываем мобильный хедер, скрываем десктопный */
  .desktop-header {
    display: none;
  }
  .mobile-header {
    display: block;
  }
  /* Контейнер для мобильного хедера */
  .mobile-header .app-container {
    gap: 10px;
  }
}
/* Адаптация для маленьких мобильных */
@media (max-width: 576px) {
  .header-icons-container {
    gap: 8px;
  }
  .header-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .header-icon span {
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
  }
  #catalogBtnMobile {
    padding: 10px 16px;
    font-size: 15px;
  }
}
/* Мобильное меню */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 2100;
  overflow-y: auto;
  padding: 20px;
  transition: left 0.3s ease;
}

.mobile-menu.active {
  display: block;
  left: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 2101;
}

.mobile-menu-categories a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

.mobile-menu-categories a:hover {
  color: #ff0000;
}

/* Контейнер для кнопки каталога в мобильной версии */
.catalog-btn-container {
  padding: 0 15px;
}

/* Стили для изображения логотипа */
.logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.desktop-header {
  display: block;
}

.mobile-header {
  display: none;
}

@media (max-width: 991.98px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
    flex-direction: column;
  }
  .desktop-search {
    display: none;
  }
  .mobile-search {
    display: block;
    width: 100%;
  }
  .header-icons-container a {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .desktop-header {
    display: none;
  }
  .mobile-header {
    display: block;
  }
}
/* Мобильное меню */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 2100;
  overflow-y: auto;
  padding: 20px;
  transition: left 0.3s ease;
}

.mobile-menu.active {
  display: block;
  left: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 2101;
}

.mobile-menu-categories a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

.mobile-menu-categories a:hover {
  color: #ff0000;
}

/* Кнопки каталога */
#catalogBtnDesktop, #catalogBtnMobile {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* SIDEBAR & MEGA MENU */
.sidebar {
  background: #fff;
  border-radius: var(--radius);
  padding: 10px;
  height: var(--main-height);
  border: 1px solid #eee;
  position: relative;
  z-index: 1050;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-radius: 12px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.menu-item:hover {
  background: #fdf2f2;
  color: var(--allo-red);
}

.menu-item i.cat-icon {
  font-size: 18px;
  margin-right: 12px;
  color: #888;
}

/* MEGA MENU CONTENT */
.mega-menu {
  position: absolute;
  top: 0;
  left: 310px;
  width: 850px;
  height: var(--main-height);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 30px 0 60px rgba(0, 0, 0, 0.1);
  display: none;
  padding: 30px;
  z-index: 1060;
  border: 1px solid #eee;
  grid-template-columns: repeat(3, 1fr) 250px;
  gap: 20px;
}

.menu-wrap:hover .mega-menu {
  display: grid;
}

.menu-wrap:hover .menu-item {
  background: #fdf2f2;
  color: var(--allo-red);
}

.mega-title {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 15px;
  display: block;
}

.mega-link {
  display: block;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: 0.2s;
}

.mega-link:hover {
  color: var(--allo-red);
  transform: translateX(5px);
}

.mega-banner {
  background: linear-gradient(135deg, #fff0f0 0%, #ffe3e3 100%);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ffdada;
}

/* GRID LAYOUT */
.main-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  margin-top: 20px;
  position: relative;
}

/* CONTENT AREA (4 EQUAL COLUMNS) */
.content-area {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* SLIDER (Span 3) */
.slider-section {
  grid-column: span 3;
  position: relative;
  height: var(--main-height);
  z-index: 1030;
}

.carousel, .carousel-inner, .carousel-item {
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  height: 100%;
}

/* MODERN SLIDER NAV */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 50%;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0;
}

.slider-section:hover .nav-btn {
  opacity: 1;
}

.nav-btn:hover {
  background: var(--allo-red);
  color: #fff;
}

.nav-btn.prev {
  left: -27px;
}

.nav-btn.next {
  right: -27px;
}

.b-card {
  border-radius: var(--radius);
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.b-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.b-card h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* ACTION CARD */
.action-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: var(--main-height);
  border: 1px solid #eee;
  z-index: 1030;
}

.timer-tag {
  background: #fff1f1;
  color: var(--allo-red);
  padding: 6px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
}

.btn-buy {
  background: var(--comfy-green);
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 16px;
  font-weight: 700;
  margin-top: auto;
  transition: 0.3s;
}

.btn-buy:hover {
  background: #399624;
  filter: brightness(1.1);
}

/*# sourceMappingURL=stylesheet.css.map */
