/* ============================================================
   GlamEye - v4 Refined Black & Gold (Magazine Editorial Style)
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  color-scheme: light;
  /* 全局禁用浏览器默认蓝色 */
  accent-color: #d4a955;
  caret-color: #d4a955;

  /* 白 / 金 主题 — 浅色奢华(Tom Ford / Chanel beauty 风) */
  --bg:           #ffffff;        /* 主底,纯白 */
  --bg-soft:      #fafaf7;        /* 微暖白,做交替 section */
  --bg-card:      #ffffff;        /* 卡片白,靠边框区分 */
  --bg-elevated:  #f6f4ee;        /* 微金米,做强调块 */

  --gold:         #b8924e;        /* 主金色(略压暗,白底上更优雅) */
  --gold-light:   #d4a955;
  --gold-bright:  #e8c878;
  --gold-dark:    #8a6e3a;
  --gold-muted:   #c0b896;

  /* 注意:cream / text 在浅色主题下表示"主文字色",用深色;107+ 处引用一次性翻转 */
  --cream:        #1a1a1a;        /* 之前是浅色文字色,现在反过来:深色主文字 */
  --white:        #ffffff;        /* 仍是白色,用于反转按钮等 */
  --text:         #2a2a2a;        /* 正文,接近黑 */
  --text-muted:   #6a6a6a;        /* 次要文字 */
  --text-dim:     #999999;        /* 提示/时间戳 */

  --border:       #e8e6e0;        /* 浅灰边框,带微暖 */
  --border-soft:  #f0eee8;
  --border-gold:  rgba(184, 146, 78, 0.35);

  --success:      #4a9a5e;
  --error:        #c94545;
  --warn:         #b8862a;

  --radius-sm:    2px;
  --radius:       4px;
  --radius-lg:    8px;

  --serif:        'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-md:    0 6px 20px -8px rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:    0 24px 48px -16px rgba(184, 146, 78, 0.18), 0 8px 16px -8px rgba(0,0,0,0.10);
  --shadow-gold:  0 0 0 1px rgba(184, 146, 78, 0.3), 0 12px 28px -8px rgba(184, 146, 78, 0.18);
}

::selection { background: var(--gold); color: var(--bg); }
::-moz-selection { background: var(--gold); color: var(--bg); }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* 防止小屏横向溢出（emoji、长 URL、表格等容易撑破） */
html, body { overflow-x: hidden; }
body { -webkit-text-size-adjust: 100%; }

/* 全部链接默认金色，永远不蓝 */
a { color: var(--gold); text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--gold-light); }
a:visited { color: var(--gold); }
a:active { color: var(--gold-bright); }
a:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }

button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 1px solid var(--gold); outline-offset: 1px;
}

input, select, textarea { color-scheme: light; }

.container { width: min(1320px, calc(100% - 2.5rem)); margin: 0 auto; padding: 0 1.25rem; }
.container-sm { width: min(900px, calc(100% - 2.5rem)); margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.small { font-size: 0.85rem; }
.gold { color: var(--gold); }

/* ============== Typography ============== */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; color: var(--cream); }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.4rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0.5px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem; letter-spacing: 4px;
  color: var(--gold); font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
}

/* ============== Top announcement bar ============== */
.top-bar {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: .78rem; font-weight: 500;
  padding: .65rem 1rem;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-soft);
}
.top-bar strong { color: var(--gold); }

/* ============== Header ============== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem;
}
.brand {
  display: flex; align-items: center; gap: .5rem;
  color: var(--cream);
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: 2px;
}
.brand-logo {
  height: 32px; width: auto;
  /* logo 颜色直接来自 PNG 文件(深炭灰 #2a2a2a),不再 CSS filter 染金 */
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  color: var(--cream); font-size: .82rem; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  position: relative; padding: .35rem 0;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a::after {
  content: ''; position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 1px; background: var(--gold);
  transition: all .35s;
}
.site-nav a:hover::after { width: 100%; left: 0; }
.site-nav a.active { color: var(--gold); }
.site-nav a.active::after { width: 100%; left: 0; }

.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.icon-button {
  background: none; border: none; color: var(--cream);
  cursor: pointer; padding: .5rem; font-size: 1.1rem;
  position: relative; transition: color .25s;
}
.icon-button:hover { color: var(--gold); }
.cart-count {
  position: absolute; top: -2px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--gold); color: var(--bg);
  font-size: 10.5px; font-weight: 800;
  border-radius: 9px;
  display: none; align-items: center; justify-content: center;
  font-family: var(--sans);
}
.cart-count.has-items { display: flex; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: .5rem;
}
.nav-toggle span {
  display: block; width: 26px; height: 1.5px;
  background: var(--cream); margin: 5px 0; transition: .3s;
}

/* ============== Buttons ============== */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 2.25rem; border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600; font-size: .82rem; letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: all .3s cubic-bezier(.2,.6,.3,1);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.button::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .6s;
}
.button:hover::before { transform: translateX(100%); }

/* :visited 显式覆盖:避免链接 visited 后文字变同底色不可见 */
/* 浅色主题:金底深字(#1a1a1a)对比度更高,luxury 风更优雅 */
.button-primary, a.button-primary:visited {
  background: var(--gold); color: #ffffff !important;
  border-color: var(--gold);
}
.button-primary:hover, a.button-primary:hover {
  background: var(--gold-dark); border-color: var(--gold-dark);
  color: #ffffff !important;
  box-shadow: 0 12px 28px -8px rgba(184, 146, 78, 0.45);
  transform: translateY(-1px);
}
.button-secondary, a.button-secondary:visited {
  background: transparent; color: var(--cream) !important; border-color: var(--cream);
}
.button-secondary:hover, a.button-secondary:hover { background: var(--cream); color: #fff !important; }
.button-outline, a.button-outline:visited {
  background: transparent; color: var(--gold) !important; border-color: var(--gold);
}
.button-outline:hover, a.button-outline:hover { background: var(--gold); color: #ffffff !important; }
.button-ghost, a.button-ghost:visited {
  background: transparent; color: var(--cream) !important; border-color: var(--border);
}
.button-ghost:hover, a.button-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }

/* button 内部文字始终在 ::before 之上 */
.button > * { position: relative; z-index: 1; }
.button { isolation: isolate; }
.button:disabled, .button[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.button-block { width: 100%; }
.button-sm { padding: .6rem 1.25rem; font-size: .72rem; letter-spacing: 2px; }
.button-lg { padding: 1.25rem 3rem; font-size: .88rem; }

/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: clamp(520px, 72vh, 780px);
  display: flex; align-items: center;
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.hero-bg, .hero-slides {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .55;
}
.hero-bg::after, .hero-slides::after {
  content: ''; position: absolute; inset: 0;
  /* 浅色主题:左白(文字区清晰)→ 中-右透明(图清晰显)→ 远右微白渐隐 */
  background:
    radial-gradient(ellipse at 72% 50%, transparent 0%, var(--bg) 85%),
    linear-gradient(90deg, var(--bg) 0%, rgba(255,255,255,.55) 35%, transparent 65%, var(--bg) 100%);
}
/* 多图轮播 */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-dots {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer; transition: all .25s;
}
.hero-dot.active { background: var(--gold); border-color: var(--gold); width: 24px; border-radius: 4px; }
.hero .container { position: relative; z-index: 1; padding: 5rem 1.25rem; }
.hero-content {
  max-width: 620px;
  /* 浅色主题:hero 文字浮在淡化的图上,加个微卡片背景保证最佳可读 */
  padding: 2rem 0;
}
.hero h1 {
  margin: 1.5rem 0 1.5rem;
  color: var(--cream);
  text-shadow: 0 1px 16px rgba(255,255,255,.85), 0 1px 2px rgba(255,255,255,.6);
}
.hero h1 em { color: var(--gold); font-style: italic; font-weight: 400; }
.hero p {
  color: var(--text); font-size: 1.1rem; line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 480px;
  text-shadow: 0 1px 12px rgba(255,255,255,.75);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero with side image */
.hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 80vh; gap: 0; align-items: stretch;
}
.hero-split .hero-text { padding: 5rem; display: flex; flex-direction: column; justify-content: center; }
.hero-split .hero-img { background-size: cover; background-position: center; }

/* ============== Sections ============== */
.section { padding: 6rem 1.25rem; }
.section-sm { padding: 3.5rem 1.25rem; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-header h2 { margin: .75rem 0; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-header .eyebrow { display: block; margin-bottom: .75rem; }

.divider-gold {
  width: 60px; height: 1px; background: var(--gold);
  margin: 1.5rem auto;
  position: relative;
}
.divider-gold::before, .divider-gold::after {
  content: ''; position: absolute; top: -2px;
  width: 5px; height: 5px; background: var(--gold);
  border-radius: 50%;
}
.divider-gold::before { left: -10px; }
.divider-gold::after { right: -10px; }

/* ============== Product Card ============== */
.product-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .4s cubic-bezier(.2,.6,.3,1);
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-lg);
}
.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
}
.product-image > a { display: block; height: 100%; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }

/* hover 切换第二张图(gallery_urls[0])— 仅当 has-hover 时启用 */
.product-image-main,
.product-image-hover {
  position: absolute; inset: 0; display: block;
  transition: opacity .4s ease;
}
.product-image-main { opacity: 1; z-index: 1; }
.product-image-hover { opacity: 0; z-index: 2; }
.product-image.has-hover:hover .product-image-main { opacity: 0; }
.product-image.has-hover:hover .product-image-hover { opacity: 1; }
/* 触屏设备不要 hover 状态卡住,改成首次 tap 切到 hover 图、再 tap 跳详情页 */
@media (hover: none) {
  .product-image-hover { display: none; }
}

.product-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--bg);
  padding: .3rem .85rem;
  font-size: .65rem; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; border-radius: var(--radius-sm);
  font-family: var(--sans);
}
.product-badge.sale { background: var(--error); color: var(--cream); }
.product-badge.new  { background: var(--gold-light); }

