/* ========== CSS 变量设计令牌 ========== */
:root {
  --hl-color-primary: #F5A623;
  --hl-color-primary-dark: #E8941C;
  --hl-color-primary-light: #FFD66B;
  --hl-color-cream: #FFF8E7;
  --hl-color-text: #333333;
  --hl-color-text-light: #666666;
  --hl-color-text-muted: #999999;
  --hl-color-success: #28A745;
  --hl-color-white: #FFFFFF;
  --hl-color-gray-light: #F5F5F5;
  --hl-color-border: #E5E5E5;
  --hl-color-error: #DC3545;

  --hl-font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --hl-radius-sm: 6px;
  --hl-radius-md: 10px;
  --hl-radius-lg: 16px;
  --hl-radius-full: 9999px;

  --hl-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --hl-shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --hl-shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  --hl-transition-fast: 150ms ease;
  --hl-transition-normal: 300ms ease;
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ========== Typography（移动端默认字号）========== */
html { font-size: 14px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--hl-font-primary);
  color: var(--hl-color-text);
  line-height: 1.6;
  background: var(--hl-color-white);
  padding-top: 56px;
}

body.home {
  padding-top: 0;
}

@media (min-width: 768px) {
  body { padding-top: 64px; }
  body.home { padding-top: 0; }
}
@media (min-width: 992px) {
  body { padding-top: 70px; }
  body.home { padding-top: 0; }
}
h1 { font-size: 28px; font-weight: 700; line-height: 1.25; }
h2 { font-size: 22px; font-weight: 600; line-height: 1.3; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
h4 { font-size: 16px; font-weight: 600; }

/* ========== Layout（移动端紧凑布局）========== */
.rhm-container { width: 100%; padding: 0 16px; margin: 0 auto; }
.rhm-section { padding: 32px 0; }

/* ========== 按钮系统（触控友好最小44px高度）========== */
.rhm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--hl-font-primary);
  border: none;
  border-radius: var(--hl-radius-md);
  cursor: pointer;
  transition: opacity var(--hl-transition-fast), transform var(--hl-transition-fast), background-color var(--hl-transition-fast);
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}
.rhm-btn:hover { opacity: 0.9; }
.rhm-btn:active { transform: scale(0.97); }
.rhm-btn--primary { background: var(--hl-color-primary); color: var(--hl-color-white); }
.rhm-btn--primary:hover { background: var(--hl-color-primary-dark); opacity: 1; }
.rhm-btn--outline { background: transparent; border: 1.5px solid var(--hl-color-primary); color: var(--hl-color-primary); }
.rhm-btn--ghost { background: transparent; color: var(--hl-color-primary); border: none; }
.rhm-btn--sm { min-height: 32px; padding: 6px 12px; font-size: 12px; border-radius: var(--hl-radius-sm); }
.rhm-btn--block { display: flex; width: 100%; }
.rhm-btn:disabled, .rhm-btn--disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ========== 表单元素（触控友好）========== */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="search"],
input[type="password"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--hl-font-primary);
  border: 1px solid var(--hl-color-border);
  border-radius: var(--hl-radius-sm);
  background: var(--hl-color-white);
  transition: border-color var(--hl-transition-fast);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--hl-color-primary);
}

/* ========== Header 样式（移动端）========== */
.rhm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.rhm-header--transparent {
  background: linear-gradient(180deg, rgba(255, 248, 231, 0.92) 0%, rgba(255, 248, 231, 0.72) 45%, rgba(255, 248, 231, 0) 100%);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.rhm-header--transparent .rhm-hamburger__line {
  background: #333333;
}

.rhm-header--transparent .rhm-header__cart {
  color: #333333;
}

.rhm-header--transparent .rhm-header__logo-text,
.rhm-header--transparent .rhm-header__logo a {
  color: #333333;
}

.rhm-header:not(.rhm-header--transparent) {
  background: var(--hl-color-white);
  box-shadow: var(--hl-shadow-sm);
}

.rhm-header.rhm-header--scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.rhm-header__inner {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
}
.rhm-header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.rhm-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rhm-hamburger__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--hl-color-text);
  border-radius: 2px;
  transition: var(--hl-transition-normal);
}
.rhm-header__logo {
  flex: 1;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}
.rhm-header__logo a {
  text-decoration: none;
  color: var(--hl-color-primary-dark);
}
.rhm-header__logo img { max-height: 32px; }
.rhm-header__nav {
  display: none;
}
.rhm-primary-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.rhm-primary-menu li,
.rhm-primary-menu .sub-menu,
.rhm-primary-menu .sub-menu li {
  list-style: none;
}
.rhm-primary-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}
.rhm-primary-menu a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--hl-color-text);
  font-size: 14px;
  font-weight: 500;
}
.rhm-primary-menu a:hover {
  color: var(--hl-color-primary);
}
.rhm-primary-menu .menu-item-has-children > a::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.66;
}
.rhm-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 20;
  min-width: 200px;
  margin: 0;
  padding: 10px;
  display: none;
  gap: 2px;
  border: 1px solid rgba(29, 41, 57, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(8px);
  transition: transform 160ms ease;
}
.rhm-primary-menu .sub-menu li {
  margin: 0;
}
.rhm-primary-menu .sub-menu a {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #3d3529;
  white-space: nowrap;
}
.rhm-primary-menu .sub-menu a:hover {
  background: #fff7e8;
  color: var(--hl-color-primary-dark);
}
.rhm-primary-menu > li:hover > .sub-menu,
.rhm-primary-menu > li:focus-within > .sub-menu {
  display: grid;
  transform: translateY(0);
}
.rhm-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rhm-header__search-toggle,
.rhm-header__cart,
.rhm-header__account {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--hl-color-text);
  text-decoration: none;
}
.rhm-header__search-toggle:hover,
.rhm-header__cart:hover,
.rhm-header__account:hover {
  color: var(--hl-color-primary);
}
.rhm-icon {
  width: 20px;
  height: 20px;
}
.rhm-header__cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  background: var(--hl-color-primary);
  color: var(--hl-color-white);
  font-size: 10px;
  font-weight: 600;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.rhm-header__search-panel {
  padding: 12px 16px;
  border-top: 1px solid var(--hl-color-border);
  background: var(--hl-color-white);
}
.rhm-header__search-panel[hidden] {
  display: none;
}

