/* Generated-route and shared-shell layer for Architecture V2.
 * Existing brand palettes, typefaces, product layouts and content modules stay
 * in their original stylesheets; this file only unifies structure.
 */

/* Keep the homepage's search-intent H1 and brand line visually distinct. */
.hero .hero-copy {
  max-width: 880px;
}

.hero .hero-title {
  max-width: 15ch;
  font-size: clamp(44px, min(6.2vw, 8.4vh), 88px);
  line-height: .94;
  letter-spacing: -.055em;
}

.hero .hero-sub {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--butter, #edc94b);
  font: 700 clamp(28px, 3vw, 44px)/1 var(--hand, "Gaegu", cursive);
  letter-spacing: -.035em;
}

.hero .hero-lede {
  margin-top: 20px;
}

.v2-shared-header {
  min-height: 82px;
  height: auto;
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto;
  gap: clamp(16px, 2.2vw, 34px);
  align-items: center;
  padding: 14px clamp(20px, 4vw, 64px);
  z-index: 40;
}

.v2-shared-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}

.v2-shared-header .brand span {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.055em;
}

.v2-shared-header .brand-mark {
  width: 36px;
  height: 30px;
}

.v2-shared-header .brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-shared-header .brand-mark path:first-child {
  fill: var(--coral, #ef6d4d);
}

.v2-shared-header .primary-nav {
  position: static;
  justify-self: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.v2-shared-header .primary-nav > a {
  width: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.v2-shared-header .primary-nav > a[aria-current="page"] {
  color: var(--coral-deep, #d9573b);
}

.v2-language-menu {
  position: relative;
  min-height: 38px;
  border: 1px solid var(--line, rgba(37, 54, 47, .23));
  border-radius: 999px;
  background: rgba(255, 253, 248, .72);
  transition: border-color .18s ease, background-color .18s ease;
}

.v2-language-menu[open] {
  border-color: var(--ink, #25362f);
  background: var(--white, #fffdf8);
}

.v2-language-menu summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  cursor: pointer;
  list-style: none;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.v2-language-menu summary > span[aria-hidden="true"] {
  color: var(--coral-deep, #d9573b);
  font-size: 13px;
}

.v2-language-menu summary::after {
  content: "⌄";
  margin-left: 2px;
  color: var(--ink-soft, #5c6862);
  font-size: 13px;
  line-height: 1;
  transform-origin: 50% 45%;
  transition: transform .18s ease;
}

.v2-language-menu[open] summary::after {
  transform: rotate(180deg);
}

.v2-language-menu summary::-webkit-details-marker {
  display: none;
}

.v2-language-options {
  position: absolute;
  z-index: 1;
  top: calc(100% + 9px);
  right: 0;
  min-width: 250px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 10px;
  border: 1.5px solid var(--ink, #25362f);
  border-radius: 18px 18px 18px 6px;
  background: var(--white, #fffdf8);
  box-shadow: 3px 3px 0 var(--ink, #25362f);
}

.v2-language-options a {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 10px 10px 10px 4px;
  font-size: 11px;
  font-weight: 700;
}

.v2-language-options a:hover,
.v2-language-options a[aria-current="page"] {
  background: rgba(239, 109, 77, .14);
  color: var(--coral-deep, #d9573b);
}

.v2-language-options a[aria-current="page"]::after {
  content: "✓";
  position: static;
  inset: auto;
  display: inline;
  width: auto;
  height: auto;
  margin-left: auto;
  background: none;
  color: var(--ink, #25362f);
  font-size: 10px;
  transform: none;
  transition: none;
}

.v2-language-options a:focus-visible,
.v2-language-menu summary:focus-visible {
  outline: 2px solid var(--coral-deep, #d9573b);
  outline-offset: 2px;
}

/* V2 headers scroll away on desktop, so their product switcher belongs at the
 * viewport edge rather than leaving the legacy 88px sticky-header gap. */
.v2-shared-header + .product-subnav {
  top: 0;
}

.v2-shared-header .header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}

.v2-shared-header .header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1.5px solid var(--ink, #25362f);
  border-radius: 999px;
  background: var(--coral, #ef6d4d);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink, #25362f);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.v2-icon-control {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid var(--ink, #25362f);
  border-radius: 16px 16px 16px 6px;
  background: var(--white, #fffdf8);
  color: var(--ink, #25362f);
  box-shadow: 2px 2px 0 var(--ink, #25362f);
  cursor: pointer;
}

.v2-icon-control:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink, #25362f);
}

.v2-icon-control svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-shared-header .account-trigger-avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50% 50% 45% 55% / 56% 46% 54% 44%;
  background: var(--coral, #ef6d4d);
  color: #fff;
  font: 700 21px/1 var(--hand, "Gaegu", cursive);
}

.v2-icon-control .cart-count {
  position: absolute;
  right: -5px;
  top: -5px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 1px solid var(--ink, #25362f);
  border-radius: 99px;
  background: var(--butter, #edc94b);
  color: var(--ink, #25362f);
  font-size: 10px;
  font-weight: 800;
}

.v2-icon-control .cart-count[hidden] {
  display: none;
}

.v2-mobile-waitlist {
  display: none !important;
}

.v2-breadcrumbs {
  width: min(1180px, calc(100% - 40px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 28px auto 0;
  padding: 0;
  color: var(--ink-soft, #5d665f);
  font-size: 12px;
}

.v2-breadcrumbs a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(37, 54, 47, .25);
  text-underline-offset: 4px;
}

.v2-breadcrumbs span[aria-current="page"] {
  color: var(--ink, #25362f);
  font-weight: 700;
}

.v2-related-content {
  margin-top: clamp(44px, 7vw, 92px);
}

.v2-related-content h2 {
  margin-bottom: 24px;
}

.v2-registry-status-summary {
  margin-top: clamp(44px, 7vw, 92px);
}

.v2-registry-status-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.v2-registry-status-heading h2 {
  margin: 6px 0 10px;
}

.v2-registry-status-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft, #5d665f);
}

.v2-registry-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v2-registry-status-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  padding: 22px;
  border: 1px solid var(--line, rgba(37, 54, 47, .23));
  border-radius: 22px 22px 22px 7px;
  background: rgba(255, 253, 248, .78);
  color: var(--ink, #25362f);
  text-decoration: none;
}

.v2-registry-status-card h3 {
  margin: 3px 0 auto;
  font-size: clamp(24px, 3vw, 34px);
}

.v2-registry-status-card strong {
  font-size: 14px;
}

.v2-registry-status-card > span:last-child {
  color: var(--coral-deep, #d9573b);
  font-weight: 700;
}

.v2-registry-status-card:hover {
  border-color: var(--coral, #ef6d4d);
  transform: translateY(-2px);
}

.v2-registry-status-pill {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--butter, #f2dcb2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.v2-related-links,
.v2-guide-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.v2-related-links a,
.v2-guide-links a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid var(--line, rgba(37, 54, 47, .23));
  border-radius: 15px 15px 15px 5px;
  background: rgba(255, 253, 248, .68);
  color: var(--ink, #25362f);
  font-weight: 700;
  text-decoration: none;
}

.v2-related-links a:hover,
.v2-guide-links a:hover {
  border-color: var(--coral, #ef6d4d);
  color: var(--coral-deep, #d9573b);
}

.v2-site-footer {
  padding: 64px clamp(22px, 5vw, 80px) 28px;
  background: var(--ink, #25362f);
  color: var(--white, #fffdf8);
}

.v2-footer-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) repeat(4, minmax(120px, 1fr));
  gap: clamp(28px, 4vw, 64px);
}

.v2-footer-brand .brand {
  color: inherit;
}

.v2-footer-brand p {
  max-width: 24ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .58);
  line-height: 1.6;
}

.v2-footer-grid nav {
  display: grid;
  align-content: start;
  gap: 11px;
}

.v2-footer-grid h3 {
  margin: 0 0 6px;
  color: var(--butter, #edc94b);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.v2-footer-grid nav a {
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
  line-height: 1.45;
}

.v2-footer-grid nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.v2-footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
}

.v2-footer-meta a {
  color: inherit;
}

.v2-footer-meta a:last-child {
  margin-left: auto;
  font-size: 18px;
}

.v2-home-status {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  background: #f5d07a;
}

.v2-home-status h2 {
  max-width: 16ch;
  margin: 16px 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -.05em;
}

.v2-home-status p {
  max-width: 62ch;
  line-height: 1.7;
}

.v2-home-status-actions {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1.5px solid var(--ink, #25362f);
  border-radius: 30px 30px 30px 9px;
  background: var(--white, #fffdf8);
  box-shadow: 6px 6px 0 var(--ink, #25362f);
}

.v2-home-status-actions strong {
  color: var(--coral, #ef6d4d);
}

.v2-signal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(40px, 6vw, 74px);
}

.v2-signal-summary span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line, rgba(37, 54, 47, .23));
  border-radius: 18px 18px 18px 6px;
  background: rgba(255, 253, 248, .75);
  font-weight: 700;
}

.v2-home-guides {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.v2-home-guides h2 {
  margin: 12px 0 28px;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -.05em;
}

.v2-home-accessories {
  background: #dcecf0;
}

.v2-home-accessories .collection-heading {
  margin-bottom: 30px;
}

.v2-home-accessories .collection-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -.055em;
}

.v2-home-accessories .collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.v2-home-accessories .collection-card {
  overflow: hidden;
  border: 1.5px solid var(--ink, #25362f);
  border-radius: 26px 26px 26px 8px;
  background: var(--white, #fffdf8);
  box-shadow: 6px 6px 0 var(--ink, #25362f);
}

.v2-home-accessories .collection-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1.15;
  overflow: hidden;
  background: #f4dfad;
}

.v2-home-accessories .collection-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-home-accessories .collection-card-copy {
  padding: 24px;
}

.v2-home-accessories .collection-card-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.v2-home-accessories .collection-card-title h2 {
  margin: 5px 0 0;
  font-size: clamp(30px, 4vw, 46px);
}

.v2-home-accessories .collection-card-copy p {
  line-height: 1.65;
}

.v2-home-accessories .collection-card-action {
  display: inline-flex;
  margin-top: 12px;
  color: var(--coral, #ef6d4d);
  font-weight: 700;
}

.v2-status-card[data-orderable="false"] {
  background: #f7e1b4;
}

.v2-status-card[data-orderable="true"] {
  background: #deecd5;
}

@media (max-width: 1160px) {
  .v2-shared-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding-inline: 20px;
  }

  .v2-shared-header .primary-nav {
    gap: 13px;
  }

  .v2-shared-header .header-cta {
    display: none;
  }

  .v2-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v2-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .v2-shared-header {
    min-height: 70px;
    grid-template-columns: 1fr auto auto;
    padding-block: 10px;
  }

  .v2-shared-header .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    display: grid;
    place-content: center;
    gap: 6px;
    padding: 10px;
    border: 0;
    background: transparent;
  }

  .v2-shared-header .menu-toggle > span:not(.sr-only) {
    width: 23px;
    height: 2px;
    display: block;
    background: currentColor;
  }

  .v2-shared-header .primary-nav {
    position: absolute;
    z-index: 50;
    grid-column: 1 / -1;
    top: 100%;
    left: 50%;
    right: auto;
    width: 100vw;
    display: none;
    align-items: stretch;
    padding: 18px 22px 28px;
    border-bottom: 1px solid var(--ink, #25362f);
    background: var(--paper, #f7f1e5);
    transform: translateX(-50%);
  }

  .v2-shared-header .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .v2-shared-header .primary-nav > a {
    width: 100%;
    min-height: 52px;
    border-bottom: 1px solid var(--line, rgba(37, 54, 47, .23));
    font-size: 18px;
  }

  .v2-shared-header .primary-nav > a:first-child {
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--line, rgba(37, 54, 47, .23));
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
  }

  .v2-shared-header .primary-nav > a:first-child::after {
    display: none;
  }

  .v2-language-menu {
    position: static;
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    border-color: var(--ink, #25362f);
    border-radius: 14px 14px 14px 5px;
    background: var(--white, #fffdf8);
  }

  .v2-language-menu summary {
    min-height: 48px;
    justify-content: space-between;
    padding-inline: 14px;
    font-size: 12px;
  }

  .v2-language-options {
    position: static;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 6px;
    margin: 0 8px 8px;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid var(--line, rgba(37, 54, 47, .23));
    border-radius: 0;
    box-shadow: none;
  }

  .v2-language-options a:first-child {
    min-height: 40px;
    justify-content: flex-start;
    margin: 0;
    padding: 0 11px;
    border: 0;
    border-bottom: 1px solid var(--line, rgba(37, 54, 47, .23));
    border-radius: 10px 10px 10px 4px;
    background: transparent;
    color: inherit;
    box-shadow: none;
    font-size: 11px;
  }

  .v2-language-options a:first-child[aria-current="page"] {
    background: rgba(239, 109, 77, .14);
    color: var(--coral-deep, #d9573b);
  }

  .v2-mobile-waitlist {
    display: flex !important;
    justify-content: center;
    margin-top: 14px;
    padding: 0 18px !important;
    border: 1.5px solid var(--ink, #25362f) !important;
    border-radius: 999px !important;
    background: var(--coral, #ef6d4d) !important;
    color: #fff !important;
    box-shadow: 3px 3px 0 var(--ink, #25362f) !important;
  }

  .v2-shared-header .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .v2-home-status {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .hero .hero-title {
    max-width: 16ch;
    font-size: clamp(35px, 10.5vw, 44px);
    line-height: .96;
    letter-spacing: -.045em;
  }

  .hero .hero-sub {
    max-width: 18ch;
    margin-top: 12px;
    font-size: clamp(24px, 7vw, 30px);
    line-height: .95;
  }

  .hero .hero-lede {
    margin-top: 14px;
  }

  .v2-shared-header + .product-subnav {
    top: 70px;
  }

  .v2-shared-header {
    gap: 5px;
    padding-inline: 14px;
  }

  .v2-shared-header .brand span {
    font-size: 22px;
  }

  .v2-shared-header .brand-mark {
    width: 31px;
  }

  .v2-icon-control {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .v2-related-links,
  .v2-guide-links,
  .v2-registry-status-grid,
  .v2-signal-summary,
  .v2-home-accessories .collection-grid,
  .v2-footer-grid {
    grid-template-columns: 1fr;
  }

  .v2-breadcrumbs {
    width: calc(100% - 36px);
    margin-top: 20px;
    font-size: 11px;
  }

  .v2-home-status-actions {
    padding: 22px 18px;
  }

  .v2-footer-brand {
    grid-column: auto;
  }

  .v2-footer-meta {
    flex-wrap: wrap;
  }
}

/* Keep supporting copy legible without changing the original Petting coral. */
.moment > span:last-child {
  color: var(--ink, #25362f);
}

.waitlist-copy > p,
.signup-form input::placeholder {
  color: rgba(255, 255, 255, .9);
}

.waitlist-copy small {
  opacity: .9;
}