.wishlist-btn {
  position: absolute; top: 1rem; left: 1rem;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-muted); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
  box-shadow: 0 2px 8px -2px rgba(0,0,0,.12);
}
.wishlist-btn:hover, .wishlist-btn.active {
  color: var(--gold); border-color: var(--gold);
  background: #fff;
}

.product-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.product-cat {
  font-size: .68rem; letter-spacing: 2.5px; color: var(--gold);
  text-transform: uppercase; font-weight: 600;
}
.product-info h3 {
  font-family: var(--serif); font-size: 1.3rem;
  color: var(--cream); margin: .25rem 0; line-height: 1.2;
}
.product-info > p { color: var(--text-muted); font-size: .85rem; line-height: 1.5; }

.product-rating { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--gold); margin: .5rem 0; }
.product-rating .reviews { color: var(--text-dim); font-family: var(--sans); }

.product-price-row {
  display: flex; align-items: baseline; gap: .75rem;
  margin-top: auto; padding-top: 1rem;
}
.price {
  font-size: 1.4rem; font-weight: 600;
  color: var(--cream); font-family: var(--serif);
}
.price-old {
  font-size: 1rem; color: var(--text-dim);
  text-decoration: line-through; font-family: var(--serif);
}

.product-card .button { margin-top: 1rem; }

/* ============== Category Cards ============== */
.cat-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.cat-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  display: flex; align-items: flex-end;
  padding: 2.5rem;
  text-decoration: none;
  transition: transform .5s;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.92) 100%);
  z-index: 1;
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .8s ease;
}
.cat-card:hover img { transform: scale(1.08); }
/* cat-card 内容浮在图 + 底部黑色蒙版上,文字必须是白色(独立于 light/dark theme) */
.cat-card-content { position: relative; z-index: 2; color: #fff; width: 100%; }
.cat-card h3 {
  font-family: var(--serif); font-size: 1.85rem;
  margin-bottom: .35rem; color: #fff;
}
.cat-card .cat-link {
  font-size: .75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--gold);
  padding-bottom: 3px; font-family: var(--sans); font-weight: 600;
}

/* ============== Trust ============== */
.trust-section {
  background: var(--bg-soft);
  padding: 3rem 1.25rem;
  border-block: 1px solid var(--border-soft);
}
.trust-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: center;
  max-width: 1200px; margin: 0 auto;
}
.trust-item .trust-icon {
  font-size: 2rem; margin-bottom: .65rem;
  color: var(--gold); display: inline-block;
}
.trust-item h4 { color: var(--cream); margin-bottom: .35rem; font-size: .92rem; letter-spacing: 1.5px; }
.trust-item p { color: var(--text-muted); font-size: .82rem; line-height: 1.5; }

/* ============== Reviews ============== */
.reviews-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.review-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  position: relative;
}
.review-card::before {
  content: '"'; position: absolute; top: -10px; left: 1rem;
  font-family: var(--serif); font-size: 6rem; color: var(--gold-dark);
  line-height: 1; opacity: .4;
}
.review-stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: 4px; }
.review-text {
  color: var(--cream); font-style: italic; font-family: var(--serif);
  font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.25rem;
}
.review-author { color: var(--text-muted); font-size: .82rem; letter-spacing: .5px; }

/* ============== UGC Wall (homepage P2) ============== */
.ugc-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.ugc-tile {
  position: relative; aspect-ratio: 1;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-soft);
  text-decoration: none;
  display: block;
  transition: transform .35s cubic-bezier(.2,.6,.3,1);
}
.ugc-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.ugc-tile:hover { transform: translateY(-3px); }
.ugc-tile:hover img { transform: scale(1.06); }
.ugc-tile-handle {
  position: absolute; top: .65rem; left: .65rem; z-index: 2;
  background: rgba(255,255,255,0.92);
  color: var(--gold); font-family: var(--sans);
  padding: .25rem .55rem; border-radius: var(--radius-sm);
  font-size: .68rem; font-weight: 700;
  letter-spacing: 1px;
  backdrop-filter: blur(6px);
}
.ugc-tile-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.5rem .85rem .65rem;
  color: #fff; font-size: .8rem; line-height: 1.4;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.78) 100%);
  opacity: 0; transition: opacity .25s;
}
.ugc-tile:hover .ugc-tile-overlay { opacity: 1; }

@media (max-width: 640px) {
  .ugc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .ugc-tile-handle { font-size: .58rem; padding: .15rem .4rem; }
  .ugc-tile-overlay { font-size: .7rem; padding: 1rem .65rem .5rem; opacity: 1; }
}

/* ============== PDP Bundle "What's Included" (P2) ============== */
.pdp-bundle-includes {
  margin: 1.75rem 0; padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}
