/* ==========================================================================
   Legina × Odaline v2.0 — Soft-Radius Cross-Layer Editorial Design System
   Managed in isfrom-child/assets/css/legina-odaline.css
   ========================================================================== */

:root {
  --lg-bg: #FAF9F7;
  --lg-stage: #EFEAE2;
  --lg-stage-deep: #E5DFD6;
  --lg-surface: #FFFFFF;
  --lg-ink: #1A1918;
  --lg-muted: #7C756D;
  --lg-line: rgba(26, 25, 24, 0.08);
  --lg-line-strong: rgba(26, 25, 24, 0.16);
  --lg-r-sm: 6px;
  --lg-r-md: 10px;
  --lg-r-lg: 16px;
  --lg-r-pill: 999px;
  --lg-shadow-soft: 0 18px 42px -22px rgba(26, 25, 24, 0.16);
  --lg-shadow-float: 0 26px 60px -24px rgba(26, 25, 24, 0.22);
  --lg-serif: "Cormorant Garamond", "Noto Serif TC", Georgia, serif;
  --lg-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang TC", "Noto Sans TC", sans-serif;
}

body.home,
body.woocommerce-shop,
body.tax-product_cat,
body.single-product,
body.woocommerce-account,
body.woocommerce-checkout {
  background-color: var(--lg-bg);
  color: var(--lg-ink);
}

/* Floating Rounded-Corner Pill Header (Dark Frosted Glass + White Logo, Zero Shadow) */
#header,
.header-wrapper,
.header-wrapper.stuck,
#header .header-bg-container,
#header .header-bg-color,
#header .header-bg-image {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.header-wrapper.stuck {
  padding-top: 10px;
}

#top-bar.header-top {
  background: rgba(250, 249, 247, 0.92) !important;
  border-bottom: 1px solid var(--lg-line);
  min-height: 28px;
}

.header-main,
.stuck .header-main {
  max-width: 1260px;
  width: calc(100% - 30px);
  margin: 12px auto 0 !important;
  height: 64px !important;
  padding: 0 18px;
  border-radius: var(--lg-r-pill) !important;
  background-color: rgba(26, 25, 24, 0.78) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  overflow: visible !important;
  transition: background-color 0.25s ease, height 0.25s ease;
}

.stuck .header-main {
  margin-top: 0 !important;
  height: 58px !important;
  background-color: rgba(26, 25, 24, 0.88) !important;
  box-shadow: none !important;
}

.header-main .header-inner {
  height: 100% !important;
  max-width: 100% !important;
  padding: 0 8px !important;
}

.header-main #logo img {
  max-height: 40px !important;
  width: auto !important;
  filter: none !important;
}

.header-main .header-nav > li > a,
.header-main .header-nav > li > .nav-top-link,
.header-main .header-nav .cart-price,
.header-main .header-nav .cart-title,
.header-main .header-nav .icon-menu,
.header-main .header-nav .account-item > a {
  font-family: var(--lg-sans);
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.86) !important;
  font-weight: 400 !important;
}

.header-main .header-nav > li.active > a,
.header-main .header-nav > li.current-menu-item > a,
.header-main .header-nav > li > a:hover,
.header-main .header-nav .account-item > a:hover {
  color: #FFFFFF !important;
}

.header-main .header-divider {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.header-main .nav-dropdown {
  background-color: rgba(250, 249, 247, 0.98) !important;
  border: 1px solid var(--lg-line-strong) !important;
  border-radius: 14px !important;
  box-shadow: 0 22px 48px -18px rgba(26, 25, 24, 0.3) !important;
  color: var(--lg-ink) !important;
}

.header-main .nav-dropdown a {
  color: var(--lg-ink) !important;
}

.header-main .nav-dropdown a:hover {
  color: var(--lg-muted) !important;
}

@media (max-width: 849px) {
  .header-main,
  .stuck .header-main {
    width: calc(100% - 24px);
    height: 56px !important;
    padding: 0 10px;
    border-radius: 16px !important;
  }

  .header-main #logo img {
    max-height: 34px !important;
  }
}

/* Global Soft Radius for WooCommerce Buttons & Inputs */
body.woocommerce-page .button,
body.woocommerce-page button.single_add_to_cart_button,
body.woocommerce-page input[type="text"],
body.woocommerce-page input[type="email"],
body.woocommerce-page input[type="tel"],
body.woocommerce-page select,
body.woocommerce-page textarea {
  border-radius: var(--lg-r-md) !important;
}

/* ==========================================================================
   HOMEPAGE v2 — Cross-Layer Seamless Editorial Flow (No Boxy Striping)
   ========================================================================== */

body.home #content {
  background: linear-gradient(
    180deg,
    #FAF9F7 0%,
    #F4EFE8 26%,
    #EFEAE2 46%,
    #F7F4EF 68%,
    #FAF9F7 100%
  );
}

/* Layer 1: Hero Banner with room at bottom for Cross-Layer Floating Slider */
/* A組 2026-12-01 第二輪：縮短 Hero，讓第一屏露出「當期主打與最新發行」標題＋第一排卡片頂部。
   桌機版限定：手機版（<=849px）在下方 @media 另有 min-height/padding 覆寫，不受影響。 */
.lg-home-hero.lg-hero-v2 {
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding-top: 64px !important;
  padding-bottom: 96px !important;
  position: relative;
}

.lg-home-hero.lg-hero-v2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(250, 249, 247, 0) 0%, rgba(246, 242, 236, 0.92) 78%, #F4EFE8 100%);
  pointer-events: none;
  z-index: 2;
}

.lg-hero-inner {
  position: relative;
  z-index: 3;
}

.lg-hero-kicker {
  font-family: var(--lg-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.86);
  margin-bottom: 16px;
}

.lg-hero-h1 {
  font-family: var(--lg-serif);
  font-weight: 400;
  line-height: 1.2;
  color: #FAF9F7 !important;
  margin: 0 auto 18px;
}

.lg-hero-wordmark {
  position: relative;
  display: inline-block;
  padding-bottom: clamp(12px, 1.8vw, 22px);
  margin-bottom: 10px;
}

.lg-wm-en {
  display: block;
  font-family: "Righteous", var(--lg-sans);
  font-size: clamp(64px, 10.5vw, 118px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.9;
  color: #FFFFFF;
  text-shadow: 0 10px 30px rgba(26, 25, 24, 0.28);
}

.lg-wm-jp {
  position: absolute;
  right: 0.06em;
  bottom: 0;
  font-family: var(--lg-sans);
  font-size: clamp(12px, 1.75vw, 20px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #FFFFFF;
  white-space: nowrap;
  text-shadow: 0 4px 14px rgba(26, 25, 24, 0.35);
}

.lg-hero-tagline {
  display: block;
  font-family: var(--lg-serif);
  font-size: clamp(15px, 1.9vw, 21px);
  letter-spacing: 0.22em;
  color: rgba(250, 249, 247, 0.94);
  margin-top: 8px;
}

.lg-hero-sub {
  font-family: var(--lg-sans);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(250, 249, 247, 0.9);
  max-width: 620px;
  margin: 0 auto 28px;
}

.lg-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lg-btn-solid,
.lg-btn-ghost,
.lg-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lg-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 12px 26px;
  border-radius: var(--lg-r-md);
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.lg-btn-solid {
  background: #FAF9F7;
  color: #1A1918 !important;
  border: 1px solid #FAF9F7;
}

.lg-btn-solid:hover {
  background: transparent;
  color: #FAF9F7 !important;
  transform: translateY(-1px);
}

.lg-btn-ghost {
  background: rgba(26, 25, 24, 0.28);
  color: #FAF9F7 !important;
  border: 1px solid rgba(250, 249, 247, 0.72);
  backdrop-filter: blur(6px);
}

.lg-btn-ghost:hover {
  background: #FAF9F7;
  color: #1A1918 !important;
  transform: translateY(-1px);
}

.lg-btn-outline {
  background: rgba(255, 255, 255, 0.65);
  color: var(--lg-ink) !important;
  border: 1px solid var(--lg-line-strong);
  padding: 10px 20px;
  font-size: 11px;
}

.lg-btn-outline:hover {
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
  border-color: var(--lg-ink);
}

/* Cross-Layer Floating New Arrivals Slider (Overlaps Hero Bottom) */
/* A組 2026-12-01 第二輪：配合 Hero 縮短，-124px 改 -72px（Hero 下內距 96px，浮動卡片頂部仍低於 Hero 內容底部 24px，不蓋按鈕）。 */
.lg-overlap-band {
  position: relative;
  z-index: 12;
  margin-top: -72px;
  margin-bottom: 18px;
}

.lg-hero-float-wrap {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--lg-r-lg);
  box-shadow: var(--lg-shadow-float);
  padding: 24px 26px 26px;
}

.lg-hero-float-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.lg-hf-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--lg-muted);
  margin-bottom: 4px;
}

.lg-hf-title {
  font-family: var(--lg-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--lg-ink);
  margin: 0 !important;
}

.lg-hero-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 25, 24, 0.18) transparent;
}

.lg-hf-card {
  flex: 0 0 228px;
  scroll-snap-align: start;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.lg-hf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lg-shadow-soft);
}

.lg-hf-img {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #F2ECE4;
  position: relative;
}

.lg-hf-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-hf-card:hover .lg-hf-img img {
  transform: scale(1.04);
}

.lg-h-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border-radius: var(--lg-r-sm);
  background: rgba(250, 249, 247, 0.92);
  color: var(--lg-ink);
  backdrop-filter: blur(4px);
}

.lg-h-badge.is-preorder {
  background: var(--lg-ink);
  color: var(--lg-bg);
}

.lg-hf-body {
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lg-hf-card-title {
  font-family: var(--lg-sans);
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.45;
  margin: 0 0 4px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lg-hf-card-title a {
  color: var(--lg-ink) !important;
  text-decoration: none !important;
}

.lg-hf-price {
  font-size: 11px;
  color: var(--lg-muted);
  margin-bottom: 10px;
}

.lg-hf-price ins {
  text-decoration: none;
  color: var(--lg-ink);
}

.lg-hf-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.lg-fmt-pill {
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--lg-r-pill);
  background: #F4EFE8;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.lg-fmt-pill:hover {
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
}

/* Clean Section Headers (No Rigid Horizontal Line Cut) */
.lg-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.lg-sec-kicker {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lg-muted);
  margin-bottom: 6px;
}

.lg-sec-title {
  font-family: var(--lg-serif);
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--lg-ink);
  margin: 0 !important;
  line-height: 1.3;
}

.lg-sec-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(26, 25, 24, 0.45);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.lg-sec-link:hover {
  opacity: 0.6;
}

/* ==========================================================================
   Layer 2: Center-Focus Cutout MD Runway (Homepage Second Banner)
   ========================================================================== */

.lg-center-runway {
  font-family: var(--lg-sans);
  position: relative;
}

.lg-cr-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.lg-cr-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lg-stage-center {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  height: clamp(580px, 78vh, 800px);
  border-radius: 0;
  background: radial-gradient(ellipse 68% 72% at 50% 48%, rgba(255, 255, 255, 0.52) 0%, rgba(239, 234, 226, 0.25) 55%, rgba(239, 234, 226, 0) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: grab;
}

.lg-stage-center.is-dragging {
  cursor: grabbing;
}

.lg-stage-center .lg-md-card {
  left: 50%;
  top: 52%;
  width: clamp(360px, 38vw, 540px);
  height: 95%;
  aspect-ratio: auto;
}

/* Cutout Model Rendering — ZERO Box Frame, Natural Drop Shadow */
.lg-cutout-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.lg-cutout-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 20px 26px rgba(26, 25, 24, 0.22));
  transition: filter 0.35s ease;
}

.lg-md-card.is-active .lg-cutout-wrap img {
  filter: drop-shadow(0 28px 36px rgba(26, 25, 24, 0.3));
}

.lg-cr-footer {
  display: grid;
  grid-template-columns: 270px minmax(200px, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: -18px;
  position: relative;
  z-index: 35;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--lg-r-lg);
  padding: 16px 26px;
  box-shadow: var(--lg-shadow-soft);
}

/* Feathered Horizontal Scrubber Track & Capsule Handle */
.lg-scrubber {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}

.lg-scrubber-line {
  width: 100%;
  height: 2px;
  background: rgba(26, 25, 24, 0.28);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  pointer-events: none;
}

.lg-scrubber-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 16px;
  border-radius: var(--lg-r-pill);
  background: var(--lg-ink);
  box-shadow: 0 4px 14px rgba(26, 25, 24, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s ease, width 0.2s ease;
  pointer-events: none;
}

.lg-scrubber-thumb span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: rgba(250, 249, 247, 0.72);
}

.lg-scrubber:hover .lg-scrubber-thumb,
.lg-scrubber.is-scrubbing .lg-scrubber-thumb {
  width: 64px;
  transform: translate(-50%, -50%) scale(1.06);
}

.lg-scrubber.is-scrubbing .lg-scrubber-thumb {
  transition: transform 0.15s ease, width 0.15s ease;
}

.lg-cr-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.lg-cr-info .lg-md-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: clamp(18px, 1.8vw, 24px);
}

.lg-cr-info .lg-md-subtitle {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lg-cr-info .lg-md-counter {
  font-size: 10.5px;
  white-space: nowrap;
}

.lg-cr-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Layer 3: Staggered Formats & Overlapping Editorial Manifesto
   ========================================================================== */

.lg-home-formats.lg-staggered {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.lg-fmt-card {
  display: flex;
  flex-direction: column;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  text-decoration: none !important;
  color: inherit !important;
  overflow: hidden;
  box-shadow: var(--lg-shadow-soft);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.lg-fmt-card.is-offset {
  margin-top: 28px;
}

.lg-fmt-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--lg-shadow-float);
}

.lg-fmt-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #EFEAE2;
}

.lg-fmt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-fmt-card:hover .lg-fmt-img img {
  transform: scale(1.05);
}

.lg-fmt-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lg-fmt-kicker {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--lg-muted);
  margin-bottom: 6px;
}

.lg-fmt-title {
  font-family: var(--lg-serif);
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em;
  color: var(--lg-ink);
  margin: 0 0 8px !important;
}

.lg-fmt-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--lg-muted);
  margin: 0 0 14px;
  flex: 1;
}

.lg-fmt-cta {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lg-ink);
}

/* Cross-Layer Overlapping Brand Manifesto */
.lg-manifesto-media {
  position: relative;
  z-index: 3;
}

.lg-manifesto-img img {
  width: 100%;
  display: block;
  border-radius: var(--lg-r-lg);
  box-shadow: var(--lg-shadow-float);
}

.lg-manifesto-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  padding: 40px 42px 40px 64px !important;
  margin-left: -40px;
  box-shadow: var(--lg-shadow-soft);
}

.lg-manifesto-p {
  font-size: 13.5px;
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: #3B3834;
  margin: 14px 0;
}

.lg-manifesto-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 22px 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--lg-line);
  border-bottom: 1px solid var(--lg-line);
}

.lg-manifesto-pillars strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--lg-ink);
}

.lg-manifesto-pillars span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--lg-muted);
  text-transform: uppercase;
}

.lg-curated-tags-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--lg-muted);
  margin-bottom: 10px;
}

.lg-curated-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lg-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--lg-ink) !important;
  background: var(--lg-bg);
  border: 1px solid var(--lg-line-strong);
  border-radius: var(--lg-r-pill);
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lg-tag-pill span {
  font-size: 10px;
  color: var(--lg-muted);
}

.lg-tag-pill:hover {
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
  border-color: var(--lg-ink);
}

.lg-tag-pill:hover span {
  color: rgba(250, 249, 247, 0.72);
}

/* Layer 4: Journal & Support Floating Card */
.lg-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.lg-j-card {
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lg-shadow-soft);
}

.lg-j-date {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--lg-muted);
  margin-bottom: 10px;
}

.lg-j-title {
  font-family: var(--lg-serif);
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  margin: 0 0 10px !important;
}

.lg-j-title a {
  color: var(--lg-ink) !important;
  text-decoration: none !important;
}

.lg-j-excerpt {
  font-size: 12px;
  line-height: 1.75;
  color: var(--lg-muted);
  margin: 0 0 16px;
  flex: 1;
}

.lg-j-more {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
}

.lg-home-support-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  background: var(--lg-stage);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  flex-wrap: wrap;
}

.lg-home-support-bar strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--lg-ink);
  margin-bottom: 4px;
}

.lg-home-support-bar span {
  font-size: 12px;
  color: var(--lg-muted);
}

.lg-support-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SHOP PAGE (/shop/) — Cutout MD Runway + Horizontal Linked Product Slider
   ========================================================================== */

.lg-shop-showcase {
  width: 100%;
  position: relative;
  margin: 0 0 32px 0;
  padding-top: 118px;
  background: var(--lg-bg);
  border-bottom: 1px solid var(--lg-line);
  font-family: var(--lg-sans);
  color: var(--lg-ink);
  overflow: hidden;
}

.lg-runway-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 36px;
  background: var(--lg-bg);
  border-bottom: 1px solid var(--lg-line);
}

.lg-runway-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lg-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lg-runway-eyebrow strong {
  color: var(--lg-ink);
  font-weight: 500;
}

.lg-runway-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lg-md-search {
  appearance: none;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--lg-line-strong);
  border-radius: var(--lg-r-pill);
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--lg-ink);
  width: 185px;
  outline: none;
  margin: 0 !important;
  height: auto !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease;
}

.lg-md-search:focus {
  border-color: var(--lg-ink);
}

.lg-nav-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lg-icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--lg-line-strong);
  border-radius: var(--lg-r-md);
  background: var(--lg-surface);
  color: var(--lg-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lg-icon-btn:hover {
  background: var(--lg-ink);
  border-color: var(--lg-ink);
  color: var(--lg-bg);
}

.lg-shop-showcase .lg-runway-stage {
  position: relative;
  height: clamp(460px, 62vh, 620px);
  background: radial-gradient(ellipse at 30% 45%, #F7F3ED 0%, var(--lg-stage) 58%, var(--lg-stage-deep) 100%);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: grab;
}

.lg-shop-showcase .lg-runway-stage.is-dragging {
  cursor: grabbing;
}

.lg-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(26, 25, 24, 0.55);
  background: rgba(250, 249, 247, 0.25);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lg-ink);
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1), height 0.22s ease, opacity 0.2s ease, background 0.2s ease;
}

.lg-cursor.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lg-cursor.is-dragging {
  width: 82px;
  height: 30px;
  background: rgba(26, 25, 24, 0.85);
  border-color: var(--lg-ink);
  color: var(--lg-bg);
}

.lg-stage-editorial {
  position: absolute;
  top: 32px;
  right: 40px;
  text-align: right;
  z-index: 30;
  pointer-events: none;
  max-width: 300px;
}

.lg-stage-editorial .lg-ed-kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lg-muted);
  margin-bottom: 6px;
}

.lg-stage-editorial .lg-ed-season {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lg-ink);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.lg-stage-editorial .lg-ed-blurb {
  font-size: 11px;
  line-height: 1.75;
  color: var(--lg-muted);
  margin: 0;
}

.lg-runway-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lg-md-card {
  position: absolute;
  top: 52%;
  left: 22%;
  width: clamp(230px, 23vw, 330px);
  height: 86%;
  transform-origin: center center;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, filter 0.55s ease;
  will-change: transform, opacity, filter;
  pointer-events: auto;
  cursor: pointer;
}

.lg-runway-stage.is-dragging .lg-md-card {
  transition: transform 0.14s linear, opacity 0.18s linear, filter 0.18s linear;
}

.lg-runway-stage.is-scrubbing .lg-md-card {
  transition: none !important;
}

.lg-md-frame {
  width: 100%;
  height: 100%;
  background: var(--lg-surface);
  padding: 8px;
  border-radius: var(--lg-r-lg);
  box-shadow: var(--lg-shadow-float);
  position: relative;
  overflow: hidden;
}

.lg-md-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--lg-r-md);
  display: block;
  pointer-events: none;
}

.lg-md-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(250, 249, 247, 0.9);
  border-radius: var(--lg-r-pill);
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--lg-ink);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lg-md-card.is-active .lg-md-tag {
  opacity: 1;
}

.lg-stage-meta {
  position: absolute;
  bottom: 32px;
  right: 40px;
  text-align: right;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.lg-md-subtitle {
  font-family: var(--lg-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--lg-muted);
  line-height: 1.2;
}

.lg-md-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lg-ink);
  margin: 0 !important;
  line-height: 1.15;
}

.lg-md-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.lg-md-counter {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lg-muted);
}

.lg-md-cta {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--lg-ink);
  padding-bottom: 3px;
}

.lg-progress-ticks {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lg-tick {
  height: 3px;
  width: 14px;
  border-radius: var(--lg-r-pill);
  background: rgba(26, 25, 24, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.lg-tick.is-active {
  width: 28px;
  background: var(--lg-ink);
}

/* Horizontal Linked Product Slider */
.lg-rail-section {
  background: var(--lg-bg);
  padding: 20px 36px 28px;
}

.lg-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.lg-rail-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lg-muted);
}

.lg-rail-label strong {
  color: var(--lg-ink);
  font-weight: 500;
  margin-left: 8px;
}

.lg-rail-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.lg-rail-track::-webkit-scrollbar {
  display: none;
}

.lg-prod-card {
  flex: 0 0 232px;
  scroll-snap-align: start;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lg-prod-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lg-shadow-soft);
}

.lg-prod-img-wrap {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #F4EFE8;
  position: relative;
}

.lg-prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-prod-card:hover .lg-prod-img-wrap img {
  transform: scale(1.04);
}

.lg-prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 0.14em;
  border-radius: var(--lg-r-sm);
  background: rgba(250, 249, 247, 0.92);
  color: var(--lg-ink);
  padding: 3px 8px;
}

.lg-prod-badge.is-video {
  background: rgba(26, 25, 24, 0.86);
  color: #FAF9F7;
}

.lg-play-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(26, 25, 24, 0.72);
  color: #FAF9F7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  backdrop-filter: blur(4px);
}

.lg-prod-body {
  padding: 12px 14px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
}

.lg-prod-info {
  min-width: 0;
  flex: 1;
}

.lg-prod-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  margin-bottom: 5px;
}

.lg-prod-price {
  font-size: 11px;
  color: var(--lg-muted);
}

.lg-prod-price ins {
  text-decoration: none;
  color: var(--lg-ink);
}

.lg-quick-add {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--lg-line-strong);
  border-radius: var(--lg-r-sm);
  background: transparent;
  color: var(--lg-ink);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lg-quick-add:hover,
.lg-quick-add.is-added {
  background: var(--lg-ink);
  border-color: var(--lg-ink);
  color: var(--lg-bg) !important;
}

/* Standard WooCommerce Shop Grid Soft Radius Polish */
body.woocommerce-shop .products .product-small .col-inner,
body.tax-product_cat .products .product-small .col-inner {
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-md);
  overflow: hidden;
  padding: 10px;
  box-shadow: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.woocommerce-shop .products .product-small .col-inner:hover,
body.tax-product_cat .products .product-small .col-inner:hover {
  transform: translateY(-3px);
  box-shadow: var(--lg-shadow-soft) !important;
}