/* ========== 移动端侧边导航菜单 ========== */
.rhm-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}
.rhm-mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}
.rhm-mobile-menu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(53, 36, 5, 0.22);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rhm-mobile-menu.is-open .rhm-mobile-menu__overlay {
  opacity: 1;
}
.rhm-mobile-menu__panel {
  position: absolute;
  top: 14px;
  left: 14px;
  bottom: 14px;
  width: min(360px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  background:
    radial-gradient(circle at top left, rgba(245, 166, 35, 0.10) 0, rgba(245, 166, 35, 0) 28%),
    radial-gradient(circle at bottom right, rgba(245, 166, 35, 0.14) 0, rgba(245, 166, 35, 0) 26%),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  border: 1px solid rgba(196, 146, 41, 0.14);
  border-radius: 32px;
  box-shadow: 0 28px 60px rgba(80, 58, 14, 0.18);
  transform: translateX(-100%);
  transition: transform 0.34s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rhm-mobile-menu__panel::before {
  content: '';
  position: absolute;
  inset: auto -18px 110px auto;
  width: 172px;
  height: 172px;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 166, 35, 0.12) 0, rgba(245, 166, 35, 0) 62%);
  pointer-events: none;
}
.rhm-mobile-menu__panel::after {
  content: '';
  position: absolute;
  left: -18px;
  top: 68px;
  width: 92px;
  height: 92px;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 166, 35, 0.08) 0, rgba(245, 166, 35, 0) 65%);
  pointer-events: none;
}
.rhm-mobile-menu.is-open .rhm-mobile-menu__panel {
  transform: translateX(0);
}
.rhm-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 8px;
}
.rhm-mobile-menu__status {
  font-size: 12px;
  font-weight: 700;
  color: #262626;
  letter-spacing: 0.02em;
}
.rhm-mobile-menu__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(196, 146, 41, 0.14);
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  color: var(--hl-color-text);
  box-shadow: 0 8px 18px rgba(80, 58, 14, 0.08);
}
.rhm-mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 0;
}
.rhm-mobile-menu__brand--logo-only {
  padding-top: 18px;
}
.rhm-mobile-menu__brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8bf38 0%, #f5a623 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.24);
  overflow: hidden;
  flex-shrink: 0;
}
.rhm-mobile-menu__brand-mark--logo {
  width: auto;
  height: auto;
  max-width: 210px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.rhm-mobile-menu__brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rhm-mobile-menu__brand-mark--logo .rhm-mobile-menu__brand-logo {
  width: auto;
  max-width: 100%;
  max-height: 54px;
  height: auto;
  object-fit: contain;
}
.rhm-mobile-menu__brand-fallback {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}
.rhm-mobile-menu__brand-copy {
  min-width: 0;
}
.rhm-mobile-menu__brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #191919;
  line-height: 1.2;
}
.rhm-mobile-menu__brand-tagline {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(51, 51, 51, 0.72);
  line-height: 1.4;
}
.rhm-mobile-menu__nav {
  flex: 1;
  padding: 20px 16px 16px;
  overflow-y: auto;
}
.rhm-mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rhm-mobile-menu__list > li {
  position: relative;
}
.rhm-mobile-menu__item-shell {
  position: relative;
}
.rhm-mobile-menu__link {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 60px;
  padding: 16px 18px;
  color: #212121;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(196, 146, 41, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(80, 58, 14, 0.04);
  transition: border-color var(--hl-transition-fast), background-color var(--hl-transition-fast), transform var(--hl-transition-fast), color var(--hl-transition-fast);
}
.rhm-mobile-menu__item-shell.has-children .rhm-mobile-menu__link {
  padding-right: 66px;
}
.rhm-mobile-menu__submenu-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 14px;
  background: rgba(245, 166, 35, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(51, 51, 51, 0.46);
  cursor: pointer;
  transition: background-color var(--hl-transition-fast), transform var(--hl-transition-fast), color var(--hl-transition-fast);
}
.rhm-mobile-menu__submenu-toggle .rhm-mobile-menu__item-arrow {
  margin-left: 0;
}
.rhm-mobile-menu__item-icon {
  width: 34px;
  height: 34px;
  margin-right: 14px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.08);
  color: rgba(34, 34, 34, 0.74);
  transition: background-color var(--hl-transition-fast), color var(--hl-transition-fast), transform var(--hl-transition-fast);
}
.rhm-mobile-menu__item-icon svg {
  width: 18px;
  height: 18px;
}
.rhm-mobile-menu__item-text {
  min-width: 0;
  flex: 1;
}
.rhm-mobile-menu__item-arrow {
  margin-left: 12px;
  font-size: 22px;
  line-height: 1;
  color: rgba(51, 51, 51, 0.36);
  transition: transform var(--hl-transition-fast), color var(--hl-transition-fast);
}
.rhm-mobile-menu__list > li.current-menu-item > a,
.rhm-mobile-menu__list > li.current_page_item > a,
.rhm-mobile-menu__link:hover {
  color: var(--hl-color-primary-dark);
  background: linear-gradient(180deg, #fff8e8 0%, #fff3d3 100%);
  border-color: rgba(245, 166, 35, 0.28);
  transform: translateY(-1px);
}
.rhm-mobile-menu__list > li.is-expanded > .rhm-mobile-menu__item-shell > .rhm-mobile-menu__submenu-toggle,
.rhm-mobile-menu__submenu-toggle:hover {
  color: rgba(232, 148, 28, 0.88);
  background: rgba(245, 166, 35, 0.16);
}
.rhm-mobile-menu__list > li.current-menu-item .rhm-mobile-menu__item-icon,
.rhm-mobile-menu__list > li.current_page_item .rhm-mobile-menu__item-icon,
.rhm-mobile-menu__link:hover .rhm-mobile-menu__item-icon {
  background: linear-gradient(180deg, #f8bf38 0%, #f5a623 100%);
  color: #ffffff;
  transform: scale(1.02);
}
.rhm-mobile-menu__list > li.current-menu-item .rhm-mobile-menu__item-arrow,
.rhm-mobile-menu__list > li.current_page_item .rhm-mobile-menu__item-arrow,
.rhm-mobile-menu__link:hover .rhm-mobile-menu__item-arrow {
  color: rgba(232, 148, 28, 0.8);
  transform: translateX(2px);
}
.rhm-mobile-menu__list > li.is-expanded > .rhm-mobile-menu__item-shell > .rhm-mobile-menu__submenu-toggle .rhm-mobile-menu__item-arrow {
  transform: rotate(90deg);
  color: rgba(232, 148, 28, 0.88);
}
.rhm-mobile-menu__submenu {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 14px;
  display: none;
}
.rhm-mobile-menu__list > li.is-expanded > .rhm-mobile-menu__submenu {
  display: block;
}
.rhm-mobile-menu__submenu li a {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(51, 51, 51, 0.78);
  text-decoration: none;
}
.rhm-mobile-menu__footer {
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.rhm-mobile-menu__meta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(196, 146, 41, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(80, 58, 14, 0.04);
}
.rhm-mobile-menu__meta-icon {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 148, 28, 0.88);
}
.rhm-mobile-menu__meta-icon svg {
  width: 18px;
  height: 18px;
}
.rhm-mobile-menu__meta-label {
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  margin-right: auto;
}
.rhm-mobile-menu__meta-value {
  font-size: 14px;
  font-weight: 600;
  color: rgba(34, 34, 34, 0.82);
}
.rhm-mobile-menu__decor {
  position: absolute;
  inset: auto 0 84px 0;
  height: 150px;
  pointer-events: none;
}
.rhm-mobile-menu__decor-hive {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: 150px;
  height: 120px;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(245, 166, 35, 0.36) 0 1px, transparent 1.4px),
    linear-gradient(30deg, rgba(245, 166, 35, 0.12) 12%, transparent 12.5%, transparent 87%, rgba(245, 166, 35, 0.12) 87.5%, rgba(245, 166, 35, 0.12)),
    linear-gradient(150deg, rgba(245, 166, 35, 0.12) 12%, transparent 12.5%, transparent 87%, rgba(245, 166, 35, 0.12) 87.5%, rgba(245, 166, 35, 0.12)),
    linear-gradient(90deg, rgba(245, 166, 35, 0.12) 2%, transparent 2.5%, transparent 97%, rgba(245, 166, 35, 0.12) 97.5%, rgba(245, 166, 35, 0.12));
  background-size: 28px 48px;
  background-position: 0 0, 0 0, 0 0, 14px 24px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 22%, rgba(0, 0, 0, 1) 100%);
}
.rhm-mobile-menu__decor-drop {
  position: absolute;
  left: 18px;
  bottom: 10px;
  width: 112px;
  height: 38px;
  border-radius: 60px 48px 70px 16px;
  background: linear-gradient(180deg, rgba(248, 191, 56, 0.92) 0%, rgba(245, 166, 35, 0.82) 100%);
  filter: blur(0.2px);
  opacity: 0.32;
}