.pdp-bundle-includes h4 {
  font-family: var(--serif); font-size: 1.05rem;
  color: var(--gold); margin-bottom: 1rem; font-weight: 500;
}
.pdp-bundle-list { display: grid; gap: .65rem; }
.pdp-bundle-item {
  display: grid; grid-template-columns: 56px 1fr; gap: .85rem;
  align-items: center;
  padding: .65rem; background: var(--bg-card);
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s;
}
.pdp-bundle-item:hover { border-color: var(--gold); }
.pdp-bundle-img { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.pdp-bundle-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-bundle-name { color: var(--cream); font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.pdp-bundle-price { color: var(--text-muted); font-size: .85rem; margin-top: .15rem; }
.pdp-bundle-savings {
  margin-top: 1rem; padding: .65rem 1rem;
  background: rgba(95, 207, 128, 0.1); color: var(--success);
  border-radius: var(--radius); font-size: .9rem;
  border-left: 3px solid var(--success);
}
.pdp-bundle-savings strong { color: var(--success); font-weight: 700; }

/* ============== PDP Reviews block (P2) ============== */
.rv-summary-grid {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 3rem; align-items: center;
  max-width: 800px; margin: 0 auto 3rem;
}
.rv-avg-block { text-align: center; }
.rv-avg-num {
  font-family: var(--serif); font-size: 4rem; font-weight: 500;
  color: var(--cream); line-height: 1;
}
.rv-avg-stars { color: var(--gold); letter-spacing: 4px; font-size: 1.2rem; margin: .35rem 0; }
.rv-avg-count { color: var(--text-muted); font-size: .82rem; }

.rv-dist { display: flex; flex-direction: column; gap: .5rem; }
.rv-dist-row { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; gap: .75rem; font-size: .85rem; color: var(--text-muted); }
.rv-dist-label { color: var(--gold); font-weight: 600; font-family: var(--sans); }
.rv-dist-bar {
  height: 6px; background: var(--bg-soft); border-radius: 3px; overflow: hidden;
  position: relative; border: 1px solid var(--border-soft);
}
.rv-dist-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transition: width .4s;
}
.rv-dist-count { color: var(--text-muted); font-size: .82rem; text-align: right; font-family: var(--sans); }

.rv-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.rv-item {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 1.5rem 1.75rem;
}
.rv-item-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .35rem; }
.rv-item-stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; }
.rv-item-date  { color: var(--text-dim); font-size: .8rem; margin-left: auto; }
.rv-verified-pill {
  background: rgba(95, 207, 128, 0.15); color: var(--success);
  padding: .15rem .55rem; border-radius: var(--radius-sm);
  font-size: .65rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  font-family: var(--sans);
}
.rv-item-title { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); margin: .35rem 0; line-height: 1.3; }
.rv-item-body { color: var(--text); line-height: 1.7; font-size: .95rem; margin: .5rem 0; }
.rv-photo-row { display: flex; gap: .5rem; margin: .65rem 0; flex-wrap: wrap; }
.rv-photo-row img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.rv-item-author { color: var(--text-muted); font-size: .82rem; margin-top: .5rem; }
.rv-item-author strong { color: var(--cream); }

.rv-write-cta { text-align: center; margin: 2rem auto 0; max-width: 800px; }
.rv-form {
  max-width: 800px; margin: 2rem auto 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 2.25rem;
}
.rv-form h3 { font-family: var(--serif); color: var(--cream); margin-bottom: 1rem; }
.rv-form .form-row { display: block; margin-bottom: 1rem; }
.rv-form .label-text { display: block; margin-bottom: .35rem; color: var(--cream); font-size: .82rem; font-weight: 500; letter-spacing: .5px; }
.rv-form input, .rv-form textarea {
  width: 100%; padding: .8rem 1rem;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--cream); border-radius: var(--radius);
  font-family: var(--sans); font-size: .95rem;
}
.rv-form input:focus, .rv-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 169, 85, 0.15);
}

.rv-stars-input {
  display: inline-flex; gap: .35rem; cursor: pointer;
  font-size: 1.85rem; line-height: 1;
  color: var(--border);
}
.rv-stars-input span { transition: color .15s; }
.rv-stars-input span.active,
.rv-stars-input span.hover { color: var(--gold); }

@media (max-width: 700px) {
  .rv-summary-grid { grid-template-columns: 1fr; gap: 1.5rem; max-width: 100%; }
  .rv-avg-num { font-size: 3rem; }
  .rv-item { padding: 1.1rem 1.25rem; }
  .rv-form { padding: 1.5rem 1.25rem; }
}

/* ============== Hero inline trust line ============== */
.hero-trust-inline {
  display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  font-size: .85rem; color: var(--text-muted);
  font-family: var(--sans);
}
.hero-trust-inline strong { color: var(--gold); font-weight: 700; }

/* slim version of trust ribbon for under-hero placement */
.trust-section-slim { padding: 2rem 1.25rem; }

/* ============== Why GlamEye / Benefits ============== */
.benefit-section {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
}
.benefit-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1200px; margin: 0 auto;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  transition: all .3s cubic-bezier(.2,.6,.3,1);
  position: relative;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-md);
}
.benefit-num {
  font-family: var(--serif);
  font-size: 2.5rem; font-style: italic;
  color: var(--gold);
  line-height: 1; margin-bottom: 1rem;
  font-weight: 500;
}
.benefit-card h3 {
  font-family: var(--serif); font-size: 1.35rem;
  color: var(--cream); margin-bottom: .75rem;
  line-height: 1.25;
}
.benefit-card p {
  color: var(--text-muted); font-size: .92rem;
  line-height: 1.7;
}