body.woocommerce-shop .product-small .box-image,
body.tax-product_cat .product-small .box-image {
  border-radius: var(--lg-r-sm);
  overflow: hidden;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE — Trust Strip & Same-MD Cross-Sell
   ========================================================================== */

.lg-prod-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 18px;
  padding: 14px 16px;
  background: #F4EFE8;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-md);
}

.lg-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lg-trust-dot {
  color: var(--lg-ink);
  font-size: 11px;
  margin-top: 2px;
}

.lg-trust-item strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--lg-ink);
}

.lg-trust-item span {
  display: block;
  font-size: 10.5px;
  color: var(--lg-muted);
  line-height: 1.45;
}

.lg-same-md-box {
  margin-top: 18px;
  padding: 16px;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
}

.lg-same-md-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--lg-muted);
  margin-bottom: 12px;
}

.lg-same-md-head strong {
  color: var(--lg-ink);
}

.lg-same-md-head a {
  font-size: 11px;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
}

.lg-same-md-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lg-sm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-md);
  background: var(--lg-bg);
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lg-sm-item:hover {
  border-color: var(--lg-ink);
  background: var(--lg-surface);
}

.lg-sm-item img {
  width: 52px;
  height: 66px;
  object-fit: cover;
  border-radius: var(--lg-r-sm);
  flex-shrink: 0;
}

.lg-sm-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lg-sm-badge {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--lg-muted);
}

.lg-sm-title {
  font-size: 11px;
  color: var(--lg-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.lg-sm-price {
  font-size: 10.5px;
  color: var(--lg-muted);
}

/* ==========================================================================
   MEMBER DOWNLOAD GUIDE (Block ID 1470)
   ========================================================================== */

.lg-dl-guide {
  margin: 0 0 28px;
  font-family: var(--lg-sans);
}

.lg-dl-alert {
  background: #FDF3EF;
  border: 1px solid #F0C9BA;
  border-radius: var(--lg-r-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.lg-dl-alert strong {
  display: block;
  color: #B43C2E;
  font-size: 14px;
  margin-bottom: 4px;
}

.lg-dl-alert span {
  font-size: 12.5px;
  color: #6B423B;
}

.lg-dl-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.lg-dl-step {
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  padding: 18px 18px 20px;
}

.lg-dl-num {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 3px 9px;
  border-radius: var(--lg-r-pill);
  background: #EFEAE2;
  color: var(--lg-ink);
  margin-bottom: 10px;
}

.lg-dl-step h4 {
  font-family: var(--lg-serif);
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--lg-ink);
}

.lg-dl-step p,
.lg-dl-step li {
  font-size: 12px;
  line-height: 1.7;
  color: var(--lg-muted);
}

.lg-dl-step ul {
  margin: 0;
  padding-left: 16px;
}

.lg-dl-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.lg-dl-links a {
  font-size: 12px;
  color: var(--lg-ink) !important;
  text-decoration: underline !important;
}

.lg-dl-faq {
  background: #F4EFE8;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-md);
  padding: 14px 18px;
}

.lg-dl-faq summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--lg-ink);
}

.lg-dl-faq p {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: #4A4540;
}

/* ==========================================================================
   DARK CHARCOAL FOOTER (ID 2579 — White Logo) & FROSTED MOBILE DOCK (ID 2662)
   ========================================================================== */

.lg-footer-sec {
  background-color: #1A1918 !important;
  border-top: 1px solid rgba(250, 249, 247, 0.08);
  font-family: var(--lg-sans);
  color: rgba(250, 249, 247, 0.86);
}

.lg-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}

.lg-footer-nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(250, 249, 247, 0.88) !important;
  text-decoration: none !important;
}

.lg-footer-nav a:hover {
  color: #FFFFFF !important;
  opacity: 0.78;
}

.lg-footer-copy p {
  font-size: 11.5px;
  color: rgba(250, 249, 247, 0.58);
  margin: 0 0 4px;
  line-height: 1.65;
}

.lg-footer-copy a {
  color: rgba(250, 249, 247, 0.88) !important;
}

.lg-mobile-dock {
  position: fixed !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  z-index: 999 !important;
  background: transparent !important;
}

.lg-dock-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(26, 25, 24, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px -12px rgba(26, 25, 24, 0.24);
  padding: 8px 6px;
}

.lg-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none !important;
  color: var(--lg-ink) !important;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 0;
}

.lg-dock-icon {
  font-size: 14px;
  line-height: 1.1;
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */

@media (max-width: 849px) {
  .lg-home-hero.lg-hero-v2 {
    min-height: 68vh;
    padding-top: 100px !important;
    padding-bottom: 120px !important;
  }

  .lg-overlap-band {
    margin-top: -86px;
  }

  .lg-hero-float-wrap {
    padding: 18px 16px 20px;
  }

  .lg-hf-card {
    flex: 0 0 182px;
  }

  .lg-stage-center {
    height: 400px;
  }

  .lg-stage-center .lg-md-card {
    width: 210px;
    height: 86%;
  }

  .lg-cr-footer {
    margin-top: -14px;
    padding: 14px 16px;
  }

  .lg-home-formats.lg-staggered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lg-fmt-card.is-offset {
    margin-top: 0;
  }

  .lg-manifesto-card {
    margin-left: 0;
    margin-top: -24px;
    padding: 26px 20px !important;
  }

  .lg-journal-grid,
  .lg-dl-steps,
  .lg-prod-trust,
  .lg-same-md-list {
    grid-template-columns: 1fr;
  }

  .lg-shop-showcase {
    padding-top: 86px;
  }

  .lg-runway-bar {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .lg-md-search {
    width: 145px;
  }

  .lg-shop-showcase .lg-runway-stage {
    height: 510px;
  }

  .lg-stage-editorial {
    top: 14px;
    left: 16px;
    right: 16px;
    max-width: none;
    text-align: left;
  }

  .lg-stage-editorial .lg-ed-blurb {
    display: none;
  }

  .lg-shop-showcase .lg-md-card {
    left: 50%;
    top: 40%;
    width: 205px;
    height: 62%;
  }

  .lg-stage-meta {
    bottom: 16px;
    left: 16px;
    right: 16px;
    align-items: flex-start;
    text-align: left;
  }

  .lg-rail-section {
    padding: 16px 16px 22px;
  }

  .lg-prod-card {
    flex: 0 0 185px;
  }

  .lg-cursor {
    display: none !important;
  }
}

/* ==========================================================================
   v2.2 Polish — Crisp White Footer Logo & Non-Overlapping Floating Widgets
   ========================================================================== */

.lg-footer-brand img {
  filter: none !important;
  opacity: 0.94;
}

/* Prevent horizontal scrollbar when .lg-stage-center uses 100vw full-bleed */
body.home {
  overflow-x: hidden;
}

/* Desktop Floating Widgets Clean Vertical Stack */
#chat-bubble-root ._bc_cbb {
  bottom: 24px !important;
  right: 24px !important;
}

#pushengage-subscriber-recovery-widget {
  --bell-bottom: 98px !important;
  --bell-right: 29px !important;
}

#pushengage-subscriber-recovery-widget-bell {
  bottom: 98px !important;
  right: 29px !important;
}

@media (max-width: 849px) {
  .lg-stage-center {
    height: 500px;
  }

  .lg-stage-center .lg-md-card {
    width: 300px;
    height: 94%;
  }

  .lg-cr-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: -8px;
    padding: 14px 18px;
  }

  /* Mobile Performance: disable heavy backdrop-filter blurs, use crisp solid/high-opacity surfaces */
  .header-main,
  .stuck .header-main {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(26, 25, 24, 0.94) !important;
  }

  .lg-dock-inner,
  .lg-hero-float-wrap,
  .lg-cr-footer,
  .lg-manifesto-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(250, 249, 247, 0.97) !important;
  }

  .lg-cutout-wrap img,
  .lg-md-card.is-active .lg-cutout-wrap img {
    filter: drop-shadow(0 10px 14px rgba(26, 25, 24, 0.18));
  }

  /* Mobile Right-Handed Ergonomics: align interactive buttons & controls to right thumb zone */
  .header-main .mobile-nav .nav-icon > a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lg-cr-controls,
  .lg-runway-tools,
  .lg-support-actions,
  .lg-hero-float-head .lg-hf-actions {
    margin-left: auto;
    justify-content: flex-end;
  }

  .lg-cr-right {
    justify-content: flex-end;
    width: 100%;
  }

  .lg-cr-right .lg-md-cta {
    width: auto;
    min-width: 190px;
    margin-left: auto;
  }

  .lg-stage-meta .lg-md-actions {
    width: 100%;
    justify-content: flex-end;
  }

  /* Lift all 3rd-party floating widgets cleanly above the frosted Mobile Dock */
  #chat-bubble-root ._bc_cbb {
    bottom: 88px !important;
    right: 16px !important;
  }

  #pushengage-subscriber-recovery-widget {
    --bell-bottom: 160px !important;
    --bell-right: 21px !important;
  }

  #pushengage-subscriber-recovery-widget-bell {
    bottom: 160px !important;
    right: 21px !important;
  }

  #glt-translate-trigger {
    bottom: 86px !important;
    left: 14px !important;
    border-radius: 8px !important;
  }
}


/* ==========================================================================
   v2.3 SHOP PAGE — Full-Width Grid, Top Filter Bar, Left Square Stage Card
   & Multi-Select Variation Spec Picker
   ========================================================================== */

/* 1. Hide Flatsome Left Sidebar & Expand Shop Grid Full-Width */
body.woocommerce-shop .category-page-row > .col.large-3,
body.tax-product_cat .category-page-row > .col.large-3,
body.tax-product_tag .category-page-row > .col.large-3,
body.woocommerce-shop #shop-sidebar,
body.tax-product_cat #shop-sidebar,
body.tax-product_tag #shop-sidebar {
  display: none !important;
}

body.woocommerce-shop .category-page-row > .col.large-9,
body.tax-product_cat .category-page-row > .col.large-9,
body.tax-product_tag .category-page-row > .col.large-9 {
  max-width: 100% !important;
  flex-basis: 100% !important;
  width: 100% !important;
}

body.woocommerce-shop .category-page-row,
body.tax-product_cat .category-page-row,
body.tax-product_tag .category-page-row {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

/* 2. Top Minimal Category Filter Bar */
.lg-shop-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 12px 16px;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
}

.lg-filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lg-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: var(--lg-r-pill);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lg-ink) !important;
  background: var(--lg-bg);
  border: 1px solid var(--lg-line-strong);
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lg-filter-pill:hover,
.lg-filter-pill.is-active {
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
  border-color: var(--lg-ink);
}

.lg-filter-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  margin-left: auto !important;
}

.lg-filter-search input[type="search"] {
  width: 190px;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  font-size: 12px !important;
  border: 1px solid var(--lg-line-strong) !important;
  border-radius: var(--lg-r-pill) !important;
  background: var(--lg-bg) !important;
  box-shadow: none !important;
}

.lg-filter-search button {
  height: 34px;
  padding: 0 14px;
  margin: 0;
  border: 1px solid var(--lg-ink);
  border-radius: var(--lg-r-pill);
  background: var(--lg-ink);
  color: var(--lg-bg);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* 3. Shop Runway Left Square Product Card + Format Switcher */
.lg-shop-showcase.lg-align-left .lg-md-card {
  left: 41%;
}

.lg-stage-left-box {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 244px;
  z-index: 32;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lg-stage-square-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  overflow: hidden;
  box-shadow: var(--lg-shadow-float);
}

.lg-sq-img {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #EFEAE2;
  overflow: hidden;
}

.lg-sq-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lg-sq-body {
  padding: 11px 12px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.lg-sq-info {
  min-width: 0;
  flex: 1;
}

.lg-sq-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  margin-bottom: 4px;
}

.lg-sq-price {
  font-size: 11px;
  color: var(--lg-muted);
}

.lg-sq-price ins {
  text-decoration: none;
  color: var(--lg-ink);
}

.lg-sq-empty {
  padding: 24px 14px;
  text-align: center;
  font-size: 12px;
  color: var(--lg-muted);
}

.lg-stage-fmt-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.lg-fmt-tab {
  appearance: none;
  border: 1px solid var(--lg-line-strong);
  border-radius: var(--lg-r-pill);
  background: rgba(255, 255, 255, 0.88);
  color: var(--lg-ink);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 7px 6px;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.lg-fmt-tab:hover:not(:disabled),
.lg-fmt-tab.is-active {
  background: var(--lg-ink);
  border-color: var(--lg-ink);
  color: var(--lg-bg);
}

.lg-fmt-tab:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

/* 4. Multi-Select Variation Spec Pills & Batch Cart Button on Product Grid Cards */
body.woocommerce-shop .product-small .add-to-cart-button,
body.tax-product_cat .product-small .add-to-cart-button,
body.tax-product_tag .product-small .add-to-cart-button {
  display: none !important;
}

.lg-card-specs {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--lg-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lg-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.lg-spec-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  margin: 0;
  border-radius: var(--lg-r-sm);
  border: 1px solid var(--lg-line-strong);
  background: var(--lg-bg);
  color: var(--lg-ink);
  font-size: 11px;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.lg-spec-pill .lg-spec-p {
  font-size: 10px;
  opacity: 0.72;
}

.lg-spec-pill.is-selected {
  background: var(--lg-ink);
  border-color: var(--lg-ink);
  color: var(--lg-bg);
}

.lg-spec-pill.is-selected .lg-spec-p {
  opacity: 0.85;
}

.lg-spec-actions {
  display: flex;
  justify-content: flex-end;
}

.lg-batch-cart-btn {
  appearance: none;
  width: 100%;
  padding: 8px 12px;
  margin: 0;
  border: 1px solid var(--lg-ink);
  border-radius: var(--lg-r-md);
  background: var(--lg-ink);
  color: var(--lg-bg);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.lg-batch-cart-btn:hover:not(:disabled) {
  background: #33312E;
}

.lg-batch-cart-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lg-batch-cart-btn.is-added {
  background: #2E6B46;
  border-color: #2E6B46;
  color: #FFFFFF;
}

/* Mobile Responsive for Shop v2.3 (Fast & Right-Handed Ergonomics) */
@media (max-width: 849px) {
  .lg-shop-showcase.lg-align-left .lg-md-card {
    left: 50%;
    top: 30%;
    width: 190px;
    height: 48%;
  }

  .lg-shop-showcase .lg-runway-stage {
    height: 610px;
  }

  .lg-stage-left-box {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 72px;
    transform: none;
    width: auto;
  }

  .lg-stage-square-card {
    display: flex;
    align-items: stretch;
  }

  .lg-sq-img {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
  }

  .lg-sq-body {
    flex: 1;
    padding: 8px 10px;
  }

  .lg-stage-fmt-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
  }

  .lg-fmt-tab {
    min-width: 72px;
    padding: 7px 12px;
  }

  .lg-stage-meta {
    bottom: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .lg-stage-meta .lg-md-subtitle,
  .lg-stage-meta .lg-progress-ticks {
    display: none;
  }

  .lg-shop-filter-bar {
    padding: 12px;
    gap: 10px;
  }

  .lg-filter-search {
    width: 100%;
    justify-content: flex-end;
  }

  .lg-filter-search input[type="search"] {
    flex: 1;
    width: auto;
  }

  .lg-spec-pills {
    justify-content: flex-end;
  }

  .lg-batch-cart-btn {
    width: auto;
    min-width: 124px;
    margin-left: auto;
  }
}


/* ==========================================================================
   v2.3.2 SHOP FIXES — Restore Images, 2x Overflowing Left Card, Seamless Flow,
   Clean Shop Page Title, Mobile Slim Sticky Header & Fixed Dock Width
   ========================================================================== */

/* 1. FIX: Equal-height WooCommerce Product Cards WITHOUT breaking Flatsome .product-small.box images */
body.woocommerce-shop .products > .product-small.col,
body.tax-product_cat .products > .product-small.col,
body.tax-product_tag .products > .product-small.col {
  display: flex;
}

body.woocommerce-shop .products > .product-small.col > .col-inner,
body.tax-product_cat .products > .product-small.col > .col-inner,
body.tax-product_tag .products > .product-small.col > .col-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

body.woocommerce-shop .product-small.box,
body.tax-product_cat .product-small.box,
body.tax-product_tag .product-small.box {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

body.woocommerce-shop .product-small.box .box-image,
body.tax-product_cat .product-small.box .box-image,
body.tax-product_tag .product-small.box .box-image {
  width: 100%;
  flex-shrink: 0;
}

body.woocommerce-shop .product-small.box .box-text,
body.tax-product_cat .product-small.box .box-text,
body.tax-product_tag .product-small.box .box-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.lg-card-specs {
  margin-top: auto;
}

/* Inverted White "已售完" Button */
.lg-batch-cart-btn.is-soldout,
.lg-batch-cart-btn.is-soldout:disabled {
  background: #FFFFFF;
  color: var(--lg-muted);
  border: 1px solid var(--lg-line-strong);
  opacity: 1;
  cursor: not-allowed;
}

/* 2. Seamless Warm Gradient Flow on Shop (Match Homepage — No Hard Borders) */
body.woocommerce-shop #main,
body.tax-product_cat #main,
body.tax-product_tag #main {
  background: linear-gradient(
    180deg,
    #FAF9F7 0%,
    #F4EFE8 22%,
    #EFEAE2 46%,
    #F7F4EF 72%,
    #FAF9F7 100%
  );
}

.lg-shop-showcase {
  background: transparent;
  border-bottom: 0;
  overflow: visible;
  margin-bottom: 12px;
}

.lg-runway-bar {
  max-width: 1260px;
  margin: 0 auto;
  padding: 10px 15px 14px;
  background: transparent;
  border-bottom: 0;
}

.lg-shop-showcase .lg-runway-stage {
  height: clamp(580px, 78vh, 800px);
  background: radial-gradient(ellipse 68% 72% at 58% 48%, rgba(255, 255, 255, 0.5) 0%, rgba(239, 234, 226, 0.2) 56%, rgba(239, 234, 226, 0) 100%);
  overflow: visible;
}

.lg-shop-showcase .lg-runway-cards {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

/* 3. Enlarged Left Square Card (~1.7x-2x larger) Overflowing 50% Outside Runway Container */
.lg-stage-left-box {
  left: max(20px, calc(50% - 630px));
  top: auto;
  bottom: -155px;
  transform: none;
  width: clamp(320px, 28vw, 410px);
  z-index: 38;
  gap: 12px;
}

.lg-stage-left-box .lg-stage-editorial {
  position: static;
  text-align: left;
  max-width: none;
  margin-bottom: 2px;
}

.lg-stage-left-box .lg-ed-season {
  font-size: 22px;
  margin-bottom: 0;
}

.lg-stage-square-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--lg-r-lg);
  box-shadow: var(--lg-shadow-float);
}

.lg-sq-body {
  padding: 14px 16px 15px;
}

.lg-sq-title {
  font-size: 13px;
}

.lg-sq-price {
  font-size: 12px;
}

/* Position Active MD right beside the enlarged left card */
.lg-shop-showcase.lg-align-left .lg-md-card {
  left: calc(max(20px, 50% - 630px) + clamp(320px, 28vw, 410px) + 195px);
  top: 52%;
  width: clamp(340px, 34vw, 490px);
  height: 94%;
}

/* Push Scrubber Footer right on desktop so it clears the 50% overflowing left card */
.lg-shop-footer-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 18px 15px 18px calc(clamp(320px, 28vw, 410px) + 42px);
}

.lg-shop-footer-wrap .lg-cr-footer {
  margin-top: 0;
  grid-template-columns: 200px minmax(140px, 1fr) auto;
  gap: 18px;
}

/* 4. Seamless Minimal Shop Page Title (No Heavy Banner / Hard Cut) */
body.woocommerce-shop .shop-page-title,
body.tax-product_cat .shop-page-title,
body.tax-product_tag .shop-page-title {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-top: 24px !important;
  padding-bottom: 6px !important;
}

body.woocommerce-shop .shop-page-title .page-title-bg,
body.tax-product_cat .shop-page-title .page-title-bg,
body.tax-product_tag .shop-page-title .page-title-bg {
  display: none !important;
}

body.woocommerce-shop .shop-page-title .page-title-inner,
body.tax-product_cat .shop-page-title .page-title-inner,
body.tax-product_tag .shop-page-title .page-title-inner {
  max-width: 1260px;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  color: var(--lg-ink) !important;
}

body.woocommerce-shop .shop-page-title .woocommerce-breadcrumb,
body.woocommerce-shop .shop-page-title .woocommerce-breadcrumb a,
body.woocommerce-shop .shop-page-title .woocommerce-result-count,
body.tax-product_cat .shop-page-title .woocommerce-breadcrumb,
body.tax-product_cat .shop-page-title .woocommerce-breadcrumb a,
body.tax-product_cat .shop-page-title .woocommerce-result-count {
  color: var(--lg-muted) !important;
  font-size: 12px !important;
  text-shadow: none !important;
}

body.woocommerce-shop .shop-page-title .woocommerce-ordering select,
body.tax-product_cat .shop-page-title .woocommerce-ordering select {
  background-color: var(--lg-surface) !important;
  color: var(--lg-ink) !important;
  border: 1px solid var(--lg-line-strong) !important;
  border-radius: var(--lg-r-pill) !important;
  font-size: 12px !important;
  height: 34px !important;
  padding: 0 28px 0 12px !important;
}

/* 5. Mobile Fixes: Slim Sticky Header on Scroll + Zero-Overflow Mobile Dock + Crisp SVG Icons */
.lg-dock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}

.lg-dock-icon svg {
  display: block;
}

@media (max-width: 849px) {
  /* Slimmer sticky mobile header on scroll */
  .header-main {
    height: 54px !important;
  }

  .header-wrapper.stuck {
    padding-top: 6px;
  }

  .stuck .header-main {
    height: 44px !important;
    border-radius: 14px !important;
  }

  .stuck .header-main #logo img {
    max-height: 26px !important;
  }

  .stuck .header-main .mobile-nav .nav-icon > a {
    min-width: 38px;
    min-height: 38px;
  }

  /* Fix Mobile Dock right-edge overflow completely */
  .lg-mobile-dock {
    left: 12px !important;
    right: 12px !important;
    bottom: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .lg-mobile-dock .section-content,
  .lg-mobile-dock .section-bg {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lg-dock-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 7px 4px !important;
  }

  .lg-dock-item {
    min-width: 0;
    font-size: 10.5px;
  }

  /* Shop Mobile Runway & Left Card */
  .lg-shop-showcase .lg-runway-stage {
    height: 460px;
  }

  .lg-shop-showcase.lg-align-left .lg-md-card {
    left: 50%;
    top: 40%;
    width: 245px;
    height: 76%;
  }

  .lg-stage-left-box {
    position: absolute;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: -64px;
    transform: none;
    width: auto;
    gap: 8px;
  }

  .lg-stage-left-box .lg-stage-editorial {
    display: none;
  }

  .lg-stage-square-card {
    display: flex;
    align-items: stretch;
  }

  .lg-sq-img {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
  }

  .lg-sq-body {
    padding: 10px 12px;
  }

  .lg-shop-footer-wrap {
    padding: 76px 12px 12px;
  }

  .lg-shop-footer-wrap .lg-cr-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 6px;
  }
}


