/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.12.5.1773849420
Updated: 2026-03-18 15:56:58

*/


/* ══════════════════════════════════════════════════════════════
   ROSALIE — SHARED STYLES (Background, Header, Footer, Nav)
══════════════════════════════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
/* ── 全域 CSS 變數（:root）確保所有頁面都能使用 ── */
:root {
  --rose: #F4A7C3;
  --rose-mid: #E891B2;
  --lav-deep: #B8A9D9;
  --mint-deep: #9FD5D8;
  --text-dark: #2A2234;
  --text-mid: #7A6A8A;
  --text-soft: #B0A4BC;
  --glass: rgba(255,255,255,0.38);
  --glass-s: rgba(255,255,255,0.58);
  --glass-b: rgba(255,255,255,0.65);
  --g-shadow: 0 8px 32px rgba(180,150,210,0.13);
  --max-w: 1280px;
  --side-mobile: 16px;
  --side-tablet: 32px;
  --side-desk: 64px;
}

.rosalie-site {
  --rose: #F4A7C3;
  --rose-mid: #E891B2;
  --lav-deep: #B8A9D9;
  --mint-deep: #9FD5D8;
  --text-dark: #2A2234;
  --text-mid: #7A6A8A;
  --text-soft: #B0A4BC;
  --glass: rgba(255,255,255,0.38);
  --glass-s: rgba(255,255,255,0.58);
  --glass-b: rgba(255,255,255,0.65);
  --g-shadow: 0 8px 32px rgba(180,150,210,0.13);
  --max-w: 1280px;
  --side-mobile: 16px;
  --side-tablet: 32px;
  --side-desk: 64px;
}
.rosalie-site,
.rosalie-site *,
.rosalie-site *::before,
.rosalie-site *::after {
  margin: 0; padding: 0; box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.rosalie-site {
  font-family: 'Noto Sans TC', sans-serif;
  background: #fdf0f8;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-dark);
  line-height: 1.5;
}
.rosalie-site a { color: inherit; }
.rosalie-site ul { list-style: none; }
.rosalie-site img { max-width: 100%; height: auto; }

/* ── ANIMATED MESH BACKGROUND ── */
.rosalie-bg,
.rosalie-bg-layer {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 5%, rgba(253,236,244,0.92) 0%, transparent 55%),
    radial-gradient(ellipse 60% 65% at 85% 20%, rgba(230,230,250,0.78) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 85%, rgba(224,247,250,0.72) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 5% 75%, rgba(249,208,229,0.62) 0%, transparent 55%),
    #fdf0f8;
}
.rosalie-orb {
  position: fixed; border-radius: 50%; filter: blur(80px);
  z-index: 0; pointer-events: none;
}
.rosalie-orb1 {
  width: 420px; height: 420px; top: -100px; left: -80px;
  background: radial-gradient(circle, rgba(253,236,244,0.7), rgba(249,208,229,0.35));
  animation: rosalie-o1 13s ease-in-out infinite alternate;
}
.rosalie-orb2 {
  width: 380px; height: 380px; top: 35%; right: -90px;
  background: radial-gradient(circle, rgba(230,230,250,0.6), rgba(184,169,217,0.3));
  animation: rosalie-o2 16s ease-in-out infinite alternate;
}
.rosalie-orb3 {
  width: 320px; height: 320px; bottom: 180px; left: 8%;
  background: radial-gradient(circle, rgba(224,247,250,0.55), rgba(159,213,216,0.28));
  animation: rosalie-o3 11s ease-in-out infinite alternate;
}
@keyframes rosalie-o1 { to { transform: translate(55px,60px) scale(1.1); } }
@keyframes rosalie-o2 { to { transform: translate(-55px,-45px) scale(1.12); } }
@keyframes rosalie-o3 { to { transform: translate(40px,-50px) scale(1.08); } }

.rosalie-site-wrap { position: relative; z-index: 10; }

/* ── DESKTOP HEADER ── */
.rosalie-desk-header {
  display: none; position: sticky; top: 0; z-index: 200; width: 100%;
  background: rgba(253,240,252,0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 2px 20px rgba(180,150,210,0.1);
}
.rosalie-desk-header-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--side-desk); height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.rosalie-desk-logo {
  display: flex; flex-direction: column;
  text-decoration: none; flex-shrink: 0;
}
.rosalie-desk-logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; color: var(--text-dark);
  letter-spacing: 0.04em; line-height: 1.1;
}
.rosalie-desk-logo-zh {
  font-size: 10px; color: var(--text-soft); letter-spacing: 0.14em;
}
.rosalie-desk-nav { display: flex; gap: 6px; }
.rosalie-desk-nav-link {
  padding: 8px 16px; border-radius: 100px; border: none;
  background: transparent; font-size: 15px; font-weight: 500;
  color: var(--text-dark); font-family: 'Noto Sans TC'; cursor: pointer;
  text-decoration: none; letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s;
}
.rosalie-desk-nav-link:hover {
  background: rgba(184,169,217,0.15); color: var(--lav-deep);
}
.rosalie-desk-nav-link.active {
  background: rgba(184,169,217,0.22); color: var(--lav-deep); font-weight: 600;
}
.rosalie-desk-actions { display: flex; gap: 8px; flex-shrink: 0; }
.rosalie-ios-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.65) !important; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: none;
  transition: transform 0.15s, background 0.15s; text-decoration: none;
  outline: none !important;
}
.rosalie-ios-btn:focus,
.rosalie-ios-btn:focus-visible,
.rosalie-ios-btn:active {
  outline: none !important;
  box-shadow: none !important;
}
.rosalie-ios-btn:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.72);
}
.rosalie-ios-btn svg {
  width: 18px; height: 18px; stroke: var(--text-mid); stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
/* Wishlist page: active heart = same pink as shop page */
.rosalie-ios-btn.active svg {
  stroke: #E891B2 !important;
  fill: #F4A7C3 !important;
}

/* ── MOBILE TOPBAR ── */
.rosalie-mobile-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 56px var(--side-mobile) 14px; position: relative; z-index: 20;
}
.rosalie-mob-logo { text-decoration: none; }
.rosalie-mob-logo-en {
  font-family: 'Cormorant Garamond', serif; font-size: 21px;
  font-weight: 500; color: var(--text-dark); letter-spacing: 0.03em;
}
.rosalie-mob-logo-zh {
  font-size: 12px; color: var(--text-soft);
  letter-spacing: 0.14em; margin-top: 1px;
}
.rosalie-mob-icons { display: flex; gap: 8px; }
@media (min-width: 768px) {
  .rosalie-desk-header { display: block; }
  .rosalie-mobile-topbar { display: none; }
}

/* ── CONTENT WRAP ── */
.rosalie-content-wrap {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--side-mobile);
}
@media (min-width: 768px) {
  .rosalie-content-wrap { padding: 36px var(--side-tablet) 0; }
}
@media (min-width: 1024px) {
  .rosalie-content-wrap { padding: 36px var(--side-desk) 0; }
}

/* ── ANIMATIONS ── */
@keyframes rosalie-pulse {
  0% { box-shadow: 0 0 0 0 rgba(244,167,195,0.55); }
  60% { box-shadow: 0 0 0 7px rgba(244,167,195,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,167,195,0); }
}
@keyframes rosalie-fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.rosalie-fade-up { animation: rosalie-fadeUp 0.6s ease both; }
.rosalie-delay-1 { animation-delay: 0.1s; }
.rosalie-delay-2 { animation-delay: 0.2s; }
.rosalie-delay-3 { animation-delay: 0.3s; }
.rosalie-delay-4 { animation-delay: 0.4s; }

/* ── SHARED FOOTER ── */
.rosalie-footer {
  background: linear-gradient(160deg, #2A1F3D 0%, #1E2540 55%, #1A2E38 100%);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 16px; padding: 0;
}
@media (max-width: 767px) {
  .rosalie-footer { padding-bottom: max(80px, env(safe-area-inset-bottom)); }
}
.rosalie-footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 48px var(--side-mobile) 32px;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 768px) {
  .rosalie-footer-inner {
    grid-template-columns: 1.8fr 1fr 1fr;
    padding: 56px var(--side-tablet) 36px;
  }
}
@media (min-width: 1024px) {
  .rosalie-footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 64px var(--side-desk) 40px;
  }
}
.rosalie-footer-logo {
  text-decoration: none; display: block; margin-bottom: 12px;
}
.rosalie-footer-logo-zh {
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.88); letter-spacing: 0.06em;
}
.rosalie-footer-logo-en {
  font-family: 'Cormorant Garamond', serif; font-size: 12px;
  color: rgba(255,255,255,0.4); letter-spacing: 0.14em; margin-top: 2px;
}
.rosalie-footer-tagline {
  font-size: 12.5px; color: rgba(255,255,255,0.48);
  line-height: 1.75; margin-bottom: 18px;
}
.rosalie-footer-socials { display: flex; gap: 10px; }
.rosalie-social-btn,
.rosalie-footer-social {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: rgba(255,255,255,0.55);
  transition: background 0.15s, color 0.15s;
}
.rosalie-social-btn:hover,
.rosalie-footer-social:hover {
  background: rgba(244,167,195,0.18); color: var(--rose);
}
.rosalie-social-btn svg,
.rosalie-footer-social svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.7); stroke-width: 1.6; fill: none; }
.rosalie-footer-col-title {
  font-size: 11px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4); text-transform: uppercase;
  font-weight: 500; margin-bottom: 14px;
}
.rosalie-footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.rosalie-footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.58);
  text-decoration: none; transition: color 0.15s;
}
.rosalie-footer-links a:hover { color: rgba(255,255,255,0.88); }
.rosalie-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.rosalie-footer-bottom-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 16px var(--side-mobile);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 8px;
}
.rosalie-footer-copy {
  font-size: 11px; color: rgba(255,255,255,0.3);
}
.rosalie-footer-craft {
  font-size: 11px; color: rgba(255,255,255,0.25);
}

/* ── MOBILE BOTTOM NAV ── */
/* ── MOBILE BOTTOM NAV (redesigned v2 2026-05-01, matches mockup) ── */
.rosalie-bottom-nav {
  display: block; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 300;
  padding: 0 16px max(14px, env(safe-area-inset-bottom)) 16px;
  pointer-events: none;
}
@media (min-width: 1024px) { .rosalie-bottom-nav { display: none; } }

.rosalie-nav-pill {
  pointer-events: all;
  display: flex; justify-content: space-around; align-items: center;
  background: rgba(42,18,60,0.88);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 8px 6px;
  box-shadow: 0 -4px 24px rgba(42,18,60,0.35);
}

.rosalie-nav-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 6px 14px; border-radius: 16px;
  cursor: pointer; transition: background 0.18s; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.rosalie-nav-item:hover { background: rgba(244,167,195,0.10); }
.rosalie-nav-item.active { background: rgba(244,167,195,0.15); }

.rosalie-nav-icon-box {
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.rosalie-nav-item.active .rosalie-nav-icon-box {
  background: linear-gradient(135deg, rgba(244,167,195,0.30), rgba(184,169,217,0.25));
}

.rosalie-nav-icon-box svg {
  width: 20px; height: 20px;
  stroke: rgba(255,255,255,0.55);
  stroke-width: 1.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.18s;
}
.rosalie-nav-item.active .rosalie-nav-icon-box svg { stroke: #F4A7C3; }

.rosalie-nav-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  transition: color 0.18s; letter-spacing: 0.04em;
}
.rosalie-nav-item.active .rosalie-nav-label {
  color: #F4A7C3;
  font-weight: 600;
}

/* ── Mobile header wishlist icon ── */
.rosalie-wish-icon svg { stroke: var(--rose-mid, #E891B2) !important; }

/* page-end spacing */
.rosalie-page-end { height: 100px; }
@media (min-width: 768px) { .rosalie-page-end { height: 40px; } }
.rosalie-section-block { margin-bottom: 16px; }

/* ── SHARED CTA CARD ── */
.rosalie-cta-card {
  background: linear-gradient(135deg,
    rgba(244,167,195,0.22) 0%,
    rgba(184,169,217,0.18) 50%,
    rgba(159,213,216,0.15) 100%);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 22px; padding: 32px 22px; margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(200,150,210,0.14);
}
.rosalie-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500;
  color: var(--text-dark); margin-bottom: 8px;
}
.rosalie-cta-sub {
  font-size: 13.5px; color: var(--text-mid);
  margin-bottom: 24px; line-height: 1.7;
}
.rosalie-cta-btns {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.rosalie-btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  background: rgba(6,199,85,0.12); border: 1.5px solid rgba(6,199,85,0.32);
  border-radius: 100px; font-size: 14.5px; color: #06C755;
  font-family: 'Noto Sans TC'; cursor: pointer; font-weight: 500;
  text-decoration: none; transition: background 0.15s, transform 0.15s;
}
.rosalie-btn-line:hover {
  background: rgba(6,199,85,0.2); transform: translateY(-1px); color: #06C755;
}
.rosalie-btn-line svg { width: 18px; height: 18px; fill: #06C755; }
.rosalie-btn-fb {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  background: rgba(66,103,178,0.1); border: 1.5px solid rgba(66,103,178,0.28);
  border-radius: 100px; font-size: 14.5px; color: #4267B2;
  font-family: 'Noto Sans TC'; cursor: pointer; font-weight: 500;
  text-decoration: none; transition: background 0.15s, transform 0.15s;
}
.rosalie-btn-fb:hover {
  background: rgba(66,103,178,0.18); transform: translateY(-1px); color: #4267B2;
}
.rosalie-btn-fb svg { width: 18px; height: 18px; }


/* ══════════════════════════════════════════════════════════════
   ROSALIE — LEGAL PAGES SHARED (Privacy, Shipping, Terms)
══════════════════════════════════════════════════════════════ */

/* Narrower content wrap for legal pages */
.rosalie-legal-wrap {
  max-width: 860px; margin: 0 auto;
  padding: 0 var(--side-mobile);
}
@media (min-width: 768px) { .rosalie-legal-wrap { padding: 36px var(--side-tablet) 0; } }
@media (min-width: 1024px) { .rosalie-legal-wrap { padding: 36px var(--side-desk) 0; max-width: 960px; } }

/* Legal Page Header */
.rosalie-legal-header {
  position: relative; overflow: visible;
  background: var(--glass);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-b); border-radius: 28px;
  padding: 52px 28px 38px; margin-bottom: 16px;
  box-shadow: var(--g-shadow);
}
.rosalie-legal-header::before {
  content: ''; position: absolute; top: 28px; left: 28px;
  width: 32px; height: 1px;
  background: linear-gradient(to right, rgba(159,213,216,0.7), rgba(184,169,217,0.4));
}
@media (min-width: 768px) {
  .rosalie-legal-header { padding: 64px 56px 52px; border-radius: 32px; overflow: hidden; }
}
@media (min-width: 1024px) {
  .rosalie-legal-header { padding: 76px 72px 64px; }
}
.rosalie-legal-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(159,213,216,0.13); border: 1px solid rgba(159,213,216,0.3);
  border-radius: 100px; padding: 5px 16px; margin-bottom: 16px;
  font-size: 12px; color: #5BADB0; letter-spacing: 0.16em; font-weight: 500;
}
.rosalie-legal-eyebrow-dot {
  width: 5px; height: 5px; background: var(--mint-deep); border-radius: 50%;
  animation: rosalie-pulse 2.4s ease-out infinite; flex-shrink: 0;
}
.rosalie-legal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; line-height: 1.15;
  margin-bottom: 0; padding-top: 4px;
}
.rosalie-legal-title-zh {
  display: block; font-weight: 500; letter-spacing: 0.04em;
  background: linear-gradient(125deg, #5BADB0 0%, #9A80C8 55%, #C07898 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rosalie-legal-title-en {
  display: block; font-style: italic; font-weight: 300;
  font-size: 0.52em; letter-spacing: 0.16em;
  color: var(--text-soft); -webkit-text-fill-color: var(--text-soft);
  margin-top: 6px;
}
@media (min-width: 480px) { .rosalie-legal-title { font-size: 36px; } }
@media (min-width: 768px) { .rosalie-legal-title { font-size: 56px; line-height: 1.05; } }
@media (min-width: 1024px) { .rosalie-legal-title { font-size: 72px; line-height: 1.0; } }

.rosalie-legal-meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; flex-wrap: wrap;
}
.rosalie-legal-meta-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; background: rgba(255,255,255,0.45);
  border: 1px solid rgba(159,213,216,0.25); border-radius: 100px;
  font-size: 11.5px; color: var(--text-mid); letter-spacing: 0.04em;
}
.rosalie-legal-meta-chip svg {
  width: 13px; height: 13px; stroke: #5BADB0; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.rosalie-legal-meta-dot {
  width: 4px; height: 4px; background: rgba(159,213,216,0.45);
  border-radius: 50%; flex-shrink: 0;
}

/* Intro Card */
.rosalie-intro-card {
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b); border-radius: 22px;
  padding: 22px; box-shadow: var(--g-shadow); margin-bottom: 16px;
}
.rosalie-intro-text {
  font-size: 14px; color: var(--text-mid); line-height: 1.9;
}
.rosalie-intro-text strong { color: var(--text-dark); font-weight: 500; }

/* TOC Card */
.rosalie-toc-card {
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b); border-radius: 22px;
  padding: 20px; box-shadow: var(--g-shadow); margin-bottom: 16px;
}
.rosalie-toc-label {
  font-size: 11px; letter-spacing: 0.14em; color: var(--text-soft);
  font-weight: 500; text-transform: uppercase; margin-bottom: 12px;
}
.rosalie-toc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (min-width: 640px) { .rosalie-toc-grid { grid-template-columns: repeat(3, 1fr); } }
.rosalie-toc-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.7); border-radius: 12px;
  text-decoration: none; transition: background 0.15s, transform 0.15s; cursor: pointer;
}
.rosalie-toc-item:hover { background: rgba(159,213,216,0.12); transform: translateY(-1px); }
.rosalie-toc-num {
  font-family: 'Cormorant Garamond', serif; font-size: 18px;
  font-weight: 500; color: #5BADB0; line-height: 1; flex-shrink: 0; width: 20px;
}
.rosalie-toc-text { font-size: 11.5px; color: var(--text-mid); line-height: 1.4; }

