.store-preview {
  background: #f3f2ef;
  color: #1b1c1b;
}
.store-preview > header.top {
  background: #fff;
  border-color: #deded8;
  color: #1b1c1b;
}
.store-preview .store-nav-actions .store-back {
  background: #fff;
  color: #1b1c1b;
  border: 1px solid #d8d7d2;
  border-radius: 999px;
  padding-inline: 14px;
}
.store-preview .store-hero {
  background: #e6ded2;
  color: #1b1c1b;
  border: 0;
}
.store-preview .store-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(16px, 4vw, 58px);
  align-items: center;
  padding-block: 24px 65px;
}
.store-preview .store-hero h1 {
  font-size: clamp(42px, 6.1vw, 96px);
  letter-spacing: -.065em;
  line-height: .96;
  max-width: 11ch;
}
.store-preview .store-hero-copy > p,
.store-preview .store-hero-copy > p:not(.store-hero-label) { color: #35342f; }
.preview-workshop {
  min-height: 310px;
  aspect-ratio: 1.38;
  border-radius: 20px;
  background: #191a19 url("/store/workshop.jpg") right top / auto 155% no-repeat;
}
.preview-search {
  display: flex;
  width: min(100%, 495px);
  padding: 5px;
  border: 1px solid #cec8bf;
  border-radius: 999px;
  background: #fff;
}
.preview-search input {
  flex: 1;
  min-width: 0;
  padding: 6px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #1b1c1b;
}
.preview-search button {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #1b1c1b;
  color: #fff;
}
.preview-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.preview-shortcuts a {
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff9;
  color: #1b1c1b;
  font-size: .88rem;
}
.preview-shortcuts a:hover { background: #fff; }
.store-preview .store-catalog-surface {
  position: relative;
  width: min(1390px, calc(100% - 48px));
  margin: -34px auto 0;
  padding: clamp(20px, 4vw, 52px);
  border-radius: 24px;
  background: #fff;
}
.store-preview .store-catalog-surface > .wrap { width: 100%; padding: 0; }
.store-preview .preview-catalog-layout {
  display: grid;
  grid-template-columns: minmax(160px, 205px) minmax(0, 1fr);
  gap: clamp(20px, 3.6vw, 54px);
}
.store-preview .catalog-explorer {
  position: sticky;
  inset-block-start: 90px;
  align-self: start;
  max-block-size: calc(100dvh - 104px);
  overflow: auto;
  padding: 4px;
  background: #fff;
  z-index: 2;
}
.store-preview .catalog-explorer h3 { margin: 0 0 12px; }
.store-preview .catalog-filter-row { display: grid; gap: 14px; }
.store-preview .catalog-chips { display: grid; overflow: visible; }
.store-preview .catalog-chip { text-align: start; white-space: normal; border-radius: 9px; }
.store-preview .catalog-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 16px;
}
.store-preview .catalog-result-card {
  border-color: transparent;
  border-radius: 14px;
}
.store-preview .catalog-result-card .catalog-photo { background: #f3f3f1; }
.store-preview .catalog-result-card .catalog-photo img { mix-blend-mode: multiply; }
.store-preview .catalog-card-content { padding-inline: 8px; }
.store-preview .catalog-card-link {
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  background: #1b1c1b;
  color: #fff;
  min-height: 40px;
}
.store-preview .catalog-result-card:hover .catalog-card-link { background: #a41823; }
.store-preview .aircraft-section { margin-block: 44px; }
.store-preview .aircraft-section .catalog-heading :is(h2,p) { color: #1b1c1b; }
@media (max-width: 1000px) {
  .store-preview .catalog-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .store-preview .store-hero-layout { grid-template-columns: minmax(0, 1fr); padding-block: 28px 42px; }
  .preview-workshop { min-height: 0; aspect-ratio: 1.48; background-size: auto 165%; }
  .store-preview .store-catalog-surface { width: calc(100% - 20px); margin-top: -20px; padding: 15px; }
  .store-preview .preview-catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .store-preview .catalog-explorer { position: static; max-block-size: none; overflow: visible; }
  .store-preview .store-catalog-surface .catalog-filter-row { grid-template-columns: minmax(0, 1fr); }
  .store-preview .store-catalog-surface .catalog-chips { display: flex; overflow-x: auto; min-width: 0; margin-inline: 0; }
  .store-preview .catalog-refine { justify-self: start; max-width: 100%; }
  .store-preview .catalog-refine[open] { justify-self: stretch; }
  .store-preview .catalog-chip { white-space: nowrap; }
  .store-preview .catalog-result-grid { gap: 10px 6px; }
  .store-preview .store-nav-actions .store-back { padding-inline: 7px; }
}

.store-preview .store-hero {
  background: radial-gradient(ellipse at 75% 75%, #f3ede2, transparent 66%), #e5dbcc;
}
.store-preview .store-hero-layout { padding-block: clamp(30px, 4vw, 66px); min-height: clamp(440px, 43vw, 640px); }
.store-preview .preview-workshop {
  min-height: 0;
  margin: 0;
  background: none;
  aspect-ratio: auto;
}
.preview-workshop img { display: block; width: 100%; height: auto; object-fit: contain; }
.hero-store-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 19px; }
.hero-store-links a, .collection-more a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.store-preview .store-featured, .store-preview .store-collections { padding-block: clamp(30px, 4vw, 58px); }
.store-preview .store-section-heading h2 { color: #1b1c1b; }
.store-preview .store-section-heading p { color: #57564e; }
.store-preview .popular-grid, .store-collection-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.popular-grid .catalog-result-card, .collection-card { background: #fff; }
.popular-grid .catalog-photo { margin: 0; }
.popular-grid .catalog-photo img { width: 100%; aspect-ratio: 1.35; object-fit: contain; }
.collection-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; color: #1b1c1b; border: 1px solid #e1ded6; }
.collection-card:hover { border-color: #a41823; }
.collection-card img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.collection-card > div { padding: 14px; }
.collection-card h3 { margin: 0; font-size: clamp(1rem,2vw,1.45rem); }
.collection-card p { margin: 4px 0 10px; color: #57564e; font-size: .92rem; }
.collection-card div > span { font-weight: 750; font-size: .85rem; }
.collection-more { margin-top: 16px; }
.store-preview .store-catalog-surface { margin-top: 12px; }
@media (max-width: 720px) {
  .store-preview .store-hero-layout { min-height: 0; }
  .preview-workshop img { max-height: 315px; }
  .store-preview .popular-grid, .store-collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .collection-card > div { padding: 10px; }
}

.hero-trust {
  display: grid;
  justify-items: start;
  gap: 2px;
  width: fit-content;
  margin-top: 22px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fffc;
  color: #252522;
}
.hero-trust span { font-size: .9rem; }
.hero-store-visual { position: relative; min-width: 0; }
.hero-service {
  position: absolute;
  inset: auto 0 0 auto;
  display: grid;
  gap: 10px;
  width: min(100%, 264px);
  margin: 0;
  padding: 14px;
  list-style: none;
  border: 1px solid #fff;
  border-radius: 15px;
  background: #fffefa;
  color: #252522;
  box-shadow: 0 8px 32px #25252219;
}
[dir="rtl"] .hero-service { right: auto; left: 0; }
.hero-service li { display: grid; grid-template-columns: 24px 1fr; column-gap: 8px; line-height: 1.3; }
.hero-service li::before {
  content: "✓";
  grid-row: span 2;
  align-self: start;
  text-align: center;
  border-radius: 50%;
  background: #e9e6de;
  color: #252522;
}
.hero-service span { font-size: .78rem; color: #595850; }
@media (max-width: 900px) {
  .hero-service { position: static; width: 100%; margin-top: 10px; }
}

/* Reuse the catalog card styling for the popular selection. */
.store-preview .store-featured {
  width: min(1390px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px);
}
.store-preview .store-v2 { background: #f3f2ef; color: #1b1c1b; }
.store-preview .store-featured .catalog-result-card {
  border: 1px solid #dfded8;
  color: #1b1c1b;
}
.store-preview .store-featured .catalog-result-card h3 { color: #1b1c1b; }
.store-preview .store-featured .catalog-card-label { color: #55544e; }
.store-preview .store-featured .catalog-card-link { width: auto; padding-inline: 16px; }
@media (min-width: 901px) {
  .store-preview .store-hero-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
    gap: clamp(18px, 2.5vw, 40px);
  }
  .store-preview .preview-workshop img {
    width: 112%;
    max-width: none;
    margin-inline-start: -4%;
  }
}
@media (max-width: 720px) {
  .store-preview .store-featured { width: calc(100% - 20px); padding: 15px; }
  .store-preview .store-featured .catalog-card-link { padding-inline: 10px; }
}

.preview-search { position: relative; z-index: 3; }
:is(#catalog-suggestions, .catalog-suggestions) {
  position: absolute;
  inset: calc(100% + 6px) 0 auto;
  max-height: 270px;
  overflow-y: auto;
  margin: 0;
  padding: 5px;
  list-style: none;
  border: 1px solid #d8d2c8;
  border-radius: 14px;
  background: #fff;
  color: #1b1c1b;
  box-shadow: 0 10px 26px #20191226;
}
:is(#catalog-suggestions, .catalog-suggestions) li {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .9rem;
  text-align: start;
  cursor: pointer;
}
:is(#catalog-suggestions, .catalog-suggestions) li:hover,
:is(#catalog-suggestions, .catalog-suggestions) li[aria-selected="true"] { background: #efeae2; }

/* Catalog hardware sits behind the hero copy and technician. */
.store-preview .store-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.store-preview .store-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("/assets/fpv-products/rdq-6833829838961.webp") 2% 85% / clamp(140px, 23vw, 350px) auto no-repeat,
    url("/assets/fpv-products/rdq-6820611129457.webp") 54% 5% / clamp(95px, 14vw, 210px) auto no-repeat,
    url("/assets/fpv-products/defiance-8049358831685.webp") 98% 83% / clamp(170px, 25vw, 380px) auto no-repeat;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: .085;
}
@media (max-width: 720px) {
  .store-preview .store-hero::before {
    background-position: -36px 36%, 102% 44%, 92% 76%;
    opacity: .065;
  }
  .store-preview .preview-workshop img {
    width: 108%;
    max-width: none;
    max-height: 340px;
    margin-inline: -4%;
  }
}

@media (min-width: 901px) {
  .store-page.store-preview .preview-workshop img { width: 122%; margin-inline-start: -5%; }
}
@media (max-width: 720px) {
  .store-page.store-preview .preview-workshop img { max-height: 375px; }
}

@media (max-width: 700px) {
  .store-preview .catalog-explorer { inset-block-start: 64px; }
}

.store-preview .preview-workshop { position: relative; }
.workshop-replay {
  position: absolute;
  z-index: 2;
  inset-block-end: 12px;
  inset-inline-start: 12px;
  min-height: 44px;
  padding-inline: 14px;
  border: 1px solid #ffffff66;
  border-radius: 999px;
  background: #161615;
  color: #fff;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.workshop-replay:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