/* ==========================================================================
   v2.3.3 SHOP RUNWAY — Faint Ambient Product Backdrop (7% -> 0% Fade)
   & Tall Left Feature Card Matching Cutout Height
   ========================================================================== */

.lg-shop-showcase {
  padding-top: 96px;
}

.lg-stage-ambient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.58) 58%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.58) 58%, transparent 100%);
  transition: background-image 0.4s ease;
}

.lg-shop-showcase .lg-runway-stage,
.lg-shop-footer-wrap {
  position: relative;
  z-index: 2;
}

/* Flush-align left feature card bottom (0px error) with Scrubber bottom */
.lg-stage-left-box {
  position: absolute;
  left: max(20px, calc(50% - 630px));
  top: auto;
  bottom: 34px;
  transform: none;
  width: clamp(330px, 28vw, 415px);
  z-index: 38;
}

.lg-stage-square-card .lg-sq-img {
  aspect-ratio: auto;
  height: clamp(440px, 56vh, 560px);
}

.lg-shop-footer-wrap {
  padding-top: 16px;
  padding-bottom: 34px;
}

@media (max-width: 849px) {
  .lg-shop-showcase {
    padding-top: 76px;
  }

  .lg-stage-ambient-bg {
    opacity: 0.06;
  }

  .lg-stage-left-box {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    margin: -54px 12px 10px;
  }

  .lg-stage-square-card .lg-sq-img {
    height: 96px;
  }

  .lg-shop-footer-wrap {
    padding: 4px 12px 14px;
  }
}

/* === BEGIN FORMAT CARD FRAMES & ANTI-MISTAKE BADGES (v2.3.8 — Easy Revert) === */

/* 1. 實體書 / 預購書：更明顯的左側精裝書脊摺痕 (22px) + 右側三層紙頁厚度 */
body.woocommerce-shop .product-small.lg-fmt-book .box-image,
body.tax-product_cat .product-small.lg-fmt-book .box-image,
body.tax-product_tag .product-small.lg-fmt-book .box-image {
  position: relative;
  border-radius: 3px 11px 11px 3px !important;
  box-shadow:
    3px 0 0 -1px #FAF9F7,
    5px 0 0 -1px rgba(26, 25, 24, 0.28),
    8px 0 0 -2px #FAF9F7,
    10px 0 0 -2px rgba(26, 25, 24, 0.2),
    13px 0 0 -3px #FAF9F7,
    14px 0 0 -3px rgba(26, 25, 24, 0.14),
    0 12px 24px -12px rgba(26, 25, 24, 0.3);
}

body.woocommerce-shop .product-small.lg-fmt-book .box-image::after,
body.tax-product_cat .product-small.lg-fmt-book .box-image::after,
body.tax-product_tag .product-small.lg-fmt-book .box-image::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 24px;
  background: linear-gradient(
    90deg,
    rgba(26, 25, 24, 0.34) 0%,
    rgba(255, 255, 255, 0.32) 18%,
    rgba(26, 25, 24, 0.28) 38%,
    rgba(255, 255, 255, 0.22) 52%,
    rgba(26, 25, 24, 0.14) 68%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 4;
}

/* 2. 4K 影片右下角極簡播放圓標（無粗黑框） */
body.woocommerce-shop .product-small.lg-fmt-movie .box-image::after,
body.tax-product_cat .product-small.lg-fmt-movie .box-image::after,
body.tax-product_tag .product-small.lg-fmt-movie .box-image::after {
  content: "▶";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  background: rgba(26, 25, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #FAF9F7;
  font-size: 12px;
  pointer-events: none;
  z-index: 5;
}

/* 3. 封面左上角清晰防買錯格式標籤 */
.lg-card-fmt-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(26, 25, 24, 0.18);
}

.lg-card-fmt-tag.is-book {
  background: rgba(250, 249, 247, 0.94);
  color: #1A1918;
  border: 1px solid rgba(26, 25, 24, 0.16);
}

.lg-card-fmt-tag.is-ebook {
  background: rgba(45, 58, 74, 0.88);
  color: #FAF9F7;
}

.lg-card-fmt-tag.is-movie {
  background: rgba(26, 25, 24, 0.88);
  color: #FAF9F7;
}

.lg-card-fmt-tag.is-preorder {
  background: #8C6D46;
  color: #FAF9F7;
}

/* Hide redundant Flatsome HOT bubble when our format tag is present */
body.woocommerce-shop .product-small .badge-container,
body.tax-product_cat .product-small .badge-container,
body.tax-product_tag .product-small .badge-container {
  display: none !important;
}

/* === END FORMAT CARD FRAMES & ANTI-MISTAKE BADGES === */

/* ==========================================================================
   v2.3.8 INDEPENDENT COMPACT PRE-ORDER HORIZONTAL BANNER (~1/5 Card Height)
   ========================================================================== */

.lg-preorder-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 12px 18px;
  background: linear-gradient(90deg, #FFFFFF 0%, #F7F2EA 100%);
  border: 1px solid rgba(182, 152, 108, 0.52);
  border-radius: var(--lg-r-lg);
  box-shadow: 0 12px 28px -20px rgba(140, 109, 70, 0.35);
}

.lg-pre-thumb {
  flex: 0 0 58px;
  width: 58px;
  height: 74px;
  border-radius: var(--lg-r-sm);
  overflow: hidden;
  background: #EFEAE2;
  display: block;
}

.lg-pre-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lg-pre-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lg-pre-kicker {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #8C6D46;
}

.lg-pre-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lg-pre-price {
  font-size: 12px;
  color: var(--lg-muted);
}

.lg-pre-price ins {
  text-decoration: none;
  color: var(--lg-ink);
  font-weight: 500;
}

.lg-pre-countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(250, 249, 247, 0.92);
  border: 1px solid rgba(182, 152, 108, 0.4);
  border-radius: var(--lg-r-md);
  white-space: nowrap;
}

.lg-pre-cd-label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #8C6D46;
}

.lg-pre-cd-val {
  font-family: var(--lg-sans);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--lg-ink);
}

.lg-pre-action {
  flex-shrink: 0;
}

.lg-pre-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--lg-r-pill);
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lg-pre-btn:hover {
  background: #33312E;
  transform: translateY(-1px);
}

@media (max-width: 849px) {
  .lg-preorder-strip {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 12px;
  }

  .lg-pre-thumb {
    flex: 0 0 48px;
    width: 48px;
    height: 62px;
  }

  .lg-pre-title {
    font-size: 12.5px;
  }

  .lg-pre-countdown {
    width: 100%;
    justify-content: space-between;
    padding: 6px 10px;
  }

  .lg-pre-action {
    margin-left: auto;
  }

  .lg-pre-btn {
    padding: 8px 16px;
    font-size: 11.5px;
  }
}


/* ==========================================================================
   v2.3.7 SHOP POLISH — Left Column Flush CTA + Refined Pre-Order Countdown & Badge
   ========================================================================== */

/* Full-width CTA below left format switcher to flush-align with Scrubber bottom */
.lg-stage-left-cta-wrap {
  width: 100%;
}

.lg-stage-left-cta {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--lg-ink);
  border-radius: var(--lg-r-md);
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lg-stage-left-cta:hover {
  background: #33312E;
  transform: translateY(-1px);
}

.lg-stage-left-cta.is-added {
  background: #2E6B46;
  border-color: #2E6B46;
  color: #FFFFFF !important;
}

/* Pre-Order Limited Edition Card: Champagne Hairline + Refined Badge + Minimal Countdown Bar */
body.woocommerce-shop .product-small.product_cat-pre-order-items > .col-inner,
body.tax-product_cat .product-small.product_cat-pre-order-items > .col-inner {
  border-color: rgba(182, 152, 108, 0.58) !important;
  box-shadow: 0 14px 32px -20px rgba(154, 122, 74, 0.28) !important;
}

body.woocommerce-shop .product-small .badge-container,
body.tax-product_cat .product-small .badge-container,
body.tax-product_tag .product-small .badge-container {
  top: 10px !important;
  left: 10px !important;
  margin: 0 !important;
  z-index: 6 !important;
}

body.woocommerce-shop .product-small .badge-container .badge-inner.on-sale,
body.tax-product_cat .product-small .badge-container .badge-inner.on-sale,
body.tax-product_tag .product-small .badge-container .badge-inner.on-sale {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 4px 10px !important;
  border-radius: var(--lg-r-sm) !important;
  background-color: rgba(26, 25, 24, 0.9) !important;
  color: #FAF9F7 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(26, 25, 24, 0.22);
}

/* YITH Sales Countdown Loop — Quiet-Luxury Warm-Stone Single Strip */
body.woocommerce-shop .ywpc-countdown-loop,
body.tax-product_cat .ywpc-countdown-loop,
body.tax-product_tag .ywpc-countdown-loop {
  margin: 8px 0 4px !important;
  padding: 7px 10px !important;
  background: #F4EFE8 !important;
  border: 1px solid rgba(182, 152, 108, 0.45) !important;
  border-radius: var(--lg-r-md) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
  gap: 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.woocommerce-shop .ywpc-countdown-loop .ywpc-header,
body.tax-product_cat .ywpc-countdown-loop .ywpc-header,
body.tax-product_tag .ywpc-countdown-loop .ywpc-header {
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  color: #7A6345 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.2 !important;
  background: transparent !important;
}

body.woocommerce-shop .ywpc-countdown-loop .ywpc-timer,
body.tax-product_cat .ywpc-countdown-loop .ywpc-timer,
body.tax-product_tag .ywpc-countdown-loop .ywpc-timer {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-shop .ywpc-countdown-loop .ywpc-timer > div,
body.tax-product_cat .ywpc-countdown-loop .ywpc-timer > div,
body.tax-product_tag .ywpc-countdown-loop .ywpc-timer > div {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  width: auto !important;
}

body.woocommerce-shop .ywpc-countdown-loop .ywpc-amount,
body.tax-product_cat .ywpc-countdown-loop .ywpc-amount,
body.tax-product_tag .ywpc-countdown-loop .ywpc-amount {
  display: inline-flex !important;
  font-family: var(--lg-sans) !important;
  font-variant-numeric: tabular-nums !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--lg-ink) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

body.woocommerce-shop .ywpc-countdown-loop .ywpc-amount span,
body.tax-product_cat .ywpc-countdown-loop .ywpc-amount span,
body.tax-product_tag .ywpc-countdown-loop .ywpc-amount span {
  background: transparent !important;
  color: var(--lg-ink) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

body.woocommerce-shop .ywpc-countdown-loop .ywpc-label,
body.tax-product_cat .ywpc-countdown-loop .ywpc-label,
body.tax-product_tag .ywpc-countdown-loop .ywpc-label {
  font-size: 9.5px !important;
  color: var(--lg-muted) !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}

@media (max-width: 849px) {
  .lg-stage-left-cta {
    height: 38px;
    font-size: 11.5px;
  }

  .lg-stage-left-box {
    bottom: -104px;
  }

  .lg-shop-footer-wrap {
    padding-top: 116px;
  }
}


/* ==========================================================================
   v2.3.9 SHOP POLISH — Unified Pill CTA Size, Taller Pre-Order Strip,
   Book 3D Spacing & 35mm Filmstrip Edges for 4K Movie Cards
   ========================================================================== */

/* 1. Match "查看她的全部作品 →" button size & pill shape to left .lg-fmt-tab buttons */
.lg-shop-footer-wrap .lg-cr-right .lg-btn-outline.lg-md-cta,
.lg-center-runway .lg-cr-right .lg-btn-outline.lg-md-cta {
  height: 36px;
  padding: 0 18px;
  border-radius: var(--lg-r-pill);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* 2. Taller, more prominent Pre-Order Countdown Horizontal Banner */
.lg-preorder-strip {
  padding: 18px 24px;
  gap: 22px;
  min-height: 118px;
}

.lg-pre-thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 96px;
}

.lg-pre-kicker {
  font-size: 10px;
}

.lg-pre-title {
  font-size: 16px;
}

.lg-pre-price {
  font-size: 13px;
}

.lg-pre-countdown {
  padding: 10px 16px;
}

.lg-pre-cd-val {
  font-size: 14.5px;
}

.lg-pre-btn {
  padding: 11px 24px;
  font-size: 12.5px;
}

/* 3a. Printed Book: Pull right edge inward so page stack never touches card border + deeper 3D shadow */
body.woocommerce-shop .product-small.lg-fmt-book .box-image,
body.tax-product_cat .product-small.lg-fmt-book .box-image,
body.tax-product_tag .product-small.lg-fmt-book .box-image {
  width: calc(100% - 14px) !important;
  margin-right: 14px !important;
  box-shadow:
    3px 0 0 -1px #FAF9F7,
    5px 0 0 -1px rgba(26, 25, 24, 0.28),
    8px 0 0 -2px #FAF9F7,
    10px 0 0 -2px rgba(26, 25, 24, 0.2),
    13px 0 0 -3px #FAF9F7,
    14px 0 0 -3px rgba(26, 25, 24, 0.14),
    10px 16px 26px -10px rgba(26, 25, 24, 0.36),
    0 8px 18px -8px rgba(26, 25, 24, 0.22);
}

/* 3b. 4K Movie: Subtle 35mm Filmstrip Sprocket Side Rails (Zero Padding Override!) */
body.woocommerce-shop .product-small.lg-fmt-movie .box-image::before,
body.tax-product_cat .product-small.lg-fmt-movie .box-image::before,
body.tax-product_tag .product-small.lg-fmt-movie .box-image::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background-image:
    /* Left sprocket holes */
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 5px,
      rgba(250, 249, 247, 0.72) 5px,
      rgba(250, 249, 247, 0.72) 11px,
      transparent 11px,
      transparent 18px
    ),
    /* Right sprocket holes */
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 5px,
      rgba(250, 249, 247, 0.72) 5px,
      rgba(250, 249, 247, 0.72) 11px,
      transparent 11px,
      transparent 18px
    ),
    /* Left dark filmstrip rail */
    linear-gradient(90deg, rgba(20, 19, 18, 0.86) 0, rgba(20, 19, 18, 0.86) 100%),
    /* Right dark filmstrip rail */
    linear-gradient(90deg, rgba(20, 19, 18, 0.86) 0, rgba(20, 19, 18, 0.86) 100%);
  background-size:
    4px 100%,
    4px 100%,
    11px 100%,
    11px 100%;
  background-position:
    3.5px 0,
    calc(100% - 3.5px) 0,
    0 0,
    100% 0;
  background-repeat: no-repeat;
}

body.woocommerce-shop .product-small.lg-fmt-movie .lg-card-fmt-tag,
body.tax-product_cat .product-small.lg-fmt-movie .lg-card-fmt-tag,
body.tax-product_tag .product-small.lg-fmt-movie .lg-card-fmt-tag {
  left: 17px;
}

body.woocommerce-shop .product-small.lg-fmt-movie .box-image::after,
body.tax-product_cat .product-small.lg-fmt-movie .box-image::after,
body.tax-product_tag .product-small.lg-fmt-movie .box-image::after {
  right: 17px;
}

@media (max-width: 849px) {
  .lg-preorder-strip {
    padding: 14px;
    min-height: 0;
  }

  .lg-pre-thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 74px;
  }

  .lg-pre-title {
    font-size: 13.5px;
  }
}


/* ==========================================================================
   v2.4.0 POLISH — Exact Pill Button Match, Pre-Order Camera Flash Glint
   at Top-Left & Bottom-Right Corners, Wider Filmstrip with Airier Sprockets
   ========================================================================== */

/* 1. Exact height/padding match between .lg-fmt-tab and "查看她的全部作品 →" */
.lg-fmt-tab {
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lg-shop-footer-wrap .lg-cr-footer {
  grid-template-columns: 225px minmax(130px, 1fr) auto;
}

.lg-shop-footer-wrap .lg-cr-right .lg-btn-outline.lg-md-cta,
.lg-center-runway .lg-cr-right .lg-btn-outline.lg-md-cta {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 20px !important;
  border-radius: var(--lg-r-pill) !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 2. Pre-Order Active Countdown Card — Dual Corner Camera Flash Glint */
.lg-stage-square-card.is-preorder-flash {
  position: relative;
  overflow: visible;
}

.lg-stage-square-card.is-preorder-flash .lg-sq-img {
  border-radius: var(--lg-r-lg) var(--lg-r-lg) 0 0;
}

.lg-stage-square-card.is-preorder-flash::before,
.lg-stage-square-card.is-preorder-flash::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  pointer-events: none;
  z-index: 45;
  background:
    /* Soft warm radial camera flash bloom */
    radial-gradient(circle, rgba(255, 252, 240, 0.96) 0%, rgba(255, 232, 185, 0.52) 22%, rgba(255, 224, 165, 0) 64%),
    /* Crisp horizontal flare ray */
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.95) 50%, transparent 100%) center / 100% 2px no-repeat,
    /* Crisp vertical flare ray */
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.95) 50%, transparent 100%) center / 2px 100% no-repeat;
  animation: lg-camera-flash 3.4s ease-in-out infinite;
  will-change: transform, opacity;
}

.lg-stage-square-card.is-preorder-flash::before {
  top: -36px;
  left: -36px;
}

.lg-stage-square-card.is-preorder-flash::after {
  bottom: -36px;
  right: -36px;
  animation-delay: 1.7s;
}

@keyframes lg-camera-flash {
  0%, 100% {
    opacity: 0.22;
    transform: scale(0.72) rotate(0deg);
  }
  44% {
    opacity: 0.3;
    transform: scale(0.82) rotate(8deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.18) rotate(22deg);
  }
  58% {
    opacity: 0.28;
    transform: scale(0.8) rotate(32deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lg-stage-square-card.is-preorder-flash::before,
  .lg-stage-square-card.is-preorder-flash::after {
    animation: none;
    opacity: 0.72;
  }
}

/* 3. Wider 35mm Filmstrip Side Rails (15px) with Airier Sprocket Holes (28px pitch) */
body.woocommerce-shop .product-small.lg-fmt-movie .box-image::before,
body.tax-product_cat .product-small.lg-fmt-movie .box-image::before,
body.tax-product_tag .product-small.lg-fmt-movie .box-image::before {
  background-image:
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 9px,
      rgba(250, 249, 247, 0.76) 9px,
      rgba(250, 249, 247, 0.76) 19px,
      transparent 19px,
      transparent 28px
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 9px,
      rgba(250, 249, 247, 0.76) 9px,
      rgba(250, 249, 247, 0.76) 19px,
      transparent 19px,
      transparent 28px
    ),
    linear-gradient(90deg, rgba(20, 19, 18, 0.88) 0, rgba(20, 19, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 19, 18, 0.88) 0, rgba(20, 19, 18, 0.88) 100%);
  background-size:
    6px 100%,
    6px 100%,
    15px 100%,
    15px 100%;
  background-position:
    4.5px 0,
    calc(100% - 4.5px) 0,
    0 0,
    100% 0;
}

body.woocommerce-shop .product-small.lg-fmt-movie .lg-card-fmt-tag,
body.tax-product_cat .product-small.lg-fmt-movie .lg-card-fmt-tag,
body.tax-product_tag .product-small.lg-fmt-movie .lg-card-fmt-tag {
  left: 22px;
}

body.woocommerce-shop .product-small.lg-fmt-movie .box-image::after,
body.tax-product_cat .product-small.lg-fmt-movie .box-image::after,
body.tax-product_tag .product-small.lg-fmt-movie .box-image::after {
  right: 22px;
}


/* ==========================================================================
   v2.4.1 POLISH — Larger Softer Flash (+50%), Stronger Ambient BG (+10%),
   Format Tag SVG Icons & Unified Bottom-Right Floating Pill Dock
   ========================================================================== */

/* 1. Ambient BG +10% more visible, larger & softer camera flash (+50%) */
.lg-stage-ambient-bg {
  opacity: 0.18;
}

.lg-cursor {
  display: none !important;
}

.lg-stage-square-card.is-preorder-flash::before,
.lg-stage-square-card.is-preorder-flash::after {
  width: 120px;
  height: 120px;
  background:
    radial-gradient(circle, rgba(255, 252, 240, 0.72) 0%, rgba(255, 232, 185, 0.32) 24%, rgba(255, 224, 165, 0) 66%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.68) 50%, transparent 100%) center / 100% 2px no-repeat,
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.68) 50%, transparent 100%) center / 2px 100% no-repeat;
  animation: lg-camera-flash-soft 3.6s ease-in-out infinite;
}

.lg-stage-square-card.is-preorder-flash::before {
  top: -56px;
  left: -56px;
}

.lg-stage-square-card.is-preorder-flash::after {
  bottom: -56px;
  right: -56px;
  animation-delay: 1.8s;
}

@keyframes lg-camera-flash-soft {
  0%, 100% {
    opacity: 0.1;
    transform: scale(0.75) rotate(0deg);
  }
  44% {
    opacity: 0.16;
    transform: scale(0.84) rotate(8deg);
  }
  50% {
    opacity: 0.54;
    transform: scale(1.16) rotate(20deg);
  }
  58% {
    opacity: 0.14;
    transform: scale(0.82) rotate(30deg);
  }
}

/* 2. Format Tag Flex Alignment with Inline SVG Icons */
.lg-card-fmt-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lg-card-fmt-tag svg {
  flex-shrink: 0;
  display: block;
}

/* 3. Unified Vertical Floating Pill Rail (Back-to-Top + Bell + Chat Bubble) */
.lg-float-rail-bg {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 52px;
  height: 158px;
  border-radius: 999px;
  background: rgba(26, 25, 24, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px -12px rgba(26, 25, 24, 0.45);
  z-index: 990;
  pointer-events: none;
}

/* Slot 1 (Bottom): Chat Bubble */
#chat-bubble-root ._bc_cbb {
  position: fixed !important;
  right: 23px !important;
  bottom: 26px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  background: rgba(250, 249, 247, 0.14) !important;
  box-shadow: none !important;
  z-index: 995 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Slot 2 (Middle): PushEngage Bell */
#pushengage-subscriber-recovery-widget {
  --bell-right: 23px !important;
  --bell-bottom: 78px !important;
  z-index: 995 !important;
}

#pushengage-subscriber-recovery-widget-bell {
  position: fixed !important;
  right: 23px !important;
  bottom: 78px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(250, 249, 247, 0.14) !important;
  box-shadow: none !important;
  z-index: 995 !important;
}

/* Slot 3 (Top): Flatsome Back-to-Top */
a#top-link.back-to-top {
  position: fixed !important;
  right: 23px !important;
  bottom: 130px !important;
  left: auto !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  line-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(250, 249, 247, 0.14) !important;
  border: 1px solid rgba(250, 249, 247, 0.22) !important;
  color: #FAF9F7 !important;
  box-shadow: none !important;
  z-index: 995 !important;
}

a#top-link.back-to-top:hover {
  background: rgba(250, 249, 247, 0.28) !important;
  color: #FFFFFF !important;
}