/* Clause Card */
.rosalie-clause-card {
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b); border-radius: 24px;
  padding: 26px 22px; box-shadow: var(--g-shadow); margin-bottom: 16px;
}
@media (min-width: 768px) { .rosalie-clause-card { padding: 32px 36px; border-radius: 28px; } }
.rosalie-clause-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(159,213,216,0.16);
}
.rosalie-clause-badge {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 17px;
  font-weight: 500; color: white;
}
.rosalie-cb-1 { background: linear-gradient(135deg, #9FD5D8, #7BBFC2); }
.rosalie-cb-2 { background: linear-gradient(135deg, #B8A9D9, #9A80C8); }
.rosalie-cb-3 { background: linear-gradient(135deg, #F4A7C3, #E891B2); }
.rosalie-cb-4 { background: linear-gradient(135deg, #D4A96A, #C8924A); }
.rosalie-cb-5 { background: linear-gradient(135deg, #9A80C8, #B8A9D9); }
.rosalie-cb-6 { background: linear-gradient(135deg, #7BBFC2, #9FD5D8); }
.rosalie-cb-7 { background: linear-gradient(135deg, #E891B2, #F4A7C3); }
.rosalie-cb-8 { background: linear-gradient(135deg, #C8924A, #D4A96A); }

.rosalie-clause-title {
  font-size: 15px; font-weight: 600; color: var(--text-dark);
  letter-spacing: 0.03em; margin-bottom: 2px;
}
@media (min-width: 768px) { .rosalie-clause-title { font-size: 16px; } }
.rosalie-clause-en { font-size: 12px; color: var(--text-soft); letter-spacing: 0.1em; }

.rosalie-clause-body {
  font-size: 13.5px; color: var(--text-mid); line-height: 1.85;
}
.rosalie-clause-body strong { color: var(--text-dark); font-weight: 500; }
.rosalie-clause-body em { color: #5BADB0; font-style: normal; font-weight: 500; }

/* Clause Items */
.rosalie-clause-items { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.rosalie-clause-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 15px; background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.72); border-radius: 12px;
}
.rosalie-ci-icon {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.rosalie-ci-mint { background: rgba(159,213,216,0.2); }
.rosalie-ci-lav { background: rgba(184,169,217,0.2); }
.rosalie-ci-rose { background: rgba(244,167,195,0.2); }
.rosalie-ci-gold { background: rgba(212,169,106,0.18); }
.rosalie-ci-icon svg {
  width: 15px; height: 15px; stroke-width: 1.7;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-ci-mint svg { stroke: #5BADB0; }
.rosalie-ci-lav svg { stroke: #9080B8; }
.rosalie-ci-rose svg { stroke: #D4829A; }
.rosalie-ci-gold svg { stroke: #A8822A; }
.rosalie-ci-title { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 3px; }
.rosalie-ci-desc { font-size: 12.5px; color: var(--text-mid); line-height: 1.72; }
.rosalie-ci-desc strong { color: var(--text-dark); font-weight: 500; }

/* Law Tag */
.rosalie-law-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(184,169,217,0.12); border: 1px solid rgba(184,169,217,0.28);
  border-radius: 8px; padding: 3px 10px; font-size: 11px;
  color: #9080B8; font-weight: 500; letter-spacing: 0.04em; margin-top: 6px;
}

/* Data Chips */
.rosalie-data-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rosalie-data-chip {
  padding: 6px 14px; background: rgba(255,255,255,0.5);
  border: 1px solid rgba(159,213,216,0.28); border-radius: 100px;
  font-size: 12px; color: var(--text-mid);
}
.rosalie-data-chip span { font-weight: 600; color: #5BADB0; margin-right: 4px; }

/* Tips List */
.rosalie-tips-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.rosalie-tips-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-mid); line-height: 1.7;
}
.rosalie-tip-dot {
  width: 6px; height: 6px; background: var(--mint-deep);
  border-radius: 50%; flex-shrink: 0; margin-top: 5px;
}

/* Cookie Callout */
.rosalie-cookie-callout {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(159,213,216,0.1); border: 1px solid rgba(159,213,216,0.25);
  border-radius: 12px; padding: 14px 16px; margin-top: 10px;
}
.rosalie-cookie-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: rgba(159,213,216,0.2); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.rosalie-cookie-icon svg {
  width: 15px; height: 15px; stroke: #5BADB0; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-cookie-text { font-size: 12.5px; color: var(--text-mid); line-height: 1.72; }
.rosalie-cookie-text strong { color: #5BADB0; font-weight: 500; }

/* Legal CTA Card */
.rosalie-legal-cta {
  background: linear-gradient(135deg,
    rgba(159,213,216,0.18) 0%,
    rgba(184,169,217,0.18) 50%,
    rgba(244,167,195,0.14) 100%);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 22px; padding: 32px 22px;
  text-align: center;
  box-shadow: var(--g-shadow);
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .rosalie-legal-cta { padding: 44px 60px; border-radius: 28px; } }
.rosalie-legal-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.rosalie-legal-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500; color: var(--text-dark);
  margin-bottom: 8px; position: relative; z-index: 1;
}
@media (min-width: 768px) { .rosalie-legal-cta-title { font-size: 30px; } }
.rosalie-legal-cta-desc {
  font-size: 13.5px; color: var(--text-mid); line-height: 1.72;
  margin-bottom: 22px; position: relative; z-index: 1;
}
.rosalie-legal-cta-btns {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index: 1;
}
.rosalie-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #9FD5D8, #B8A9D9);
  border: none; border-radius: 100px;
  font-size: 14px; font-weight: 500; color: white;
  font-family: 'Noto Sans TC'; cursor: pointer; text-decoration: none;
  box-shadow: 0 6px 22px rgba(159,213,216,0.38);
  transition: transform 0.15s, box-shadow 0.15s;
}
.rosalie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(159,213,216,0.48);
  color: white;
}
.rosalie-btn-primary svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }
.rosalie-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(159,213,216,0.3);
  border-radius: 100px;
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  font-family: 'Noto Sans TC'; cursor: pointer; text-decoration: none;
  backdrop-filter: blur(12px); transition: background 0.15s, transform 0.15s;
}
.rosalie-btn-secondary:hover {
  background: rgba(255,255,255,0.8); transform: translateY(-2px);
  color: var(--text-mid);
}
.rosalie-btn-secondary svg {
  width: 15px; height: 15px; stroke: #5BADB0; stroke-width: 1.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}


/* ══════════════════════════════════════════════════════════════
   ROSALIE — PRIVACY PAGE
══════════════════════════════════════════════════════════════ */

/* Decorative "P" letter */
.rosalie-privacy-header::after {
  content: 'P'; position: absolute; right: -8px; bottom: -52px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 280px; font-weight: 300; font-style: italic;
  color: rgba(159,213,216,0.07); line-height: 1;
  pointer-events: none; user-select: none;
}


/* ══════════════════════════════════════════════════════════════
   ROSALIE — SHIPPING PAGE
══════════════════════════════════════════════════════════════ */

/* Hero — extends legal-header with stats grid */
.rosalie-ship-hero {
  position: relative; overflow: visible;
  background: var(--glass);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-b); border-radius: 28px;
  padding: 52px 28px 38px; margin-bottom: 16px;
  box-shadow: var(--g-shadow);
}
.rosalie-ship-hero::after {
  content: 'SHIP'; position: absolute; right: -8px; bottom: -28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px; font-weight: 300; font-style: italic;
  color: rgba(159,213,216,0.08); line-height: 1;
  pointer-events: none; user-select: none; white-space: nowrap;
}
.rosalie-ship-hero::before {
  content: ''; position: absolute; top: 28px; left: 28px;
  width: 28px; height: 1px;
  background: linear-gradient(to right, rgba(159,213,216,0.7), rgba(184,169,217,0.45));
}
@media (min-width: 768px) {
  .rosalie-ship-hero {
    padding: 64px 56px 52px; border-radius: 32px;
    display: grid; grid-template-columns: 1fr auto;
    align-items: end; gap: 32px; overflow: hidden;
  }
}
@media (min-width: 1024px) { .rosalie-ship-hero { padding: 76px 72px 64px; } }

.rosalie-ship-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(159,213,216,0.14); border: 1px solid rgba(159,213,216,0.32);
  border-radius: 100px; padding: 5px 16px; margin-bottom: 20px;
  font-size: 12px; color: #4AABAF; letter-spacing: 0.16em; font-weight: 500;
}
.rosalie-ship-eyebrow-dot {
  width: 5px; height: 5px; background: var(--mint-deep); border-radius: 50%;
  animation: rosalie-pulse 2.4s ease-out infinite; flex-shrink: 0;
}
.rosalie-ship-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; line-height: 1.15;
  margin-bottom: 0; padding-top: 4px;
}
@media (min-width: 480px) { .rosalie-ship-title { font-size: 36px; } }
@media (min-width: 768px) { .rosalie-ship-title { font-size: 56px; line-height: 1.05; } }
@media (min-width: 1024px) { .rosalie-ship-title { font-size: 88px; line-height: 1.0; } }
.rosalie-ship-title-zh {
  display: block; font-weight: 500; letter-spacing: 0.04em;
  background: linear-gradient(125deg, #5BADB0 0%, #9A80C8 60%, #C07898 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rosalie-ship-title-en {
  display: block; font-style: italic; font-weight: 300;
  font-size: 0.5em; letter-spacing: 0.16em;
  color: var(--text-soft); -webkit-text-fill-color: var(--text-soft);
  margin-top: 6px;
}

/* Hero Stats (desktop only) */
.rosalie-ship-stats {
  display: none; flex-direction: column; gap: 18px;
  align-items: flex-end; padding-bottom: 4px;
}
@media (min-width: 768px) { .rosalie-ship-stats { display: flex; } }
.rosalie-ship-stat { text-align: right; }
.rosalie-ship-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500; line-height: 1; color: var(--text-dark);
}
.rosalie-ship-stat-num span {
  font-size: 0.55em; color: var(--text-soft);
}
.rosalie-ship-stat-lbl {
  font-size: 9px; letter-spacing: 0.14em; color: var(--text-soft);
  font-weight: 500; text-transform: uppercase; margin-top: 2px;
}
.rosalie-ship-stat-sep {
  width: 28px; height: 1px;
  background: linear-gradient(to right, rgba(159,213,216,0.45), transparent);
  margin-left: auto; margin-top: 8px;
}

.rosalie-ship-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 22px; flex-wrap: wrap;
}
@media (min-width: 768px) { .rosalie-ship-meta { grid-column: 1 / -1; margin-top: 0; } }

/* Info Card (shared by shipping sections) */
.rosalie-ship-card {
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b); border-radius: 24px;
  padding: 28px 22px; box-shadow: var(--g-shadow);
}
@media (min-width: 768px) { .rosalie-ship-card { padding: 36px 40px; border-radius: 28px; } }

/* Section Heading */
.rosalie-sh { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.rosalie-sh-bar { width: 3px; height: 20px; flex-shrink: 0; border-radius: 2px; }
.rosalie-bar-mint { background: linear-gradient(180deg, var(--mint-deep), var(--lav-deep)); }
.rosalie-bar-lav { background: linear-gradient(180deg, var(--lav-deep), var(--rose)); }
.rosalie-bar-rose { background: linear-gradient(180deg, var(--rose), var(--mint-deep)); }
.rosalie-bar-gold { background: linear-gradient(180deg, #D4AA60, var(--rose)); }
.rosalie-sh-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 500; color: var(--text-dark); letter-spacing: 0.04em;
}
@media (min-width: 768px) { .rosalie-sh-title { font-size: 23px; } }

/* Timeline */
.rosalie-timeline { display: flex; flex-direction: column; gap: 0; }
.rosalie-tl-item { display: flex; gap: 16px; position: relative; }
.rosalie-tl-item:not(:last-child)::after {
  content: ''; position: absolute; left: 18px; top: 40px;
  width: 2px; bottom: -2px;
  background: linear-gradient(180deg, rgba(159,213,216,0.3), rgba(184,169,217,0.15));
}
.rosalie-tl-left { flex-shrink: 0; padding-top: 2px; }
.rosalie-tl-dot {
  width: 36px; height: 36px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.65);
}
.rosalie-tl-dot svg {
  width: 17px; height: 17px; stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-td-mint { background: rgba(159,213,216,0.2); }
.rosalie-td-mint svg { stroke: #5BADB0; }
.rosalie-td-lav { background: rgba(184,169,217,0.2); }
.rosalie-td-lav svg { stroke: #9080B8; }
.rosalie-td-rose { background: rgba(244,167,195,0.2); }
.rosalie-td-rose svg { stroke: #D4829A; }
.rosalie-td-gold { background: rgba(212,175,80,0.18); }
.rosalie-td-gold svg { stroke: #A07820; }
.rosalie-tl-body { padding: 0 0 24px; }
.rosalie-tl-title {
  font-size: 14.5px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 6px; letter-spacing: 0.02em;
}
.rosalie-tl-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.82; }
.rosalie-tl-desc strong { color: var(--text-dark); font-weight: 500; }

/* Callout */
.rosalie-callout {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 15px; border-radius: 13px; margin-top: 12px;
}
.rosalie-callout-warn {
  background: rgba(255,215,80,0.1); border: 1px solid rgba(210,165,40,0.24);
}
.rosalie-callout-info {
  background: rgba(159,213,216,0.1); border: 1px solid rgba(159,213,216,0.28);
}
.rosalie-callout-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.rosalie-callout-icon svg {
  width: 15px; height: 15px; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-ci-warn { background: rgba(210,165,40,0.18); }
.rosalie-ci-warn svg { stroke: #906800; }
.rosalie-ci-info-bg { background: rgba(159,213,216,0.2); }
.rosalie-ci-info-bg svg { stroke: #4AABAF; }
.rosalie-callout-text { font-size: 13px; color: var(--text-mid); line-height: 1.72; }
.rosalie-callout-text strong { color: var(--text-dark); font-weight: 500; }

/* Global Grid */
.rosalie-global-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0;
}
@media (min-width: 540px) { .rosalie-global-grid { grid-template-columns: repeat(6, 1fr); } }
.rosalie-globe-chip {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 14px 8px; background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(159,213,216,0.22); border-radius: 14px;
  font-size: 12px; color: var(--text-mid);
  transition: transform 0.15s, box-shadow 0.15s; cursor: default;
}
.rosalie-globe-chip:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(159,213,216,0.2);
}
.rosalie-globe-emoji { font-size: 22px; line-height: 1; }

/* Notice List */
.rosalie-notice-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.rosalie-notice-item {
  display: flex; align-items: flex-start; gap: 13px; padding: 15px;
  background: rgba(255,255,255,0.42); border: 1px solid rgba(255,255,255,0.68);
  border-radius: 14px;
}
.rosalie-ni-icon {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.rosalie-ni-rose { background: rgba(244,167,195,0.2); }
.rosalie-ni-rose svg { stroke: #D4829A; }
.rosalie-ni-mint { background: rgba(159,213,216,0.2); }
.rosalie-ni-mint svg { stroke: #5BADB0; }
.rosalie-ni-icon svg {
  width: 16px; height: 16px; stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-ni-title {
  font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px;
}
.rosalie-ni-desc { font-size: 13px; color: var(--text-mid); line-height: 1.75; }
.rosalie-ni-desc strong { color: var(--text-dark); font-weight: 500; }


/* ══════════════════════════════════════════════════════════════
   ROSALIE — TERMS PAGE
══════════════════════════════════════════════════════════════ */

/* Terms Header (lavender themed with stats) */
.rosalie-terms-header {
  position: relative; overflow: visible;
  background: var(--glass);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-b); border-radius: 28px;
  padding: 52px 28px 38px; margin-bottom: 16px;
  box-shadow: var(--g-shadow);
}
.rosalie-terms-header::after {
  content: 'T'; position: absolute; right: -8px; bottom: -52px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 280px; font-weight: 300; font-style: italic;
  color: rgba(184,169,217,0.07); line-height: 1;
  pointer-events: none; user-select: none;
}
.rosalie-terms-header::before {
  content: ''; position: absolute; top: 28px; left: 28px;
  width: 32px; height: 1px;
  background: linear-gradient(to right, rgba(184,169,217,0.7), rgba(244,167,195,0.4));
}
@media (min-width: 768px) {
  .rosalie-terms-header {
    padding: 64px 56px 52px; border-radius: 32px;
    display: grid; grid-template-columns: 1fr auto;
    align-items: end; gap: 32px; overflow: hidden;
  }
}
@media (min-width: 1024px) { .rosalie-terms-header { padding: 76px 72px 64px; } }

.rosalie-terms-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(184,169,217,0.15); border: 1px solid rgba(184,169,217,0.32);
  border-radius: 100px; padding: 5px 16px; margin-bottom: 16px;
  font-size: 12px; color: #8070AA; letter-spacing: 0.16em; font-weight: 500;
}
.rosalie-terms-eyebrow-dot {
  width: 5px; height: 5px; background: var(--lav-deep); border-radius: 50%;
  animation: rosalie-pulse 2.4s ease-out infinite; flex-shrink: 0;
}
.rosalie-terms-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300; line-height: 1.15;
  margin-bottom: 0; padding-top: 4px;
}
@media (min-width: 480px) { .rosalie-terms-title { font-size: 32px; } }
@media (min-width: 768px) { .rosalie-terms-title { font-size: 50px; line-height: 1.05; } }
@media (min-width: 1024px) { .rosalie-terms-title { font-size: 68px; line-height: 1.05; } }
.rosalie-terms-title-zh {
  display: block; font-weight: 500; letter-spacing: 0.03em;
  background: linear-gradient(125deg, #9A80C8 0%, #C07898 55%, #9FD5D8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rosalie-terms-title-en {
  display: block; font-style: italic; font-weight: 300;
  font-size: 0.5em; letter-spacing: 0.16em;
  color: var(--text-soft); -webkit-text-fill-color: var(--text-soft);
  margin-top: 6px;
}

/* Terms Stats */
.rosalie-terms-stats {
  display: none; flex-direction: column; gap: 20px;
  align-items: flex-end; padding-bottom: 6px;
}
@media (min-width: 768px) { .rosalie-terms-stats { display: flex; } }
.rosalie-terms-stat { text-align: right; }
.rosalie-terms-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 500; line-height: 1; color: var(--text-dark);
}
.rosalie-terms-stat-num span { font-size: 0.5em; color: var(--text-soft); }
.rosalie-terms-stat-lbl {
  font-size: 9.5px; letter-spacing: 0.14em; color: var(--text-soft);
  font-weight: 500; text-transform: uppercase; margin-top: 3px;
}
.rosalie-terms-stat-sep {
  width: 32px; height: 1px;
  background: linear-gradient(to right, rgba(184,169,217,0.5), transparent);
  margin-left: auto; margin-top: 8px;
}

.rosalie-terms-meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; flex-wrap: wrap;
}
@media (min-width: 768px) { .rosalie-terms-meta { grid-column: 1 / -1; margin-top: 0; } }
.rosalie-terms-meta-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; background: rgba(255,255,255,0.45);
  border: 1px solid rgba(184,169,217,0.25); border-radius: 100px;
  font-size: 11.5px; color: var(--text-mid); letter-spacing: 0.04em;
}
.rosalie-terms-meta-chip svg {
  width: 13px; height: 13px; stroke: var(--lav-deep); stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.rosalie-terms-meta-dot {
  width: 4px; height: 4px; background: rgba(184,169,217,0.45);
  border-radius: 50%; flex-shrink: 0;
}

/* Terms card (wrapper for each clause) */
.rosalie-terms-card {
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b); border-radius: 24px;
  padding: 28px 22px; box-shadow: var(--g-shadow); margin-bottom: 16px;
}
@media (min-width: 768px) { .rosalie-terms-card { padding: 36px 40px; border-radius: 28px; } }
@media (min-width: 1024px) { .rosalie-terms-card { padding: 40px 48px; } }

/* Terms clause header (similar to clause-head but different naming in source) */
.rosalie-terms-clause-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(184,169,217,0.18);
}
.rosalie-terms-clause-num {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 18px;
  font-weight: 500; color: white;
}
.rosalie-cn-1 { background: linear-gradient(135deg, #F4A7C3, #E891B2); }
.rosalie-cn-2 { background: linear-gradient(135deg, #B8A9D9, #9A80C8); }
.rosalie-cn-3 { background: linear-gradient(135deg, #9FD5D8, #7BBFC2); }
.rosalie-cn-4 { background: linear-gradient(135deg, #D4A96A, #C8924A); }
.rosalie-cn-5 { background: linear-gradient(135deg, #E891B2, #B8A9D9); }
.rosalie-cn-6 { background: linear-gradient(135deg, #7BBFC2, #9A80C8); }
.rosalie-cn-7 { background: linear-gradient(135deg, #B0A4BC, #9A80C8); }

.rosalie-terms-clause-title {
  font-size: 16px; font-weight: 600; color: var(--text-dark);
  letter-spacing: 0.03em; margin-bottom: 2px;
}
@media (min-width: 768px) { .rosalie-terms-clause-title { font-size: 17px; } }
.rosalie-terms-clause-sub {
  font-size: 11px; color: var(--text-soft); letter-spacing: 0.1em;
}

/* ci-desc em (rose accent) for terms */
.rosalie-ci-desc em {
  color: var(--rose-mid); font-style: normal; font-weight: 500;
}

/* Sub-group (payment subsections) */
.rosalie-sub-group { margin-top: 12px; }
.rosalie-sub-group-title {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(184,169,217,0.14); border: 1px solid rgba(184,169,217,0.28);
  border-radius: 100px; padding: 3px 12px; font-size: 11px;
  color: var(--lav-deep); font-weight: 500; letter-spacing: 0.06em;
  margin-bottom: 10px;
}

/* Warn Callout (rose-themed) */
.rosalie-warn-callout {
  display: flex; align-items: flex-start; gap: 11px;
  background: rgba(244,167,195,0.1); border: 1px solid rgba(244,167,195,0.25);
  border-radius: 12px; padding: 13px 15px; margin-top: 10px;
}
.rosalie-warn-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(244,167,195,0.18); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.rosalie-warn-icon svg {
  width: 14px; height: 14px; stroke: #D4829A; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-warn-text { font-size: 12.5px; color: var(--text-mid); line-height: 1.7; }
.rosalie-warn-text strong { color: #C07898; font-weight: 500; }

/* Legal Callout (lavender-themed) */
.rosalie-legal-callout {
  display: flex; align-items: flex-start; gap: 11px;
  background: rgba(184,169,217,0.1); border: 1px solid rgba(184,169,217,0.25);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 12px;
}
.rosalie-legal-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(184,169,217,0.2); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.rosalie-legal-icon svg {
  width: 14px; height: 14px; stroke: #9080B8; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-legal-callout-text { font-size: 12.5px; color: var(--text-mid); line-height: 1.75; }
.rosalie-legal-callout-text strong { color: #9080B8; font-weight: 500; }

/* Quality Grid */
.rosalie-quality-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px;
}
.rosalie-quality-box {
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.72);
}
.rosalie-quality-box-new {
  background: linear-gradient(135deg, rgba(184,169,217,0.12), rgba(159,213,216,0.08));
}
.rosalie-quality-box-outlet {
  background: linear-gradient(135deg, rgba(212,169,106,0.1), rgba(244,167,195,0.08));
}
.rosalie-quality-box-title {
  font-size: 12px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.rosalie-quality-box-title span {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.rosalie-qb-new span { background: var(--lav-deep); }
.rosalie-qb-outlet span { background: #D4A96A; }
.rosalie-quality-item {
  font-size: 12px; color: var(--text-mid); line-height: 1.7; padding-left: 4px;
}
.rosalie-quality-item::before {
  content: '\00B7'; color: var(--text-soft); margin-right: 5px;
}

/* Terms TOC 4 columns on desktop */
.rosalie-toc-grid-4 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (min-width: 768px) { .rosalie-toc-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Terms TOC num lavender */
.rosalie-toc-num-lav { color: var(--lav-deep); }


/* ══════════════════════════════════════════════════════════════
   ROSALIE — WISHLIST PAGE
══════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.rosalie-wl-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-soft); margin-bottom: 24px;
}
.rosalie-wl-breadcrumb a {
  color: var(--text-soft); text-decoration: none; transition: color 0.15s;
}
.rosalie-wl-breadcrumb a:hover { color: var(--rose-mid); }

/* Page Header — 已移除，由麵包屑直接接 Toolbar */
.rosalie-wl-header { display: none; }
.rosalie-wl-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500; color: var(--text-dark);
  display: flex; align-items: center; line-height: 1.2;
}
@media (min-width: 640px) { .rosalie-wl-title { font-size: 32px; } }

/* Toolbar */
.rosalie-wl-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 12px; flex-wrap: wrap;
}
.rosalie-wl-count { font-size: 13px; color: var(--text-mid); }
.rosalie-wl-count strong { color: var(--text-dark); font-weight: 600; }
.rosalie-wl-toolbar-right { display: flex; align-items: center; gap: 8px; }

.rosalie-wl-share-btn,
.rosalie-wl-clear-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-b); border-radius: 100px;
  padding: 7px 14px; font-size: 12px; color: var(--text-mid);
  font-family: 'Noto Sans TC'; cursor: pointer;
  transition: all 0.18s; white-space: nowrap;
}
.rosalie-wl-share-btn svg,
.rosalie-wl-clear-btn svg {
  width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.8; fill: none;
}
.rosalie-wl-share-btn:hover {
  color: var(--lav-deep); border-color: rgba(184,169,217,0.5);
  background: rgba(184,169,217,0.12);
}
.rosalie-wl-clear-btn:hover {
  color: #e55; border-color: rgba(220,80,80,0.3);
  background: rgba(220,80,80,0.06);
}

.rosalie-wl-sort-select {
  appearance: none; -webkit-appearance: none;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-b); border-radius: 100px;
  padding: 7px 32px 7px 14px; font-size: 12px; color: var(--text-mid);
  font-family: 'Noto Sans TC'; cursor: pointer; outline: none;
  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' stroke='%23B0A4BC' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}

/* Category Tabs */
.rosalie-wl-cat-tabs {
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 4px; margin-bottom: 20px;
}
.rosalie-wl-cat-tabs::-webkit-scrollbar { display: none; }
.rosalie-wl-cat-tab {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-b); border-radius: 100px;
  padding: 7px 16px; font-size: 12px; font-weight: 500; color: var(--text-mid);
  font-family: 'Noto Sans TC'; cursor: pointer; white-space: nowrap;
  transition: all 0.18s; flex-shrink: 0;
}
.rosalie-wl-tab-count {
  background: rgba(184,169,217,0.2); border-radius: 100px;
  padding: 1px 7px; font-size: 10px; color: var(--lav-deep);
}
.rosalie-wl-cat-tab.active {
  background: linear-gradient(135deg, rgba(244,167,195,0.28), rgba(184,169,217,0.22));
  border-color: rgba(244,167,195,0.45); color: var(--text-dark);
}
.rosalie-wl-cat-tab.active .rosalie-wl-tab-count {
  background: rgba(244,167,195,0.3); color: var(--rose-mid);
}

/* Product Grid */
.rosalie-wl-product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 640px) { .rosalie-wl-product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .rosalie-wl-product-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1280px) { .rosalie-wl-product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* Product Card — 與商店頁 li.rosalie-prod-card 視覺完全一致 */
.rosalie-wl-prod-card {
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--g-shadow);
  display: flex; flex-direction: column;
  text-decoration: none; position: relative; color: inherit;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
}
.rosalie-wl-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(180,150,210,0.22);
  color: inherit;
}
.rosalie-wl-prod-card:hover .rosalie-prod-img { transform: scale(1.04); }
.rosalie-wl-prod-card.rosalie-wl-removing { transform: scale(0.88); opacity: 0; pointer-events: none; }

/* 加入購物車按鈕 — 對齊商店頁 .rosalie-prod-body .button 樣式 */
.rosalie-wl-cart-btn {
  width: 100%;
  padding: 9px 12px;
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0);
  border: none; border-radius: 100px;
  font-size: 12px; font-weight: 500; color: white;
  font-family: 'Noto Sans TC', sans-serif;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 3px 10px rgba(200,140,200,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  display: block; text-align: center; line-height: 1.4;
  letter-spacing: 0.03em;
}
.rosalie-wl-cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200,140,200,0.38);
}

/* Empty State */
.rosalie-wl-empty-state {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; padding: 80px 20px; text-align: center;
}
.rosalie-wl-empty-state.show { display: flex; }
.rosalie-wl-empty-icon-wrap {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(244,167,195,0.15), rgba(184,169,217,0.12));
  border: 1px solid rgba(244,167,195,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.rosalie-wl-empty-icon-wrap svg {
  width: 36px; height: 36px; stroke: var(--rose-mid); stroke-width: 1.4;
  fill: rgba(244,167,195,0.12);
}
.rosalie-wl-empty-title {
  font-family: 'Cormorant Garamond', serif; font-size: 24px;
  color: var(--text-dark); margin-bottom: 10px;
}
.rosalie-wl-empty-sub {
  font-size: 13px; color: var(--text-soft); line-height: 1.7; margin-bottom: 24px;
}
.rosalie-wl-empty-shop-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--rose-mid), var(--lav-deep));
  color: white; border: none; border-radius: 100px;
  padding: 12px 28px; font-size: 14px; font-weight: 500;
  font-family: 'Noto Sans TC'; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 18px rgba(232,145,178,0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}
.rosalie-wl-empty-shop-btn:hover {
  transform: translateY(-2px); box-shadow: 0 6px 22px rgba(232,145,178,0.42);
  color: white;
}
.rosalie-wl-empty-shop-btn svg {
  width: 16px; height: 16px; stroke: white; stroke-width: 1.8; fill: none;
}

/* Pagination */
.rosalie-wl-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 40px; flex-wrap: wrap;
}
.rosalie-wl-page-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(244,167,195,0.30);
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--text-dark); font-size: 14px;
  font-family: 'Noto Sans TC', sans-serif;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
}
.rosalie-wl-page-btn:hover {
  background: rgba(244,167,195,0.14);
  border-color: rgba(244,167,195,0.50);
}
.rosalie-wl-page-btn.active {
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0);
  border-color: transparent; color: white;
  box-shadow: 0 4px 12px rgba(200,140,200,0.30);
}

/* Sticky Bar (mobile) */
.rosalie-wl-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(253,240,252,0.88);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 -4px 24px rgba(180,150,210,0.14);
  display: flex; gap: 10px; align-items: center;
}
@media (min-width: 1024px) { .rosalie-wl-sticky-bar { display: none; } }
.rosalie-wl-sticky-total { flex: 1; }
.rosalie-wl-sticky-label {
  font-size: 10px; color: var(--text-soft); letter-spacing: 0.06em;
}
.rosalie-wl-sticky-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600; color: var(--text-dark);
}
.rosalie-wl-sticky-count span {
  font-size: 13px; font-weight: 400; color: var(--text-mid);
  font-family: 'Noto Sans TC';
}
.rosalie-wl-sticky-shop-btn {
  flex: 1; padding: 13px;
  background: linear-gradient(135deg, var(--rose-mid), var(--lav-deep));
  border: none; border-radius: 100px;
  font-size: 14px; font-weight: 500; color: white;
  font-family: 'Noto Sans TC'; cursor: pointer; text-align: center;
  box-shadow: 0 4px 16px rgba(232,145,178,0.32);
  transition: transform 0.15s;
}
.rosalie-wl-sticky-shop-btn:hover { transform: scale(1.02); }

/* Share Toast */
.rosalie-wl-share-toast {
  position: fixed; bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(42,34,52,0.85); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 100px;
  color: white; font-size: 13px; padding: 10px 22px;
  opacity: 0; transition: all 0.28s; z-index: 300;
  white-space: nowrap; pointer-events: none;
}
.rosalie-wl-share-toast.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}


/* ══════════════════════════════════════════════════════════════
   ROSALIE — ABOUT PAGE
══════════════════════════════════════════════════════════════ */

/* Page Header */
.rosalie-page-header {
  position: relative; overflow: visible;
  background: var(--glass);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-b); border-radius: 28px;
  padding: 52px 28px 36px; margin-bottom: 20px;
  box-shadow: var(--g-shadow);
}
.rosalie-page-header::after {
  content: 'R'; position: absolute; right: -12px; bottom: -48px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 260px; font-weight: 300; font-style: italic;
  color: rgba(244,167,195,0.07); line-height: 1;
  pointer-events: none; user-select: none;
}
.rosalie-page-header::before {
  content: ''; position: absolute; top: 28px; left: 28px;
  width: 32px; height: 1px;
  background: linear-gradient(to right, rgba(244,167,195,0.55), rgba(184,169,217,0.4));
}
@media (min-width: 768px) {
  .rosalie-page-header {
    padding: 64px 56px 52px; border-radius: 32px;
    display: grid; grid-template-columns: 1fr auto;
    align-items: end; gap: 32px; overflow: hidden;
  }
}
@media (min-width: 1024px) {
  .rosalie-page-header { padding: 80px 72px 68px; }
}
.rosalie-page-header-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(244,167,195,0.13); border: 1px solid rgba(244,167,195,0.28);
  border-radius: 100px; padding: 5px 16px; margin-bottom: 20px;
  font-size: 12px; color: #C07898; letter-spacing: 0.16em; font-weight: 500;
}
.rosalie-page-header-dot {
  width: 5px; height: 5px; background: var(--rose); border-radius: 50%;
  animation: rosalie-pulse 2.4s ease-out infinite; flex-shrink: 0;
}
.rosalie-page-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; line-height: 1.15;
  margin-bottom: 0; padding-top: 4px;
}
@media (min-width: 480px) { .rosalie-page-header-title { font-size: 36px; } }
.rosalie-ph-title-zh {
  display: block; font-weight: 500; letter-spacing: 0.04em;
  background: linear-gradient(125deg, #C07898 0%, #9A80C8 55%, #6BBFC2 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rosalie-ph-title-en {
  display: block; font-style: italic; font-weight: 300;
  font-size: 0.52em; letter-spacing: 0.16em;
  color: var(--text-soft); -webkit-text-fill-color: var(--text-soft);
  margin-top: 6px;
}
@media (min-width: 768px) {
  .rosalie-page-header-title { font-size: 58px; line-height: 1.05; }
}
@media (min-width: 1024px) {
  .rosalie-page-header-title { font-size: 96px; line-height: 1.0; }
}
.rosalie-page-header-stats {
  display: none; flex-direction: column; gap: 20px;
  align-items: flex-end; padding-bottom: 6px;
}
@media (min-width: 768px) { .rosalie-page-header-stats { display: flex; } }
.rosalie-stat-item { text-align: right; }
.rosalie-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 500; line-height: 1; color: var(--text-dark);
}
.rosalie-stat-label {
  font-size: 9.5px; letter-spacing: 0.14em; color: var(--text-soft);
  font-weight: 500; text-transform: uppercase; margin-top: 3px;
}
.rosalie-stat-sep {
  width: 32px; height: 1px;
  background: linear-gradient(to right, rgba(184,169,217,0.4), transparent);
  margin-left: auto; margin-top: 8px;
}
.rosalie-page-header-meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; flex-wrap: wrap;
}
@media (min-width: 768px) {
  .rosalie-page-header-meta { grid-column: 1 / -1; margin-top: 0; }
}
.rosalie-meta-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; background: rgba(255,255,255,0.45);
  border: 1px solid rgba(184,169,217,0.22); border-radius: 100px;
  font-size: 11.5px; color: var(--text-mid); letter-spacing: 0.05em;
}
.rosalie-meta-chip svg {
  width: 13px; height: 13px; stroke: var(--lav-deep); stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.rosalie-meta-dot {
  width: 4px; height: 4px; background: rgba(184,169,217,0.4);
  border-radius: 50%; flex-shrink: 0;
}

/* Story Card */
.rosalie-story-card {
  background: var(--glass);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-b); border-radius: 28px;
  padding: 28px 22px; margin-bottom: 20px;
  box-shadow: var(--g-shadow); position: relative; overflow: hidden;
}
.rosalie-story-card::before {
  content: ''; position: absolute; top: -60px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(244,167,195,0.18), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
@media (min-width: 768px) {
  .rosalie-story-card {
    display: flex; align-items: center; gap: 48px;
    padding: 40px 48px; border-radius: 32px;
  }
  .rosalie-story-text-col { flex: 1; }
  .rosalie-story-img-col { flex: 0 0 300px; }
}
@media (min-width: 1024px) {
  .rosalie-story-card { padding: 52px 60px; gap: 64px; }
  .rosalie-story-img-col { flex: 0 0 360px; }
}
.rosalie-story-year-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,169,217,0.2); border: 1px solid rgba(184,169,217,0.35);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 18px;
  font-size: 12px; color: var(--lav-deep);
  letter-spacing: 0.08em; font-weight: 500;
}
.rosalie-story-year-badge svg {
  width: 14px; height: 14px; stroke: var(--lav-deep); stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-story-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500; line-height: 1.25;
  color: var(--text-dark); margin-bottom: 14px;
}
@media (min-width: 768px) { .rosalie-story-title { font-size: 34px; } }
.rosalie-story-body {
  font-size: 14.5px; color: var(--text-mid); line-height: 1.85;
}
@media (min-width: 768px) { .rosalie-story-body { font-size: 15.5px; } }
.rosalie-story-body p + p { margin-top: 12px; }
.rosalie-story-photo-frame {
  width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg,
    rgba(244,167,195,0.25) 0%,
    rgba(184,169,217,0.2) 50%,
    rgba(159,213,216,0.2) 100%);
  border: 1px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  position: relative; margin-top: 24px;
  box-shadow: 0 8px 32px rgba(180,150,210,0.15);
}
@media (min-width: 768px) { .rosalie-story-photo-frame { margin-top: 0; } }
.rosalie-photo-inner-deco {
  text-align: center; font-family: 'Cormorant Garamond', serif;
}
.rosalie-photo-inner-deco .deco-r {
  font-size: 80px; color: rgba(244,167,195,0.35);
  line-height: 1; font-weight: 300; font-style: italic;
}
.rosalie-photo-inner-deco .deco-txt {
  font-size: 11px; color: var(--text-soft);
  letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px;
}

/* Info Grid */
.rosalie-info-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 20px;
}
@media (min-width: 768px) {
  .rosalie-info-grid { grid-template-columns: 1fr 1fr; }
}
.rosalie-info-card {
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b); border-radius: 22px;
  padding: 22px 20px; box-shadow: var(--g-shadow);
}
.rosalie-info-card-icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.rosalie-icon-rose { background: rgba(244,167,195,0.2); }
.rosalie-icon-lav { background: rgba(184,169,217,0.2); }
.rosalie-icon-mint { background: rgba(159,213,216,0.2); }
.rosalie-icon-gold { background: rgba(212,170,100,0.2); }
.rosalie-info-card-icon svg {
  width: 22px; height: 22px; stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-icon-rose svg { stroke: #D4829A; }
.rosalie-icon-lav svg { stroke: #9080B8; }
.rosalie-icon-mint svg { stroke: #5BADB0; }
.rosalie-icon-gold svg { stroke: #A8822A; }
.rosalie-info-card-title {
  font-size: 15px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 7px; letter-spacing: 0.03em;
}
.rosalie-info-card-body {
  font-size: 13.5px; color: var(--text-mid); line-height: 1.75;
}
.rosalie-info-card-body strong { color: var(--text-dark); font-weight: 500; }

/* Brands Card */
.rosalie-brands-card {
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b); border-radius: 22px;
  padding: 26px 22px; margin-bottom: 20px; box-shadow: var(--g-shadow);
}
.rosalie-brands-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; color: var(--text-dark); margin-bottom: 5px;
}
.rosalie-brands-section-sub {
  font-size: 13px; color: var(--text-soft); margin-bottom: 20px;
}
.rosalie-brand-tier { margin-bottom: 20px; }
.rosalie-brand-tier:last-child { margin-bottom: 0; }
.rosalie-brand-tier-label {
  display: inline-block; font-size: 11px; letter-spacing: 0.1em;
  font-weight: 600; color: var(--lav-deep);
  background: rgba(184,169,217,0.15); border: 1px solid rgba(184,169,217,0.28);
  border-radius: 100px; padding: 3px 12px; margin-bottom: 12px;
}
.rosalie-brand-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rosalie-brand-pill {
  padding: 7px 16px; background: var(--glass-s);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.75); border-radius: 100px;
  font-size: 12.5px; color: var(--text-dark); font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  cursor: default;
}
.rosalie-brand-pill:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 4px 16px rgba(180,150,210,0.2);
}
.rosalie-brand-pill.more { color: var(--text-soft); font-style: italic; }

/* Payment Card */
.rosalie-payment-card {
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b); border-radius: 22px;
  padding: 26px 22px; margin-bottom: 20px; box-shadow: var(--g-shadow);
}
.rosalie-payment-list {
  display: flex; flex-direction: column; gap: 14px; margin-top: 18px;
}
.rosalie-payment-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.65);
  border-radius: 14px;
}
.rosalie-payment-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.rosalie-pay-cash { background: rgba(159,213,216,0.2); }
.rosalie-pay-card { background: rgba(184,169,217,0.2); }
.rosalie-pay-split { background: rgba(244,167,195,0.2); }
.rosalie-payment-icon svg {
  width: 18px; height: 18px; stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-pay-cash svg { stroke: #5BADB0; }
.rosalie-pay-card svg { stroke: #9080B8; }
.rosalie-pay-split svg { stroke: #D4829A; }
.rosalie-payment-row-title {
  font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 3px;
}
.rosalie-payment-row-desc {
  font-size: 12.5px; color: var(--text-mid); line-height: 1.65;
}


/* ══════════════════════════════════════════════════════════════
   ROSALIE — WOOCOMMERCE WISHLIST OVERRIDES
   Targets YITH WooCommerce Wishlist & TI WooCommerce Wishlist
══════════════════════════════════════════════════════════════ */

/* ── Page background ── */
body.woocommerce-wishlist {
  background:
    radial-gradient(ellipse 80% 50% at 15% 5%, rgba(253,236,244,0.92) 0%, transparent 55%),
    radial-gradient(ellipse 60% 65% at 85% 20%, rgba(230,230,250,0.78) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 85%, rgba(230,230,250,0.72) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 5% 75%, rgba(249,208,229,0.62) 0%, transparent 55%),
    #fdf0f8 !important;
}

/* ── Page title ── */
body.woocommerce-wishlist .entry-title,
body.woocommerce-wishlist .page-title,
body.woocommerce-wishlist h1,
.yith-wcwl-wrapper .wishlist-title,
.tinvwl-wishlist .tinv-header h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  color: #2A2234 !important;
  letter-spacing: 0.02em;
}
@media (min-width: 640px) {
  body.woocommerce-wishlist .entry-title,
  body.woocommerce-wishlist .page-title,
  body.woocommerce-wishlist h1,
  .yith-wcwl-wrapper .wishlist-title,
  .tinvwl-wishlist .tinv-header h2 {
    font-size: 32px !important;
  }
}

/* ── YITH Wishlist: Convert table to grid ── */
.yith-wcwl-wrapper table.shop_table {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border: none !important;
  border-collapse: separate !important;
}
@media (min-width: 768px) {
  .yith-wcwl-wrapper table.shop_table {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .yith-wcwl-wrapper table.shop_table {
    grid-template-columns: repeat(4, 1fr);
  }
}
.yith-wcwl-wrapper table.shop_table thead { display: none !important; }
.yith-wcwl-wrapper table.shop_table tbody {
  display: contents !important;
}
.yith-wcwl-wrapper table.shop_table tr {
  display: flex !important;
  flex-direction: column;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.65) !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(180,150,210,0.13);
  transition: transform 0.2s, box-shadow 0.2s;
}
.yith-wcwl-wrapper table.shop_table tr:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(180,150,210,0.2);
}
.yith-wcwl-wrapper table.shop_table td {
  display: block !important;
  border: none !important;
  padding: 8px 14px !important;
  text-align: center;
}
.yith-wcwl-wrapper table.shop_table td.product-thumbnail {
  padding: 0 !important;
}
.yith-wcwl-wrapper table.shop_table td.product-thumbnail img {
  width: 100% !important;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}
.yith-wcwl-wrapper table.shop_table td.product-name a {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #2A2234;
  text-decoration: none;
}
.yith-wcwl-wrapper table.shop_table td.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: #2A2234;
}
.yith-wcwl-wrapper table.shop_table td.product-remove {
  order: -1;
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 0 !important;
  z-index: 2;
}
.yith-wcwl-wrapper table.shop_table tr {
  position: relative;
}

/* ── YITH Add to Cart / Action buttons — capsule style ── */
.yith-wcwl-wrapper .product-add-to-cart a,
.yith-wcwl-wrapper .product-add-to-cart button,
.yith-wcwl-wrapper table.shop_table .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(244,167,195,0.25), rgba(184,169,217,0.2)) !important;
  border: 1.5px solid rgba(244,167,195,0.4) !important;
  border-radius: 100px !important;
  padding: 10px 20px !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #2A2234 !important;
  cursor: pointer;
  transition: all 0.2s !important;
  text-decoration: none !important;
}
.yith-wcwl-wrapper .product-add-to-cart a:hover,
.yith-wcwl-wrapper .product-add-to-cart button:hover,
.yith-wcwl-wrapper table.shop_table .button:hover {
  background: linear-gradient(135deg, rgba(244,167,195,0.4), rgba(184,169,217,0.32)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244,167,195,0.25);
}

/* ── TI WooCommerce Wishlist: Grid layout ── */
.tinvwl-wishlist .tinvwl-table-manage-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .tinvwl-wishlist .tinvwl-table-manage-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .tinvwl-wishlist .tinvwl-table-manage-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.tinvwl-wishlist .tinvwl-table-manage-list thead { display: none !important; }
.tinvwl-wishlist .tinvwl-table-manage-list tbody { display: contents !important; }
.tinvwl-wishlist .tinvwl-table-manage-list tr {
  display: flex !important;
  flex-direction: column;
  position: relative;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.65) !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(180,150,210,0.13);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tinvwl-wishlist .tinvwl-table-manage-list tr:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(180,150,210,0.2);
}
.tinvwl-wishlist .tinvwl-table-manage-list td {
  display: block !important;
  border: none !important;
  padding: 8px 14px !important;
  text-align: center;
}
.tinvwl-wishlist .tinvwl-table-manage-list td.product-thumbnail {
  padding: 0 !important;
}
.tinvwl-wishlist .tinvwl-table-manage-list td.product-thumbnail img {
  width: 100% !important;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}
.tinvwl-wishlist .tinvwl-table-manage-list td.product-name a {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #2A2234;
  text-decoration: none;
}
.tinvwl-wishlist .tinvwl-table-manage-list td.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: #2A2234;
}

/* ── TI Wishlist buttons — capsule style ── */
.tinvwl-wishlist .button,
.tinvwl-wishlist .tinvwl-btn,
.tinvwl-wishlist input[type="button"],
.tinvwl-wishlist .product-action .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(244,167,195,0.25), rgba(184,169,217,0.2)) !important;
  border: 1.5px solid rgba(244,167,195,0.4) !important;
  border-radius: 100px !important;
  padding: 10px 20px !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #2A2234 !important;
  cursor: pointer;
  transition: all 0.2s !important;
  text-decoration: none !important;
}
.tinvwl-wishlist .button:hover,
.tinvwl-wishlist .tinvwl-btn:hover,
.tinvwl-wishlist input[type="button"]:hover,
.tinvwl-wishlist .product-action .button:hover {
  background: linear-gradient(135deg, rgba(244,167,195,0.4), rgba(184,169,217,0.32)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244,167,195,0.25);
}

/* ── General WooCommerce wishlist page container ── */
body.woocommerce-wishlist .site-content,
body.woocommerce-wishlist #primary,
body.woocommerce-wishlist .ast-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px 140px;
}
@media (min-width: 640px) {
  body.woocommerce-wishlist .site-content,
  body.woocommerce-wishlist #primary,
  body.woocommerce-wishlist .ast-container {
    padding: 28px 32px 100px;
  }
}
@media (min-width: 1024px) {
  body.woocommerce-wishlist .site-content,
  body.woocommerce-wishlist #primary,
  body.woocommerce-wishlist .ast-container {
    padding: 36px 64px 80px;
  }
}

/* ── WooCommerce wishlist product grid (ul.products fallback) ── */
body.woocommerce-wishlist ul.products {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  list-style: none;
  padding: 0;
}
@media (min-width: 768px) {
  body.woocommerce-wishlist ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  body.woocommerce-wishlist ul.products {
    grid-template-columns: repeat(4, 1fr);
  }
}
body.woocommerce-wishlist ul.products li.product {
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(180,150,210,0.13);
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0;
}
body.woocommerce-wishlist ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(180,150,210,0.2);
}
body.woocommerce-wishlist ul.products li.product img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
body.woocommerce-wishlist ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #2A2234;
  padding: 10px 14px 4px;
}
body.woocommerce-wishlist ul.products li.product .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: #2A2234;
  padding: 0 14px 8px;
}
body.woocommerce-wishlist ul.products li.product .button {
  display: block !important;
  margin: 0 14px 14px !important;
  background: linear-gradient(135deg, rgba(244,167,195,0.25), rgba(184,169,217,0.2)) !important;
  border: 1.5px solid rgba(244,167,195,0.4) !important;
  border-radius: 100px !important;
  padding: 10px 20px !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #2A2234 !important;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.2s !important;
}
body.woocommerce-wishlist ul.products li.product .button:hover {
  background: linear-gradient(135deg, rgba(244,167,195,0.4), rgba(184,169,217,0.32)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244,167,195,0.25);
}


