/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[3]!./src/app/(auth)/layout.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
/* Auth Layout - Material 3 Design from Figma */

.layout_container__hz899 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F5F5F5;
}

/* Header */
.layout_header__TBEvg {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.layout_headerTop__CnbbA {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
}

.layout_logo__3MI8W {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.layout_logoIcon__gNdVa {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #37b58d 0%, #2a8a6b 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.layout_logoText__SIvoO {
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
}

.layout_catalogButton__rg9MA {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #37b58d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.layout_catalogButton__rg9MA:hover {
  background: #37b58d;
}

.layout_searchContainer__NAMfh {
  flex: 1 1;
  display: flex;
  align-items: center;
  background: #F5F5F5;
  border-radius: 8px;
  overflow: hidden;
  max-width: 600px;
}

.layout_searchInput__Jn4xa {
  flex: 1 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
}

.layout_searchInput__Jn4xa::placeholder {
  color: #9E9E9E;
}

.layout_searchSelect__XN_fx {
  padding: 10px 12px;
  border: none;
  border-left: 1px solid #E0E0E0;
  background: transparent;
  font-size: 14px;
  color: #616161;
  cursor: pointer;
  outline: none;
}

.layout_headerActions__r6r_l {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.layout_headerIcon__MaLrp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #616161;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.layout_headerIcon__MaLrp:hover {
  background: #F5F5F5;
  color: #37b58d;
}

/* Categories Navigation */
.layout_categoriesNav__FRL4v {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.layout_categoriesNav__FRL4v::-webkit-scrollbar {
  display: none;
}

.layout_categoryLink__rj4_D {
  font-size: 13px;
  color: #616161;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.layout_categoryLink__rj4_D:hover {
  color: #37b58d;
}

/* Main Content */
.layout_main__mMQnG {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

/* Footer */
.layout_footer__CDKOi {
  background: #FAFAFA;
  border-top: 1px solid #E0E0E0;
  padding: 40px 24px;
}

.layout_footerContent__7NhsC {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 40px;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.layout_footerSection__O_75R {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.layout_footerSection__O_75R h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 4px 0;
}

.layout_footerSection__O_75R a {
  font-size: 13px;
  color: #616161;
  text-decoration: none;
  transition: color 0.2s;
}

.layout_footerSection__O_75R a:hover {
  color: #37b58d;
}

/* Responsive */
@media (max-width: 1024px) {
  .layout_footerContent__7NhsC {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .layout_headerTop__CnbbA {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .layout_searchContainer__NAMfh {
    order: 3;
    width: 100%;
    max-width: none;
  }
  
  .layout_categoriesNav__FRL4v {
    padding: 8px 16px;
    gap: 16px;
  }
  
  .layout_main__mMQnG {
    padding: 24px 16px;
  }
  
  .layout_footerContent__7NhsC {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .layout_catalogButton__rg9MA span {
    display: none;
  }
  
  .layout_headerActions__r6r_l {
    gap: 4px;
  }
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[3]!./src/components/layout/Breadcrumbs.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************/
/* Хлебные крошки - единый стиль для всего сайта */
.Breadcrumbs_breadcrumbs__K6Rnq {
  width: 100%;
  padding: 0;
}

.Breadcrumbs_withMargin__EaozY {
  margin-bottom: 24px;
}

.Breadcrumbs_breadcrumbsList__VWNST {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.Breadcrumbs_breadcrumbsItem__juQ3F {
  display: flex;
  align-items: center;
  gap: 0;
}

.Breadcrumbs_breadcrumbsLink__vVSFE {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #81818F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.Breadcrumbs_breadcrumbsLink__vVSFE:hover {
  color: #3679B5;
}

.Breadcrumbs_breadcrumbsCurrent___BNKu {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #25252E;
}

.Breadcrumbs_breadcrumbsSeparator__jemx0 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #B2B2C2;
  margin: 0 8px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .Breadcrumbs_breadcrumbsLink__vVSFE,
  .Breadcrumbs_breadcrumbsCurrent___BNKu,
  .Breadcrumbs_breadcrumbsSeparator__jemx0 {
    font-size: 12px;
    line-height: 16px;
  }
  
  .Breadcrumbs_breadcrumbsSeparator__jemx0 {
    margin: 0 6px;
  }
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[3]!./src/components/layout/Footer.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.Footer_footer__eNA9m {
  background: var(--bg-primary);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.Footer_container__IkLXC {
  max-width: 1920px;
  margin: 0 auto;
  padding: 56px 130px 26px;
}

.Footer_grid__WCfx6 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 54px;
  gap: 54px;
  margin-bottom: 36px;
}

.Footer_grid__WCfx6[style] {
  gap: 40px;
}

.Footer_column__DPqof {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.Footer_columnTitle__75v_I {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  color: #A0A0AB;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.Footer_links__13oK3 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.Footer_links__13oK3 a {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.Footer_links__13oK3 a:hover {
  color: var(--accent-primary);
}

.Footer_bottom__ch0uR {
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.Footer_copyright__vFlrA {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
  margin: 0;
}

@media (max-width: 1280px) {
  .Footer_container__IkLXC {
    padding: 48px 32px 24px;
  }
}

@media (max-width: 992px) {
  .Footer_grid__WCfx6 {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
  }
}

@media (max-width: 768px) {
  .Footer_container__IkLXC {
    padding: 28px 16px 80px;
  }

  .Footer_columnTitle__75v_I {
    font-size: 10px;
  }

  .Footer_columnLink__SPc0H {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .Footer_grid__WCfx6 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .Footer_container__IkLXC {
    padding: 28px 12px 16px;
  }
}

/*!*************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[3]!./src/components/layout/NotificationDropdown.module.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************/
/* NotificationDropdown.module.css */

.NotificationDropdown_container__lqsnq {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.NotificationDropdown_iconButton__Ii9Py {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  position: relative;
}

.NotificationDropdown_iconButton__Ii9Py img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

/* Бейдж с количеством */
.NotificationDropdown_badge__dO6jY {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #e91e63;
  color: white;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  font-family: 'Inter', sans-serif;
}

/* Выпадающий список */
.NotificationDropdown_dropdown__ivl7H {
  position: absolute;
  top: calc(100% + 12px);
  right: -12px;
  width: 380px;
  max-height: 480px;
  background: #ffffff;
  border: 1px solid #E4E4EE;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Заголовок */
.NotificationDropdown_header__syi5X {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #E4E4EE;
  background: #F9F9FB;
}

.NotificationDropdown_headerTitle__tzyVg {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #25252E;
}

.NotificationDropdown_markAllRead__5izem {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #3679B5;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.NotificationDropdown_markAllRead__5izem:hover {
  background-color: rgba(54, 121, 181, 0.08);
}

/* Список уведомлений */
.NotificationDropdown_list__h6JWV {
  overflow-y: auto;
  flex: 1 1;
  max-height: 400px;
  scrollbar-width: thin;
  scrollbar-color: #D1D1DB transparent;
}

.NotificationDropdown_list__h6JWV::-webkit-scrollbar {
  width: 6px;
}

.NotificationDropdown_list__h6JWV::-webkit-scrollbar-track {
  background: transparent;
}

.NotificationDropdown_list__h6JWV::-webkit-scrollbar-thumb {
  background-color: #D1D1DB;
  border-radius: 3px;
}

/* Элемент уведомления */
.NotificationDropdown_item__JbvyE {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #F4F5F9;
  position: relative;
}

.NotificationDropdown_item__JbvyE:last-child {
  border-bottom: none;
}

.NotificationDropdown_item__JbvyE:hover {
  background-color: #F9F9FB;
}

.NotificationDropdown_item__JbvyE.NotificationDropdown_unread__ThNnF {
  background-color: rgba(54, 121, 181, 0.04);
}

.NotificationDropdown_item__JbvyE.NotificationDropdown_unread__ThNnF:hover {
  background-color: rgba(54, 121, 181, 0.08);
}

/* Иконка уведомления */
.NotificationDropdown_itemIcon__lCNPi {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #F4F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.NotificationDropdown_itemImage__Ivzfv {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.NotificationDropdown_itemEmoji__nMj_V {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Контент уведомления */
.NotificationDropdown_itemContent__ARuu7 {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.NotificationDropdown_itemHeader__OjYfS {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.NotificationDropdown_itemType__dVoYC {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #81818F;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.NotificationDropdown_itemDate__l1xwF {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #81818F;
  flex-shrink: 0;
}

.NotificationDropdown_itemTitle__ZCRYr {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #25252E;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.NotificationDropdown_itemDescription__bTogS {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #81818F;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.NotificationDropdown_itemButton__Q_u7w {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #3679B5;
  margin-top: 4px;
}

/* Индикатор непрочитанного */
.NotificationDropdown_unreadDot__JYAja {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #3679B5;
  border-radius: 50%;
}

/* Состояния */
.NotificationDropdown_loading__xV9v_,
.NotificationDropdown_empty__mq_GV {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 12px;
}

.NotificationDropdown_spinner__Cd6YI {
  width: 32px;
  height: 32px;
  border: 3px solid #E4E4EE;
  border-top-color: #3679B5;
  border-radius: 50%;
  animation: NotificationDropdown_spin__GOTR7 0.8s linear infinite;
}

@keyframes NotificationDropdown_spin__GOTR7 {
  to {
    transform: rotate(360deg);
  }
}

.NotificationDropdown_emptyIcon__nsM11 {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

.NotificationDropdown_emptyText__5RyVw {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #81818F;
}

/* Адаптивность */
@media (max-width: 768px) {

  .NotificationDropdown_dropdown__ivl7H {
    position: fixed;
    top: 60px;
    left: 8px;
    right: 8px;
    bottom: auto;
    width: auto;
    max-height: calc(100vh - 130px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[7].use[3]!./src/components/layout/Header.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
/* Header.module.css - Figma Design */

/* Top bar — inside header, hides on scroll via negative sticky top */
.Header_topBar__p1Q3e {
  padding: 4px 0;
  min-height: 28px;
}

/* Header card — STICKY, glassmorphism, width = content area */
.Header_header__hO3lJ {
  display: flex;
  flex-direction: column;
  width: calc(100% - 240px);
  max-width: 1660px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #ffffff59;
  border: 2px solid #ffffff54;
  border-radius: 0 0 20px 20px;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  box-shadow: 6px 6px 8px #3679b50f;
  position: -webkit-sticky;
  position: sticky;
  top: -28px;
  z-index: 100;
}

.Header_topBarContainer__7V4IB {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  gap: 24px;
}

.Header_topBarLeft__eXDqi {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.Header_topBarRight__Dre3k {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.Header_topBarUserInfo__afjWH {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #0F1E2C;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.Header_topBarUserInfo__afjWH:hover {
  color: #3679B5;
}

.Header_topBarUserIcon__bw5lf {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

.Header_topBarAddress__HTnnG {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.Header_topBarLink__Su2GN {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #0F1E2C;
  text-decoration: none;
  transition: color 0.2s;
}

.Header_topBarLink__Su2GN:hover {
  color: #0F1E2C;
}

/* --- Main Header Row --- */
.Header_container__EZyBV {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  width: 100%;
  gap: 20px;
}

/* --- Logo --- */
.Header_logoSection__ZiCEa {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.Header_logoImage__qjzBq {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  filter: none;
}

.Header_logoText__4ZhAR {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
  color: #0F1E2C;
}

/* --- Catalog Button --- */
.Header_catalogButton__B5q0L {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #3679B5;
  border-radius: 6px;
  padding: 10px;
  height: 48px;
  color: #ffffff;
  border: 1px solid #3679B5;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.Header_catalogButton__B5q0L:hover {
  background-color: #2A5F8E;
}

.Header_catalogButtonText__I6xRc {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

/* Hamburger → X animation */
.Header_hamburger__lUulX {
  width: 18px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.Header_hamburger__lUulX span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Hamburger stays white — it's inside the blue catalogButton */

.Header_hamburgerActive__22tfu span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.Header_hamburgerActive__22tfu span:nth-child(2) {
  opacity: 0;
}

.Header_hamburgerActive__22tfu span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.Header_catalogButtonActive__akNNj {
  background-color: #2A5F8E;
}

/* --- Search Box --- */
.Header_searchWrapper__Jr3Xl {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 825px; /* From Figma */
  max-width: 100%;
  flex: 1 1; /* Allow to shrink if needed */
}

.Header_searchForm__Bz_Wl {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F4F5F9;
  border: 1px solid #E4E4EE;
  border-radius: 6px;
  padding: 0 16px;
  height: 48px;
  width: 100%;
  transition: background-color 0.2s, border-color 0.2s;
}

.Header_searchForm__Bz_Wl:focus-within {
  background: #ffffff;
  border-color: #3679B5;
}

.Header_searchIconWrapper__jZScR {
  width: 20px;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.Header_searchIconWrapper__jZScR img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.Header_searchInput__MAyjA {
  flex: 1 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #0F1E2C;
  min-width: 0;
}

.Header_searchInput__MAyjA::placeholder {
  color: #81818F;
}

.Header_searchActions__dLmjr {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}

.Header_searchSelectText__kJdMC {
  font-size: 16px;
  color: #81818F;
  white-space: nowrap;
}

/* Category toggle button */
.Header_searchCategoryToggle__79_dF {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-left: 1px solid #E4E4EE;
  padding: 4px 0 4px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.Header_searchDropdownArrow__JUUYH {
  color: #81818F;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.Header_searchDropdownArrowOpen__QiHId {
  transform: rotate(180deg);
}

/* Category dropdown */
.Header_categoryDropdown__u13dR {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  max-height: 300px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #E4E4EE;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  padding: 6px;
}

.Header_categoryDropdownItem__iyfWs {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #25252E;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.Header_categoryDropdownItem__iyfWs:hover {
  background: #F4F5F9;
}

.Header_categoryDropdownItemActive__MQHcR {
  background: #E8F0F8;
  color: #3679B5;
  font-weight: 500;
}

.Header_categoryDropdownItemActive__MQHcR:hover {
  background: #D5E3F2;
}

/* Search Results Dropdown */
.Header_searchResults__NkDRs {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #E4E4EE;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0;
}

/* Кастомный скроллбар */
.Header_searchResults__NkDRs::-webkit-scrollbar {
  width: 6px;
}

.Header_searchResults__NkDRs::-webkit-scrollbar-track {
  background: transparent;
}

.Header_searchResults__NkDRs::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 3px;
}

.Header_searchResults__NkDRs::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
}

.Header_searchLoading__kE9BH {
  padding: 24px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #81818F;
}

.Header_searchNoResults__myKq0 {
  padding: 32px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #81818F;
  line-height: 1.5;
}

.Header_searchResultItem___ku2B {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.Header_searchResultItem___ku2B:hover {
  background-color: #F4F5F9;
}

.Header_searchResultImage__atFfS {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #F4F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0f0f5;
}

.Header_searchResultImageImg__2W3um {
  object-fit: contain;
}

.Header_searchResultImage__atFfS img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.Header_searchResultPlaceholder__enj31 {
  width: 100%;
  height: 100%;
  background: #E4E4EE;
}

.Header_searchResultInfo__RziTF {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.Header_searchResultName__NVEWs {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #25252E;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.Header_searchResultCategory__cL3MP {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9CA3AF;
  line-height: 1.3;
}

.Header_searchResultPrice__X3NUE {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ff6666;
  white-space: nowrap;
  flex-shrink: 0;
}

.Header_searchResultsAll__12cQY {
  padding: 12px 16px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #3679B5;
  cursor: pointer;
  margin: 4px 8px 0;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}

.Header_searchResultsAll__12cQY:hover {
  background-color: #F4F5F9;
}

/* --- User Actions --- */
.Header_actions__SRauh {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.Header_actionItem__zR1Lj {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.Header_actionLabel__kwTYC {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1;
  color: #0F1E2C;
  white-space: nowrap;
}

.Header_actionLabelLink__o92Cd,
.Header_actionLabelButton__CWkjg {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1;
  color: #0F1E2C;
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.Header_actionLabelLink__o92Cd:hover,
.Header_actionLabelButton__CWkjg:hover {
  color: #25252E;
}

.Header_iconButton__uUZt_ {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0; /* Prevent shrinking */
  position: relative;
}

.Header_iconButton__uUZt_ img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

/* Cart Badge */
.Header_cartBadge__pG732 {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #3679B5;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
}

/* --- Divider --- */
.Header_headerDivider__y4nT2 {
  height: 1px;
  width: 100%;
  background-color: #E4E4EE;
  opacity: 0.8;
}

/* --- Categories Menu — outside headerWrap, page background --- */
.Header_categoriesRow__PM6OQ {
  width: 100%;
  background: transparent;
}

.Header_categoriesMenu__PwXcX {
  display: flex;
  gap: 40px;
  padding: 0 130px;
  height: 48px;
  align-items: center;
  overflow-x: auto;
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.Header_categoriesMenu__PwXcX::-webkit-scrollbar {
  display: none;
}

.Header_categoryLink__TbBtF {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #25252E;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.Header_categoryLink__TbBtF:hover {
  color: #3679B5;
}

/* --- Mega Menu --- */
.Header_megaOverlay__wmrUh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  z-index: 97;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  animation: Header_megaFadeIn__odUyq 0.2s ease;
}

@keyframes Header_megaFadeIn__odUyq {
  from { opacity: 0; }
  to { opacity: 1; }
}

.Header_megaMenuInner__rNdN9 {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 8px 130px 40px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-sizing: border-box;
}

.Header_megaGrid__hG4lV {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  grid-gap: 28px 36px;
  gap: 28px 36px;
  animation: Header_megaSlideDown__aLgbB 0.25s ease;
}

@keyframes Header_megaSlideDown__aLgbB {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.Header_megaCol__gstPu {
  min-width: 0;
}

.Header_megaTitle__smys9 {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #212121;
  text-decoration: none;
  margin-bottom: 12px;
}

.Header_megaList__r6Ur2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.Header_megaLink__2MXPZ {
  font-size: 14px;
  color: #757575;
  text-decoration: none;
  transition: color 0.2s;
}

.Header_megaLink__2MXPZ:hover {
  color: #3679B5;
}

/* --- Responsive --- */
@media (max-width: 1280px) {
  .Header_topBar__p1Q3e {
    padding: 4px 0;
  }

  .Header_header__hO3lJ {
    width: 100%;
    max-width: none;
    padding: 0 32px;
  }

  .Header_categoriesMenu__PwXcX {
    padding: 0 32px;
    gap: 24px;
  }

  .Header_megaMenuInner__rNdN9 {
    padding: 8px 32px 40px;
  }
}

@media (max-width: 1024px) {
  .Header_topBar__p1Q3e {
    padding: 4px 0;
  }

  .Header_header__hO3lJ {
    width: 100%;
    max-width: none;
    padding: 0 24px;
  }

  .Header_container__EZyBV {
    flex-wrap: wrap;
  }
  
  .Header_topBarLeft__eXDqi {
    display: none;
  }

  .Header_topBarContainer__7V4IB {
    justify-content: center;
  }
  
  .Header_categoriesMenu__PwXcX {
    padding: 0 24px;
    gap: 20px;
  }

  .Header_searchWrapper__Jr3Xl {
    width: 100%;
    order: 3;
  }

  .Header_megaMenuInner__rNdN9 {
    padding: 8px 24px 40px;
  }

  .Header_megaGrid__hG4lV {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .Header_topBar__p1Q3e {
    display: none;
  }

  .Header_header__hO3lJ {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 12px;
    border-radius: 0;
    border: none;
    background-color: #ffffff;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    top: 0;
  }

  .Header_headerDivider__y4nT2 {
    display: none;
  }

  .Header_categoriesRow__PM6OQ {
    display: none;
  }

  .Header_searchForm__Bz_Wl:focus-within {
    background: #ffffff;
    border-color: #3679B5;
  }

  .Header_actionLabel__kwTYC,
  .Header_actionLabelLink__o92Cd,
  .Header_actionLabelButton__CWkjg {
    display: none;
  }

  .Header_megaGrid__hG4lV {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
  }

  .Header_megaMenuInner__rNdN9 {
    padding: 8px 16px 40px;
  }

  .Header_searchResults__NkDRs {
    max-height: 60vh;
  }
}

@media (max-width: 480px) {
  .Header_header__hO3lJ {
    padding: 0 8px;
  }

  .Header_container__EZyBV {
    padding: 6px 0;
    gap: 6px;
  }

  .Header_logoText__4ZhAR {
    display: none;
  }
}

/* === Mobile Bottom Navigation === */
.Header_mobileBottomNav__10ht7 {
  display: none;
}

@media (max-width: 768px) {
  /* Hide desktop catalog button on mobile; keep only notification in actions */
  .Header_catalogButton__B5q0L {
    display: none;
  }

  .Header_actions__SRauh {
    gap: 0;
    flex-shrink: 0;
  }

  .Header_actions__SRauh .Header_actionItem__zR1Lj {
    display: none;
  }

  .Header_actions__SRauh .Header_actionItem__zR1Lj:last-child {
    display: inline-flex;
  }

  /* Mobile header: logo + search + notification in one row */
  .Header_container__EZyBV {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 0;
  }

  .Header_logoImage__qjzBq {
    width: 32px;
    height: 32px;
  }

  .Header_logoSection__ZiCEa {
    flex-shrink: 0;
  }

  .Header_searchWrapper__Jr3Xl {
    order: 0;
    min-width: 0;
    flex: 1 1;
  }

  .Header_searchForm__Bz_Wl {
    height: 36px;
    padding: 0 10px;
    gap: 8px;
  }

  .Header_searchInput__MAyjA {
    font-size: 13px;
  }

  /* Hide category selector on mobile to save space */
  .Header_searchActions__dLmjr {
    display: none;
  }

  /* Show mobile bottom nav */
  .Header_mobileBottomNav__10ht7 {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #E4E4EE;
    z-index: 100;
    padding: 4px 0;
    padding-bottom: max(4px, env(safe-area-inset-bottom, 4px));
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  }

  .Header_mobileNavItem__HUJc3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    text-decoration: none;
    color: #81818f;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .Header_mobileNavItemActive__SuMf8 {
    color: #3679B5;
  }

  .Header_mobileNavIconWrap__77AbL {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Header_mobileNavBadge__0csqS {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #3679B5;
    color: white;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
  }

  /* Categories row hidden on mobile (redundant with bottom nav) */
  .Header_categoriesRow__PM6OQ {
    display: none;
  }
}