/* ========== 产品卡片（统一样式，Widget 和 WC 归档页共用）========== */
.rhm-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--hl-color-white);
  border: 1px solid rgba(196, 146, 41, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(98, 72, 22, 0.08);
  transition: transform var(--hl-transition-fast), box-shadow var(--hl-transition-fast);
}
.rhm-product-card__image-wrapper {
  position: relative;
  aspect-ratio: var(--rhm-product-card-image-ratio, 1 / 1);
  overflow: hidden;
  padding: 8px;
  background: linear-gradient(180deg, #fbf5e8 0%, #f7ebd4 100%);
}
.rhm-product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}
.rhm-product-card__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}
.rhm-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: var(--rhm-product-card-image-fit, cover);
  border-radius: 14px;
  transition: transform var(--hl-transition-normal);
}
.rhm-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  /* gap: 8px; */
  padding: 12px 12px 14px;
}
.rhm-product-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #2f2418;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 2.8em;
}
.rhm-product-card__title a { color: inherit; text-decoration: none; }
.rhm-product-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: -2px 0 0;
  min-height: 2.8em;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(102, 102, 102, 0.82);
}
.rhm-product-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hl-color-primary-dark);
  margin-top: 2px;
}
.rhm-product-card__price--current {
  font-size: 17px;
  font-weight: 800;
  color: #f0a117;
  letter-spacing: -0.01em;
}
.rhm-product-card__price del,
.rhm-product-card__price .amount {
  color: inherit;
}
.rhm-product-card__price del,
.rhm-product-card__price--original {
  font-size: 12px;
  color: rgba(90, 90, 90, 0.58);
  text-decoration: line-through;
  text-decoration-color: rgba(90, 90, 90, 0.72);
  text-decoration-thickness: 1.5px;
  font-weight: 500;
  margin-left: 0;
}
.rhm-product-card__price del .amount {
  color: rgba(90, 90, 90, 0.58);
}
.rhm-product-card__price ins,
.rhm-product-card__price ins .amount,
.rhm-product-card__price--current .amount {
  color: #ee9f0f;
  font-weight: 800;
  text-decoration: none;
}
.rhm-product-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 18px;
  margin: 0;
}
.rhm-product-card__stars {
  gap: 1px;
}
.rhm-product-card__review-count {
  font-size: 10px;
  color: rgba(102, 102, 102, 0.78);
}
.rhm-product-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.rhm-product-card__actions > * {
  min-width: 0;
}
.rhm-product-card__actions .rhm-qv-trigger,
.rhm-product-card__actions .rhm-product-card__wishlist {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(196, 146, 41, 0.18);
  background: #fffaf1;
  color: #8f6a22;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}
.rhm-product-card__actions .rhm-add-to-cart-form,
.rhm-product-card__actions .rhm-btn--add-to-cart,
.rhm-product-card__actions .rhm-btn--view-product,
.rhm-product-card__actions .rhm-btn--external,
.rhm-product-card__actions .rhm-btn--disabled {
  flex: 1 1 auto;
  width: 100%;
}
.rhm-product-card__actions .rhm-add-to-cart-form {
  margin: 0;
}
.rhm-product-card__actions .rhm-btn--add-to-cart,
.rhm-product-card__actions .rhm-btn--view-product,
.rhm-product-card__actions .rhm-btn--external,
.rhm-product-card__actions .rhm-btn--disabled {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.15;
}
.rhm-product-card__actions .rhm-btn--add-to-cart span,
.rhm-product-card__actions .rhm-btn--view-product span,
.rhm-product-card__actions .rhm-btn--external span,
.rhm-product-card__actions .rhm-btn--disabled span {
  white-space: normal;
  text-wrap: balance;
}
.rhm-product-card__actions .rhm-quantity-selector {
  display: none;
}
.rhm-product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.02em;
  color: white;
}
.rhm-badge--sale { background: var(--hl-color-error); }
.rhm-badge--new { background: var(--hl-color-success); }
.rhm-badge--out-of-stock {
  position: static;
  background: #8f8f8f;
  display: inline-block;
  margin-top: 4px;
}

/* ========== 购物车遮罩 + Quick View 遮罩 ========== */
.rhm-cart-overlay,
.rhm-qv-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
    transition: opacity var(--hl-transition-normal), visibility var(--hl-transition-normal);
}
.rhm-cart-overlay.is-visible,
.rhm-qv-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ========== 购物车 Drawer / Bottom Sheet ========== */
.rhm-cart-drawer {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: 12px;
    max-height: calc(100vh - 24px);
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    border-radius: 32px;
    border: 1px solid rgba(196, 146, 41, 0.14);
    box-shadow: 0 28px 60px rgba(72, 52, 10, 0.22);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(0.98);
    transition: opacity 280ms ease, transform 320ms ease, visibility 280ms ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.rhm-cart-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.rhm-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 14px;
    border-bottom: 1px solid var(--hl-color-border);
}
.rhm-cart-drawer__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #161616;
}
.rhm-cart-drawer__back,
.rhm-cart-drawer__close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: #282828;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(72, 52, 10, 0.08);
}
.rhm-cart-drawer__back svg,
.rhm-cart-drawer__close svg {
    width: 20px;
    height: 20px;
}
.rhm-cart-drawer__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.rhm-cart-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px 0;
}
.rhm-cart-drawer__empty {
    text-align: center;
    color: var(--hl-color-text-muted);
    padding: 56px 0 24px;
}
.rhm-cart-drawer__footer {
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(229, 229, 229, 0.9);
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, #fffdf8 100%);
}
.rhm-cart-drawer__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: #2b2b2b;
}
.rhm-cart-drawer__summary-row + .rhm-cart-drawer__summary-row {
    border-top: 1px solid rgba(229, 229, 229, 0.72);
}
.rhm-cart-drawer__summary-row--total {
    font-size: 17px;
    font-weight: 700;
    margin-top: 4px;
}
.rhm-cart-drawer__total-value {
    color: var(--hl-color-primary-dark);
    font-size: 22px;
    font-weight: 700;
}
.rhm-cart-drawer__actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.rhm-cart-drawer__actions .rhm-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    font-size: 16px;
}
.rhm-cart-drawer__checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 1.5px solid rgba(34, 34, 34, 0.24);
    border-radius: 999px;
    background: #ffffff;
    color: #161616;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