/* ══════════════════════════════════════════════════════════════
   ROSALIE — HOMEPAGE STYLES
══════════════════════════════════════════════════════════════ */

/* Section Row */
.rosalie-section-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.rosalie-section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: var(--text-dark); font-weight: 500;
}
@media (min-width: 768px) { .rosalie-section-label { font-size: 24px; } }
.rosalie-section-more {
  font-size: 12px; color: var(--text-soft); text-decoration: none;
}
.rosalie-section-more:hover { color: var(--lav-deep); }

/* Divider */
.rosalie-divider {
  height: 1px; margin: 8px 0;
  background: linear-gradient(90deg, transparent, rgba(184,169,217,0.22), transparent);
}

/* ── HERO CARD ── */
.rosalie-hero-card {
  background: var(--glass);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-b); border-radius: 28px;
  padding: 26px 22px 22px;
  box-shadow: var(--g-shadow);
  margin-bottom: 28px;
}
@media (min-width: 768px) {
  .rosalie-hero-card {
    display: flex; align-items: center;
    padding: 36px 40px; gap: 40px; border-radius: 32px;
  }
  .rosalie-hero-text-col { flex: 1; }
  .rosalie-hero-img-col {
    flex: 0 0 340px; height: 280px;
    border-radius: 20px; overflow: hidden;
  }
  .rosalie-hero-img-col img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 20px;
  }
}
@media (min-width: 1024px) {
  .rosalie-hero-card { padding: 44px 52px; gap: 56px; }
  .rosalie-hero-img-col { flex: 0 0 420px; height: 320px; }
}

.rosalie-hero-season-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(244,167,195,0.18);
  border: 1px solid rgba(244,167,195,0.38);
  border-radius: 100px; padding: 5px 14px; margin-bottom: 16px;
}
.rosalie-tag-pulse {
  width: 6px; height: 6px; background: var(--rose); border-radius: 50%;
  animation: rosalie-pulse 2.4s ease-out infinite;
}
.rosalie-hero-season-tag span { font-size: 11.5px; color: #C07898; letter-spacing: 0.07em; }

.rosalie-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; line-height: 1.15;
  color: var(--text-dark); margin-bottom: 11px; font-weight: 500;
}
.rosalie-hero-title em { font-style: italic; color: var(--lav-deep); }
@media (min-width: 768px)  { .rosalie-hero-title { font-size: 44px; } }
@media (min-width: 1024px) { .rosalie-hero-title { font-size: 52px; } }

.rosalie-hero-desc {
  font-size: 14px; color: var(--text-mid); line-height: 1.75; margin-bottom: 22px;
}
@media (min-width: 768px) { .rosalie-hero-desc { font-size: 15px; } }

