/* Desktop / tablet shell — header, mega menus, newsletter band, trust strip, footer.
   Measurements follow the 1440px Web panel artboards (80px gutters, 1280px content). */

/* ---------- Header ---------- */
.be-dh {
  position: relative;
  z-index: 100;
  font-family: var(--be-font-ui);
  color: var(--be-ink);
}

.be-dh__promo {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--be-maroon);
  color: var(--be-canvas);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
}

.be-dh__band {
  position: relative;
  height: 134px;
  background:
    url("../img/icons/header-peach.svg") top left / 100% 134px no-repeat,
    linear-gradient(var(--be-maroon) 0 10px, transparent 10px);
}

.be-dh__row {
  height: 100px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.be-dh__logo {
  flex: 0 0 auto;
  display: block;
  width: 190px;
  height: 40px;
}

.be-dh__logo img {
  width: 190px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.be-dh__nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 60px;
}

.be-dh__nav-item {
  position: relative;
}

.be-dh__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  color: var(--be-ink);
  white-space: nowrap;
}

.be-dh__nav-btn img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.be-dh__nav-item.is-open .be-dh__nav-btn img {
  transform: rotate(180deg);
}

.be-dh__search {
  position: relative;
  flex: 0 1 320px;
  min-width: 180px;
  margin-left: auto;
}

.be-dh__search-box {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: var(--be-white);
  border: 1px solid var(--be-line);
  border-radius: 999px;
}

.be-dh__search-box:focus-within {
  border-color: var(--be-coral-soft);
  box-shadow: 0 0 0 3px rgba(255, 139, 122, 0.16);
}

.be-dh__search-box img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.be-dh__search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  line-height: 22px;
  color: var(--be-ink);
}

.be-dh__search-box input::placeholder {
  color: var(--be-muted);
}

.be-dh__search-box input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.be-dh__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}

.be-dh__icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--be-blush-line);
  border-radius: 999px;
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.be-dh__icon:hover {
  border-color: var(--be-coral-soft);
  background: rgba(255, 255, 255, 0.5);
}

.be-dh__icon img {
  width: 24px;
  height: 24px;
}

.be-dh__avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--be-color-baby-vintage-gold, #efbf5a);
  border-radius: 999px;
  background: var(--be-white);
  font-family: var(--be-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-dh__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-dh__cats {
  position: relative;
  z-index: 1;
  margin-top: -10px;
}

.be-dh__cats ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}

.be-dh__cats ul::-webkit-scrollbar {
  display: none;
}

.be-dh__cats a {
  font-size: 14px;
  line-height: 22px;
  color: var(--be-ink-soft);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.be-dh__cats a:hover,
.be-dh__cats a.is-current {
  color: var(--be-coral);
}

/* Dropdown + mega menu panels */
.be-dh__panel {
  position: absolute;
  top: calc(100% + 18px);
  left: -24px;
  z-index: 120;
  min-width: 280px;
  padding: 16px;
  background: var(--be-white);
  border: 1px solid var(--be-line);
  border-radius: 24px;
  box-shadow: var(--be-shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.be-dh__nav-item.is-open > .be-dh__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.be-dh__panel-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--be-ink);
}

.be-dh__panel-link small {
  font-size: 12px;
  font-weight: 400;
  color: var(--be-muted);
}

.be-dh__panel-link:hover {
  background: var(--be-blush);
}

.be-dh__panel--mega {
  width: min(960px, calc(100vw - 2 * var(--be-gutter)));
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
}

.be-dh__mega-col h4 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.be-dh__mega-col h4 a:hover {
  color: var(--be-coral);
}

.be-dh__mega-col li a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--be-ink-soft);
}

.be-dh__mega-col li a:hover {
  color: var(--be-coral);
}

.be-dh__mega-foot {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--be-line);
}

/* ---------- Newsletter band + trust strip + app promo ---------- */
.be-nl {
  position: relative;
  margin-top: 96px;
  padding-top: 46px;
}

.be-nl__band {
  position: absolute;
  left: 0;
  right: 0;
  top: 46px;
  height: 663px;
  background: #fff2f0;
  -webkit-mask: url("../img/ui/nl-band-mask.svg") 0 0 / 100% 100% no-repeat;
  mask: url("../img/ui/nl-band-mask.svg") 0 0 / 100% 100% no-repeat;
}

.be-nl__band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 139, 122, 0.4) 0 21px, transparent 21px 45px);
  background-position: 12px 0;
}

.be-nl__inner {
  position: relative;
  z-index: 1;
}

.be-nl__card {
  position: relative;
  width: 570px;
  max-width: 100%;
  min-height: 339px;
  margin: 134px auto 0;
  padding: 48px 72px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.be-nl__card-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.be-nl__card-shell svg {
  width: 100%;
  height: 100%;
}

.be-nl__card > *:not(.be-nl__card-shell) {
  position: relative;
  z-index: 1;
}

.be-nl__logo {
  width: 52px;
  height: 44px;
  margin-bottom: 4px;
}

.be-nl__card .be-watermark__word {
  margin-top: 8px;
}

.be-nl__blurb {
  margin-top: 4px;
  max-width: 395px;
  color: var(--be-ink-60);
}

.be-nl__form {
  margin-top: 20px;
  width: 393px;
  max-width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 8px 0 20px;
  background: var(--be-white);
  border: 1px solid var(--be-line);
  border-radius: 16px;
}

.be-nl__form:focus-within {
  border-color: var(--be-coral-soft);
}

.be-nl__form input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--be-ink);
}

.be-nl__form input::placeholder {
  color: var(--be-muted);
}

.be-nl__form button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--be-coral);
}

.be-nl__form button:hover {
  background: var(--be-blush);
}