/* 免运费进度条 */
.rhm-cart-free-shipping {
    display: flex;
    gap: 14px;
    margin: 18px 20px 4px;
    padding: 16px 16px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff7e3 0%, #fff2cf 100%);
}
.rhm-cart-free-shipping__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--hl-color-primary-dark);
}
.rhm-cart-free-shipping__icon svg {
    width: 22px;
    height: 22px;
}
.rhm-cart-free-shipping__content {
    flex: 1;
    min-width: 0;
}
.rhm-cart-free-shipping__hint {
    font-size: 15px;
    line-height: 1.45;
    color: #2a2a2a;
    font-weight: 600;
}
.rhm-cart-free-shipping__hint strong {
    color: #ef6d00;
}
.rhm-cart-free-shipping__bar {
    height: 8px;
    background: rgba(245, 166, 35, 0.24);
    border-radius: 999px;
    margin: 12px 0 8px;
    overflow: hidden;
}
.rhm-cart-free-shipping__progress {
    height: 100%;
    background: linear-gradient(90deg, #ffb400 0%, #f5a623 100%);
    border-radius: 999px;
    transition: width 300ms ease;
}
.rhm-cart-free-shipping__label {
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: rgba(41, 41, 41, 0.86);
}

/* 购物车商品项 */
.rhm-cart-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 18px;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(229, 229, 229, 0.84);
}
.rhm-cart-item__image-wrap {
    width: 72px;
    aspect-ratio: var(--rhm-cart-ui-image-ratio, 1 / 1);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff8eb 0%, #fff2d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.rhm-cart-item__image {
    width: 100%;
    height: 100%;
    object-fit: var(--rhm-cart-ui-image-fit, cover);
}
.rhm-cart-item__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.rhm-cart-item__name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f1f1f;
}
.rhm-cart-item__meta {
    margin-top: 2px;
    font-size: 14px;
    color: rgba(31, 31, 31, 0.74);
}
.rhm-cart-item__price {
    margin-top: 8px;
    font-size: 16px;
    color: #131313;
    font-weight: 700;
}
.rhm-cart-item__quantity {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 5px 12px;
    border: 1px solid rgba(34, 34, 34, 0.10);
    border-radius: 999px;
    background: #ffffff;
}
.rhm-cart-item__qty-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(34, 34, 34, 0.78);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}
.rhm-cart-item__qty-value {
    font-size: 16px;
    font-weight: 600;
    min-width: 12px;
    text-align: center;
}
.rhm-cart-item__remove {
    align-self: start;
    margin-top: 4px;
    width: 18px;
    height: 18px;
    background: none;
    border: none;
    color: rgba(34, 34, 34, 0.54);
    cursor: pointer;
    padding: 0;
}
.rhm-cart-item__remove svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 768px) {
    .rhm-cart-drawer {
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 420px;
        max-height: 100vh;
        border-radius: 28px 0 0 28px;
        transform: translateX(100%);
        opacity: 1;
        visibility: visible;
    }

    .rhm-cart-drawer.is-open {
        transform: translateX(0);
    }
}

/* ========== Quick View 桌面端弹窗 ========== */
.rhm-qv-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.94);
    width: min(920px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    transition: transform 300ms ease, opacity 300ms ease, visibility 300ms ease;
}
.rhm-qv-modal.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.rhm-qv-modal__shell,
.rhm-qv-fullscreen__shell {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    border: 1px solid rgba(196, 146, 41, 0.12);
    box-shadow: 0 24px 56px rgba(72, 52, 10, 0.14);
}
.rhm-qv-modal__shell {
    border-radius: 28px;
    overflow: hidden;
}
.rhm-qv-modal__header,
.rhm-qv-fullscreen__header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 18px 24px 10px;
}
.rhm-qv-modal__heading,
.rhm-qv-fullscreen__heading {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #181818;
}
.rhm-qv-modal__close,
.rhm-qv-fullscreen__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(72, 52, 10, 0.08);
    color: #2a2a2a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rhm-qv-modal__close svg,
.rhm-qv-fullscreen__close svg {
    width: 18px;
    height: 18px;
}
.rhm-qv-modal__body {
    display: grid;
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    gap: 28px;
    padding: 8px 24px 24px;
}
.rhm-qv-modal__gallery,
.rhm-qv-fullscreen__gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rhm-qv-modal__image-wrap,
.rhm-qv-fullscreen__image-wrap {
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff9ee 0%, #fff4dc 100%);
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}
.rhm-qv-modal__image,
.rhm-qv-fullscreen__image {
    width: 100%;
    aspect-ratio: 1.38 / 1;
    object-fit: cover;
    display: block;
}
.rhm-qv-modal__image--placeholder,
.rhm-qv-fullscreen__image--placeholder {
    width: 100%;
    aspect-ratio: 1.38 / 1;
    background: linear-gradient(180deg, #f7efe0 0%, #eee4cf 100%);
}
.rhm-qv-modal__dots,
.rhm-qv-fullscreen__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 12px;
}
.rhm-qv-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(196, 196, 196, 0.86);
}
.rhm-qv-dot.is-active {
    background: var(--hl-color-primary);
}
.rhm-qv-modal__info,
.rhm-qv-fullscreen__info {
    display: flex;
    flex-direction: column;
}
.rhm-qv-modal__title,
.rhm-qv-fullscreen__title {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    color: #1d1d1d;
}
.rhm-qv-modal__meta,
.rhm-qv-fullscreen__meta {
    margin-top: 8px;
    font-size: 16px;
    color: rgba(40, 40, 40, 0.74);
}
.rhm-qv-modal__rating,
.rhm-qv-fullscreen__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 14px;
}
.rhm-qv-rating__stars {
    display: inline-flex;
    gap: 2px;
    color: #d0d0d0;
    line-height: 1;
}
.rhm-qv-star.is-filled {
    color: #f5a623;
}
.rhm-qv-rating__count {
    color: rgba(46, 46, 46, 0.72);
}
.rhm-qv-modal__price,
.rhm-qv-fullscreen__price {
    margin-top: 14px;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    color: #1c1c1c;
}
.rhm-qv-modal__price del,
.rhm-qv-fullscreen__price del {
    margin-right: 8px;
    color: rgba(28, 28, 28, 0.42);
    font-size: 20px;
    font-weight: 500;
}
.rhm-qv-modal__description,
.rhm-qv-fullscreen__description {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(34, 34, 34, 0.74);
}
.rhm-qv-modal__actions,
.rhm-qv-fullscreen__actions {
    margin-top: 24px;
}
.rhm-qv-modal__primary-link,
.rhm-qv-fullscreen__primary-link {
    min-height: 54px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 16px 28px rgba(245, 166, 35, 0.22);
}

/* ========== Quick View 移动端全屏 ========== */
.rhm-qv-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    padding: 20px 14px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.rhm-qv-fullscreen.is-open { transform: translateY(0); }
.rhm-qv-fullscreen__shell {
    width: min(100%, 520px);
    border-radius: 28px;
    padding: 0 14px 18px;
}
.rhm-qv-fullscreen__heading {
    font-size: 18px;
}
.rhm-qv-fullscreen__header {
    padding: 14px 8px 8px;
}
.rhm-qv-fullscreen__close {
    top: 10px;
    right: 6px;
}
.rhm-qv-fullscreen__body {
    padding: 6px 8px 0;
}
.rhm-qv-fullscreen__title {
    font-size: 20px;
    margin-top: 2px;
}
.rhm-qv-fullscreen__meta {
    font-size: 15px;
}
.rhm-qv-fullscreen__rating {
    margin-top: 10px;
}
.rhm-qv-fullscreen__price {
    margin-top: 10px;
    font-size: 18px;
}
.rhm-qv-fullscreen__price del {
    font-size: 14px;
}
.rhm-qv-fullscreen__description {
    margin-top: 10px;
    font-size: 14px;
}
.rhm-qv-fullscreen__footer {
    padding: 14px 8px 0;
}
.rhm-qv-fullscreen__actions {
    margin-top: 0;
}
.rhm-qv-fullscreen__primary-link {
    min-height: 48px;
    border-radius: 12px;
    font-size: 16px;
}