.rosalie-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.rosalie-btn-explore {
  flex: 1; min-width: 140px; padding: 14px 20px;
  background: linear-gradient(135deg, #F4A7C3 0%, #C9A8E0 100%);
  border: none; border-radius: 100px;
  font-size: 15px; font-weight: 500; color: white;
  font-family: 'Noto Sans TC'; cursor: pointer;
  text-decoration: none; text-align: center;
  box-shadow: 0 6px 22px rgba(200,140,200,0.38);
  transition: transform 0.15s, box-shadow 0.15s;
}
.rosalie-btn-explore:hover  { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(200,140,200,0.45); color: white; }
.rosalie-btn-explore:active { transform: scale(0.97); }
.rosalie-btn-line-sm {
  padding: 14px 20px;
  background: rgba(6,199,85,0.1); border: 1.5px solid rgba(6,199,85,0.3);
  border-radius: 100px; font-size: 15px; color: #06C755;
  font-family: 'Noto Sans TC'; cursor: pointer; white-space: nowrap; font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.rosalie-btn-line-sm:hover  { background: rgba(6,199,85,0.16); color: #06C755; }

/* ── FILTER: 品牌/品類 bubble CSS 已移除（修改 4） ── */

/* ── PRODUCT TABS ── */
.rosalie-prod-tab-row { display: flex; gap: 8px; margin-bottom: 16px; }
.rosalie-prod-tab {
  padding: 8px 20px; border-radius: 100px; border: none;
  font-size: 13px; font-weight: 500; font-family: 'Noto Sans TC'; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.03em;
}
.rosalie-prod-tab.active {
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0);
  color: white; box-shadow: 0 4px 14px rgba(200,140,200,0.3);
}
.rosalie-prod-tab:not(.active) {
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-b); color: var(--text-mid);
}
.rosalie-prod-tab:not(.active):hover { color: var(--lav-deep); background: rgba(255,255,255,0.55); }

/* ── PRODUCT SCROLL / GRID ── */
.rosalie-products-scroll {
  display: flex; gap: 14px;
  overflow-x: auto; scrollbar-width: none;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.rosalie-products-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .rosalie-products-scroll {
    display: grid; grid-template-columns: repeat(3, 1fr);
    overflow-x: visible; gap: 18px; padding: 4px 0 4px;
  }
}
@media (min-width: 1024px) {
  .rosalie-products-scroll { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}

.rosalie-prod-card {
  flex: 0 0 170px;
  background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b); border-radius: 22px; overflow: hidden;
  box-shadow: var(--g-shadow); cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none; color: inherit; display: block;
}
@media (min-width: 768px) { .rosalie-prod-card { flex: unset; } }
.rosalie-prod-card:hover  { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(180,150,210,0.2); color: inherit; }
.rosalie-prod-card:active { transform: scale(0.97); }

.rosalie-prod-img {
  width: 100%; height: 160px;
  background-size: cover; background-position: center;
  position: relative; background-color: #f9f2f7;
}
.rosalie-prod-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (min-width: 768px)  { .rosalie-prod-img { height: 200px; } }
@media (min-width: 1024px) { .rosalie-prod-img { height: 220px; } }

.rosalie-prod-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.16) 100%);
}
.rosalie-prod-stock-badge {
  position: absolute; bottom: 9px; left: 9px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 100px; padding: 3px 10px;
  font-size: 12px; color: var(--text-dark); font-weight: 500;
  display: flex; align-items: center; gap: 4px;
}
.rosalie-stock-dot { width: 5px; height: 5px; background: #4CAF50; border-radius: 50%; }

.rosalie-prod-body { padding: 12px 13px 14px; }
.rosalie-prod-brand { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lav-deep); margin-bottom: 4px; }
.rosalie-prod-name  { font-size: 13px; color: var(--text-dark); line-height: 1.4; margin-bottom: 9px; font-weight: 500; }
@media (min-width: 768px) { .rosalie-prod-name { font-size: 14px; } }
.rosalie-prod-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: var(--text-dark); font-weight: 600;
}

/* ── PRODUCT CARD TAG ROW ── */
.rosalie-prod-tag-row {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 8px; margin: 6px 0 8px;
}
.rosalie-ptag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 500; white-space: nowrap;
}
.rosalie-ptag-stock {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.85); color: var(--text-dark);
}
.rosalie-ptag-dot { width: 5px; height: 5px; background: #4CAF50; border-radius: 50%; flex-shrink: 0; }
.rosalie-ptag-preorder {
  background: rgba(184,169,217,0.2); border: 1px solid rgba(184,169,217,0.35); color: var(--lav-deep);
}
.rosalie-ptag-outofstock {
  background: rgba(180,180,180,0.2); border: 1px solid rgba(180,180,180,0.35); color: var(--text-soft);
}
.rosalie-prod-wish-inline {
  width: 30px !important; height: 30px !important; min-width: 30px !important; max-width: 30px !important;
  border-radius: 50% !important; border: none; flex-shrink: 0;
  background: rgba(255,255,255,0.6) !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer; transition: background 0.18s;
  overflow: hidden; padding: 0 !important;
}
/* Also target YITH anchor inside the button */
.rosalie-prod-wish-inline a,
.rosalie-prod-wish-inline .yith-wcwl-add-to-wishlist,
.rosalie-prod-wish-inline .add_to_wishlist {
  width: 30px !important; height: 30px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  padding: 0 !important; margin: 0 !important; border: none !important;
  background: transparent !important; text-indent: -9999px !important;
  overflow: hidden !important; font-size: 0 !important;
}
.rosalie-prod-wish-inline:hover { background: rgba(244,167,195,0.28); }
.rosalie-prod-wish-inline svg {
  width: 14px !important; height: 14px !important;
  stroke: #E891B2 !important; stroke-width: 1.7 !important;
  fill: #F4A7C3 !important;
  stroke-linecap: round !important; stroke-linejoin: round !important;
  transition: stroke 0.15s, fill 0.15s;
}
.rosalie-prod-wish-inline.wished svg { stroke: #C8608A !important; fill: #E8729E !important; }
.rosalie-prod-wish-inline.wished svg { stroke: #C8608A; fill: #E8729E; }

/* ── WHY ROSALIE ── */
.rosalie-why-section {
  background: var(--glass);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-b); border-radius: 26px;
  padding: 24px 20px 20px; box-shadow: var(--g-shadow);
}
@media (min-width: 768px) { .rosalie-why-section { padding: 36px 36px 32px; } }

.rosalie-why-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--text-dark); font-weight: 500; margin-bottom: 4px;
}
@media (min-width: 768px) { .rosalie-why-title { font-size: 28px; } }
.rosalie-why-sub { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 18px; }

.rosalie-promise-list { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 768px) { .rosalie-promise-list { flex-direction: row; gap: 14px; } }

.rosalie-promise-item {
  flex: 1; display: flex; gap: 13px; align-items: flex-start;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 16px; padding: 14px 15px;
}
@media (min-width: 768px) { .rosalie-promise-item { flex-direction: column; gap: 10px; } }

.rosalie-promise-icon-wrap {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.rosalie-promise-icon-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.5) 0%, transparent 60%);
}
.rosalie-promise-icon-wrap svg {
  width: 20px; height: 20px; stroke: white; stroke-width: 1.7; fill: none;
  stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1;
}
.rosalie-icon-pink { background: linear-gradient(135deg, #F4A7C3, #E891B2); }
.rosalie-icon-mint { background: linear-gradient(135deg, #9FD5D8, #76C5C9); }
.rosalie-icon-lav  { background: linear-gradient(135deg, #C5B9E8, #A99DD4); }

.rosalie-promise-text-head { font-size: 14px; font-weight: 500; color: var(--text-dark); margin-bottom: 3px; }
.rosalie-promise-text-body { font-size: 12px; color: var(--text-mid); line-height: 1.55; }

.rosalie-line-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, #06C755, #04A84A);
  border: none; border-radius: 100px;
  font-size: 15px; color: white; font-weight: 500; font-family: 'Noto Sans TC'; cursor: pointer;
  margin-top: 18px; text-decoration: none;
  box-shadow: 0 6px 20px rgba(6,199,85,0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}
.rosalie-line-cta:hover  { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(6,199,85,0.34); color: white; }
.rosalie-line-cta:active { transform: scale(0.97); }
.rosalie-line-cta svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }

/* Homepage empty state (no products) */
.rosalie-no-products {
  padding: 40px 20px; text-align: center;
  color: var(--text-soft); font-size: 14px;
}



/* ══════════════════════════════════════════════════════════════
   ROSALIE — WOOCOMMERCE SINGLE PRODUCT PAGE
   Matches: mockup/rosalie-product.html
══════════════════════════════════════════════════════════════ */

/* ── Page background ── */
body.single-product.woocommerce,
body.single-product.woocommerce-page {
  background: #fdf0f8 !important;
  font-family: 'Noto Sans TC', sans-serif;
}

/* ── Astra layout: full-width, no sidebar ── */
body.single-product .ast-container {
  max-width: 1280px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.single-product #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 16px !important;
}
@media (min-width: 768px) {
  body.single-product #primary { padding: 0 32px !important; }
}
@media (min-width: 1024px) {
  body.single-product #primary { padding: 0 64px !important; }
}
body.single-product #secondary { display: none !important; }

/* ── Astra breadcrumb (style to match mockup) ── */
body.single-product .ast-breadcrumbs-wrapper,
body.single-product .astra-breadcrumbs {
  background: transparent !important;
  padding: 16px 0 20px !important;
}
body.single-product .ast-breadcrumbs-wrapper *,
body.single-product .astra-breadcrumbs * {
  font-size: 12px !important;
  color: #B0A4BC !important;
}
body.single-product .ast-breadcrumbs-wrapper a,
body.single-product .astra-breadcrumbs a {
  color: #B0A4BC !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
body.single-product .ast-breadcrumbs-wrapper a:hover,
body.single-product .astra-breadcrumbs a:hover { color: #B8A9D9 !important; }

/* ── WooCommerce breadcrumb (fallback) ── */
body.single-product .woocommerce-breadcrumb {
  font-size: 12px;
  color: #B0A4BC;
  padding: 16px 0 20px;
  background: transparent;
  margin: 0;
}
body.single-product .woocommerce-breadcrumb a {
  color: #B0A4BC;
  text-decoration: none;
  transition: color 0.15s;
}
body.single-product .woocommerce-breadcrumb a:hover { color: #B8A9D9; }

/* ── PRODUCT LAYOUT: 2-column grid ── */
body.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 32px !important;
  margin-bottom: 48px !important;
  align-items: start !important;
  position: relative !important;
}
@media (min-width: 768px) {
  body.single-product div.product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 40px !important;
  }
}
@media (min-width: 1024px) {
  body.single-product div.product {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
    gap: 56px !important;
  }
}

/* Gallery = col 1, Summary = col 2 */
body.single-product div.product .woocommerce-product-gallery {
  grid-column: 1 !important;
  grid-row: 1 !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
}
body.single-product div.product .summary.entry-summary {
  grid-column: 1 !important;
  grid-row: 2 !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
}
@media (min-width: 768px) {
  body.single-product div.product .summary.entry-summary {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}
/* After-summary elements span full width */
body.single-product div.product .woocommerce-tabs,
body.single-product div.product .rosalie-tabs-wrapper,
body.single-product div.product .related.products,
body.single-product div.product .upsells.products {
  grid-column: 1 / -1 !important;
}

/* ── PRODUCT GALLERY ── */
/* Constrain flexslider so fr-unit grid calc works */
body.single-product .woocommerce-product-gallery .flexslider,
body.single-product .woocommerce-product-gallery .flex-viewport {
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}
/* Main image wrapper */
body.single-product .woocommerce-product-gallery__wrapper {
  border-radius: 24px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.38) !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
  box-shadow: 0 8px 32px rgba(180,150,210,0.13) !important;
  margin: 0 !important;
  max-width: 100% !important;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
  border-radius: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  display: block !important;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease;
  border-radius: 0 !important;
  display: block !important;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image:hover img {
  transform: scale(1.03);
}
/* Thumbnails */
body.single-product .woocommerce-product-gallery .flex-control-nav {
  margin: 12px 0 0 !important;
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  padding: 0 0 4px !important;
  list-style: none !important;
}
body.single-product .woocommerce-product-gallery .flex-control-nav::-webkit-scrollbar { display: none; }
body.single-product .woocommerce-product-gallery .flex-control-nav li {
  flex: 0 0 76px !important;
  width: 76px !important;
  height: 76px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  cursor: pointer !important;
  transition: border-color 0.18s, opacity 0.18s !important;
  opacity: 0.65 !important;
  margin: 0 !important;
}
body.single-product .woocommerce-product-gallery .flex-control-nav li.flex-active,
body.single-product .woocommerce-product-gallery .flex-control-nav li:hover {
  border-color: #B8A9D9 !important;
  opacity: 1 !important;
}
body.single-product .woocommerce-product-gallery .flex-control-nav li img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

/* Sale badge */
body.single-product span.onsale {
  top: 16px !important;
  left: 16px !important;
  right: auto !important;
  background: rgba(255,255,255,0.7) !important;
  border: 1px solid rgba(255,255,255,0.85) !important;
  border-radius: 100px !important;
  padding: 5px 13px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #2A2234 !important;
  line-height: 1.4 !important;
  min-width: unset !important;
  min-height: unset !important;
  width: auto !important;
  height: auto !important;
}

/* ── SUMMARY PANEL ── */
body.single-product .summary.entry-summary {
  padding: 0 !important;
}

/* Title */
body.single-product h1.product_title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  color: #2A2234 !important;
  line-height: 1.2 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
  border: none !important;
}
@media (min-width: 768px) {
  body.single-product h1.product_title { font-size: 34px !important; }
}
@media (min-width: 1024px) {
  body.single-product h1.product_title { font-size: 38px !important; }
}

/* Price */
body.single-product p.price,
body.single-product div.price,
body.single-product span.price {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  color: #2A2234 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  margin: 0 0 20px !important;
  line-height: 1.2 !important;
}
@media (min-width: 768px) {
  body.single-product p.price,
  body.single-product div.price {
    font-size: 38px !important;
  }
}
body.single-product .summary .woocommerce-Price-amount {
  font-size: inherit !important;
  color: #2A2234 !important;
}
body.single-product .summary p.price del,
body.single-product .summary div.price del {
  font-size: 0.65em !important;
  color: #B0A4BC !important;
  opacity: 1 !important;
}
body.single-product .summary p.price ins,
body.single-product .summary div.price ins {
  text-decoration: none !important;
  font-weight: 600 !important;
}

/* Rating */
body.single-product .woocommerce-product-rating {
  margin: 0 0 12px !important;
}

/* Short description */
body.single-product .woocommerce-product-details__short-description {
  font-size: 14px !important;
  color: #7A6A8A !important;
  line-height: 1.8 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}
body.single-product .woocommerce-product-details__short-description p {
  margin-bottom: 8px !important;
}

/* ── CART FORM ── */
body.single-product form.cart {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 0 16px !important;
  flex-wrap: nowrap !important;
}

/* Quantity stepper */
body.single-product .quantity {
  display: flex !important;
  align-items: center !important;
  background: rgba(255,255,255,0.38) !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
  border-radius: 100px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: 48px !important;
}
body.single-product .quantity input.qty {
  width: 44px !important;
  height: 48px !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #2A2234 !important;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  padding: 0 !important;
  -moz-appearance: textfield;
  appearance: textfield;
}
body.single-product .quantity input.qty::-webkit-outer-spin-button,
body.single-product .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

/* Add to cart button */
body.single-product button.single_add_to_cart_button {
  flex: 1 !important;
  padding: 14px 20px !important;
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0) !important;
  border: none !important;
  border-radius: 100px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: white !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  cursor: pointer !important;
  box-shadow: 0 6px 22px rgba(200,140,200,0.38) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.4 !important;
}
body.single-product button.single_add_to_cart_button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 28px rgba(200,140,200,0.45) !important;
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0) !important;
  color: white !important;
}
body.single-product button.single_add_to_cart_button:active {
  transform: scale(0.97) !important;
}

/* ── WISHLIST ROW (YITH) ── */
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product .add_to_wishlist_button_container {
  margin-top: 8px !important;
}
body.single-product .yith-wcwl-add-button a.add_to_wishlist,
body.single-product a.add_to_wishlist {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 0 !important;
  font-size: 13px !important;
  color: #7A6A8A !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: opacity 0.15s !important;
}
body.single-product .yith-wcwl-add-button a.add_to_wishlist:hover,
body.single-product a.add_to_wishlist:hover { opacity: 0.7 !important; }
body.single-product .yith-wcwl-add-button a.add_to_wishlist::before,
body.single-product a.add_to_wishlist::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%237A6A8A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ── PRODUCT META ── */
body.single-product .product_meta {
  font-size: 12px !important;
  color: #B0A4BC !important;
  margin: 14px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(184,169,217,0.15) !important;
}
body.single-product .product_meta a {
  color: #B8A9D9 !important;
  text-decoration: none !important;
}
body.single-product .product_meta .sku_wrapper,
body.single-product .product_meta .posted_in,
body.single-product .product_meta .tagged_as {
  display: block !important;
  margin-bottom: 4px !important;
}

/* ── TABS ── */
body.single-product .woocommerce-tabs {
  margin: 0 0 48px !important;
  clear: both !important;
}
body.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  border-bottom: 1px solid rgba(184,169,217,0.2) !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  list-style: none !important;
  background: transparent !important;
}
body.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none !important; }
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after { display: none !important; }
body.single-product .woocommerce-tabs ul.tabs li {
  flex: 0 0 auto !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  margin: 0 0 -1px !important;
  padding: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.single-product .woocommerce-tabs ul.tabs li a {
  display: block !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #B0A4BC !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  transition: color 0.18s !important;
  border: none !important;
  background: transparent !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active {
  background: transparent !important;
  border-bottom: 2px solid #B8A9D9 !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #B8A9D9 !important;
  background: transparent !important;
}
body.single-product .woocommerce-tabs ul.tabs li a:hover {
  color: #7A6A8A !important;
  background: transparent !important;
}
/* Tab panels */
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
body.single-product .woocommerce-tabs .panel {
  background: rgba(255,255,255,0.38) !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 8px 32px rgba(180,150,210,0.13) !important;
  margin: 0 !important;
}
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-tabs .panel h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 18px !important;
  color: #2A2234 !important;
  font-weight: 500 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
}
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel p,
body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel li,
body.single-product .woocommerce-tabs .panel li {
  font-size: 13.5px !important;
  color: #7A6A8A !important;
  line-height: 1.9 !important;
}
body.single-product .woocommerce-tabs table.shop_attributes {
  border-collapse: collapse !important;
  width: 100% !important;
  background: transparent !important;
}
body.single-product .woocommerce-tabs table.shop_attributes th,
body.single-product .woocommerce-tabs table.shop_attributes td {
  font-size: 13.5px !important;
  color: #7A6A8A !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid rgba(184,169,217,0.15) !important;
  background: transparent !important;
}
body.single-product .woocommerce-tabs table.shop_attributes th {
  color: #2A2234 !important;
  font-weight: 500 !important;
  width: 160px !important;
}

/* ── RELATED PRODUCTS ── */
body.single-product .related.products {
  margin: 0 0 48px !important;
  clear: both !important;
}
body.single-product .related.products > h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: #2A2234 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: none !important;
}
@media (min-width: 768px) {
  body.single-product .related.products > h2 { font-size: 26px !important; }
}
/* ── Related products: responsive grid (2 / 3 / 4 cols) ── */
body.single-product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important; /* mobile: 2 cols */
  gap: 16px !important;
  overflow-x: unset !important;
  overflow: visible !important;
  flex-wrap: unset !important;
  list-style: none !important;
  padding: 4px 0 12px !important;
  margin: 0 !important;
}
@media (min-width: 768px) {
  body.single-product .related.products ul.products {
    grid-template-columns: repeat(3, 1fr) !important; /* tablet: 3 cols */
  }
}
@media (min-width: 1024px) {
  body.single-product .related.products ul.products {
    grid-template-columns: repeat(4, 1fr) !important; /* desktop: 4 cols */
  }
}
/* Related products li uses .rosalie-prod-card markup (from content-product.php override),
   so card body / image / title / price / button styling is inherited from the shop card rules
   at li.rosalie-prod-card and .rosalie-prod-* below. We only need the grid layout above. */

/* ── NOTICES ── */
body.single-product .woocommerce-notices-wrapper .woocommerce-message,
body.single-product .woocommerce-notices-wrapper .woocommerce-info {
  background: rgba(255,255,255,0.55) !important;
  border-top: 3px solid #B8A9D9 !important;
  border-radius: 0 0 16px 16px !important;
  color: #2A2234 !important;
  padding: 14px 18px !important;
  font-size: 14px !important;
}
body.single-product .woocommerce-notices-wrapper .woocommerce-message::before,
body.single-product .woocommerce-notices-wrapper .woocommerce-info::before {
  color: #B8A9D9 !important;
}
body.single-product .woocommerce-notices-wrapper a.button,
body.single-product .woocommerce-notices-wrapper .button {
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0) !important;
  color: white !important;
  border-radius: 100px !important;
  padding: 8px 18px !important;
  font-size: 13px !important;
  border: none !important;
  font-family: 'Noto Sans TC', sans-serif !important;
}



/* ══════════════════════════════════════════════════════════════
   ROSALIE — WOOCOMMERCE SHOP PAGE
══════════════════════════════════════════════════════════════ */

/* ── CSS Variables for shop context ── */
body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag {
  --rose:        #F4A7C3;
  --rose-mid:    #E891B2;
  --lav-deep:    #B8A9D9;
  --mint-deep:   #9FD5D8;
  --text-dark:   #2A2234;
  --text-mid:    #7A6A8A;
  --text-soft:   #B0A4BC;
  --glass:       rgba(255,255,255,0.38);
  --glass-s:     rgba(255,255,255,0.58);
  --glass-b:     rgba(255,255,255,0.65);
  --g-shadow:    0 8px 32px rgba(180,150,210,0.13);
  --max-w:       1280px;
  --side-mobile: 16px;
  --side-tablet: 32px;
  --side-desk:   64px;
}

/* ── Background Mesh ── */
body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag {
  background: #fdf0f8 !important;
  font-family: 'Noto Sans TC', sans-serif;
}
body.woocommerce-shop::before,
body.tax-product_cat::before,
body.tax-product_tag::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 15% 5%,  rgba(253,236,244,0.92) 0%, transparent 55%),
    radial-gradient(ellipse 60% 65% at 85% 20%,  rgba(230,230,250,0.78) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 85%,  rgba(224,247,250,0.72) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 5%  75%,  rgba(249,208,229,0.62) 0%, transparent 55%),
    #fdf0f8;
}

/* ── Override Astra layout for full-width shop ── */
body.woocommerce-shop #content.ast-container,
body.tax-product_cat #content.ast-container,
body.tax-product_tag #content.ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.woocommerce-shop #primary.content-area,
body.tax-product_cat #primary.content-area,
body.tax-product_tag #primary.content-area {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
}
body.woocommerce-shop #main.site-main,
body.tax-product_cat #main.site-main,
body.tax-product_tag #main.site-main {
  position: relative;
  z-index: 10;
}

/* Hide Astra page title / header area for shop */
body.woocommerce-shop .ast-archive-description,
body.woocommerce-shop .woocommerce-products-header {
  display: none;
}

/* ── Shop Wrap ── */
.rosalie-shop-wrap {
  position: relative;
  z-index: 10;
}
.rosalie-shop-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-mobile);
}
@media (min-width: 768px)  { .rosalie-shop-inner { padding: 0 var(--side-tablet); } }
@media (min-width: 1024px) { .rosalie-shop-inner { padding: 0 var(--side-desk); } }

/* ── Page Header / Breadcrumb ── */
.rosalie-shop-page-header {
  padding: 24px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (min-width: 768px) { .rosalie-shop-page-header { padding: 36px 0 24px; } }

.rosalie-shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
  list-style: none;
  margin: 0; padding: 0;
}
.rosalie-shop-breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.rosalie-shop-breadcrumb a:hover { color: var(--lav-deep); }
.rosalie-shop-breadcrumb-sep  { font-size: 10px; }
.rosalie-shop-breadcrumb-current { color: var(--text-mid); }

.rosalie-shop-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.1;
  margin: 0;
}
@media (min-width: 768px) { .rosalie-shop-title { font-size: 40px; } }

