.main-page {
  display: flex;
  padding: 10px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  align-items: center;
  isolation: isolate;
  gap: 10px;
  line-height: normal;
  letter-spacing: normal;
  background-color: #FCFDFD;
}
.page-wrapper {
  height: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1;
  flex-shrink: 0;
  text-align: left;
  font-size: 30px;
  color: #e3e3e3;
  font-family: Saira;
}
.page-wrapper-outer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.page-container {
  background-color: #fcfdfd;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-logo-group,
.header {
  height: 75px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.header {
  width: 1280px;
  background-color: #fff;
  border-bottom: 2px solid #f0f4f5;
  text-align: left;
  font-size: 26px;
  color: #b8cbd0;
  font-family: Anta;
}
.header-logo-group {
  width: 437px;
  justify-content: space-between;
  padding: 10px 87px 10px 0;
  gap: 20px;
}
.delight {
  margin: 0;
  position: relative;
  font-size: inherit;
  font-weight: 400;
  font-family: inherit;
}
.catalog,
.text {
  display: flex;
  align-items: center;
}
.text {
  gap: 45px;
  font-size: 15.5px;
  color: #656d70;
  font-family: Mulish;
}
.catalog {
  justify-content: center;
}
.menu-text {
  position: relative;
  font-weight: 600;
}
.header-search-group,
.gallery,
.search {
  display: flex;
  align-items: center;
}
.gallery {
  align-self: stretch;
  justify-content: center;
}
.header-search-group,
.search {
  height: 75px;
  width: 448px;
}
.search {
  height: 78px;
  gap: 20px;
  flex-shrink: 0;
}
.header-icon-img {
  width: 23px;
  position: relative;
  max-height: 100%;
  object-fit: cover;
}
.search-field {
  height: 27px;
  width: 406px;
  border-radius: 4px 25px 25px 4px;
  background-color: #fcfdfd;
  border: 1px solid #699;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 7px 6px 5px 8px;
}
.vector-icon {
  width: 12px;
  position: relative;
  max-height: 100%;
}
.header-actions-group {
  height: 75px;
  width: 395px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 48px;
  box-sizing: border-box;
  gap: 20px;
  font-size: 15px;
  color: #000;
  font-family: Ubuntu;
}
.header-icon-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 0;
  gap: 14px;
}
.heart-icon {
  width: 19px;
  position: relative;
  max-height: 100%;
  object-fit: cover;
}
/* ── Language switcher (copied from assets-main/css/header.css) ─── */
.site-header__lang {
  display: flex;
  align-items: center;
}

.site-header__lang-select {
  height: 32px;
  padding: 0 8px;
  border: 1px solid #669999;
  border-radius: 12px;
  background: #ffffff;
  color: #0b0b0b;
  font-family: Ubuntu, sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  appearance: auto;
}

.site-header__lang-select:hover,
.site-header__lang-select:focus {
  border-color: #7aa7a2;
  box-shadow: 0 0 0 3px rgba(122, 167, 162, 0.2);
}

.site-header__lang--mobile {
  display: none;
}

/* ── Account dropdown (copied from assets-main/css/header.css) ──── */
.site-header__account {
  position: relative;
}

.site-header__account-summary {
  list-style: none;
  height: 33px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid #f0f4e5;
  background: #ffffff;
  color: #0b0b0b;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

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

.site-header__account-summary:hover,
.site-header__account-summary:focus-visible {
  border-color: #7aa7a2;
  box-shadow: 0 0 0 3px rgba(122, 167, 162, 0.18);
  outline: none;
}

.site-header__account-avatar {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #f0f4e5;
  color: #6b6b6b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.site-header__account-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.site-header__account-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6b6b6b;
  margin-left: 2px;
  transition: transform 180ms ease;
  flex-shrink: 0;
}

.site-header__account[open] .site-header__account-caret {
  transform: rotate(180deg);
}

.site-header__account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 260px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid #f0f4e5;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  z-index: 1005;
}

.site-header__account-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 10px;
}

.site-header__account-header-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f0f4e5;
  color: #6b6b6b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
}

.site-header__account-header-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-header__account-header-name {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #0b0b0b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__account-header-email {
  font-size: 12px;
  color: #6b6b6b;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header__account-divider {
  height: 1px;
  background: #f0f4e5;
  margin: 6px 6px;
}

.site-header__account-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #2b2b2b;
  font-size: 14px;
  font-weight: 600;
  font-family: Ubuntu, sans-serif;
  box-sizing: border-box;
}

.site-header__account-item-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b0b0b;
  opacity: 0.85;
  flex: 0 0 auto;
}

.site-header__account-item:hover,
.site-header__account-item:focus-visible {
  background: rgba(13, 180, 242, 0.08);
  outline: none;
}