/* ========== Footer ========== */
.rhm-footer {
    position: relative;
    padding: 28px 0 112px;
    background:
        radial-gradient(circle at top left, rgba(255, 214, 139, 0.18), transparent 24%),
        linear-gradient(180deg, #fffefb 0%, #fffaf0 100%);
    border-top: 1px solid rgba(196, 146, 41, 0.12);
}
.rhm-footer .rhm-container {
    display: grid;
    gap: 22px;
}
.rhm-footer__top {
    display: grid;
    gap: 20px;
}
.rhm-footer__brand {
    display: grid;
    gap: 16px;
}
.rhm-footer__brand-link {
    display: inline-flex;
    align-items: center;
    /* justify-content: center; */
    max-width: 220px;
}
.rhm-footer__brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 46px;
}
.rhm-footer__brand-text {
    color: #171717;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}
.rhm-footer__brand-copy {
    display: grid;
    /* gap: 6px; */
    max-width: 320px;
    color: rgba(34, 34, 34, 0.78);
    font-size: 16px;
    line-height: 1.65;
}
.rhm-footer__links-desktop,
.rhm-footer__social-desktop {
    display: none;
}
.rhm-footer__links-mobile {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(196, 146, 41, 0.16);
}
.rhm-footer__accordion {
    border-bottom: 1px solid rgba(196, 146, 41, 0.16);
}
.rhm-footer__accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    list-style: none;
    cursor: pointer;
}
.rhm-footer__accordion-summary::-webkit-details-marker {
    display: none;
}
.rhm-footer__accordion-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #171717;
    font-size: 16px;
    font-weight: 600;
}
.rhm-footer__accordion-label svg,
.rhm-footer__accordion-arrow svg {
    width: 20px;
    height: 20px;
}
.rhm-footer__accordion-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(34, 34, 34, 0.72);
    transition: transform var(--hl-transition-fast);
}
.rhm-footer__accordion[open] .rhm-footer__accordion-arrow {
    transform: rotate(180deg);
}
.rhm-footer__accordion-list {
    display: grid;
    gap: 12px;
    padding: 0 0 18px 32px;
    list-style: none;
}
.rhm-footer__accordion-list a {
    color: rgba(34, 34, 34, 0.76);
    font-size: 14px;
    text-decoration: none;
}
.rhm-footer__trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 16px 10px;
    border: 1px solid rgba(196, 146, 41, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 28px rgba(98, 72, 22, 0.06);
}
.rhm-footer__trust-item {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
}
.rhm-footer__trust-item + .rhm-footer__trust-item {
    border-left: 1px solid rgba(196, 146, 41, 0.16);
}
.rhm-footer__trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 auto 2px;
    color: #d6920d;
}
.rhm-footer__trust-icon svg {
    width: 22px;
    height: 22px;
    margin: 0 auto;
}
.rhm-footer__trust-item strong {
    color: #171717;
    font-size: 12px;
    line-height: 1.3;
}
.rhm-footer__trust-item span:last-child {
    color: rgba(34, 34, 34, 0.74);
    font-size: 11px;
    line-height: 1.45;
}
.rhm-footer__newsletter {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 22px 18px;
    overflow: hidden;
    border: 1px solid rgba(196, 146, 41, 0.14);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(255, 249, 236, 0.96) 0%, rgba(255, 248, 232, 0.92) 62%, rgba(255, 244, 216, 0.82) 100%);
}
.rhm-footer__newsletter-media {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    max-width: 240px;
    pointer-events: none;
    opacity: 0.96;
}
.rhm-footer__newsletter-media img {
    display: block;
    width: 100%;
    height: auto;
}
.rhm-footer__newsletter-copy {
    display: grid;
    gap: 10px;
    max-width: 320px;
    position: relative;
    z-index: 1;
}
.rhm-footer__newsletter-copy h3 {
    color: #171717;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 700;
}
.rhm-footer__newsletter-copy p {
    color: rgba(34, 34, 34, 0.78);
    font-size: 14px;
    line-height: 1.7;
}
.rhm-footer__newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.rhm-footer__newsletter-form input[type="email"] {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(196, 146, 41, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
}
.rhm-footer__newsletter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffc423 0%, #f5a623 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.rhm-footer__newsletter-button svg {
    width: 16px;
    height: 16px;
}
.rhm-footer__social-mobile {
    display: grid;
    gap: 14px;
    justify-items: center;
}
.rhm-footer__section-title {
    color: #171717;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
}
.rhm-footer__social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.rhm-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(196, 146, 41, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #171717;
    text-decoration: none;
}
.rhm-footer__social-link svg {
    width: 20px;
    height: 20px;
}
.rhm-footer__payments {
    display: grid;
    gap: 18px;
}
.rhm-footer__payments-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}
.rhm-footer__payments-line {
    height: 1px;
    background: rgba(196, 146, 41, 0.3);
}
.rhm-footer__payments-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #171717;
    font-size: 14px;
    font-weight: 600;
}
.rhm-footer__payments-label svg {
    width: 18px;
    height: 18px;
    color: #b8800d;
}
.rhm-footer__payment-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.rhm-footer__payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: #171717;
    font-size: 12px;
    font-weight: 700;
}
.rhm-footer__bottom {
    display: grid;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(196, 146, 41, 0.14);
}
.rhm-footer__copyright {
    color: rgba(34, 34, 34, 0.72);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}
.rhm-footer__bottom-links,
.rhm-footer__locale {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.rhm-footer__bottom-links a,
.rhm-footer__locale-item {
    color: rgba(34, 34, 34, 0.76);
    font-size: 14px;
    text-decoration: none;
}
.rhm-footer__locale-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.rhm-footer__locale-item svg {
    width: 16px;
    height: 16px;
}
.rhm-footer__bottom-divider {
    width: 1px;
    height: 14px;
    background: rgba(196, 146, 41, 0.3);
}

/* ========== 移动端底栏 ========== */
.rhm-mobile-bottom-bar {
    position: fixed; left: 16px; right: 16px; bottom: 14px;
    width: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(98, 72, 22, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 9997;
}
.rhm-mobile-bottom-bar__item {
    flex: 1;
    min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px;
    text-decoration: none; padding: 8px 6px;
    color: #7d7d7d;
    transition: color 150ms ease, transform 150ms ease;
    background: none; border: none; cursor: pointer;
    font-family: inherit;
}
.rhm-mobile-bottom-bar__icon {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
}
.rhm-mobile-bottom-bar__icon svg,
.rhm-mobile-bottom-bar__item > svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.1;
}
.rhm-mobile-bottom-bar__label {
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.rhm-mobile-bottom-bar__item.is-active,
.rhm-mobile-bottom-bar__item:hover {
    color: var(--hl-color-primary);
    transform: translateY(-1px);
}
.rhm-mobile-bottom-bar__item.is-active .rhm-mobile-bottom-bar__label {
    font-weight: 700;
}

/* WC 按钮统一覆盖 */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--hl-color-primary); color: var(--hl-color-white);
    border: none; border-radius: var(--hl-radius-md);
    padding: 10px 20px; min-height: 44px;
    font-family: var(--hl-font-primary); font-weight: 600; font-size: 14px;
    transition: opacity 150ms ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { opacity: 0.9; }
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--hl-color-primary-dark); }
.woocommerce a.button.loading,
.woocommerce button.button.loading { opacity: 0.7; }

