.gpv2-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: 620px;
  overflow: hidden;
  background:
    linear-gradient(128deg, rgb(235 243 245 / 22%), rgb(158 182 190 / 10%)),
    rgb(210 225 229 / 10%);
  border: 1px solid var(--gpv2-glass-line);
  border-radius: var(--gpv2-radius-xl);
  box-shadow:
    inset 0 1px 0 var(--gpv2-glass-highlight),
    var(--gpv2-shadow);
  backdrop-filter: blur(16px) saturate(112%);
}

.gpv2-home-hero__visual {
  position: relative;
  width: fit-content;
  max-width: calc(100% - 36px);
  height: 620px;
  min-height: 0;
  margin: 18px auto;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: var(--gpv2-radius-xl);
  box-shadow: none;
}

.gpv2-home-hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgb(22 46 56 / 42%));
  content: "";
  pointer-events: none;
}

.gpv2-home-hero__visual > img {
  position: static;
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: var(--gpv2-radius-xl);
}

.gpv2-home-hero__placeholder {
  display: grid;
  min-height: 620px;
  color: var(--gpv2-ink-soft);
  background: linear-gradient(145deg, var(--gpv2-mist), var(--gpv2-surface-soft));
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 750;
  place-items: center;
}

.gpv2-home-hero__caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

.gpv2-home-hero__caption span {
  color: var(--gpv2-ink-soft);
  font-size: 13px;
}

.gpv2-home-hero__caption strong {
  text-align: right;
}

.gpv2-home-hero__copy {
  align-self: center;
  margin: clamp(18px, 4vw, 54px);
  padding: clamp(30px, 4.5vw, 58px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.gpv2-home-hero__copy h1 {
  max-width: 18ch;
  margin-bottom: 24px;
  font-size: clamp(38px, 3.6vw, 54px);
  text-wrap: balance;
}

.gpv2-home-hero__copy > p:not(.gpv2-eyebrow) {
  color: var(--gpv2-ink-soft);
  font-size: 18px;
}

.gpv2-home-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.gpv2-home-hero__signals span,
.gpv2-product-card__category,
.gpv2-product-card__status span,
.gpv2-catalog-categories a {
  padding: 7px 11px;
  background: rgb(246 250 250 / 52%);
  border: 1px solid var(--gpv2-line);
  border-radius: 999px;
  font-size: 13px;
}

.gpv2-section__heading > p:not(.gpv2-eyebrow) {
  max-width: 64ch;
  margin-top: 14px;
  color: var(--gpv2-ink-soft);
  font-size: 17px;
}

.gpv2-section__heading {
  max-width: 1040px;
}

.gpv2-section__heading h1,
.gpv2-section__heading h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  text-wrap: balance;
}

@media (min-width: 761px) {
  html[lang^="zh"] .gpv2-section__heading h1,
  html[lang^="zh"] .gpv2-section__heading h2 {
    white-space: nowrap;
  }
}

.gpv2-section__heading--split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.gpv2-text-link {
  font-weight: 750;
  white-space: nowrap;
}

.gpv2-decision-grid,
.gpv2-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gpv2-decision-card {
  min-height: 250px;
  padding: 30px;
  background:
    linear-gradient(145deg, rgb(242 248 249 / 22%), rgb(208 225 229 / 12%)),
    var(--gpv2-surface-soft);
}

.gpv2-decision-card > span,
.gpv2-support-card > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 40px;
  color: var(--gpv2-gold);
  background: rgb(248 251 251 / 42%);
  border: 1px solid var(--gpv2-line);
  border-radius: 50%;
  font-family: var(--gpv2-font-data);
  font-weight: 750;
  place-items: center;
}

.gpv2-decision-card h3,
.gpv2-support-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.gpv2-decision-card p,
.gpv2-support-card p {
  margin-bottom: 0;
  color: var(--gpv2-ink-soft);
}

.gpv2-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gpv2-product-grid--home {
  grid-template-columns: minmax(0, 1fr);
}