/* ============== Before / After ============== */
.ba-section { padding-top: 3rem; }
.ba-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  max-width: 1200px; margin: 0 auto;
}
.ba-pair {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: .5rem;
  overflow: hidden;
}
.ba-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.ba-card img,
.ba-card picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-card picture img { width: 100%; height: 100%; object-fit: cover; }
.ba-label {
  position: absolute; bottom: .65rem; left: .65rem;
  background: rgba(255,255,255,0.92);
  color: var(--text); font-family: var(--sans);
  padding: .3rem .65rem; border-radius: var(--radius-sm);
  font-size: .65rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.ba-label-after {
  background: var(--gold); color: #fff;
  border: 1px solid var(--gold);
}
.ba-disclaimer {
  text-align: center; color: var(--text-muted);
  font-size: .85rem; margin-top: 1.75rem;
  font-style: italic;
}

/* ============== Bundles ============== */
.bundle-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1200px; margin: 0 auto;
}
.bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: all .3s cubic-bezier(.2,.6,.3,1);
  position: relative;
  overflow: hidden;
}
.bundle-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.bundle-savings-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold);
  color: #fff;
  padding: .35rem .75rem;
  font-size: .65rem; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  border-radius: var(--radius-sm); z-index: 2;
  font-family: var(--sans);
}
.bundle-card-imgs {
  display: grid; grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .35rem; aspect-ratio: 4/3;
}
.bundle-card-imgs > * {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.bundle-card-imgs > *:first-child { grid-row: span 2; }
.bundle-card-imgs img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.bundle-card-info { flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.bundle-card-info h3 {
  font-family: var(--serif); font-size: 1.3rem;
  color: var(--cream); line-height: 1.2; margin: 0;
}
.bundle-card-info .bundle-products {
  font-size: .82rem; color: var(--text-muted);
  line-height: 1.5;
}
.bundle-price-row {
  display: flex; align-items: baseline; gap: .65rem;
  margin-top: auto; padding-top: .5rem;
}
.bundle-price-row .price { font-size: 1.5rem; }
.bundle-price-row .price-old { font-size: .95rem; }
.bundle-saved {
  color: var(--success);
  font-size: .8rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  font-family: var(--sans);
}

/* ============== Final CTA banner ============== */
.final-cta {
  background:
    linear-gradient(135deg, rgba(184,146,78,0.06) 0%, var(--bg-elevated) 100%);
  padding: 6rem 1.25rem;
  text-align: center;
  border-block: 1px solid var(--border-gold);
}
.final-cta .eyebrow { display: block; margin-bottom: 1rem; }
.final-cta h2 {
  color: var(--cream); margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
}
.final-cta h2 br { display: block; }
.final-cta p {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 580px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.final-cta-actions {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
}

/* ============== Product card extras (P1) ============== */
.product-stock-urgency {
  display: inline-block;
  margin-top: .25rem;
  font-size: .72rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--error); font-weight: 700;
  font-family: var(--sans);
}
.product-card .product-quick-bullet {
  font-size: .8rem; color: var(--text-muted);
  line-height: 1.5; margin: .15rem 0 .35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============== PDP extras (P1) ============== */
.pdp-bullets {
  display: grid; gap: .85rem;
  margin: 1.75rem 0; padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}
.pdp-bullets h4 {
  font-family: var(--serif); font-size: 1.05rem;
  color: var(--gold); margin-bottom: .5rem;
  font-weight: 500;
}
.pdp-bullet {
  display: grid; grid-template-columns: 24px 1fr; gap: .85rem;
  align-items: start;
  font-size: .92rem; line-height: 1.55;
  color: var(--text);
}
.pdp-bullet-icon {
  color: var(--gold); font-size: 1.1rem; line-height: 1.4;
}
.pdp-bullet strong { color: var(--cream); margin-right: .25rem; }

.pdp-stock-low {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-left: .5rem;
  background: rgba(201, 69, 69, 0.08);
  color: var(--error);
  padding: .15rem .55rem;
  font-size: .68rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  animation: pulse-stock 2.4s ease-in-out infinite;
}
@keyframes pulse-stock {
  0%, 100% { opacity: 1; }
  50%      { opacity: .6; }
}

.pdp-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-top: 1px solid var(--border-gold);
  padding: .85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2,.6,.3,1);
  box-shadow: 0 -8px 24px -8px rgba(0,0,0,.12);
}
.pdp-sticky-cta.visible { transform: translateY(0); }
.pdp-sticky-cta-info {
  display: flex; align-items: baseline; gap: .65rem;
  min-width: 0; flex: 1;
}
.pdp-sticky-cta-name {
  color: var(--cream); font-family: var(--serif); font-weight: 500;
  font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pdp-sticky-cta-price {
  color: var(--gold); font-family: var(--serif); font-weight: 600;
  font-size: 1.15rem; flex-shrink: 0;
}
.pdp-sticky-cta .button { padding: .85rem 1.5rem; font-size: .75rem; flex-shrink: 0; }

@media (max-width: 640px) {
  .benefit-grid { grid-template-columns: 1fr; gap: 1rem; }
  .benefit-card { padding: 1.5rem 1.25rem 1.25rem; }
  .benefit-num { font-size: 2rem; margin-bottom: .5rem; }
  .benefit-card h3 { font-size: 1.1rem; }
  .benefit-card p { font-size: .85rem; line-height: 1.6; }

  .ba-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ba-pair { gap: .35rem; padding: .35rem; }
  .ba-label { font-size: .55rem; padding: .2rem .5rem; letter-spacing: 1.5px; }

  .bundle-grid { grid-template-columns: 1fr; gap: 1rem; }
  .bundle-card { padding: 1rem; }
  .bundle-card-info h3 { font-size: 1.1rem; }
  .bundle-savings-badge { padding: .25rem .55rem; font-size: .55rem; letter-spacing: 1.5px; }

  .final-cta { padding: 3.5rem 1rem; }
  .final-cta h2 { font-size: 1.85rem; }
  .final-cta p { font-size: .9rem; margin-bottom: 1.75rem; }
  .final-cta-actions { flex-direction: column; gap: .65rem; }
  .final-cta-actions .button { width: 100%; }

  .hero-trust-inline { font-size: .72rem; gap: .35rem; margin-top: 1.25rem; }

  .pdp-bullets { padding: 1rem; gap: .65rem; margin: 1.25rem 0; }
  .pdp-bullet { font-size: .85rem; grid-template-columns: 18px 1fr; gap: .55rem; }

  .pdp-sticky-cta { padding: .65rem .85rem; gap: .65rem; }
  .pdp-sticky-cta-name { font-size: .85rem; }
  .pdp-sticky-cta-price { font-size: 1rem; }
  .pdp-sticky-cta .button { padding: .65rem 1rem; font-size: .68rem; letter-spacing: 1.5px; }

  .product-stock-urgency { font-size: .62rem; letter-spacing: 1px; }
  .product-card .product-quick-bullet { display: none; }
}

/* ============== Forms ============== */
.form-card {
  background: var(--bg-card);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  max-width: 480px; margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.form-card h1 {
  font-family: var(--serif); font-size: 2.25rem;
  color: var(--cream); margin-bottom: .5rem; text-align: center;
}
.form-card .subtitle {
  color: var(--text-muted); text-align: center;
  margin-bottom: 2rem; font-size: .92rem;
}

.form-group { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group label { display: block; color: var(--cream); font-size: .82rem; font-weight: 500; letter-spacing: .5px; }
.form-group .label-text { display: block; margin-bottom: .4rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group textarea, .form-group select {
  width: 100%; padding: .8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: .95rem; font-family: var(--sans);
  transition: all .25s;
}
.form-group input:hover, .form-group textarea:hover, .form-group select:hover { border-color: var(--gold-muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 169, 85, 0.15);
}
.form-group input::placeholder { color: var(--text-dim); }
.required { color: var(--error); }
.form-feedback { min-height: 1.5em; font-size: .85rem; margin-top: .5rem; text-align: center; }
.form-feedback.success { color: var(--success); }
.form-feedback.error { color: var(--error); }

.checkbox-row { display: flex; align-items: flex-start; gap: .65rem; padding: .25rem 0; }
.checkbox-row input { width: auto; margin-top: .25rem; }
.checkbox-row label { font-size: .85rem; color: var(--text-muted); font-weight: 400; cursor: pointer; }

.divider {
  display: flex; align-items: center; gap: 1rem; margin: 1.75rem 0;
  color: var(--text-dim); font-size: .75rem; letter-spacing: 2px;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============== Cart Page (separate) ============== */
.cart-page { padding: 3rem 1.25rem; max-width: 1200px; margin: 0 auto; }
.cart-page h1 { margin-bottom: 2rem; }

.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-empty-state {
  text-align: center; padding: 5rem 1rem;
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.cart-empty-state .icon { font-size: 4rem; margin-bottom: 1rem; opacity: .5; }

.cart-row {
  display: grid; grid-template-columns: 100px 1fr auto auto;
  gap: 1.25rem; align-items: center;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: border-color .2s;
}
.cart-row:hover { border-color: var(--gold-muted); }
.cart-row img { width: 100px; height: 75px; object-fit: cover; border-radius: var(--radius); }
.cart-row-name strong { display: block; color: var(--cream); font-family: var(--serif); font-size: 1.1rem; margin-bottom: .25rem; }
.cart-row-qty { display: flex; align-items: center; gap: .25rem; }
.qty-btn {
  width: 32px; height: 32px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--cream); border-radius: var(--radius);
  cursor: pointer; font-size: 1rem; transition: all .2s;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--bg-soft); }
.qty-input {
  width: 48px !important; padding: .35rem !important; text-align: center;
  background: var(--bg) !important; color: var(--cream) !important;
  border: 1px solid var(--border) !important;
}
.cart-row-total { font-weight: 600; color: var(--cream); font-family: var(--serif); font-size: 1.15rem; }
.cart-row-remove {
  background: none; border: none; color: var(--text-dim);
  cursor: pointer; font-size: 1.4rem; padding: 0 .5rem;
  transition: color .2s;
}
.cart-row-remove:hover { color: var(--error); }

.cart-summary {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: sticky; top: 6rem;
}
.cart-summary h3 { color: var(--cream); margin-bottom: 1.5rem; }
.summary-row {
  display: flex; justify-content: space-between;
  padding: .5rem 0; color: var(--text-muted); font-size: .92rem;
}
.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 1rem; margin-top: .75rem;
  font-size: 1.4rem; font-weight: 600;
  color: var(--gold); font-family: var(--serif);
}
.summary-row.total span:last-child { color: var(--cream); }

/* ============== Checkout ============== */
.checkout-page {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem;
  padding: 3rem 1.25rem 5rem;
  max-width: 1280px; margin: 0 auto;
  align-items: start;
}
.checkout-form fieldset { border: none; padding: 1.5rem 0; border-bottom: 1px solid var(--border-soft); }
.checkout-form fieldset:last-of-type { border-bottom: none; }
.checkout-form legend {
  font-family: var(--serif); font-weight: 400; font-size: 1.5rem;
  color: var(--gold); padding: 0; margin-bottom: 1.25rem;
}

.payment-note {
  background: rgba(212, 169, 85, 0.08);
  border-left: 2px solid var(--gold);
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  margin-top: .85rem;
  color: var(--text-muted);
}

.checkout-summary {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: sticky; top: 6rem;
}
.checkout-summary h2 { color: var(--cream); margin-bottom: 1.5rem; font-size: 1.4rem; }
.summary-items { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.5rem; }

/* ============== Product Detail Page ============== */
.product-detail {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 4rem; padding: 4rem 1.25rem;
  max-width: 1280px; margin: 0 auto;
}
.product-detail-image {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 1; position: relative;
}
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { padding: 1rem 0; }
.product-detail-info .product-cat { margin-bottom: .5rem; }
.product-detail-info h1 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream); margin-bottom: 1rem; line-height: 1.1;
}
.product-detail-info .price { font-size: 2rem; margin-bottom: 1rem; display: inline-block; }
.product-detail-info .description { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; font-size: 1rem; }

.qty-selector { display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0; }
.qty-selector label { color: var(--text-muted); font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; }

.product-meta {
  display: grid; gap: .65rem; margin-top: 2rem;
  padding-top: 2rem; border-top: 1px solid var(--border-soft);
}
.product-meta div { color: var(--text-muted); font-size: .85rem; }
.product-meta strong { color: var(--cream); margin-right: .5rem; }

/* ============== Account Pages ============== */
.account-page {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 3rem; padding: 3rem 1.25rem; max-width: 1280px; margin: 0 auto;
}
.account-sidebar {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  height: fit-content; position: sticky; top: 6rem;
}
.account-sidebar h3 {
  font-family: var(--sans); font-weight: 600; font-size: .85rem;
  color: var(--gold); margin-bottom: 1.25rem;
  letter-spacing: 2.5px; text-transform: uppercase;
}
.account-nav { display: flex; flex-direction: column; gap: .25rem; }
.account-nav a {
  color: var(--cream); padding: .65rem .85rem;
  border-radius: var(--radius); font-size: .9rem;
  transition: all .2s; border-left: 2px solid transparent;
}
.account-nav a:hover {
  background: var(--bg); color: var(--gold);
  border-left-color: var(--gold-dark);
}
.account-nav a.active {
  background: var(--bg); color: var(--gold);
  border-left-color: var(--gold);
}

.account-content {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.account-content h1 { font-family: var(--serif); }

/* ============== Newsletter ============== */
.newsletter-section {
  background:
    linear-gradient(180deg, rgba(212, 169, 85, 0.06), transparent),
    var(--bg-soft);
  padding: 5rem 1.25rem;
  text-align: center;
  border-block: 1px solid var(--border-soft);
}
.newsletter-section h2 { color: var(--cream); margin-bottom: .5rem; }
.newsletter-section p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.newsletter-form {
  max-width: 520px; margin: 0 auto;
  display: flex; gap: .75rem;
}
.newsletter-form input {
  flex: 1; padding: .95rem 1.25rem;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--cream); border-radius: var(--radius);
  font-family: var(--sans);
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 169, 85, 0.15); }
.newsletter-form button { white-space: nowrap; }

/* ============== Shop Page ============== */
.shop-page { padding: 3rem 1.25rem; max-width: 1280px; margin: 0 auto; }
.shop-header { text-align: center; margin-bottom: 2.5rem; }
.shop-filters {
  display: flex; gap: .65rem; justify-content: center;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.filter-chip {
  padding: .65rem 1.5rem;
  background: transparent; color: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .8rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
  font-family: var(--sans);
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.active { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* shop 商品网格:桌面 4 列上限 + 商品少时(.sparse)放大卡片避免空旷 */
.shop-page .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.shop-page .product-grid.sparse {
  /* ≤ 4 件商品:固定 minmax(280px),容器再收一点 max-width */
  max-width: 1080px; margin-left: auto; margin-right: auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.shop-page .product-grid.sparse-2 {
  max-width: 720px; margin-left: auto; margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shop-page .product-grid.sparse-1 {
  max-width: 360px; margin-left: auto; margin-right: auto;
  grid-template-columns: 1fr;
}

/* ============== Shop Guide Cards (Lash 101) ============== */
.shop-guide { padding: 0 0 3rem; }
.guide-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1100px; margin: 0 auto;
}
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.5rem 1.5rem;
  text-align: left; cursor: pointer;
  font-family: inherit; color: inherit;
  display: flex; flex-direction: column; gap: .5rem;
  transition: all .3s cubic-bezier(.2,.6,.3,1);
  position: relative; overflow: hidden;
}
.guide-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold-dark); opacity: 0; transition: opacity .25s;
}
.guide-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-md);
}
.guide-card:hover::before { opacity: 1; }
.guide-icon { font-size: 1.85rem; line-height: 1; margin-bottom: .35rem; }
.guide-card h3 {
  font-family: var(--serif); font-size: 1.25rem;
  color: var(--cream); margin: 0;
}
.guide-card p {
  color: var(--text-muted); font-size: .88rem; line-height: 1.55;
  margin: 0; flex: 1;
}
.guide-cta {
  font-size: .72rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-top: .75rem;
  font-family: var(--sans);
}
.guide-card:hover .guide-cta { color: var(--gold-light); }