.be-nl__msg {
  margin-top: 8px;
  min-height: 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--be-color-text-success, #2a8e7d);
}

.be-nl__msg.is-error {
  color: var(--be-color-text-error, #b81e40);
}

.be-trust {
  margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  padding: 36px 48px;
  background: var(--be-white);
  border: 1px solid var(--be-line);
  border-radius: 24px;
}

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

.be-trust__item svg {
  width: 48px;
  height: 48px;
  color: #c48b96;
}

.be-trust__item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
}

.be-trust__item span {
  display: block;
  margin-top: 4px;
  color: var(--be-ink-60);
}

.be-app-promo {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.be-app-promo p {
  margin-top: 8px;
  max-width: 657px;
  color: var(--be-ink-60);
}

.be-app-promo__stores {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.be-app-promo__stores a {
  display: block;
  width: 180px;
  height: 60px;
  border-radius: 9px;
  overflow: hidden;
  outline: 1.5px solid #a6a6a6;
  outline-offset: -1.5px;
  background: #000;
}

.be-app-promo__stores a[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.be-nl .be-heart-sep {
  margin-top: 80px;
}

/* ---------- Footer ---------- */
.be-df {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  color: var(--be-ink);
}

.be-df__glow {
  position: absolute;
  left: 50%;
  top: 87px;
  width: 1440px;
  height: 1440px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--be-coral-soft);
  opacity: 0.08;
  pointer-events: none;
}

.be-df__grid {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) repeat(4, auto);
  column-gap: 48px;
}

.be-df__logo {
  width: 320px;
  height: auto;
}

.be-df__contact {
  margin-top: 45px;
}

.be-df h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
}

.be-df__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 12px;
  font-weight: 500;
}

.be-df__row svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.be-df__row a:hover,
.be-df__col a:hover {
  color: var(--be-coral-soft);
}

.be-df__socials {
  display: flex;
  gap: 16px;
  margin-top: 43px;
}

.be-df__socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--be-blush-line);
  border-radius: 50%;
  background: var(--be-canvas);
  transition: border-color 0.2s, color 0.2s;
}

.be-df__socials a:hover {
  border-color: var(--be-coral-soft);
  color: var(--be-coral-soft);
}

.be-df__socials svg {
  width: 16px;
  height: 16px;
}

.be-df__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.be-df__col a {
  white-space: nowrap;
}

.be-df__mark {
  position: relative;
  margin-top: 60px;
  font-family: var(--be-font-display);
  font-size: clamp(64px, 12.2vw, 176px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--be-blush-line);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.be-df__meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  font-size: 12px;
  line-height: 18px;
  color: var(--be-muted);
}

.be-df__device a {
  color: var(--be-muted);
  text-decoration: underline;
}

.be-df__art {
  position: relative;
  aspect-ratio: 1440 / 181;
  min-height: 120px;
  background: url("../img/ui/footer-art.webp") left bottom / cover no-repeat;
}

/* ---------- Tablet / small laptop ---------- */
@media (max-width: 1279px) {
  :root {
    --be-gutter: 40px;
  }

  .be-dh__nav {
    margin-left: 24px;
    gap: 20px;
  }

  .be-dh__nav-btn {
    gap: 2px;
  }

  .be-dh__nav-btn img {
    width: 18px;
    height: 18px;
  }

  .be-dh__actions {
    margin-left: 8px;
    gap: 10px;
  }

  .be-df__grid {
    grid-template-columns: 1fr repeat(4, auto);
  }

  .be-df__grid > div:nth-child(2) {
    display: none;
  }

  .be-df__logo {
    width: 240px;
  }

  .be-trust {
    padding: 28px;
    gap: 24px;
  }
}

@media (max-width: 1023px) {
  :root {
    --be-gutter: 24px;
  }

  .be-dh__logo,
  .be-dh__logo img {
    width: 150px;
    height: 32px;
  }

  .be-dh__row {
    gap: 16px;
  }

  .be-dh__nav {
    margin-left: 0;
    gap: 14px;
  }

  .be-dh__nav-btn {
    font-size: 13px;
  }

  .be-dh__search {
    min-width: 120px;
  }

  .be-dh__icon,
  .be-dh__avatar {
    width: 42px;
    height: 42px;
  }

  .be-dh__panel--mega {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .be-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .be-app-promo {
    flex-direction: column;
    align-items: flex-start;
  }

  .be-df__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .be-df__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Notifications bell dropdown ---------- */
.be-dh__bell .be-dh__panel {
  left: auto;
  right: -8px;
  width: 360px;
  padding: 12px;
}

.be-dh__bell.is-open > .be-dh__icon {
  border-color: var(--be-coral-soft);
  background: var(--be-white);
}

.be-notes__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 12px 10px;
  font-size: 16px;
  line-height: 24px;
}

.be-notes__head span {
  font-size: 12px;
  color: var(--be-coral);
  font-weight: 600;
}

.be-notes__item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
}

.be-notes__item:hover,
.be-notes__item:focus-visible {
  background: var(--be-blush);
}

.be-notes__dot {
  flex: 0 0 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: transparent;
}

.be-notes__item.is-unread .be-notes__dot {
  background: var(--be-coral);
}

.be-notes__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.be-notes__text strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.be-notes__item:not(.is-unread) .be-notes__text strong {
  font-weight: 500;
}

.be-notes__text small {
  font-size: 12px;
  line-height: 18px;
  color: var(--be-ink-soft);
}

.be-notes__text time {
  margin-top: 2px;
  font-size: 11px;
  line-height: 16px;
  color: var(--be-muted);
}

.be-notes__empty {
  padding: 16px 12px;
  font-size: 13px;
  color: var(--be-muted);
}

.be-notes__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
  padding: 10px;
  border-top: 1px solid var(--be-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--be-maroon);
}