.gpv2-product-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.gpv2-product-grid--home .gpv2-product-card,
.gpv2-product-grid--single .gpv2-product-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
}

.gpv2-product-card {
  min-width: 0;
  overflow: hidden;
}

.gpv2-product-card__media {
  position: relative;
  min-height: 340px;
  padding: clamp(10px, 1.4vw, 18px);
  overflow: hidden;
  color: inherit;
  background: var(--gpv2-surface-soft);
  text-decoration: none;
}

.gpv2-product-card__media > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--gpv2-radius-xl);
  transition: transform var(--gpv2-motion);
}

.gpv2-product-card:hover .gpv2-product-card__media > img {
  transform: scale(1.015);
}

.gpv2-product-card__category {
  position: absolute;
  top: clamp(22px, 2vw, 32px);
  left: clamp(22px, 2vw, 32px);
  color: var(--gpv2-ink);
  background: rgb(239 246 247 / 82%);
  backdrop-filter: blur(14px);
}

.gpv2-product-card__body {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.gpv2-product-grid--home .gpv2-product-card__body,
.gpv2-product-grid--single .gpv2-product-card__body {
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
}

.gpv2-product-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gpv2-ink-soft);
}

.gpv2-product-card__status .is-available {
  color: var(--gpv2-success);
  background: rgb(224 240 234 / 72%);
}

.gpv2-product-card__status .is-unavailable {
  color: var(--gpv2-danger);
  background: rgb(246 228 227 / 72%);
}

.gpv2-product-card h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 36px);
}

.gpv2-product-card h3 a {
  color: var(--gpv2-ink);
  text-decoration: none;
}

.gpv2-product-card__shipping {
  margin-bottom: 28px;
  color: var(--gpv2-ink-soft);
}

.gpv2-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
}

.gpv2-product-card__price {
  color: var(--gpv2-gold);
  font-family: var(--gpv2-font-data);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 750;
}

.gpv2-product-card__price del {
  color: var(--gpv2-ink-soft);
  font-size: 0.6em;
  opacity: 0.72;
}

.gpv2-materials {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: clamp(24px, 5vw, 64px);
  background:
    linear-gradient(145deg, rgb(241 247 248 / 22%), rgb(204 221 226 / 12%)),
    var(--gpv2-surface-soft);
}

.gpv2-materials__copy {
  align-self: center;
}

.gpv2-materials__copy h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.gpv2-materials__copy > p:not(.gpv2-eyebrow) {
  color: var(--gpv2-ink-soft);
}

.gpv2-materials__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gpv2-materials__gallery figure {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gpv2-line);
  border-radius: var(--gpv2-radius-lg);
}

.gpv2-materials__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gpv2-materials__gallery figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--gpv2-ink);
  background: rgb(239 246 247 / 82%);
  border: 1px solid var(--gpv2-line);
  border-radius: 999px;
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.gpv2-support-card {
  display: grid;
  min-height: 210px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  color: var(--gpv2-ink);
  text-decoration: none;
  background:
    linear-gradient(145deg, rgb(242 248 249 / 22%), rgb(207 224 228 / 12%)),
    var(--gpv2-surface-soft);
}

.gpv2-support-card > span {
  margin-bottom: 0;
}

.gpv2-support-card:hover {
  color: var(--gpv2-ink);
  border-color: var(--gpv2-line-strong);
  transform: translateY(-2px);
}

.gpv2-catalog {
  padding-top: 18px;
}

.gpv2-catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(24px, 3vw, 38px);
  padding: clamp(24px, 2.8vw, 36px);
  background:
    linear-gradient(135deg, rgb(241 247 248 / 22%), rgb(203 221 226 / 12%)),
    var(--gpv2-surface);
}

.gpv2-catalog-hero h1 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(32px, 3vw, 42px);
  text-wrap: balance;
}

.gpv2-catalog-hero > div > p:not(.gpv2-eyebrow) {
  max-width: 62ch;
  color: var(--gpv2-ink-soft);
  font-size: 17px;
}