/* ── Shop Layout ── */
.rosalie-shop-layout {
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}
@media (min-width: 900px) {
  .rosalie-shop-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
}
@media (min-width: 1024px) { .rosalie-shop-layout { gap: 44px; } }

/* ── Sidebar ── */
.rosalie-shop-sidebar {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .rosalie-shop-sidebar {
    width: 220px;
    position: sticky;
    top: 88px;
  }
}
@media (min-width: 1024px) { .rosalie-shop-sidebar { width: 240px; } }

/* Sidebar glass card */
.rosalie-sidebar-glass {
  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b);
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: var(--g-shadow);
  margin-bottom: 12px;
}

/* ── Mobile Pill Filter — REMOVED (不使用行動泡泡篩選) ── */
.rosalie-filter-mobile,
.rosalie-pill-scroll,
.rosalie-filter-pill { display: none !important; }

/* ── Desktop Sidebar Filters ── */
.rosalie-filter-desktop { display: none; }
@media (min-width: 900px) {
  .rosalie-filter-desktop {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

.rosalie-filter-group-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(184,169,217,0.2);
}

.rosalie-filter-options { display: flex; flex-direction: column; gap: 4px; }

.rosalie-filter-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: var(--text-dark);
}
.rosalie-filter-opt:hover  { background: rgba(184,169,217,0.12); }
.rosalie-filter-opt.active { background: rgba(184,169,217,0.18); }

.rosalie-filter-check {
  width: 18px; height: 18px;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1.5px solid rgba(184,169,217,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.rosalie-filter-opt.active .rosalie-filter-check {
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0);
  border-color: transparent;
}
.rosalie-filter-check svg { width: 11px; height: 11px; opacity: 0; transition: opacity 0.15s; }
.rosalie-filter-opt.active .rosalie-filter-check svg { opacity: 1; }

.rosalie-filter-opt-label { font-size: 14px; color: var(--text-dark); flex: 1; }
.rosalie-filter-opt.active .rosalie-filter-opt-label { color: var(--lav-deep); font-weight: 500; }
.rosalie-filter-opt-count { font-size: 11px; color: var(--text-soft); }

.rosalie-clear-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(184,169,217,0.25);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-soft);
  font-family: 'Noto Sans TC', sans-serif;
  cursor: pointer;
  margin-top: 12px;
  text-decoration: none;
  transition: all 0.18s;
}
.rosalie-clear-filters:hover { border-color: var(--rose); color: var(--rose-mid); }
.rosalie-clear-filters svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── Shop Main ── */
.rosalie-shop-main { flex: 1; min-width: 0; }

/* ── Toolbar ── */
.rosalie-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

/* Result count */
.rosalie-shop-main .woocommerce-result-count {
  font-size: 14px;
  color: var(--text-mid) !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Ordering select */
.rosalie-shop-main .woocommerce-ordering {
  float: none !important;
  margin: 0 !important;
}
.rosalie-shop-main .woocommerce-ordering select,
.rosalie-shop-main select.orderby {
  padding: 8px 36px 8px 14px !important;
  background-color: var(--glass) !important;
  backdrop-filter: blur(14px) !important;
  border: 1px solid var(--glass-b) !important;
  border-radius: 100px !important;
  font-size: 13px !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  color: var(--text-dark) !important;
  outline: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B0A4BC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  height: auto !important;
  box-shadow: none !important;
}

/* ── Product Grid ── */
ul.rosalie-product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (min-width: 640px) {
  ul.rosalie-product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
  }
}
@media (min-width: 900px) {
  ul.rosalie-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1100px) {
  ul.rosalie-product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
}

/* ── Product Card ── */
li.rosalie-prod-card {
  background: var(--glass) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  border: 1px solid var(--glass-b) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: var(--g-shadow) !important;
  cursor: pointer !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
}
li.rosalie-prod-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 40px rgba(180,150,210,0.22) !important;
}

/* Product image link */
.rosalie-prod-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Product image wrap */
.rosalie-prod-img-wrap {
  position: relative;
  overflow: hidden;
  background: rgba(253,236,244,0.3);
  aspect-ratio: 1 / 1;
  width: 100%;
}
.rosalie-prod-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
li.rosalie-prod-card:hover .rosalie-prod-img { transform: scale(1.04); }

.rosalie-prod-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(42,34,52,0.15) 100%);
  pointer-events: none;
}

/* Badges */
.rosalie-prod-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.rosalie-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  font-family: 'Noto Sans TC', sans-serif;
}
.rosalie-badge-stock {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.8);
  color: var(--text-dark);
}
.rosalie-badge-dot {
  width: 5px; height: 5px;
  background: #4CAF50;
  border-radius: 50%;
}
.rosalie-badge-new, .rosalie-badge-sale {
  background: linear-gradient(135deg, rgba(244,167,195,0.75), rgba(184,169,217,0.75));
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}
.rosalie-badge-preorder {
  background: rgba(184,169,217,0.5);
  border: 1px solid rgba(184,169,217,0.4);
  color: white;
}
.rosalie-badge-outofstock {
  background: rgba(180,180,180,0.4);
  border: 1px solid rgba(180,180,180,0.3);
  color: white;
}

/* Card body */
.rosalie-prod-body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rosalie-prod-brand {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lav-deep);
}
.rosalie-prod-name {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.35;
  font-weight: 500;
  flex: 1;
  text-decoration: none;
  display: block;
  transition: color 0.15s;
}
.rosalie-prod-name:hover { color: var(--lav-deep); }

.rosalie-prod-price-row {
  display: flex;
  align-items: center;
  margin-top: 6px;
}

/* Price styling — match cart page (Noto Sans TC) */
.rosalie-prod-body .price,
.rosalie-prod-price {
  font-family: 'Noto Sans TC', sans-serif !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
  font-weight: 700 !important;
}
.rosalie-prod-body .price del {
  font-size: 12px !important;
  color: var(--text-soft) !important;
  margin-right: 4px;
}
.rosalie-prod-body .price ins {
  text-decoration: none !important;
}
.rosalie-prod-body .price .woocommerce-Price-currencySymbol {
  font-size: 0.85em;
}

/* Add to cart button — override WC loop button */
.rosalie-prod-body .button,
.rosalie-prod-body .add_to_cart_button,
.rosalie-prod-body .added_to_cart,
.rosalie-prod-body a.button {
  width: 100% !important;
  padding: 9px 12px !important;
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0) !important;
  border: none !important;
  border-radius: 100px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: white !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  box-shadow: 0 3px 10px rgba(200,140,200,0.25) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
  display: block !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  letter-spacing: 0.03em !important;
}
.rosalie-prod-body .button:hover,
.rosalie-prod-body .add_to_cart_button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(200,140,200,0.38) !important;
  color: white !important;
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0) !important;
}

/* ── Pagination ── */
.rosalie-shop-main .woocommerce-pagination {
  margin-top: 36px;
  padding-bottom: 16px;
}
.rosalie-shop-main .woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0; margin: 0;
}
.rosalie-shop-main .woocommerce-pagination ul.page-numbers li { margin: 0; padding: 0; float: none; border: none !important; background: none !important; }
.rosalie-shop-main .woocommerce-pagination ul.page-numbers li a,
.rosalie-shop-main .woocommerce-pagination ul.page-numbers li span {
  width: 38px !important; height: 38px !important;
  background: rgba(255,255,255,0.38) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.65) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  color: #7A6A8A !important;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.rosalie-shop-main .woocommerce-pagination ul.page-numbers li a:hover,
.rosalie-shop-main .woocommerce-pagination ul.page-numbers li a:focus,
.rosalie-shop-main .woocommerce-pagination ul.page-numbers li a:focus-visible {
  background: rgba(184,169,217,0.2) !important;
  color: #B8A9D9 !important;
  outline: none !important;
  box-shadow: none !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
}
.rosalie-shop-main .woocommerce-pagination ul.page-numbers li span.current {
  background: linear-gradient(135deg, #F4A7C3, #C9A8E0) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(200,140,200,0.3) !important;
  outline: none !important;
}
/* Pagination SVG arrows */
.rosalie-shop-main .woocommerce-pagination ul.page-numbers li a svg,
.rosalie-shop-main .woocommerce-pagination ul.page-numbers li span svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ── No products ── */
.rosalie-shop-main .woocommerce-info,
.rosalie-shop-main .woocommerce-no-products-found {
  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-b) !important;
  border-radius: 20px !important;
  padding: 40px 24px !important;
  text-align: center;
  font-size: 14px;
  color: var(--text-mid);
  box-shadow: var(--g-shadow);
}
.rosalie-shop-main .woocommerce-info::before { display: none !important; }

/* ── WC notices ── */
.rosalie-shop-main .woocommerce-message,
.rosalie-shop-main .woocommerce-error,
.rosalie-shop-main .woocommerce-info {
  border-radius: 14px !important;
  margin-bottom: 20px !important;
}


/* ══════════════════════════════════════════════════════════════
   ROSALIE — WOOCOMMERCE CART PAGE STYLES
   Matching rosalie-cart.html mockup (glassmorphism design)
══════════════════════════════════════════════════════════════ */

/* ── CSS variables on cart page ── */
body.woocommerce-cart {
  --rose:       #F4A7C3;
  --rose-mid:   #E891B2;
  --lav-deep:   #B8A9D9;
  --mint-deep:  #9FD5D8;
  --text-dark:  #2A2234;
  --text-mid:   #7A6A8A;
  --text-soft:  #B0A4BC;
  --glass:      rgba(255,255,255,0.38);
  --glass-s:    rgba(255,255,255,0.58);
  --glass-b:    rgba(255,255,255,0.65);
  --g-shadow:   0 8px 32px rgba(180,150,210,0.13);
  background: #fdf0f8;
  color: #2A2234;
  font-family: 'Noto Sans TC', sans-serif;
}

/* ── Animated gradient background ── */
body.woocommerce-cart::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 15% 5%,  rgba(253,236,244,0.92) 0%, transparent 55%),
    radial-gradient(ellipse 60% 65% at 85% 20%, rgba(230,230,250,0.78) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 85%, rgba(224,247,250,0.72) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 5%  75%, rgba(249,208,229,0.62) 0%, transparent 55%),
    #fdf0f8;
  pointer-events: none;
}

/* ── Astra main content area ── */
body.woocommerce-cart #content,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area {
  background: transparent !important;
}
body.woocommerce-cart .ast-container {
  background: transparent !important;
}
body.woocommerce-cart .entry-content {
  background: transparent !important;
}
/* Remove Astra's default page background on cart page */
body.woocommerce-cart .ast-article-post {
  background: transparent !important;
  box-shadow: none !important;
}

/* ── WooCommerce notices ── */
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info {
  background: rgba(255,255,255,0.6) !important;
  border: 1px solid rgba(184,169,217,0.3) !important;
  border-top: 3px solid var(--lav-deep) !important;
  border-radius: 14px !important;
  color: var(--text-dark) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 20px !important;
  box-shadow: var(--g-shadow) !important;
}
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info::before {
  color: var(--lav-deep) !important;
}

/* ══ PAGE HEADER ══════════════════════════════════════════════ */
.rcart-page-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px 0 4px;
}
.rcart-page-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}
.rcart-count-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--glass-b);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(180,150,210,0.08);
  white-space: nowrap;
}

/* ══ CONTINUE SHOPPING LINK ═══════════════════════════════════ */
.rcart-continue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: none !important;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  transition: color 0.15s;
  padding: 6px 0;
}
.rcart-continue:hover { color: var(--lav-deep) !important; }
.rcart-continue svg {
  width: 14px; height: 14px;
  stroke: currentColor; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ══ 2-COLUMN CART LAYOUT ═════════════════════════════════════ */
.rcart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 60px;
}
@media (min-width: 1024px) {
  .rcart-layout {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}
.rcart-col-left,
.rcart-col-right {
  min-width: 0;
}

/* ══ CART ITEMS SECTION ═══════════════════════════════════════ */
.rcart-form { margin: 0 !important; }

.rcart-items-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Individual cart item card */
.rcart-item {
  background: var(--glass) !important;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--glass-b) !important;
  border-radius: 20px !important;
  padding: 14px 14px 12px !important;
  box-shadow: var(--g-shadow) !important;
  display: grid !important;
  grid-template-columns: 200px 1fr !important;
  gap: 12px !important;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.35s;
}
.rcart-item:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 40px rgba(180,150,210,0.18) !important;
}
@media (min-width: 640px) {
  .rcart-item {
    grid-template-columns: 200px 1fr auto !important;
    padding: 18px 20px !important;
    gap: 18px !important;
    align-items: center !important;
  }
}

/* Product image */
.rcart-item-img-wrap {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative; /* needed for absolute-positioned stock dot */
}
@media (min-width: 640px) {
  .rcart-item-img-wrap { width: 200px; height: 200px; border-radius: 16px; }
}
.rcart-item-img-wrap a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.rcart-item-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transition: transform 0.3s;
  display: block;
}
.rcart-item:hover .rcart-item-img-wrap img { transform: scale(1.06); }

/* Item info column */
.rcart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-right: 32px;
}
@media (min-width: 640px) {
  .rcart-item-info { padding-right: 0; gap: 5px; }
}

.rcart-item-brand {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--lav-deep);
  text-transform: uppercase;
}
.rcart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media (min-width: 640px) {
  .rcart-item-name {
    font-size: 17px;
    -webkit-line-clamp: 1;
    white-space: nowrap;
  }
}
.rcart-item-name a {
  color: inherit !important;
  text-decoration: none !important;
}
.rcart-item-name a:hover { color: var(--lav-deep) !important; }

.rcart-item-meta {
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.rcart-item-meta dl,
.rcart-item-meta dt,
.rcart-item-meta dd {
  display: inline;
  font-size: 11px;
  color: var(--text-soft);
  margin: 0;
}

/* Item bottom row */
.rcart-item-bottom { margin-top: 8px; }
.rcart-item-stepper-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Qty stepper ──────────────────────────────────────── */
.rcart-qty-stepper {
  display: flex;
  align-items: center;
  background: var(--glass-b);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.75) !important;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(180,150,210,0.08);
  overflow: hidden;
  flex-shrink: 0;
}
.rcart-qty-btn {
  width: 30px;
  height: 30px;
  border: none !important;
  background: transparent !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 16px;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
  padding: 0;
  box-shadow: none !important;
}
.rcart-qty-btn:hover {
  background: rgba(244,167,195,0.25) !important;
  color: var(--rose-mid) !important;
}
.rcart-qty-btn:active {
  background: rgba(244,167,195,0.4) !important;
  transform: scale(0.9);
}
.rcart-qty-btn svg { pointer-events: none; }
.rcart-qty-input {
  width: 32px !important;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  border: none !important;
  background: transparent !important;
  -moz-appearance: textfield;
  outline: none !important;
  padding: 0 !important;
  font-family: 'Noto Sans TC', sans-serif;
  box-shadow: none !important;
}
.rcart-qty-input::-webkit-outer-spin-button,
.rcart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Mobile price (right of stepper) */
.rcart-price-mobile {
  flex-shrink: 0;
  margin-left: auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}
.rcart-price-mobile .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
@media (min-width: 640px) { .rcart-price-mobile { display: none; } }

/* Desktop subtotal price */
.rcart-price-desktop { display: none; }
@media (min-width: 640px) {
  .rcart-price-desktop {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
  }
  .rcart-price-desktop .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
}

/* ── Delete button ── */
.rcart-item-del.remove {
  position: absolute;
  top: 12px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(180,150,210,0.12);
  transition: background 0.15s, transform 0.15s;
  color: var(--text-soft) !important;
  font-size: 0 !important; /* hide any text fallback */
  line-height: 1;
}
.rcart-item-del.remove:hover {
  background: rgba(255,100,100,0.15) !important;
  transform: scale(1.1);
  color: #e55 !important;
}
.rcart-item-del.remove:active { transform: scale(0.9); }
.rcart-item-del.remove svg { stroke: currentColor; pointer-events: none; }
/* Override Astra / WC default .remove styles */
.rcart-items-section a.remove { color: var(--text-soft) !important; }
.rcart-items-section a.remove:hover { background: rgba(255,100,100,0.15) !important; color: #e55 !important; }

/* ══ COUPON / PROMO BAR ═══════════════════════════════════════ */
.rcart-promo-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--glass-b);
  border-radius: 18px;
  box-shadow: var(--g-shadow);
}
.rcart-promo-input-wrap {
  flex: 1;
  position: relative;
}
.rcart-promo-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.rcart-promo-icon svg { stroke: var(--text-soft); }
.rcart-promo-input {
  width: 100% !important;
  padding: 10px 12px 10px 36px !important;
  background: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 100px !important;
  font-size: 13px !important;
  color: var(--text-dark) !important;
  font-family: 'Noto Sans TC', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.05em;
  box-shadow: none !important;
  height: auto !important;
}
.rcart-promo-input::placeholder { color: var(--text-soft); }
.rcart-promo-input:focus {
  border-color: rgba(184,169,217,0.6) !important;
  box-shadow: 0 0 0 3px rgba(184,169,217,0.15) !important;
}
.rcart-promo-btn {
  padding: 10px 20px !important;
  border-radius: 100px !important;
  border: none !important;
  background: linear-gradient(135deg, var(--lav-deep), #a899d0) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  font-family: 'Noto Sans TC', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(184,169,217,0.35) !important;
  transition: transform 0.15s, box-shadow 0.15s;
  height: auto !important;
  line-height: 1.4 !important;
}
.rcart-promo-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(184,169,217,0.45) !important;
  background: linear-gradient(135deg, var(--lav-deep), #a899d0) !important;
  color: #fff !important;
}
.rcart-promo-btn:active { transform: scale(0.96) !important; }

/* ══ ORDER SUMMARY PANEL ══════════════════════════════════════ */
.rcart-summary.cart_totals {
  width: 100% !important;
  box-sizing: border-box !important;
  background: var(--glass-s) !important;
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid var(--glass-b) !important;
  border-radius: 24px !important;
  padding: 24px !important;
  box-shadow: 0 12px 48px rgba(180,150,210,0.16) !important;
}
@media (min-width: 1024px) {
  .rcart-summary.cart_totals {
    position: sticky;
    top: 88px;
  }
}
/* Override WC/Astra default cart_totals styles */
.rcart-summary.cart_totals h2 { display: none; }

.rcart-summary-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.rcart-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.rcart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-mid);
}
.rcart-summary-val { font-size: 14px; color: var(--text-mid); }
.rcart-summary-val .woocommerce-Price-amount { font-size: inherit; color: inherit; font-weight: inherit; }
.rcart-summary-val--discount { color: #4caf8a !important; font-weight: 500; }
.rcart-summary-val--discount .woocommerce-Price-amount { color: #4caf8a !important; }

.rcart-summary-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,169,217,0.3), transparent);
  margin: 4px 0;
}
.rcart-summary-row--total {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark) !important;
  margin-top: 4px;
}
.rcart-summary-row--total span { color: var(--text-dark) !important; }
.rcart-summary-val--total {
  font-family: 'Noto Sans TC', 'Noto Sans', sans-serif !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
}
.rcart-summary-val--total .woocommerce-Price-amount {
  font-family: 'Noto Sans TC', 'Noto Sans', sans-serif !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
}
.rcart-summary-val--total .woocommerce-Price-currencySymbol {
  font-size: 16px !important;
  font-weight: 500 !important;
  vertical-align: super;
}

/* Shipping rows from WooCommerce */
.rcart-summary .shop_table tr.shipping th,
.rcart-summary .shop_table tr th {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  padding: 6px 0;
  border: none;
  background: none;
  text-align: left;
}
.rcart-summary .shop_table tr td {
  font-size: 14px;
  color: var(--text-mid);
  padding: 6px 0;
  border: none;
  background: none;
  text-align: right;
}
.rcart-summary .shop_table {
  border: none;
  background: none;
}
.rcart-summary .shop_table_responsive tr.cart-subtotal,
.rcart-summary .shop_table_responsive tr.order-total,
.rcart-summary .shop_table_responsive tr.shipping {
  border: none;
  background: none;
}

/* ── Checkout button ── */
.rcart-checkout-wrap .checkout-button,
.rcart-checkout-wrap .wc-block-cart__submit-button,
.rcart-checkout-wrap a.checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  padding: 16px !important;
  background: linear-gradient(135deg, var(--rose-mid) 0%, var(--lav-deep) 100%) !important;
  border: none !important;
  border-radius: 16px !important;
  cursor: pointer;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
  font-family: 'Noto Sans TC', sans-serif;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 28px rgba(232,145,178,0.4) !important;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 12px !important;
  text-decoration: none !important;
  text-align: center;
}
.rcart-checkout-wrap .checkout-button:hover,
.rcart-checkout-wrap a.checkout-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 36px rgba(232,145,178,0.5) !important;
  background: linear-gradient(135deg, var(--rose-mid) 0%, var(--lav-deep) 100%) !important;
  color: #fff !important;
}
.rcart-checkout-wrap .checkout-button:active { transform: scale(0.97) !important; }

/* ── LINE button ── */
.rcart-line-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: rgba(6,199,85,0.12) !important;
  border: 1.5px solid rgba(6,199,85,0.35) !important;
  border-radius: 16px !important;
  cursor: pointer;
  font-size: 14px !important;
  font-weight: 500;
  color: #06C755 !important;
  font-family: 'Noto Sans TC', sans-serif;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none !important;
  margin-bottom: 16px;
}
.rcart-line-btn:hover {
  background: rgba(6,199,85,0.2) !important;
  transform: translateY(-1px);
  color: #06C755 !important;
}
.rcart-line-btn:active { transform: scale(0.97); }
.rcart-line-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Summary note ── */
.rcart-summary-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.rcart-summary-note strong { color: var(--text-mid); }

/* ── Trust badges ── */
.rcart-trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(184,169,217,0.15);
}
.rcart-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}
.rcart-trust-badge svg {
  width: 20px; height: 20px;
  stroke: var(--text-soft); stroke-width: 1.4;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* ══ WooCommerce cart page ─ override Astra defaults ══════════ */
/* Ensure empty cart page also looks right */
body.woocommerce-cart .woocommerce-cart-form table,
body.woocommerce-cart table.shop_table {
  border: none !important;
  background: transparent !important;
  display: none; /* hide any legacy table that might appear */
}
/* But show our custom items */
.rcart-items-section { display: flex; }

/* ── Cart empty state ── */
body.woocommerce-cart .woocommerce-info.woocommerce-cart-is-empty {
  background: var(--glass) !important;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-b) !important;
  border-top: 1px solid var(--glass-b) !important;
  border-radius: 24px !important;
  text-align: center;
  padding: 48px 32px !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px !important;
  color: var(--text-dark) !important;
  box-shadow: var(--g-shadow) !important;
}
body.woocommerce-cart .woocommerce-info.woocommerce-cart-is-empty::before { display: none !important; }

/* Cart return-to-shop button */
body.woocommerce-cart .return-to-shop .button,
body.woocommerce-cart .return-to-shop a {
  display: inline-block !important;
  padding: 14px 36px !important;
  border-radius: 100px !important;
  background: linear-gradient(135deg, var(--rose-mid), var(--lav-deep)) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: 'Noto Sans TC', sans-serif;
  text-decoration: none !important;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(232,145,178,0.35) !important;
  border: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
body.woocommerce-cart .return-to-shop .button:hover,
body.woocommerce-cart .return-to-shop a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(232,145,178,0.45) !important;
  color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE: 強制隱藏 Astra header、footer、page title
   （body.rosalie-homepage-body 由 front-page.php body_class 設定）
══════════════════════════════════════════════════════════════ */
body.rosalie-homepage-body #masthead,
body.rosalie-homepage-body .site-header,
body.rosalie-homepage-body .ast-hfb-header,
body.rosalie-homepage-body .astra-hfb-header,
body.rosalie-homepage-body header#masthead,
body.rosalie-homepage-body .main-header-bar,
body.rosalie-homepage-body .ast-desktop-header,
body.rosalie-homepage-body .ast-mobile-header-wrap,
body.rosalie-homepage-body .ast-below-header-wrap,
body.rosalie-homepage-body .entry-header,
body.rosalie-homepage-body .ast-breadcrumbs-wrapper,
body.rosalie-homepage-body #ast-fixed-footer,
body.rosalie-homepage-body .site-footer,
body.rosalie-homepage-body footer.site-footer,
body.rosalie-homepage-body #colophon,
body.rosalie-homepage-body .ast-hfb-footer,
body.rosalie-homepage-body .hfeed > footer,
body.rosalie-homepage-body #page > footer {
  display: none !important;
}

