@media (max-width: 760px) {
  html { scroll-padding-top: 86px; }
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; }
  .header-inner .logo { justify-self: center; max-width: 100%; }
  .actions { gap: 2px; }
  header nav.open { max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
  header nav.open a { flex-shrink: 0; white-space: normal; overflow-wrap: anywhere; }
  .nature-hero { height: auto; min-height: 0; padding: clamp(110px, 22vw, 165px) 6% 80px; }
  .nature-hero-content { position: relative; inset: auto; transform: none; width: min(100%, 32rem); }
  .nature-hero h1 { font-size: clamp(40px, 9vw, 62px); }
  .nature-hero-image { object-position: 66% center; }
  .nature-hero-shade { background: linear-gradient(0deg, #14291de8, #14291d85 65%, #14291d20); }
  .hero-bottom-note, .hero-image-credit { display: none; }
  .hero-scroll { bottom: 16px; }
  .values-strip { flex-wrap: wrap; gap: 12px 24px; }
  .values-strip span { white-space: normal; }
  .values-strip i { display: none; }
  .editorial-story, .moments-grid { grid-template-columns: minmax(0, 1fr); }
  .editorial-story-image { min-height: 0; aspect-ratio: 4 / 3; }
  .editorial-story-copy { padding: 36px 6%; }
  .moment-card { min-height: clamp(260px, 70vw, 380px); }
  .moment-card > div { padding: 26px; }
  .detail-thumbnails { overflow-x: auto; }
  .detail-thumbnails button { flex: none; }
  .detail-copy, .collection-copy, .product-name, .discovery-card, footer { overflow-wrap: anywhere; }
  .filters label, .filters select { min-width: 0; }
  .filters input, .filters select, .customer-page input, .customer-page textarea,
  .review-form input, .review-form select, .review-form textarea { font-size: 16px; }
}
@media (max-width: 560px) {
  .actions .account-action, .actions > a { min-width: 44px; }
  .actions > a:last-child { gap: 2px; }
  .values-strip { display: grid; justify-content: start; padding: 18px 6%; }
  .product-tag { position: static; display: block; padding: 6px; text-align: center; }
  .category-tabs { margin-right: 0; padding-right: 0; }
  .buy { flex-wrap: wrap; }
}

/* Compact, left aligned brand header with the requested action order. */
header .header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "brand actions menu"
    "navigation navigation navigation";
  gap: 0 clamp(8px, 2vw, 22px);
  padding-inline: clamp(12px, 4vw, 4.5%);
}
header .header-discover { display: none; }
header .header-inner > .logo {
  grid-area: brand;
  justify-self: start;
  width: clamp(112px, 15vw, 190px);
}
header .header-inner > .actions {
  grid-area: actions;
  justify-self: end;
  gap: clamp(2px, 1vw, 12px);
}
header .actions .mobile-search { display: inline-flex; }
header .actions .mobile-search { order: 1; }
header .actions > a[aria-label="Saved products"] { display: none; }
header .actions .account-action {
  order: 2;
  width: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
header .actions .account-action span { display: none; }
header .actions > a[aria-label^="Bag,"] { order: 3; }
header .header-inner > .mobile {
  grid-area: menu;
  display: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
}
header .header-inner > nav {
  grid-area: navigation;
}

@media (min-width: 761px) {
  header .header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand actions"
      "navigation navigation";
  }
}

@media (max-width: 760px) {
  header .header-inner > .mobile { display: inline-flex; }
}

@media (max-width: 560px) {
  header .header-inner {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 2px;
    padding-inline: 10px;
  }
  header .header-inner > .logo { width: clamp(92px, 28vw, 145px); }
  header .header-inner > .actions { gap: 0; }
  header .actions > a,
  header .actions .account-action,
  header .header-inner > .mobile {
    width: 36px;
    min-width: 36px;
    min-height: 40px;
  }
  header .header-inner > .mobile { height: 40px; }
  header .actions svg { width: 20px; height: 20px; }
  header .actions > a[aria-label^="Bag,"] { position: relative; }
  header .actions > a[aria-label^="Bag,"] .count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 15px;
    height: 15px;
    margin: 0;
    border: 1px solid var(--paper);
    background: var(--forest);
    color: var(--paper);
    font-size: 8px;
    line-height: 1;
    transform: none;
  }
}