/* 产品卡片操作按钮 */
.rhm-product-card__qv-btn {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    background: #fff8e7; border: 1px solid rgba(196, 146, 41, 0.18); border-radius: 999px;
    cursor: pointer; color: var(--hl-color-primary-dark); transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
    flex-shrink: 0;
}
.rhm-product-card__qv-btn:hover { background: #fff1cc; border-color: rgba(196, 146, 41, 0.28); transform: translateY(-1px); }
.rhm-product-card__add-to-cart {
    flex: 1;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(245, 166, 35, 0.22);
    letter-spacing: 0.01em;
}
.rhm-product-card__add-to-cart svg { flex-shrink: 0; }

/* ========== Utility ========== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.text-primary { color: var(--hl-color-primary); }
.bg-cream { background: var(--hl-color-cream); }

/* ========== 动画 ========== */
@keyframes rhm-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.rhm-spin { animation: rhm-spin 0.6s linear infinite; }

@keyframes rhm-bounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(0.9); }
    80% { transform: scale(1.1); }
}
.rhm-bounce { animation: rhm-bounce 0.5s ease; }

/* 按钮加载态 */
.rhm-btn.is-loading { opacity: 0.8; pointer-events: none; }
.rhm-btn.rhm-btn--success { background: var(--hl-color-success); }

/* 加购成功提示 */
.rhm-cart-notice {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(35, 28, 16, 0.34);
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.rhm-cart-notice.is-visible {
    opacity: 1;
    visibility: visible;
}

.rhm-cart-notice__dialog {
    position: relative;
    width: min(100%, 372px);
    padding: 24px 22px 22px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 211, 86, 0.16), transparent 34%),
        linear-gradient(180deg, #fffdf9 0%, #fff7ea 100%);
    border: 1px solid rgba(196, 146, 41, 0.18);
    box-shadow: 0 26px 60px rgba(54, 40, 12, 0.18);
    text-align: center;
    transform: translateY(18px) scale(0.96);
    transition: transform 220ms ease;
    overflow: hidden;
}

.rhm-cart-notice.is-visible .rhm-cart-notice__dialog {
    transform: translateY(0) scale(1);
}

.rhm-cart-notice__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(196, 146, 41, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: rgba(43, 43, 43, 0.74);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.rhm-cart-notice__close:hover {
    transform: translateY(-1px);
    background: #ffffff;
    border-color: rgba(196, 146, 41, 0.28);
}

.rhm-cart-notice__close svg {
    width: 17px;
    height: 17px;
}

.rhm-cart-notice__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.12);
    color: #b97a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rhm-cart-notice__icon {
    width: 88px;
    height: 88px;
    margin: 16px auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5fa34d;
    background: linear-gradient(180deg, rgba(139, 204, 113, 0.2) 0%, rgba(139, 204, 113, 0.05) 100%);
    box-shadow: inset 0 0 0 1px rgba(95, 163, 77, 0.12);
}

.rhm-cart-notice__icon svg {
    width: 88px;
    height: 88px;
}

.rhm-cart-notice__title {
    margin: 0;
    font-size: 26px;
    line-height: 1.12;
    font-weight: 700;
    color: #161616;
    letter-spacing: -0.02em;
}

.rhm-cart-notice__message {
    margin: 14px auto 0;
    max-width: 278px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(33, 33, 33, 0.8);
}

.rhm-cart-notice__product {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 700;
    color: #1d1d1d;
}

.rhm-cart-notice__copy {
    color: rgba(33, 33, 33, 0.72);
}

.rhm-cart-notice__meta {
    display: none;
}

.rhm-cart-notice__actions {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.rhm-cart-notice__view-cart,
.rhm-cart-notice__continue {
    width: 100%;
    min-height: 50px;
    border-radius: 16px;
    cursor: pointer;
    font: inherit;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.rhm-cart-notice__view-cart {
    padding: 0 20px;
    background: linear-gradient(180deg, #ffc31f 0%, #f5b300 100%);
    color: #241800;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 14px 24px rgba(245, 179, 0, 0.22);
    border: none;
}

.rhm-cart-notice__continue {
    color: rgba(31, 31, 31, 0.78);
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(196, 146, 41, 0.18);
}

.rhm-cart-notice__view-cart:hover,
.rhm-cart-notice__continue:hover {
    transform: translateY(-1px);
}

.rhm-cart-notice__continue:hover {
    border-color: rgba(196, 146, 41, 0.28);
    background: #ffffff;
}

/* Toast 提示 */
.rhm-toast {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-20px);
    padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 500;
    z-index: 20000; display: flex; align-items: center; gap: 8px;
    opacity: 0; transition: all 0.3s ease; pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.rhm-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.rhm-toast--success { background: #28A745; color: white; }
.rhm-toast--error { background: #DC3545; color: white; }

@media (max-width: 767px) {
    .rhm-cart-notice {
        padding: 16px;
    }

    .rhm-cart-notice__dialog {
        width: min(100%, 340px);
        border-radius: 28px;
        padding: 22px 18px 18px;
    }

    .rhm-cart-notice__title {
        font-size: 24px;
    }

    .rhm-cart-notice__message {
        max-width: 252px;
        font-size: 14px;
    }

    .rhm-cart-notice__view-cart {
        font-size: 16px;
    }

    .rhm-cart-notice__continue {
        font-size: 13px;
    }
}

/* Recent Sales Social Proof */
.rhm-proof-toast {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 16000;
    width: min(76vw, 272px);
    opacity: 0;
    transform: translateX(-18px);
    pointer-events: none;
    transition: opacity 260ms ease, transform 260ms ease;
}

.rhm-proof-toast.is-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.rhm-proof-toast__card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 8px 9px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background:
        radial-gradient(circle at top right, rgba(255, 204, 102, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 247, 234, 0.98) 100%);
    border: 1px solid rgba(196, 146, 41, 0.16);
    box-shadow: 0 10px 24px rgba(54, 40, 12, 0.1);
    backdrop-filter: blur(12px);
}

.rhm-proof-toast__media {
    width: 38px;
    aspect-ratio: var(--rhm-floating-toast-image-ratio, 1 / 1);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(196, 146, 41, 0.12);
}

.rhm-proof-toast__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: var(--rhm-floating-toast-image-fit, cover);
}

.rhm-proof-toast__body {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.rhm-proof-toast__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #b97a00;
}

.rhm-proof-toast__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex: 0 0 6px;
    background: #f5a623;
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.09);
}

.rhm-proof-toast__title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 12px;
    line-height: 1.22;
    font-weight: 700;
    color: #171717;
    letter-spacing: -0.01em;
}