/* ============== FAQ ============== */
.faq-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: .75rem;
}
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: border-color .25s;
}
.faq-list details[open] { border-color: var(--gold-dark); }
.faq-list summary {
  cursor: pointer; padding: 1.25rem 1.5rem;
  font-family: var(--serif); font-size: 1.1rem;
  color: var(--cream); list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; font-family: var(--sans); font-weight: 300;
  font-size: 1.4rem; color: var(--gold);
  transition: transform .25s;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted); line-height: 1.7; font-size: .92rem;
}
.faq-list details > p strong { color: var(--cream); }

/* ============== Footer ============== */
.site-footer {
  background: var(--bg-soft);
  color: var(--text-muted);
  padding: 5rem 1.25rem 2rem;
  border-top: 1px solid var(--border-soft);
}
.footer-content {
  display: grid; gap: 3.5rem;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  margin: 0 auto 3rem;
  max-width: 1280px;
}
.footer-brand .brand { margin-bottom: 1.25rem; }
.footer-brand p { font-size: .9rem; line-height: 1.75; max-width: 360px; }
.footer-section h4 {
  color: var(--cream); font-family: var(--sans); font-weight: 600;
  font-size: .8rem; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.footer-section ul { list-style: none; }
.footer-section li { padding: .35rem 0; }
.footer-section a { color: var(--text-muted); font-size: .9rem; }
.footer-section a:hover { color: var(--gold); }
.footer-divider { border: none; border-top: 1px solid var(--border-soft); margin: 2rem 0 1.5rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: .8rem;
  max-width: 1280px; margin: 0 auto;
}
.footer-bottom .payment-icons { display: flex; gap: .35rem; flex-wrap: wrap; }
.footer-bottom .payment-icons span {
  background: var(--bg); border: 1px solid var(--border);
  padding: .3rem .6rem; border-radius: var(--radius-sm);
  font-size: .68rem; letter-spacing: 1.5px;
  color: var(--text-muted); font-family: var(--sans); font-weight: 600;
}

/* ============== Social Icons (footer) ============== */
.social-icons {
  display: flex; gap: .65rem; margin-top: 1rem;
}
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--cream);
  text-decoration: none;
  font-size: .95rem; font-weight: 600;
  transition: all .25s;
}
.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 169, 85, 0.1);
  transform: translateY(-2px);
}
.social-icon.disabled {
  opacity: .35; cursor: not-allowed;
  position: relative;
}
.social-icon.disabled::after {
  content: 'Coming Soon';
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  background: var(--bg); border: 1px solid var(--gold);
  padding: .25rem .5rem; border-radius: var(--radius);
  font-size: .65rem; color: var(--gold);
  white-space: nowrap; opacity: 0; pointer-events: none;
  margin-bottom: 4px; transition: opacity .2s;
}
.social-icon.disabled:hover::after { opacity: 1; }