/* 隱藏 Astra 的 #page 包裝，讓我們自己的 .rosalie-site 完全接管 */
body.rosalie-homepage-body #page {
  display: contents !important;
}
body.rosalie-homepage-body #content,
body.rosalie-homepage-body .ast-container,
body.rosalie-homepage-body .site-content {
  padding: 0 !important;
  max-width: none !important;
}
body.rosalie-homepage-body #primary,
body.rosalie-homepage-body #secondary {
  display: none !important;
}
/* 確保 .rosalie-site 顯示正常 */
body.rosalie-homepage-body .rosalie-site { display: block !important; }

/* 抑制 PHP 警告訊息的視覺影響（白色文字 on 白色背景） */
body.rosalie-homepage-body > div:not(.rosalie-site):not(.rosalie-bottom-nav) {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE INNER PAGES: 隱藏 Astra header/footer，使用 Rosalie 自訂導覽列
══════════════════════════════════════════════════════════════ */
body.woocommerce-shop #masthead,
body.woocommerce-shop .site-footer,
body.woocommerce-shop #colophon,
body.single-product #masthead,
body.single-product .site-footer,
body.single-product #colophon,
body.woocommerce-cart #masthead,
body.woocommerce-cart .site-footer,
body.woocommerce-cart #colophon {
  display: none !important;
}

/* 為 WooCommerce 頁面的 rosalie-desk-header 預留空間 */
body.woocommerce-shop .rosalie-desk-header,
body.single-product .rosalie-desk-header,
body.woocommerce-cart .rosalie-desk-header,
body.rosalie-checkout-page .rosalie-desk-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* WooCommerce 頁面的 rosalie-footer */
body.woocommerce-shop .rosalie-footer,
body.single-product .rosalie-footer,
body.woocommerce-cart .rosalie-footer,
body.rosalie-checkout-page .rosalie-footer {
  margin-top: 48px;
}

/* rosalie-bg-layer 只做裝飾背景，不擋點擊、不遮蓋內容 */
.rosalie-bg-layer {
  pointer-events: none !important;
  z-index: -1 !important;
}

/* 確保 rosalie-footer 在 bg-layer 之上 */
.rosalie-footer {
  position: relative;
  z-index: 1;
}

/* 確保 rosalie-desk-header 在所有頁面都在 bg-layer 之上 */
.rosalie-desk-header {
  z-index: 200 !important;
}



/* ══════════════════════════════════════════════════════════════
   ROSALIE — SINGLE PRODUCT: 14 UI ITEMS (second pass)
══════════════════════════════════════════════════════════════ */

/* ── Item 1+2: Gallery badge + zoom icon ── */
body.single-product .woocommerce-product-gallery__wrapper {
  position: relative !important;
}
/* Badge top-left */
.rosalie-gallery-badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 20;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 100px;
  padding: 5px 13px;
  font-size: 12px; font-weight: 500;
  color: #2A2234;
  font-family: 'Noto Sans TC', sans-serif;
  pointer-events: none;
  white-space: nowrap;
}
.rosalie-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  flex-shrink: 0; background: #4CAF50;
}
.rosalie-gallery-badge.rosalie-gallery-badge--sold-out .rosalie-badge-dot { background: #B0A4BC; }
.rosalie-gallery-badge.rosalie-gallery-badge--preorder .rosalie-badge-dot { background: #F4A7C3; }

/* Zoom icon top-right */
.rosalie-zoom-icon {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 20;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.rosalie-zoom-icon svg {
  width: 16px; height: 16px;
  stroke: #7A6A8A; stroke-width: 1.6;
  fill: none;
}

/* ── Item 4: Breadcrumb separator ── */
body.single-product .ast-breadcrumbs-wrapper .sep,
body.single-product .woocommerce-breadcrumb .sep,
body.single-product nav.woocommerce-breadcrumb > span {
  display: inline-flex; align-items: center;
}

/* ── Items 5+6: Info tags + brand name ── */
.rosalie-info-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
}
.rosalie-info-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(184,169,217,0.15);
  border: 1px solid rgba(184,169,217,0.3);
  color: #B8A9D9;
  text-decoration: none;
  transition: background 0.15s;
  font-family: 'Noto Sans TC', sans-serif;
  cursor: default;
}
a.rosalie-info-tag { cursor: pointer; }
a.rosalie-info-tag:hover { background: rgba(184,169,217,0.28); color: #B8A9D9; }
.rosalie-info-tag.rosalie-info-tag--green {
  background: rgba(76,175,80,0.12);
  border-color: rgba(76,175,80,0.3);
  color: #3d8b40;
}

/* Brand line */
.rosalie-info-brand {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B8A9D9; margin-bottom: 6px;
  font-family: 'Noto Sans TC', sans-serif;
}

/* ── Item 7: Notice box ── */
.rosalie-notice-box {
  background: rgba(249,208,229,0.15);
  border: 1px solid rgba(244,167,195,0.25);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.rosalie-notice-text {
  font-size: 13px; color: #7A6A8A; line-height: 1.8;
  font-family: 'Noto Sans TC', sans-serif;
}
.rosalie-notice-text p { margin-bottom: 6px; }
.rosalie-notice-text p:last-child { margin-bottom: 0; }

/* ── Item 8: Three action buttons ── */
.rosalie-three-btns {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.rosalie-three-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 11px 8px;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 16px;
  font-size: 12px; color: #7A6A8A; font-weight: 500;
  font-family: 'Noto Sans TC', sans-serif;
  cursor: pointer; text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  line-height: 1.3;
}
.rosalie-three-btn svg {
  width: 20px; height: 20px;
  stroke: #7A6A8A; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.15s, fill 0.15s;
  flex-shrink: 0;
}
.rosalie-three-btn:hover {
  background: rgba(184,169,217,0.2);
  color: #B8A9D9;
  border-color: rgba(184,169,217,0.4);
}
.rosalie-three-btn:hover svg { stroke: #B8A9D9; }
.rosalie-three-btn.active {
  background: rgba(244,167,195,0.15);
  color: #E891B2;
  border-color: rgba(244,167,195,0.35);
}
.rosalie-three-btn.active svg {
  stroke: #E891B2;
  fill: rgba(244,167,195,0.3);
}
/* LINE button */
.rosalie-three-btn-line {
  color: #06C755 !important;
  border-color: rgba(6,199,85,0.25) !important;
  background: rgba(6,199,85,0.07) !important;
}
.rosalie-three-btn-line svg {
  stroke: none !important;
  fill: #06C755 !important;
}
.rosalie-three-btn-line:hover {
  background: rgba(6,199,85,0.14) !important;
  color: #04a845 !important;
  border-color: rgba(6,199,85,0.4) !important;
}
/* Hide YITH standalone button (Item 10) */
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product .yith-wcwl-add-button,
body.single-product .add-to-wishlist-list {
  display: none !important;
}

/* ── Items 11–13: Custom tab styles ── */
body.single-product .rosalie-tabs-wrapper {
  margin: 0 0 48px !important;
  clear: both;
}
/* Tab nav (replaces woocommerce-tabs ul.tabs) */
body.single-product .rosalie-tab-nav {
  display: flex !important;
  border-bottom: 1px solid rgba(184,169,217,0.2) !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  gap: 0;
}
body.single-product .rosalie-tab-nav::-webkit-scrollbar { display: none; }
body.single-product .rosalie-tab-btn {
  flex: 0 0 auto !important;
  padding: 12px 20px !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #B0A4BC !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  letter-spacing: 0.04em !important;
  cursor: pointer !important;
  transition: color 0.18s, border-color 0.18s !important;
  margin-bottom: -1px !important;
  white-space: nowrap;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.single-product .rosalie-tab-btn:hover {
  color: #7A6A8A !important;
}
body.single-product .rosalie-tab-btn.active {
  color: #B8A9D9 !important;
  border-bottom-color: #B8A9D9 !important;
  background: transparent !important;
}
/* Tab panels */
body.single-product .rosalie-tab-panel {
  background: rgba(255,255,255,0.38) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 8px 32px rgba(180,150,210,0.13) !important;
  margin: 0 !important;
}
body.single-product .rosalie-tab-panel h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 18px !important; color: #2A2234 !important;
  font-weight: 500 !important; margin: 0 0 14px !important;
}
body.single-product .rosalie-tab-panel p,
body.single-product .rosalie-tab-panel li {
  font-size: 13.5px !important; color: #7A6A8A !important; line-height: 2 !important;
}
body.single-product .rosalie-tab-panel p { margin-bottom: 10px !important; }
body.single-product .rosalie-tab-panel strong { color: #2A2234 !important; font-weight: 500 !important; }
/* Shop_attributes table */
body.single-product .rosalie-tab-panel table.shop_attributes {
  border-collapse: collapse !important; width: 100% !important;
}
body.single-product .rosalie-tab-panel table.shop_attributes th,
body.single-product .rosalie-tab-panel table.shop_attributes td {
  font-size: 13.5px !important; color: #7A6A8A !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid rgba(184,169,217,0.15) !important;
  background: transparent !important;
}
body.single-product .rosalie-tab-panel table.shop_attributes th {
  color: #2A2234 !important; font-weight: 500 !important; width: 150px !important;
}

/* ── 注意事項 tab: notes grid ── */
.rosalie-notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .rosalie-notes-grid { grid-template-columns: 1fr 1fr; }
}
.rosalie-note-card {
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 18px; padding: 18px 18px 16px;
  box-shadow: 0 4px 16px rgba(180,150,210,0.08);
}
.rosalie-note-icon-wrap {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.rosalie-note-icon-wrap svg {
  width: 18px; height: 18px;
  stroke: white; stroke-width: 1.7; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.rosalie-ni-pink { background: linear-gradient(135deg,#F4A7C3,#E891B2); }
.rosalie-ni-mint { background: linear-gradient(135deg,#9FD5D8,#76C5C9); }
.rosalie-ni-lav  { background: linear-gradient(135deg,#C5B9E8,#A99DD4); }
.rosalie-ni-gold { background: linear-gradient(135deg,#F0C97A,#D4A550); }
.rosalie-note-head {
  font-size: 14px; font-weight: 500; color: #2A2234;
  margin-bottom: 5px;
  font-family: 'Noto Sans TC', sans-serif;
}
.rosalie-note-body {
  font-size: 12.5px; color: #7A6A8A; line-height: 1.7;
  font-family: 'Noto Sans TC', sans-serif;
}

/* ── 關於羅莎莉 tab: social link buttons ── */
.rosalie-social-link-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0;
}
.rosalie-social-link-btn,
a.rosalie-social-link-btn,
.entry-content a.rosalie-social-link-btn,
.rosalie-tab-panel a.rosalie-social-link-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 0.18s; border: 1.5px solid transparent;
  font-family: 'Noto Sans TC', sans-serif;
}
.rosalie-social-link-btn:hover,
a.rosalie-social-link-btn:hover,
.entry-content a.rosalie-social-link-btn:hover,
.rosalie-tab-panel a.rosalie-social-link-btn:hover {
  text-decoration: none !important;
}
.rosalie-social-link-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.rosalie-slb-fb { background: rgba(24,119,242,0.1); border-color: rgba(24,119,242,0.25); color: #1877F2; }
.rosalie-slb-fb:hover { background: rgba(24,119,242,0.18); color: #1877F2; }
.rosalie-slb-ig { background: rgba(225,48,108,0.1); border-color: rgba(225,48,108,0.25); color: #E1306C; }
.rosalie-slb-ig:hover { background: rgba(225,48,108,0.18); color: #E1306C; }
.rosalie-slb-line { background: rgba(6,199,85,0.1); border-color: rgba(6,199,85,0.28); color: #06C755; }
.rosalie-slb-line svg { fill: #06C755; stroke: none; }
.rosalie-slb-line:hover { background: rgba(6,199,85,0.18); color: #06C755; }

/* ── Item 13: Hide any residual whitespace from old WC tab system ── */
body.single-product .woocommerce-tabs:not(.rosalie-tabs-wrapper) {
  display: none !important;
}
/* Also hide the old Astra woocommerce-tabs override margin */
body.single-product .wc-tabs-wrapper:not(.rosalie-tabs-wrapper) {
  display: none !important;
}


/* ══ 修改 6: Save-later button ══════════════════════════════ */
.rcart-save-later-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(184,169,217,0.25);
  border-radius: 100px;
  padding: 5px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: 'Noto Sans TC', sans-serif;
  flex-shrink: 0;
}
.rcart-save-later-btn:hover {
  color: var(--rose-mid);
  background: rgba(244,167,195,0.12);
  border-color: rgba(244,167,195,0.35);
}
.rcart-save-later-btn svg {
  stroke: currentColor;
  flex-shrink: 0;
}

/* ── Stepper row: wrap save-later below stepper on mobile ── */
.rcart-item-stepper-row {
  flex-wrap: wrap;
  row-gap: 8px;
}

/* ══ 修改 9: Stock badge & pills ════════════════════════════ */
/* Green dot on image corner */
.rcart-item-stock-dot { display: none; }

/* Stock pill in info area */
.rcart-item-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dark);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
  align-self: flex-start;
}
.rcart-item-stock-dot-inline {
  width: 5px; height: 5px;
  background: #4CAF50;
  border-radius: 50%;
  flex-shrink: 0;
}

.rcart-item-preorder-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  background: rgba(184,169,217,0.2);
  border: 1px solid rgba(184,169,217,0.35);
  color: var(--lav-deep);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
  align-self: flex-start;
}
.rcart-item-outofstock-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  background: rgba(180,180,180,0.2);
  border: 1px solid rgba(180,180,180,0.35);
  color: var(--text-soft);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
  align-self: flex-start;
}


/* ══ 修正：刪除按鈕強制 absolute 定位（覆蓋 Astra woocommerce-grid） */
body.woocommerce-cart .rcart-item a.rcart-item-del.remove {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(180,150,210,0.12);
  color: var(--text-soft) !important;
  font-size: 0 !important;
  line-height: 1;
  transition: background 0.15s, transform 0.15s;
  z-index: 5;
}
body.woocommerce-cart .rcart-item a.rcart-item-del.remove:hover {
  background: rgba(255,100,100,0.15) !important;
  transform: scale(1.1);
  color: #e55 !important;
}
body.woocommerce-cart .rcart-item a.rcart-item-del.remove:active {
  transform: scale(0.9);
}


/* ── Fix: hide Astra's single-product-category span (we use rosalie-info-tags instead) ── */
body.single-product .single-product-category {
  display: none !important;
}


/* ══════════════════════════════════════════════════════════════
   ROSALIE MY ACCOUNT (rma-*) — 會員中心套版
   對應 mockup: rosalie-account.html
══════════════════════════════════════════════════════════════ */

/* ── Page background ── */
body.woocommerce-account {
  background: #fdf0f8 !important;
}

/* ── 隱藏 WooCommerce 預設的 h1/h2 page title 在 my-account ── */
body.woocommerce-account .entry-title,
body.woocommerce-account .woocommerce-notices-wrapper + .entry-title {
  display: none;
}

/* ── 修正 WooCommerce account wrapper padding ── */
body.woocommerce-account .woocommerce {
  padding: 0 !important;
}

/* ══ AUTH CARD（未登入） ══════════════════════════════════════ */
.rma-auth-wrap {
  max-width: 440px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 8px 0 40px;
}

.rma-auth-brand {
  text-align: center;
  margin-bottom: 28px;
}
.rma-auth-brand-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--text-dark);
  letter-spacing: 0.06em;
  font-style: italic;
  line-height: 1.1;
}
.rma-auth-brand-zh {
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.2em;
  margin-top: 4px;
}

.rma-auth-card {
  background: var(--glass-s);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid var(--glass-b);
  border-radius: 28px;
  padding: 28px 24px 32px;
  box-shadow: 0 16px 56px rgba(180,150,210,0.18);
}
@media (min-width: 480px) {
  .rma-auth-card { padding: 32px 32px 36px; }
}

/* Auth Tabs */
.rma-auth-tabs {
  display: flex;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 28px;
  gap: 0;
}
.rma-auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  font-family: 'Noto Sans TC', sans-serif;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: all 0.22s;
}
.rma-auth-tab.active {
  background: linear-gradient(135deg, var(--rose-mid), var(--lav-deep));
  color: #fff;
  box-shadow: 0 4px 14px rgba(232,145,178,0.35);
}

/* Auth Panels */
.rma-auth-panel { display: none; }
.rma-auth-panel.active { display: block; }

/* Form fields */
.rma-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.rma-form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  text-transform: uppercase;
  font-family: 'Noto Sans TC', sans-serif;
}
.rma-req { color: var(--rose-mid); margin-left: 2px; }

.rma-input-wrap { position: relative; }

.rma-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.rma-input-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-soft);
  stroke-width: 1.6;
  fill: none;
}

.rma-form-input,
.rma-auth-wrap input.input-text,
.rma-auth-wrap .woocommerce-Input {
  width: 100% !important;
  padding: 12px 42px 12px 42px !important;
  background: rgba(255,255,255,0.62) !important;
  border: 1.5px solid rgba(255,255,255,0.88) !important;
  border-radius: 13px !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  -webkit-appearance: none;
  height: auto !important;
}
.rma-form-input::placeholder,
.rma-auth-wrap input.input-text::placeholder {
  color: var(--text-soft);
}
.rma-form-input:focus,
.rma-auth-wrap input.input-text:focus {
  border-color: rgba(184,169,217,0.7) !important;
  box-shadow: 0 0 0 3px rgba(184,169,217,0.15) !important;
  background: rgba(255,255,255,0.78) !important;
}

/* Password toggle */
.rma-pw-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
}
.rma-pw-toggle svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-soft);
  stroke-width: 1.6;
  fill: none;
}

/* Login meta row (remember me + forgot) */
.rma-login-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.rma-remember-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
  cursor: pointer;
  font-family: 'Noto Sans TC', sans-serif;
}
.rma-forgot-link {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s;
  font-family: 'Noto Sans TC', sans-serif;
}
.rma-forgot-link:hover { color: var(--lav-deep); }

/* Submit button */
.rma-auth-submit-btn,
.rma-auth-wrap button[type="submit"],
.rma-auth-wrap .woocommerce-button[name="login"],
.rma-auth-wrap .woocommerce-button[name="register"] {
  width: 100% !important;
  padding: 15px !important;
  border: none !important;
  border-radius: 15px !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, var(--rose-mid), var(--lav-deep)) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 8px 28px rgba(232,145,178,0.38) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  margin-bottom: 18px !important;
  display: block !important;
  text-align: center !important;
}
.rma-auth-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 34px rgba(232,145,178,0.48) !important;
}

/* Divider */
.rma-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.rma-auth-divider--top { margin-top: 6px; margin-bottom: 20px; }
.rma-auth-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,169,217,0.3), transparent);
}
.rma-auth-divider-text {
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-family: 'Noto Sans TC', sans-serif;
}

/* Social icon buttons — top of form */
.rma-social-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
.rma-social-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px 12px;
  border-radius: 16px;
  border: 1.5px solid rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.52);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Noto Sans TC', sans-serif;
  letter-spacing: 0.04em;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  backdrop-filter: blur(8px);
}
.rma-social-icon-btn:hover {
  background: rgba(255,255,255,0.72);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(180,150,210,0.18);
}
.rma-social-icon-btn svg { display: block; flex-shrink: 0; }
.rma-social-line { color: #06C755; border-color: rgba(6,199,85,0.28); background: rgba(6,199,85,0.07); }
.rma-social-line:hover { background: rgba(6,199,85,0.14); }
.rma-social-fb { color: #1877F2; border-color: rgba(24,119,242,0.28); background: rgba(24,119,242,0.07); }
.rma-social-fb:hover { background: rgba(24,119,242,0.14); }
.rma-social-google { color: var(--text-mid); border-color: rgba(200,200,200,0.55); background: rgba(255,255,255,0.62); }
.rma-social-google:hover { background: rgba(255,255,255,0.85); }

/* LINE login */
.rma-line-login-btn {
  width: 100%;
  padding: 13px;
  border-radius: 14px;
  background: rgba(6,199,85,0.1);
  border: 1.5px solid rgba(6,199,85,0.32);
  font-size: 14px;
  font-weight: 500;
  color: #06C755;
  font-family: 'Noto Sans TC', sans-serif;
  cursor: pointer;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background 0.18s, transform 0.15s;
  margin-bottom: 0;
}
.rma-line-login-btn:hover {
  background: rgba(6,199,85,0.18);
  transform: translateY(-1px);
}
.rma-line-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* Social login row */
.rma-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.rma-social-row--3col {
  grid-template-columns: 1fr 1fr 1fr;
}
.rma-social-row--3col .rma-line-login-btn {
  width: 100%;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 14px;
}
.rma-fb-btn {
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(24,119,242,0.09);
  border: 1.5px solid rgba(24,119,242,0.28);
  font-size: 13px;
  font-weight: 500;
  color: #1877F2;
  font-family: 'Noto Sans TC', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s, transform 0.15s;
}
.rma-fb-btn:hover { background: rgba(24,119,242,0.16); transform: translateY(-1px); }
.rma-google-btn {
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(200,200,200,0.55);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  font-family: 'Noto Sans TC', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s, transform 0.15s;
}
.rma-google-btn:hover { background: rgba(255,255,255,0.85); transform: translateY(-1px); }

/* Terms note */
.rma-auth-terms {
  text-align: center;
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-top: 16px;
  font-family: 'Noto Sans TC', sans-serif;
}
.rma-auth-terms a { color: var(--lav-deep); text-decoration: none; }

/* Auto pw note */
.rma-auto-pw-note {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 14px;
  font-family: 'Noto Sans TC', sans-serif;
}

/* WooCommerce error/notice overrides inside auth wrap */
.rma-auth-wrap .woocommerce-error,
.rma-auth-wrap .woocommerce-message,
.rma-auth-wrap .woocommerce-info {
  border-radius: 13px !important;
  font-size: 13px !important;
  font-family: 'Noto Sans TC', sans-serif !important;
}

/* ══ ACCOUNT LAYOUT（已登入） ════════════════════════════════ */
.rma-account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 1024px) {
  .rma-account-layout {
    grid-template-columns: 260px 1fr;
  }
}

/* ── SIDEBAR ── */
.rma-sidebar {
  background: var(--glass-s);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid var(--glass-b);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: var(--g-shadow);
}
@media (min-width: 1024px) {
  .rma-sidebar {
    position: sticky;
    top: 88px;
  }
}

.rma-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(184,169,217,0.15);
  margin-bottom: 20px;
}
.rma-avatar-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(244,167,195,0.4), rgba(184,169,217,0.4));
  border: 2px solid rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(180,150,210,0.2);
  flex-shrink: 0;
}
.rma-avatar-info { text-align: center; }
.rma-avatar-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2px;
  font-family: 'Noto Sans TC', sans-serif;
}
.rma-avatar-email {
  font-size: 12px;
  color: var(--text-soft);
  font-family: 'Noto Sans TC', sans-serif;
  word-break: break-all;
}