.rhm-proof-toast__message,
.rhm-proof-toast__meta {
    display: block;
    font-size: 10px;
    line-height: 1.26;
    color: rgba(31, 31, 31, 0.7);
}

.rhm-proof-toast__meta {
    color: rgba(163, 106, 0, 0.82);
    font-weight: 600;
}

@media (max-width: 767px) {
    .rhm-proof-toast {
        left: 12px;
        right: auto;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 94px);
        transform: translateX(-16px);
        width: min(72vw, 244px);
    }

    .rhm-proof-toast.is-visible {
        transform: translateX(0);
    }

    .rhm-proof-toast__card {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 7px;
        padding: 7px 8px;
        border-radius: 15px;
    }

    .rhm-proof-toast__media {
        width: 34px;
        aspect-ratio: var(--rhm-floating-toast-image-ratio, 1 / 1);
        border-radius: 11px;
    }

    .rhm-proof-toast__title {
        font-size: 11px;
        line-height: 1.2;
    }

    .rhm-proof-toast__message,
    .rhm-proof-toast__meta {
        font-size: 9px;
        line-height: 1.2;
    }

    .rhm-proof-toast__meta {
        display: none;
    }
}

/* 角标样式 */
.rhm-header__cart-count {
    position: absolute; top: -6px; right: -8px;
    min-width: 18px; height: 18px; line-height: 18px;
    background: var(--hl-color-primary, #F5A623); color: white;
    font-size: 11px; font-weight: 700; border-radius: 9px;
    text-align: center; padding: 0 4px;
}
.rhm-header__cart { position: relative; }

/* ========== Blog 页面 ========== */
.rhm-blog-page,
.rhm-blog-single {
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.rhm-blog-hero {
    padding: 16px 0 18px;
}

.rhm-blog-hero__inner {
    display: grid;
    gap: 16px;
}

.rhm-blog-hero__content {
    display: grid;
    gap: 10px;
    padding: 6px 0 0;
}

.rhm-blog-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.12);
    color: #a86e10;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rhm-blog-hero__title {
    margin: 0;
    font-size: clamp(34px, 10vw, 54px);
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: #181512;
}

.rhm-blog-hero__description {
    max-width: 460px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(34, 34, 34, 0.72);
}

.rhm-blog-hero__visual {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 82% 28%, rgba(245, 166, 35, 0.24), rgba(245, 166, 35, 0) 24%),
        linear-gradient(180deg, #fff6df 0%, #fffdf6 100%);
    box-shadow: 0 14px 28px rgba(112, 84, 28, 0.06);
}

.rhm-blog-hero__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.rhm-blog-filter {
    padding: 0 0 18px;
}

.rhm-blog-filter__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.rhm-blog-filter__track::-webkit-scrollbar {
    display: none;
}

.rhm-blog-filter__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(196, 146, 41, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #4a4032;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.rhm-blog-filter__pill.is-active {
    border-color: #f5a623;
    background: #f5a623;
    color: #ffffff;
}

.rhm-blog-archive {
    padding: 4px 0 44px;
}

.rhm-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rhm-blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
    box-shadow: 0 14px 28px rgba(112, 84, 28, 0.05);
}

.rhm-blog-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 0.76;
    overflow: hidden;
    background: #fff6e6;
    text-decoration: none;
}

.rhm-blog-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 220ms ease;
}

.rhm-blog-card:hover .rhm-blog-card__image {
    transform: scale(1.04);
}

.rhm-blog-card__image-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 28%, rgba(245, 166, 35, 0.5), rgba(245, 166, 35, 0) 22%),
        radial-gradient(circle at 30% 68%, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0) 20%),
        linear-gradient(180deg, #fff6df 0%, #fffdf6 100%);
}

.rhm-blog-card__badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f5a623;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rhm-blog-card__body {
    display: grid;
    gap: 10px;
    padding: 14px 14px 16px;
}

.rhm-blog-card__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #181512;
}

.rhm-blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.rhm-blog-card__excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
    color: rgba(34, 34, 34, 0.72);
}

.rhm-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 11px;
    color: rgba(34, 34, 34, 0.62);
}

.rhm-blog-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rhm-blog-card__meta-item svg {
    width: 14px;
    height: 14px;
}

.rhm-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e09615;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.rhm-blog-card__link svg {
    width: 14px;
    height: 14px;
}

.rhm-blog-card--compact {
    border-radius: 18px;
    box-shadow: none;
}

.rhm-blog-card--compact .rhm-blog-card__media {
    aspect-ratio: 1 / 0.72;
}

.rhm-blog-card--compact .rhm-blog-card__body {
    gap: 8px;
    padding: 12px;
}

.rhm-blog-card--compact .rhm-blog-card__title {
    font-size: 14px;
}

.rhm-blog-card--compact .rhm-blog-card__excerpt {
    display: none;
}

.rhm-blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.rhm-blog-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rhm-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #40372d;
    font-size: 13px;
    text-decoration: none;
}

.rhm-blog-pagination .page-numbers.current {
    border-color: #f5a623;
    background: #f5a623;
    color: #ffffff;
}

.rhm-blog-empty {
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 36px 24px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
}

.rhm-blog-empty h2 {
    margin: 0;
    font-size: 24px;
}

.rhm-blog-empty p {
    max-width: 460px;
    margin: 0;
    color: rgba(34, 34, 34, 0.72);
}

.rhm-blog-single {
    padding: 18px 0 56px;
}

.rhm-blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    font-size: 12px;
    color: rgba(34, 34, 34, 0.58);
}

.rhm-blog-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.rhm-blog-single__layout {
    display: grid;
    gap: 28px;
}

.rhm-blog-article__header {
    display: grid;
    gap: 12px;
}

.rhm-blog-article__badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f5a623;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rhm-blog-article__title {
    margin: 0;
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: #181512;
}

.rhm-blog-article__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(34, 34, 34, 0.68);
}

.rhm-blog-article__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rhm-blog-article__meta-item svg {
    width: 15px;
    height: 15px;
}

.rhm-blog-article__featured {
    margin: 18px 0 0;
}

.rhm-blog-article__featured-image {
    width: 100%;
    display: block;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 18px 36px rgba(112, 84, 28, 0.08);
}

.rhm-blog-article__excerpt {
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(34, 34, 34, 0.8);
}

.rhm-blog-article__cta {
    margin-top: 20px;
}

.rhm-blog-article__content {
    margin-top: 22px;
    color: rgba(34, 34, 34, 0.82);
}

.rhm-blog-article__content > * + * {
    margin-top: 16px;
}

.rhm-blog-article__content h2,
.rhm-blog-article__content h3,
.rhm-blog-article__content h4 {
    color: #181512;
}

.rhm-blog-article__content p,
.rhm-blog-article__content li {
    font-size: 15px;
    line-height: 1.82;
}

.rhm-blog-article__content ul,
.rhm-blog-article__content ol {
    padding-left: 18px;
}

.rhm-blog-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.rhm-blog-share {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.rhm-blog-share__label {
    font-size: 15px;
    font-weight: 600;
    color: #181512;
}

.rhm-blog-share__links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rhm-blog-share__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(196, 146, 41, 0.14);
    border-radius: 50%;
    background: #ffffff;
    color: #1d1d1d;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
}