@media (max-width: 849px) {
  .lg-stage-ambient-bg {
    opacity: 0.12;
  }

  .lg-float-rail-bg {
    right: 12px;
    bottom: 82px;
    width: 48px;
    height: 148px;
  }

  #chat-bubble-root ._bc_cbb {
    right: 15px !important;
    bottom: 88px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  #pushengage-subscriber-recovery-widget {
    --bell-right: 15px !important;
    --bell-bottom: 136px !important;
  }

  #pushengage-subscriber-recovery-widget-bell {
    right: 15px !important;
    bottom: 136px !important;
    width: 40px !important;
    height: 40px !important;
  }

  a#top-link.back-to-top {
    right: 15px !important;
    bottom: 184px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    line-height: 38px !important;
  }
}


/* ==========================================================================
   v2.5.0 SINGLE PRODUCT PAGE (/product/*) — Full-Width Clean Layout,
   Cross-Layer MD Cutout Hero, Anti-Mistake Format Notice, Native Variation Pills
   & Zero-Conflict Mobile Sticky Buy Bar
   ========================================================================== */

body.single-product #main {
  background: linear-gradient(
    180deg,
    #FAF9F7 0%,
    #F4EFE8 22%,
    #FAF9F7 58%,
    #FAF9F7 100%
  );
}

/* Hide Flatsome bulky default page-title & left sidebar on Single Product */
body.single-product .page-title.featured-title,
body.single-product .product-page-title,
body.single-product #product-sidebar,
body.single-product .product-main .col.large-3.hide-for-medium,
body.single-product .product-main > .row > .large-3 {
  display: none !important;
}

body.single-product .product-main > .row {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

body.single-product .product-main > .row > .large-9,
body.single-product .product-main .product-container > .row > .large-9 {
  max-width: 100% !important;
  flex-basis: 100% !important;
  width: 100% !important;
}

body.single-product .product-main {
  position: relative;
  z-index: 3;
  padding-top: 12px !important;
}

/* Editorial Seamless Hero Strip with Enlarged Cross-Layer MD Cutout */
.lg-sp-hero {
  position: relative;
  padding: 108px 0 36px;
  overflow: visible;
  z-index: 2;
}

.lg-sp-ambient {
  position: absolute;
  inset: 0 0 -180px 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
}

.lg-sp-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lg-sp-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--lg-muted);
}

.lg-sp-crumb a {
  color: var(--lg-muted) !important;
  text-decoration: none !important;
}

.lg-sp-crumb a:hover {
  color: var(--lg-ink) !important;
}

.lg-sp-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lg-sp-fmt-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--lg-r-pill);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  background: var(--lg-ink);
  color: var(--lg-bg);
}

.lg-sp-fmt-pill.is-preorder {
  background: #8C6D46;
}

.lg-sp-fmt-pill.is-ebook {
  background: #2D3A4A;
}

.lg-sp-md-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(26, 25, 24, 0.35);
  padding-bottom: 2px;
}

/* Enlarged Cross-Layer Cutout Floating Gently on the Far Right Edge */
.lg-sp-cutout-float {
  position: absolute;
  top: 72px;
  right: max(12px, calc(50% - 760px));
  width: clamp(220px, 20vw, 320px);
  height: clamp(340px, 44vh, 460px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.88;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

.lg-sp-cutout-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 18px 26px rgba(26, 25, 24, 0.2));
}

/* Anti-Mistake Format Notice above Add to Cart */
.lg-sp-format-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 12px 15px;
  border-radius: var(--lg-r-md);
  background: #F4EFE8;
  border: 1px solid var(--lg-line-strong);
}

.lg-sp-format-notice.is-digital {
  background: #EFF3F7;
  border-color: rgba(45, 58, 74, 0.22);
}

.lg-sp-format-notice.is-preorder {
  background: #FBF6EE;
  border-color: rgba(182, 152, 108, 0.45);
}

.lg-sp-fn-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--lg-ink);
}

.lg-sp-format-notice strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lg-ink);
  margin-bottom: 2px;
}

.lg-sp-format-notice span {
  display: block;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--lg-muted);
}

/* Unified Warm-Luxury Variation Pills (Both Native & Swatch Plugin Fallback) */
.lg-sr-select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}

.lg-sp-var-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lg-sp-var-pill,
body.single-product .woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item.button-variable-item {
  appearance: none;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 6px 16px !important;
  margin: 0 !important;
  border-radius: var(--lg-r-pill) !important;
  border: 1px solid var(--lg-line-strong) !important;
  background: var(--lg-surface) !important;
  color: var(--lg-ink) !important;
  font-size: 12px !important;
  letter-spacing: 0.06em;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.lg-sp-var-pill.is-selected,
body.single-product .woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item.button-variable-item.selected {
  background: var(--lg-ink) !important;
  border-color: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
  box-shadow: none !important;
}

.lg-sp-var-pill:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

body.single-product button.single_add_to_cart_button {
  background-color: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
  border-radius: var(--lg-r-pill) !important;
  padding: 0 28px !important;
  height: 44px !important;
  font-size: 12.5px !important;
  letter-spacing: 0.14em !important;
}

body.single-product button.single_add_to_cart_button:hover {
  background-color: #33312E !important;
}

.lg-highlight-pulse {
  outline: 2px solid #8C6D46;
  outline-offset: 6px;
  border-radius: 10px;
}

/* Mobile Sticky Buy Bar (Replaces Generic Mobile Dock on Product Pages — Zero Overlap) */
.lg-sp-mobile-bar {
  display: none;
}

@media (max-width: 849px) {
  .lg-sp-hero {
    padding: 78px 0 14px;
  }

  .lg-sp-cutout-float {
    display: none;
  }

  /* Hide generic 4-item Mobile Dock on Single Product so Sticky Buy Bar never conflicts */
  body.single-product .lg-mobile-dock {
    display: none !important;
  }

  .lg-sp-mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(250, 249, 247, 0.97);
    border: 1px solid rgba(26, 25, 24, 0.14);
    border-radius: 16px;
    box-shadow: 0 14px 32px -12px rgba(26, 25, 24, 0.28);
    box-sizing: border-box;
  }

  .lg-sp-mb-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--lg-line-strong);
    background: #FFFFFF;
    color: var(--lg-ink) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
  }

  .lg-sp-mb-price {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--lg-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lg-sp-mb-price ins {
    text-decoration: none;
    color: var(--lg-ink);
  }

  .lg-sp-mb-price del {
    font-size: 10.5px;
    font-weight: 400;
    color: var(--lg-muted);
    margin-right: 4px;
  }

  .lg-sp-mb-cta {
    flex-shrink: 0;
    height: 40px;
    padding: 0 20px;
    margin: 0;
    border: 1px solid var(--lg-ink);
    border-radius: var(--lg-r-pill);
    background: var(--lg-ink);
    color: var(--lg-bg);
    font-size: 12.5px;
    letter-spacing: 0.1em;
    cursor: pointer;
  }

  .lg-sp-mb-cta.is-soldout {
    background: #FFFFFF;
    color: var(--lg-muted);
    border-color: var(--lg-line-strong);
    cursor: not-allowed;
  }
}


/* ==========================================================================
   v2.5.1 ABOUT PAGE (/about/, ID 84) — Editorial Story & 01-04 Manifesto
   ========================================================================== */

body.page-id-84 #content {
  background: linear-gradient(
    180deg,
    #FAF9F7 0%,
    #F4EFE8 26%,
    #EFEAE2 54%,
    #F7F4EF 78%,
    #FAF9F7 100%
  );
}

.lg-about-hero {
  padding-top: 124px !important;
  padding-bottom: 42px !important;
}

.lg-about-kicker {
  font-family: var(--lg-sans);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--lg-muted);
  margin-bottom: 14px;
}

.lg-about-h1 {
  font-family: var(--lg-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--lg-ink) !important;
  margin: 0 auto 18px;
}

.lg-about-lead {
  font-size: 14.5px;
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: #3E3A36;
  max-width: 680px;
  margin: 0 auto 28px;
}

.lg-about-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lg-about-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: var(--lg-r-pill);
  background: var(--lg-ink);
  border: 1px solid var(--lg-ink);
  color: var(--lg-bg) !important;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lg-about-btn-dark:hover {
  background: #33312E;
  transform: translateY(-1px);
}

/* 4 Staggered Guide Cards */
.lg-about-card-col.is-offset {
  margin-top: 26px;
}

.lg-about-guide-card {
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  overflow: hidden;
  box-shadow: var(--lg-shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lg-about-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lg-shadow-float);
}

.lg-ag-img .img {
  margin-bottom: 0 !important;
}

.lg-ag-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.lg-ag-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lg-ag-kicker {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--lg-muted);
  margin-bottom: 6px;
}

.lg-ag-body h3 {
  font-family: var(--lg-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--lg-ink);
  margin: 0 0 10px;
}

.lg-ag-body p {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--lg-muted);
  margin: 0 0 16px;
  flex: 1;
}

.lg-ag-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 7px 15px;
  border-radius: var(--lg-r-pill);
  border: 1px solid var(--lg-line-strong);
  background: var(--lg-bg);
  color: var(--lg-ink) !important;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.lg-ag-cta:hover {
  background: var(--lg-ink);
  border-color: var(--lg-ink);
  color: var(--lg-bg) !important;
}

/* 01-04 Editorial Pillars Grid */
.lg-about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.lg-ap-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  padding: 28px 30px;
  box-shadow: var(--lg-shadow-soft);
}

.lg-ap-num {
  display: inline-block;
  font-family: var(--lg-serif);
  font-size: 28px;
  line-height: 1;
  color: #8C6D46;
  margin-bottom: 10px;
}

.lg-ap-card h3 {
  font-family: var(--lg-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--lg-ink);
  margin: 0 0 8px;
}

.lg-ap-card p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--lg-muted);
  margin: 0;
}

.lg-about-contact-bar {
  margin-top: 24px;
}

@media (max-width: 849px) {
  .lg-about-hero {
    padding-top: 94px !important;
    padding-bottom: 24px !important;
  }

  .lg-about-card-col.is-offset {
    margin-top: 0;
  }

  .lg-about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lg-ap-card {
    padding: 22px 20px;
  }

  .lg-ag-cta {
    align-self: flex-end;
  }
}


/* ==========================================================================
   v2.5.2 ABOUT PAGE UPGRADE — 3D Circular Auto-Rotating Blurred Cutout Ring,
   Icon Capsules & Clean 2x2 Pillars Grid
   ========================================================================== */

body.page-id-84 {
  overflow-x: hidden;
}

.lg-about-hero {
  position: relative;
  min-height: clamp(470px, 64vh, 620px);
  display: flex;
  align-items: center;
  overflow: visible !important;
  z-index: 2;
  padding-top: 132px !important;
  padding-bottom: 64px !important;
}

.lg-about-hero .section-content {
  position: relative;
  z-index: 5;
}

.lg-about-hero-row {
  position: relative;
  z-index: 6;
}

.lg-about-guide-sec {
  position: relative;
  z-index: 4;
}

/* Soft center ivory halo so Hero text stays 100% legible over rotating cutouts */
.lg-about-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 920px;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 42% at 50% 34%, rgba(250, 249, 247, 0.88) 0%, rgba(250, 249, 247, 0.42) 56%, rgba(250, 249, 247, 0) 100%),
    linear-gradient(180deg, rgba(250, 249, 247, 0) 64%, #F4EFE8 100%);
}

/* Full-width (100vw) 3D Circular Auto-Rotating Cutout Ring extending down into Banner 2 */
.lg-about-orbit {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 960px;
  z-index: 0;
  perspective: 1550px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.34;
  filter: blur(2.6px);
  -webkit-mask-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.78) 65%, transparent 100%);
  mask-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.78) 65%, transparent 100%);
}

.lg-about-orbit-ring {
  position: relative;
  width: 340px;
  height: 580px;
  transform-style: preserve-3d;
  animation: lg-about-orbit-spin 46s linear infinite;
  will-change: transform;
}

.lg-orbit-item {
  position: absolute;
  inset: 0;
  transform: rotateY(var(--lg-angle)) translateZ(880px);
  backface-visibility: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.lg-orbit-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes lg-about-orbit-spin {
  from {
    transform: rotateX(-14deg) rotateY(0deg);
  }
  to {
    transform: rotateX(-14deg) rotateY(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lg-about-orbit-ring {
    animation: none;
  }
}

/* Guide Card Kicker Pill with Icon */
.lg-ag-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--lg-r-pill);
  background: #F4EFE8;
  border: 1px solid var(--lg-line);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--lg-muted);
  margin-bottom: 10px;
}

.lg-ag-kicker svg {
  flex-shrink: 0;
  color: #8C6D46;
}

/* Fix 2x2 Pillars Grid (prevent any stray empty <p> from breaking 2x2 symmetry) */
.lg-about-pillars-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.lg-about-pillars-grid > p:empty,
.lg-about-pillars-grid > br {
  display: none !important;
}

.lg-ap-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lg-ap-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 13px;
  margin-bottom: 14px;
  border-radius: var(--lg-r-pill);
  background: #F4EFE8;
  border: 1px solid rgba(182, 152, 108, 0.35);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #7A6345;
}

.lg-ap-badge svg {
  flex-shrink: 0;
  color: #8C6D46;
}

@media (max-width: 849px) {
  .lg-about-hero {
    min-height: 410px;
    padding-top: 100px !important;
    padding-bottom: 36px !important;
  }

  /* Lightweight mobile 3D ring: no heavy blur filter, smaller radius */
  .lg-about-orbit {
    filter: none;
    opacity: 0.16;
  }

  .lg-about-orbit-ring {
    width: 150px;
    height: 250px;
  }

  .lg-orbit-item {
    transform: rotateY(var(--lg-angle)) translateZ(260px);
  }

  .lg-about-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}


/* About Hero Compact Dark Wordmark Lockup (matches Homepage Logo layout, clean specificity) */
.lg-about-h1 .lg-about-wordmark {
  position: relative;
  display: inline-block;
  padding-bottom: clamp(10px, 1.3vw, 16px);
  margin: 0 0 10px;
}

.lg-about-h1 .lg-awm-en {
  display: block;
  font-family: "Righteous", var(--lg-sans);
  font-size: clamp(54px, 7vw, 84px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.9;
  color: var(--lg-ink);
}

.lg-about-h1 .lg-awm-jp {
  position: absolute;
  right: 0.06em;
  bottom: 0;
  font-family: var(--lg-sans);
  font-size: clamp(11px, 1.3vw, 15px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--lg-ink);
  white-space: nowrap;
}

.lg-about-h1 .lg-about-tagline {
  display: block;
  font-family: var(--lg-serif);
  font-size: clamp(17px, 2.1vw, 24px);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--lg-ink);
  margin-top: 8px;
}

/* Mobile Fixes (v2.5.7): Tight About Hero + Orbit in Banner 1 + Left-Aligned Full-Size Mobile Logo */
@media (max-width: 849px) {
  /* Mobile Header: Keep Logo crisp & left-aligned, never shrink to tiny size on scroll */
  .header-main {
    height: 52px !important;
  }

  .stuck .header-main {
    height: 48px !important;
    border-radius: 14px !important;
  }

  .header-main .flex-left.show-for-medium {
    display: none !important;
  }

  .header-main #logo {
    margin-left: 6px !important;
    margin-right: auto !important;
    text-align: left !important;
    width: auto !important;
  }

  .header-main #logo a {
    display: inline-flex;
    align-items: center;
  }

  .header-main #logo img,
  .stuck .header-main #logo img {
    max-height: 32px !important;
    height: 32px !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* About Mobile Hero: Trim excess top/middle whitespace & keep 3D orbit right inside Banner 1 */
  .lg-about-hero {
    min-height: 0 !important;
    padding-top: 26px !important;
    padding-bottom: 28px !important;
  }

  .lg-about-kicker {
    margin-bottom: 8px;
  }

  .lg-about-orbit {
    top: 0;
    height: 380px;
  }

  .lg-about-hero::after {
    height: 420px;
  }
}


/* ==========================================================================
   v2.5.8 MOBILE HEADER TRANSLATE GLOBE ICON (Next to Hamburger Menu)
   ========================================================================== */

.lg-mobile-translate-item {
  display: none;
}

@media (max-width: 849px) {
  .lg-mobile-translate-item {
    display: inline-flex;
    align-items: center;
    margin-right: 2px;
  }

  .lg-mobile-translate-btn {
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    color: rgba(250, 249, 247, 0.88) !important;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
  }

  .lg-mobile-translate-btn:active {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #FFFFFF !important;
  }

  /* Hide clunky bottom-left floating Translate button on mobile (triggered cleanly from header icon) */
  #glt-translate-trigger {
    opacity: 0 !important;
    pointer-events: none !important;
    left: -9999px !important;
  }
}


/* ==========================================================================
   v2.5.9 FIXES — Wordmark br guard + Mobile Translate Top-Right Popup Positioning
   ========================================================================== */

.lg-about-wordmark br,
.lg-hero-wordmark br {
  display: none !important;
}

.lg-about-h1 .lg-about-wordmark {
  padding-bottom: 12px;
}

.lg-about-h1 .lg-awm-jp {
  bottom: -2px;
}

@media (max-width: 849px) {
  /* Pin Google Language Translator language popup cleanly beneath the top-right Globe icon */
  .tool-container,
  .tool-container.tool-top,
  .tool-container.tool-bottom {
    position: fixed !important;
    top: 66px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 99999 !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 42px -12px rgba(26, 25, 24, 0.38) !important;
    pointer-events: auto !important;
  }

  .tool-container .arrow {
    display: none !important;
  }
}


/* ==========================================================================
   v2.6.0 UNIFIED TRANSLATE GLOBE ICON (Desktop & Mobile) — Zero Bottom-Left Box
   ========================================================================== */

#glt-translate-trigger {
  opacity: 0 !important;
  pointer-events: none !important;
  left: -9999px !important;
  bottom: 0 !important;
}

.lg-translate-icon-btn {
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  color: rgba(250, 249, 247, 0.88) !important;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lg-translate-icon-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
}

/* Pin Google Language Translator language popup cleanly beneath the top-right Globe icon on Desktop & Mobile */
.tool-container,
.tool-container.tool-top,
.tool-container.tool-bottom {
  position: fixed !important;
  top: 84px !important;
  right: max(18px, calc(50% - 620px)) !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 99999 !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 42px -12px rgba(26, 25, 24, 0.38) !important;
  pointer-events: auto !important;
}

.tool-container .arrow {
  display: none !important;
}

@media (max-width: 849px) {
  .tool-container,
  .tool-container.tool-top,
  .tool-container.tool-bottom {
    top: 66px !important;
    right: 12px !important;
  }
}


/* ==========================================================================
   v2.6.1 FAQ AEO HUB (/faq/) + Desktop Translate Nav Item
   ========================================================================== */

.lg-desktop-translate-item {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

body.category-faq #main {
  background: linear-gradient(
    180deg,
    #FAF9F7 0%,
    #F4EFE8 26%,
    #FAF9F7 68%,
    #FAF9F7 100%
  );
}

/* Hide redundant default Flatsome blog category header on /faq/ */
body.category-faq .blog-archive-header,
body.category-faq .page-title.blog-featured-title,
body.category-faq .archive-page-header {
  display: none !important;
}

.lg-faq-hub {
  padding-top: 112px;
  font-family: var(--lg-sans);
  color: var(--lg-ink);
}

.lg-faq-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

.lg-faq-hero {
  text-align: center;
  padding: 20px 0 36px;
}

.lg-faq-kicker {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--lg-muted);
  margin-bottom: 12px;
}

.lg-faq-h1 {
  font-family: var(--lg-serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--lg-ink) !important;
  margin: 0 0 16px;
}

.lg-faq-lead {
  font-size: 14px;
  line-height: 1.9;
  color: #46423D;
  max-width: 740px;
  margin: 0 auto 24px;
}

.lg-faq-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lg-faq-tab {
  appearance: none;
  padding: 7px 16px;
  margin: 0;
  border-radius: var(--lg-r-pill);
  border: 1px solid var(--lg-line-strong);
  background: var(--lg-surface);
  color: var(--lg-ink);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.lg-faq-tab:hover,
.lg-faq-tab.is-active {
  background: var(--lg-ink);
  border-color: var(--lg-ink);
  color: var(--lg-bg);
}

.lg-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.lg-faq-item {
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  box-shadow: var(--lg-shadow-soft);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.lg-faq-item[open] {
  border-color: rgba(182, 152, 108, 0.55);
}

.lg-faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
}

.lg-faq-q::-webkit-details-marker {
  display: none;
}

.lg-faq-q-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lg-faq-tag {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: var(--lg-r-pill);
  background: #F4EFE8;
  color: #7A6345;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.lg-faq-q-title {
  font-family: var(--lg-sans);
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--lg-ink) !important;
  margin: 0 !important;
  line-height: 1.45;
}

.lg-faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lg-bg);
  border: 1px solid var(--lg-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--lg-ink);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lg-faq-item[open] .lg-faq-chevron {
  transform: rotate(45deg);
  background: var(--lg-ink);
  border-color: var(--lg-ink);
  color: var(--lg-bg);
}

.lg-faq-a {
  padding: 0 22px 20px 22px;
  border-top: 1px solid var(--lg-line);
  padding-top: 14px;
}

.lg-faq-a p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #46423D;
  margin: 0 0 12px;
}

.lg-faq-more {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #7A6345 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(122, 99, 69, 0.45);
  padding-bottom: 2px;
}

.lg-faq-support {
  margin-bottom: 42px;
}

.lg-faq-articles-head {
  margin-bottom: 16px;
}

/* Soft-radius polish for the 5 detailed FAQ post cards below */
body.category-faq .blog-wrapper {
  max-width: 1020px;
  margin: 0 auto;
  padding-top: 0 !important;
}

body.category-faq .post-item .col-inner {
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  overflow: hidden;
  box-shadow: var(--lg-shadow-soft);
}

@media (max-width: 849px) {
  .lg-faq-hub {
    padding-top: 84px;
  }

  .lg-faq-q {
    padding: 15px 16px;
  }

  .lg-faq-q-title {
    font-size: 14px !important;
  }

  .lg-faq-a {
    padding: 12px 16px 16px;
  }
}


/* ==========================================================================
   v2.6.2 TRANSLATE RESET BADGE (×) + EDITORIAL CROSS-LAYER 4:8 FAQ HUB
   & ZERO-DUPLICATE-IMAGE EDITORIAL INDEX LIST
   ========================================================================== */

/* 1. Translate Reset-to-Traditional-Chinese Badge (×) */
.lg-translate-icon-btn {
  position: relative;
}

.lg-tr-reset {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #C4533E;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

/* 2. Editorial Cross-Layer 4:8 FAQ Hub */
body.category-faq {
  overflow-x: hidden;
}

/* Hide Flatsome's repetitive default blog cards on /faq/ (replaced by our Editorial Index List) */
body.category-faq .blog-wrapper {
  display: none !important;
}

.lg-faq-hub.lg-faq-v2 {
  padding-top: 0;
  padding-bottom: 56px;
}

.lg-faq-wide {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

.lg-faq-hero-v2 {
  position: relative;
  padding: 132px 0 74px;
  overflow: hidden;
}

.lg-faq-ambient {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 65%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 65%, transparent 100%);
}

.lg-faq-cutout {
  position: absolute;
  top: 76px;
  right: max(18px, calc(50% - 620px));
  width: 240px;
  height: 360px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 100%);
}

