/* Shared storefront visual language; all purchase controls remain native. */
html:has(body.xique-shop-layout), body.xique-shop-layout {
  overflow-x:clip;
}
body.xique-shop-layout {
  --ui-bg-page:#f5f6f8; --ui-bg-surface:#fff; --ui-bg-elevated:#fff; --ui-bg-muted:#f0f2f5;
  --ui-text-primary:#20252d; --ui-text-secondary:#59616e; --ui-text-muted:#6e7784;
  --ui-border:#e2e5e9; --ui-accent:#c0563a; --ui-accent-hover:#ab4932;
  --ui-accent-soft:#c0563a14; --ui-price-primary:#20252d;
  --ui-shadow-1:none; --ui-shadow-2:none;
  background:#f5f6f8; color:#20252d;
  font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;
}
html.dark body.xique-shop-layout {
  --ui-bg-page:#16191e; --ui-bg-surface:#1f232a; --ui-bg-elevated:#1f232a; --ui-bg-muted:#292f38;
  --ui-text-primary:#f0f2f5; --ui-text-secondary:#c0c6cf; --ui-text-muted:#a2acba;
  --ui-border:#363e48; --ui-accent:#d9744f; --ui-accent-hover:#e0805f; --ui-accent-soft:#d9744f18; --ui-price-primary:#f0f2f5;
  background:#16191e; color:#f0f2f5;
}
body.xique-shop-layout .container { max-width:1200px; padding-inline:28px; }
body.xique-shop-layout :is(nav[data-v-2fa6c5a7], nav.xique-navbar) { position:relative !important; top:auto; padding:0 !important; background:var(--ui-bg-surface); box-shadow:none !important; backdrop-filter:none; border-color:var(--ui-border); }
body.xique-shop-layout :is(nav[data-v-2fa6c5a7], nav.xique-navbar) > .container { min-height:80px; gap:20px; }
body.xique-shop-layout .theme-wordmark { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; max-width:280px; }
body.xique-shop-layout .theme-wordmark img { width:36px; height:36px; max-width:36px; animation:none; }
body.xique-shop-layout .theme-wordmark-text { font-size:16px; font-weight:650; }
body.xique-shop-layout :is(nav[data-v-2fa6c5a7], nav.xique-navbar) a { border-radius:7px; }
body.xique-shop-layout main > .home-page { min-height:0; background:var(--ui-bg-page); }
.xqs-hero { display:block; padding-block:14px 10px; text-align:center; }
.xqs-hero h1 { display:flex; align-items:center; justify-content:center; gap:10px; width:fit-content; max-width:100%; margin:0 auto; font-size:clamp(22px,2.3vw,30px); font-weight:650; line-height:1.35; letter-spacing:-.025em; color:var(--ui-text-primary); }
.xqs-hero p { margin:6px auto 0; color:var(--ui-text-secondary); font-size:13px; line-height:1.6; }
.xqs-benefits { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 18px; margin-top:10px; color:var(--ui-text-secondary); font-size:12px; }
.xqs-benefits span::before { content:'✓'; margin-right:6px; color:#287753; }
html.dark .xqs-benefits span::before { color:#75c79c; }
.xqs-services { padding:4px 18px 0; background:var(--ui-bg-surface); border:1px solid var(--ui-border); border-radius:12px; }
.xqs-service { display:flex; align-items:center; gap:12px; padding:14px 0; color:var(--ui-text-primary); }
.xqs-service + .xqs-service { border-top:1px solid var(--ui-border); }
.xqs-service svg { width:24px; height:24px; flex-shrink:0; color:var(--ui-accent); }
.xqs-service strong,.xqs-service small { display:block; }
.xqs-service strong { font-size:13px; font-weight:600; }
.xqs-service small { margin-top:2px; font-size:11px; color:var(--ui-text-muted); }
.xqs-service > b { margin-left:auto; color:var(--ui-text-muted); font-weight:400; font-size:22px; }
.xqs-guide { display:flex; justify-content:space-between; padding:10px 0; border-top:1px solid var(--ui-border); font-size:11px; color:var(--ui-text-secondary); }
.xqs-service:hover strong,.xqs-guide:hover { color:var(--ui-accent); }
body.xique-shop-layout #featured { padding:0 0 32px !important; }
body.xique-shop-layout #featured > .container > div:first-child { margin-bottom:12px; padding-top:14px; border-top:1px solid var(--ui-border); align-items:center; }
body.xique-shop-layout .theme-section-heading { font-size:21px; line-height:1.35; font-weight:650; }
body.xique-shop-layout #featured h2 + p { font-size:13px; margin-top:4px; }
.home-page #featured > .container > .grid,
.products-page main > div > .grid:has(> .bg-card),
.products-page main .grid:has(> .xique-luxe-card) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
body.xique-shop-layout .bg-card:has(> div > .theme-price-sm):not(.xique-luxe-card) { box-shadow:none; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) { border:1px solid var(--ui-border); border-radius:12px; background:var(--ui-bg-surface); box-shadow:none !important; transform:none !important; animation:none !important; overflow:hidden; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child { height:92px; aspect-ratio:auto; background:var(--ui-bg-surface); border:0; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child > img { object-fit:contain !important; padding:6px !important; transform:none !important; filter:none !important; opacity:1 !important; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child > .absolute.inset-0 { background:transparent !important; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child > .absolute:not(.inset-0) { top:10px; right:10px; max-width:65%; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child > .absolute > span { background:var(--ui-bg-muted); border-color:var(--ui-border); color:var(--ui-text-secondary); border-radius:5px; padding:3px 7px; font-size:10px; backdrop-filter:none; }
body.xique-shop-layout .lucky-main-badge { display:none; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:last-child { padding:14px 16px; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) h3 { font-size:17px; font-weight:650; line-height:1.35; min-height:0; display:block; overflow:visible; -webkit-line-clamp:unset; margin-bottom:6px; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) .uppercase { text-transform:none; letter-spacing:0; font-size:10px; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) p { display:block; font-size:13px; line-height:1.55; margin-bottom:10px; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) .theme-price-sm { font:650 22px/1.2 Inter,"Microsoft YaHei",sans-serif; font-variant-numeric:tabular-nums; letter-spacing:-.04em; color:var(--ui-text-primary); }
body.xique-shop-layout main .bg-card:not(.xique-luxe-card) button[aria-label="快速购买"] { width:auto !important; min-width:84px; min-height:36px; height:36px; padding:0 12px; border:0; border-radius:7px; background:var(--ui-accent); color:#fff; box-shadow:none; font-size:13px; font-weight:600; display:inline-flex; align-items:center; justify-content:center; gap:5px; }
body.xique-shop-layout main .bg-card:not(.xique-luxe-card) button[aria-label="快速购买"]:hover { background:var(--ui-accent-hover); }
body.xique-shop-layout .products-page { padding-top:28px !important; padding-bottom:36px; min-height:0; }
body.xique-shop-layout .products-page > .container > div:first-child { margin:0 0 22px; text-align:left; }
body.xique-shop-layout .products-page h1 { font-size:28px; font-weight:650; margin-bottom:8px; }
body.xique-shop-layout .products-page h1 + p { margin:0; max-width:none; padding-bottom:20px; font-size:13px; }
body.xique-shop-layout .products-page > .container > div:has(> aside) { flex-direction:column; gap:20px; }
body.xique-shop-layout .products-page aside { width:100%; }
body.xique-shop-layout .products-page aside > div { display:flex; flex-wrap:wrap; align-items:center; gap:18px; position:static; padding:16px; border-radius:12px; box-shadow:none; }
body.xique-shop-layout .products-page aside > div > div:first-child { margin:0; width:240px; max-width:100%; }
body.xique-shop-layout .products-page aside label { display:block; font-size:11px; margin-bottom:6px; }
body.xique-shop-layout .products-page aside input { background:var(--ui-bg-surface); }
body.xique-shop-layout .products-page aside div:has(> input) { margin-top:0; }
body.xique-shop-layout .products-page aside h2 { font-size:13px; margin:0; }
body.xique-shop-layout .products-page aside ul { display:flex; flex:1; flex-wrap:wrap; align-items:center; gap:8px; margin:0; }
body.xique-shop-layout .products-page aside li { margin:0 !important; min-width:0; }
body.xique-shop-layout .products-page aside button { width:auto; min-height:40px; padding:8px 12px; border-radius:7px; font-size:12px; }
body.xique-shop-layout .home-page > section:not(#featured) { padding-block:26px 32px; border-color:var(--ui-border); }
body.xique-shop-layout .home-page > section:not(#featured) .bg-card { box-shadow:none; border-radius:12px; }
body.xique-shop-layout footer { background:var(--ui-bg-surface); margin-top:0; }
body.xique-shop-layout footer > .container { padding-block:28px; }
body.xique-shop-layout footer > .container > .grid { margin-bottom:24px; gap:28px; }
body.xique-shop-layout footer h3 { font-size:16px; }
body.xique-shop-layout footer h4 { font-size:13px; margin-bottom:12px; }
body.xique-shop-layout footer p,body.xique-shop-layout footer li { font-size:12px; }
body.xique-shop-layout footer .border-t { padding-top:18px; }
body.xique-shop-layout a:focus-visible,body.xique-shop-layout button:focus-visible { outline:2px solid var(--ui-accent); outline-offset:3px; }
@media(max-width:1100px) {
  body.xique-shop-layout :is(nav[data-v-2fa6c5a7], nav.xique-navbar) .theme-wordmark { max-width:220px; gap:8px; }
  body.xique-shop-layout .theme-wordmark-text { font-size:14px; }
  body.xique-shop-layout :is(nav[data-v-2fa6c5a7], nav.xique-navbar) > .container { gap:10px; }
}
@media(max-width:1023px) {
  body.xique-shop-layout .container { padding-inline:24px; }
  body.xique-shop-layout :is(nav[data-v-2fa6c5a7], nav.xique-navbar) > .container { min-height:68px; }
  .home-page #featured > .container > .grid,
  .products-page main > div > .grid:has(> .bg-card),
  .products-page main .grid:has(> .xique-luxe-card) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .xqs-hero { grid-template-columns:minmax(0,1fr) 260px; gap:24px; }
  body.xique-shop-layout .products-page > .container > div:has(> aside) { gap:18px; }
  body.xique-shop-layout .products-page aside { display:none; }
  body.xique-shop-layout footer { padding-bottom:66px; }
}
@media(max-width:640px) {
  body.xique-shop-layout .container { padding-inline:16px; }
  body.xique-shop-layout :is(nav[data-v-2fa6c5a7], nav.xique-navbar) > .container { min-height:60px; }
  body.xique-shop-layout .theme-wordmark-text { font-size:13px; }
  body.xique-shop-layout .theme-wordmark img { width:28px; height:28px; }
  .xqs-hero { grid-template-columns:1fr; padding-block:10px 8px; gap:10px; }
  .xqs-hero h1 { font-size:21px; }
  .xqs-hero p { font-size:12px; line-height:1.5; }
  .xqs-benefits { gap:8px 12px; margin-top:8px; font-size:11px; }
  .xqs-services { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; padding:0 14px; }
  .xqs-service { gap:8px; padding:13px 0; }
  .xqs-service + .xqs-service { border:0; }
  .xqs-service svg { width:20px; height:20px; }
  .xqs-service strong { font-size:12px; }
  .xqs-service small { font-size:10px; }
  .xqs-service > b { display:none; }
  .xqs-guide { grid-column:1/-1; }
  .home-page #featured > .container > .grid,
  .products-page main > div > .grid:has(> .bg-card),
  .products-page main .grid:has(> .xique-luxe-card) { grid-template-columns:minmax(0,1fr); gap:14px; }
  body.xique-shop-layout .theme-section-heading { font-size:19px; }
  body.xique-shop-layout #featured > .container > div:first-child { gap:10px; padding-top:12px; margin-bottom:10px; }
  body.xique-shop-layout #featured > .container > div:first-child > a { font-size:12px; flex-shrink:0; }
  body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) h3 { min-height:0; }
  body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child { height:82px; }
  body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:last-child { padding:12px 14px; }
  body.xique-shop-layout .products-page h1 { font-size:24px; }
  body.xique-shop-layout footer > .container > .grid { grid-template-columns:1fr 1fr; }
  body.xique-shop-layout footer .col-span-2 { grid-column:1/-1; }
}
@media(prefers-reduced-motion:reduce) { .xique-shop-layout *, .xique-shop-layout *::before, .xique-shop-layout *::after { animation:none !important; transition:none !important; } }
/* Keep product content continuous, without category labels or internal dividers. */
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:last-child > div.uppercase.truncate { display:none; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:last-child > .border-t { border-top:0; padding-top:6px; }
.xqs-home-search { margin:0 0 12px; }
.xqs-categories { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 14px; }
.xqs-categories a { display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:6px 14px; border:1px solid var(--ui-border); border-radius:9999px; color:var(--ui-text-secondary); background:var(--ui-bg-surface); font-size:13px; font-weight:500; white-space:nowrap; transition:color .18s ease, border-color .18s ease, background-color .18s ease; }
.xqs-categories a:hover, .xqs-categories a:focus-visible { color:var(--ui-accent); border-color:var(--ui-accent); background:var(--ui-accent-soft); }
.xqs-categories img { width:18px; height:18px; object-fit:contain; }
body.xique-shop-layout .products-page aside { display:block; }
body.xique-shop-layout .products-page aside h2 { display:none; }
body.xique-shop-layout .products-page aside ul { min-width:0; }
@media(max-width:640px) {
  .xqs-categories { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; max-width:100%; margin:0 0 12px; padding-bottom:4px; }
  .xqs-categories a { flex:0 0 auto; padding-inline:12px; font-size:12.5px; min-height:34px; }
  body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) h3 { font-size:16px; }
  body.xique-shop-layout .products-page aside > div { display:block; padding:12px; }
  body.xique-shop-layout .products-page aside ul { flex-wrap:nowrap; overflow-x:auto; margin-top:12px; padding-bottom:4px; }
  body.xique-shop-layout .products-page aside li { flex:0 0 auto; }
}
/* White-backed catalog icons blend into the warm card instead of forming a tile. */
html:not(.dark) body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child > img[src^="/ai-icons/covers/"] {
  mix-blend-mode:multiply;
}
html.dark body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child > img[src^="/ai-icons/covers/"] {
  filter:invert(1) hue-rotate(180deg) !important;
  mix-blend-mode:screen;
}
.xqs-hero-logo { display:block; width:44px; height:44px; flex:0 0 44px; object-fit:contain; filter:brightness(0); opacity:.88; }
.xqs-hero h1 > span { min-width:0; }
html.dark .xqs-hero-logo { filter:brightness(0) invert(1); }
@media(max-width:640px) {
  .xqs-hero h1 { gap:9px; }
  .xqs-hero-logo { width:32px; height:32px; flex-basis:32px; }
}
/* Focused diffuse light sits behind the icon, with no rectangular image shadow. */
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child:has(> img[src^="/ai-icons/covers/"]) {
  --xqs-icon-glow:192,112,73;
  isolation:isolate;
}
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child:has(> img[src$="/muse.svg"]) { --xqs-icon-glow:82,126,218; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child:has(> img[src$="/gemini.svg"]) { --xqs-icon-glow:135,112,208; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child:has(> img[src^="/ai-icons/covers/"])::before {
  content:""; position:absolute; inset:6% 17%; pointer-events:none;
  background:radial-gradient(ellipse at center, rgba(var(--xqs-icon-glow),.24) 0%, rgba(var(--xqs-icon-glow),.12) 30%, rgba(var(--xqs-icon-glow),0) 72%);
  filter:blur(12px); opacity:.72;
  transition:opacity .22s ease;
}
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child > img[src^="/ai-icons/covers/"] { position:relative; z-index:1; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card):is(:hover,:focus-within) > div:first-child:has(> img[src^="/ai-icons/covers/"])::before { opacity:1; }
html.dark body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) > div:first-child:has(> img[src^="/ai-icons/covers/"])::before { opacity:.5; }
html.dark body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card):is(:hover,:focus-within) > div:first-child:has(> img[src^="/ai-icons/covers/"])::before { opacity:.8; }
/* Readable supporting copy on both warm light and dark surfaces. */
.xqs-hero p { font-size:13px; }
.xqs-benefits { font-size:12px; }
body.xique-shop-layout #featured h2 + p { font-size:13px; line-height:1.6; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) p { font-size:13px; line-height:1.55; white-space:pre-line; overflow-wrap:anywhere; overflow:visible; -webkit-line-clamp:unset; }
body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) .uppercase { font-size:12px; letter-spacing:0; }
body.xique-shop-layout .products-page aside label { font-size:13px; }
body.xique-shop-layout .products-page aside button { font-size:14px; }
body.xique-shop-layout footer :is(p,li) { font-size:13px; line-height:1.8; }
body.xique-shop-layout #featured > .container > div:first-child > a { font-size:13px; }
@media(max-width:640px) {
  body.xique-shop-layout main .bg-card:has(button[aria-label="快速购买"]):not(.xique-luxe-card) p { font-size:12.5px; line-height:1.5; margin-bottom:8px; }
}
@media(max-width:360px) {
  body.xique-shop-layout #featured > .container > div:first-child { flex-wrap:wrap; }
}

/* ==================== Direction 2B/2A Luxury Membership Pass Cards ==================== */
body.xique-shop-layout main .xique-luxe-card {
  position: relative;
  border-radius: 26px !important;
  padding: 12px !important;
  background: #FCFBF8 !important;
  border: 1px solid rgba(36, 32, 28, 0.085) !important;
  box-shadow: 0 1px 2px rgba(36, 32, 28, 0.04), 0 8px 24px -8px rgba(48, 38, 28, 0.08) !important;
  transition: box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease !important;
  animation: none !important;
  transform: none !important;
  left: 0 !important;
  opacity: 1 !important;
  overflow: hidden;
}
html.dark body.xique-shop-layout main .xique-luxe-card {
  background: #221B15 !important;
  border-color: rgba(241, 232, 219, 0.1) !important;
  box-shadow: 0 2px 14px -4px rgba(0, 0, 0, 0.45) !important;
}
body.xique-shop-layout main .xique-luxe-card:hover {
  left: 0 !important;
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
  border-color: rgba(184, 74, 47, 0.32) !important;
  box-shadow: 0 4px 10px rgba(36, 32, 28, 0.06), 0 16px 32px -12px rgba(48, 34, 22, 0.15) !important;
}
html.dark body.xique-shop-layout main .xique-luxe-card:hover {
  border-color: rgba(224, 128, 95, 0.42) !important;
}
html.dark .xqs-categories img:not([src*="gemini"]):not([src*="muse"]) {
  filter: invert(1) brightness(1.08);
}
body.xique-shop-layout main .xique-luxe-card .xique-luxe-title {
  color: var(--ui-text-primary);
  letter-spacing: -0.015em;
}
body.xique-shop-layout main .xique-luxe-card .xique-luxe-desc {
  color: var(--ui-text-secondary);
}
body.xique-shop-layout main .xique-luxe-card .xique-luxe-footer {
  border-color: rgba(36, 32, 28, 0.08);
}
html.dark body.xique-shop-layout main .xique-luxe-card .xique-luxe-footer {
  border-color: rgba(241, 232, 219, 0.1);
}
body.xique-shop-layout main .xique-luxe-card .theme-price-sm {
  font: 700 21px/1.15 Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #201C18;
}
html.dark body.xique-shop-layout main .xique-luxe-card .theme-price-sm {
  color: #FBF4EB;
}
body.xique-shop-layout main .xique-luxe-card button[aria-label="快速购买"] {
  border-radius: 9999px !important;
  min-height: 36px;
  height: 36px;
  padding: 0 14px;
  border: 0 !important;
  background: #B84A2F !important;
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 4px 12px -2px rgba(184, 74, 47, 0.32) !important;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}
body.xique-shop-layout main .xique-luxe-card button[aria-label="快速购买"]:hover {
  background: #A03D25 !important;
  box-shadow: 0 6px 16px -2px rgba(184, 74, 47, 0.42) !important;
}
@media (max-width: 640px) {
  body.xique-shop-layout main .xique-luxe-card .xique-luxe-pedestal {
    padding-top: 10px;
  }
  body.xique-shop-layout main .xique-luxe-card .xique-luxe-desc {
    margin-bottom: 8px;
  }
}

/* PDP text-selection & drag crash prevention:
   1. Strip visually-inert backdrop-filter compositing passes on opaque PDP cards and inner elements.
   2. Solidify reassurance box background inside left column so no partial-alpha layer stacks under selection.
   3. Isolate the pass card frame above the reassurance text and render reassurance icons as pure CSS masks (zero <svg> DOM nodes in selectable text flow). */
.product-detail-page .bg-card,
.product-detail-page .backdrop-blur-xl,
.product-detail-page .backdrop-blur-md,
.product-detail-page .pass-pill {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.product-detail-page .xique-pdp-pass-frame {
  user-select: none;
  -webkit-user-select: none;
}

.product-detail-page .border-r > div.space-y-3.text-xs {
  background-color: #FCFBF8 !important;
}

html.dark .product-detail-page .border-r > div.space-y-3.text-xs {
  background-color: #221B15 !important;
}

.product-detail-page .xique-pdp-note-item {
  position: relative;
  padding-left: 26px;
}

.product-detail-page .xique-pdp-note-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  pointer-events: none;
}

.product-detail-page .xique-pdp-note-item--shield::before {
  color: #B84A2F;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2013c0%205-3.5%207.5-7.66%208.95a1%201%200%200%201-.67-.01C7.5%2020.5%204%2018%204%2013V6a1%201%200%200%201%201-1c2%200%204.5-1.2%206.24-2.72a1.17%201.17%200%200%201%201.52%200C14.51%203.81%2017%205%2019%205a1%201%200%200%201%201%201z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2013c0%205-3.5%207.5-7.66%208.95a1%201%200%200%201-.67-.01C7.5%2020.5%204%2018%204%2013V6a1%201%200%200%201%201-1c2%200%204.5-1.2%206.24-2.72a1.17%201.17%200%200%201%201.52%200C14.51%203.81%2017%205%2019%205a1%201%200%200%201%201%201z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E");
}

html.dark .product-detail-page .xique-pdp-note-item--shield::before {
  color: #E0805F;
}

.product-detail-page .xique-pdp-note-item--zap::before {
  color: #1E7E52;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2014a1%201%200%200%201-.78-1.63l9.9-10.2a.5.5%200%200%201%20.86.46l-1.92%206.02A1%201%200%200%200%2013%2010h7a1%201%200%200%201%20.78%201.63l-9.9%2010.2a.5.5%200%200%201-.86-.46l1.92-6.02A1%201%200%200%200%2011%2014z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2014a1%201%200%200%201-.78-1.63l9.9-10.2a.5.5%200%200%201%20.86.46l-1.92%206.02A1%201%200%200%200%2013%2010h7a1%201%200%200%201%20.78%201.63l-9.9%2010.2a.5.5%200%200%201-.86-.46l1.92-6.02A1%201%200%200%200%2011%2014z%22%2F%3E%3C%2Fsvg%3E");
}

html.dark .product-detail-page .xique-pdp-note-item--zap::before {
  color: #75C79C;
}

.product-detail-page .xique-pdp-note-item--clock::before {
  color: #315678;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206v6l4%202%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206v6l4%202%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3C%2Fsvg%3E");
}

html.dark .product-detail-page .xique-pdp-note-item--clock::before {
  color: #96D6C8;
}

:is(.home-page, .product-detail-page) #selection-guide.xqs-guide-card {
  display: none;
}

.xqs-pdp-eligibility,
.xqs-pdp-full-summary { display: none; }

.product-detail-page .border-r:has(> [data-xique-pdp-media]) + div > div > :is(.mb-3.uppercase, .mb-4.flex.flex-wrap):has(~ h1) {
  display: none;
}

.product-detail-page .border-r:has(> [data-xique-pdp-media]) + div > .mb-6 > .pb-8 > .mb-3 {
  & > span.text-sm.text-muted-foreground:first-child,
  &:has(> span.text-sm.text-muted-foreground:only-child) { display: none; }
}

@media (min-width: 1024px) {
  body.xique-shop-layout main .xique-luxe-card {
    padding: 16px !important;
  }
  .xique-luxe-card .xique-luxe-pedestal {
    padding: 16px 10px 6px;
  }
  .xique-luxe-card .xique-luxe-title {
    margin-bottom: 7px;
    line-height: 1.4;
  }
  .xique-luxe-card .xique-luxe-desc {
    margin-bottom: 14px;
    line-height: 1.65;
  }
  .xique-luxe-card .xique-luxe-footer {
    padding-top: 14px;
  }
  .product-detail-page .border-r:has(> .xique-pdp-pass-frame) {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 32px;
  }
  .product-detail-page .xique-pdp-pass-frame {
    padding: 0;
    border: 0;
    background: transparent;
  }
  .product-detail-page .xique-pdp-pass-frame > .pass-face--pdp {
    aspect-ratio: 1.9;
    min-height: 190px;
    border-radius: 16px;
  }
  .product-detail-page .xique-pdp-pass-frame > .pass-face--pdp::after {
    content: none;
  }
  .product-detail-page .border-r:has(> .xique-pdp-pass-frame) > div.space-y-3.text-xs {
    margin-top: 0;
    padding: 18px;
    font-size: 13px;
    line-height: 1.6;
  }
  .product-detail-page .border-r:has(> [data-xique-pdp-media]) + div {
    justify-content: flex-start;
    padding: 32px clamp(24px, 3.4vw, 48px) 30px;

    & > .mb-6 { margin-bottom: 0; }
    & > .mb-8 { margin-bottom: 20px; }
    & > .mb-6 > .mb-8 { margin-bottom: 20px; }
    & > .mb-6 > h1 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 16px; }
    & > .mb-6 > .mb-6 { margin-bottom: 18px; }
    & > .mb-6 > .pb-8 { padding-bottom: 16px; }
    & > .mb-6 > .pb-8 > .mb-3 { margin-bottom: 6px; }
    & > .mb-6 > div:has(> h2 + p) > h2 { margin-bottom: 6px; }
    & > .mb-6 > div:has(> h2 + p) > p { font-size: 14px; line-height: 1.65; }
    & h2.mb-3 { margin-bottom: 8px; }
    & > .mt-auto { margin-top: 0; }
  }
  .product-detail-page .xqs-pdp-eligibility {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    line-height: 1.5;
    font-size: 13px;
  }
  .product-detail-page .xqs-pdp-eligibility a {
    color: var(--xq-accent, #a3462e);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .product-detail-page #xqs-pdp-eligibility-details { scroll-margin-top: 88px; }
  .product-detail-page:has(#xqs-pdp-eligibility-details) div:has(> .xqs-pdp-eligibility) > :is(h2, p) {
    display: none;
  }
  .product-detail-page .xqs-pdp-full-summary {
    display: block;
    margin-top: 12px;
    color: inherit;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-line;
  }
}

@media (min-width: 1280px) {
  .product-detail-page .border-r:has(> [data-xique-pdp-media]) + div:has(> .mb-8:nth-child(2):nth-last-child(2) > h2 + .w-fit):has(> .mt-auto:last-child .grid > button + button) {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-content: start;
    align-items: end;
    column-gap: 14px;

    & > .mb-6 { grid-column: 1 / -1; }
    & > .mb-8 { margin-bottom: 0; }
    & > .mt-auto .grid { gap: 8px; }
    & > .mt-auto .grid > button { padding-inline: 8px; }
  }
}
