@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Noto+Sans+SC:wght@300;400;500;600&family=Noto+Serif+SC:wght@400;500&display=swap');

:root {
  --mg-luxe-ink: #241a1d;
  --mg-luxe-plum: #6d314d;
  --mg-luxe-plum-2: #8e526f;
  --mg-luxe-rose: #c79aad;
  --mg-luxe-gold: #ae9570;
  --mg-luxe-paper: #fcfaf7;
  --mg-luxe-linen: #f3eee8;
  --mg-luxe-mist: #eee5e8;
  --mg-luxe-line: rgba(54, 34, 41, .13);
  --mg-luxe-muted: #74666b;
  --mg-luxe-serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --mg-luxe-sans: "Noto Sans SC", "Avenir Next", Arial, sans-serif;
  --mg-luxe-shadow: 0 26px 80px rgba(48, 29, 36, .10);
}

html { background: var(--mg-luxe-paper); overflow-x: clip; }
body {
  background: var(--mg-luxe-paper);
  color: var(--mg-luxe-ink);
  font-family: var(--mg-luxe-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: #e7d3dc; color: var(--mg-luxe-ink); }

/* Global shell */
.mg-promo-marquee {
  background: #f0e5e9 !important;
  border: 0 !important;
  color: #725b65 !important;
}
.mg-hdr {
  background: rgba(252, 250, 247, .92) !important;
  border-bottom: 1px solid rgba(50, 31, 38, .08) !important;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.mg-hdr-inner { max-width: 1320px !important; min-height: 70px !important; }
.mg-hdr-nav-link,
.mg-hdr-nav-btn,
.mg-hdr-lang-btn {
  color: #372a2f !important;
  font-size: 12.5px !important;
  letter-spacing: .025em;
}
.mg-hdr-nav-link::after,
.mg-hdr-nav-btn::after { background: var(--mg-luxe-plum) !important; }
.mg-hdr-icon { color: var(--mg-luxe-ink) !important; }
.mg-hdr-dropdown,
.mg-hdr-lang-list {
  border: 1px solid var(--mg-luxe-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 22px 60px rgba(48, 29, 36, .12) !important;
}
.mg-hdr-cart-count { background: var(--mg-luxe-plum) !important; }

/* Homepage — editorial hero */
.mg-home { background: var(--mg-luxe-paper); color: var(--mg-luxe-ink); }
.mg-home .mg-hero {
  min-height: 840px;
  background-color: #eee9e4;
  border-bottom: 1px solid rgba(54, 34, 41, .06);
}
.mg-home .mg-hero-mask {
  background:
    linear-gradient(90deg, rgba(249,246,242,.99) 0%, rgba(249,246,242,.95) 34%, rgba(249,246,242,.38) 57%, rgba(249,246,242,0) 76%),
    linear-gradient(0deg, rgba(54,34,41,.12), transparent 44%) !important;
}
.mg-home .mg-hero-inner {
  width: min(1320px, calc(100% - 72px));
  max-width: 1320px;
  min-height: 840px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.mg-home .mg-hero-content { width: min(540px, 48vw); padding: 58px 0 64px; }
.mg-home .mg-hero-text { text-align: left !important; }
.mg-home .mg-hero-eyebrow,
.mg-home .mg-hero-form-kicker,
.mg-home .mg-tabsec-eyebrow-chip,
.mg-home .mg-howit-eyebrow-chip,
.mg-home .mg-buffer-eyebrow,
.mg-home .mg-newsletter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mg-luxe-plum) !important;
  font-family: var(--mg-luxe-sans);
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: .18em !important;
  text-transform: uppercase;
}
.mg-home .mg-hero-eyebrow::before,
.mg-home .mg-hero-form-kicker::before { content: ""; width: 24px; height: 1px; background: var(--mg-luxe-gold); }
.mg-home .mg-hero-title {
  max-width: 610px;
  margin: 25px 0 24px !important;
  color: var(--mg-luxe-ink) !important;
  font-family: var(--mg-luxe-serif) !important;
  font-size: clamp(56px, 5.4vw, 82px) !important;
  font-weight: 400 !important;
  line-height: .95 !important;
  letter-spacing: -.04em !important;
  text-align: left !important;
}
.mg-home .mg-hero-title .accent { color: var(--mg-luxe-plum-2) !important; font-weight: 400; }
.mg-home .mg-hero-title-cn {
  font-family: "Noto Serif SC", var(--mg-luxe-serif) !important;
  font-size: clamp(43px, 4.2vw, 64px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.035em !important;
}
.mg-home .mg-hero-desc {
  max-width: 490px;
  margin: 0 0 34px !important;
  color: #66595d !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  text-align: left !important;
}
.mg-home .mg-hero-form {
  max-width: 490px;
  margin: 0 !important;
  padding: 26px 28px 22px !important;
  border: 1px solid rgba(74, 47, 57, .10) !important;
  border-radius: 24px !important;
  background: rgba(255, 253, 250, .9) !important;
  box-shadow: 0 26px 80px rgba(61, 40, 49, .12) !important;
  backdrop-filter: blur(26px) saturate(125%);
  -webkit-backdrop-filter: blur(26px) saturate(125%);
}
.mg-home .mg-hero-form-kicker { margin-bottom: 9px; }
.mg-home .mg-hero-form-title {
  margin: 0 0 5px !important;
  color: var(--mg-luxe-ink) !important;
  font-family: var(--mg-luxe-serif) !important;
  font-size: 27px !important;
  font-weight: 500 !important;
  letter-spacing: -.02em;
}
.mg-home .mg-hero-form-sub { margin-bottom: 18px !important; color: var(--mg-luxe-muted) !important; font-size: 11.5px !important; }
.mg-home .mg-hero-form-labels label,
.mg-home .mg-hero-form-intent-label { color: #75666c !important; font-size: 9.5px !important; letter-spacing: .11em !important; text-transform: uppercase; }
.mg-home .mg-hero-input {
  min-height: 48px;
  border: 1px solid rgba(74,47,57,.12) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.82) !important;
  color: var(--mg-luxe-ink) !important;
}
.mg-home .mg-hero-input:focus { border-color: rgba(109,49,77,.55) !important; box-shadow: 0 0 0 3px rgba(109,49,77,.06); }
.mg-home .mg-hero-intent {
  border: 1px solid rgba(74,47,57,.12) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.78) !important;
  color: #66595d !important;
}
.mg-home .mg-hero-intent.is-active {
  border-color: rgba(109,49,77,.52) !important;
  background: #f4eaee !important;
  color: var(--mg-luxe-plum) !important;
}
.mg-home .mg-hero-cta {
  min-height: 51px;
  border: 1px solid var(--mg-luxe-plum) !important;
  border-radius: 12px !important;
  background: var(--mg-luxe-plum) !important;
  color: #fff !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: .05em !important;
  box-shadow: none !important;
}
.mg-home .mg-hero-cta:hover { background: #55233b !important; transform: translateY(-1px); }
.mg-home .mg-hero-form-note { color: #8a7d81 !important; font-size: 9px !important; letter-spacing: .02em; }

.mg-home .mg-trust-strip {
  padding: 0 !important;
  border: 0 !important;
  background: var(--mg-luxe-ink) !important;
}
.mg-home .mg-trust-strip-inner { max-width: 1180px; min-height: 92px; }
.mg-home .mg-trust-item { color: rgba(255,255,255,.78) !important; font-size: 10px !important; letter-spacing: .08em; text-transform: uppercase; }
.mg-home .mg-trust-icon { color: #cdb694 !important; }

.mg-home .mg-tabsec,
.mg-home .mg-howit,
.mg-home .mg-reviews { padding: 118px 36px !important; }
.mg-home .mg-bg-group-a,
.mg-home .mg-bg-group-b,
.mg-home .mg-bg-group-c { background: var(--mg-luxe-paper) !important; }
.mg-home .mg-tabsec-head { max-width: 760px; margin-bottom: 46px !important; }
.mg-home .mg-tabsec-title,
.mg-home .mg-howit-title,
.mg-home .mg-newsletter-title {
  color: var(--mg-luxe-ink) !important;
  font-family: var(--mg-luxe-serif) !important;
  font-size: clamp(48px, 5vw, 72px) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: -.035em !important;
}
.mg-home .mg-tabsec-sub { color: var(--mg-luxe-muted) !important; font-size: 13px !important; line-height: 1.8; }
.mg-home .mg-tabsec-tabs { gap: 10px !important; margin-bottom: 28px !important; }
.mg-home .mg-tabsec-tab {
  border: 1px solid var(--mg-luxe-line) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #695c61 !important;
  min-height: 46px;
  padding: 9px 18px !important;
}
.mg-home .mg-tabsec-tab.is-active {
  border-color: var(--mg-luxe-ink) !important;
  background: var(--mg-luxe-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.mg-home .mg-tabsec-stage {
  max-width: 1180px !important;
  min-height: 620px !important;
  border-radius: 30px !important;
  box-shadow: var(--mg-luxe-shadow) !important;
  overflow: hidden;
}
.mg-home .mg-tabsec-panel { min-height: 620px !important; }
.mg-home .mg-tabsec-panel img { filter: saturate(.88) contrast(.98); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mg-home .mg-tabsec-panel:hover img { transform: scale(1.025); }
.mg-home .mg-tabsec-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,18,22,.68), rgba(28,18,22,.08) 58%, transparent);
  pointer-events: none;
}
.mg-home .mg-tabsec-panel-overlay { z-index: 2; max-width: 440px; color: #fff !important; }
.mg-home .mg-tabsec-panel-title { color: #fff !important; font-family: var(--mg-luxe-serif) !important; font-size: clamp(44px,5vw,68px) !important; font-weight: 400 !important; }
.mg-home .mg-tabsec-panel-blurb { color: rgba(255,255,255,.76) !important; }
.mg-home .mg-tabsec-panel-cta { border-color: rgba(255,255,255,.55) !important; color: #fff !important; }

.mg-home .mg-howit { background: var(--mg-luxe-linen) !important; }
.mg-home .mg-howit-inner { max-width: 1180px; }
.mg-home .mg-howit-grid { gap: 1px !important; border: 1px solid var(--mg-luxe-line); border-radius: 24px; background: var(--mg-luxe-line); overflow: hidden; }
.mg-home .mg-howit-step {
  min-height: 300px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fbf9f6 !important;
  box-shadow: none !important;
  padding: 34px 28px !important;
}
.mg-home .mg-howit-step:hover { background: #fff !important; transform: none !important; }
.mg-home .mg-howit-step-num { color: var(--mg-luxe-gold) !important; font-family: var(--mg-luxe-serif); font-size: 18px !important; }
.mg-home .mg-howit-step-icon { color: var(--mg-luxe-plum) !important; }
.mg-home .mg-howit-step-title { font-family: var(--mg-luxe-serif) !important; font-size: 25px !important; font-weight: 500 !important; }

.mg-home .mg-reviews { background: #fff !important; }
.mg-home .mg-tabsec-card {
  border: 1px solid var(--mg-luxe-line) !important;
  border-radius: 22px !important;
  background: var(--mg-luxe-paper) !important;
  box-shadow: none !important;
}
.mg-home .mg-tabsec-card-quote { color: #4d4045 !important; font-family: var(--mg-luxe-serif); font-size: 20px !important; line-height: 1.5 !important; }
.mg-home .mg-tabsec-card-stars { color: var(--mg-luxe-gold) !important; letter-spacing: .14em; }

.mg-home .mg-buffer {
  padding: 130px 36px !important;
  background: var(--mg-luxe-plum) !important;
}
.mg-home .mg-buffer-inner { max-width: 980px !important; }
.mg-home .mg-buffer-eyebrow { color: #d6bea1 !important; }
.mg-home .mg-buffer-headline { color: #fff !important; font-family: var(--mg-luxe-serif) !important; font-size: clamp(48px,6vw,78px) !important; font-weight: 400 !important; line-height: 1.05 !important; }
.mg-home .mg-newsletter { padding: 110px 36px !important; background: #241a1d !important; color: #fff; }
.mg-home .mg-newsletter-inner { max-width: 760px; }
.mg-home .mg-newsletter-eyebrow { color: #cbb391 !important; }
.mg-home .mg-newsletter-title { color: #fff !important; }
.mg-home .mg-newsletter-desc { color: rgba(255,255,255,.65) !important; }
.mg-home .mg-newsletter-form { max-width: 620px; border-bottom: 1px solid rgba(255,255,255,.35); }
.mg-home .mg-newsletter-input { border: 0 !important; background: transparent !important; color: #fff !important; }
.mg-home .mg-newsletter-btn { border: 0 !important; background: transparent !important; color: #fff !important; }

/* BaZi landing experience */
body.page-template-page-bazi,
body.page-id-11 { background: var(--mg-luxe-paper) !important; }
#app { --gold: var(--mg-luxe-plum) !important; --txt: var(--mg-luxe-ink) !important; --txt-main: var(--mg-luxe-ink) !important; --bd: rgba(64,39,48,.13) !important; }
#app .page-header {
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px;
  margin: 58px auto 100px;
  padding: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  align-items: stretch;
  border: 1px solid var(--mg-luxe-line);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--mg-luxe-shadow);
  overflow: hidden !important;
}
#app .page-header::after { display: none !important; }
#app .page-header > .center-wrap { width: 100%; max-width: none !important; padding: 0 !important; margin: 0 !important; }
#app .brand-hero,
#app .hero-carousel-wrap,
#app #hero-track { height: 100%; min-height: 790px; }
#app .hero-carousel-wrap { margin: 0 !important; border-radius: 0 !important; }
#app .hero-slide { height: 100% !important; min-height: 790px !important; }
#app .hero-slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; filter: saturate(.86) contrast(.96); }
#app .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27,17,21,.72), transparent 58%);
  pointer-events: none;
}
#app #hero-caption { left: 42px !important; right: 42px !important; bottom: 38px !important; text-align: left !important; z-index: 3; }
#app #hero-caption > div:first-child { font-family: var(--mg-luxe-serif) !important; font-size: 34px !important; font-weight: 400 !important; line-height: 1.05 !important; }
#app #hero-caption > div:last-child { margin-top: 10px; font-size: 11px !important; letter-spacing: .08em !important; text-transform: uppercase; }
#app #hero-dots { right: 34px !important; bottom: 30px !important; z-index: 4; }
#app .form-card#input-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 50px 46px 42px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}
#app .form-card#input-card::before { display: none !important; }
#app .mg-bazi-form-intro { margin: 0 0 34px; padding: 0 0 29px; border-bottom: 1px solid var(--mg-luxe-line); }
#app .mg-bazi-form-intro > span { color: var(--mg-luxe-plum); font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
#app .mg-bazi-form-intro h1 { margin: 12px 0 10px; color: var(--mg-luxe-ink); font-family: var(--mg-luxe-serif) !important; font-size: 40px; font-weight: 400; line-height: 1; letter-spacing: -.025em; }
#app .mg-bazi-form-intro p { margin: 0; color: var(--mg-luxe-muted); font-size: 12px; line-height: 1.75; }
#app .mg-bazi-form-meta { display: flex; align-items: center; gap: 8px; margin-top: 19px; color: #7c6f74; font-size: 9.5px; letter-spacing: .02em; }
#app .mg-bazi-form-meta b { color: var(--mg-luxe-gold); font-family: var(--mg-luxe-serif); font-size: 13px; font-weight: 500; }
#app .mg-bazi-form-meta i { flex: 1; height: 1px; background: var(--mg-luxe-line); }
#app .form-section { margin: 0 0 22px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
#app .form-section-label { color: #615358 !important; font-size: 10px !important; font-weight: 600 !important; letter-spacing: .08em !important; text-transform: uppercase; }
#app .city-search-field,
#app .form-datetime-row,
#app #intent-select,
#app #gender-select,
#app #cal-select {
  min-height: 50px !important;
  border: 1px solid rgba(64,39,48,.14) !important;
  border-radius: 12px !important;
  background-color: #fcfaf8 !important;
  box-shadow: none !important;
}
#app .city-search-field:focus-within,
#app .form-datetime-row:focus-within { border-color: rgba(109,49,77,.58) !important; box-shadow: 0 0 0 3px rgba(109,49,77,.055) !important; }
#app .form-num,
#app .city-search-input { color: var(--mg-luxe-ink) !important; font-size: 13px !important; }
#app [style*="--mg-card-bg"] { border: 1px solid rgba(64,39,48,.09); background: #f7f2ee !important; border-radius: 14px !important; }
#app .calc-btn {
  min-height: 54px;
  border: 1px solid var(--mg-luxe-plum) !important;
  border-radius: 12px !important;
  background: var(--mg-luxe-plum) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 12px !important;
  letter-spacing: .07em;
}
#app .calc-btn:hover { background: #54223a !important; transform: translateY(-1px) !important; }
#app .btn-proof { margin-top: 13px !important; color: #786a70 !important; font-size: 10px !important; }
#app .btn-privacy { color: #92858a !important; font-size: 9px !important; }
#app #result-section { width: min(1040px, calc(100% - 48px)); margin: 0 auto 120px; }
#app #result-section .center-wrap,
#app #result-section .hook-zone.center-wrap,
#app #result-section .tab-content.center-wrap,
#app #result-section .bottom-tools.center-wrap { max-width: 1040px !important; }
#app .mg-card,
#app .bazi-card,
#app .bottom-tools .mg-card {
  border: 1px solid var(--mg-luxe-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 14px 50px rgba(48,29,36,.06) !important;
}
#app .mg-card-title { color: var(--mg-luxe-ink) !important; font-family: var(--mg-luxe-serif) !important; font-size: 23px !important; font-weight: 500 !important; }
#app .mg-card-title::before { background: var(--mg-luxe-plum) !important; }
#app .tab-btn.active,
#app .sub-tab-btn.active { background: var(--mg-luxe-ink) !important; color: #fff !important; border-color: var(--mg-luxe-ink) !important; }

/* Product detail — modern jewellery editorial */
body.single-product { background: #fbfaf8; }
body.single-product .mg-content-wide { width: min(1280px, calc(100% - 72px)); margin: 72px auto 130px; }
.woocommerce div.product { grid-template-columns: minmax(0,1.08fr) minmax(420px,.92fr) !important; gap: clamp(54px,6vw,94px) !important; }
.woocommerce div.product div.images {
  padding: 18px;
  border: 1px solid rgba(54,34,41,.08);
  border-radius: 30px;
  background: #f6f2ee;
}
.woocommerce div.product div.images img { border-radius: 20px !important; mix-blend-mode: multiply; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  top: 36px !important;
  right: 36px !important;
  border: 1px solid var(--mg-luxe-line) !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 8px 26px rgba(42,26,32,.08) !important;
}
.woocommerce div.product div.summary { margin: 44px 0 0 !important; top: 118px !important; }
.mg-product-kicker { margin: 0 0 19px; color: var(--mg-luxe-plum); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.woocommerce div.product .product_title {
  max-width: 590px;
  margin: 0 0 22px !important;
  color: var(--mg-luxe-ink) !important;
  font-family: var(--mg-luxe-serif) !important;
  font-size: clamp(48px,4.5vw,68px) !important;
  font-weight: 400 !important;
  line-height: .98 !important;
  letter-spacing: -.04em !important;
}
.mg-product-intro { max-width: 500px; margin: 0 0 23px; color: var(--mg-luxe-muted); font-size: 13px; line-height: 1.85; }
.woocommerce div.product p.price { margin: 0 0 32px !important; color: var(--mg-luxe-ink) !important; font-family: var(--mg-luxe-serif); font-size: 24px !important; }
.woocommerce div.product form.cart { gap: 10px !important; margin-bottom: 28px !important; padding-bottom: 28px; border-bottom: 1px solid var(--mg-luxe-line); }
.woocommerce .quantity .qty {
  width: 104px !important;
  min-height: 54px !important;
  border: 1px solid var(--mg-luxe-line) !important;
  border-radius: 12px !important;
  background: transparent;
}
.woocommerce div.product form.cart .button {
  min-height: 54px !important;
  border-radius: 12px !important;
  background: var(--mg-luxe-plum) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .06em;
}
.woocommerce div.product form.cart .button:hover { background: #54223a !important; transform: translateY(-1px); }
.mg-product-assurance { display: grid; gap: 0; border-top: 1px solid var(--mg-luxe-line); }
.mg-product-assurance-item { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--mg-luxe-line); }
.mg-product-assurance-item > span { color: var(--mg-luxe-gold); font-family: var(--mg-luxe-serif); font-size: 18px; }
.mg-product-assurance-item strong { display: block; margin-bottom: 2px; color: #392c31; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mg-product-assurance-item small { display: block; color: #7c6f74; font-size: 10.5px; line-height: 1.55; }
.mg-product-philosophy {
  grid-column: 1 / -1;
  margin: 72px 0 22px;
  padding: 82px clamp(34px,8vw,120px);
  border-radius: 30px;
  background: var(--mg-luxe-linen);
  text-align: center;
}
.mg-product-philosophy-kicker { margin: 0 0 20px; color: var(--mg-luxe-plum); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.mg-product-philosophy h2 { max-width: 820px; margin: 0 auto 22px; color: var(--mg-luxe-ink); font-family: var(--mg-luxe-serif); font-size: clamp(42px,5vw,64px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.mg-product-philosophy > p:last-child { max-width: 650px; margin: 0 auto; color: var(--mg-luxe-muted); font-size: 13px; line-height: 1.85; }
.woocommerce div.product .woocommerce-tabs { margin-top: 28px !important; padding: 34px 0 10px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; justify-content: center; gap: 34px; border: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #7d7075; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 820px; margin: 20px auto 0 !important; color: var(--mg-luxe-muted); font-size: 13px; line-height: 1.9; }
.woocommerce div.product .related { margin-top: 90px; }
.woocommerce div.product .related > h2 { margin-bottom: 38px; text-align: center; font-family: var(--mg-luxe-serif) !important; font-size: clamp(42px,4vw,58px) !important; font-weight: 400 !important; }

/* Checkout — quiet, focused, trustworthy */
body.woocommerce-checkout { background: #f7f3ef; }
body.woocommerce-checkout .mg-promo-marquee { display: none; }
body.woocommerce-checkout .mg-hdr { position: relative; background: #fbfaf8 !important; }
body.woocommerce-checkout .mg-hdr-inner { display: flex !important; justify-content: center !important; min-height: 82px !important; }
body.woocommerce-checkout .mg-hdr-nav,
body.woocommerce-checkout .mg-hdr-actions { display: none !important; }
body.woocommerce-checkout .mg-hdr-logo { width: 68px; height: 68px; }
body.woocommerce-checkout .mg-hdr-logo img { width: 68px; height: 68px; }
.mg-checkout-intro { max-width: 1120px; margin: 64px auto 36px; padding: 0 24px; text-align: center; }
.mg-checkout-intro > span { color: var(--mg-luxe-plum); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.mg-checkout-intro h1 { margin: 15px 0 12px; color: var(--mg-luxe-ink); font-family: var(--mg-luxe-serif); font-size: clamp(48px,5vw,66px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.mg-checkout-intro > p { margin: 0; color: var(--mg-luxe-muted); font-size: 12px; }
.mg-checkout-trust { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; color: #7c6e73; font-size: 9.5px; letter-spacing: .035em; text-transform: uppercase; }
.mg-checkout-trust b { color: var(--mg-luxe-gold); font-family: var(--mg-luxe-serif); font-size: 12px; font-weight: 500; }
.mg-checkout-trust i { width: 18px; height: 1px; background: rgba(54,34,41,.18); }
body.woocommerce-checkout .mg-content-wide { width: min(1120px, calc(100% - 48px)); margin: 0 auto 100px; }
body.woocommerce-checkout .entry-title { display: none; }
body.woocommerce-checkout .wc-block-checkout { padding: 0 !important; }
body.woocommerce-checkout .wc-block-components-sidebar-layout { align-items: flex-start; gap: 48px; }
body.woocommerce-checkout .wc-block-components-main { width: calc(64% - 24px) !important; padding-right: 0 !important; }
body.woocommerce-checkout .wc-block-components-sidebar { width: calc(36% - 24px) !important; margin-top: 0 !important; }
body.woocommerce-checkout .wc-block-checkout__form > .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-checkout__order-notes-block,
body.woocommerce-checkout .wc-block-checkout__terms {
  margin-bottom: 14px !important;
  padding: 26px 28px !important;
  border: 1px solid rgba(54,34,41,.10) !important;
  border-radius: 18px !important;
  background: #fff !important;
}
body.woocommerce-checkout .wc-block-components-checkout-step { padding-left: 0 !important; }
body.woocommerce-checkout .wc-block-components-checkout-step__heading { margin-bottom: 17px !important; }
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-totals-wrapper h2 {
  color: var(--mg-luxe-ink) !important;
  font-family: var(--mg-luxe-serif) !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  letter-spacing: -.02em;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-address-form select {
  min-height: 54px !important;
  border: 1px solid rgba(54,34,41,.17) !important;
  border-radius: 10px !important;
  background: #fcfbf9 !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-radio-control__option {
  border: 1px solid rgba(54,34,41,.14) !important;
  border-radius: 12px !important;
  background: #fcfbf9 !important;
}
body.woocommerce-checkout .wc-block-components-sidebar > div,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  position: sticky;
  top: 28px;
  border: 1px solid rgba(54,34,41,.10) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 20px 70px rgba(48,29,36,.075);
  overflow: hidden;
}
body.woocommerce-checkout .wc-block-components-order-summary { padding: 26px !important; }
body.woocommerce-checkout .wc-block-components-order-summary-item__image img { border-radius: 10px; }
body.woocommerce-checkout .wc-block-components-button {
  min-height: 56px !important;
  border-radius: 12px !important;
  background: var(--mg-luxe-plum) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .07em;
}
body.woocommerce-checkout .wc-block-components-button:hover { background: #54223a !important; }
body.woocommerce-checkout .mg-site-footer { display: none; }

/* Footer */
.mg-site-footer { background: #eee8e4 !important; color: #6f6267 !important; }
.mg-footer-menu h3 { font-family: var(--mg-luxe-serif) !important; font-size: 20px !important; font-weight: 500 !important; }
.mg-footer-utilities { border-color: rgba(54,34,41,.1) !important; }

@media (max-width: 980px) {
  .mg-hdr-nav { right: -340px !important; }
  .mg-hdr-nav.is-open { right: 0 !important; }
  .mg-home .mg-hero { min-height: 780px; }
  .mg-home .mg-hero-inner { min-height: 780px; width: min(100% - 42px, 1320px); }
  .mg-home .mg-hero-content { width: min(510px, 58vw); }
  .mg-home .mg-hero-title { font-size: 58px !important; }
  .mg-home .mg-tabsec-stage,
  .mg-home .mg-tabsec-panel { min-height: 520px !important; }
  #app .page-header { grid-template-columns: 1fr; width: min(760px, calc(100% - 48px)); }
  #app .brand-hero,
  #app .hero-carousel-wrap,
  #app #hero-track,
  #app .hero-slide { min-height: 530px !important; height: 530px !important; }
  #app .form-card#input-card { padding: 46px !important; }
  .woocommerce div.product { grid-template-columns: 1fr !important; }
  .woocommerce div.product div.summary { position: static !important; max-width: 720px; margin: 20px auto 0 !important; }
  body.woocommerce-checkout .wc-block-components-sidebar-layout { gap: 24px; }
  body.woocommerce-checkout .wc-block-components-main { width: calc(60% - 12px) !important; }
  body.woocommerce-checkout .wc-block-components-sidebar { width: calc(40% - 12px) !important; }
}

@media (max-width: 700px) {
  .mg-hdr-inner { min-height: 64px !important; }
  .mg-home .mg-hero { min-height: auto !important; }
  .mg-home .mg-hero-inner { width: 100%; min-height: 0; display: block; }
  .mg-home .mg-hero-content { width: 100%; padding: 0; }
  .mg-home .mg-hero.has-image .mg-hero-text { min-height: 70vw !important; padding: 36px 20px 26px !important; }
  .mg-home .mg-hero.has-image .mg-hero-bg-img { height: 70vw !important; }
  .mg-home .mg-hero.has-image .mg-hero-mask {
    background:
      linear-gradient(90deg, rgba(249,246,242,.82), rgba(249,246,242,.34) 68%, transparent),
      linear-gradient(180deg, transparent 34%, rgba(249,246,242,.94) 70%, rgba(249,246,242,.98)) !important;
  }
  .mg-home .mg-hero-title { margin: 17px 0 15px !important; font-size: 36px !important; line-height: 1.04 !important; }
  .mg-home .mg-hero-title-cn { font-size: 31px !important; line-height: 1.25 !important; }
  .mg-home .mg-hero-desc { max-width: 330px; font-size: 12px !important; line-height: 1.7 !important; }
  .mg-home .mg-hero.has-image .mg-hero-form { margin: 0 14px 24px !important; padding: 24px 20px 20px !important; border-radius: 20px !important; }
  .mg-home .mg-hero-form-title { font-size: 24px !important; }
  .mg-home .mg-trust-strip-inner { min-height: 80px; }
  .mg-home .mg-tabsec,
  .mg-home .mg-howit,
  .mg-home .mg-reviews { padding: 78px 18px !important; }
  .mg-home .mg-tabsec-title,
  .mg-home .mg-howit-title,
  .mg-home .mg-newsletter-title { font-size: 44px !important; }
  .mg-home .mg-tabsec-stage,
  .mg-home .mg-tabsec-panel { min-height: 440px !important; border-radius: 22px !important; }
  .mg-home .mg-tabsec-panel::after { background: linear-gradient(0deg, rgba(28,18,22,.78), rgba(28,18,22,.08) 70%); }
  .mg-home .mg-tabsec-panel-overlay { top: auto !important; bottom: 0 !important; padding: 30px 24px !important; }
  .mg-home .mg-tabsec-panel-title { font-size: 44px !important; }
  .mg-home .mg-howit-grid { grid-template-columns: 1fr !important; }
  .mg-home .mg-howit-step { min-height: 220px; }
  .mg-home .mg-buffer { padding: 88px 22px !important; }
  .mg-home .mg-buffer-headline { font-size: 45px !important; }
  .mg-home .mg-newsletter { padding: 82px 22px !important; }

  #app .page-header { width: calc(100% - 24px); margin: 24px auto 70px; border-radius: 24px; }
  #app .brand-hero,
  #app .hero-carousel-wrap,
  #app #hero-track,
  #app .hero-slide { min-height: 430px !important; height: 430px !important; }
  #app #hero-caption { left: 24px !important; right: 24px !important; bottom: 26px !important; }
  #app #hero-caption > div:first-child { font-size: 27px !important; }
  #app .form-card#input-card { padding: 32px 20px 26px !important; }
  #app .mg-bazi-form-intro h1 { font-size: 34px; }
  #app .mg-bazi-form-meta { font-size: 8.5px; gap: 5px; }
  #app .form-row { gap: 7px !important; }
  #app #result-section { width: calc(100% - 24px); }

  body.single-product .mg-content-wide { width: calc(100% - 28px); margin: 32px auto 90px; }
  .woocommerce div.product div.images { padding: 10px; border-radius: 22px; }
  .woocommerce div.product div.images img { border-radius: 15px !important; }
  .woocommerce div.product .product_title { font-size: 43px !important; }
  .woocommerce div.product form.cart { display: grid !important; grid-template-columns: 88px 1fr; }
  .woocommerce .quantity .qty { width: 88px !important; }
  .mg-product-philosophy { margin-top: 50px; padding: 58px 24px; border-radius: 22px; }
  .mg-product-philosophy h2 { font-size: 39px; }

  .mg-checkout-intro { margin: 46px auto 28px; }
  .mg-checkout-intro h1 { font-size: 48px; }
  .mg-checkout-trust { flex-wrap: wrap; }
  body.woocommerce-checkout .mg-content-wide { width: calc(100% - 24px); }
  body.woocommerce-checkout .wc-block-components-sidebar-layout { display: flex !important; flex-direction: column !important; }
  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-sidebar { width: 100% !important; }
  body.woocommerce-checkout .wc-block-components-sidebar { order: -1; }
  body.woocommerce-checkout .wc-block-components-sidebar > div,
  body.woocommerce-checkout .wc-block-checkout__sidebar { position: static; }
  body.woocommerce-checkout .wc-block-checkout__form > .wc-block-components-checkout-step,
  body.woocommerce-checkout .wc-block-checkout__order-notes-block,
  body.woocommerce-checkout .wc-block-checkout__terms { padding: 22px 18px !important; border-radius: 16px !important; }
}