.lg-faq-cutout img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.lg-faq-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.lg-faq-hero-v2 .lg-faq-lead {
  margin: 0;
}

/* Cross-Layer Floating Search & Filter Bar */
.lg-faq-float-bar-wrap {
  position: relative;
  z-index: 10;
  margin-top: -36px;
  margin-bottom: 36px;
}

.lg-faq-float-bar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--lg-r-lg);
  box-shadow: var(--lg-shadow-float);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.lg-faq-search-wrap {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 40px;
  border-radius: var(--lg-r-pill);
  background: var(--lg-bg);
  border: 1px solid var(--lg-line-strong);
  color: var(--lg-muted);
}

.lg-faq-search {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  font-size: 13px !important;
  color: var(--lg-ink) !important;
  outline: none;
}

/* Asymmetric 4 : 8 Two-Column Layout */
.lg-faq-grid-2col {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 56px;
}

.lg-faq-aside {
  position: sticky;
  top: 96px;
}

.lg-faq-concierge {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  padding: 26px 24px;
  box-shadow: var(--lg-shadow-soft);
}

.lg-faq-aside-title {
  font-family: var(--lg-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--lg-ink);
  margin: 6px 0 10px;
}

.lg-faq-aside-desc {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--lg-muted);
  margin: 0 0 18px;
}

.lg-faq-aside-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.lg-faq-aside-btns a {
  width: 100%;
  justify-content: center;
}

.lg-faq-aside-mail {
  padding-top: 14px;
  border-top: 1px solid var(--lg-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--lg-muted);
}

.lg-faq-aside-mail a {
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  font-weight: 500;
}

/* Numbered Q01-Q10 Accordion Cards */
.lg-faq-q-left {
  align-items: flex-start;
  flex-wrap: nowrap;
}

.lg-faq-num {
  flex-shrink: 0;
  font-family: var(--lg-serif);
  font-size: 20px;
  line-height: 1.2;
  color: #8C6D46;
  min-width: 34px;
}

.lg-faq-q-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.lg-faq-a {
  padding: 14px 22px 20px 68px;
}

.lg-faq-empty {
  padding: 32px 20px;
  text-align: center;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  font-size: 13.5px;
  color: var(--lg-muted);
}

/* 3. Zero-Duplicate-Image Editorial Index List for 5 Detailed Guides */
.lg-faq-index-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lg-faq-index-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: var(--lg-shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.lg-faq-index-row:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 152, 108, 0.55);
  box-shadow: var(--lg-shadow-float);
}

.lg-fi-num {
  font-family: var(--lg-serif);
  font-size: 28px;
  line-height: 1;
  color: #8C6D46;
}

.lg-fi-body h3 {
  font-family: var(--lg-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--lg-ink);
  margin: 0 0 6px;
  line-height: 1.4;
}

.lg-fi-body p {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--lg-muted);
  margin: 0;
}

.lg-fi-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  white-space: nowrap;
}

.lg-fi-date {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lg-muted);
}

.lg-fi-cta {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--lg-ink);
}

@media (max-width: 849px) {
  .lg-faq-wide {
    padding: 0 16px;
  }

  .lg-faq-hero-v2 {
    padding: 88px 0 44px;
  }

  .lg-faq-cutout {
    display: none;
  }

  .lg-faq-float-bar-wrap {
    margin-top: -22px;
    margin-bottom: 24px;
  }

  .lg-faq-float-bar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
    padding: 14px;
  }

  .lg-faq-grid-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lg-faq-aside {
    position: static;
    order: 2;
  }

  .lg-faq-a {
    padding: 12px 16px 16px;
  }

  .lg-faq-index-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 18px;
  }

  .lg-fi-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--lg-line);
  }
}


/* ==========================================================================
   v2.6.4 FAQ COVER MUSE UPGRADE — 2x Enlarged Right-Overflow Cutout (Lowered
   Below Header) + Echoing Cover Muse Card Below Sticky Concierge Sidebar
   ========================================================================== */

.lg-faq-hero-v2 {
  overflow: visible !important;
}

.lg-faq-cutout {
  top: 108px;
  right: max(-48px, calc(50% - 760px));
  width: clamp(360px, 32vw, 490px);
  height: clamp(500px, 56vh, 640px);
  opacity: 0.72;
  z-index: 2;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

.lg-faq-cutout img {
  filter: drop-shadow(0 20px 30px rgba(26, 25, 24, 0.22));
}

.lg-faq-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lg-faq-muse-card {
  display: flex;
  flex-direction: column;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-lg);
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: var(--lg-shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.lg-faq-muse-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lg-shadow-float);
}

.lg-fm-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #EFEAE2;
}

.lg-fm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-faq-muse-card:hover .lg-fm-img img {
  transform: scale(1.04);
}

.lg-fm-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--lg-r-pill);
  background: rgba(26, 25, 24, 0.84);
  color: #FAF9F7;
  font-size: 9.5px;
  letter-spacing: 0.14em;
}

.lg-fm-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lg-fm-body strong {
  font-family: var(--lg-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--lg-ink);
}

.lg-fm-body span {
  font-size: 11.5px;
  color: var(--lg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lg-fm-body em {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #7A6345;
  margin-top: 6px;
}

@media (max-width: 849px) {
  .lg-faq-muse-card {
    flex-direction: row;
    align-items: stretch;
  }

  .lg-fm-img {
    flex: 0 0 104px;
    aspect-ratio: auto;
    height: 124px;
  }

  .lg-fm-badge {
    display: none;
  }

  .lg-fm-body {
    justify-content: center;
    padding: 12px 14px;
  }
}


/* v2.6.5 FAQ Cutout Slight Editorial Rotation + Side Name Caption */
.lg-faq-cutout {
  transform: rotate(-5deg);
  transform-origin: center 65%;
}

.lg-faq-cutout-name {
  position: absolute;
  left: -18px;
  top: 26%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--lg-serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(26, 25, 24, 0.58);
  background: rgba(250, 249, 247, 0.72);
  padding: 10px 5px;
  border-radius: 999px;
  border: 1px solid rgba(26, 25, 24, 0.1);
  pointer-events: none;
}


/* v2.6.6 FAQ z-index fix: Q&A cards strictly above cutout; caption clearly visible */
.lg-faq-hero-v2 {
  position: relative;
  z-index: 1;
}

.lg-faq-grid-2col,
.lg-faq-index-sec {
  position: relative;
  z-index: 8;
}

.lg-faq-cutout-name {
  top: 8%;
  left: -22px;
  color: rgba(26, 25, 24, 0.78);
  background: rgba(250, 249, 247, 0.92);
}


/* ==========================================================================
   v2.7.0 CONTACT PAGE (/contact/, ID 88) — 5:7 Dark Concierge + Warm CF7 Card
   ========================================================================== */

body.page-id-88 #content {
  background: linear-gradient(
    180deg,
    #FAF9F7 0%,
    #F4EFE8 35%,
    #FAF9F7 100%
  );
}

.lg-contact-hero {
  padding-top: 128px !important;
  padding-bottom: 34px !important;
}

.lg-contact-crumb {
  font-size: 12px;
  color: var(--lg-muted);
  margin-bottom: 12px;
}

.lg-contact-crumb a {
  color: var(--lg-muted) !important;
  text-decoration: none !important;
}

.lg-contact-kicker {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--lg-muted);
  margin-bottom: 10px;
}

.lg-contact-h1 {
  font-family: var(--lg-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--lg-ink) !important;
  margin: 0 0 14px;
}

.lg-contact-lead {
  font-size: 14px;
  line-height: 1.9;
  color: #46423D;
  max-width: 660px;
  margin: 0 auto;
}

.lg-contact-main-sec {
  padding-bottom: 72px !important;
}

.lg-contact-shell {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--lg-shadow-float);
  border: 1px solid var(--lg-line);
}

.lg-contact-dark {
  background: #1A1918;
  color: rgba(250, 249, 247, 0.88);
  padding: 42px 38px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lg-cd-logo .img {
  margin: 0 0 22px !important;
}

.lg-cd-logo img {
  filter: none !important;
  opacity: 0.94;
}

.lg-cd-kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(250, 249, 247, 0.5);
  margin-bottom: 6px;
}

.lg-cd-title {
  font-family: var(--lg-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #FAF9F7 !important;
  margin: 0 0 24px;
}

.lg-cd-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.lg-cd-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.lg-cd-num {
  flex-shrink: 0;
  font-family: var(--lg-serif);
  font-size: 20px;
  line-height: 1.1;
  color: #C9A97E;
  min-width: 26px;
}

.lg-cd-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #FAF9F7;
  margin-bottom: 4px;
}

.lg-cd-item p {
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(250, 249, 247, 0.68);
  margin: 0 0 8px;
}

.lg-cd-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lg-cd-links a {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--lg-r-pill);
  border: 1px solid rgba(250, 249, 247, 0.24);
  color: #FAF9F7 !important;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.lg-cd-links a:hover {
  background: #FAF9F7;
  color: #1A1918 !important;
}

.lg-cd-footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 249, 247, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lg-cd-email span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(250, 249, 247, 0.5);
  margin-bottom: 4px;
}

.lg-cd-email a {
  font-size: 15px;
  color: #FAF9F7 !important;
  text-decoration: none !important;
}

.lg-cd-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.lg-cd-socials a {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(250, 249, 247, 0.72) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(250, 249, 247, 0.26);
  padding-bottom: 2px;
}

.lg-cd-socials a:hover {
  color: #FFFFFF !important;
}

/* Right Form Card & CF7 Soft-Radius Polish */
.lg-contact-form-card {
  background: #FFFFFF;
  padding: 42px 44px;
  height: 100%;
}

.lg-cf-head {
  margin-bottom: 24px;
}

.lg-cf-head h2 {
  font-family: var(--lg-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--lg-ink);
  margin: 6px 0 8px;
}

.lg-cf-head p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--lg-muted);
  margin: 0;
}

.lg-contact-form-card .wpcf7 label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--lg-ink);
}

.lg-contact-form-card .wpcf7 input[type="text"],
.lg-contact-form-card .wpcf7 input[type="email"],
.lg-contact-form-card .wpcf7 input[type="tel"],
.lg-contact-form-card .wpcf7 input[type="url"],
.lg-contact-form-card .wpcf7 select,
.lg-contact-form-card .wpcf7 textarea {
  background: var(--lg-bg) !important;
  border: 1px solid var(--lg-line-strong) !important;
  border-radius: var(--lg-r-md) !important;
  box-shadow: none !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  color: var(--lg-ink) !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lg-contact-form-card .wpcf7 input:focus,
.lg-contact-form-card .wpcf7 textarea:focus {
  background: #FFFFFF !important;
  border-color: var(--lg-ink) !important;
}

.lg-contact-form-card .wpcf7 input[type="submit"],
.lg-contact-form-card .wpcf7 button[type="submit"] {
  background: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
  border: 1px solid var(--lg-ink) !important;
  border-radius: var(--lg-r-pill) !important;
  padding: 0 32px !important;
  height: 44px !important;
  font-size: 12.5px !important;
  letter-spacing: 0.16em !important;
  cursor: pointer;
}

.lg-contact-form-card .wpcf7 input[type="submit"]:hover {
  background: #33312E !important;
}

@media (max-width: 849px) {
  .lg-contact-hero {
    padding-top: 32px !important;
    padding-bottom: 20px !important;
  }

  .lg-contact-shell {
    border-radius: 16px;
    margin: 0 12px !important;
  }

  .lg-contact-dark,
  .lg-contact-form-card {
    padding: 26px 20px;
  }

  .lg-contact-form-card .wpcf7 input[type="submit"] {
    display: block;
    margin-left: auto !important;
  }
}


/* ==========================================================================
   v2.7.4 CUTOUT VISUAL AREA AUTO-BALANCER & CARD-EDGE ALIGNMENT
   ========================================================================== */

.lg-cutout-wrap.is-wide {
  align-items: center;
}

.lg-cutout-wrap.is-wide img {
  max-width: 118%;
  max-height: 94%;
  width: auto;
  height: auto;
}

.lg-cutout-wrap.is-landscape {
  align-items: center;
}

.lg-cutout-wrap.is-landscape img {
  max-width: 132%;
  max-height: 88%;
  width: auto;
  height: auto;
}

/* Shop Runway Left-Aligned Mode:
   - height: 86% (with active scale 1.14 -> 98%) guarantees tall portraits (010)
     shrink ~10% and never touch the top floating menu bar.
   - align-items: center + slight bottom lift raises seated/wide/landscape poses
     (005, 006, 009, 016, 025) into the visual sweet spot.
   - Left edge anchored cleanly beside the feature card (+5px clearance). */
.lg-shop-showcase.lg-align-left .lg-md-card {
  left: calc(max(20px, 50% - 630px) + clamp(320px, 28vw, 410px) + clamp(210px, 20vw, 290px));
  top: 52%;
  width: clamp(360px, 35vw, 500px);
  height: 86%;
}

.lg-shop-showcase.lg-align-left .lg-cutout-wrap {
  justify-content: center;
  align-items: center;
}

.lg-shop-showcase.lg-align-left .lg-cutout-wrap img {
  object-position: center center;
}

.lg-shop-showcase.lg-align-left .lg-cutout-wrap.is-wide {
  padding-bottom: 4%;
}

.lg-shop-showcase.lg-align-left .lg-cutout-wrap.is-landscape {
  padding-bottom: 6%;
}

@media (max-width: 849px) {
  .lg-shop-showcase.lg-align-left .lg-md-card {
    left: 50%;
    top: 52%;
    width: clamp(260px, 76vw, 360px);
    height: 86%;
  }

  .lg-shop-showcase.lg-align-left .lg-cutout-wrap {
    justify-content: center;
  }

  .lg-shop-showcase.lg-align-left .lg-cutout-wrap img {
    object-position: center center;
  }

  .lg-cutout-wrap.is-wide img {
    max-width: 114%;
    max-height: 86%;
  }

  .lg-cutout-wrap.is-landscape img {
    max-width: 122%;
    max-height: 78%;
  }
}

/* ==========================================================================
   v2.7.5 SEAMLESS BOTTOM FADE ON SHOP RUNWAY STAGE (Zero Hard Divider Line)
   ========================================================================== */

.lg-shop-showcase .lg-runway-stage {
  background: transparent;
}

.lg-shop-showcase .lg-runway-cards {
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.lg-stage-ambient-bg {
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.48) 54%, rgba(0, 0, 0, 0.12) 78%, transparent 96%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.48) 54%, rgba(0, 0, 0, 0.12) 78%, transparent 96%);
}


/* ==========================================================================
   v2.8.0 CONTACT — Warm Editorial Twin Cards, Select Fix, Math Captcha
   ========================================================================== */

.lg-contact-shell {
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  border-radius: 0 !important;
}

.lg-contact-shell .col-inner {
  height: 100%;
}

.lg-contact-info-card,
.lg-contact-form-card {
  border-radius: 18px;
  border: 1px solid var(--lg-line);
  box-shadow: var(--lg-shadow-soft);
  height: 100%;
  box-sizing: border-box;
}

.lg-contact-info-card {
  background: linear-gradient(160deg, #F6F1E9 0%, #EFE8DD 100%);
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  color: #2B2824;
}

.lg-cd-wordmark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 26px;
}

.lg-cd-wordmark span {
  font-family: 'Righteous', var(--lg-sans);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--lg-ink);
  line-height: 1;
}

.lg-cd-wordmark small {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #8C6D46;
}

.lg-contact-info-card .lg-cd-kicker {
  color: var(--lg-muted);
}

.lg-contact-info-card .lg-cd-title {
  color: var(--lg-ink) !important;
}

.lg-contact-info-card .lg-cd-num {
  color: #9A7B52;
}

.lg-contact-info-card .lg-cd-item strong {
  color: var(--lg-ink);
}

.lg-contact-info-card .lg-cd-item p {
  color: #5B554E;
}

.lg-contact-info-card .lg-cd-links a {
  color: var(--lg-ink) !important;
  border-color: rgba(26, 25, 24, 0.22);
  background: rgba(255, 255, 255, 0.55);
}

.lg-contact-info-card .lg-cd-links a:hover {
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
}

.lg-contact-info-card .lg-cd-footer {
  border-top-color: rgba(26, 25, 24, 0.12);
}

.lg-contact-info-card .lg-cd-email span {
  color: var(--lg-muted);
}

.lg-contact-info-card .lg-cd-email a {
  color: var(--lg-ink) !important;
}

.lg-contact-info-card .lg-cd-socials a {
  color: #4A453F !important;
  border-bottom-color: rgba(26, 25, 24, 0.28);
}

.lg-contact-info-card .lg-cd-socials a:hover {
  color: var(--lg-ink) !important;
}

/* CF7 fields: uniform height, dropdown text never clipped */
.lg-contact-form-card .wpcf7 input[type="text"],
.lg-contact-form-card .wpcf7 input[type="email"],
.lg-contact-form-card .wpcf7 input[type="tel"],
.lg-contact-form-card .wpcf7 input[type="url"],
.lg-contact-form-card .wpcf7 input[type="number"] {
  height: 46px !important;
  min-height: 46px !important;
  margin-bottom: 14px !important;
}

.lg-contact-form-card .wpcf7 select {
  height: 46px !important;
  min-height: 46px !important;
  line-height: 1.4 !important;
  padding: 8px 36px 8px 14px !important;
  margin-bottom: 14px !important;
  width: 100%;
  text-overflow: ellipsis;
  overflow: visible !important;
}

.lg-contact-form-card .wpcf7 textarea {
  min-height: 150px;
  margin-bottom: 14px !important;
}

/* Math captcha (anti-bot) */
.lg-contact-form-card .wpcf7 [class*="mathcaptcha"],
.lg-contact-form-card .wpcf7 .mathcaptcha-form {
  display: block;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--lg-ink);
}

.lg-contact-form-card .wpcf7 [class*="mathcaptcha"] input[type="text"],
.lg-contact-form-card .wpcf7 [class*="mathcaptcha"] input[type="number"] {
  width: 110px !important;
  display: inline-block;
  margin: 0 0 0 8px !important;
  text-align: center;
}

.lg-contact-form-card .wpcf7 .wpcf7-acceptance {
  font-size: 12px;
  color: var(--lg-muted);
}

/* ==========================================================================
   v2.8.0 SINGLE PRODUCT — Editorial Shell, Price Above Buy, Same-MD Strip
   ========================================================================== */

body.single-product .product-main > .row {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--lg-line);
  border-radius: 22px;
  box-shadow: var(--lg-shadow-float);
  padding: 34px 26px 30px;
  align-items: flex-start;
}

body.single-product .product-main .product-gallery,
body.single-product .product-main .product-info {
  padding-bottom: 0;
}

body.single-product .product-main .product-info {
  position: sticky;
  top: 108px;
  align-self: flex-start;
}

body.single-product .product-gallery .woocommerce-product-gallery__image,
body.single-product .product-gallery .woocommerce-product-gallery__image img,
body.single-product .product-gallery .product-images .image-tools {
  border-radius: 14px;
}

body.single-product .product-gallery .woocommerce-product-gallery__image {
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(26, 25, 24, 0.34);
}

body.single-product .product-thumbnails .col a {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--lg-line);
}

body.single-product .product-thumbnails .is-nav-selected a {
  border-color: var(--lg-ink);
}

body.single-product .product-info h1.product-title {
  font-family: var(--lg-serif);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--lg-ink);
  margin: 0 0 14px;
}

body.single-product .product-info .product-short-description,
body.single-product .product-info .woocommerce-product-details__short-description {
  font-size: 13px;
  line-height: 1.85;
  color: #4A453F;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--lg-line);
}

/* Price block: sits right above format notice & pills */
body.single-product .product-info .price-wrapper {
  margin: 18px 0 4px;
}

body.single-product .product-info .price-wrapper .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--lg-serif);
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--lg-ink);
}

body.single-product .product-info .price-wrapper .price del {
  font-size: 15px;
  color: var(--lg-muted);
  opacity: 0.8;
}

body.single-product .product-info .price-wrapper .price ins {
  text-decoration: none;
  color: var(--lg-ink);
}

body.single-product .product-info table.variations th.label,
body.single-product .product-info table.variations label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lg-muted);
  font-weight: 500;
}

body.single-product .product-info form.cart .single_add_to_cart_button {
  width: 100%;
  height: 50px !important;
  margin: 8px 0 0 !important;
}

/* Trust bar (SVG icons) */
.lg-prod-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 20px;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-md);
  background: #FBF8F3;
  overflow: hidden;
}

.lg-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
}

.lg-trust-item + .lg-trust-item {
  border-top: 1px solid var(--lg-line);
}

.lg-trust-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--lg-line-strong);
  color: #8C6D46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lg-trust-item strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--lg-ink);
}

.lg-trust-item span:not(.lg-trust-ico) {
  display: block;
  font-size: 11px;
  color: var(--lg-muted);
}