/* ============== Notifications ============== */
.notification-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  z-index: 1000; pointer-events: none;
}
.notification {
  background: var(--gold); color: #fff;
  padding: .95rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.18);
  opacity: 0; transform: translateX(20px);
  transition: opacity .3s, transform .3s;
  max-width: 360px; font-size: .88rem; font-weight: 600;
  font-family: var(--sans); letter-spacing: .5px;
  pointer-events: auto;
}
.notification.show { opacity: 1; transform: translateX(0); }
.notification--error { background: var(--error); color: var(--cream); }

/* ============== Status Badges ============== */
.status-badge {
  display: inline-block; padding: .25rem .65rem;
  font-size: .68rem; letter-spacing: 2px; text-transform: uppercase;
  border-radius: var(--radius-sm); font-weight: 700;
  font-family: var(--sans);
}
.status-pending  { background: rgba(247, 185, 85, 0.15); color: var(--warn); }
.status-paid     { background: rgba(95, 207, 128, 0.15); color: var(--success); }
.status-shipped  { background: rgba(212, 169, 85, 0.15); color: var(--gold); }
.status-delivered{ background: rgba(95, 207, 128, 0.2);  color: var(--success); }
.status-cancelled, .status-refunded { background: rgba(238, 90, 90, 0.15); color: var(--error); }
.status-processing { background: rgba(212, 169, 85, 0.1); color: var(--gold-light); }

/* ============== Empty State ============== */
.empty-state {
  text-align: center; padding: 4rem 1rem;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; opacity: .4; }

/* ============== Responsive ============== */

/* ---- Tablet & narrower desktop (≤960) ---- */
@media (max-width: 960px) {
  .checkout-page, .account-page, .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .account-sidebar { position: static; }
  .footer-content { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-text { padding: 3rem 1.25rem; }
  .hero-split .hero-img { min-height: 400px; }
  .product-grid { gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* ---- Tablet portrait & large phones (≤768) ---- */
@media (max-width: 768px) {
  .container, .container-sm { width: 100%; padding: 0 1.1rem; }
  .section { padding: 4rem 1.1rem; }
  .section-sm { padding: 2.5rem 1.1rem; }
  .section-header { margin-bottom: 2.5rem; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ---- Phones (≤640) — 主断点，全面收紧 ---- */
@media (max-width: 640px) {
  /* Header / nav drawer */
  .nav-toggle { display: block; }
  .site-header .container { padding: .85rem 1rem; }
  .brand { font-size: 1.2rem; letter-spacing: 1.5px; }
  .brand-logo { height: 26px; }
  .nav-actions { gap: .5rem; }
  .icon-button { padding: .35rem; font-size: 1rem; }
  .top-bar { font-size: .65rem; padding: .5rem .75rem; letter-spacing: 1px; }
  .top-bar strong { white-space: nowrap; }

  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); flex-direction: column;
    padding: .5rem 1rem 1rem; gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px -8px rgba(0,0,0,.6);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-soft);
    width: 100%; letter-spacing: 2px;
  }
  .site-nav a:last-child { border-bottom: none; }

  /* Typography */
  body { font-size: 15px; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.55rem, 6.5vw, 2.1rem); }
  h3 { font-size: 1.15rem; }
  .eyebrow { font-size: .68rem; letter-spacing: 3px; }

  /* Section spacing */
  .section { padding: 3rem 1rem; }
  .section-sm { padding: 2rem 1rem; }
  .section-header { margin-bottom: 2rem; }
  .container, .container-sm { padding: 0 1rem; }

  /* Hero — 让背景图在窄屏真的能看到 */
  .hero { min-height: 76vh; }
  .hero-bg, .hero-slides { opacity: .85; }
  .hero-bg::after, .hero-slides::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.55) 60%, var(--bg) 100%);
  }
  .hero .container { padding: 2.5rem 1rem 3rem; }
  .hero-content { max-width: 100%; }
  .hero h1 { margin: 1rem 0 1rem; }
  .hero p { font-size: .95rem; line-height: 1.6; margin-bottom: 1.75rem; max-width: 100%; }
  .hero-actions { gap: .65rem; }
  .hero-actions .button { flex: 1 1 auto; padding: .85rem 1rem; font-size: .72rem; letter-spacing: 1.8px; }
  .hero-dots { bottom: 1rem; }

  /* Product grid — 2 列卡片更紧凑 */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .product-image { aspect-ratio: 3/4; }
  .product-info { padding: .85rem .75rem 1rem; gap: .25rem; }
  .product-info h3 { font-size: 1rem; line-height: 1.25; }
  .product-info > p { display: none; }
  .product-cat { font-size: .58rem; letter-spacing: 2px; }
  .product-rating { font-size: .7rem; margin: .2rem 0; gap: .3rem; }
  .product-rating .reviews { font-size: .7rem; }
  .product-price-row { gap: .4rem; padding-top: .5rem; }
  .price { font-size: 1.05rem; }
  .price-old { font-size: .8rem; }
  .product-card .button {
    margin-top: .65rem; padding: .65rem .5rem;
    font-size: .65rem; letter-spacing: 1.2px;
  }
  .product-badge { padding: .2rem .55rem; font-size: .55rem; letter-spacing: 1.5px; top: .55rem; right: .55rem; }
  .wishlist-btn { width: 30px; height: 30px; font-size: .85rem; top: .55rem; left: .55rem; }

  /* Category cards — 2 列 */
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .cat-card { aspect-ratio: 3/4; padding: 1rem; border-radius: var(--radius); }
  .cat-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
  .cat-card .cat-link { font-size: .6rem; letter-spacing: 2px; }

  /* TikTok 视频 — 强制 2 列（覆盖 inline style 和 videos.html 内联样式） */
  #featured-videos { grid-template-columns: 1fr 1fr !important; gap: .75rem !important; }
  #featured-videos > div > div + div { padding: .75rem !important; font-size: .8rem; }
  .videos-grid { grid-template-columns: 1fr 1fr !important; gap: .75rem !important; margin-top: 1.5rem !important; }
  .video-card .video-info, .video-card > div + div { padding: .75rem !important; font-size: .8rem; }

  /* Trust — 2x2 */
  .trust-section { padding: 2.5rem 1rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 100%; }
  .trust-item .trust-icon { font-size: 1.5rem; margin-bottom: .35rem; }
  .trust-item h4 { font-size: .78rem; letter-spacing: 1px; margin-bottom: .25rem; }
  .trust-item p { font-size: .72rem; line-height: 1.45; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; gap: 1rem; }
  .review-card { padding: 1.5rem 1.25rem; }
  .review-card::before { font-size: 4rem; top: -4px; }
  .review-text { font-size: .98rem; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 2rem 1.25rem; }
  .form-card h1 { font-size: 1.75rem; }

  /* Newsletter */
  .newsletter-section { padding: 3rem 1rem; }
  .newsletter-form { flex-direction: column; gap: .65rem; }
  .newsletter-form button { width: 100%; }

  /* Footer */
  .site-footer { padding: 3rem 1rem 1.5rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { font-size: .85rem; max-width: 100%; }
  .footer-section h4 { font-size: .72rem; letter-spacing: 2.5px; margin-bottom: .85rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .85rem; padding: 0 1rem; font-size: .72rem; }

  /* Cart */
  .cart-page { padding: 1.5rem 1rem; }
  .cart-page > div[id="cart-layout"],
  #cart-layout { grid-template-columns: 1fr !important; gap: 1.25rem !important; margin-top: 1.25rem !important; }
  .cart-row {
    grid-template-columns: 72px 1fr auto;
    grid-template-areas:
      "img name remove"
      "img qty  total";
    gap: .65rem .85rem; padding: .85rem;
  }
  .cart-row img { grid-area: img; width: 72px; height: 72px; }
  .cart-row-name { grid-area: name; min-width: 0; }
  .cart-row-name strong { font-size: .95rem; }
  .cart-row-qty { grid-area: qty; }
  .cart-row-total { grid-area: total; justify-self: end; align-self: center; font-size: 1rem; }
  .cart-row-remove { grid-area: remove; justify-self: end; }
  .qty-btn { width: 28px; height: 28px; }
  .qty-input { width: 36px !important; padding: .25rem !important; font-size: .85rem; }
  .cart-summary { padding: 1.5rem; position: static; }

  /* Checkout */
  .checkout-page { padding: 1.5rem 1rem 3rem; gap: 1.5rem; }
  .checkout-summary { padding: 1.5rem; position: static; }
  .checkout-form legend { font-size: 1.2rem; }

  /* Account pages */
  .account-page { padding: 1.5rem 1rem; gap: 1.25rem; }
  .account-content { padding: 1.5rem 1.25rem; }
  .account-content h1 { font-size: 1.6rem; }
  .account-sidebar { padding: 1.25rem; }

  /* Product detail */
  .product-detail { padding: 1.5rem 1rem; gap: 1.5rem; }
  .product-detail-image { aspect-ratio: 1; max-height: 70vh; }
  .product-detail-info h1 { font-size: 1.75rem; }
  .product-detail-info .price { font-size: 1.6rem; }

  /* PDP (product.html 内联样式覆盖) */
  .pdp { padding: 1.5rem 1rem !important; gap: 1.5rem !important; }
  .pdp-gallery { position: static !important; }
  .pdp-main-img { max-height: 70vh; }
  .pdp-thumbs { grid-template-columns: repeat(5, 1fr) !important; gap: .4rem !important; }
  .pdp-title { font-size: 1.6rem !important; }
  .pdp-price { font-size: 1.7rem !important; }
  .pdp-actions { gap: .5rem; }
  .pdp-actions .button { flex: 1 1 calc(50% - .25rem); padding: .85rem .75rem; font-size: .7rem; letter-spacing: 1.5px; }
  .pdp-actions #wishlist-toggle { flex: 0 0 48px; padding: .75rem; }
  .pdp-specs { padding: 1rem; gap: .5rem; }
  .pdp-specs > div { font-size: .85rem; }
  .pdp-trust { font-size: .8rem; }

  /* Shop filter chips: 窄屏改横滚条,避免换行成两排 */
  .shop-page { padding: 1.5rem 1rem; }
  .shop-header { margin-bottom: 1.75rem; }
  .shop-filters {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: .5rem; margin-bottom: 1.75rem; justify-content: flex-start;
    padding: .25rem .25rem .5rem; margin-left: -1rem; margin-right: -1rem;
    padding-left: 1rem; padding-right: 1rem;
    scrollbar-width: none;
  }
  .shop-filters::-webkit-scrollbar { display: none; }
  .filter-chip { padding: .5rem 1rem; font-size: .68rem; letter-spacing: 1px; flex-shrink: 0; }

  /* Guide cards 在小屏 2 列 */
  .guide-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .guide-card { padding: 1.1rem .9rem 1rem; }
  .guide-icon { font-size: 1.5rem; }
  .guide-card h3 { font-size: 1rem; }
  .guide-card p { font-size: .75rem; line-height: 1.45; }
  .guide-cta { font-size: .62rem; letter-spacing: 1.5px; }

  /* FAQ 紧凑 */
  .faq-list summary { padding: 1rem 1.1rem; font-size: 1rem; }
  .faq-list details > p { padding: 0 1.1rem 1rem; font-size: .85rem; }

  /* 商品稀疏时:保留 2 列(移动端不再扩成大单列) */
  .shop-page .product-grid.sparse,
  .shop-page .product-grid.sparse-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
  .shop-page .product-grid.sparse-1 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* 通知 */
  .notification-container { bottom: 1rem; right: 1rem; left: 1rem; }
  .notification { max-width: 100%; font-size: .82rem; padding: .85rem 1.1rem; }

  /* Buttons 默认尺寸（非 product-card 内的） */
  .button { padding: .9rem 1.5rem; font-size: .75rem; letter-spacing: 2px; }
  .button-lg { padding: 1rem 1.75rem; font-size: .8rem; }
}