.gpv2-catalog-search label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.gpv2-catalog-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.gpv2-catalog-search input[type="search"] {
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--gpv2-ink);
  background: rgb(249 252 252 / 68%);
  border: 1px solid var(--gpv2-line-strong);
  border-radius: var(--gpv2-radius-md);
}

.gpv2-catalog-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.gpv2-catalog-categories a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gpv2-ink);
  text-decoration: none;
  white-space: nowrap;
}

.gpv2-catalog-categories a.is-current {
  color: var(--gpv2-accent-hover);
  background: rgb(221 239 242 / 76%);
  border-color: rgb(23 109 139 / 28%);
}

.gpv2-catalog-categories span {
  color: var(--gpv2-ink-soft);
  font-family: var(--gpv2-font-data);
  font-size: 12px;
}

.gpv2-catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 6px 0 16px;
}

/* Product archives use a compact retail grid. Home feature cards retain their
   larger editorial layout. */
.gpv2-catalog .gpv2-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gpv2-catalog .gpv2-product-card,
.gpv2-catalog .gpv2-product-grid--single .gpv2-product-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.gpv2-catalog .gpv2-product-card__media {
  display: block;
  width: calc(100% - 20px);
  min-height: 0;
  margin: 10px 10px 0;
  padding: 0;
  aspect-ratio: 4 / 5;
  background: rgb(238 245 246 / 34%);
  border: 1px solid var(--gpv2-line);
  border-radius: var(--gpv2-radius-lg);
}

.gpv2-catalog .gpv2-product-card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.gpv2-catalog .gpv2-product-card__category {
  top: 16px;
  right: auto;
  left: 16px;
  width: max-content;
  max-width: calc(100% - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gpv2-catalog .gpv2-product-card__body,
.gpv2-catalog .gpv2-product-grid--single .gpv2-product-card__body {
  display: flex;
  flex: 1;
  justify-content: flex-start;
  min-width: 0;
  padding: 16px 16px 18px;
}

.gpv2-catalog .gpv2-product-card__status {
  order: 2;
  margin: 8px 0 0;
}

.gpv2-catalog .gpv2-product-card__status .is-available,
.gpv2-catalog .gpv2-product-card__status .is-unavailable {
  display: none;
}

.gpv2-catalog .gpv2-product-card h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gpv2-catalog .gpv2-product-card__shipping {
  display: none;
}

.gpv2-catalog .gpv2-product-card__footer {
  align-items: flex-start;
  justify-content: flex-start;
  order: 1;
  margin-top: 14px;
}

.gpv2-catalog .gpv2-product-card__price {
  font-size: 24px;
  line-height: 1.2;
}

.gpv2-catalog .gpv2-product-card__footer .gpv2-button {
  display: none;
}

.gpv2-catalog-toolbar .gpv2-eyebrow {
  margin-bottom: 3px;
}

.gpv2-catalog-toolbar .woocommerce-result-count {
  margin: 0;
  color: var(--gpv2-ink-soft);
}

.gpv2-catalog-toolbar .woocommerce-ordering {
  margin: 0;
}

.gpv2-catalog-toolbar select {
  min-height: 46px;
  padding: 8px 40px 8px 12px;
  color: var(--gpv2-ink);
  background: rgb(247 250 250 / 68%);
  border: 1px solid var(--gpv2-line);
  border-radius: var(--gpv2-radius-md);
}

.gpv2-catalog-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
}

.gpv2-catalog-empty > span {
  display: grid;
  width: 58px;
  height: 58px;
  color: var(--gpv2-ink-soft);
  background: rgb(249 252 252 / 42%);
  border: 1px solid var(--gpv2-line);
  border-radius: 18px;
  font-family: var(--gpv2-font-data);
  place-items: center;
}

.gpv2-catalog-empty h2,
.gpv2-catalog-empty h3,
.gpv2-catalog-empty p {
  margin-bottom: 0;
}

.gpv2-catalog-empty p {
  color: var(--gpv2-ink-soft);
}

.gpv2-site .woocommerce-pagination {
  margin-top: 34px;
}

.gpv2-site .woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border: 0;
}