/* Hero ghost MD name behind breadcrumb */
.lg-sp-ghost {
  position: absolute;
  left: max(15px, calc(50% - 630px));
  top: 56px;
  z-index: 0;
  font-family: var(--lg-serif);
  font-size: clamp(64px, 9vw, 132px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(26, 25, 24, 0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* Full-width Same-MD strip */
.lg-same-md-strip {
  max-width: 1260px;
  margin: 44px auto 12px;
  padding: 0 15px;
}

.lg-same-md-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.lg-same-md-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.lg-sm-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none !important;
  color: var(--lg-ink) !important;
}

.lg-sm-img {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #F2ECE4;
  box-shadow: 0 16px 34px -22px rgba(26, 25, 24, 0.36);
}

.lg-sm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-sm-card:hover .lg-sm-img img {
  transform: scale(1.05);
}

.lg-sm-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border-radius: var(--lg-r-sm);
  background: rgba(250, 249, 247, 0.94);
  color: var(--lg-ink);
}

.lg-sm-title {
  font-size: 12.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lg-sm-price {
  font-size: 12px;
  color: var(--lg-muted);
}

.lg-sm-price ins {
  text-decoration: none;
  color: var(--lg-ink);
}

@media (max-width: 849px) {
  body.single-product .product-main > .row {
    border-radius: 16px;
    padding: 18px 8px 20px;
    margin: 0 10px;
  }

  body.single-product .product-main .product-info {
    position: static;
  }

  .lg-sp-ghost {
    top: 70px;
    font-size: 56px;
  }

  .lg-same-md-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .lg-same-md-strip-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   v2.8.0 NEWS (/news/) — Editorial Journal Header & Soft-Radius Post Cards
   ========================================================================== */

body.blog #main,
body.archive.category #main {
  background: linear-gradient(180deg, #FAF9F7 0%, #F4EFE8 30%, #FAF9F7 100%);
}

body.blog .page-title,
body.blog .blog-featured-title {
  display: none !important;
}

.lg-news-hero {
  padding: 112px 15px 18px;
  text-align: center;
}

.lg-news-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.lg-news-hero .lg-sp-crumb {
  justify-content: center;
  margin-bottom: 16px;
}

.lg-news-kicker {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--lg-muted);
  margin-bottom: 10px;
}

.lg-news-h1 {
  font-family: var(--lg-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--lg-ink) !important;
  margin: 0 0 14px;
}

.lg-news-lead {
  font-size: 14px;
  line-height: 1.9;
  color: #46423D;
  margin: 0 auto 20px;
}

.lg-news-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.lg-news-pills a {
  padding: 6px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-radius: var(--lg-r-pill);
  border: 1px solid var(--lg-line-strong);
  background: #FFFFFF;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.lg-news-pills a:hover,
.lg-news-pills a.is-active {
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
  border-color: var(--lg-ink);
}

body.blog .blog-archive,
body.archive.category .blog-archive {
  padding-top: 18px;
}

body.blog .box-blog-post,
body.archive.category .box-blog-post {
  background: #FFFFFF;
  border: 1px solid var(--lg-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--lg-shadow-soft);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

body.blog .box-blog-post:hover,
body.archive.category .box-blog-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--lg-shadow-float);
}

body.blog .box-blog-post .box-image img,
body.archive.category .box-blog-post .box-image img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.blog .box-blog-post:hover .box-image img,
body.archive.category .box-blog-post:hover .box-image img {
  transform: scale(1.05);
}

body.blog .box-blog-post .box-text,
body.archive.category .box-blog-post .box-text {
  text-align: left;
  padding: 20px 22px 24px;
}

body.blog .box-blog-post .is-divider,
body.archive.category .box-blog-post .is-divider {
  display: none;
}

body.blog .box-blog-post .post-title,
body.archive.category .box-blog-post .post-title {
  font-family: var(--lg-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--lg-ink);
  text-transform: none;
}

body.blog .box-blog-post .from_the_blog_excerpt,
body.archive.category .box-blog-post .from_the_blog_excerpt {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--lg-muted);
}

body.blog .post-item .badge.post-date,
body.archive.category .post-item .badge.post-date {
  border-radius: 10px;
  background: rgba(250, 249, 247, 0.94);
  border: 0;
  color: var(--lg-ink);
  box-shadow: none;
}

body.blog .post-item .badge.post-date .badge-inner,
body.archive.category .post-item .badge.post-date .badge-inner {
  background: transparent;
  color: var(--lg-ink);
  border: 0;
}

@media (max-width: 849px) {
  .lg-news-hero {
    padding-top: 84px;
  }
}


/* ==========================================================================
   v2.8.1 SITE-WIDE FIXED HEADER, ICON FIX, CONTACT POLISH,
   SINGLE POST / CATEGORY ARCHIVE & WOOCOMMERCE CART / CHECKOUT / ACCOUNT
   ========================================================================== */

/* 1. Global Warm Ivory Base + Unified Fixed Floating Pill Header (Zero Top-Bar / White Strip) */
body {
  background-color: var(--lg-bg);
  color: var(--lg-ink);
}

#top-bar.header-top {
  display: none !important;
}

#header,
#header .header-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background: transparent !important;
  pointer-events: none;
}

#header .header-main,
#header .header-main * {
  pointer-events: auto;
}

/* Clean top clearance on pages without a full-bleed hero */
body.single-post #main,
body.woocommerce-cart #main,
body.woocommerce-checkout #main,
body.woocommerce-account #main,
body.page-id-88 #main {
  background: linear-gradient(180deg, #FAF9F7 0%, #F4EFE8 26%, #FAF9F7 68%, #FAF9F7 100%);
  padding-top: 96px;
}

/* 2. Fix Single Product Trust Bar SVG Centering (Override legacy .lg-trust-item span) */
.lg-prod-trust .lg-trust-item .lg-trust-ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px;
  height: 36px;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.lg-prod-trust .lg-trust-item .lg-trust-ico svg {
  display: block !important;
  margin: 0 !important;
  flex-shrink: 0;
}

/* 3. Contact Page Right Form Card — Warm Ivory Editorial Gradient & Subtle Watermark */
.lg-contact-form-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7F0 100%) !important;
  border-top: 2px solid rgba(154, 123, 82, 0.36) !important;
}

.lg-contact-form-card::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 22px;
  width: 210px;
  height: 90px;
  background: url("../img/legina-wordmark-dark.webp") no-repeat right bottom / contain;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.lg-contact-form-card > * {
  position: relative;
  z-index: 1;
}

/* 4. Unify Category Archives (/legina-news/) & Single Post Pages (body.single-post) */
body.archive.category:not(.category-faq) .archive-page-header,
body.archive.category:not(.category-faq) .page-title {
  display: none !important;
}

body.single-post .blog-single {
  padding-top: 12px;
  padding-bottom: 64px;
}

body.single-post .entry-header-text,
body.single-post .entry-header {
  background: transparent !important;
  color: var(--lg-ink) !important;
  padding-top: 0 !important;
}

body.single-post .page-title.blog-featured-title,
body.single-post .entry-header .entry-bg,
body.single-post .entry-header .overlay {
  background: transparent !important;
  box-shadow: none !important;
}

body.single-post .page-title.blog-featured-title {
  min-height: 0 !important;
  padding: 18px 0 10px !important;
  color: var(--lg-ink) !important;
}

body.single-post .page-title.blog-featured-title .page-title-bg,
body.single-post .page-title.blog-featured-title .title-overlay {
  display: none !important;
}

body.single-post .page-title.blog-featured-title h1,
body.single-post .entry-header h1.entry-title {
  font-family: var(--lg-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--lg-ink) !important;
}

body.single-post .page-title.blog-featured-title .entry-category a,
body.single-post .entry-header .entry-category a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--lg-r-pill);
  background: #EFE8DD;
  color: #5B554E !important;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none !important;
}

body.single-post .page-title.blog-featured-title .entry-meta,
body.single-post .page-title.blog-featured-title .entry-meta a,
body.single-post .entry-header .entry-meta,
body.single-post .entry-header .entry-meta a {
  color: var(--lg-muted) !important;
  font-size: 12px;
  letter-spacing: 0.08em;
}

body.single-post .page-title.blog-featured-title .is-divider,
body.single-post .entry-header .is-divider {
  background-color: rgba(154, 123, 82, 0.45) !important;
}

body.single-post .article-inner {
  background: #FFFFFF;
  border: 1px solid var(--lg-line);
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: var(--lg-shadow-soft);
}

body.single-post .entry-content {
  font-size: 15px;
  line-height: 1.95;
  color: #36332F;
}

body.single-post .post-sidebar .widget {
  background: #FFFFFF;
  border: 1px solid var(--lg-line);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: var(--lg-shadow-soft);
  margin-bottom: 18px;
}

body.single-post .post-sidebar .widget-title {
  font-family: var(--lg-serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--lg-ink);
}

/* 5. Unify /cart/, /checkout/, and /my-account/ (Pure CSS, Zero Validation Logic Changes) */
body.woocommerce-cart .page-title,
body.woocommerce-checkout .page-title,
body.woocommerce-account .page-title {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .checkout-page-title .breadcrumbs,
body.woocommerce-checkout .checkout-page-title .breadcrumbs {
  font-family: var(--lg-serif);
  letter-spacing: 0.08em;
  color: var(--lg-muted);
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-sidebar,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .checkout-sidebar,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  background: #FFFFFF;
  border: 1px solid var(--lg-line);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: var(--lg-shadow-soft);
}

body.woocommerce-checkout .has-border {
  border: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  margin-bottom: 18px;
}

body.woocommerce-cart input[type="text"],
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account select {
  background: var(--lg-bg) !important;
  border: 1px solid var(--lg-line-strong) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  min-height: 44px;
  color: var(--lg-ink) !important;
}

body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-account input:focus {
  background: #FFFFFF !important;
  border-color: var(--lg-ink) !important;
}

body.woocommerce-cart .checkout-button,
body.woocommerce-checkout #place_order,
body.woocommerce-account .woocommerce-Button,
body.woocommerce-account .button.primary {
  background: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
  border: 1px solid var(--lg-ink) !important;
  border-radius: var(--lg-r-pill) !important;
  min-height: 46px;
  letter-spacing: 0.14em;
}

body.woocommerce-cart .checkout-button:hover,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-account .woocommerce-Button:hover {
  background: #33312E !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  border: 0 !important;
  margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  border: 0 !important;
  margin-bottom: 4px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: #4A453F !important;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: background 0.18s ease, color 0.18s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
}

@media (max-width: 849px) {
  body.single-post #main,
  body.woocommerce-cart #main,
  body.woocommerce-checkout #main,
  body.woocommerce-account #main,
  body.page-id-88 #main {
    padding-top: 68px;
  }

  body.single-post .article-inner {
    padding: 22px 18px;
    border-radius: 14px;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-sidebar,
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .checkout-sidebar,
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 18px 16px;
    border-radius: 14px;
  }
}


/* ==========================================================================
   v2.8.2 ADMIN BAR CLEARANCE, CATEGORY TOP PADDING, CUTOUT HERO ALIGNMENT,
   STACKED GALLERY POLISH & INLINE MY-ACCOUNT ADDRESS TABS
   ========================================================================== */

/* 1. Admin Bar Clearance so Floating Pill Header Never Hides Under #wpadminbar */
body.admin-bar #header,
body.admin-bar #header .header-wrapper {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar #header,
  body.admin-bar #header .header-wrapper {
    top: 46px !important;
  }
}

/* 2. Product Category & Tag Archive Pages Top Clearance Below Fixed Pill Header */
body.tax-product_cat #main,
body.tax-product_tag #main {
  background: linear-gradient(180deg, #FAF9F7 0%, #F4EFE8 22%, #FAF9F7 64%, #FAF9F7 100%);
  padding-top: 96px !important;
}

@media (max-width: 849px) {
  body.tax-product_cat #main,
  body.tax-product_tag #main {
    padding-top: 68px !important;
  }
}

/* 3. Single Product Hero Meta Left-Aligned (Zero Collision with Right-Side MD Cutout) */
.lg-sp-hero-inner {
  justify-content: flex-start !important;
  gap: 12px 22px !important;
  padding-right: 220px !important;
}

.lg-sp-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lg-sp-cutout-float {
  right: max(8px, calc(50% - 785px)) !important;
}

@media (max-width: 849px) {
  .lg-sp-hero-inner {
    padding-right: 15px !important;
    gap: 8px 14px !important;
  }
}

/* 4. Flatsome Stacked Gallery Polish (Vertical Unfolded Photos + Native Click-to-Zoom) */
body.single-product .product-gallery .woocommerce-product-gallery__wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.single-product .product-gallery .woocommerce-product-gallery__image {
  margin-bottom: 0 !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(26, 25, 24, 0.3);
}

body.single-product .product-gallery .woocommerce-product-gallery__image a {
  display: block;
  cursor: zoom-in;
}

body.single-product .product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Hide redundant small thumbnail rail if Flatsome prints it in stacked mode */
body.single-product .product-stacked-gallery .product-thumbnails,
body.single-product .product-gallery-stacked .product-thumbnails {
  display: none !important;
}

/* 5. Inline My-Account Edit Address Tabs & Form Polish */
.lg-addr-lead {
  font-size: 13px;
  color: var(--lg-muted);
  margin: 0 0 18px;
}

.lg-addr-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  background: #F4EFE8;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-pill);
  margin-bottom: 24px;
}

.lg-addr-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #5B554E;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 8px 20px;
  margin: 0;
  border-radius: var(--lg-r-pill);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.lg-addr-tab.is-active {
  background: var(--lg-ink);
  color: var(--lg-bg);
}

.lg-addr-panel {
  display: none;
}

.lg-addr-panel.is-active {
  display: block;
}

.lg-addr-panel-title {
  font-family: var(--lg-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--lg-ink);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lg-line);
}

.lg-addr-submit-row {
  margin-top: 20px !important;
}


/* ==========================================================================
   v2.8.3 MY-ACCOUNT BORDER CLEANUP, COVER OVERLAY BADGES & STACKED IMAGE GAP
   ========================================================================== */

/* 1. Remove Flatsome border-right & gray hover vertical bar on My Account left nav */
body.woocommerce-account .border-right,
body.woocommerce-account .my-account-nav,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-navigation ul,
body.woocommerce-account .woocommerce-MyAccount-navigation li,
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  border-right: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation li a::after,
body.woocommerce-account .nav-vertical > li > a::before,
body.woocommerce-account .nav-vertical > li > a::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

/* 2. Single Product Cover Image Top-Left Overlay Badges (Format + MD Link) */
body.single-product .product-gallery {
  position: relative;
}

.lg-sp-cover-badges {
  position: absolute;
  top: 16px;
  left: 30px;
  z-index: 15;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.lg-sp-cover-badges > * {
  pointer-events: auto;
}

.lg-sp-cover-badges .lg-sp-fmt-pill {
  box-shadow: 0 6px 16px -6px rgba(26, 25, 24, 0.42);
}

.lg-sp-cover-md {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--lg-r-pill);
  background: rgba(250, 249, 247, 0.92);
  border: 1px solid rgba(26, 25, 24, 0.14);
  color: var(--lg-ink) !important;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  box-shadow: 0 6px 16px -8px rgba(26, 25, 24, 0.25);
  transition: background 0.18s ease, color 0.18s ease;
}

.lg-sp-cover-md:hover {
  background: var(--lg-ink);
  color: var(--lg-bg) !important;
}

@media (max-width: 849px) {
  .lg-sp-cover-badges {
    top: 12px;
    left: 22px;
  }
}

/* 3. Generous 22px Vertical Gap Between Stacked Gallery Images on Desktop */
@media (min-width: 850px) {
  body.single-product .product-gallery .product-gallery-stacked .woocommerce-product-gallery__image {
    margin-bottom: 22px !important;
  }

  body.single-product .product-gallery .product-gallery-stacked .woocommerce-product-gallery__image:last-child {
    margin-bottom: 0 !important;
  }
}


/* ==========================================================================
   v2.8.4 MY-ACCOUNT COL-BORDER & MOBILE HEADER FIX, PERSONAL MUSE CANVAS,
   AND SINGLE PRODUCT LOWER SECTIONS IN MATCHING 1260PX EDITORIAL CARDS
   ========================================================================== */

/* 1. Kill Flatsome .col-border thin gray vertical line & fix mobile "我的帳號" header clearance */
body.woocommerce-account .my-account .col-border,
body.woocommerce-account .col-border {
  border-right: 0 !important;
  border-left: 0 !important;
}

body.woocommerce-account #wrapper,
body.woocommerce-account #main {
  background: transparent !important;
}

body.woocommerce-account {
  background: linear-gradient(180deg, #FAF9F7 0%, #F4EFE8 26%, #FAF9F7 68%, #FAF9F7 100%);
}

body.woocommerce-account .my-account-header {
  position: relative;
  z-index: 2;
  padding-top: 98px !important;
  padding-bottom: 10px !important;
  background: transparent !important;
}

body.woocommerce-account .my-account-header h1 {
  font-family: var(--lg-serif);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--lg-ink) !important;
}

body.woocommerce-account #main {
  position: relative;
  z-index: 2;
  padding-top: 8px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  background: rgba(255, 255, 255, 0.90) !important;
}

@media (max-width: 849px) {
  body.woocommerce-account .my-account-header {
    padding-top: 78px !important;
    padding-bottom: 6px !important;
  }

  body.woocommerce-account .my-account-header h1 {
    font-size: 22px !important;
  }
}

/* 2. Personal Muse Ambient Canvas behind /my-account/ */
.lg-acc-muses {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}

.lg-acc-muse {
  position: absolute;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

.lg-acc-muse img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}

.lg-acc-muse.is-muse-1 {
  right: max(10px, calc(50% - 760px));
  bottom: -2vh;
  height: 68vh;
  opacity: 0.14;
  filter: blur(1px);
}

.lg-acc-muse.is-muse-2 {
  left: max(8px, calc(50% - 770px));
  bottom: -4vh;
  height: 52vh;
  opacity: 0.09;
  filter: blur(2px);
}

.lg-acc-muse.is-muse-3 {
  right: max(120px, calc(50% - 560px));
  top: 10vh;
  height: 40vh;
  opacity: 0.06;
  filter: blur(3px);
}

@media (max-width: 849px) {
  .lg-acc-muse.is-muse-1 {
    right: -12px;
    top: 72px;
    bottom: auto;
    height: 44vh;
    opacity: 0.08;
    filter: none;
  }

  .lg-acc-muse.is-muse-2,
  .lg-acc-muse.is-muse-3 {
    display: none;
  }
}

/* 3. Single Product Lower Sections (描述、額外資訊、同位麻豆、推薦商品) in Matching 1260px Cards */
body.single-product .product-footer {
  position: relative;
  z-index: 2;
  padding-top: 24px;
  padding-bottom: 48px;
}

body.single-product .product-footer > .container {
  max-width: 1260px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-product .product-footer .product-section,
body.single-product .product-footer .related-products-wrapper,
body.single-product .product-footer .up-sells,
body.single-product .lg-same-md-strip {
  max-width: 1260px;
  margin: 0 auto 24px !important;
  padding: 32px 34px !important;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--lg-line);
  border-radius: 22px;
  box-shadow: var(--lg-shadow-float);
  box-sizing: border-box;
}

body.single-product .product-footer .product-section {
  border-top: 1px solid var(--lg-line) !important;
}

body.single-product .product-footer .product-section h5,
body.single-product .product-footer .related-products-wrapper h3.product-section-title {
  font-family: var(--lg-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--lg-ink);
  text-transform: none;
}

@media (max-width: 849px) {
  body.single-product .product-footer .product-section,
  body.single-product .product-footer .related-products-wrapper,
  body.single-product .product-footer .up-sells,
  body.single-product .lg-same-md-strip {
    margin: 0 10px 18px !important;
    padding: 20px 16px !important;
    border-radius: 16px;
  }
}


/* ==========================================================================
   v2.8.5 MY-ACCOUNT /contactform/ TABS MATCHING /edit-address/ PILL DESIGN
   ========================================================================== */