/* ---- Small phones (≤480) — 进一步收缩 ---- */
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .section-header h2 { line-height: 1.2; }
  .product-info { padding: .75rem .65rem .85rem; }
  .product-info h3 { font-size: .92rem; }
  .price { font-size: .98rem; }
  .product-card .button { padding: .6rem .4rem; font-size: .6rem; letter-spacing: 1px; }
  .cat-card { padding: .85rem; }
  .cat-card h3 { font-size: 1rem; }
}

/* ---- Tiny phones (≤360) — iPhone SE 1代等 ---- */
@media (max-width: 360px) {
  .container, .container-sm { padding: 0 .85rem; }
  .section { padding: 2.5rem .85rem; }
  .product-grid, .cat-grid { gap: .6rem; }
  .product-info { padding: .65rem .55rem .75rem; }
  .product-info h3 { font-size: .85rem; }
  .price { font-size: .92rem; }
  .product-card .button { padding: .55rem .3rem; font-size: .58rem; }
  .hero h1 { font-size: 1.75rem; }
  .nav-actions { gap: .4rem; }
  .brand { font-size: 1.05rem; letter-spacing: 1px; }
  .brand-logo { height: 22px; }
}

/* ============== Support Widget(在线客服浮窗) ============== */
.support-widget { font-family: var(--sans); }
.support-fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 999;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.25rem;
  background: var(--gold); color: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-weight: 700; font-size: .82rem; letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(212, 169, 85, 0.5);
  transition: transform .2s, box-shadow .2s;
}
.support-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -8px rgba(212, 169, 85, 0.6);
}
.support-fab svg { flex-shrink: 0; }
.support-fab-dot {
  position: absolute; top: 6px; right: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--error);
  box-shadow: 0 0 0 2px var(--bg);
  animation: support-pulse 2s infinite;
}
@keyframes support-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.3); }
}

.support-panel {
  position: fixed; right: 1.5rem; bottom: 5rem; z-index: 1000;
  width: 360px; max-width: calc(100vw - 2rem);
  max-height: min(640px, calc(100vh - 8rem));
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.7), 0 0 0 1px rgba(212,169,85,.2);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity .22s, transform .22s;
  overflow: hidden;
}
.support-panel.open { opacity: 1; transform: translateY(0) scale(1); }
.support-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(212,169,85,.12), transparent);
  border-bottom: 1px solid var(--border-soft);
}
.support-head strong {
  display: block; color: var(--cream);
  font-family: var(--serif); font-size: 1.1rem;
}
.support-head small { color: var(--text-muted); font-size: .75rem; }
.support-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 1.6rem; line-height: 1;
  padding: 0 .25rem;
  transition: color .2s;
}
.support-close:hover { color: var(--gold); }

.support-body {
  display: flex; flex-direction: column;
  flex: 1; min-height: 0;
}
.support-messages {
  padding: 1rem 1.25rem .5rem;
  overflow-y: auto; flex-shrink: 1;
  display: flex; flex-direction: column; gap: .75rem;
  max-height: 240px;
}
.support-msg { display: flex; flex-direction: column; gap: .2rem; }
.support-msg--customer { align-items: flex-end; }
.support-msg--admin    { align-items: flex-start; }
.support-msg-bubble {
  max-width: 85%;
  padding: .65rem .85rem;
  border-radius: 12px;
  font-size: .87rem; line-height: 1.5;
  word-wrap: break-word;
}
.support-msg--customer .support-msg-bubble {
  background: var(--gold); color: var(--bg);
  border-bottom-right-radius: 3px;
}
.support-msg--admin .support-msg-bubble {
  background: var(--bg);
  color: var(--cream);
  border: 1px solid var(--border-soft);
  border-bottom-left-radius: 3px;
}
.support-msg-time { color: var(--text-dim); font-size: .68rem; padding: 0 .25rem; }