.gpv2-site .woocommerce-pagination ul.page-numbers li {
  border: 0;
}

.gpv2-site .woocommerce-pagination .page-numbers a,
.gpv2-site .woocommerce-pagination .page-numbers span {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  color: var(--gpv2-ink);
  background: rgb(247 250 250 / 58%);
  border: 1px solid var(--gpv2-line);
  border-radius: var(--gpv2-radius-md);
  place-items: center;
}

.gpv2-site .woocommerce-pagination .page-numbers .current {
  color: var(--gpv2-accent-hover);
  background: rgb(221 239 242 / 76%);
  border-color: rgb(23 109 139 / 28%);
}

@media (max-width: 1024px) {
  .gpv2-home-hero {
    grid-template-columns: 1fr;
  }

  .gpv2-home-hero__visual {
    margin: 16px 16px 0;
    height: 580px;
  }

  .gpv2-home-hero__copy {
    margin-top: 0;
  }

  .gpv2-decision-grid,
  .gpv2-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpv2-product-grid,
  .gpv2-catalog-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpv2-catalog .gpv2-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .gpv2-home-hero__visual {
    height: 500px;
  }

  .gpv2-home-hero__copy {
    margin: 14px;
  }

  .gpv2-home-hero__copy h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .gpv2-section__heading--split,
  .gpv2-catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .gpv2-decision-grid,
  .gpv2-support-grid,
  .gpv2-product-grid,
  .gpv2-product-grid--home .gpv2-product-card,
  .gpv2-product-grid--single .gpv2-product-card,
  .gpv2-materials,
  .gpv2-catalog-hero {
    grid-template-columns: 1fr;
  }

  .gpv2-materials__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gpv2-materials__gallery figure {
    min-height: 300px;
  }

  .gpv2-product-card__media {
    min-height: 300px;
  }

  .gpv2-catalog .gpv2-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gpv2-catalog .gpv2-product-card__media {
    min-height: 0;
  }

  .gpv2-catalog-hero {
    gap: 20px;
    padding: 22px 20px;
  }

  .gpv2-catalog-hero h1 {
    font-size: 32px;
  }

  .gpv2-catalog-hero > div > p:not(.gpv2-eyebrow) {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .gpv2-home-hero {
    min-height: 0;
  }

  .gpv2-home-hero__visual {
    margin: 10px 10px 0;
    height: 430px;
  }

  .gpv2-home-hero__caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .gpv2-home-hero__caption strong {
    text-align: left;
  }

  .gpv2-home-hero__copy {
    padding: 26px 22px;
  }

  .gpv2-decision-grid,
  .gpv2-support-grid,
  .gpv2-materials__gallery {
    grid-template-columns: 1fr;
  }

  .gpv2-decision-card {
    min-height: 0;
  }

  .gpv2-decision-card > span {
    margin-bottom: 24px;
  }

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

  .gpv2-product-card__body {
    padding: 20px;
  }

  .gpv2-catalog .gpv2-product-card__body,
  .gpv2-catalog .gpv2-product-grid--single .gpv2-product-card__body {
    padding: 12px;
  }

  .gpv2-catalog .gpv2-product-card h3 {
    min-height: 43px;
    font-size: 16px;
  }

  .gpv2-catalog .gpv2-product-card__status,
  .gpv2-catalog .gpv2-product-card__footer .gpv2-button {
    display: none;
  }

  .gpv2-catalog .gpv2-product-card__footer {
    margin-top: 10px;
  }

  .gpv2-catalog .gpv2-product-card__price {
    font-size: 18px;
    line-height: 1.25;
  }

  .gpv2-product-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .gpv2-product-card__footer .gpv2-button {
    width: 100%;
  }

  .gpv2-catalog {
    padding-top: 12px;
  }

  .gpv2-catalog-search > div {
    grid-template-columns: 1fr;
  }

  .gpv2-catalog-empty {
    grid-template-columns: 1fr;
  }
}