body.woocommerce-account .woocommerce-MyAccount-content .tabbed-content > ul.nav {
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px !important;
  margin: 0 0 24px !important;
  width: auto !important;
  background: #F4EFE8;
  border: 1px solid var(--lg-line) !important;
  border-radius: var(--lg-r-pill) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .tabbed-content > ul.nav > li {
  margin: 0 !important;
  border: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .tabbed-content > ul.nav > li > a {
  border: 0 !important;
  background: transparent !important;
  color: #5B554E !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em;
  text-transform: none !important;
  padding: 8px 20px !important;
  line-height: 1.4 !important;
  border-radius: var(--lg-r-pill) !important;
  transition: background 0.18s ease, color 0.18s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content .tabbed-content > ul.nav > li > a::before,
body.woocommerce-account .woocommerce-MyAccount-content .tabbed-content > ul.nav > li > a::after {
  display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .tabbed-content > ul.nav > li > a:hover {
  color: var(--lg-ink) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .tabbed-content > ul.nav > li.active > a {
  background: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .tabbed-content > .tab-panels {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .tab-panels .section-title-container {
  margin-bottom: 18px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .tab-panels .section-title {
  border-bottom: 1px solid var(--lg-line) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .tab-panels .section-title span {
  font-family: var(--lg-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--lg-ink);
  border-bottom: 0 !important;
  padding-bottom: 8px;
}

body.woocommerce-account .woocommerce-MyAccount-content .wpcf7 textarea {
  background: var(--lg-bg) !important;
  border: 1px solid var(--lg-line-strong) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: var(--lg-ink) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .wpcf7 input[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content .wpcf7 button[type="submit"] {
  background: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
  border: 1px solid var(--lg-ink) !important;
  border-radius: var(--lg-r-pill) !important;
  height: 44px !important;
  padding: 0 30px !important;
  font-size: 12.5px !important;
  letter-spacing: 0.14em !important;
}


/* ==========================================================================
   v2.8.6 MY-ACCOUNT 1260PX ALIGNMENT, TOP-EDGE FLUSH CARDS & MOBILE DROPDOWN
   ========================================================================== */

/* 1. Align My Account header & container strictly to 1260px (matching floating pill header) */
body.woocommerce-account .my-account-header .page-title-inner,
body.woocommerce-account .page-wrapper.my-account > .container {
  max-width: 1260px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

body.woocommerce-account .page-wrapper.my-account .row.vertical-tabs {
  margin-left: -12px;
  margin-right: -12px;
  align-items: flex-start;
}

body.woocommerce-account .page-wrapper.my-account .row.vertical-tabs > .col {
  padding-left: 12px;
  padding-right: 12px;
}

/* 2. Merge .account-user + .woocommerce-MyAccount-navigation into ONE unified card
      so the left card top edge aligns 0px flush with the right content card */
body.woocommerce-account .my-account .large-3 .account-user {
  background: #FFFFFF;
  border: 1px solid var(--lg-line);
  border-bottom: 1px solid rgba(26, 25, 24, 0.08);
  border-radius: 18px 18px 0 0;
  padding: 20px 24px 16px;
  margin: 0 !important;
  box-shadow: var(--lg-shadow-soft);
}

body.woocommerce-account .my-account .large-3 .woocommerce-MyAccount-navigation {
  border-top: 0 !important;
  border-radius: 0 0 18px 18px !important;
  padding: 14px 20px 22px !important;
  margin-top: 0 !important;
  background: #FFFFFF !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
  background: #FFFFFF !important;
}

/* 3. Mobile Dropdown Switcher (Hidden on Desktop, Shown <= 849px) */
.lg-acc-mobile-nav {
  display: none;
}

@media (max-width: 849px) {
  body.woocommerce-account .my-account-header {
    padding-top: 96px !important;
    padding-bottom: 10px !important;
  }

  body.woocommerce-account.admin-bar .my-account-header {
    padding-top: 132px !important;
  }

  body.woocommerce-account .my-account .large-3 .account-user {
    border-radius: 14px 14px 0 0;
    padding: 14px 16px 12px;
  }

  body.woocommerce-account .my-account .large-3 .woocommerce-MyAccount-navigation {
    display: none !important;
  }

  .lg-acc-mobile-nav {
    display: block;
    background: #FFFFFF;
    border: 1px solid var(--lg-line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    padding: 12px 16px 16px;
    margin-bottom: 16px;
    box-shadow: var(--lg-shadow-soft);
  }

  .lg-acc-mobile-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--lg-muted);
    margin: 0 0 8px;
  }

  .lg-acc-mobile-select-wrap {
    position: relative;
  }

  .lg-acc-mobile-select {
    width: 100%;
    height: 46px !important;
    min-height: 46px !important;
    padding: 8px 40px 8px 14px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    border: 1px solid var(--lg-line-strong) !important;
    background: var(--lg-bg) !important;
    color: var(--lg-ink) !important;
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.4 !important;
    box-shadow: none !important;
  }
}


/* ==========================================================================
   v2.8.7 MY-ACCOUNT .account-user.circle FIX & BRAND WORDMARK IMAGE LOCKUP
   ========================================================================== */

/* 1. Override Flatsome .circle (border-radius: 999px !important) on .account-user */
body.woocommerce-account .my-account .large-3 .account-user,
body.woocommerce-account .my-account .large-3 .account-user.circle {
  border-radius: 18px 18px 0 0 !important;
  overflow: hidden;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
}

@media (max-width: 849px) {
  body.woocommerce-account .my-account .large-3 .account-user,
  body.woocommerce-account .my-account .large-3 .account-user.circle {
    border-radius: 14px 14px 0 0 !important;
  }
}

/* 2. Authentic Partner Custom Brand Logo inside Semantic H1 (Home, About, Contact) */
.lg-brand-logo-img {
  display: block;
  margin: 0 auto;
  height: auto;
  max-width: 100%;
  pointer-events: none;
  user-select: none;
}

.lg-hero-wordmark .lg-brand-logo-img {
  width: clamp(230px, 28vw, 390px);
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.28));
}

.lg-about-wordmark .lg-brand-logo-img {
  width: clamp(185px, 21vw, 270px);
}

.lg-cd-wordmark .lg-brand-logo-img {
  width: 138px;
  margin: 0;
}

.lg-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* ==========================================================================
   v2.8.8 COMPREHENSIVE MOBILE POLISH (Items 1–10)
   ========================================================================== */

/* 1. /my-account/orders/ — Remove Flatsome .touch-scroll-table inner shadow & keep View button 1-line */
body.woocommerce-account .touch-scroll-table,
body.woocommerce-account .woocommerce-MyAccount-content .touch-scroll-table {
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-account .woocommerce-orders-table .button.view,
body.woocommerce-account .woocommerce-orders-table a.button {
  white-space: nowrap !important;
  min-width: 62px;
  padding: 6px 14px !important;
  height: auto !important;
  line-height: 1.4 !important;
  border-radius: var(--lg-r-pill) !important;
  background: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
}

/* 3. Homepage Runway prev/next buttons inside bottom capsule card (larger tap targets) */
.lg-cr-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lg-cr-nav-btns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lg-cr-nav-btns .lg-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  background: #FAF9F7;
  border: 1px solid var(--lg-line-strong);
  color: var(--lg-ink);
}

/* 5b. Shop Runway disabled format tabs — crisp top-right to bottom-left diagonal slash */
.lg-stage-fmt-tabs .lg-fmt-tab:disabled {
  opacity: 0.52 !important;
  cursor: not-allowed !important;
  background-color: rgba(250, 249, 247, 0.72) !important;
  background-image: linear-gradient(
    to bottom right,
    transparent calc(50% - 0.75px),
    rgba(26, 25, 24, 0.34) 50%,
    transparent calc(50% + 0.75px)
  ) !important;
  color: rgba(26, 25, 24, 0.45) !important;
}

/* 6. Compact Shop Page Title bar (hide useless mobile Filter drawer button, slim single row) */
body.woocommerce-shop .shop-page-title .category-filtering,
body.tax-product_cat .shop-page-title .category-filtering,
body.tax-product_tag .shop-page-title .category-filtering {
  display: none !important;
}

body.woocommerce-shop .shop-page-title,
body.tax-product_cat .shop-page-title,
body.tax-product_tag .shop-page-title {
  padding-top: 10px !important;
  padding-bottom: 6px !important;
  min-height: 0 !important;
}

body.woocommerce-shop .shop-page-title .page-title-inner,
body.tax-product_cat .shop-page-title .page-title-inner,
body.tax-product_tag .shop-page-title .page-title-inner {
  min-height: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
  gap: 8px 14px;
}

body.woocommerce-shop .shop-page-title .woocommerce-ordering select,
body.tax-product_cat .shop-page-title .woocommerce-ordering select,
body.tax-product_tag .shop-page-title .woocommerce-ordering select {
  height: 36px !important;
  min-height: 36px !important;
  padding: 4px 32px 4px 14px !important;
  font-size: 12px !important;
  border-radius: var(--lg-r-pill) !important;
  background: #FFFFFF !important;
  border: 1px solid var(--lg-line-strong) !important;
  color: var(--lg-ink) !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* 7. Center-align variation spec pills inside Shop product cards */
.lg-card-specs .lg-spec-pills {
  justify-content: center !important;
}

.lg-card-specs .lg-spec-pill {
  justify-content: center !important;
  text-align: center !important;
}

/* 8. Warm Quiet-Luxury Pagination Redesign (Shop, Category & Blog) */
.woocommerce-pagination,
.nav-pagination {
  margin: 32px auto 12px !important;
  text-align: center;
}

.woocommerce-pagination ul.page-numbers,
ul.nav-pagination {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-pill);
  box-shadow: var(--lg-shadow-soft);
}

.woocommerce-pagination ul.page-numbers li,
ul.nav-pagination li {
  margin: 0 !important;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span,
ul.nav-pagination li a,
ul.nav-pagination li span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: var(--lg-r-pill) !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #4A453F !important;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1 !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.woocommerce-pagination ul.page-numbers li a:hover,
ul.nav-pagination li a:hover {
  background: #F4EFE8 !important;
  border-color: var(--lg-line-strong) !important;
  color: var(--lg-ink) !important;
}

.woocommerce-pagination ul.page-numbers li span.current,
ul.nav-pagination li span.current {
  background: var(--lg-ink) !important;
  border-color: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
}

/* 9. Move Shop Card Format Badge into Title Metadata (replaces redundant MODEL text, zero cover occlusion) */
.product-small .title-wrapper .category {
  display: none !important;
}

.product-small .title-wrapper .lg-card-fmt-tag {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin: 0 0 6px !important;
  padding: 3px 9px !important;
  font-size: 10px !important;
  letter-spacing: 0.06em;
  border-radius: var(--lg-r-pill) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.product-small .title-wrapper .lg-card-fmt-tag.is-ebook {
  background: #EEF2F6 !important;
  color: #2D3A4A !important;
}

.product-small .title-wrapper .lg-card-fmt-tag.is-movie {
  background: #1A1918 !important;
  color: #FAF9F7 !important;
}

.product-small .title-wrapper .lg-card-fmt-tag.is-book {
  background: #F4EFE8 !important;
  color: #4A453F !important;
}

.product-small .title-wrapper .lg-card-fmt-tag.is-preorder {
  background: #F7ECDC !important;
  color: #7D5D33 !important;
}

/* 10. /checkout/ — Fix overflowing floating labels, tall textarea & empty shipping box on digital orders */
body.woocommerce-checkout .form-row label,
body.woocommerce-checkout .fl-wrap label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  opacity: 1 !important;
  display: block !important;
  white-space: normal !important;
  line-height: 1.45 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: var(--lg-ink) !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  pointer-events: auto !important;
}

body.woocommerce-checkout .fl-wrap input,
body.woocommerce-checkout .fl-wrap select,
body.woocommerce-checkout .fl-wrap textarea {
  padding: 10px 14px !important;
  height: auto !important;
}

body.woocommerce-checkout textarea#order_comments,
body.woocommerce-checkout textarea {
  min-height: 112px !important;
  padding: 12px 14px !important;
  line-height: 1.65 !important;
}

body.woocommerce-checkout .woocommerce-shipping-fields:empty,
body.woocommerce-checkout .woocommerce-shipping-fields:not(:has(#ship-to-different-address)) {
  display: none !important;
}

/* 2, 4, 5a. Mobile Header Pin to Top (0px, never pushed 46px down), Symmetric /contact/, Zero-Overflow Shop Scrubber */
@media (max-width: 849px) {
  #header,
  #header .header-wrapper,
  body.admin-bar #header,
  body.admin-bar #header .header-wrapper {
    top: 0 !important;
  }

  .header-main,
  .stuck .header-main {
    margin-top: 8px !important;
    height: 50px !important;
  }

  /* Consistent top clearance below 58px mobile floating header on ALL pages */
  .lg-home-hero,
  .lg-hero-v2 {
    padding-top: 78px !important;
  }

  body.page-id-88 #main {
    padding-top: 66px !important;
  }

  .lg-contact-hero {
    padding-top: 14px !important;
  }

  body.woocommerce-account .my-account-header,
  body.woocommerce-account.admin-bar .my-account-header {
    padding-top: 72px !important;
    padding-bottom: 6px !important;
  }

  body.woocommerce-cart #main,
  body.woocommerce-checkout #main {
    padding-top: 72px !important;
  }

  /* Item 4: Symmetric left/right margins on /contact/ mobile cards */
  .lg-contact-shell {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lg-contact-shell > .col {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Item 3: Enlarged 44px prev/next buttons inside Homepage Runway capsule on mobile */
  .lg-cr-nav-btns .lg-icon-btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  /* Item 5a: Prevent /shop/ Runway scrubber from overflowing right edge on mobile */
  .lg-shop-footer-wrap {
    padding: 12px 12px 16px !important;
  }

  .lg-shop-footer-wrap .lg-cr-footer {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    overflow: hidden !important;
  }

  .lg-shop-footer-wrap .lg-scrubber {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}


/* ==========================================================================
   v2.8.9 DESKTOP /cart/ WIDTH + 9 MOBILE REFINEMENTS
   ========================================================================== */

/* Desktop: /cart/ & /checkout/ aligned strictly to 1260px (matching pill header) */
body.woocommerce-cart .cart-container,
body.woocommerce-cart .page-wrapper > .container,
body.woocommerce-cart .checkout-page-title .page-title-inner,
body.woocommerce-checkout .checkout-page-title .page-title-inner,
body.woocommerce-checkout .page-wrapper > .container {
  max-width: 1260px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 3. Revert Homepage Runway prev/next buttons to refined small-radius squares */
.lg-cr-nav-btns .lg-icon-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: var(--lg-r-md) !important;
  font-size: 16px !important;
}

/* 5. Fix Shop Page Title bar (single horizontal line, no vertical single-char breadcrumb) */
body.woocommerce-shop .shop-page-title .page-title-inner,
body.tax-product_cat .shop-page-title .page-title-inner,
body.tax-product_tag .shop-page-title .page-title-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  padding: 6px 15px !important;
}

body.woocommerce-shop .shop-page-title .flex-col,
body.tax-product_cat .shop-page-title .flex-col,
body.tax-product_tag .shop-page-title .flex-col {
  width: auto !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  text-align: left !important;
}

body.woocommerce-shop .shop-page-title .breadcrumbs,
body.tax-product_cat .shop-page-title .breadcrumbs,
body.tax-product_tag .shop-page-title .breadcrumbs {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: 6px;
  font-size: 12px !important;
  margin: 0 !important;
}

body.woocommerce-shop .shop-page-title .woocommerce-ordering,
body.tax-product_cat .shop-page-title .woocommerce-ordering,
body.tax-product_tag .shop-page-title .woocommerce-ordering {
  margin: 0 !important;
  width: auto !important;
}

/* 6. Single-line format badge + align spec pills & Add-to-Cart on same vertical center axis */
.product-small .title-wrapper .lg-card-fmt-tag {
  white-space: nowrap !important;
  padding: 3px 8px !important;
  font-size: 9.5px !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lg-card-specs .lg-spec-actions {
  justify-content: center !important;
}

.lg-card-specs .lg-batch-cart-btn {
  width: 100% !important;
  justify-content: center !important;
}

/* 7. Keep pagination strictly on ONE single horizontal line */
.woocommerce-pagination ul.page-numbers,
ul.nav-pagination {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  max-width: calc(100vw - 24px);
  gap: 4px !important;
  padding: 5px 8px !important;
  scrollbar-width: none;
}

.woocommerce-pagination ul.page-numbers::-webkit-scrollbar,
ul.nav-pagination::-webkit-scrollbar {
  display: none;
}

/* 8. Off-Canvas / Mobile Menu Mini-Cart: fix distorted X button & unify button palette */
.widget_shopping_cart a.remove,
.woocommerce-mini-cart a.remove,
.cart-popup a.remove {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid var(--lg-line-strong) !important;
  background: #FAF9F7 !important;
  color: #5B554E !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 14px !important;
}

.widget_shopping_cart a.remove:hover,
.woocommerce-mini-cart a.remove:hover {
  background: var(--lg-ink) !important;
  border-color: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
}

.woocommerce-mini-cart__buttons a.button:not(.checkout) {
  background: #FFFFFF !important;
  color: var(--lg-ink) !important;
  border: 1px solid var(--lg-line-strong) !important;
  border-radius: var(--lg-r-pill) !important;
  letter-spacing: 0.12em !important;
}

.woocommerce-mini-cart__buttons a.button.checkout {
  background: var(--lg-ink) !important;
  color: var(--lg-bg) !important;
  border: 1px solid var(--lg-ink) !important;
  border-radius: var(--lg-r-pill) !important;
  letter-spacing: 0.14em !important;
}

/* 9. /cart/ & /checkout/ Step Breadcrumb Capsule + Clean Pill Quantity Stepper */
body.woocommerce-cart .checkout-page-title,
body.woocommerce-checkout .checkout-page-title {
  padding-top: 6px !important;
  padding-bottom: 14px !important;
}

body.woocommerce-cart .checkout-page-title .breadcrumbs,
body.woocommerce-checkout .checkout-page-title .breadcrumbs {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap !important;
  gap: 10px;
  padding: 8px 18px !important;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-pill);
  box-shadow: var(--lg-shadow-soft);
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  white-space: nowrap;
}

body.woocommerce-cart .checkout-page-title .breadcrumbs a,
body.woocommerce-checkout .checkout-page-title .breadcrumbs a {
  color: #9A9288 !important;
  font-weight: 400 !important;
}

body.woocommerce-cart .checkout-page-title .breadcrumbs a.current,
body.woocommerce-checkout .checkout-page-title .breadcrumbs a.current {
  color: var(--lg-ink) !important;
  font-weight: 600 !important;
}

body.woocommerce-cart .quantity.buttons_added,
body.single-product .quantity.buttons_added {
  display: inline-flex !important;
  align-items: center !important;
  height: 36px !important;
  border: 1px solid var(--lg-line-strong) !important;
  border-radius: var(--lg-r-pill) !important;
  background: var(--lg-bg) !important;
  overflow: hidden !important;
  margin: 0 !important;
}

body.woocommerce-cart .quantity.buttons_added input.minus,
body.woocommerce-cart .quantity.buttons_added input.plus,
body.single-product .quantity.buttons_added input.minus,
body.single-product .quantity.buttons_added input.plus {
  width: 30px !important;
  min-width: 30px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--lg-ink) !important;
  font-size: 15px !important;
  line-height: 34px !important;
  box-shadow: none !important;
}

body.woocommerce-cart .quantity.buttons_added input.qty,
body.single-product .quantity.buttons_added input.qty {
  width: 36px !important;
  min-width: 36px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--lg-ink) !important;
  text-align: center !important;
  font-size: 13px !important;
  line-height: 34px !important;
  box-shadow: none !important;
}

@media (max-width: 849px) {
  /* 1. /about/ mobile top clearance below 58px pill header */
  body.page-id-84 .lg-about-hero {
    padding-top: 84px !important;
  }

  /* 4. /shop/ Runway mobile: prevent format tabs from colliding with MD name/scrubber card */
  .lg-shop-showcase .lg-stage-left-box {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    margin: 10px 12px 12px !important;
    z-index: 25;
  }

  .lg-shop-showcase .lg-stage-fmt-tabs {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    justify-content: flex-end !important;
  }

  .lg-shop-footer-wrap {
    margin-top: 0 !important;
    padding: 0 12px 16px !important;
  }

  /* 7. Mobile single-row compact pagination */
  .woocommerce-pagination ul.page-numbers li a,
  .woocommerce-pagination ul.page-numbers li span,
  ul.nav-pagination li a,
  ul.nav-pagination li span {
    min-width: 30px !important;
    height: 30px !important;
    padding: 0 7px !important;
    font-size: 12px !important;
  }

  /* 9. Mobile compact step breadcrumb */
  body.woocommerce-cart .checkout-page-title .breadcrumbs,
  body.woocommerce-checkout .checkout-page-title .breadcrumbs {
    font-size: 10.5px !important;
    gap: 6px;
    padding: 6px 12px !important;
    letter-spacing: 0.08em !important;
  }
}


/* ==========================================================================
   v2.8.10 UNIVERSAL QUANTITY STEPPER FIX (incl. One-Page /checkout/)
           + HIDE REDUNDANT MOBILE CART/CHECKOUT STEP BAR
   ========================================================================== */

/* Fix - [1] + stepper everywhere (Cart, One-Page Checkout, Single Product) */
.woocommerce .quantity.buttons_added,
body.woocommerce-checkout .quantity.buttons_added,
body.woocommerce-cart .quantity.buttons_added,
body.single-product .quantity.buttons_added {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 36px !important;
  min-height: 36px !important;
  width: 96px !important;
  border: 1px solid var(--lg-line-strong) !important;
  border-radius: var(--lg-r-pill) !important;
  background: var(--lg-bg) !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
}

.woocommerce .quantity.buttons_added input.minus,
.woocommerce .quantity.buttons_added input.plus,
body.woocommerce-checkout .quantity.buttons_added input.minus,
body.woocommerce-checkout .quantity.buttons_added input.plus {
  flex: 0 0 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--lg-ink) !important;
  font-size: 15px !important;
  line-height: 34px !important;
  box-shadow: none !important;
  text-align: center !important;
}

.woocommerce .quantity.buttons_added input.qty,
body.woocommerce-checkout .quantity.buttons_added input.qty {
  flex: 1 1 36px !important;
  width: 36px !important;
  min-width: 34px !important;
  max-width: 40px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--lg-ink) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 34px !important;
  text-align: center !important;
  box-shadow: none !important;
  -moz-appearance: textfield !important;
}

.woocommerce .quantity.buttons_added input.qty::-webkit-outer-spin-button,
.woocommerce .quantity.buttons_added input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Hide redundant SHOPPING CART > CHECKOUT DETAILS step bar on mobile (one-page checkout) */
@media (max-width: 849px) {
  body.woocommerce-cart .checkout-page-title,
  body.woocommerce-checkout .checkout-page-title {
    display: none !important;
  }
}


/* v2.8.11 Uniform .lg-quick-add button vs link height (eliminates Flatsome button margin-bottom) */
button.lg-quick-add,
a.lg-quick-add {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   P0-A 2026-12-01 — 商品頁標題／Runway 名字／商店 H1 修正
   --------------------------------------------------------------------------
   1. 商品標題：Flatsome 會把 H1 移到 .shop-page-title banner（再被本站 CSS
      display:none 藏掉），見 inc/legina-product.php 3b（已取消該搬移）。
      此處只補強層級：.product-main z-index 3 已高於 .lg-sp-hero z-index 2，
      標題再加 position:relative，確保不被 hero 去背圖／浮水印蓋住。
   2. Runway 名字：最長名字 JENNIFER(萱萱) 大寫 + letter-spacing 0.16em，
      以最寬字級 24px 保守估約 249px（8 大寫拉丁約 0.72em＋括號 0.35em×2
      ＋2 中文 1em＋間距 0.16em×12）。首頁中央欄原 270px 還要扣上下頁
      按鈕 88px＋間距 12px，只剩約 170px；商店欄原 225px；都會截斷。
      改法：名字字級不動，只加寬名字欄、縮小副標／按鈕／內距與間距。
      （手機版 footer 已是單欄 1fr，名字本來就放得下，不動。）
   ========================================================================== */

/* 1. 商品頁標題層級（主欄頂部） */
body.single-product .product-info h1.product-title {
  position: relative;
  z-index: 1;
}

/* 3. 商店／分類／購物車／結帳 H1 樣式（見 inc/legina-shop.php 1b） */
.lg-archive-h1,
.lg-page-h1 {
  font-family: var(--lg-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--lg-ink);
  margin: 6px 0 14px;
}

@media (min-width: 850px) {
  /* 2a. 首頁中央 runway：名字欄 270px -> 360px（249px 名字＋76px 按鈕＋12px 間距，餘 23px） */
  .lg-center-runway .lg-cr-footer {
    grid-template-columns: 360px minmax(200px, 1fr) auto;
    gap: 20px;
    padding: 14px 20px;
  }

  /* 2b. 商店 runway：名字欄 225px -> 300px（249px 名字，餘 51px） */
  .lg-shop-footer-wrap .lg-cr-footer {
    grid-template-columns: 300px minmax(140px, 1fr) auto;
    gap: 14px;
    padding: 14px 20px;
  }

  /* 2c. 縮小非名字部位：中文副標 14px -> 12px、計數 10.5px -> 10px */
  .lg-cr-info .lg-md-subtitle {
    font-size: 12px;
  }

  .lg-cr-info .lg-md-counter {
    font-size: 10px;
  }

  /* 2d. 上下頁按鈕 40px -> 34px（兩顆共省 12px） */
  .lg-cr-nav-btns .lg-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  /* 2e. 「查看她的全部作品」按鈕左右內距 20px -> 14px */
  .lg-shop-footer-wrap .lg-cr-right .lg-btn-outline.lg-md-cta,
  .lg-center-runway .lg-cr-right .lg-btn-outline.lg-md-cta {
    padding: 0 14px !important;
  }
}

/* ==========================================================================
   1c. Category Hero (C組 2026-12-01; redesigned 2026-12-01, 見 inc/legina-shop.php)
   Single Hero per product-category page: breadcrumb + visible H1 + subtitle
   on the left, MD cutout / category photo on the right (~300px tall,
   bottom-aligned). Pale cream gradient, copper #8C6D46 bottom rule — same
   language as the single-product hero. Ghost watermark is decoration only.
   ========================================================================== */
/* Hide Flatsome's own category banner on category pages only — it duplicates
   the Hero (second title area + its breadcrumb gets covered). /shop/ and all
   other pages are untouched: body class is tax-product_cat (verified). */
body.tax-product_cat .shop-page-title.category-page-title,
body.tax-product_cat .page-title.category-page-title {
  display: none !important;
}

/* 分類頁 Hero 全寬（2026-12-01）：破出置中的 .category-page-row（max-width
   1260px，見 2113 行）與已擴為 100% 的 .col.large-9（見 2105 行）；側欄在分類頁
   已被 display:none（見 2096 行），父層為置中容器，故標準破出寫法
   width:100vw + margin-left:calc(50% - 50vw) 即成立。100vw 含捲軸寬造成的橫向
   捲動由下方 body.tax-product_cat { overflow-x: hidden } 擋下（仿 body.home
   前例）。左內距以容器寬 1260px 對齊下方篩選列左緣＋36px 溝槽。去背圖收在
   Hero 內部，不以負 margin 溢出到底部外。 */
/* 100vw 破出含捲軸寬：分類頁禁止橫向捲動（仿 body.home 前例，見 1975 行）。 */
body.tax-product_cat {
  overflow-x: hidden;
}

.lg-cat-hero {
  /* Round 4 (2026-12-02): pull the Hero up behind the transparent header
     so no white strip shows above it. Header = top bar 30px + header-main
     89px (.transparent rule) = 119px — Flatsome's own .page-title
     padding-top:119px confirms it. Pull up 130px (11px safety), add the
     same as top padding so the breadcrumb starts exactly at the header
     bottom, and grow min-height by the same 130px so the visible Hero
     below the header stays 440px. The Flatsome banner itself is
     display:none (line 8483) and takes 0px — the white strip was the
     header area, not the banner. Header (z-index 1001) still paints
     above the Hero; nav stays clickable. */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  width: 100vw;
  min-height: 570px;
  margin: -130px 0 30px calc(50% - 50vw);
  padding: 130px 0 0 max(51px, calc((100vw - 1260px) / 2 + 51px));
  border: 0;
  border-bottom: 3px solid #8C6D46;
  border-radius: 0;
  background: linear-gradient(115deg, #f4efe8 0%, #faf9f7 62%, #f1e9dc 100%);
}

.lg-cat-ghost {
  position: absolute;
  left: -8px;
  bottom: -34px;
  z-index: 0;
  font-family: var(--lg-serif);
  font-weight: 400;
  font-size: clamp(140px, 18vw, 260px);
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(140, 109, 70, 0.10);
  pointer-events: none;
  user-select: none;
}

.lg-cat-main {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px 28px 0;
}

.lg-cat-crumb nav.rank-math-breadcrumb,
.lg-cat-crumb .woocommerce-breadcrumb {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5a4a33;
}

.lg-cat-crumb nav.rank-math-breadcrumb a,
.lg-cat-crumb .woocommerce-breadcrumb a {
  color: #8C6D46;
  text-decoration: none;
}

.lg-cat-crumb nav.rank-math-breadcrumb a:hover,
.lg-cat-crumb .woocommerce-breadcrumb a:hover {
  color: #75593A;
  text-decoration: underline;
}

.lg-cat-crumb nav.rank-math-breadcrumb .last,
.lg-cat-crumb .woocommerce-breadcrumb {
  color: #3a332c;
}

.lg-cat-title {
  margin: 0;
  font-family: var(--lg-serif);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.15;
  color: #1f1c1a;
}

.lg-cat-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5a534b;
}

/* Round 4 (2026-12-02): filter bar moved inside the Hero, below the
   subtitle (category pages only; /shop/ keeps it at priority 15).
   White bar on the beige Hero keeps its own look; only the spacing
   changes. Order inside the Hero: H1 -> subtitle -> filter bar ->
   copper bottom line. Pills wrap; search goes full-width on mobile
   via the existing mobile rule, so nothing overflows the Hero. */
.lg-cat-hero .lg-shop-filter-bar {
  width: 100%;
  margin: 14px 0 0;
}

.lg-cat-cutout {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: clamp(300px, 32vw, 460px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.lg-cat-cutout img {
  height: 400px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 26px rgba(26, 25, 24, 0.2));
}

.lg-cat-hero.is-photo .lg-cat-cutout img {
  object-fit: cover;
  width: 100%;
  height: 400px;
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}

/* No image at all: gradient + name watermark fills the right side — never
   an empty white strip. Height matches the MD version. */
.lg-cat-cutout--ghost {
  align-items: center;
  background: linear-gradient(135deg, #efe6d6 0%, #e2d3b8 100%);
  overflow: hidden;
}

.lg-cat-cutout--ghost span {
  font-family: var(--lg-serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  text-align: center;
  color: rgba(140, 109, 70, 0.35);
  padding: 16px;
  word-break: break-word;
}

@media (max-width: 849px) {
  .lg-cat-hero {
    /* 側欄 ≤849px 已隱藏、large-9 滿寬，破出寫法不變；左內距 33px =
       原容器左緣 15px + 原手機內距 18px，維持原視覺位置。
       Round 4 pull-up：手機 header = 70px（≤549px）或 89px（550–849px，
       top bar 已隱藏），上拉 100px 蓋住兩者， padding-top 補 100px、
       min-height 補 100px， header 下方看得到的 Hero 維持 280px。 */
    min-height: 380px;
    margin-top: -100px;
    margin-bottom: 30px;
    padding: 100px 0 0 33px;
  }

  .lg-cat-ghost {
    font-size: 96px;
    bottom: -16px;
  }

  .lg-cat-main {
    padding: 20px 8px 20px 0;
    gap: 8px;
  }

  .lg-cat-title {
    font-size: 32px;
  }

  .lg-cat-sub {
    font-size: 13px;
  }

  .lg-cat-cutout {
    width: 160px;
  }

  .lg-cat-cutout img,
  .lg-cat-hero.is-photo .lg-cat-cutout img {
    height: 220px;
  }

  .lg-cat-cutout--ghost span {
    font-size: 30px;
  }
}

/* ==========================================================================
   B組 round 2 (2026-12-01)：/shop/ 年度切換改為 Runway 最右端選項卡
   - 頂部年度頁籤已移除（跑版）；卡片是 cards 序列最後一張（.lg-md-card
     .lg-year-card），滑到最右才看到，不佔頂部空間、不遮中央 MD 名字與
     scrubber（兩者在 stage 下方的 footer）。
   - 銅金 #8C6D46、襯線字；無黑底紅字。B組 round 3 (2026-12-01 v2)：底全拿掉
     （不要底，直接是字），.lg-year-inner 背景透明、無邊框、無圓角、無陰影；
     半寬選擇器加強為 (0,4,0)，否則被 align-left (0,3,0) 寬度規則蓋掉失效；
     年度卡額外向右偏移（JS，見 layoutCards），與最後一位 MD 拉開距離防誤觸。
   - 換年過場只用 CSS：切換時 .lg-year-switching 讓整個 cards 容器 0.25s 淡出，
     新頁載入時 .lg-year-enter 0.32s 淡入。容器層動畫，不動卡片 transform，
     不影響拖曳／scrubber；不新增圖片、不預載。
   ========================================================================== */
.lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card {
  /* Round 4 (2026-12-02): width = true half of the MD card. MD card is
     clamp(360px, 35vw, 500px) on desktop, so 17.5vw = half of 35vw and
     the 250px cap = half of 500px; link fits on one line at 1920/1440.
     Selector stays (0,4,0) (round 3 fix) so align-left (0,3,0) cannot
     override it again. Mobile stays 140px (see media query below).
     Round 5 (2026-12-02): text ~1.5x bigger (link up to 32px, ~270px wide),
     so card widens to 340px cap (inner 304px > 270px) to keep the link on
     one line at 1920/1440. Strict 2x (44px link, ~400px text) would need a
     ~440px card, nearly the MD width, and would eat the anti-mistap gap. */
  width: clamp(240px, 24vw, 340px);
  cursor: default;
}

.lg-year-inner {
  width: 100%;
  height: 100%;
  /* B組 round 3 (2026-12-01 v2)：不要底，直接是字 — 背景透明、無邊框、無圓角、
     無陰影，文字直接放在伸展台背景上。padding 保留，文字不貼卡片邊緣。 */
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  padding: 22px 18px;
  text-align: left;
}

.lg-year-kicker {
  font-family: var(--lg-serif);
  font-size: 13px; /* Round 5: was 10px */
  letter-spacing: 0.16em;
  color: var(--lg-muted);
}

.lg-year-link {
  font-family: var(--lg-serif);
  font-size: clamp(28px, 2.4vw, 32px); /* Round 5: ~1.5x (was max 22px); ~270px text vs 304px inner width in the 340px card, one line at 1920/1440 */
  line-height: 1.35;
  font-weight: 600;
  color: #8C6D46;
  text-decoration: none;
}

.lg-year-link:hover,
.lg-year-link:focus-visible {
  color: #75593A;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lg-year-select-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 19px; /* Round 5: was 14px */
  color: var(--lg-ink);
  cursor: pointer;
}

.lg-year-select {
  /* 純文字下拉：無膠囊框、無底色、無邊框，寬度隨內容、文字不被切 */
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238C6D46' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 10px 6px;
  border: 0;
  border-radius: 0;
  padding: 2px 20px 2px 0;
  font-family: var(--lg-sans);
  font-size: 19px; /* Round 5: was 15px */
  font-weight: 600;
  line-height: 1.5;
  color: #8C6D46;
  cursor: pointer;
}

.lg-year-select:focus-visible {
  outline: 2px solid #8C6D46;
  outline-offset: 2px;
}

/* 換年過場：淡出舊卡（容器層，0.25s） */
.lg-shop-showcase.lg-year-switching .lg-runway-cards {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* 換年過場：淡入新卡（新頁載入，0.32s） */
@keyframes lgYearFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lg-runway-cards.lg-year-enter {
  animation: lgYearFadeIn 0.32s ease both;
}

@media (max-width: 849px) {
  .lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card {
    width: 140px;
    transition: width 0.28s ease;
  }

  .lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card.is-active {
    width: min(82vw, 300px);
  }

  .lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card.is-active .lg-year-inner {
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 20px 18px;
  }

  .lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card.is-active .lg-year-kicker {
    font-size: 11px;
  }

  .lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card.is-active .lg-year-link {
    font-size: 24px;
    white-space: nowrap;
  }

  .lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card.is-active .lg-year-select-row {
    align-items: center;
    font-size: 15px;
    gap: 6px;
  }

  .lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card.is-active .lg-year-select {
    font-size: 16px;
    padding: 4px 22px 4px 4px;
  }

  .lg-shop-showcase.is-year-focus .lg-stage-left-box,
  .lg-shop-showcase.is-year-focus .lg-stage-square-card,
  .lg-shop-showcase.is-year-focus .lg-stage-fmt-tabs,
  .lg-shop-showcase.is-year-focus .lg-cr-right,
  .lg-shop-showcase.is-year-focus .lg-md-cta {
    display: none !important;
  }

  .lg-shop-showcase.is-year-focus .lg-runway-stage {
    min-height: 360px;
    height: 360px;
  }

  .lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card.is-active .lg-year-vline {
    display: block;
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, rgba(140, 109, 70, 0.08), rgba(140, 109, 70, 0.55), rgba(140, 109, 70, 0.08));
    margin: 2px auto;
  }

  .lg-shop-showcase.lg-align-left .lg-md-card.lg-year-card.is-active .lg-year-hline {
    display: block;
    width: 48px;
    height: 1px;
    background: rgba(140, 109, 70, 0.35);
    margin: 2px auto;
  }

  .lg-year-inner {
    gap: 10px;
    padding: 16px 14px;
  }

  .lg-year-link {
    font-size: 18px;
  }

  .lg-year-select {
    font-size: 13px;
  }

  .lg-year-select-row {
    font-size: 13px;
  }
}

/* ==========================================================================
   v2.9.0 (2026-12-02) — Warm Quiet-Luxury 6-Color System & Category Hero Polish
   ========================================================================== */
:root {
  --lg-bg: #FAF9F7;
  --lg-surface: #FFFFFF;
  --lg-surface-warm: #F2EDE6;
  --lg-white: #FFFFFF;
  --lg-border: #E5DFD6;
  --lg-ink: #1A1918;
  --lg-ink-muted: #6E675F;
  --lg-muted: #6E675F;
  --lg-accent: #8C6D46;
  --lg-accent-hover: #75593A;
  --lg-ok: #3B6B52;
  --lg-err: #B54A3A;
}

.lg-year-vline,
.lg-year-hline {
  display: none;
}

/* 1. 商品分類頁 Hero 比例收斂（上層左右並排：標題＋去背圖｜下層滿版篩選列） */
.lg-cat-hero {
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  margin-bottom: 24px;
  padding: 130px max(24px, calc((100vw - 1260px) / 2 + 24px)) 22px max(24px, calc((100vw - 1260px) / 2 + 24px));
  border-bottom: 1px solid var(--lg-border);
  background: linear-gradient(180deg, var(--lg-surface-warm) 0%, var(--lg-bg) 100%);
}

.lg-cat-top-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.lg-cat-filter-row {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 14px;
}

.lg-cat-hero .lg-cat-main {
  padding: 18px 0 8px;
  gap: 8px;
}

.lg-cat-hero.is-no-image {
  min-height: 0;
}

.lg-cat-hero.is-no-image .lg-cat-main {
  padding: 16px 0 6px;
  gap: 6px;
}

.lg-cat-hero.is-no-image .lg-cat-title {
  font-size: clamp(28px, 3vw, 38px);
  color: var(--lg-ink);
  letter-spacing: 0.02em;
}

.lg-cat-hero.is-no-image .lg-cat-sub {
  font-size: 14px;
  color: var(--lg-ink-muted);
}

.lg-cat-hero.is-no-image .lg-cat-ghost {
  font-size: clamp(92px, 12vw, 150px);
  bottom: -18px;
  color: rgba(140, 109, 70, 0.06);
}

.lg-cat-hero.has-image .lg-cat-cutout {
  width: clamp(200px, 22vw, 280px);
  flex: 0 0 auto;
}

.lg-cat-hero.has-image .lg-cat-cutout img {
  height: 250px;
}

.lg-cat-crumb nav.rank-math-breadcrumb,
.lg-cat-crumb .woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--lg-ink-muted);
}

.lg-cat-crumb nav.rank-math-breadcrumb a,
.lg-cat-crumb .woocommerce-breadcrumb a {
  color: var(--lg-accent);
}

.lg-cat-crumb nav.rank-math-breadcrumb a:hover,
.lg-cat-crumb .woocommerce-breadcrumb a:hover {
  color: var(--lg-accent-hover);
}

.lg-cat-hero .lg-shop-filter-bar {
  margin: 0;
  width: 100%;
}

@media (max-width: 849px) {
  .lg-cat-hero,
  .lg-cat-hero.is-no-image {
    min-height: 0;
    margin-top: -92px;
    margin-bottom: 20px;
    padding: 92px 16px 16px 16px;
  }

  .lg-cat-top-row {
    align-items: center;
    gap: 12px;
  }

  .lg-cat-hero .lg-cat-main,
  .lg-cat-hero.is-no-image .lg-cat-main {
    padding: 10px 0 4px;
    gap: 6px;
  }

  .lg-cat-hero .lg-cat-title,
  .lg-cat-hero.is-no-image .lg-cat-title {
    font-size: 26px;
  }

  .lg-cat-hero.has-image .lg-cat-cutout {
    width: 120px;
    flex: 0 0 120px;
  }

  .lg-cat-hero.has-image .lg-cat-cutout img {
    height: 148px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .lg-cat-filter-row {
    margin-top: 12px;
    width: 100%;
  }

  .lg-cat-hero.is-no-image .lg-cat-ghost {
    font-size: 72px;
    bottom: -10px;
  }
}

/* 2. 全站色票統一：降噪商品格式標籤（僅「預購」保留香檳古銅金焦點，其餘收斂為暖石膠囊） */
.lg-card-fmt-badge,
.lg-card-fmt-badge.is-ebook,
.lg-card-fmt-badge.is-movie,
.lg-card-fmt-badge.is-printed,
.lg-sp-badge:not(.is-preorder) {
  background: var(--lg-surface-warm) !important;
  color: #4A453F !important;
  border-color: var(--lg-border) !important;
}

.lg-card-fmt-badge.is-preorder,
.lg-sp-badge.is-preorder {
  background: #F5EDE2 !important;
  color: var(--lg-accent) !important;
  border-color: rgba(140, 109, 70, 0.28) !important;
}

/* 3. 消除 Flatsome 舊粉紅 hover 與會員訂單頁刺眼螢光黃 */
.header-nav-main > li > a:hover,
.header-nav-main > li.active > a {
  color: #E5D4BD !important;
}

.woocommerce-orders-table__cell-order-status mark,
.woocommerce-orders-table__cell-order-status span[style*="background"],
.woocommerce-MyAccount-orders td.woocommerce-orders-table__cell-order-status {
  background-color: transparent !important;
}

.woocommerce-MyAccount-orders td.woocommerce-orders-table__cell-order-status {
  color: var(--lg-ok) !important;
  font-weight: 500;
}

/* ==========================================================================
   ROUND 3 — HEADER STUCK-HEIGHT LOCK + QUIET-LUXURY LEGAL / FAQ / SITEMAP DOCS
   ========================================================================== */

/* 1. Prevent Flatsome inline `.stuck .header-main { height: 70px !important }` from enlarging header on scroll */
#header .header-wrapper,
#header .header-wrapper.stuck {
  padding-top: 0 !important;
}

#header .header-wrapper .header-main,
#header .header-wrapper.stuck .header-main {
  height: 62px !important;
  margin-top: 10px !important;
  transition: height 0.22s ease, background-color 0.22s ease, margin-top 0.22s ease;
}

body.lg-header-scrolled #header .header-wrapper .header-main,
body.lg-header-scrolled #header .header-wrapper.stuck .header-main {
  height: 56px !important;
  margin-top: 8px !important;
  background-color: rgba(26, 25, 24, 0.92) !important;
}

@media (max-width: 849px) {
  #header .header-wrapper,
  #header .header-wrapper.stuck {
    padding-top: 0 !important;
  }

  #header .header-wrapper .header-main,
  #header .header-wrapper.stuck .header-main,
  body.lg-header-scrolled #header .header-wrapper .header-main,
  body.lg-header-scrolled #header .header-wrapper.stuck .header-main {
    height: 50px !important;
    margin-top: 8px !important;
    border-radius: 16px !important;
  }
}

/* 2. Quiet-Luxury Editorial Document Pages (/terms-and-conditions/, /privacy-policy/, /sitemap/, /faq/...) */
body.page-id-2596 #main,
body.page-id-3 #main,
body.page-template-default:has(.lg-doc-page) #main {
  background: var(--lg-bg) !important;
  padding-top: 96px !important;
  padding-bottom: 64px !important;
}

@media (max-width: 849px) {
  body.page-id-2596 #main,
  body.page-id-3 #main,
  body.page-template-default:has(.lg-doc-page) #main {
    padding-top: 72px !important;
    padding-bottom: 84px !important;
  }
}

.lg-doc-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  color: var(--lg-ink);
  font-family: var(--lg-sans);
  line-height: 1.85;
}

.lg-doc-hero {
  text-align: center;
  padding: 28px 20px 32px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--lg-border);
}