/* Sidebar nav */
.rma-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.rma-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
  font-family: 'Noto Sans TC', sans-serif;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
  letter-spacing: 0.03em;
  border: none;
  background: transparent;
}
.rma-sidebar-item svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.rma-sidebar-item:hover {
  background: rgba(184,169,217,0.12);
  color: var(--lav-deep);
}
.rma-sidebar-item.active,
.rma-sidebar-item.is-active {
  background: rgba(184,169,217,0.18);
  color: var(--lav-deep);
}
.rma-sidebar-item.logout {
  color: var(--text-soft);
  margin-top: 8px;
}
.rma-sidebar-item.logout:hover {
  color: #c0504a;
  background: rgba(200,80,80,0.08);
}

.rma-sidebar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,169,217,0.2), transparent);
  margin: 8px 0;
}

/* Mobile: horizontal sidebar */
@media (max-width: 1023px) {
  .rma-sidebar { padding: 16px; }
  .rma-avatar-wrap {
    flex-direction: row;
    gap: 14px;
    padding-bottom: 14px;
    align-items: center;
  }
  .rma-avatar-circle {
    width: 52px;
    height: 52px;
    font-size: 20px;
    margin-bottom: 0;
  }
  .rma-avatar-info { text-align: left; }
  .rma-avatar-name { font-size: 14px; }
  .rma-sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .rma-sidebar-nav::-webkit-scrollbar { display: none; }
  .rma-sidebar-item.logout { margin-top: 0; }
  .rma-sidebar-divider { display: none; }
}

/* ── MAIN CONTENT ── */
.rma-account-main {
  min-width: 0;
}

.rma-section-card {
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--glass-b);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: var(--g-shadow);
}
@media (min-width: 640px) {
  .rma-section-card { padding: 26px 24px; }
}

/* WooCommerce content inside section card */
.rma-section-card h2,
.rma-section-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.rma-section-card table.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-family: 'Noto Sans TC', sans-serif;
}
.rma-section-card table.woocommerce-orders-table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(184,169,217,0.15);
}
.rma-section-card table.woocommerce-orders-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  color: var(--text-dark);
  vertical-align: middle;
}
.rma-section-card table.woocommerce-orders-table tr:last-child td {
  border-bottom: none;
}
.rma-section-card .woocommerce-orders-table__cell-order-status mark {
  background: rgba(184,169,217,0.18);
  color: var(--lav-deep);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

/* Form fields inside account (edit-account, edit-address) */
.rma-section-card .woocommerce-address-fields .form-row,
.rma-section-card .woocommerce-EditAccountForm .form-row,
.rma-section-card .edit-account .form-row {
  margin-bottom: 14px;
}
.rma-section-card label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  text-transform: uppercase;
  font-family: 'Noto Sans TC', sans-serif;
  display: block;
  margin-bottom: 6px;
}
.rma-section-card input[type="text"],
.rma-section-card input[type="email"],
.rma-section-card input[type="password"],
.rma-section-card input[type="tel"],
.rma-section-card select,
.rma-section-card textarea {
  width: 100% !important;
  padding: 11px 14px !important;
  background: rgba(255,255,255,0.62) !important;
  border: 1.5px solid rgba(255,255,255,0.88) !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  -webkit-appearance: none !important;
}
.rma-section-card input[type="text"]:focus,
.rma-section-card input[type="email"]:focus,
.rma-section-card input[type="password"]:focus,
.rma-section-card input[type="tel"]:focus,
.rma-section-card select:focus,
.rma-section-card textarea:focus {
  border-color: rgba(184,169,217,0.7) !important;
  box-shadow: 0 0 0 3px rgba(184,169,217,0.15) !important;
  background: rgba(255,255,255,0.78) !important;
}
.rma-section-card .woocommerce-Button,
.rma-section-card button[type="submit"],
.rma-section-card input[type="submit"] {
  padding: 12px 28px !important;
  border-radius: 100px !important;
  border: none !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, var(--rose-mid), var(--lav-deep)) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #fff !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  letter-spacing: 0.06em !important;
  box-shadow: 0 6px 20px rgba(232,145,178,0.35) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.rma-section-card .woocommerce-Button:hover,
.rma-section-card button[type="submit"]:hover,
.rma-section-card input[type="submit"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 26px rgba(232,145,178,0.45) !important;
}

/* WooCommerce notices inside account */
.rma-section-card .woocommerce-error,
.rma-section-card .woocommerce-message,
.rma-section-card .woocommerce-info {
  border-radius: 13px !important;
  font-size: 13px !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  margin-bottom: 18px !important;
}

/* Dashboard text */
.rma-section-card .woocommerce-MyAccount-content p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  font-family: 'Noto Sans TC', sans-serif;
  margin-bottom: 12px;
}
.rma-section-card .woocommerce-MyAccount-content a {
  color: var(--lav-deep);
  text-decoration: none;
}
.rma-section-card .woocommerce-MyAccount-content a:hover {
  color: var(--rose-mid);
}

/* ── WooCommerce 預設 navigation 隱藏（改用 rma-sidebar） ── */
.woocommerce-MyAccount-navigation {
  display: none !important;
}

/* ── 麵包屑調整（my-account 頁） ── */
body.woocommerce-account .rosalie-breadcrumb,
body.woocommerce-account .woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--text-soft);
  padding: 12px 0 20px;
  font-family: 'Noto Sans TC', sans-serif;
}

/* ── Astra overrides for woocommerce-account page ── */
body.woocommerce-account .site-content-after-header {
  padding-top: 0 !important;
}
body.woocommerce-account .ast-container {
  max-width: var(--max-w) !important;
}

/* ── Hide Astra's #masthead on account page（replaced by Rosalie header） ── */
body.woocommerce-account #masthead,
body.woocommerce-account .site-footer,
body.woocommerce-account #colophon {
  display: none !important;
}

/* ── Rosalie shared header on account page ── */
body.woocommerce-account .rosalie-desk-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ── Content padding to account for sticky header ── */
body.woocommerce-account .site-content,
body.woocommerce-account #content {
  padding-top: 0 !important;
}

/* ── Page/entry title hidden ── */
body.woocommerce-account .entry-title,
body.woocommerce-account .page-title {
  display: none !important;
}

/* ── Woocommerce container max-width match ── */
body.woocommerce-account .woocommerce {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 64px !important;
}
@media (max-width: 1023px) {
  body.woocommerce-account .woocommerce {
    padding: 0 32px !important;
  }
}
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce {
    padding: 0 16px !important;
  }
}

/* 隱藏 WooCommerce account 原始 2-column layout 包裝 */
body.woocommerce-account #customer_login.u-columns {
  display: block !important;
}
body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
  width: 100% !important;
  float: none !important;
}

/* ── Mobile nav active icon ── */
body.woocommerce-account .rosalie-bottom-nav .nav-item[data-page="account"] {
  background: rgba(244,167,195,0.22);
}
body.woocommerce-account .rosalie-bottom-nav .nav-item[data-page="account"] svg {
  stroke: var(--rose-mid);
}



/* ══════════════════════════════════════════════════════════════
   ROSALIE CHECKOUT PAGE (rco-*)
   Matches: rosalie-checkout.html mockup
══════════════════════════════════════════════════════════════ */

body.rosalie-checkout-page {
  margin: 0; padding: 0;
  background: #fdf0f8;
  font-family: 'Noto Sans TC', sans-serif;
  color: #2A2234;
  overflow-x: hidden;
  min-height: 100vh;
}
body.rosalie-checkout-page *,
body.rosalie-checkout-page *::before,
body.rosalie-checkout-page *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* Hide Astra chrome on checkout */
body.rosalie-checkout-page #masthead,
body.rosalie-checkout-page #ast-desktop-header,
body.rosalie-checkout-page #footer-widgets,
body.rosalie-checkout-page #colophon,
body.rosalie-checkout-page .ast-breadcrumbs-wrapper,
body.rosalie-checkout-page .site-header,
body.rosalie-checkout-page .ast-mobile-header-wrap,
body.rosalie-checkout-page .ast-site-header-wrap,
body.rosalie-checkout-page .ast-above-header-wrap,
body.rosalie-checkout-page .ast-below-header-wrap { display: none !important; }

body.rosalie-checkout-page #page,
body.rosalie-checkout-page #content,
body.rosalie-checkout-page .ast-container,
body.rosalie-checkout-page .entry-content,
body.rosalie-checkout-page .site-content { padding: 0 !important; margin: 0 !important; max-width: none !important; }
body.rosalie-checkout-page #primary { padding: 0 !important; }

/* ── BACKGROUND ── */
.rco-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 5%,  rgba(253,236,244,0.92) 0%, transparent 55%),
    radial-gradient(ellipse 60% 65% at 85% 20%,  rgba(230,230,250,0.78) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 85%,  rgba(224,247,250,0.72) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 5%  75%,  rgba(249,208,229,0.62) 0%, transparent 55%),
    #fdf0f8;
}
.rco-orb { position: fixed; border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none; }
.rco-orb1 { width: 420px; height: 420px; top: -100px; left: -80px;
  background: radial-gradient(circle, rgba(253,236,244,0.7), rgba(249,208,229,0.35));
  animation: rco-o1 13s ease-in-out infinite alternate; }
.rco-orb2 { width: 380px; height: 380px; top: 35%; right: -90px;
  background: radial-gradient(circle, rgba(230,230,250,0.6), rgba(184,169,217,0.3));
  animation: rco-o2 16s ease-in-out infinite alternate; }
.rco-orb3 { width: 320px; height: 320px; bottom: 180px; left: 8%;
  background: radial-gradient(circle, rgba(224,247,250,0.55), rgba(159,213,216,0.28));
  animation: rco-o3 11s ease-in-out infinite alternate; }
@keyframes rco-o1 { to { transform: translate(55px,60px) scale(1.1); } }
@keyframes rco-o2 { to { transform: translate(-55px,-45px) scale(1.12); } }
@keyframes rco-o3 { to { transform: translate(40px,-50px) scale(1.08); } }

.rco-site-wrap { position: relative; z-index: 10; min-height: 100vh; display: flex; flex-direction: column; }

