.home-search {
  width: calc(100% - 2rem);
  max-width: 1240px;
  margin: 1.5rem auto 0;
}

.home-search > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-search-row {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem;
  border: 1px solid rgba(25, 211, 255, 0.5);
  border-radius: 13px;
  background: linear-gradient(100deg, rgba(25, 211, 255, 0.09), rgba(113, 102, 255, 0.08));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.home-search-row .search-icon {
  flex: 0 0 22px;
  margin-left: 0.8rem;
  color: var(--cyan);
}

.home-search-row input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.home-search-row:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(25, 211, 255, 0.16);
}

.home-search-row button {
  flex: 0 0 auto;
  min-width: 100px;
  min-height: 46px;
  padding: 0 1rem;
  border: 0;
  border-radius: 9px;
  color: #06101d;
  background: linear-gradient(110deg, var(--green), var(--cyan), #a9a2ff);
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.home-search > p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.home-search + .home-section {
  padding-top: 1.5rem;
}

.launch-section {
  padding-block: 1rem;
}

.launch-card {
  grid-template-columns: 1fr;
}

@media (max-width: 820px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
  }

  .brand {
    order: 1;
    flex: 0 1 auto;
    margin-right: auto;
  }

  .menu-toggle {
    order: 2;
    display: flex;
  }

  .header-actions {
    order: 3;
    gap: 0.4rem;
  }

  .mobile-console-nav {
    display: none;
  }

  .menu-toggle,
  .search-toggle,
  .cart-button {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: 50%;
  }

  .cart-button {
    position: relative;
    justify-content: center;
    padding: 0;
  }

  .cart-button span {
    display: none;
  }

  .cart-button strong {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.7rem;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .side-drawer {
    inset: 68px 0 0;
    background: rgba(3, 5, 13, 0.73);
    backdrop-filter: blur(5px);
  }

  .side-panel {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 68px);
    gap: 0.7rem;
    overflow-y: auto;
    padding: 0.8rem 0.9rem 1.15rem;
    border: 0;
    border-bottom: 1px solid rgba(113, 102, 255, 0.3);
    border-radius: 0 0 16px 16px;
    background: #080a14;
    transform: translateY(-14px);
  }

  .side-drawer.is-open .side-panel {
    transform: translateY(0);
  }

  .side-head {
    display: none;
  }

  .drawer-nav {
    gap: 0;
  }

  .drawer-nav a {
    min-height: 48px;
    justify-content: center;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1rem;
  }

  .drawer-nav a.is-active {
    color: var(--cyan);
    background: rgba(25, 211, 255, 0.06);
  }
}

@media (max-width: 560px) {
  .brand img {
    width: min(138px, 35vw);
    height: 32px;
  }

  .search-toggle {
    display: grid;
  }

  .hero {
    width: calc(100% - 1.4rem);
    min-height: 285px;
    max-height: 350px;
    aspect-ratio: 1.35;
    margin-top: 0.7rem;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(5, 7, 17, 0.02) 30%, rgba(5, 7, 17, 0.82) 100%);
  }

  .hero-content {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 1.2rem;
  }

  .hero-content > .eyebrow {
    display: none;
  }

  .hero h1 {
    max-width: 18ch;
    margin-bottom: 0.3rem;
    font-size: clamp(1.9rem, 8vw, 2.65rem);
    line-height: 0.95;
  }

  .hero-meta-strip {
    margin-top: 0.35rem;
  }

  .hero-price {
    font-size: 1.15rem;
  }

  .hero-nav {
    width: 44px;
    height: 44px;
  }

  .home-search {
    width: calc(100% - 1.4rem);
    margin-top: 1.1rem;
  }

  .home-search-row {
    min-height: 58px;
    gap: 0.45rem;
  }

  .home-search-row .search-icon {
    margin-left: 0.55rem;
  }

  .home-search-row button {
    min-width: 78px;
    min-height: 44px;
    padding-inline: 0.5rem;
    font-size: 0.88rem;
  }

  .home-search + .home-section {
    padding-top: 1.2rem;
  }

  .home-section .section-heading {
    flex-direction: row;
    align-items: end;
    gap: 0.4rem;
  }

  .home-section .section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.35rem, 5.6vw, 1.8rem);
  }

  .home-section .section-heading .button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0.55rem 0.7rem;
    font-size: 0.8rem;
  }

  .quantity-control {
    grid-template-columns: 44px minmax(32px, auto) 44px;
    min-height: 44px;
  }

  .quantity-control button {
    width: 44px;
    height: 44px;
  }

  .remove-button {
    width: 44px;
    height: 44px;
  }

  .launch-section {
    padding-block: 0.6rem;
  }

  .launch-card {
    padding: 0.8rem;
  }

  .launch-card h2 {
    font-size: 1.55rem;
  }
}
