.store-hero-panel {
  position: relative;
  display: grid;
  grid-template-areas:
    "copy featured"
    "stats featured";
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-content: center;
  align-items: start;
  column-gap: clamp(44px, 6vw, 86px);
  row-gap: 26px;
  min-height: min(640px, calc(100svh - 104px));
  padding: 44px clamp(28px, 5vw, 68px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 83% 32%, rgba(255,255,255,0.42) 0 11%, transparent 11.5%),
    linear-gradient(118deg, #f7efe3 0 52%, #dce7c7 52% 100%);
  isolation: isolate;
}

.store-hero-panel::before,
.store-hero-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 2px solid rgba(36, 39, 36, 0.13);
  border-radius: 50%;
}
.store-hero-panel::before { right: -110px; bottom: -180px; width: 520px; height: 520px; }
.store-hero-panel::after { top: 44px; right: 37%; width: 110px; height: 110px; background: rgba(225, 170, 76, 0.2); }

.store-hero-bg,
.store-hero-shade { display: none; }

.store-hero-copy {
  position: relative;
  grid-area: copy;
  align-self: end;
  width: 100%;
}
.store-hero-copy .eyebrow.light { color: var(--green); }
.store-hero-copy h1 {
  max-width: 570px;
  margin: 0;
  color: var(--coral);
  font-size: clamp(3.4rem, 5.5vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.073em;
}
.store-hero-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 25px 0 28px;
  color: #514e47;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
  line-height: 1.65;
}

.featured-product {
  position: relative;
  grid-area: featured;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 430px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 30px;
  background: #f1c1ae;
  box-shadow: 15px 17px 0 rgba(36,39,36,0.11);
  color: var(--ink);
  transform: rotate(1.3deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.featured-product:hover,
.featured-product:focus-visible { transform: rotate(0deg) translateY(-4px); box-shadow: 18px 22px 0 rgba(36,39,36,0.13); }
.featured-label {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(36,39,36,0.2);
  border-radius: 999px;
  background: rgba(255,250,242,0.86);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.featured-product img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.featured-product > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 19px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
}
.featured-product > div strong { font-family: Georgia, serif; font-size: 1.12rem; }
.featured-product > div span { color: var(--coral-dark); font-size: 0.72rem; font-weight: 800; }

.store-stats {
  position: relative;
  grid-area: stats;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
}
.store-stats div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 116px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,250,242,0.76);
}
.store-stats strong { color: var(--coral); font-family: Georgia, serif; font-size: 1.12rem; font-style: italic; }
.store-stats span { color: var(--muted); font-size: 0.65rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }

.collection-section { padding: 112px clamp(22px, 5vw, 70px) 16px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(76,57,38,0.06);
}
.product-image-stage { position: relative; overflow: hidden; background: #f1c1ae; }
.product-card:nth-child(2) .product-image-stage { background: #d8e6c8; }
.product-card:nth-child(3) .product-image-stage { background: #d5daf0; }
.product-stage-top {
  position: absolute;
  z-index: 1;
  top: 15px;
  right: 15px;
  left: 15px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(36,39,36,0.66);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.product-image { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; transition: opacity 150ms ease, transform 220ms ease; }
.product-card:hover .product-image { transform: scale(1.02) rotate(0.5deg); }
.product-image.is-changing { opacity: 0.25; }
.product-info { padding: 24px; }
.product-title-row { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.product-title-row > div { min-width: 0; }
.product-title-row p { margin: 0 0 5px; color: var(--muted); font-family: Georgia, serif; font-size: 0.69rem; }
.product-title-row h3 { margin: 0; font-size: 1.28rem; letter-spacing: -0.04em; }
.product-title-row > strong { flex: 0 0 auto; color: var(--coral-dark); font-family: Georgia, serif; font-size: 1rem; }
.product-description { min-height: 46px; margin: 14px 0 20px; color: var(--muted); font-family: Georgia, serif; font-size: 0.8rem; line-height: 1.58; }
.product-options { display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.option-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: 0.66rem; }
.option-label b { color: var(--ink); font-weight: 750; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 44px; height: 44px; padding: 8px; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.swatch::after { content: ""; display: block; width: 100%; height: 100%; border: 1px solid rgba(36,39,36,0.18); border-radius: 50%; background: var(--swatch); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.sizes { display: flex; flex-wrap: wrap; gap: 5px; }
.size-pill { display: grid; place-items: center; min-width: 40px; height: 34px; padding: 0 7px; border: 1px solid var(--line); border-radius: 9px; color: #69655e; background: #f5eee4; font-size: 0.64rem; font-weight: 750; }
.checkout-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  margin-top: 20px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.74rem;
  font-weight: 800;
  transition: transform 170ms ease, background 170ms ease;
}
.checkout-link:hover { transform: translateY(-2px); background: #373b37; }
.checkout-link b { color: #badd79; }

.checkout-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 100px clamp(22px, 5vw, 70px) 30px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 36px;
  background: var(--coral);
  color: white;
  box-shadow: var(--shadow);
}
.checkout-panel h2 { max-width: 720px; margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 0.99; letter-spacing: -0.066em; }
.checkout-panel p:not(.eyebrow) { margin: 15px 0 0; color: rgba(255,255,255,0.77); font-family: Georgia, serif; }
.checkout-panel > .primary-button { flex: 0 0 auto; background: white; color: var(--ink); }

@media (min-width: 981px) and (max-height: 820px) {
  .store-hero-panel {
    row-gap: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .store-hero-copy h1 { font-size: clamp(3.35rem, 5.1vw, 4.9rem); }
  .store-hero-copy > p:not(.eyebrow) { margin: 18px 0 20px; line-height: 1.52; }
  .featured-product { max-width: min(390px, 34vw); }
}

@media (max-width: 980px) {
  .store-hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    min-height: auto;
    padding: 48px 30px 34px;
    column-gap: 30px;
  }
  .store-hero-copy h1 { max-width: 680px; font-size: clamp(3.25rem, 7vw, 4.6rem); }
  .featured-product { width: 100%; max-width: 340px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); }
}

@media (max-width: 740px) {
  .store-hero-panel {
    grid-template-areas:
      "copy"
      "featured"
      "stats";
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-height: auto;
    padding: 40px 16px 20px;
    background: linear-gradient(180deg, #f7efe3 0 55%, #dce7c7 55% 100%);
  }
  .store-hero-panel::after { display: none; }
  .store-hero-copy { width: 100%; text-align: center; }
  .store-hero-copy h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .store-hero-copy > p:not(.eyebrow) { margin: 18px auto 21px; font-size: 0.93rem; }
  .featured-product { justify-self: center; width: min(100%, 420px); max-width: none; transform: none; }
  .store-stats { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-stats div { min-width: 0; justify-content: center; padding: 11px 6px; }
  .store-stats span { font-size: 0.56rem; }
  .collection-section { padding: 82px 16px 12px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card:last-child { grid-column: auto; width: auto; }
  .product-card { border-radius: 22px; }
  .product-info { padding: 22px 20px; }
  .product-description { min-height: 0; }
  .checkout-panel { align-items: stretch; flex-direction: column; margin: 82px 16px 22px; padding: 34px 22px; border-radius: 24px; }
  .checkout-panel .primary-button { width: 100%; }
}

@media (max-width: 420px) {
  .store-hero-panel { padding-top: 34px; }
  .store-hero-copy h1 { font-size: 2.85rem; }
  .product-title-row h3 { font-size: 1.18rem; }
}