.site-header__account-item--danger {
  color: #cc0000;
}

.site-header__account-item--danger .site-header__account-item-icon {
  color: #cc0000;
}

.site-header__account-item--danger:hover,
.site-header__account-item--danger:focus-visible {
  background: rgba(255, 0, 0, 0.07);
}

.header-auth-group {
  align-self: stretch;
  width: auto;
  justify-content: flex-end;
}
.header-auth-group,
.log,
.login {
  display: flex;
  align-items: center;
}
.log {
  padding: 20px 0;
  gap: 12px;
}
.login {
  cursor: pointer;
  border: 0;
  padding: 10px 15px;
  background-color: #ffae00;
  height: 27px;
  width: 60px;
  border-radius: 8px;
  justify-content: center;
  box-sizing: border-box;
}
.login-label {
  position: relative;
  font-size: 14px;
  font-family: Ubuntu;
  color: #fff;
  text-align: left;
  text-shadow: 1px 1px 3px rgba(102, 0, 0, 0.4);
  flex-shrink: 0;
}
.sign-up {
  cursor: pointer;
  border: 0;
  padding: 10px 15px;
  background-color: #00aeff;
  height: 27px;
  width: 73px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.sign-up-label {
  position: relative;
  font-size: 14px;
  font-family: Ubuntu;
  color: #fff;
  text-align: left;
  text-shadow: 1px 1px 3px rgba(0, 10, 153, 0.5);
  flex-shrink: 0;
}
.white-gap-between {
  width: 1280px;
  height: 3px;
  position: relative;
  background-color: #fff;
}

/* ── Hamburger button (hidden on desktop) ───────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #5f7874;
  border-radius: 3px;
  transition: all 0.3s;
}

/* ── Mobile nav overlay ─────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-nav.open {
  opacity: 1;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: #fff;
  padding: 24px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-logo {
  font-size: 22px;
  font-family: Anta;
  color: #b8cbd0;
  font-weight: 400;
}
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #656d70;
  line-height: 1;
  padding: 4px;
}
.mobile-nav-links-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-link {
  font-size: 15px;
  font-family: Mulish;
  font-weight: 600;
  color: #656d70;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #f0f4f5;
}
.mobile-nav-link:hover {
  color: #5f7874;
}
.mobile-nav-auth-btns {
  display: flex;
  gap: 10px;
}
.mobile-nav-footer {
  margin-top: auto;
}
body.nav-open {
  overflow: hidden;
}

/* ── Tablet: up to 1280px ───────────────────────────────────────── */
@media screen and (max-width: 1280px) {
  .page-wrapper {
    padding: 0 12px;
  }
  .page-container {
    width: 100%;
  }
  .header,
  .white-gap-between {
    width: 100%;
    box-sizing: border-box;
  }
  .header-logo-group {
    width: auto;
    padding-right: 20px;
  }
  .text {
    display: none;
  }
}

/* ── Tablet: up to 1024px ───────────────────────────────────────── */
@media screen and (max-width: 1024px) {
  .header {
    padding: 0 16px;
    gap: 12px;
    justify-content: space-between;
  }
  .header-search-group,
  .search {
    width: auto;
    flex: 1;
  }
  .search-field {
    width: 100%;
  }
  .header-actions-group {
    width: auto;
    padding-left: 12px;
    gap: 12px;
  }
}

/* ── Mobile: up to 768px ────────────────────────────────────────── */
@media screen and (max-width: 768px) {
  /* show hamburger, show mobile nav */
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  /* hide desktop-only header items */
  .header-auth-group,
  .site-header__lang--desktop {
    display: none;
  }

  .page-wrapper {
    padding: 0 8px;
  }
  .header {
    padding: 0 12px;
    gap: 8px;
  }
  .header-logo-group {
    padding-right: 0;
    gap: 8px;
    width: auto;
    flex-shrink: 0;
  }
  .delight {
    font-size: 20px;
  }
  .header-search-group {
    flex: 1;
    width: auto;
    height: 56px;
  }
  .search {
    width: 100%;
    height: 56px;
  }
  .search-field {
    width: 100%;
    flex: 1;
  }
  .header-icon-img {
    display: none;
  }
  .header-actions-group {
    padding-left: 8px;
    gap: 10px;
    width: auto;
    flex-shrink: 0;
  }
  .header-icon-group {
    gap: 10px;
  }
}

/* ── Small mobile: up to 480px ─────────────────────────────────── */
@media screen and (max-width: 480px) {
  .header {
    padding: 0 8px;
    height: 56px;
  }
  .header-logo-group,
  .header-actions-group {
    height: 56px;
  }
  .delight {
    font-size: 18px;
  }
  .heart-icon {
    width: 18px;
  }
  .search-field {
    width: 100%;
    min-width: 0;
  }
}
