@charset "UTF-8";

:root {
  --bgvp-ink: var(--bgvp-color-brand-ink);
  --bgvp-ink-soft: var(--bgvp-color-brand-ink-soft);
  --bgvp-blue: var(--bgvp-color-brand-blue);
  --bgvp-blue-dark: var(--bgvp-color-brand-blue-dark);
  --bgvp-cyan: var(--bgvp-color-cyan);
  --bgvp-paper: var(--bgvp-color-paper);
  --bgvp-canvas: var(--bgvp-color-storefront-canvas);
  --bgvp-soft: var(--bgvp-color-storefront-soft);
  --bgvp-line: var(--bgvp-color-storefront-line);
  --bgvp-muted: var(--bgvp-color-storefront-muted);
  --bgvp-success: var(--bgvp-color-success);
  --bgvp-danger: var(--bgvp-color-danger);
  --bgvp-shadow: var(--bgvp-shadow-storefront);
  --bgvp-radius: var(--bgvp-radius-card);
}

/* Homepage hero: square banners over a soft, low-contrast glass showroom. */
.bgvp-site .bgvp-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - var(--bgvp-hero-header-height, 83px));
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--bgvp-fidelity-ink);
  background-color: #f4f5f5;
  background-image: linear-gradient(115deg, rgba(248, 249, 249, .8), rgba(248, 249, 249, .62) 58%, rgba(248, 249, 249, .76)), url("../images/branding/yuemao-glass-showroom-hero-v2.png");
  background-blend-mode: normal, luminosity;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 0;
}
.bgvp-site .bgvp-hero::before { display: none; }
.bgvp-site .hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  column-gap: clamp(30px, 3vw, 60px);
  width: 100%;
  min-height: inherit;
  /* The bottom padding is named so the hero stage (bgvp-home-page.css) can keep its capsule's floor clear. */
  --bgvp-hero-pad-bottom: 124px;
  padding: 36px clamp(32px, 7.8vw, 144px) var(--bgvp-hero-pad-bottom);
}
.bgvp-site .hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  margin: 0;
  padding: 0;
  text-align: left;
}
.bgvp-site .hero-identity {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: clamp(20px, 2.1vw, 36px);
}
.bgvp-site .hero-wordmark {
  display: inline-block;
  color: var(--bgvp-fidelity-ink);
  font-size: clamp(11px, .85vw, 15px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .36em;
  white-space: nowrap;
}
.bgvp-site .hero-copy-rule {
  display: inline-block;
  width: clamp(60px, 10vw, 180px);
  height: 1px;
  background: rgba(24, 46, 80, .38);
}
.bgvp-site .hero-eyebrow {
  display: block;
  margin: 0 0 clamp(18px, 1.65vw, 30px);
  color: var(--bgvp-fidelity-blue);
  font-size: clamp(14px, 1.05vw, 19px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .15em;
}
.bgvp-site .bgvp-hero h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--bgvp-fidelity-ink);
  font-size: clamp(43px, 3.7vw, 70px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: nowrap;
}
.bgvp-site .bgvp-hero h1 .hero-line + .hero-line {
  color: var(--bgvp-fidelity-blue);
}
.bgvp-site .hero-intro {
  max-width: 100%;
  margin: clamp(22px, 2.2vw, 40px) 0 0;
  color: #485a75;
  font-size: clamp(17px, 1.28vw, 24px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .13em;
}
.bgvp-site .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 20px);
  width: 100%;
  margin-top: clamp(22px, 2vw, 36px);
}
.bgvp-site .hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(46%, 260px);
  min-height: 58px;
  padding: 14px 24px;
  border: 1px solid var(--bgvp-fidelity-blue);
  border-radius: 3px;
  font-size: clamp(14px, .94vw, 18px);
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(26, 75, 155, .08);
}
.bgvp-site .hero-buttons .btn-primary {
  color: #fff;
  background: var(--bgvp-fidelity-blue);
}
.bgvp-site .hero-buttons .btn-secondary {
  color: var(--bgvp-fidelity-blue);
  background: rgba(255, 255, 255, .82);
}
.bgvp-site .hero-buttons .btn:hover {
  color: #fff;
  background: var(--bgvp-fidelity-blue-dark);
  border-color: var(--bgvp-fidelity-blue-dark);
  transform: none;
}
.bgvp-site .hero-buttons .btn:focus-visible {
  outline: 3px solid var(--bgvp-fidelity-blue);
  outline-offset: 4px;
}
.bgvp-site .hero-button-arrow { font-size: 24px; font-weight: 400; line-height: 1; }
.bgvp-site .hero-media-column {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 660px);
  margin: 0;
  padding: 0;
}
.bgvp-site .hero-media-column::before {
  position: absolute;
  right: 5%;
  bottom: -30px;
  left: 5%;
  height: 58px;
  content: "";
  background: radial-gradient(ellipse, rgba(29, 63, 112, .15), rgba(29, 63, 112, .04) 55%, transparent 74%);
  filter: blur(14px);
  pointer-events: none;
}
.bgvp-site .hero-showcase { position: relative; width: 100%; }
.bgvp-site .hero-glass-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1261 / 1247;
  background: transparent;
  border: 0;
}
.bgvp-site .hero-glass-frame::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: url("../images/branding/yuemao-hero-frame-silver-v1.png") center / 100% 100% no-repeat;
  filter: brightness(1.1) contrast(.96);
  pointer-events: none;
}
.bgvp-site .hero-showcase .hero-glass-frame .carousel {
  position: absolute;
  inset: 10% 10.3% 11%;
  z-index: 1;
  width: auto;
  height: auto;
  aspect-ratio: auto;
}
.bgvp-site .hero-showcase .carousel,
.bgvp-site .hero-showcase .carousel-inner,
.bgvp-site .hero-showcase .carousel-item {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
.bgvp-site .hero-showcase .carousel { box-shadow: 0 2px 8px rgba(17, 39, 75, .12); }
.bgvp-site .hero-showcase .carousel-item { position: relative; }
.bgvp-site .hero-showcase .carousel-item::after { display: none; }
.bgvp-site .hero-showcase .carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.bgvp-site .hero-side-note {
  position: absolute;
  top: 27%;
  left: calc(100% + 25px);
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 66px 0 0;
  color: #5d6e87;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .4em;
  white-space: nowrap;
}
.bgvp-site .hero-side-note::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 60px;
  content: "";
  background: rgba(47, 75, 115, .52);
}
.bgvp-site .hero-footer {
  position: absolute;
  z-index: 3;
  right: clamp(32px, 7.8vw, 144px);
  bottom: clamp(44px, 6.5vh, 70px);
  left: clamp(32px, 7.8vw, 144px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}
.bgvp-site .hero-footer-caption { display: grid; gap: 20px; }
.bgvp-site .hero-carousel-count {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--bgvp-fidelity-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .16em;
}
.bgvp-site .hero-carousel-count span:nth-child(2),
.bgvp-site .hero-carousel-count span:nth-child(3) { color: #677c9b; font-weight: 400; }
.bgvp-site .hero-count-rule { display: block; width: 92px; height: 1px; background: rgba(39, 71, 117, .55); }
.bgvp-site .hero-footer-tagline {
  color: #536781;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .33em;
}
.bgvp-site .hero-count-rule { position: relative; overflow: hidden; }
.bgvp-site .hero-count-rule::after { content: ""; position: absolute; inset: 0; background: var(--bgvp-color-brand-blue); transform: scaleX(0); transform-origin: left center; }
/* The photos change by swipe, drag or the arrow keys on the square itself (no buttons; the hero stage's capsule
   holds the pause): a grab cursor hints the drag, and keyboard focus rings the square. */
.bgvp-site .hero-showcase .carousel[tabindex] { cursor: grab; user-select: none; }
.bgvp-site .hero-showcase .carousel[tabindex]:active { cursor: grabbing; }
.bgvp-site .hero-showcase .carousel:focus-visible { outline: 3px solid var(--bgvp-fidelity-blue); outline-offset: 4px; }
.bgvp-site .hero-empty-state { display: grid; place-content: center; min-height: 300px; gap: 12px; text-align: center; }
@media (max-width: 1599.98px) {
  .bgvp-site .hero-side-note { display: none; }
}
@media (max-width: 1199.98px), (max-aspect-ratio: 1 / 1) {
  .bgvp-site .bgvp-hero {
    min-height: 0;
    background-image: linear-gradient(180deg, rgba(248, 249, 249, .84), rgba(248, 249, 249, .74) 42%, rgba(248, 249, 249, .78) 70%), url("../images/branding/yuemao-glass-showroom-hero-v2.png");
    background-position: 39% center;
  }
  .bgvp-site .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    --bgvp-hero-pad-bottom: 28px;
    padding: clamp(30px, 5vw, 48px) 24px var(--bgvp-hero-pad-bottom);
  }
  .bgvp-site .hero-copy { width: 100%; max-width: 620px; margin: 0 auto; }
  .bgvp-site .hero-identity { gap: 14px; margin-bottom: 20px; }
  .bgvp-site .hero-wordmark { font-size: 12px; letter-spacing: .26em; }
  .bgvp-site .hero-copy-rule { width: clamp(55px, 24vw, 170px); }
  .bgvp-site .hero-eyebrow { margin-bottom: 16px; font-size: 14px; letter-spacing: .1em; }
  .bgvp-site .bgvp-hero h1 { font-size: clamp(33px, 8.2vw, 54px); line-height: 1.23; }
  .bgvp-site .hero-intro { margin-top: 22px; color: #293d59; font-size: clamp(16px, 3.9vw, 22px); line-height: 1.65; letter-spacing: .04em; }
  .bgvp-site .hero-buttons { gap: 12px; margin-top: 22px; }
  .bgvp-site .hero-buttons .btn { flex: 1 1 0; width: auto; min-width: 0; min-height: 50px; padding: 12px 14px; gap: 8px; font-size: 14px; }
  .bgvp-site .hero-button-arrow { font-size: 21px; }
  .bgvp-site .hero-media-column { width: min(100%, 620px); margin: 30px auto 0; }
  .bgvp-site .hero-footer { position: static; width: min(100%, 620px); margin: 28px auto 0; }
  .bgvp-site .hero-footer-caption { gap: 14px; }
  .bgvp-site .hero-carousel-count { font-size: 15px; gap: 13px; }
  .bgvp-site .hero-count-rule { width: 70px; }
  .bgvp-site .hero-footer-tagline { font-size: 10px; letter-spacing: .25em; }
}
@media (max-width: 359.98px) {
  .bgvp-site .hero-layout { padding-inline: 18px; }
  .bgvp-site .hero-buttons { gap: 8px; }
  .bgvp-site .hero-buttons .btn { padding-inline: 10px; font-size: 12px; }
  .bgvp-site .hero-button-arrow { font-size: 18px; }
}
.order-shipment-attention,
.order-closed-shipment-reminder {
  border: 1px solid rgba(181, 126, 18, 0.28);
  border-left: 3px solid #b57e12;
  border-radius: 0.75rem;
  background: rgba(255, 248, 229, 0.72);
  color: #503b12;
  padding: 0.85rem 1rem;
}

.order-closed-shipment-reminder {
  margin-block: 1rem;
}

.order-closed-shipment-reminder p {
  margin: 0.35rem 0 0;
}

.order-state-attention {
  display: block;
  margin-top: 0.3rem;
  color: #8a5b00;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .order-shipment-attention,
  .order-closed-shipment-reminder {
    padding: 0.75rem 0.85rem;
  }
}

/* Issue #82: storefront uses an ice-white catalogue surface rather than a
   collection of elevated cards. Component sizing remains in bgvp-components. */
.storefront-surface {
  background: var(--bgvp-color-storefront-canvas);
}

.storefront-surface .catalog-hero,
.storefront-surface .brand-content-hero,
.storefront-surface .storefront-page-header {
  background: var(--bgvp-color-storefront-hero-surface);
  border: 1px solid var(--bgvp-color-storefront-hero-line);
  border-radius: var(--bgvp-radius-frame);
  box-shadow: none;
}

.storefront-surface .catalog-filter,
.storefront-surface .cart-summary-panel,
.storefront-surface .checkout-summary,
.storefront-surface .checkout-form-section,
.storefront-surface .legal-card,
.storefront-surface .product-purchase-panel,
.storefront-surface .product-spec-card {
  border-color: var(--bgvp-color-storefront-line);
  border-radius: var(--bgvp-radius-frame);
  box-shadow: none;
}


.storefront-surface .product-card {
  border-color: var(--bgvp-color-storefront-line);
}




.storefront-surface .product-card-image-frame,
.storefront-surface .product-detail-main-frame,
.storefront-surface .cart-product-thumb {
  background: var(--bgvp-color-storefront-media-surface);
}

.storefront-surface .account-story {
  background: var(--bgvp-color-storefront-hero-surface);
  border-radius: var(--bgvp-radius-frame);
}

.storefront-surface .data-table {
  border-color: var(--bgvp-color-storefront-line);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.storefront-surface {
  background: var(--bgvp-canvas);
  color: var(--bgvp-ink);
  font-family: Inter, "Noto Sans TC", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.storefront-surface a {
  color: inherit;
}

.storefront-surface img {
  max-width: 100%;
}

.skip-link {
  background: #fff;
  color: #07101f;
  left: 1rem;
  padding: 0.65rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

.site-utility-bar {
  background: #030914;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #b8c5d8;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.site-utility-bar .container-xl {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 34px;
}

.site-utility-bar .container-xl > div {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

.site-utility-bar a {
  color: #dce8f8;
  text-decoration: none;
}

.site-header {
  background: rgba(7, 16, 31, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-navigation {
  background: transparent;
  min-height: 78px;
  padding: 0;
}

.site-navigation > .container-xl {
  min-height: 78px;
}

.site-brand {
  align-items: center;
  color: #fff !important;
  display: inline-flex;
  gap: 0.7rem;
  margin: 0;
  text-decoration: none;
}

.yuemao-store-logo {
  display: block;
  height: 58px;
  max-width: 132px;
  object-fit: contain;
  width: auto;
}

.site-brand .yuemao-store-logo {
  flex: 0 0 auto;
}

.site-brand-mark {
  align-items: center;
  background: linear-gradient(145deg, #4295ff, #1f5ec0);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(58, 135, 245, 0.35);
  color: #fff;
  display: inline-flex;
  font-family: inherit;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-brand-copy {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
}

.site-brand-copy small {
  color: #7f91aa;
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.36em;
  margin-top: 0.38rem;
}

.site-navigation-links {
  align-items: center;
  gap: clamp(0.45rem, 1.4vw, 1.45rem);
}

.site-navigation .nav-link,
.site-navigation .nav-button {
  color: #b9c5d5;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 1.75rem 0.25rem 1.6rem !important;
  position: relative;
  text-decoration: none;
}

.site-navigation .nav-link::after,
.site-navigation .nav-button::after {
  background: var(--bgvp-blue);
  bottom: 1.22rem;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform 160ms ease;
  width: calc(100% - 0.5rem);
}

.site-navigation .nav-link:hover,
.site-navigation .nav-link:focus-visible,
.site-navigation .nav-link.is-active,
.site-navigation .nav-button:hover,
.site-navigation .nav-button:focus-visible {
  color: #fff;
}

.site-navigation .nav-link:hover::after,
.site-navigation .nav-link:focus-visible::after,
.site-navigation .nav-link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.site-navigation .storefront-nav-dropdown-toggle {
  align-items: center;
  display: inline-flex;
  gap: 0.48rem;
  justify-content: center;
}

.site-navigation .storefront-nav-dropdown-toggle::after,
.site-navigation .storefront-nav-dropdown-toggle:hover::after,
.site-navigation .storefront-nav-dropdown-toggle:focus-visible::after {
  content: none;
  display: none;
}

.storefront-nav-chevron {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  display: inline-block;
  flex: 0 0 auto;
  height: 0.42rem;
  transform: rotate(45deg) translate(-0.08rem, -0.08rem);
  transition: transform 160ms ease;
  width: 0.42rem;
}

.storefront-nav-dropdown-toggle[aria-expanded="true"] .storefront-nav-chevron {
  transform: rotate(225deg) translate(-0.08rem, -0.08rem);
}

.site-navigation .dropdown-menu {
  background: #101d31;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  padding: 0.65rem;
}

.site-navigation .dropdown-item {
  border-radius: 8px;
  color: #c7d3e3;
  font-size: 0.82rem;
  padding: 0.7rem 0.85rem;
}

.site-navigation .dropdown-item:hover,
.site-navigation .dropdown-item:focus {
  background: rgba(47, 125, 244, 0.18);
  color: #fff;
}

.site-nav-actions {
  align-items: stretch;
  display: flex;
  gap: 0.15rem;
  margin-left: 1rem;
}

.site-nav-logout {
  display: flex;
  margin: 0;
}

.site-nav-logout .site-nav-action {
  background: transparent;
  border: 0;
  font-family: inherit;
  padding: 0;
}

.site-nav-action {
  align-items: center;
  color: #aebdd0 !important;
  display: flex;
  flex-direction: column;
  font-size: 0.65rem;
  gap: 0.1rem;
  justify-content: center;
  min-height: 58px;
  min-width: 44px;
  position: relative;
  text-decoration: none;
}

.site-nav-action:hover,
.site-nav-action:focus-visible,
.site-nav-action.is-active {
  color: #fff !important;
}

.site-nav-action-symbol {
  align-items: center;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  line-height: 1;
  width: 24px;
}

.site-nav-icon {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 22px;
}

.site-cart-count {
  align-items: center;
  background: var(--bgvp-blue);
  border: 2px solid var(--bgvp-ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: max(0.6875rem, 11px);
  font-weight: 800;
  height: 19px;
  justify-content: center;
  min-width: 19px;
  padding: 0 0.25rem;
  position: absolute;
  right: 0;
  top: 5px;
}

.site-navigation .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #fff;
  font-size: 1.25rem;
  height: 42px;
  padding: 0;
  width: 46px;
}

.site-main {
  min-height: 58vh;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  padding-top: clamp(2rem, 5vw, 4.5rem);
}

.store-notice {
  align-items: center;
  background: #e9f7f2;
  border: 1px solid #bce4d7;
  border-radius: var(--bgvp-radius-frame);
  color: #155f4a;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.1rem;
}

.store-notice > span {
  align-items: center;
  background: #168765;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.7rem;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.store-notice p {
  margin: 0;
}

.store-notice-warning {
  background: #fff8e6;
  border-color: #ead08a;
  color: #76530b;
}

.store-notice-warning > span {
  background: #b7790d;
}

.store-notice-danger {
  background: #fff0f0;
  border-color: #e7aaaa;
  color: #922424;
}

.store-notice-danger > span {
  background: #bd2f36;
}

.storefront-surface .page-section {
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.section-kicker {
  color: var(--bgvp-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.storefront-page-header {
  align-items: end;
  border: 0;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0;
  text-align: left;
}

.storefront-page-header h1 {
  color: var(--bgvp-ink);
  font-family: inherit;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}

.storefront-page-header > p {
  color: var(--bgvp-muted);
  margin: 0;
  max-width: 32rem;
}

.catalog-hero {
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 125, 244, 0.22), transparent 32%),
    linear-gradient(135deg, #07101f 0%, #0e1d34 100%);
  border-radius: var(--bgvp-radius);
  color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  min-height: 330px;
  overflow: hidden;
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  position: relative;
}

.catalog-hero::before,
.catalog-hero::after {
  border: 1px solid rgba(98, 196, 255, 0.16);
  border-radius: 50%;
  content: "";
  height: 380px;
  position: absolute;
  right: -100px;
  top: -110px;
  width: 380px;
}

.catalog-hero::after {
  height: 260px;
  right: -20px;
  top: -40px;
  width: 260px;
}

.catalog-hero-copy {
  position: relative;
  z-index: 1;
}

.catalog-hero h1 {
  font-family: inherit;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0 0 1.25rem;
}

.catalog-hero-copy > p:last-child {
  color: #b9c8dc;
  line-height: 1.8;
  margin: 0;
  max-width: 42rem;
}

.catalog-hero-signal {
  align-items: center;
  display: flex;
  gap: 12px;
  height: 150px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.catalog-hero-signal span {
  background: linear-gradient(180deg, var(--bgvp-cyan), var(--bgvp-blue));
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(100, 217, 245, 0.28);
  display: block;
  height: 40%;
  width: 8px;
}

.catalog-hero-signal span:nth-child(2),
.catalog-hero-signal span:nth-child(4) {
  height: 72%;
}

.catalog-hero-signal span:nth-child(3) {
  height: 100%;
}

.catalog-category-nav {
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  overscroll-behavior-inline: contain;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
}

.catalog-category-nav::-webkit-scrollbar {
  display: none;
}

.catalog-category-nav a {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: 999px;
  color: #45566d;
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.62rem 1rem;
  scroll-snap-align: start;
  text-decoration: none;
}

.catalog-category-nav a:hover,
.catalog-category-nav a:focus-visible,
.catalog-category-nav a.is-active {
  background: var(--bgvp-ink);
  border-color: var(--bgvp-ink);
  color: #fff;
}

.catalog-filter {
  align-items: end;
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(145px, 0.24fr) minmax(155px, 0.28fr) minmax(165px, 0.3fr) minmax(260px, 1fr) auto;
  margin-bottom: 3rem;
  padding: 1.1rem;
}

.catalog-filter.is-live-search {
  grid-template-columns: minmax(145px, 0.24fr) minmax(155px, 0.28fr) minmax(165px, 0.3fr) minmax(260px, 1fr);
}

.catalog-filter-field {
  min-width: 0;
}

.catalog-filter label {
  display: block;
}

.catalog-search-input {
  position: relative;
}

.catalog-search-input > span {
  color: var(--bgvp-muted);
  font-size: 1.25rem;
  left: 0.85rem;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.catalog-search-input input {
  padding-left: 2.5rem !important;
}

.catalog-filter.is-loading {
  opacity: 0.7;
}

.catalog-result-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.catalog-result-heading h2 {
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0;
}

.catalog-result-context {
  color: var(--bgvp-muted);
  font-size: 0.875rem;
  margin: 0.4rem 0 0;
}

.catalog-result-heading > span {
  color: var(--bgvp-muted);
  font-size: 0.82rem;
}

.storefront-surface .product-grid {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storefront-surface .product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow 180ms ease, transform 180ms ease;
}




.storefront-surface .product-card-image-link {
  display: block;
  text-decoration: none;
}

.storefront-surface .product-card-image-frame {
  margin: 0;
  overflow: hidden;
  position: relative;
}




.product-card-quick-view {
  background: rgba(7, 16, 31, 0.9);
  bottom: 1rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  left: 50%;
  opacity: 0;
  padding: 0.55rem 0.9rem;
  position: absolute;
  transform: translate(-50%, 12px);
  white-space: nowrap;
}

.product-card:hover .product-card-quick-view,
.product-card-image-link:focus-visible .product-card-quick-view {
  opacity: 1;
  transform: translate(-50%, 0);
}

.storefront-surface .product-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}


.product-card-topline,
.product-card-bottom {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
  min-width: 0;
}

.storefront-surface .product-card-meta {
  flex: 1 1 auto;
  line-height: 1.4;
  margin: 0;
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  text-transform: uppercase;
  white-space: normal;
}


.product-stock-state {
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.48rem;
  white-space: nowrap;
}

.product-stock-state.is-available {
  background: #e7f6f1;
  color: var(--bgvp-success);
}

.product-stock-state.is-sold-out {
  background: #f4e9eb;
  color: var(--bgvp-danger);
}



.storefront-surface .product-card h2 a {
  color: var(--bgvp-ink);
  text-decoration: none;
}

.product-card-code {
  color: #5d6e82;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

.storefront-surface .product-card-price {
  margin: 0;
}


.product-card-arrow {
  align-items: center;
  border: 1px solid var(--bgvp-line);
  border-radius: 50%;
  color: var(--bgvp-ink);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
  width: 34px;
}

.product-card-arrow:hover,
.product-card-arrow:focus-visible {
  background: var(--bgvp-blue);
  border-color: var(--bgvp-blue);
  color: #fff;
}

.product-card-bottom {
  margin-top: auto;
}

.store-empty-state {
  align-items: center;
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius);
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 5vw, 3.75rem) 1.25rem;
  text-align: center;
}

.store-empty-state > span {
  color: var(--bgvp-blue);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
}

/* Empty states use the same 24px line-icon family as the header and member shortcuts, never text glyphs. */
.store-empty-state > .store-empty-icon {
  align-items: center;
  background: var(--bgvp-soft);
  border-radius: 50%;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.store-empty-icon svg {
  fill: none;
  height: 26px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 26px;
}

.store-empty-state h2 {
  font-family: inherit;
  font-size: 2rem;
  font-weight: 700;
}

.store-empty-state p {
  color: var(--bgvp-muted);
  max-width: 32rem;
}

.catalog-service-strip {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -2rem;
}

.catalog-service-strip > div {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  padding: 1.4rem;
}

.catalog-service-strip > div + div {
  border-left: 1px solid var(--bgvp-line);
}

.catalog-service-strip b {
  color: var(--bgvp-blue);
  font-family: inherit;
  font-size: 1.45rem;
  font-weight: 400;
}

.catalog-service-strip span {
  display: flex;
  flex-direction: column;
}

.catalog-service-strip strong {
  font-size: 0.82rem;
}

.catalog-service-strip small {
  color: var(--bgvp-muted);
  font-size: 0.7rem;
}

.store-breadcrumb {
  align-items: center;
  color: var(--bgvp-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.store-breadcrumb a {
  color: #4f6077;
  text-decoration: none;
  /* Larger tap area without moving the breadcrumb text. */
  margin: -0.65rem -0.3rem;
  padding: 0.65rem 0.3rem;
}

.store-breadcrumb a:hover,
.store-breadcrumb a:focus-visible {
  color: var(--bgvp-blue);
}

.product-detail-layout {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
}

.product-detail-media {
  min-width: 0;
}

.product-detail-main-frame {
  align-items: center;
  aspect-ratio: 1 / 0.92;
  background:
    radial-gradient(circle at 50% 42%, #fff 0, #eff3f8 55%, #e4ebf4 100%);
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius);
  display: flex;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.product-detail-main-frame > img {
  height: 100%;
  object-fit: contain;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  width: 100%;
}

.product-detail-badge {
  background: var(--bgvp-ink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  left: 1.25rem;
  letter-spacing: 0.12em;
  padding: 0.45rem 0.65rem;
  position: absolute;
  top: 1.25rem;
}

.product-gallery-section {
  margin-top: 1rem;
}

.product-gallery-title {
  color: var(--bgvp-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

.product-gallery-grid {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.product-detail-gallery-thumb {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  flex: 0 0 86px;
  height: 86px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.product-detail-gallery-thumb.is-active {
  border-color: var(--bgvp-blue);
  box-shadow: 0 0 0 2px rgba(47, 125, 244, 0.12);
}

.product-detail-gallery-thumb img {
  height: 100%;
  object-fit: contain;
  padding: 0.3rem;
  width: 100%;
}

.product-detail-info {
  min-width: 0;
  padding-top: 0.25rem;
}

.product-detail-info h1 {
  font-family: inherit;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 0 0.85rem;
}

.product-title-meta {
  color: var(--bgvp-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.72rem;
  gap: 0.5rem 1rem;
  margin-bottom: 1.55rem;
}

.product-title-meta span + span {
  border-left: 1px solid var(--bgvp-line);
  padding-left: 1rem;
}

.product-detail-description {
  color: #536278;
  line-height: 1.9;
  margin-bottom: 0;
}

.product-description {
  margin-bottom: 1.4rem;
}

.product-detail-description.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.product-description-toggle {
  min-height: 44px;
  margin-top: 0.35rem;
  padding: 0.35rem 0;
  color: var(--bgvp-blue);
  background: transparent;
  border: 0;
  font-weight: 700;
  text-align: left;
}

.product-description-toggle:hover,
.product-description-toggle:focus-visible {
  color: var(--bgvp-ink);
  text-decoration: underline;
}

.audio-product-facts {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1.6rem;
}

.audio-product-facts > div {
  border-bottom: 1px solid var(--bgvp-line);
  padding: 0.7rem 0;
}

.audio-product-facts > div:nth-child(odd) {
  padding-right: 1rem;
}

.audio-product-facts > div:nth-child(even) {
  border-left: 1px solid var(--bgvp-line);
  padding-left: 1rem;
}

.audio-product-facts dt {
  color: var(--bgvp-muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.audio-product-facts dd {
  font-size: var(--bgvp-type-small);
  font-weight: 700;
  margin: 0.15rem 0 0;
}

.product-purchase-panel {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem;
}

.product-price-row {
  align-items: end;
  border-bottom: 1px solid var(--bgvp-line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  padding-bottom: 1rem;
}

.product-price-row > div {
  display: flex;
  flex-direction: column;
}

.product-price-row > div > span {
  color: var(--bgvp-muted);
  font-size: 0.68rem;
}

.product-price-row strong {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.product-availability {
  align-items: center;
  color: var(--bgvp-success);
  display: flex;
  font-size: 0.7rem;
  gap: 0.35rem;
  margin: 0 0 0.3rem;
}

.product-availability > span {
  background: var(--bgvp-success);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.audio-selected-variant {
  align-items: center;
  background: #f4f7fb;
  border-radius: 8px;
  color: #4a5b72;
  display: flex;
  font-size: 0.72rem;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.5rem 0.7rem;
}

.audio-color-swatch {
  border: 1px solid rgba(7, 16, 31, 0.18);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

#SelectedCableLengthText:not(:empty)::before {
  color: #a4afbd;
  content: "·";
  margin-right: 0.55rem;
}

.product-quantity-row {
  max-width: 168px;
}

.product-quantity-stepper {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  display: grid;
  grid-template-columns: 44px minmax(56px, 1fr) 44px;
  overflow: hidden;
  width: 100%;
}

.product-quantity-stepper input[type="number"] {
  appearance: textfield;
  background: transparent;
  border: 0;
  color: var(--bgvp-ink);
  font: inherit;
  border-left: 1px solid var(--bgvp-line);
  border-radius: 0;
  border-right: 1px solid var(--bgvp-line);
  min-width: 0;
  -moz-appearance: textfield;
  padding: 0.65rem 0.25rem;
  text-align: center;
  width: 100%;
}

.product-quantity-stepper input[type="number"]::-webkit-inner-spin-button,
.product-quantity-stepper input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.product-quantity-stepper input[type="number"]:focus {
  box-shadow: inset 0 0 0 2px rgba(24, 103, 214, 0.2);
  outline: 0;
}

.product-quantity-button {
  align-items: center;
  appearance: none;
  background: #f6f9fd;
  border: 0;
  color: var(--bgvp-ink);
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0;
}

.product-quantity-button:hover:not(:disabled),
.product-quantity-button:focus-visible {
  background: #eaf2fd;
  color: var(--bgvp-blue);
}

.product-quantity-button:focus-visible {
  outline: 3px solid rgba(24, 103, 214, 0.3);
  outline-offset: -3px;
}

.product-quantity-button:disabled {
  color: #a7b1bf;
  cursor: not-allowed;
}

.product-add-button {
  justify-content: space-between !important;
  margin-top: 0.35rem;
  width: 100%;
}

.product-cart-message {
  font-size: 0.75rem;
  min-height: 1.1rem;
}

.bgvp-toast-region {
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: grid;
  gap: 0.65rem;
  justify-items: end;
  max-width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  z-index: 1120;
}

.bgvp-toast {
  align-items: center;
  background: #07101f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.85rem;
  box-shadow: 0 18px 42px rgba(7, 16, 31, 0.28);
  color: #fff;
  display: flex;
  gap: 0.75rem;
  max-width: 100%;
  min-width: min(310px, calc(100vw - 2rem));
  opacity: 0;
  padding: 0.9rem 1rem;
  pointer-events: auto;
  transform: translate3d(0, 14px, 0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.bgvp-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.bgvp-toast.is-leaving {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.bgvp-toast__icon {
  align-items: center;
  background: var(--bgvp-blue);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  height: 1.65rem;
  justify-content: center;
  width: 1.65rem;
}

.bgvp-toast__message {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.bgvp-toast--error .bgvp-toast__icon {
  background: #c73a4a;
}

@media (max-width: 575.98px) {
  .bgvp-toast-region {
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    left: 0.9rem;
    max-width: none;
    right: 0.9rem;
  }

  .bgvp-toast {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bgvp-toast {
    transition-duration: 1ms;
  }
}

.product-service-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.product-service-list > div {
  align-items: start;
  display: flex;
  gap: 0.55rem;
}

.product-service-list b {
  color: var(--bgvp-blue);
}

.product-service-list span {
  display: flex;
  flex-direction: column;
}

.product-service-list strong {
  font-size: 0.7rem;
}

.product-service-list small {
  color: var(--bgvp-muted);
  font-size: 0.62rem;
  line-height: 1.45;
}

.product-story-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.product-story-copy {
  padding: clamp(1rem, 4vw, 3rem) 0;
}

.product-story-copy h2 {
  font-family: inherit;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 1rem;
  max-width: 48rem;
}

.product-story-copy > p:not(.section-kicker) {
  color: var(--bgvp-muted);
  line-height: 1.9;
  max-width: 48rem;
}

.product-spec-card {
  background: var(--bgvp-ink);
  border-radius: var(--bgvp-radius);
  color: #fff;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.product-spec-heading {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 0.5rem;
  padding-bottom: 1.2rem;
}

.product-spec-heading > span {
  color: #6faaff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.product-spec-heading h2 {
  font-family: inherit;
  font-size: 2rem;
  font-weight: 400;
  margin: 0.25rem 0 0;
}

.product-spec-card dl {
  margin: 0;
}

.product-spec-card dl > div {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.product-spec-card dt {
  color: #8fa0b8;
  font-size: 0.7rem;
  font-weight: 500;
}

.product-spec-card dd {
  font-size: 0.76rem;
  font-weight: 600;
  margin: 0;
  text-align: right;
}

.product-specification-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.9;
  margin: 1.25rem 0 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.product-information-list {
  border-top: 1px solid var(--bgvp-line);
  margin-top: clamp(3rem, 7vw, 6rem);
}

.product-information-list details {
  border-bottom: 1px solid var(--bgvp-line);
  padding: 0;
}

.product-information-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: space-between;
  list-style: none;
  padding: 1.25rem 0;
}

.product-information-list summary::-webkit-details-marker {
  display: none;
}

.product-information-list summary span {
  color: var(--bgvp-blue);
  font-size: 1.25rem;
}

.product-information-list details[open] summary span {
  transform: rotate(45deg);
}

.product-information-list details p {
  color: var(--bgvp-muted);
  margin: -0.3rem 0 1.4rem;
  max-width: 52rem;
}

.checkout-progress {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  max-width: 640px;
}

.checkout-progress > div {
  align-items: center;
  color: #66727f;
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.checkout-progress > div > span {
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.checkout-progress > div > strong {
  font-size: 0.72rem;
}

.checkout-progress > i {
  background: #d8e0ea;
  flex: 1 1 80px;
  height: 1px;
  margin: 0 0.8rem;
  max-width: 95px;
}

.checkout-progress > div.is-current,
.checkout-progress > div.is-complete {
  color: var(--bgvp-ink);
}

.checkout-progress > div.is-current > span,
.checkout-progress > div.is-complete > span {
  background: var(--bgvp-blue);
  border-color: var(--bgvp-blue);
  color: #fff;
}

.preview-data-notice {
  align-items: center;
  background: #eef5ff;
  border: 1px solid #cbdffc;
  border-radius: var(--bgvp-radius-frame);
  color: #315a91;
  display: flex;
  font-size: 0.78rem;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
  padding: 0.75rem 0.9rem;
}

.preview-data-notice > span {
  align-items: center;
  background: var(--bgvp-blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: inherit;
  font-style: italic;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.preview-data-notice p {
  margin: 0;
}

.preview-data-notice code {
  color: inherit;
  font-weight: 800;
}

.cart-page-header > p {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: 999px;
  color: var(--bgvp-muted);
  font-size: 0.75rem;
  padding: 0.5rem 0.85rem;
}

.cart-layout {
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.38fr);
}

.cart-items-panel {
  min-width: 0;
}

.cart-table {
  background: #fff;
  border: 0;
  border-collapse: separate;
  border-radius: 0;
  border-spacing: 0;
  overflow: hidden;
  table-layout: fixed;
  width: 100%;
}

.cart-table th {
  background: #f8fafc;
  border-bottom: 1px solid var(--bgvp-line);
  color: var(--bgvp-muted);
  font-size: var(--bgvp-type-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.8rem 0.75rem;
  text-transform: uppercase;
}

.cart-table td {
  border-bottom: 1px solid var(--bgvp-line);
  font-size: var(--bgvp-type-small);
  padding: 1rem 0.75rem;
  vertical-align: middle;
}

.cart-table tbody tr:last-child td {
  border-bottom: 0;
}

.cart-column-product {
  width: 58%;
}

.cart-column-quantity {
  width: 20%;
}

.cart-column-subtotal {
  width: 15%;
}

.cart-column-actions {
  width: 7%;
}

.cart-product-summary {
  align-items: center;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 78px minmax(0, 1fr);
}

.cart-product-summary > a {
  background: #f1f4f8;
  border-radius: var(--bgvp-radius-frame);
  display: block;
}

.cart-product-thumb {
  aspect-ratio: 1;
  display: block;
  height: 78px;
  object-fit: contain;
  padding: 0.25rem;
  width: 78px;
}

.cart-product-summary > div {
  min-width: 0;
}

.cart-product-brand {
  color: var(--bgvp-blue);
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cart-product-summary strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
  margin: 0.15rem 0;
}

.cart-product-summary strong a {
  text-decoration: none;
}

.cart-product-summary small {
  color: var(--bgvp-muted);
  display: block;
  font-size: 0.64rem;
}

.storefront-money-cell {
  text-align: right;
}

.cart-quantity-stepper {
  align-items: center;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  display: inline-grid;
  grid-template-columns: 44px 48px 44px;
  overflow: hidden;
}

.cart-quantity-stepper .cart-quantity-button {
  background: #fff;
  border: 0;
  color: var(--bgvp-ink);
  height: 36px;
  padding: 0;
}

.cart-quantity-stepper .cart-quantity-button:hover:not(:disabled) {
  background: var(--bgvp-soft);
}

.cart-quantity-stepper input[type="number"] {
  appearance: textfield;
  background: transparent;
  border: 0;
  color: var(--bgvp-ink);
  font: inherit;
  border-left: 1px solid var(--bgvp-line);
  border-radius: 0;
  border-right: 1px solid var(--bgvp-line);
  box-shadow: none;
  height: 36px;
  min-height: 36px;
  min-width: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.cart-subtotal-cell {
  font-weight: 800;
  color: var(--bgvp-color-brand-blue);
}

.cart-remove-button {
  background: transparent;
  border: 0;
  color: #8d9aac;
  font-size: 1.45rem;
  line-height: 1;
  padding: 0.25rem;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
}

.cart-remove-button:hover:not(:disabled),
.cart-remove-button:focus-visible:not(:disabled) {
  color: var(--bgvp-danger);
}

.cart-remove-button:disabled {
  opacity: 0.35;
}

.cart-continue-link {
  color: #485a72;
  display: inline-flex;
  font-size: var(--bgvp-type-small);
  font-weight: 700;
  gap: 0.5rem;
  margin-top: 1.1rem;
  text-decoration: none;
  margin: 1rem var(--bgvp-panel-padding) 0.25rem;
}

.cart-continue-link:hover,
.cart-continue-link:focus-visible {
  color: var(--bgvp-blue);
}

.cart-save-status {
  font-size: var(--bgvp-type-small);
  margin: 0.25rem var(--bgvp-panel-padding) 1rem;
}

.cart-summary-panel {
  background: var(--bgvp-ink);
  border-radius: var(--bgvp-radius-frame);
  color: #fff;
  padding: var(--bgvp-panel-padding);
  position: sticky;
  top: 100px;
}

.cart-summary-panel h2 {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1rem;
}

.cart-summary-panel dl {
  margin: 0;
}

.cart-summary-panel dl > div {
  align-items: center;
  color: #aebcd0;
  display: flex;
  font-size: var(--bgvp-type-small);
  justify-content: space-between;
  padding: 0.55rem 0;
}

.cart-summary-panel dd {
  color: #fff;
  margin: 0;
}

.cart-summary-total {
  align-items: end;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 1.15rem;
}

.cart-summary-total span {
  font-size: var(--bgvp-type-small);
  font-weight: 700;
}

.cart-summary-total strong {
  font-size: 1.45rem;
}

.cart-summary-panel > p {
  color: #5f6b7c;
  font-size: var(--bgvp-type-micro);
  margin: 0.65rem 0 1.15rem;
}

.cart-summary-panel .btn {
  width: 100%;
}

.cart-secure-note {
  color: #94a4bb;
  font-size: 0.65rem;
  margin-top: 0.9rem;
  text-align: center;
}

.checkout-layout {
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.48fr);
}

.checkout-page [hidden] {
  display: none !important;
}

.checkout-form {
  display: grid;
  gap: 1rem;
}

.checkout-form-section {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  padding: var(--bgvp-panel-padding);
}

.checkout-section-heading {
  align-items: start;
  border-bottom: 1px solid var(--bgvp-line);
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
}

.checkout-section-heading > span {
  align-items: center;
  background: var(--bgvp-blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  margin-top: 0.1rem;
  width: 30px;
}

.checkout-section-heading h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.checkout-section-heading p {
  color: var(--bgvp-muted);
  font-size: 0.7rem;
  margin: 0.15rem 0 0;
}

.checkout-choice-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-choice {
  align-items: center;
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  min-height: 68px;
  padding: 0.85rem 1rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.checkout-choice:hover {
  border-color: rgba(35, 108, 223, 0.52);
}

.checkout-choice:has(input:checked) {
  border-color: var(--bgvp-blue);
  box-shadow: 0 0 0 2px rgba(35, 108, 223, 0.12);
}

.checkout-choice:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.55;
}

.checkout-choice input {
  accent-color: var(--bgvp-blue);
  flex: 0 0 auto;
}

.checkout-choice > span {
  display: grid;
  gap: 0.15rem;
}

.checkout-choice strong {
  font-size: var(--bgvp-type-control);
}

.checkout-choice small {
  color: var(--bgvp-muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

.checkout-progressive-field,
.checkout-different-receiver {
  margin-top: 1rem;
}

.checkout-optional-section {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  padding: 0.9rem 1rem;
}

.checkout-optional-section summary,
.checkout-summary-products summary {
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
}

.checkout-optional-section textarea {
  margin-top: 0.85rem;
  width: 100%;
}

.checkout-field-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-field-wide {
  grid-column: 1 / -1;
}

.checkout-copy-toggle {
  align-items: center;
  background: #f4f7fb;
  border-radius: 8px;
  display: inline-flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.55rem 0.7rem;
}

.checkout-copy-toggle input {
  accent-color: var(--bgvp-blue);
}

.checkout-payment-card {
  align-items: center;
  border: 1px solid var(--bgvp-blue);
  border-radius: var(--bgvp-radius-frame);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
}

.checkout-selected-store {
  background: var(--bgvp-soft);
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  padding: 0.9rem 1rem;
}

.checkout-selected-store strong {
  color: var(--bgvp-ink);
}

.checkout-selected-store span {
  color: var(--bgvp-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.checkout-store-map-recovery {
  background: #fff1f2;
  border: 1px solid rgba(180, 35, 45, 0.28);
  border-left: 3px solid var(--bgvp-danger);
  border-radius: var(--bgvp-radius-frame);
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
}

.checkout-store-map-recovery strong {
  color: var(--bgvp-danger);
}

.checkout-store-map-recovery p {
  margin: 0.35rem 0 0;
}

.checkout-store-map-recovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.newebpay-transfer-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
}

.newebpay-transfer-page .store-empty-state {
  width: min(100%, 680px);
}

.store-map-return-fallback-message {
  color: var(--bgvp-muted);
}

.store-map-return-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.checkout-payment-card > span {
  align-items: center;
  background: #eaf2ff;
  border-radius: 50%;
  color: var(--bgvp-blue);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.checkout-payment-card > div {
  display: flex;
  flex-direction: column;
}

.checkout-payment-card strong {
  font-size: var(--bgvp-type-control);
}

.checkout-payment-card small {
  color: var(--bgvp-muted);
  font-size: 0.67rem;
}

.checkout-payment-card > b {
  align-items: center;
  background: var(--bgvp-blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 0.65rem;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.checkout-submit-button {
  justify-content: space-between !important;
  width: 100%;
}

.checkout-summary {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  position: sticky;
  top: 100px;
}

.checkout-summary-heading {
  align-items: end;
  border-bottom: 1px solid var(--bgvp-line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
}

.checkout-summary-heading h2 {
  font-family: inherit;
  font-size: 1.65rem;
  font-weight: 400;
  margin: 0;
}

.checkout-summary-heading a {
  color: var(--bgvp-blue);
  font-size: 0.7rem;
}

.checkout-summary-products {
  border-bottom: 1px solid var(--bgvp-line);
}

.checkout-summary-products > summary {
  align-items: center;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0.85rem 0;
}

.checkout-summary-products > summary::-webkit-details-marker {
  display: none;
}

.checkout-summary-products > summary::after {
  color: var(--bgvp-muted);
  content: "+";
  margin-left: 0.55rem;
}

.checkout-summary-products[open] > summary::after {
  content: "−";
}

.checkout-summary-products > summary strong {
  color: var(--bgvp-muted);
  font-size: 0.68rem;
  margin-left: auto;
}

.checkout-product-list article {
  align-items: center;
  border-bottom: 1px solid var(--bgvp-line);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  padding: 1rem 0;
}

.checkout-product-image {
  background: #f1f4f8;
  border-radius: 8px;
  height: 58px;
  position: relative;
  width: 58px;
}

.checkout-product-image img {
  height: 100%;
  object-fit: contain;
  padding: 0.2rem;
  width: 100%;
}

.checkout-product-image > b {
  align-items: center;
  background: var(--bgvp-ink);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  height: 20px;
  justify-content: center;
  position: absolute;
  right: -6px;
  top: -6px;
  width: 19px;
  min-width: 20px;
}

.checkout-product-list h3 {
  font-size: 0.8rem;
  line-height: 1.35;
  margin: 0 0 0.15rem;
}

.checkout-product-list p {
  color: var(--bgvp-muted);
  font-size: 0.64rem;
  line-height: 1.4;
  margin: 0;
}

.checkout-product-list article > strong {
  font-size: 0.75rem;
}

.checkout-price-list {
  border-bottom: 1px solid var(--bgvp-line);
  margin: 0;
  padding: 0.8rem 0;
}

.checkout-price-list > div {
  display: flex;
  font-size: 0.72rem;
  justify-content: space-between;
  padding: 0.3rem 0;
}

.checkout-price-list dt {
  color: var(--bgvp-muted);
  font-weight: 500;
}

.checkout-price-list dd {
  margin: 0;
}

.checkout-total-row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}

.checkout-total-row span {
  font-size: var(--bgvp-type-small);
  font-weight: 700;
}

.checkout-total-row strong {
  color: var(--bgvp-blue);
  font-size: 1.35rem;
}

.checkout-trust-list {
  background: #f4f7fb;
  border-radius: 8px;
  color: var(--bgvp-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.62rem;
  gap: 0.6rem 1rem;
  padding: 0.65rem 0.75rem;
}

.checkout-trust-list b {
  color: var(--bgvp-blue);
}

.checkout-validation-summary:empty {
  display: none;
}

.storefront-surface .checkout-validation-summary.validation-summary-valid {
  display: none;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(310px, 0.85fr) minmax(360px, 1.15fr);
  margin: 0 auto;
  min-height: 520px;
}


.account-story {
  background:
    radial-gradient(circle at 20% 20%, rgba(77, 147, 255, 0.26), transparent 35%),
    linear-gradient(145deg, #07101f, #10223d);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}

.account-story::before,
.account-story::after {
  border: 1px solid rgba(100, 217, 245, 0.18);
  border-radius: 50%;
  content: "";
  height: 300px;
  position: absolute;
  right: -160px;
  top: 20%;
  width: 300px;
}

.account-story::after {
  height: 180px;
  right: -80px;
  top: 32%;
  width: 180px;
}

.account-story-brand {
  align-items: center;
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 0.65rem;
  letter-spacing: 0.14em;
}

.account-story-brand .yuemao-store-logo {
  height: 88px;
  max-width: 150px;
}

.account-story-copy {
  position: relative;
  z-index: 1;
}

.account-story h2 {
  font-family: inherit;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.account-story p {
  color: #aebdd2;
  font-size: 0.85rem;
  line-height: 1.8;
}

.account-story-features {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.account-story-features li {
  align-items: center;
  color: #c8d3e2;
  display: flex;
  font-size: 0.74rem;
  gap: 0.55rem;
}

.account-story-features li > span {
  align-items: center;
  background: rgba(47, 125, 244, 0.18);
  border: 1px solid rgba(100, 217, 245, 0.25);
  border-radius: 50%;
  color: #74c7ff;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.account-panel {
  align-self: center;
}


.account-panel-header {
  margin-bottom: 1.2rem;
}

.account-panel-header h1 {
  font-family: inherit;
  font-size: var(--bgvp-type-page-title);
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0 0 0.5rem;
}

.account-panel-header p {
  color: var(--bgvp-muted);
  font-size: 0.8rem;
  margin: 0;
}

.account-form {
  display: grid;
  gap: 0.75rem;
  max-width: none;
}

.account-external-login-form {
  margin-bottom: 1rem;
}

.account-google-login-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--bgvp-line);
  color: var(--bgvp-ink);
  display: flex;
  font-weight: 700;
  gap: 0.7rem;
  justify-content: center;
  min-height: 48px;
  width: 100%;
}

.account-google-login-button:hover,
.account-google-login-button:focus-visible {
  background: var(--bgvp-soft);
  border-color: #c5d1df;
  color: var(--bgvp-ink);
}

.account-google-mark {
  flex: 0 0 1.2rem;
  height: 1.2rem;
  width: 1.2rem;
}

.account-login-divider {
  align-items: center;
  color: var(--bgvp-muted);
  display: flex;
  font-size: 0.72rem;
  gap: 0.8rem;
  margin: 0.9rem 0;
  text-align: center;
}

.account-login-divider::before,
.account-login-divider::after {
  background: var(--bgvp-line);
  content: "";
  flex: 1 1 auto;
  height: 1px;
}

.account-form .btn-primary {
  margin-top: 0.5rem;
  width: 100%;
}

.account-form-footer {
  color: var(--bgvp-muted);
  font-size: 0.75rem;
  margin: 1.25rem 0 0;
  text-align: center;
}

.account-form-footer a,
.account-help-links a {
  color: var(--bgvp-blue);
  font-weight: 700;
}

.account-help-links {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  justify-content: space-between;
  margin-top: 0.35rem;
}

.auth-verification-warning {
  background: #fff6df;
  border: 1px solid #f0d99b;
  border-radius: var(--bgvp-radius-frame);
  color: #745915;
  margin-bottom: 0.8rem;
  padding: 0.9rem;
}

.auth-verification-warning p {
  font-size: 0.72rem;
  margin: 0.3rem 0 0.65rem;
}

.auth-verification-actions,
.auth-form-actions {
  display: flex;
  gap: 0.6rem;
}

.auth-verification-actions .btn,
.auth-form-actions .btn {
  flex: 1 1 0;
}

.member-dashboard-header,
.order-page-header,
.legal-page-header {
  background:
    radial-gradient(circle at 85% 10%, rgba(47, 125, 244, 0.2), transparent 30%),
    var(--bgvp-ink);
  border-radius: var(--bgvp-radius);
  color: #fff;
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.member-dashboard-header h1,
.order-page-header h1,
.legal-page-header h1 {
  font-family: inherit;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0;
}

.member-dashboard-header p,
.order-page-header p,
.legal-page-header p {
  color: #aebdd0;
  margin: 0.75rem 0 0;
  max-width: 42rem;
}

.member-dashboard-header > .btn,
.order-page-header > .btn,
.legal-page-header > .btn {
  margin-top: 1.25rem;
}

.storefront-surface .member-dashboard-header > .btn-secondary,
.storefront-surface .order-page-header > .btn-secondary,
.storefront-surface .legal-page-header > .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.storefront-surface .member-dashboard-header > .btn-secondary:hover,
.storefront-surface .member-dashboard-header > .btn-secondary:focus-visible,
.storefront-surface .order-page-header > .btn-secondary:hover,
.storefront-surface .order-page-header > .btn-secondary:focus-visible,
.storefront-surface .legal-page-header > .btn-secondary:hover,
.storefront-surface .legal-page-header > .btn-secondary:focus-visible {
  background: var(--bgvp-blue);
  border-color: var(--bgvp-blue);
  color: #fff;
}

.member-dashboard-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.member-profile-card,
.member-action-card,
.order-card,
.legal-card {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  padding: var(--bgvp-panel-padding);
}

.member-profile-card h2,
.member-action-card h2,
.order-card h2 {
  font-size: var(--bgvp-type-section-title);
  margin-bottom: 1rem;
  font-weight: 700;
}

.order-payment-reversal-notice {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bgvp-line);
  border-left: 3px solid #6b7a8c;
  border-radius: var(--bgvp-radius-frame);
  background: #f7f9fb;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4a5666;
}

.member-profile-list {
  margin: 0;
}

.member-profile-list > div {
  border-bottom: 1px solid var(--bgvp-line);
  padding: 0.75rem 0;
}

.member-profile-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.member-profile-empty {
  color: var(--bgvp-muted);
  font-weight: 500;
}

.member-profile-list dt {
  color: var(--bgvp-muted);
  font-size: 0.65rem;
}

.member-profile-list dd {
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
}

.member-action-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-action-link {
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  display: flex;
  flex-direction: column;
  min-height: 130px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.member-action-link:hover,
.member-action-link:focus-visible {
  border-color: var(--bgvp-blue);
  transform: translateY(-2px);
}

.member-action-icon {
  align-items: center;
  color: var(--bgvp-blue);
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.member-action-icon-svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 24px;
}

.member-action-link > strong {
  font-size: var(--bgvp-type-control);
  font-weight: 700;
  margin-top: auto;
}

.member-action-link > small {
  color: var(--bgvp-muted);
  font-size: var(--bgvp-type-small);
}

.storefront-surface .data-table {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-collapse: separate;
  border-radius: var(--bgvp-radius-frame);
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
}

.storefront-surface .data-table th {
  background: #f7f9fc;
  border-bottom: 1px solid var(--bgvp-line);
  color: var(--bgvp-muted);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  padding: 0.8rem;
}

.storefront-surface .data-table td {
  border-bottom: 1px solid var(--bgvp-line);
  font-size: 0.75rem;
  padding: 0.9rem 0.8rem;
  vertical-align: middle;
}

.storefront-surface .data-table tbody tr:last-child td {
  border-bottom: 0;
}

.order-thumb,
.order-thumb-placeholder {
  align-items: center;
  background: #eff3f8;
  border-radius: 8px;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  object-fit: contain;
  padding: 0.2rem;
  width: 58px;
}

.order-state {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
}

.order-state-light {
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.order-state-light-complete {
  background: var(--bgvp-success);
}

.order-state-light-pending {
  background: #d49b27;
}

.order-state-critical {
  color: #b4232d;
  font-weight: 800;
}

.order-state-light-critical {
  background: #d32735;
  box-shadow: 0 0 0 3px rgba(211, 39, 53, 0.14);
}

.order-store-reselection-alert {
  align-items: center;
  background: #fff3f3;
  border: 2px solid #d83b46;
  border-radius: var(--bgvp-radius-frame);
  color: #6f1f26;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1.5rem;
  padding: clamp(1.1rem, 3vw, 1.65rem);
}

.order-store-reselection-alert .section-kicker {
  color: #b4232d;
  margin-bottom: 0.45rem;
}

.order-store-reselection-alert h2 {
  color: #8f1f28;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  margin: 0 0 0.5rem;
}

.order-store-reselection-alert p {
  margin: 0;
}

.order-store-reselection-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.order-store-reselection-actions [data-store-reselection-status] {
  color: #8f1f28;
  font-size: 0.75rem;
  max-width: 24rem;
}

.order-next-action {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-left: 4px solid #73849b;
  border-radius: var(--bgvp-radius-frame);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
  margin-bottom: 1.5rem;
  padding: clamp(1.1rem, 3vw, 1.65rem);
}

.order-next-action-success {
  background: #f1f9f5;
  border-left-color: var(--bgvp-success);
}

.order-next-action-warning,
.order-next-action-attention {
  background: #fff9ea;
  border-left-color: #c48720;
}

.order-next-action-danger {
  background: #fff1f2;
  border-left-color: var(--bgvp-danger);
}

.order-next-action-copy h2 {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  margin: 0 0 0.45rem;
}

.order-next-action-copy > p:last-child,
.order-next-action-body > p:last-child {
  margin-bottom: 0;
}

.order-next-action-body {
  display: grid;
  gap: 1rem;
}

.order-next-action-primary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.order-bank-details {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.order-bank-details > div {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

.order-bank-details dt {
  color: var(--bgvp-muted);
  font-size: 0.62rem;
}

.order-bank-details dd {
  font-size: 0.8rem;
  font-weight: 750;
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
}

.order-next-action-form {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.order-next-action-form .btn {
  min-height: 46px;
}

.order-history-disclosure {
  border-top: 1px solid var(--bgvp-line);
  margin-top: 1rem;
  padding-top: 0.9rem;
}

.order-history-disclosure > summary {
  color: var(--bgvp-blue);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
}

.order-detail-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.34fr);
}

.order-meta-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-meta-grid > div {
  background: #f4f7fb;
  border-radius: 8px;
  padding: 0.8rem;
}

.order-meta-grid span {
  color: var(--bgvp-muted);
  display: block;
  font-size: 0.64rem;
}

.order-meta-grid strong {
  font-size: 0.8rem;
}

.order-cancellation-area {
  border-top: 1px solid var(--bgvp-line);
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
}

.order-cancellation-area h3 {
  font-size: 0.92rem;
  margin: 0;
}

.order-cancellation-status {
  background: #f4f7fb;
  border-left: 3px solid #73849b;
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem;
}

.order-cancellation-status p,
.order-cancellation-status time {
  font-size: 0.72rem;
  margin: 0;
}

.order-cancellation-status time {
  color: var(--bgvp-muted);
}

.order-cancellation-status-pending {
  background: #fff8e8;
  border-left-color: #c48720;
}

.order-cancellation-status-completed {
  background: #edf8f2;
  border-left-color: #25805a;
}

.order-cancellation-status-rejected {
  background: #fff1f2;
  border-left-color: var(--bgvp-danger);
}

.order-cancellation-resolution {
  border-top: 1px solid rgba(9, 33, 63, 0.12);
  margin-top: 0.25rem !important;
  padding-top: 0.5rem;
}

.order-cancellation-request > summary {
  cursor: pointer;
  list-style: none;
  width: 100%;
}

.order-detail-back-link {
  justify-content: center;
  margin-top: 1rem;
  width: 100%;
}

.order-cancellation-request > summary::-webkit-details-marker {
  display: none;
}

.order-cancellation-form {
  background: #f4f7fb;
  border-radius: 8px;
  margin-top: 0.75rem;
  padding: 0.8rem;
}

.order-cancellation-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.order-cancellation-other {
  display: grid;
  gap: 0.45rem;
}

.order-cancellation-other[hidden] {
  display: none;
}

.order-cancellation-other .form-text {
  margin: 0;
}

.remittance-panel {
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-left: 3px solid var(--bgvp-blue);
  border-radius: var(--bgvp-radius-frame);
  margin-top: 1rem;
  padding: 1.15rem;
}

.legal-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 240px minmax(0, 1fr);
}

.legal-navigation-shell {
  min-width: 0;
  align-self: start;
}

.legal-nav {
  align-self: start;
  background: #fff;
  border: 1px solid var(--bgvp-line);
  border-radius: var(--bgvp-radius-frame);
  display: grid;
  padding: 0.7rem;
  position: sticky;
  top: 100px;
}

.legal-nav a {
  border-radius: 8px;
  color: #536278;
  font-size: 0.75rem;
  padding: 0.65rem 0.7rem;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  background: #eef4fc;
  color: var(--bgvp-blue);
}

.legal-card {
  padding: var(--bgvp-panel-padding);
}

.legal-card section {
  border-bottom: 1px solid var(--bgvp-line);
  padding: 0 0 1.1rem;
}

.legal-card section + section {
  padding-top: 1.1rem;
}

.legal-card section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.legal-card p,
.legal-card li {
  color: var(--bgvp-muted);
  font-size: 0.8rem;
  line-height: 1.85;
}

.friendly-error-page {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  padding: 4rem 1rem;
  text-align: center;
}

.friendly-error-label {
  color: var(--bgvp-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.friendly-error-page h1 {
  font-family: inherit;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.site-footer {
  background: #030914;
  color: #c7d1df;
  padding: 0;
}

.site-footer-intro {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  padding-bottom: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(3rem, 7vw, 5.5rem);
}

.footer-eyebrow {
  color: #5f9ffa;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.site-footer-intro h2 {
  color: #fff;
  font-family: inherit;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0.4rem 0 0;
}

.site-footer-intro .btn-light {
  background: #fff;
  color: var(--bgvp-ink);
  flex: 0 0 auto;
  margin-left: 2rem;
}

.site-footer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(130px, 0.7fr));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.site-footer-brand > a {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 0.65rem;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.site-footer-brand .yuemao-store-logo,
.footer-brand .yuemao-store-logo {
  height: 92px;
  max-width: 158px;
}

.site-footer-brand p {
  color: #7f8da2;
  font-size: 0.76rem;
  line-height: 1.8;
  margin: 1rem 0 0;
  max-width: 29rem;
}

.site-footer nav {
  align-content: start;
  display: grid;
  gap: 0.6rem;
}

.site-footer nav h2 {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  margin: 0 0 0.45rem;
}

.site-footer nav a {
  color: #7f8da2;
  font-size: 0.72rem;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: #fff;
}

.site-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6d7c93;
  display: flex;
  font-size: 0.65rem;
  justify-content: space-between;
  padding-bottom: 1.15rem;
  padding-top: 1.15rem;
}

.footer-logout {
  background: transparent;
  border: 0;
  color: #8a98ac;
  font-size: 0.68rem;
  padding: 0;
}

.footer-logout:hover,
.footer-logout:focus-visible {
  color: #fff;
}

@media (max-width: 1199.98px) {
  .site-navigation-links {
    gap: 0.5rem;
  }

  .site-navigation .nav-link {
    font-size: 0.75rem;
  }

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

  .cart-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .cart-column-specification {
    width: 17%;
  }
}

@media (max-width: 991.98px) {
  .site-navigation,
  .site-navigation > .container-xl {
    min-height: 68px;
  }

  .site-navigation .navbar-collapse {
    background: #07101f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    left: 0;
    padding: 0.9rem var(--bs-gutter-x);
    position: absolute;
    right: 0;
    top: 68px;
  }

  .site-navigation-links {
    align-items: stretch;
    border: 0;
    gap: 0;
    margin: 0 !important;
    padding: 0;
  }

  .site-navigation .nav-link,
  .site-navigation .nav-button {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 0 !important;
  }

  .site-navigation .nav-link::after,
  .site-navigation .nav-button::after {
    display: none;
  }

  .site-nav-actions {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
    margin: 0.75rem 0 0;
    padding-top: 0.7rem;
  }

  .site-nav-action {
    flex-direction: row;
    min-width: 70px;
  }

  .site-cart-count {
    margin-left: 0.1rem;
    position: static;
  }

  .catalog-hero {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
    min-height: 220px;
    padding: 1.75rem;
  }

  .catalog-hero-signal {
    display: none;
  }

  .storefront-surface .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-service-strip > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--bgvp-line);
  }

  .catalog-service-strip > div:nth-child(4) {
    border-top: 1px solid var(--bgvp-line);
  }

  .product-detail-layout,
  .product-story-grid,
  .cart-layout,
  .checkout-layout,
  .order-detail-layout {
    grid-template-columns: 1fr;
  }

  .order-store-reselection-alert {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .order-store-reselection-actions,
  .order-store-reselection-actions form,
  .order-store-reselection-actions .btn {
    width: 100%;
  }

  .order-next-action {
    grid-template-columns: 1fr;
  }

  .order-next-action-primary {
    justify-content: stretch;
  }

  .order-next-action-primary .btn {
    width: 100%;
  }

  .product-detail-media,
  .product-detail-info {
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
  }

  .product-detail-main-frame {
    aspect-ratio: auto;
    height: clamp(300px, 60vw, 460px);
    margin-inline: auto;
    max-width: 520px;
  }

  .product-detail-main-frame > img {
    padding: clamp(1rem, 4vw, 2rem);
  }

  .cart-summary-panel,
  .checkout-summary {
    position: static;
  }

  .checkout-summary {
    order: -1;
  }

  .account-shell {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .member-dashboard-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 767.98px) {
  .site-utility-bar .container-xl > span {
    display: none;
  }

  .site-utility-bar .container-xl {
    justify-content: center;
  }

  .site-utility-bar .container-xl > div {
    gap: 1rem;
  }

  .site-main {
    padding-top: 1.6rem;
  }

  .storefront-page-header {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .catalog-hero {
    border-radius: var(--bgvp-radius-frame);
    margin-bottom: 1.25rem;
    min-height: 170px;
    padding: 1.1rem;
  }

  .catalog-hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.5rem);
    margin-bottom: 0.75rem;
  }

  .catalog-hero-copy > p:last-child {
    line-height: 1.6;
  }

  .catalog-category-nav {
    margin-bottom: 0.85rem;
    padding-bottom: 0.15rem;
  }

  .catalog-filter,
  .catalog-filter.is-live-search {
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.5rem;
    padding: 0.85rem;
  }

  .catalog-filter-search {
    grid-column: 1 / -1;
  }

  .catalog-filter .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .catalog-result-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
  }

  .storefront-surface .product-grid {
    gap: 1rem;
  }

  .storefront-surface .product-card-content {
    padding: 1rem;
  }

  .product-card-quick-view {
    display: none;
  }

  .product-service-list {
    grid-template-columns: 1fr;
  }

  .checkout-progress > div > strong {
    display: none;
  }

  .checkout-progress > i {
    margin: 0 0.45rem;
  }

  .cart-page .table-scroll {
    overflow: visible;
  }

  .cart-table,
  .cart-table tbody {
    background: transparent;
    border: 0;
    display: block;
    width: 100%;
  }

  .cart-table colgroup {
    display: none;
  }

  .cart-table thead {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .cart-table tbody {
    display: grid;
    gap: 0;
  }

  .cart-table tbody tr {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
    overflow: hidden;
    padding: 1rem var(--bgvp-panel-padding);
    border-bottom: 1px solid var(--bgvp-color-storefront-line);
    position: relative;
  }

  .cart-table td {
    align-items: center;
    border-bottom: 0;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    padding: 0.5rem 0;
    text-align: left;
  }

  .cart-table td::before {
    color: var(--bgvp-muted);
    content: attr(data-label);
    font-size: 0.66rem;
    font-weight: 700;
  }

  .cart-table .cart-product-cell {
    display: block;
    padding-top: 0;
  }

  .cart-table :is(.cart-product-cell, .cart-remove-cell)::before {
    display: none;
  }

  .cart-table .cart-product-cell {
    padding-right: 44px;
  }

  .cart-table .cart-remove-cell {
    border: 0;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: block;
    padding: 0;
  }

  .cart-product-summary {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-product-thumb {
    height: 72px;
    width: 72px;
  }

  .checkout-field-grid {
    grid-template-columns: 1fr;
  }

  .checkout-choice-grid {
    grid-template-columns: 1fr;
  }

  .checkout-choice {
    min-height: 60px;
    padding: 0.75rem 0.85rem;
  }

  .checkout-summary {
    padding: 1rem;
  }

  .checkout-summary-heading h2 {
    font-size: 1.25rem;
  }

  .order-bank-details,
  .order-next-action-form {
    grid-template-columns: 1fr;
  }

  .order-next-action-form .btn {
    width: 100%;
  }

  .checkout-field-wide {
    grid-column: auto;
  }

  .account-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .account-shell-register .account-story,
  .account-shell-login .account-story,
  .account-shell-recovery .account-story {
    display: none;
  }

  .controller-member.action-register .account-panel {
    padding: clamp(1.35rem, 6vw, 2rem);
  }

  .controller-member.action-register .account-panel-header {
    margin-bottom: 1.25rem;
  }

  .account-shell-login .account-panel,
  .account-shell-recovery .account-panel {
    padding: clamp(1.35rem, 6vw, 2rem);
  }

  .account-shell-login .account-panel-header,
  .account-shell-recovery .account-panel-header {
    margin-bottom: 1.25rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 0.2rem;
    overscroll-behavior-inline: contain;
    overflow-x: auto;
    position: static;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--bgvp-line);
    border-radius: 0;
    padding: 0 0 0.25rem;
  }

  .legal-nav::-webkit-scrollbar {
    display: none;
  }

  .legal-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .product-detail-main-frame {
    height: clamp(220px, 72vw, 320px);
    max-width: 100%;
  }

  .site-footer-intro {
    align-items: start;
    flex-direction: column;
    gap: 1.4rem;
  }

  .site-footer-intro .btn-light {
    margin: 0;
  }

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

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

/* Customer-facing delivery progress intentionally excludes provider diagnostic data. */
.order-card-heading {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.order-card-heading .section-kicker {
  margin: 0 0 0.4rem;
}

.order-card-heading h2 {
  margin: 0;
}

.order-status-pill {
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.4rem 0.65rem;
  white-space: nowrap;
}

.order-status-pill.order-state-light-complete {
  background: #e5f7ef;
  color: #15724a;
}

.order-status-pill.order-state-light-review {
  background: #eaf1ff;
  color: #215fc8;
}

.order-status-pill.order-state-light-pending {
  background: #fff3dd;
  color: #9a6009;
}

.order-shipment-card {
  border-left: 3px solid var(--bgvp-blue);
  margin-top: 1rem;
}

.order-shipment-intro {
  color: #33445e;
  line-height: 1.75;
  margin: 1rem 0;
}

.order-shipment-info {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.order-shipment-info > div {
  border-top: 1px solid var(--bgvp-line);
  min-width: 0;
  padding: 0.7rem 0.75rem 0.7rem 0;
}

.order-shipment-info > div:nth-child(even) {
  padding-left: 0.75rem;
}

.order-shipment-info .order-shipment-info-wide {
  grid-column: 1 / -1;
  padding-left: 0;
}

.order-shipment-info dt {
  color: var(--bgvp-muted);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
}

.order-shipment-info dd {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0.24rem 0 0;
  overflow-wrap: anywhere;
}

.shipment-timeline {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

.shipment-timeline-item {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 14px minmax(0, 1fr);
  min-height: 74px;
  position: relative;
}

.shipment-timeline-item::before {
  background: var(--bgvp-line);
  bottom: 0;
  content: "";
  left: 6px;
  position: absolute;
  top: 13px;
  width: 2px;
}

.shipment-timeline-item:last-child::before {
  display: none;
}

.shipment-timeline-marker {
  background: #fff;
  border: 3px solid #b9c5d4;
  border-radius: 50%;
  height: 14px;
  margin-top: 2px;
  position: relative;
  width: 14px;
  z-index: 1;
}

.shipment-timeline-item-complete .shipment-timeline-marker {
  background: var(--bgvp-blue);
  border-color: var(--bgvp-blue);
}

.shipment-timeline-item strong {
  font-size: 0.84rem;
}

.shipment-timeline-item p {
  color: var(--bgvp-muted);
  font-size: 0.75rem;
  line-height: 1.6;
  margin: 0.25rem 0;
}

.shipment-timeline-item time {
  color: var(--bgvp-muted);
  display: block;
  font-size: 0.68rem;
}

@media (max-width: 767.98px) {
  .order-card-heading {
    flex-direction: column;
  }

  .order-shipment-info {
    grid-template-columns: 1fr;
  }

  .order-shipment-info > div:nth-child(even) {
    padding-left: 0;
  }
}

@media (max-width: 479.98px) {
  .site-utility-bar .container-xl > div > span {
    display: none;
  }

  .site-brand-copy {
    font-size: 0.95rem;
  }

  .site-brand .yuemao-store-logo {
    height: 50px;
    max-width: 114px;
  }

  .storefront-surface .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storefront-surface .product-card-content {
    padding: 0.85rem;
  }

  .product-card-topline {
    align-items: flex-start;
    gap: 0.3rem;
  }

  .product-card-bottom {
    align-items: center;
    gap: 0.3rem;
  }

  .storefront-surface .product-card-meta {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
    line-height: 1.35;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .product-stock-state {
    font-size: 0.62rem;
    padding: 0.22rem 0.4rem;
  }

  .storefront-surface .product-card h2 {
    font-size: 0.94rem;
    line-height: 1.3;
    margin: 0.5rem 0 0.3rem;
    min-height: 2.6em;
    overflow-wrap: anywhere;
  }

  .product-card-code {
    display: block;
    font-size: 0.66rem;
    line-height: 1.4;
    margin-bottom: 0.7rem;
    min-height: 2.8em;
    overflow: visible;
    overflow-wrap: anywhere;
  }

  .storefront-surface .product-card-price {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .product-card-arrow {
    flex: 0 0 28px;
    height: 28px;
    width: 28px;
  }

  .catalog-service-strip {
    grid-template-columns: 1fr;
  }

  .catalog-service-strip > div + div {
    border-left: 0;
    border-top: 1px solid var(--bgvp-line);
  }

  .audio-product-facts {
    grid-template-columns: 1fr;
  }

  .audio-product-facts > div:nth-child(odd),
  .audio-product-facts > div:nth-child(even) {
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .product-price-row {
    align-items: start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .checkout-progress > i {
    flex-basis: 40px;
  }

  .checkout-form-section {
    padding: 1rem;
  }

  .checkout-product-list article {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .checkout-product-list article > strong {
    grid-column: 2;
  }

  .member-action-grid,
  .order-meta-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer-bottom {
    align-items: start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* RWD baseline: preserve compact desktop density while keeping touch controls usable. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .catalog-filter,
  .catalog-filter.is-live-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-filter-search {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  .storefront-surface .page-section {
    padding-inline: 1rem;
  }

  /* The progress bar sits outside .page-section; keep it on the same content column. */
  .storefront-surface .checkout-progress {
    margin-inline: 1rem;
  }

  .catalog-category-nav {
    padding-inline: 0.1rem 2rem;
    scroll-padding-inline: 0.1rem 2rem;
  }

  .catalog-category-nav a,
  .site-footer nav a,
  .footer-logout,
  .cart-continue-link {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
  }

  .catalog-category-nav a {
    font-size: max(0.875rem, 14px);
    padding-inline: 1rem;
  }

  .storefront-surface .product-card-arrow,
  .storefront-surface .cart-quantity-stepper .cart-quantity-button,
  .storefront-surface .cart-quantity-stepper input[type="number"],
  .storefront-surface .cart-remove-button {
    min-height: 44px;
    min-width: 44px;
  }

  .storefront-surface .product-card-arrow {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
  }

  .storefront-surface .cart-quantity-stepper input[type="number"] {
    height: 44px;
  }

  .site-footer nav {
    gap: 0.2rem;
  }

  .site-footer nav a,
  .footer-logout {
    font-size: max(0.875rem, 14px);
  }
}

/* Issue #77: shared storefront hierarchy and narrow-screen discovery cues. */
.storefront-surface .site-main {
  width: 100%;
  max-width: var(--bgvp-content-max);
  padding-inline: var(--bgvp-page-gutter);
}

.storefront-surface :is(
  .catalog-hero h1,
  .product-detail-info h1,
  .brand-content-hero h1,
  .storefront-page-header h1,
  .account-panel-header h1,
  .member-dashboard-header h1,
  .order-page-header h1,
  .legal-page-header h1
) {
  font-size: var(--bgvp-type-page-title);
  line-height: 1.12;
  text-wrap: balance;
}

@media (max-width: 767.98px) {
  .storefront-surface :is(.catalog-category-nav, .legal-nav) {
    scroll-padding-inline: 0.25rem 2rem;
  }

  .storefront-surface .legal-nav {
    padding-right: 2rem;
  }
}

@media (max-width: 479.98px) {
  .storefront-surface .product-card-topline {
    align-items: flex-start;
    gap: var(--bgvp-space-2);
  }

  .storefront-surface .product-card-meta {
    display: block;
    min-height: 2.8em;
    overflow: visible;
    overflow-wrap: anywhere;
  }

  .storefront-surface .product-stock-state {
    margin-top: 0.1rem;
    padding: 0.2rem 0.4rem;
  }

  .storefront-surface .product-card h2 {
    min-height: 2.7em;
  }

  .storefront-surface .product-card-code {
    min-height: 2.8em;
  }

  .storefront-surface .product-card-arrow {
    flex-basis: var(--bgvp-compact-control-height);
    width: var(--bgvp-compact-control-height);
    height: var(--bgvp-compact-control-height);
  }
}

@media (max-width: 479.98px) {
  .storefront-surface .product-card-arrow {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
  }
}

/* Footer links keep the same readable type and touch area at every breakpoint. */
.site-footer nav a,
.footer-logout {
  align-items: center;
  display: inline-flex;
  font-size: max(0.875rem, 14px);
  min-height: 44px;
}

/* The product-card affordance keeps a full touch target at every viewport. */


/* Compact density refinement: reduce containers and media frames, never text/control floors. */
.site-main {
  min-height: 0;
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}

.storefront-surface .page-section {
  margin-bottom: var(--bgvp-section-gap);
}

.store-empty-state {
  padding: clamp(1.25rem, 3vw, 2.25rem) 1rem;
}

.store-empty-state > span {
  font-size: 2rem;
  margin-bottom: 0.65rem;
}

.store-empty-state h2 {
  font-size: var(--bgvp-type-section-title);
  margin: 0 0 0.5rem;
}

.catalog-hero {
  min-height: 15rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.catalog-filter,
.catalog-filter.is-live-search {
  gap: 0.75rem;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
  padding: clamp(0.75rem, 1.5vw, 1rem);
}

.catalog-result-heading {
  margin-bottom: 1rem;
}

.catalog-result-heading h2 {
  font-size: var(--bgvp-type-section-title);
}

.storefront-surface .product-grid {
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.storefront-surface .product-card {
  align-self: start;
}








.product-card-topline,
.product-card-bottom {
  gap: 0.45rem;
}

.storefront-surface .product-card h2 {
  min-height: 0;
}


.product-card-code {
  margin-bottom: 0.6rem;
  min-height: 0;
}

.catalog-service-strip {
  margin-top: -1rem;
}

.catalog-service-strip > div {
  gap: 0.6rem;
  padding: 0.85rem 0.95rem;
}

.product-detail-layout {
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.product-detail-main-frame {
  aspect-ratio: 5 / 4;
}

.product-detail-main-frame > img {
  padding: clamp(1rem, 3vw, 2rem);
}

.product-purchase-panel,
.checkout-form-section,
.checkout-summary,
.cart-summary-panel {
  padding: var(--bgvp-panel-padding);
}

.product-price-row strong {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
}

.product-story-grid {
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.product-story-copy {
  padding-block: clamp(0.5rem, 1.5vw, 1.25rem);
}

.product-story-copy h2 {
  font-size: var(--bgvp-type-section-title);
  margin-bottom: 0.75rem;
}

.product-spec-card {
  padding: var(--bgvp-panel-padding);
}

.cart-layout,
.checkout-layout {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.cart-table th {
  padding: 0.65rem 0.75rem;
}

.cart-table td {
  padding: 0.7rem 0.75rem;
}

.cart-product-summary {
  gap: 0.6rem;
  grid-template-columns: 64px minmax(0, 1fr);
}

.cart-product-thumb {
  width: 64px;
  height: 64px;
}

.checkout-choice {
  min-height: 60px;
  padding: 0.7rem 0.85rem;
}

.checkout-summary-products > summary,
.checkout-product-list article {
  padding-block: 0.65rem;
}

.account-shell {
  min-height: 28.75rem;
}


.account-story {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}


.account-story h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.account-story-features {
  gap: 0.5rem;
  margin-top: 1rem;
}

.member-action-link {
  min-height: 6rem;
  padding: 1rem;
}

.legal-layout {
  gap: clamp(1rem, 2vw, 1.25rem);
}

.legal-card section {
  padding-bottom: 0.85rem;
}

.legal-card section + section {
  padding-top: 0.85rem;
}

.friendly-error-page {
  min-height: auto;
  padding: 2rem 1rem;
}

.friendly-error-page h1 {
  font-size: var(--bgvp-type-page-title);
}

.site-footer-intro {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.site-footer-intro h2 {
  font-size: var(--bgvp-type-section-title);
}

.site-footer-grid {
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 767.98px) {
  .site-main {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .catalog-hero {
    min-height: 10.625rem;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .catalog-filter,
  .catalog-filter.is-live-search {
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
  }

  .storefront-surface .product-grid {
    gap: 0.75rem;
  }

  .storefront-surface .product-card-image-frame {
    aspect-ratio: 6 / 5;
  }

  .storefront-surface .product-card-content {
    padding: 0.75rem;
  }

  .storefront-surface .product-card :is(h2, .product-card-code, .product-card-meta) {
    min-height: 0;
  }

  .cart-product-summary {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .site-footer-intro .btn-light {
    margin-left: 0;
  }
}

@media (max-width: 359.98px) {
  .storefront-surface .product-card-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .storefront-surface .product-card-arrow {
    align-self: flex-end;
  }
}

/* Issue #82: the footer shares the ice-white editorial system without changing
   its links, logout action, or responsive grid. */
.site-footer {
  color: var(--bgvp-color-footer-text);
  background: var(--bgvp-color-footer-surface);
  border-top: 1px solid var(--bgvp-color-footer-line);
  box-shadow: var(--bgvp-shadow-footer);
}

.site-footer-intro {
  background: var(--bgvp-color-footer-raised);
  border-bottom-color: var(--bgvp-color-footer-line);
}

.site-footer-intro h2,
.site-footer nav h2 {
  color: var(--bgvp-color-footer-text);
}

.site-footer-intro .btn-light {
  color: var(--bgvp-color-nav-text);
  background: var(--bgvp-color-brand-blue);
  border: 1px solid var(--bgvp-color-brand-blue);
  box-shadow: none;
}

.site-footer-intro .btn-light:hover,
.site-footer-intro .btn-light:focus-visible {
  color: var(--bgvp-color-nav-text);
  background: var(--bgvp-color-brand-blue-dark);
  border-color: var(--bgvp-color-brand-blue-dark);
}

.site-footer-brand > a {
  width: fit-content;
  padding: 0.45rem 0.7rem;
  background: transparent;
  border-radius: 0;
}

.site-footer-brand .yuemao-store-logo,
.footer-brand .yuemao-store-logo {
  height: 3.75rem;
  max-width: 8.125rem;
  width: auto;
}

.site-footer-brand p,
.site-footer nav a,
.footer-logout {
  color: var(--bgvp-color-footer-muted);
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.footer-logout:hover,
.footer-logout:focus-visible {
  color: var(--bgvp-color-brand-blue);
}

.site-footer-bottom {
  border-top-color: var(--bgvp-color-footer-line);
}

.storefront-surface .product-card {
  border-color: var(--bgvp-color-storefront-line);
}


@media (max-width: 575.98px) {
  .site-footer-brand .yuemao-store-logo,
  .footer-brand .yuemao-store-logo {
    height: 3.25rem;
  }

  .site-footer-intro .btn-light {
    width: auto;
    min-height: var(--bgvp-button-height);
    align-self: flex-start;
    white-space: nowrap;
  }
}

/* Issue #82: cart-only tablet cards prevent the 768px table overflow without
   changing other tablet layouts. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .cart-page .table-scroll {
    overflow: visible;
  }

  .cart-table,
  .cart-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 0;
  }

  .cart-table colgroup,
  .cart-table thead {
    display: none;
  }

  .cart-table tbody {
    display: grid;
    gap: 0;
  }

  .cart-table tbody tr {
    display: block;
    min-width: 0;
    padding: 1rem var(--bgvp-panel-padding);
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--bgvp-color-storefront-line);
    position: relative;
  }

  .cart-table td {
    display: grid;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    padding: 0.5rem 0;
    border-bottom: 0;
    text-align: left;
  }

  .cart-table td::before {
    color: var(--bgvp-color-storefront-muted);
    content: attr(data-label);
    font-size: var(--bgvp-type-micro);
    font-weight: 700;
  }

  .cart-table .cart-product-cell {
    display: block;
    padding-top: 0;
  }

  .cart-table :is(.cart-product-cell, .cart-remove-cell)::before {
    display: none;
  }

  .cart-table .cart-product-cell {
    padding-right: 44px;
  }

  .cart-table .cart-remove-cell {
    border: 0;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: block;
    padding: 0;
  }
}

/* Issue #82: narrow-surface touch targets retain content width. */
@media (max-width: 767.98px) {
  .account-help-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

/* Mobile catalog: the live-search script moves the filter form into the drawer. With JavaScript the page
   paints in that final layout from the start (inline form hidden, drawer trigger shown), so the move never
   shifts the product grid. Without JavaScript the inline form stays and the trigger is never shown. */
html:not(.bgvp-js) body.storefront-surface .bgvp-filter-trigger {
  display: none;
}

@media (max-width: 767.98px) {
  html.bgvp-js .storefront-surface .catalog-filter[data-product-live-search]:not(.is-bgvp-inline-filter):not(.bgvp-filter-drawer .catalog-filter) {
    display: none;
  }
}

/* Back-to-top control (motion states live in system/bgvp-motion.css). */
.storefront-surface .bgvp-back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 1040;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: var(--bgvp-color-brand-ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(7, 16, 31, 0.22);
  cursor: pointer;
}

.storefront-surface .bgvp-back-to-top:hover,
.storefront-surface .bgvp-back-to-top:focus-visible {
  background: var(--bgvp-color-brand-blue-dark);
}

.storefront-surface .bgvp-back-to-top:focus-visible {
  outline: 3px solid rgba(47, 125, 244, 0.45);
  outline-offset: 3px;
}

.storefront-surface .bgvp-back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Storefront shared components =====
   Structure only. Every transition / animation for these lives in system/bgvp-motion.css,
   and docs/agents/motion-system.md lists which module owns each behaviour. */

/* Specification price: inline-block so the price-change rise can move it. */
.storefront-surface #SelectedSpecificationPrice {
  display: inline-block;
}

/* Product main image: enlarge trigger and hover magnifier pane. */
.storefront-surface .product-detail-main-frame:has(.is-bgvp-enlargeable) {
  cursor: zoom-in;
}

.storefront-surface .product-zoom-trigger {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--bgvp-color-brand-ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--bgvp-color-storefront-line);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(7, 16, 31, 0.12);
  cursor: pointer;
}

html:not(.bgvp-js) .storefront-surface .product-zoom-trigger {
  display: none;
}

.storefront-surface .product-zoom-trigger:hover,
.storefront-surface .product-zoom-trigger:focus-visible {
  color: #fff;
  background: var(--bgvp-color-brand-ink);
}

.storefront-surface .product-zoom-trigger:focus-visible {
  outline: 3px solid rgba(47, 125, 244, 0.45);
  outline-offset: 2px;
}

.storefront-surface :is(.product-zoom-trigger, .bgvp-lightbox) svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-surface .bgvp-magnifier {
  position: absolute;
  z-index: 2;
  background-color: var(--bgvp-color-media-surface);
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
}

.storefront-surface .bgvp-magnifier.is-active {
  opacity: 1;
}

/* Content images that open in the shared viewer. */
.storefront-surface img.is-bgvp-enlargeable {
  cursor: zoom-in;
}

.storefront-surface img.is-bgvp-enlargeable[role="button"]:focus-visible {
  outline: 3px solid rgba(47, 125, 244, 0.55);
  outline-offset: 3px;
}

/* Shared image viewer (one <dialog> in the layout). */
html.is-bgvp-lightbox-open {
  overflow: hidden;
  padding-right: var(--bgvp-scrollbar-compensation, 0px);
}

.bgvp-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  color: #fff;
  background: rgba(5, 12, 22, 0.95);
  border: 0;
  overscroll-behavior: contain;
}

.bgvp-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.bgvp-lightbox::backdrop {
  background: transparent;
}

.bgvp-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
}

.bgvp-lightbox-counter {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.bgvp-lightbox-tools {
  display: flex;
  gap: 0.5rem;
}

.bgvp-lightbox-button,
.bgvp-lightbox-nav {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
}

.bgvp-lightbox-button:hover,
.bgvp-lightbox-nav:hover,
.bgvp-lightbox-button:focus-visible,
.bgvp-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.bgvp-lightbox-button:focus-visible,
.bgvp-lightbox-nav:focus-visible {
  outline: 3px solid rgba(113, 184, 230, 0.85);
  outline-offset: 2px;
}

.bgvp-lightbox-button[aria-pressed="true"] .bgvp-lightbox-zoom-plus {
  display: none;
}

.bgvp-lightbox-stage {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(16px, 7vw, 104px) max(20px, env(safe-area-inset-bottom));
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.bgvp-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.bgvp-lightbox-stage.is-zoomed {
  display: block;
  padding: 0;
  overflow: auto;
  touch-action: auto;
  cursor: grab;
}

.bgvp-lightbox-stage.is-zoomed .bgvp-lightbox-image {
  max-width: none;
  max-height: none;
  margin: auto;
  cursor: zoom-out;
}

.bgvp-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  margin-top: -24px;
}

.bgvp-lightbox-nav.is-prev {
  left: max(12px, env(safe-area-inset-left));
}

.bgvp-lightbox-nav.is-next {
  right: max(12px, env(safe-area-inset-right));
}

.bgvp-lightbox-nav[hidden] {
  display: none;
}

@media (max-width: 575.98px) {
  .bgvp-lightbox-stage {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .bgvp-lightbox-nav {
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    margin-top: 0;
  }
}

/* Account geometry: consolidated from the legacy fidelity layer. */
.storefront-surface .account-shell {
  gap: 0;
  max-width: 1080px;
  margin-inline: auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bgvp-fidelity-line);
  border-radius: 4px;
  box-shadow: none;
}

.storefront-surface .account-panel {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(28px, 5vw, 56px);
}

@media (max-width: 767.98px) {
  .storefront-surface .account-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .storefront-surface .account-panel {
    padding: 26px 20px;
  }
}

/* Product card presentation belongs to the storefront, including responsive variants. */
.storefront-surface .product-card {
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 3px;
  box-shadow: none;
}

.storefront-surface .product-card:hover {
  border-color: #b9c8d8;
  box-shadow: 0 10px 24px rgba(37, 57, 83, 0.08);
  transform: translateY(-2px);
}

.storefront-surface .product-card-image-frame {
  aspect-ratio: 1 / 1;
  padding: 0;
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid #e1e7ed;
  border-radius: 0;
}

.storefront-surface .product-card-image {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
}

.storefront-surface .product-card-content {
  padding: 12px 12px 14px;
}

.storefront-surface .product-card-meta {
  color: var(--bgvp-fidelity-blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.storefront-surface .product-card h2 {
  margin: 7px 0 2px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.storefront-surface .product-card-code {
  color: #667284;
  font-size: 10.5px;
}

.storefront-surface .product-card-price {
  color: #111b29;
  font-size: 15px;
  font-weight: 760;
}

.storefront-surface .product-card-arrow {
  flex: 0 0 34px;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  color: #223247;
  border: 1px solid #cfd8e3;
  border-radius: 2px;
}

@media (max-width: 767.98px) {
  .storefront-surface .product-card-image-frame {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 767.98px) {
  .storefront-surface .product-card-arrow {
    flex-basis: 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
}

@media (max-width: 767.98px) {
  .storefront-surface .product-card-meta,
    .storefront-surface .product-card-code {
    font-size: 12px;
  }
}

@media (max-width: 767.98px) {
  .storefront-surface .product-card-topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

.storefront-surface .product-grid[data-product-grid] .product-card-image-frame {
  aspect-ratio: 1 / 1;
  padding: 0;
}

.storefront-surface .product-grid[data-product-grid] .product-card-image {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
}