.lg-doc-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lg-accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.lg-doc-title {
  font-family: var(--lg-serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--lg-ink);
  margin: 0 0 12px !important;
  line-height: 1.3;
}

.lg-doc-meta {
  font-size: 14px;
  color: var(--lg-ink-muted);
  margin: 0 auto;
  max-width: 580px;
}

.lg-doc-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
}

.lg-doc-toc a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--lg-ink);
  background: var(--lg-white);
  border: 1px solid var(--lg-border);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.lg-doc-toc a:hover {
  border-color: var(--lg-accent);
  color: var(--lg-accent);
  background: #F5EDE2;
}

.lg-doc-callout {
  background: #F5EDE2;
  border: 1px solid rgba(140, 109, 70, 0.28);
  border-left: 3px solid var(--lg-accent);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 0 0 24px;
  font-size: 14.5px;
  color: var(--lg-ink);
}

.lg-doc-callout strong {
  color: var(--lg-accent);
}

.lg-doc-section {
  background: var(--lg-white);
  border: 1px solid var(--lg-border);
  border-radius: 18px;
  padding: 26px 28px;
  margin-bottom: 18px;
  scroll-margin-top: 84px;
}

.lg-doc-section h2 {
  font-family: var(--lg-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--lg-ink);
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lg-surface-warm);
  letter-spacing: 0.04em;
}

.lg-doc-section h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--lg-accent);
  margin: 18px 0 8px !important;
}

.lg-doc-section p {
  font-size: 15px;
  color: #36332F;
  margin: 0 0 12px;
}

.lg-doc-section p:last-child,
.lg-doc-section ul:last-child,
.lg-doc-section ol:last-child {
  margin-bottom: 0;
}

.lg-doc-section ul,
.lg-doc-section ol {
  padding-left: 20px;
  margin: 8px 0 14px;
  color: #36332F;
  font-size: 15px;
}

.lg-doc-section li {
  margin-bottom: 6px;
}

.lg-doc-section a {
  color: var(--lg-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lg-doc-figure {
  margin: 18px 0;
  text-align: center;
}

.lg-doc-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--lg-border);
}

.lg-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.lg-sitemap-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.lg-sitemap-list li {
  border-bottom: 1px solid var(--lg-surface-warm);
  margin-bottom: 0 !important;
}

.lg-sitemap-list li:last-child {
  border-bottom: 0;
}

.lg-sitemap-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  font-size: 14.5px;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.lg-sitemap-list a::after {
  content: "→";
  color: var(--lg-accent);
  font-size: 13px;
}

.lg-sitemap-list a:hover {
  color: var(--lg-accent) !important;
  padding-left: 6px;
}

.lg-sitemap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lg-sitemap-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: var(--lg-bg);
  border: 1px solid var(--lg-border);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--lg-ink) !important;
  text-decoration: none !important;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.lg-sitemap-chip em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--lg-ink-muted);
}

.lg-sitemap-chip:hover {
  border-color: var(--lg-accent);
  background: #F5EDE2;
  color: var(--lg-accent) !important;
}

.lg-sitemap-xml-note {
  text-align: center;
  font-size: 13px;
  color: var(--lg-ink-muted);
  margin-top: 22px;
}

@media (max-width: 849px) {
  .lg-doc-page {
    padding: 0 14px;
  }

  .lg-doc-hero {
    padding: 18px 8px 22px;
    margin-bottom: 20px;
  }

  .lg-doc-section {
    padding: 20px 18px;
    border-radius: 14px;
  }

  .lg-doc-section h2 {
    font-size: 18px;
  }

  .lg-sitemap-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   v2.9.2 (2026-12-03) — Serif Lining Numerals & Sleek Desktop Runway Arrows
   ========================================================================== */

/* 1. Align Cormorant Garamond numerals (e.g., "4" in /about/ .lg-sec-title) flush with CJK baseline */
.lg-sec-title,
.lg-h-title,
.lg-news-h1,
.lg-cat-title,
.lg-md-title,
.lg-doc-hero h1,
.lg-doc-section h2 {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

/* 2. Ultra-thin mouse-friendly prev/next arrows on Desktop Runway */
.lg-runway-stage {
  position: relative;
}

.lg-runway-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 42;
  width: 44px;
  height: 76px;
  padding: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(26, 25, 24, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.lg-runway-nav-btn svg {
  display: block;
  width: 22px;
  height: 44px;
  pointer-events: none;
}

.lg-runway-nav-btn:hover {
  color: var(--lg-accent, #8C6D46);
  background: rgba(250, 249, 247, 0.55) !important;
}

.lg-runway-nav-btn:focus-visible {
  outline: 1px solid var(--lg-accent, #8C6D46);
  outline-offset: 2px;
}

.lg-runway-prev:hover {
  transform: translate(-2px, -50%);
}

.lg-runway-next:hover {
  transform: translate(2px, -50%);
}

.lg-shop-showcase .lg-runway-prev {
  left: calc(max(20px, 50% - 630px) + clamp(330px, 28vw, 415px) + 14px);
}

.lg-shop-showcase .lg-runway-next {
  right: 18px;
}

.lg-center-runway .lg-runway-prev {
  left: 16px;
}

.lg-center-runway .lg-runway-next {
  right: 16px;
}

@media (max-width: 849px) {
  .lg-runway-nav-btn {
    display: none !important;
  }
}