.support-form {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1rem 1.25rem 1.25rem;
}
.support-label {
  font-size: .75rem; color: var(--cream);
  letter-spacing: .5px; font-weight: 500;
  margin-top: .2rem;
}
.support-form input,
.support-form textarea {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--cream);
  padding: .65rem .8rem; font-family: var(--sans); font-size: .88rem;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.support-form input:focus,
.support-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,169,85,.15);
}
.support-submit {
  margin-top: .5rem;
  padding: .8rem 1rem;
  background: var(--gold); color: var(--bg);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--sans); font-weight: 700;
  font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: background .2s, transform .15s;
}
.support-submit:hover:not(:disabled) {
  background: var(--gold-light); transform: translateY(-1px);
}
.support-submit:disabled { opacity: .5; cursor: not-allowed; }
.support-feedback {
  font-size: .8rem; min-height: 1em;
  margin: 0; padding: 0;
}
.support-feedback.success { color: var(--success); }
.support-feedback.error   { color: var(--error); }
.support-fineprint {
  font-size: .7rem; color: var(--text-dim); line-height: 1.5;
  margin: .25rem 0 0;
}

/* mobile:浮窗满宽底部居中 */
@media (max-width: 640px) {
  .support-fab {
    right: 1rem; bottom: 1rem;
    padding: .75rem 1rem; font-size: .72rem;
  }
  .support-fab-label { display: none; }
  .support-panel {
    right: .75rem; left: .75rem; bottom: 4.5rem;
    width: auto; max-width: none;
    max-height: calc(100vh - 7rem);
  }
  .support-messages { max-height: 35vh; }
}

/* ============== Print ============== */
@media print {
  .site-header, .site-footer, .nav-actions, .nav-toggle, .top-bar { display: none; }
  body { background: white; color: black; }
}

/* ============== Lightbox (PDP 全屏图/视频查看器) ============== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-stage {
  position: relative;
  max-width: min(95vw, 1400px);
  max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: 90vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  background: #000;
}
.lightbox-stage video { background: #000; }

.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(8px);
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: 1.5rem; }
.lightbox-nav.hidden { display: none; }

.lightbox-counter {
  position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .82rem;
  letter-spacing: 2px;
  font-family: var(--sans); font-weight: 500;
}

/* PDP 主图/视频:加可点击的视觉提示 */
.pdp-main-img { cursor: zoom-in; position: relative; }
.pdp-main-img.is-video { cursor: pointer; }
.pdp-main-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb { position: relative; }
.pdp-thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pdp-thumb-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.18);
  color: #fff; font-size: 1.5rem; pointer-events: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.pdp-thumb-play::before {
  content: ''; position: absolute; inset: auto;
  width: 32px; height: 32px;
  background: rgba(0,0,0,.55);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}
.pdp-thumb-play span { position: relative; z-index: 1; font-size: .9rem; }

@media (max-width: 640px) {
  .lightbox-close { top: .85rem; right: 1rem; width: 36px; height: 36px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-nav.prev { left: .5rem; }
  .lightbox-nav.next { right: .5rem; }
  .lightbox-counter { top: 1rem; font-size: .7rem; }
}

/* ===== Account page enhanced UI (Phase 2) ===== */
.account-page { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; padding: 2.5rem 1.25rem; max-width: 1280px; margin: 0 auto; }
@media (max-width: 880px) { .account-page { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.25rem; } }

/* Sidebar */
.account-sidebar { background: var(--bg-card); border-radius: 12px; padding: 1.5rem; border: 1px solid var(--border-soft); align-self: start; position: sticky; top: 1.5rem; }
.account-avatar-block { display: flex; align-items: center; gap: .75rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border-soft); }
.account-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold) 0%, #d4a96b 100%); color: var(--bg); font-family: var(--serif); font-size: 1.3rem; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.account-avatar-info { display: flex; flex-direction: column; min-width: 0; }
.account-avatar-info strong { color: var(--cream); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-avatar-info small { font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-nav { display: flex; flex-direction: column; gap: .15rem; }
.account-nav a { color: var(--text); padding: .65rem .85rem; border-radius: 6px; text-decoration: none; font-size: .9rem; display: flex; align-items: center; gap: .65rem; transition: background .15s, color .15s; }
.account-nav a:hover { background: var(--bg-soft); color: var(--cream); }
.account-nav a.active { background: rgba(185,146,78,.12); color: var(--gold); border-left: 3px solid var(--gold); padding-left: calc(.85rem - 3px); }
.account-nav-icon { font-size: 1rem; width: 1.2rem; text-align: center; }
.account-nav-logout { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--border-soft); color: var(--text-muted) !important; }

/* Hero — 渐变 banner */
.account-hero { position: relative; background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-soft) 100%); border-radius: 14px; padding: 2.25rem 2rem; margin-bottom: 1.5rem; overflow: hidden; border: 1px solid var(--border-soft); }
.account-hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 60%; height: 200%; background: radial-gradient(ellipse, rgba(185,146,78,.18) 0%, transparent 60%); pointer-events: none; }
.account-hero-text { position: relative; z-index: 1; max-width: 520px; }
.account-hero-eyebrow { display: inline-block; color: var(--gold); font-size: .7rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: .5rem; font-weight: 600; }
.account-hero h1 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--cream); margin: 0 0 .65rem; line-height: 1.15; }
.account-hero h1 span { color: var(--gold); }
.account-hero p { color: var(--text); margin: 0; line-height: 1.6; font-size: .95rem; }
.account-hero-decoration { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 4rem; opacity: .4; z-index: 0; }

/* Stats — 3 卡 */
.account-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.account-stat-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 10px; padding: 1.25rem 1.4rem; transition: border-color .2s, transform .2s; }
.account-stat-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.account-stat-label { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.account-stat-value { font-family: var(--serif); font-size: 1.85rem; color: var(--cream); font-weight: 500; line-height: 1; margin-bottom: .5rem; }
.account-stat-link { display: inline-block; font-size: .82rem; color: var(--gold); text-decoration: none; }
.account-stat-link:hover { text-decoration: underline; }

/* Section title */
.account-section-title { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); margin: 2rem 0 1rem; font-weight: 500; }

/* Quick actions */
.account-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.account-action-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 10px; padding: 1.5rem 1.25rem; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; display: block; }
.account-action-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.account-action-icon { font-size: 2rem; margin-bottom: .75rem; }
.account-action-card h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); margin: 0 0 .35rem; font-weight: 500; }
.account-action-card p { color: var(--text-muted); font-size: .85rem; margin: 0; line-height: 1.5; }

/* Banner ad */
.account-banner { display: grid; grid-template-columns: 200px 1fr; gap: 0; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; margin-top: 1rem; }
.account-banner:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 24px rgba(185,146,78,.15); }
.account-banner-image { aspect-ratio: 1; background: var(--bg-soft) center/cover no-repeat; }
.account-banner-body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; justify-content: center; gap: .35rem; }
.account-banner-title { font-family: var(--serif); font-size: 1.35rem; color: var(--cream); font-weight: 500; line-height: 1.2; }
.account-banner-subtitle { color: var(--text); line-height: 1.6; font-size: .95rem; margin-bottom: .5rem; }
.account-banner-cta { display: inline-block; align-self: flex-start; color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .5px; padding-top: .35rem; }
@media (max-width: 640px) {
  .account-banner { grid-template-columns: 1fr; }
  .account-banner-image { aspect-ratio: 16/9; }
}