/* ── HEADER ── */
.rco-header {
  position: sticky; top: 0; z-index: 200; width: 100%;
  background: rgba(253,240,252,0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 2px 20px rgba(180,150,210,0.1);
}
.rco-header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 64px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (max-width: 767px) { .rco-header-inner { padding: 0 16px; } }
.rco-logo { text-decoration: none; }
.rco-logo-en { display: block; font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: #2A2234; letter-spacing: 0.04em; line-height: 1.1; }
.rco-logo-zh { display: block; font-size: 10px; color: #B0A4BC; letter-spacing: 0.14em; }
.rco-header-actions { display: flex; gap: 8px; }
.rco-icon-btn {
  position: relative; width: 40px; height: 40px;
  background: rgba(255,255,255,0.38); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.65); border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 8px rgba(180,150,210,0.1);
  text-decoration: none; transition: transform 0.15s;
}
.rco-icon-btn:hover { transform: scale(1.05); }
.rco-icon-btn svg { width: 18px; height: 18px; stroke: #7A6A8A; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rco-cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: #E891B2; color: #fff;
  font-size: 9px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── CONTENT ── */
.rco-content { flex: 1; max-width: 1280px; margin: 0 auto; width: 100%; padding: 0 64px 60px; }
@media (max-width: 1023px) { .rco-content { padding: 0 32px 80px; } }
@media (max-width: 767px)  { .rco-content { padding: 0 16px 120px; } }

/* ── BREADCRUMB ── */
.rco-breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 16px 0 20px; font-size: 12px; color: #B0A4BC;
}
.rco-breadcrumb a { color: #B0A4BC; text-decoration: none; transition: color 0.15s; }
.rco-breadcrumb a:hover { color: #7A6A8A; }
.rco-bc-sep { color: #B0A4BC; }

/* ── PROGRESS STEPS ── */
.rco-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.rco-step { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; flex: 1; max-width: 120px; }
.rco-step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; z-index: 1; position: relative; transition: all 0.3s;
}
.rco-step-done .rco-step-circle,
.rco-step-active .rco-step-circle { background: linear-gradient(135deg,#E891B2,#B8A9D9); color: #fff; box-shadow: 0 4px 16px rgba(232,145,178,0.5); }
.rco-step-pending .rco-step-circle { background: rgba(255,255,255,0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1.5px solid rgba(255,255,255,0.75); color: #B0A4BC; }
.rco-step-label { font-size: 10px; color: #B0A4BC; letter-spacing: 0.06em; white-space: nowrap; }
.rco-step-active .rco-step-label { color: #E891B2; font-weight: 600; }
.rco-step-done .rco-step-label  { color: #B8A9D9; }
.rco-step-line { flex: 1; height: 1.5px; max-width: 60px; background: linear-gradient(90deg,rgba(184,169,217,0.4),rgba(184,169,217,0.15)); margin-bottom: 18px; }
.rco-step-line-done { background: linear-gradient(90deg,#B8A9D9,rgba(184,169,217,0.4)); }

/* ── PAGE TITLE ── */
.rco-page-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 500; color: #2A2234; letter-spacing: 0.02em; margin-bottom: 24px; }

/* Hide Astra page title (the "結帳" heading from the Page) */
body.rosalie-checkout-page .entry-title,
body.rosalie-checkout-page .ast-archive-title,
body.rosalie-checkout-page .page-title { display: none !important; }

/* ── MEMBER BAR (login button / welcome) ── */
.rco-member-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 16px;
  padding: 12px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(180,150,210,0.08);
}
.rco-member-info {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #5A4A6E;
}
.rco-member-info svg { color: #B8A9D9; flex-shrink: 0; }
.rco-member-info strong { color: #2A2234; font-weight: 600; }
.rco-member-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg,#E891B2,#B8A9D9);
  color: #fff !important; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 18px; border-radius: 10px;
  box-shadow: 0 4px 14px rgba(232,145,178,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.rco-member-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(232,145,178,0.45); }
.rco-member-link {
  font-size: 12px; color: #B0A4BC; text-decoration: none;
  padding: 6px 10px; border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.rco-member-link:hover { color: #7A6A8A; background: rgba(255,255,255,0.4); }

/* Single-tab payment (ATM only) — no hover pointer needed */
.rco-pay-tab-single { cursor: default; }

/* WC notices */
body.rosalie-checkout-page .woocommerce-error,
body.rosalie-checkout-page .woocommerce-message,
body.rosalie-checkout-page .woocommerce-info { margin-bottom: 16px; border-radius: 14px; padding: 14px 18px; }

/* ── LAYOUT ── */
.rco-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) { .rco-layout { grid-template-columns: 1fr 360px; align-items: start; } }
@media (max-width: 1023px) { .rco-left { order: 2; } .rco-summary { order: 1; } }

/* ── GLASS CARD ── */
.rco-card {
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 22px; padding: 22px 20px;
  box-shadow: 0 8px 32px rgba(180,150,210,0.13);
  margin-bottom: 16px;
}
@media (min-width: 640px) { .rco-card { padding: 26px 24px; } }
.rco-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 500; color: #2A2234;
  letter-spacing: 0.03em; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.rco-card-title svg { width: 18px; height: 18px; stroke: #B8A9D9; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── WC Billing/Shipping form inside rco-card ── */
body.rosalie-checkout-page .rco-card .woocommerce-billing-fields h3,
body.rosalie-checkout-page .rco-card .woocommerce-shipping-fields h3,
body.rosalie-checkout-page .rco-card .woocommerce-additional-fields h3 { display: none !important; }

body.rosalie-checkout-page .rco-card .form-row,
body.rosalie-checkout-page .rco-card p.form-row {
  display: flex; flex-direction: column; gap: 6px;
  margin: 0 0 14px; padding: 0;
  float: none; clear: none; width: 100% !important;
}
body.rosalie-checkout-page .rco-card .form-row-first,
body.rosalie-checkout-page .rco-card .form-row-last {
  width: calc(50% - 7px) !important;
  display: inline-flex !important; vertical-align: top;
}
body.rosalie-checkout-page .rco-card .form-row-first { margin-right: 14px !important; }
@media (max-width: 479px) {
  body.rosalie-checkout-page .rco-card .form-row-first,
  body.rosalie-checkout-page .rco-card .form-row-last { width: 100% !important; display: flex !important; }
  body.rosalie-checkout-page .rco-card .form-row-first { margin-right: 0 !important; }
}

body.rosalie-checkout-page .rco-card label {
  font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: 0.1em !important; color: #7A6A8A !important;
  text-transform: uppercase !important; margin-bottom: 0 !important;
  font-family: 'Noto Sans TC', sans-serif !important;
}
body.rosalie-checkout-page .rco-card label .optional { font-weight: 400 !important; }
body.rosalie-checkout-page .rco-card label .required,
body.rosalie-checkout-page .rco-card label abbr[title="required"] { color: #E891B2 !important; text-decoration: none !important; }

body.rosalie-checkout-page .rco-card input[type="text"],
body.rosalie-checkout-page .rco-card input[type="email"],
body.rosalie-checkout-page .rco-card input[type="tel"],
body.rosalie-checkout-page .rco-card input[type="number"],
body.rosalie-checkout-page .rco-card input[type="password"],
body.rosalie-checkout-page .rco-card select,
body.rosalie-checkout-page .rco-card textarea {
  width: 100% !important; padding: 12px 16px !important;
  background: rgba(255,255,255,0.6) !important;
  border: 1.5px solid rgba(255,255,255,0.85) !important;
  border-radius: 12px !important;
  font-size: 14px !important; color: #2A2234 !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  outline: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  height: auto !important; line-height: 1.5 !important;
}
body.rosalie-checkout-page .rco-card input::placeholder,
body.rosalie-checkout-page .rco-card textarea::placeholder { color: #B0A4BC !important; }
body.rosalie-checkout-page .rco-card input:focus,
body.rosalie-checkout-page .rco-card select:focus,
body.rosalie-checkout-page .rco-card textarea:focus {
  border-color: rgba(184,169,217,0.7) !important;
  box-shadow: 0 0 0 3px rgba(184,169,217,0.15) !important;
  background: rgba(255,255,255,0.75) !important;
}
body.rosalie-checkout-page .rco-card .woocommerce-input-wrapper { width: 100%; }

/* ── SELECT2 ── */
body.rosalie-checkout-page .select2-container--default .select2-selection--single {
  background: rgba(255,255,255,0.6) !important;
  border: 1.5px solid rgba(255,255,255,0.85) !important;
  border-radius: 12px !important;
  height: 46px !important; display: flex; align-items: center;
}
body.rosalie-checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 16px !important; color: #2A2234 !important;
  font-size: 14px !important; font-family: 'Noto Sans TC', sans-serif !important; line-height: 46px !important;
}
body.rosalie-checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px !important; right: 10px !important; }
body.rosalie-checkout-page .select2-dropdown {
  border: 1.5px solid rgba(184,169,217,0.4) !important;
  border-radius: 12px !important; background: rgba(253,240,252,0.95) !important;
}
body.rosalie-checkout-page .select2-container--default .select2-results__option--highlighted { background: rgba(184,169,217,0.25) !important; color: #2A2234 !important; }

/* ── CUSTOM FORM GRID ── */
.rco-form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 480px) { .rco-form-grid { grid-template-columns: 1fr 1fr; } }
.rco-form-field { display: flex; flex-direction: column; gap: 6px; }
.rco-full { grid-column: 1 / -1; }
.rco-form-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: #7A6A8A; text-transform: uppercase; }
.rco-req { color: #E891B2; margin-left: 2px; }
.rco-form-input {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.6); border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 12px; font-size: 14px; color: #2A2234;
  font-family: 'Noto Sans TC', sans-serif; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none;
}
.rco-form-input::placeholder { color: #B0A4BC; }
.rco-form-input:focus { border-color: rgba(184,169,217,0.7); box-shadow: 0 0 0 3px rgba(184,169,217,0.15); background: rgba(255,255,255,0.75); }
.rco-textarea { resize: vertical; min-height: 80px; }

/* ── PAYMENT TABS ── */
.rco-pay-tabs { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.rco-pay-tab {
  flex: 1; min-width: 90px; padding: 12px 10px;
  background: rgba(255,255,255,0.5); border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 14px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: all 0.2s; position: relative;
}
.rco-pay-tab:hover { background: rgba(255,255,255,0.7); transform: translateY(-1px); }
.rco-pay-tab-active { background: rgba(184,169,217,0.18); border-color: rgba(184,169,217,0.55); box-shadow: 0 4px 16px rgba(184,169,217,0.2); }
.rco-pay-tab-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.rco-pay-tab-icon svg { width: 22px; height: 22px; stroke: #B0A4BC; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.rco-pay-tab-active .rco-pay-tab-icon svg { stroke: #B8A9D9; }
.rco-pay-tab-label { font-size: 11px; font-weight: 500; color: #B0A4BC; letter-spacing: 0.04em; text-align: center; transition: color 0.2s; }
.rco-pay-tab-active .rco-pay-tab-label { color: #B8A9D9; font-weight: 600; }
.rco-pay-tab-check {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #B8A9D9; display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(184,169,217,0.4);
}
.rco-pay-tab-active .rco-pay-tab-check { display: flex; }
.rco-pay-tab-check svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 2.5; fill: none; }

/* ── PAYMENT PANELS ── */
.rco-pay-panel { display: none; }
.rco-pay-panel-active { display: block; }

/* ── CREDIT CARD VISUAL ── */
.rco-card-visual {
  background: linear-gradient(135deg,#2A2234 0%,#4a3a5e 40%,#3d3060 100%);
  border-radius: 18px; padding: 22px 20px 18px;
  margin-bottom: 20px; position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(42,34,52,0.35);
}
.rco-card-visual::before { content:''; position:absolute; top:-40px; right:-40px; width:160px; height:160px; border-radius:50%; background:radial-gradient(circle,rgba(184,169,217,0.2),transparent 70%); }
.rco-card-visual::after  { content:''; position:absolute; bottom:-30px; left:-20px; width:120px; height:120px; border-radius:50%; background:radial-gradient(circle,rgba(244,167,195,0.15),transparent 70%); }
.rco-card-chip { width:36px; height:26px; border-radius:5px; background:linear-gradient(135deg,#d4af37,#f0c84a); margin-bottom:20px; position:relative; z-index:1; }
.rco-card-number-display { font-family:'Cormorant Garamond',serif; font-size:18px; letter-spacing:0.18em; color:rgba(255,255,255,0.85); margin-bottom:16px; position:relative; z-index:1; }
.rco-card-bottom { display:flex; justify-content:space-between; align-items:flex-end; position:relative; z-index:1; }
.rco-card-lbl { font-size:9px; letter-spacing:0.14em; color:rgba(255,255,255,0.4); text-transform:uppercase; margin-bottom:3px; }
.rco-card-val { font-size:13px; color:rgba(255,255,255,0.8); font-weight:500; letter-spacing:0.06em; }
.rco-card-brand { font-family:'Cormorant Garamond',serif; font-size:22px; font-style:italic; color:rgba(255,255,255,0.7); letter-spacing:0.03em; }

/* ── ATM PANEL ── */
.rco-atm-bank-list { display:flex; flex-direction:column; gap:10px; margin-bottom:20px; }
.rco-atm-bank-opt { display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:14px; background:rgba(255,255,255,0.5); border:1.5px solid rgba(255,255,255,0.8); cursor:pointer; transition:all 0.2s; }
.rco-atm-bank-opt:hover { background:rgba(255,255,255,0.72); }
.rco-atm-selected { background:rgba(184,169,217,0.15); border-color:rgba(184,169,217,0.5); }
.rco-atm-radio-dot { width:18px; height:18px; border-radius:50%; flex-shrink:0; border:2px solid rgba(184,169,217,0.4); display:flex; align-items:center; justify-content:center; transition:all 0.2s; }
.rco-atm-selected .rco-atm-radio-dot { background:#B8A9D9; border-color:#B8A9D9; }
.rco-atm-radio-dot::after { content:''; width:7px; height:7px; border-radius:50%; background:#fff; opacity:0; transition:opacity 0.2s; }
.rco-atm-selected .rco-atm-radio-dot::after { opacity:1; }
.rco-atm-bank-name { font-size:14px; font-weight:500; color:#2A2234; flex:1; }
.rco-atm-bank-code { font-size:11px; color:#B0A4BC; letter-spacing:0.06em; }
.rco-atm-acct-box { background:rgba(255,255,255,0.55); border:1px solid rgba(255,255,255,0.85); border-radius:14px; padding:16px 18px; display:flex; flex-direction:column; gap:8px; }
.rco-atm-acct-label { font-size:11px; color:#B0A4BC; letter-spacing:0.1em; text-transform:uppercase; }
.rco-atm-acct-num { font-family:'Cormorant Garamond',serif; font-size:22px; font-weight:500; color:#2A2234; letter-spacing:0.1em; }
.rco-atm-acct-row { display:flex; justify-content:space-between; align-items:center; }
.rco-atm-copy-btn { padding:6px 14px; border-radius:100px; border:none; background:rgba(184,169,217,0.2); font-size:11px; color:#B8A9D9; font-weight:600; font-family:'Noto Sans TC',sans-serif; cursor:pointer; letter-spacing:0.06em; transition:background 0.15s; display:flex; align-items:center; gap:5px; }
.rco-atm-copy-btn:hover { background:rgba(184,169,217,0.32); }
.rco-atm-copy-btn svg { width:12px; height:12px; stroke:currentColor; stroke-width:2; fill:none; }
.rco-atm-note { font-size:11px; color:#B0A4BC; line-height:1.7; margin-top:8px; }
.rco-atm-note strong { color:#2A2234; }

/* ── LINE PAY PANEL ── */
.rco-linepay-wrap { display:flex; flex-direction:column; align-items:center; gap:16px; padding:12px 0; }
.rco-linepay-qr { width:160px; height:160px; border-radius:16px; background:rgba(255,255,255,0.7); border:1px solid rgba(255,255,255,0.9); display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(0,0,0,0.06); overflow:hidden; }
.rco-linepay-qr svg { width:120px; height:120px; }
.rco-linepay-desc { font-size:13px; color:#7A6A8A; text-align:center; line-height:1.7; }
.rco-linepay-btn { padding:13px 32px; border-radius:100px; border:none; background:#06C755; color:#fff; font-size:14px; font-weight:600; font-family:'Noto Sans TC',sans-serif; cursor:pointer; letter-spacing:0.06em; box-shadow:0 6px 20px rgba(6,199,85,0.35); display:flex; align-items:center; gap:8px; transition:transform 0.15s, box-shadow 0.15s; }
.rco-linepay-btn:hover { transform:translateY(-1px); box-shadow:0 8px 26px rgba(6,199,85,0.45); }

/* ── ORDER SUMMARY (right column) ── */
.rco-summary {
  background: rgba(255,255,255,0.58);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 24px; padding: 24px;
  box-shadow: 0 12px 48px rgba(180,150,210,0.16);
}
@media (min-width: 1024px) { .rco-summary { position: sticky; top: 88px; } }
.rco-summary-title { font-family:'Cormorant Garamond',serif; font-size:20px; font-weight:500; color:#2A2234; letter-spacing:0.03em; margin-bottom:18px; }

.rco-order-items { display:flex; flex-direction:column; gap:12px; margin-bottom:18px; }
.rco-order-item { display:flex; align-items:center; gap:12px; }
.rco-item-img-wrap { flex-shrink:0; }
.rco-item-img-wrap img,
.rco-item-img { width:48px !important; height:48px !important; border-radius:10px; object-fit:cover; border:1px solid rgba(255,255,255,0.8); display:block; }
.rco-item-info { flex:1; min-width:0; }
.rco-item-name { font-size:13px; color:#2A2234; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rco-item-qty { font-size:11px; color:#B0A4BC; }
.rco-item-price { font-size:13px; font-weight:600; color:#2A2234; flex-shrink:0; white-space:nowrap; }
.rco-item-price .woocommerce-Price-amount { font-size:13px; }

.rco-summary-divider { height:1px; background:linear-gradient(90deg,transparent,rgba(184,169,217,0.3),transparent); margin:14px 0; }
.rco-summary-rows { display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.rco-summary-row { display:flex; justify-content:space-between; align-items:center; font-size:13px; color:#7A6A8A; }
.rco-summary-total { font-size:15px; font-weight:600; color:#2A2234; margin-top:4px; }
.rco-summary-total .rco-val { font-family:'Cormorant Garamond',serif; font-size:22px; font-weight:600; }
.rco-val .woocommerce-Price-amount { font-size:inherit; }

/* Place order btn */
.rco-place-order-btn {
  width:100%; padding:16px; border:none; border-radius:16px; cursor:pointer;
  background:linear-gradient(135deg,#E891B2 0%,#B8A9D9 100%);
  font-size:15px; font-weight:600; color:#fff;
  font-family:'Noto Sans TC',sans-serif; letter-spacing:0.08em;
  box-shadow:0 8px 28px rgba(232,145,178,0.4);
  transition:transform 0.2s, box-shadow 0.2s;
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.rco-place-order-btn:hover { transform:translateY(-2px); box-shadow:0 12px 36px rgba(232,145,178,0.5); }
.rco-place-order-btn:active { transform:scale(0.97); }
.rco-place-order-btn svg { width:16px; height:16px; stroke:#fff; stroke-width:2; fill:none; stroke-linecap:round; stroke-linejoin:round; }

.rco-summary-note { text-align:center; font-size:11px; color:#B0A4BC; margin-top:12px; line-height:1.7; letter-spacing:0.03em; }

/* LINE btn */
.rco-line-btn { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:12px; border:1.5px solid rgba(6,199,85,0.3); border-radius:14px; text-decoration:none; background:rgba(6,199,85,0.07); color:#06C755; font-size:13px; font-weight:600; font-family:'Noto Sans TC',sans-serif; letter-spacing:0.04em; margin-top:10px; transition:background 0.15s; }
.rco-line-btn:hover { background:rgba(6,199,85,0.14); color:#06C755; }
.rco-line-btn svg { width:16px; height:16px; fill:#06C755; flex-shrink:0; }

/* Trust badges */
.rco-trust-badges { display:flex; justify-content:center; gap:16px; margin-top:14px; padding-top:14px; border-top:1px solid rgba(184,169,217,0.15); }
.rco-trust-badge { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:10px; color:#B0A4BC; letter-spacing:0.04em; }
.rco-trust-badge svg { width:18px; height:18px; stroke:#B0A4BC; stroke-width:1.4; fill:none; stroke-linecap:round; stroke-linejoin:round; }

/* ── FOOTER ── */
.rco-footer { background:rgba(42,34,52,0.88); backdrop-filter:blur(40px) saturate(160%); -webkit-backdrop-filter:blur(40px) saturate(160%); border-top:1px solid rgba(255,255,255,0.08); margin-top:48px; }
.rco-footer-inner { max-width:1280px; margin:0 auto; padding:40px 64px 28px; display:grid; grid-template-columns:repeat(3,1fr); gap:32px 20px; }
@media (max-width:767px) { .rco-footer-inner { padding:40px 16px 28px; grid-template-columns:1fr 1fr; } }
.rco-footer-brand-en { font-family:'Cormorant Garamond',serif; font-size:20px; font-weight:500; color:rgba(255,255,255,0.9); letter-spacing:0.04em; margin-bottom:4px; }
.rco-footer-brand-zh { font-size:11px; color:rgba(255,255,255,0.4); letter-spacing:0.16em; margin-bottom:14px; }
.rco-footer-brand-desc { font-size:12.5px; color:rgba(255,255,255,0.45); line-height:1.75; }
.rco-footer-col-title { font-size:11px; font-weight:600; letter-spacing:0.14em; color:rgba(255,255,255,0.6); text-transform:uppercase; margin-bottom:14px; }
.rco-footer-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.rco-footer-links a { font-size:13px; color:rgba(255,255,255,0.42); text-decoration:none; transition:color 0.15s; }
.rco-footer-links a:hover { color:rgba(255,255,255,0.85); }
.rco-footer-bottom { border-top:1px solid rgba(255,255,255,0.07); max-width:1280px; margin:0 auto; padding:18px 64px; font-size:12px; color:rgba(255,255,255,0.3); }
@media (max-width:767px) { .rco-footer-bottom { padding:18px 16px; } }

/* ── WC validation ── */
body.rosalie-checkout-page .woocommerce-invalid input,
body.rosalie-checkout-page .woocommerce-invalid select { border-color:rgba(220,80,80,0.5) !important; box-shadow:0 0 0 3px rgba(220,80,80,0.08) !important; }
/* Hide WC native payment block (we use custom tabs) */
body.rosalie-checkout-page #rco-wc-payment,
body.rosalie-checkout-page #rco-submit-wrap { display:none !important; }


/* ══════════════════════════════════════════════════════════════
   ROSALIE MY ACCOUNT — 修正與追加樣式
══════════════════════════════════════════════════════════════ */

/* ── 移除 Astra 強制套用在 <a> 上的 border/outline ── */
body.woocommerce-account .rma-sidebar-item,
body.woocommerce-account .rma-sidebar-item:focus,
body.woocommerce-account .rma-sidebar-item:hover,
body.woocommerce-account .rma-sidebar-item:visited {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* ── sidebar nav items — 確保只有 active/hover 有背景 ── */
body.woocommerce-account .rma-sidebar-item:not(.active):not(.is-active) {
  background: transparent !important;
}

/* ── section card title 通用（用 h2 或 .rma-dashboard-title） ── */
.rma-dashboard-title,
.rma-section-card > h2:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.rma-dashboard-title svg {
  width: 18px; height: 18px;
  stroke: var(--lav-deep); stroke-width: 1.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── Dashboard greeting ── */
.rma-dashboard-greeting {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-family: 'Noto Sans TC', sans-serif;
}
.rma-dashboard-greeting strong {
  color: var(--text-dark);
  font-weight: 500;
}

/* ── Dashboard quick-action grid ── */
.rma-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .rma-dashboard-grid { grid-template-columns: repeat(4, 1fr); }
}

.rma-dash-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 14px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.82) !important;
  border-radius: 16px;
  text-decoration: none !important;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}
.rma-dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(180,150,210,0.18) !important;
}
.rma-dash-card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.rma-dash-card-icon svg {
  width: 20px; height: 20px;
  stroke: #fff; stroke-width: 1.7; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.rma-ni-pink  { background: linear-gradient(135deg, #F4A7C3, #E891B2); }
.rma-ni-lav   { background: linear-gradient(135deg, #C5B9E8, #A99DD4); }
.rma-ni-mint  { background: linear-gradient(135deg, #9FD5D8, #76C5C9); }

.rma-dash-card-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  font-family: 'Noto Sans TC', sans-serif;
}
.rma-dash-card-sub {
  font-size: 11px;
  color: var(--text-soft);
  font-family: 'Noto Sans TC', sans-serif;
  line-height: 1.4;
}
.rma-dash-logout .rma-dash-card-label { color: var(--text-soft); }
.rma-dash-logout .rma-dash-card-icon svg { stroke: var(--text-soft); }

/* ── Woocommerce 帳戶內各子頁標題 ── */
.rma-section-card .woocommerce-MyAccount-content > h2:first-child,
.rma-section-card .woocommerce-MyAccount-content > h3:first-child {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 18px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Orders table on account page ── */
body.woocommerce-account .woocommerce-orders-table__row td {
  padding: 12px !important;
  font-size: 13px !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  vertical-align: middle !important;
  border-bottom: 1px solid rgba(184,169,217,0.1) !important;
}
body.woocommerce-account .woocommerce-button.button {
  padding: 8px 18px !important;
  border-radius: 100px !important;
  font-size: 12px !important;
  border: none !important;
  background: linear-gradient(135deg, var(--rose-mid), var(--lav-deep)) !important;
  color: #fff !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(232,145,178,0.3) !important;
  transition: transform 0.15s !important;
  display: inline-block !important;
}
body.woocommerce-account .woocommerce-button.button:hover {
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

/* ── Rosalie Checkout: 隱藏不需要的 billing 欄位 ── */
body.rosalie-checkout-page .rco-hidden-field { display: none !important; }
body.rosalie-checkout-page .rco-card .woocommerce-billing-fields__field-wrapper,
body.rosalie-checkout-page .rco-card #billing_email_field,
body.rosalie-checkout-page .rco-card #billing_company_field,
body.rosalie-checkout-page .rco-card #billing_country_field,
body.rosalie-checkout-page .rco-card #billing_address_2_field,
body.rosalie-checkout-page .rco-card #billing_city_field,
body.rosalie-checkout-page .rco-card #billing_state_field,
body.rosalie-checkout-page .rco-card #billing_postcode_field { }
/* Hide shipping card completely since we set ship_to_billing */
body.rosalie-checkout-page #rco-shipping-card { display: none !important; }
/* Hide notes card (we disabled order notes) */
body.rosalie-checkout-page #rco-notes-card { display: none !important; }
/* Make the hidden last-name field truly hidden */
body.rosalie-checkout-page #billing_last_name_field { display: none !important; }
/* form-row-wide = full width */
body.rosalie-checkout-page .rco-card .form-row-wide { width: 100% !important; float: none !important; clear: both !important; }

/* ── Enhance background orbs visibility ── */
body.rosalie-checkout-page .rco-bg { opacity: 1; }
body.rosalie-checkout-page .rco-orb { opacity: 0.9; }

/* ── Order summary product image fix ── */
body.rosalie-checkout-page .rco-item-img-wrap img { border-radius: 10px; }

/* ── Summary total val: use Cormorant Garamond ── */
body.rosalie-checkout-page .rco-summary-total .woocommerce-Price-amount,
body.rosalie-checkout-page .rco-summary-total .rco-val { 
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
}

/* ── Place order loading state ── */
body.rosalie-checkout-page .rco-place-order-btn.loading {
  opacity: 0.7; pointer-events: none;
}

/* ══════════════════════════════════════════
   SEARCH MODAL
══════════════════════════════════════════ */
.rosalie-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(30, 20, 45, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.rosalie-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.rosalie-search-modal {
  width: 100%;
  max-width: 640px;
  margin: 0 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 80px rgba(180, 150, 210, 0.28);
  transform: translateY(-16px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rosalie-search-overlay.is-open .rosalie-search-modal {
  transform: translateY(0) scale(1);
}

/* Header */
.rosalie-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.rosalie-search-label {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-mid);
  text-transform: uppercase;
}
.rosalie-search-close {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  background: rgba(100, 80, 140, 0.18);
  border: 1.5px solid rgba(100, 80, 140, 0.45);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  outline: none;
  flex-shrink: 0;
  flex-grow: 0;
  padding: 0;
  box-sizing: border-box;
}
.rosalie-search-close:hover { background: rgba(120, 100, 160, 0.28); transform: scale(1.08); }
.rosalie-search-close svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #64508C !important;
  stroke-width: 2.2 !important;
  fill: none !important;
  stroke-linecap: round !important;
}

/* Input row */
.rosalie-search-form { display: flex; gap: 10px; align-items: center; }
.rosalie-search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.rosalie-search-icon {
  position: absolute;
  left: 16px;
  width: 17px;
  height: 17px;
  stroke: var(--text-soft);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
}
.rosalie-search-input {
  width: 100%;
  padding: 14px 16px 14px 46px !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 16px !important;
  font-family: 'Noto Sans TC', sans-serif !important;
  font-size: 15px !important;
  color: var(--text-dark) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.18s, background 0.18s;
  -webkit-appearance: none;
}
.rosalie-search-input::placeholder { color: var(--text-soft); }
.rosalie-search-input:focus {
  border-color: var(--lav-deep);
  background: rgba(255, 255, 255, 0.85);
}
/* Hide ALL Chrome native search input decorations */
.rosalie-search-input::-webkit-search-cancel-button,
.rosalie-search-input::-webkit-search-decoration,
.rosalie-search-input::-webkit-search-results-button,
.rosalie-search-input::-webkit-search-results-decoration { display: none !important; }

.rosalie-search-submit {
  padding: 13px 22px;
  background: linear-gradient(135deg, var(--rose-mid), var(--lav-deep));
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(232, 145, 178, 0.32);
  outline: none;
}
.rosalie-search-submit:hover { opacity: 0.88; transform: translateY(-1px); }

/* Hot tags */
.rosalie-search-hints {
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.rosalie-search-hint-label {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.rosalie-search-tag {
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(200, 185, 220, 0.45);
  border-radius: 100px;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 12px;
  color: var(--text-mid);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  letter-spacing: 0.04em;
}
.rosalie-search-tag:hover {
  background: rgba(184, 169, 217, 0.18);
  border-color: var(--lav-deep);
  color: var(--lav-deep);
}

@media (max-width: 480px) {
  .rosalie-search-overlay { padding-top: 56px; }
  .rosalie-search-modal { padding: 20px 18px 18px; border-radius: 22px; }
  .rosalie-search-input { font-size: 16px; } /* prevent iOS zoom */
  .rosalie-search-form { flex-direction: column; gap: 10px; }
  .rosalie-search-submit { width: 100%; padding: 14px; }
}

/* ── Hide WooCommerce "View cart" button after add-to-cart ── */
.added_to_cart,
a.added_to_cart,
.woocommerce a.added_to_cart,
.wc-forward.added_to_cart,
.product .added_to_cart,
.products .added_to_cart { display: none !important; }

/* ── Cart count badge on header icon ── */
.rosalie-cart-icon-wrap { position: relative; display: inline-flex; }
.rosalie-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: linear-gradient(135deg, var(--rose-mid), var(--lav-deep));
    border-radius: 100px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(232,145,178,0.45);
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.rosalie-cart-count.empty { display: none; }

/* ══════════════════════════════════════════════════════
   WISHLIST PAGE — 隱藏 Astra 原生 header/footer，
   使用 Rosalie 自訂 header（由 functions.php 注入）
══════════════════════════════════════════════════════ */
body.page-id-352 #masthead,
body.page-id-352 .site-footer,
body.page-id-352 #colophon,
body.woocommerce-page.page-id-352 #masthead {
  display: none !important;
}
body.page-id-352 .rosalie-desk-header {
  position: sticky;
  top: 0;
  z-index: 200;
}
body.page-id-352 .rosalie-footer {
  margin-top: 48px;
}

/* ══════════════════════════════════════════════════════
   現貨商品頁 /instock/ — 同商店頁版型
══════════════════════════════════════════════════════ */
/* body.page-id-352 移除（勿放這裡：會讓 wishlist 整個 body 隱藏） */
body.page-id-1569 #masthead,
body.page-id-1569 .site-footer,
body.page-id-1569 #colophon,
.rosalie-instock-page #masthead,
.rosalie-instock-page .site-footer,
.rosalie-instock-page #colophon {
  display: none !important;
}
/* 現貨商品頁套用商店頁相同的 header sticky 設定 */
.rosalie-instock-page .rosalie-desk-header,
body.tax-product_cat .rosalie-desk-header,
body.post-type-archive-product .rosalie-desk-header {
  position: sticky;
  top: 0;
  z-index: 200;
}
.rosalie-cart-count.bump { transform: scale(1.4); }

/* ===== Fix: remove blue outline/border on woocommerce-message toast (2026-04-27) ===== */
.woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-message {
  outline: none !important;
  border: none !important;
}

/* ─── ATM 單一銀行＋戶名顯示（2026-04-27） ─── */
.rco-atm-single { cursor:default; }
.rco-atm-bank-info { display:flex; flex-direction:column; gap:2px; }
.rco-atm-radio-dot-active { background:#B8A9D9; border-color:#B8A9D9; }
.rco-atm-radio-dot-active::after { content:""; width:7px; height:7px; border-radius:50%; background:#fff; display:block; margin:auto; }
.rco-atm-holder-row { display:flex; align-items:center; gap:16px; padding:10px 16px; background:rgba(244,167,195,0.08); border:1px solid rgba(244,167,195,0.25); border-radius:12px; margin-bottom:16px; }
.rco-atm-holder-label { font-size:11px; color:#B0A4BC; letter-spacing:0.1em; text-transform:uppercase; white-space:nowrap; }
.rco-atm-holder-name { font-size:14px; font-weight:500; color:#2A2234; }

/* ═══════════════════════════════════════════
   靜態資訊頁版型（隱私/配送/條款/關於/聯絡）
   pages: 3, 248, 272, 277, 312
   2026-04-29
═══════════════════════════════════════════ */

/* 隱藏 Astra 原生 header / footer */
body.page-id-3 #masthead,
body.page-id-248 #masthead,
body.page-id-272 #masthead,
body.page-id-277 #masthead,
body.page-id-312 #masthead,
body.page-id-3 .site-footer,
body.page-id-248 .site-footer,
body.page-id-272 .site-footer,
body.page-id-277 .site-footer,
body.page-id-312 .site-footer,
body.page-id-3 #colophon,
body.page-id-248 #colophon,
body.page-id-272 #colophon,
body.page-id-277 #colophon,
body.page-id-312 #colophon {
    display: none !important;
}

/* 給 Rosalie fixed header 留空間 */
body.page-id-3 #primary,
body.page-id-248 #primary,
body.page-id-272 #primary,
body.page-id-277 #primary,
body.page-id-312 #primary {
    margin-top: 0 !important;
    padding-top: 110px !important;
    padding-bottom: 80px !important;
}

/* 移除 site-content 多餘 padding */
body.page-id-3 .site-content,
body.page-id-248 .site-content,
body.page-id-272 .site-content,
body.page-id-277 .site-content,
body.page-id-312 .site-content {
    padding: 0 !important;
}

/* 玻璃卡片文章容器 */
body.page-id-3 article.page,
body.page-id-248 article.page,
body.page-id-272 article.page,
body.page-id-277 article.page,
body.page-id-312 article.page {
    max-width: 860px;
    margin: 0 auto 60px;
    padding: 44px 40px 60px;
    background: rgba(255,255,255,0.38);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 32px rgba(180,140,200,0.10);
}

/* 標題 */
body.page-id-3 .entry-title,
body.page-id-248 .entry-title,
body.page-id-272 .entry-title,
body.page-id-277 .entry-title,
body.page-id-312 .entry-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2A2234;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(244,167,195,0.4);
    padding-bottom: 0.75rem;
}

/* 內文 */
body.page-id-3 .entry-content,
body.page-id-248 .entry-content,
body.page-id-272 .entry-content,
body.page-id-277 .entry-content,
body.page-id-312 .entry-content {
    color: #4A3A5A;
    line-height: 1.9;
    font-size: 0.95rem;
}

body.page-id-3 .entry-content h2,
body.page-id-248 .entry-content h2,
body.page-id-272 .entry-content h2,
body.page-id-277 .entry-content h2,
body.page-id-312 .entry-content h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2A2234;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

body.page-id-3 .entry-content a,
body.page-id-248 .entry-content a,
body.page-id-272 .entry-content a,
body.page-id-277 .entry-content a,
body.page-id-312 .entry-content a {
    color: #E891B2;
    text-decoration: none;
}
body.page-id-3 .entry-content a:hover,
body.page-id-248 .entry-content a:hover,
body.page-id-272 .entry-content a:hover,
body.page-id-277 .entry-content a:hover,
body.page-id-312 .entry-content a:hover {
    text-decoration: underline;
}

/* 隱藏多餘的 entry-header（避免雙標題） */
body.page-id-3 .entry-header,
body.page-id-248 .entry-header,
body.page-id-272 .entry-header,
body.page-id-277 .entry-header,
body.page-id-312 .entry-header {
    display: block;
}