.rhm-blog-author {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
}

.rhm-blog-author__avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.rhm-blog-author__content {
    display: grid;
    gap: 6px;
}

.rhm-blog-author__label {
    font-size: 12px;
    color: rgba(34, 34, 34, 0.62);
}

.rhm-blog-author__name {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    color: #181512;
}

.rhm-blog-author__bio {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(34, 34, 34, 0.72);
}

.rhm-blog-related {
    margin-top: 28px;
}

.rhm-blog-related__title {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.1;
    color: #181512;
}

.rhm-blog-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.rhm-blog-sidebar {
    display: grid;
    gap: 16px;
}

.rhm-blog-sidebar__card,
.rhm-blog-sidebar__promo {
    padding: 18px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
    box-shadow: 0 14px 28px rgba(112, 84, 28, 0.05);
}

.rhm-blog-sidebar__title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.2;
    color: #181512;
}

.rhm-blog-search {
    position: relative;
}

.rhm-blog-search input[type="search"] {
    padding-right: 48px;
    border-radius: 14px;
}

.rhm-blog-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: rgba(34, 34, 34, 0.48);
    transform: translateY(-50%);
    cursor: pointer;
}

.rhm-blog-search svg {
    width: 18px;
    height: 18px;
}

.rhm-blog-sidebar__category-list {
    display: grid;
    gap: 10px;
}

.rhm-blog-sidebar__category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 14px;
    background: #ffffff;
    color: #40372d;
    text-decoration: none;
    font-size: 13px;
}

.rhm-blog-sidebar__popular {
    display: grid;
    gap: 12px;
}

.rhm-blog-sidebar__popular-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.rhm-blog-sidebar__popular-thumb img {
    width: 72px;
    height: 72px;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

.rhm-blog-sidebar__popular-content {
    display: grid;
    gap: 6px;
}

.rhm-blog-sidebar__popular-title {
    color: #181512;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.rhm-blog-sidebar__popular-date {
    font-size: 11px;
    color: rgba(34, 34, 34, 0.58);
}

.rhm-blog-sidebar__promo {
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 24%, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0) 24%),
        linear-gradient(180deg, #fff5dc 0%, #fffdf7 100%);
}

.rhm-blog-sidebar__promo-copy {
    display: grid;
    gap: 12px;
}

.rhm-blog-sidebar__promo-eyebrow {
    display: inline-flex;
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.16);
    color: #a56c0e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rhm-blog-sidebar__promo h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    color: #181512;
}

.rhm-blog-sidebar__promo-image {
    width: auto;
    max-width: 180px;
    margin: 16px 0 0 auto;
    display: block;
}

/* ========== 404 页面 ========== */
.rhm-error-404 {
    padding: 28px 0 56px;
    background:
        radial-gradient(circle at top left, rgba(245, 166, 35, 0.12), transparent 28%),
        linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
}

.rhm-error-404__card {
    max-width: 880px;
    margin: 0 auto;
    padding: 28px 20px;
    display: grid;
    gap: 20px;
    border: 1px solid rgba(245, 166, 35, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 60px rgba(30, 41, 59, 0.08);
    text-align: center;
}

.rhm-error-404__badge {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 14px;
    border-radius: var(--hl-radius-full);
    background: rgba(245, 166, 35, 0.14);
    color: #a56c0e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rhm-error-404__visual {
    position: relative;
    width: min(240px, 62vw);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.rhm-error-404__visual-hive {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.72), transparent 24%),
        linear-gradient(180deg, #ffdf88 0%, #f5a623 100%);
    box-shadow: inset 0 -14px 28px rgba(186, 103, 12, 0.24), 0 18px 40px rgba(245, 166, 35, 0.18);
    clip-path: polygon(25% 6%, 75% 6%, 96% 50%, 75% 94%, 25% 94%, 4% 50%);
}

.rhm-error-404__visual-hive::before,
.rhm-error-404__visual-hive::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 52%;
    height: 12px;
    border-radius: 999px;
    background: rgba(151, 88, 13, 0.18);
}

.rhm-error-404__visual-hive::before {
    top: 38%;
}

.rhm-error-404__visual-hive::after {
    top: 56%;
}

.rhm-error-404__visual::before {
    content: '404';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(52px, 14vw, 88px);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #7a4b02;
}

.rhm-error-404__visual-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.18);
}

.rhm-error-404__visual-dot--left {
    top: 18%;
    left: 2%;
}

.rhm-error-404__visual-dot--right {
    right: 4%;
    bottom: 16%;
}

.rhm-error-404__header {
    display: grid;
    gap: 12px;
}

.rhm-error-404__eyebrow {
    color: #a56c0e;
    font-size: 13px;
    font-weight: 600;
}

.rhm-error-404__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    color: #1d2939;
}

.rhm-error-404__description {
    max-width: 640px;
    margin: 0 auto;
    color: #667085;
    font-size: 14px;
}

.rhm-error-404__search {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
}

.rhm-error-404__search .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.rhm-error-404__search label {
    margin: 0;
}

.rhm-error-404__search .search-field {
    min-height: 48px;
    border-radius: 14px;
    padding: 12px 16px;
}

.rhm-error-404__search .search-submit {
    min-width: 116px;
    min-height: 48px;
    padding: 12px 20px;
    border: none;
    border-radius: 14px;
    background: var(--hl-color-primary);
    color: var(--hl-color-white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.rhm-error-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.rhm-error-404__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding-top: 4px;
}

.rhm-error-404__links a {
    color: #667085;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.rhm-error-404__links a:hover {
    color: var(--hl-color-primary);
}

@media (max-width: 767.98px) {
    .rhm-error-404 {
        padding: 18px 0 96px;
    }

    .rhm-error-404__card {
        padding: 24px 16px;
        border-radius: 22px;
    }

    .rhm-error-404__title {
        font-size: 24px;
    }

    .rhm-error-404__search .search-form {
        grid-template-columns: 1fr;
    }

    .rhm-error-404__search .search-submit,
    .rhm-error-404__actions .rhm-btn {
        width: 100%;
    }

    .rhm-blog-single {
        padding-bottom: 96px;
    }

    .rhm-blog-sidebar {
        display: none;
    }

    .rhm-blog-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .rhm-error-404 {
        padding: 34px 0 64px;
    }

    .rhm-error-404__card {
        padding: 36px 32px;
        gap: 24px;
    }

    .rhm-blog-hero {
        padding: 22px 0 22px;
    }

    .rhm-blog-hero__inner {
        grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
        align-items: center;
        gap: 24px;
    }

    .rhm-blog-hero__visual {
        min-height: 210px;
    }

    .rhm-blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .rhm-blog-card__body {
        padding: 16px 16px 18px;
    }

    .rhm-blog-single__layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.72fr);
        align-items: start;
    }

    .rhm-blog-sidebar {
        position: sticky;
        top: 96px;
        display: grid;
    }
}

@media (min-width: 992px) {
    .rhm-container {
        max-width: 1560px;
    }

    .rhm-blog-hero__visual {
        min-height: 250px;
    }

    .rhm-blog-archive {
        padding-bottom: 56px;
    }

    .rhm-blog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rhm-blog-card__title {
        font-size: 18px;
    }

    .rhm-blog-card__excerpt {
        font-size: 14px;
    }
}
