/* 全局基础 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* 轻微上滑 + 渐显滚动动画 */
/* 更有存在感的滚动动画：下方 + 轻微缩放 + 模糊 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(80px) scale(0.97);
  filter: blur(6px);
  transition:
    opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.9s ease-out;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft Yahei", sans-serif;
  color: #1b2b2e;
  background: #f7faf9;
  line-height: 1.6;
}

/* 公告弹窗样式 */
.announcement-popup {
  position: fixed;
  bottom: -100%;
  left: 20px;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: bottom 0.6s ease-out;
  overflow: hidden;
  z-index: 999;
}

.announcement-popup.show {
  bottom: 20px;
}

.announcement-popup img {
  width: 100%;
  display: block;
}

.announcement-popup .content {
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
}

.announcement-popup .close-btn {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #666;
}

/* 主视觉区域 */
.hero {
  background: #fdfdfd;
  border-bottom: 1px solid #e5ecea;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.logo {
  width: 140px;
  height: auto;
  margin-bottom: 24px;
}

.headline-en {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1c2c30;
}

/* 顶部导航（参考 Kerry Ann：左 Logo + 右菜单） */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5ecea;
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 600;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: #7a8f93;
}

.site-nav {
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
}

.site-nav a {
  color: #4b6367;
  text-decoration: none;
}

.site-nav a:hover {
  color: #145f5a;
}

/* Hero 左右结构 */
.hero-content {
  flex: 1.1;
}

.hero-media {
  flex: 1;
}

.hero-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a8f93;
  margin-bottom: 8px;
}

.headline-en {
  font-size: 2.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1c2c30;
}

.headline-zh {
  font-size: 1rem;
  color: #567175;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 0.98rem;
  color: #60787c;
  margin-bottom: 18px;
}

.hero-image-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: #f3f6f5;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Signature & Wedding 区块 */
.signature {
  background: #f5f8f7;
  border-top: 1px solid #e1ece8;
  border-bottom: 1px solid #e1ece8;
}

.signature-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 20px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.signature-text h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.signature-text p {
  font-size: 0.96rem;
  color: #5b7276;
  margin-bottom: 8px;
}

.signature-gallery {
  display: grid;
  gap: 10px;
}

.signature-img {
  border-radius: 18px;
  min-height: 130px;
  background: linear-gradient(135deg, #cde4df, #f5dce8);
}

/* 小屏适配 */
@media (max-width: 800px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-inner {
    flex-direction: column;
    padding-top: 32px;
  }

  .signature-inner {
    grid-template-columns: 1fr;
  }
}

.headline-zh {
  font-size: 1.1rem;
  color: #567175;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.btn {
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #197a74;       /* 深青绿色 */
  color: #ffffff;
}

.btn-primary:hover {
  background: #145f5a;
}

.btn-outline {
  background: #f6fbfb;
  color: #145f5a;
  border-color: #c7e2de;
}

.btn-outline:hover {
  background: #e6f5f2;
}

.hero-note {
  font-size: 0.95rem;
  color: #6a8086;
  margin-top: 8px;
}

/* Specialties */
.specialties {
  max-width: 1040px;
  margin: 32px auto 40px;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-title h2 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.section-title p {
  color: #60787c;
  font-size: 0.98rem;
}

.specialty-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 14px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf3f2;
}

.card-img {
  border-radius: 14px;
  height: 150px;
  margin-bottom: 12px;
}

/* 这里先做占位，后面换成真实产品照片 */
.card-img.placeholder {
  background: linear-gradient(135deg, #cde9e4, #f8dfe8);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.card h3 span {
  font-size: 0.9rem;
  color: #7b8e90;
  font-weight: 400;
}

.card p {
  font-size: 0.9rem;
  color: #6a7f83;
}

/* About 区域 */
.about {
  background: #f2f7f5;
  border-top: 1px solid #e0ece8;
  border-bottom: 1px solid #e0ece8;
}

.about-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 20px 30px;
  text-align: center;
}

.about-inner h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.about-inner p {
  color: #5b7276;
  font-size: 0.98rem;
}

/* Footer 区域 */
.footer {
  background: #ffffff;
  padding-top: 24px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-contact h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.footer-contact p {
  font-size: 0.95rem;
  color: #63777c;
}

.footer-contact a {
  color: #145f5a;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-qrs {
  display: flex;
  gap: 16px;
}

.qr-block {
  text-align: center;
}

.qr-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 14px;
  background: #e6f1ee;
  border: 1px dashed #aac7bf;
  margin-bottom: 6px;
}

.qr-block p {
  font-size: 0.85rem;
  color: #6a7f7f;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: #9aa9ac;
  padding-bottom: 14px;
}

/* 小屏适配 */
@media (max-width: 640px) {
  .headline-en {
    font-size: 1.7rem;
  }

  .hero-inner {
    padding-top: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-qrs {
    width: 100%;
  }
}

/* ========== Order page ========== */

.order-page {
  background: #f5f8f7;
}

.order-header {
  background: #ffffff;
  border-bottom: 1px solid #e1ece8;
}

.order-header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.order-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.order-brand-name {
  font-weight: 600;
  font-size: 1rem;
}

.order-brand-tagline {
  font-size: 0.82rem;
  color: #718589;
}

.order-mode {
  display: flex;
  align-items: center;
  gap: 16px;
}

.order-link {
  font-size: 0.9rem;
  color: #145f5a;
  text-decoration: none;
}

.order-link:hover {
  text-decoration: underline;
}

.order-mode-buttons {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.order-layout {
  max-width: 1120px;
  margin: 18px auto 32px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}

/* 左侧分类栏 */
.order-sidebar {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf3f2;
  height: fit-content;
  position: sticky;
  top: 16px;
}

.order-sidebar h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.order-sidebar ul {
  list-style: none;
  margin-bottom: 10px;
}

.order-sidebar li {
  font-size: 0.92rem;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  color: #526569;
  margin-bottom: 4px;
}

.order-sidebar li:hover {
  background: #e8f3f0;
}

.order-sidebar li.active {
  background: #145f5a;
  color: #ffffff;
}

.order-sidebar-note {
  font-size: 0.8rem;
  color: #95a7aa;
}

/* 右侧主内容 */
.order-main-header h1 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.order-main-header p {
  font-size: 0.9rem;
  color: #6b8084;
  margin-bottom: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.product-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 14px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf3f2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-img {
  border-radius: 14px;
  height: 150px;
  margin-bottom: 4px;
}

.product-img.placeholder {
  background: linear-gradient(135deg, #cfe4df, #f4dce7);
}

.product-card h3 {
  font-size: 1.02rem;
}

.product-card h3 span {
  font-size: 0.9rem;
  color: #778d90;
  font-weight: 400;
}

.product-desc {
  font-size: 0.9rem;
  color: #60757a;
}

.product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.size-pill {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6f2ef;
  color: #365a5a;
}

.product-note {
  font-size: 0.8rem;
  color: #8b9b9e;
}

.btn-full {
  width: 100%;
  margin-top: 4px;
}

/* 备注示意区域 */
.order-comment-demo {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 14px 16px;
  border: 1px solid #e6f0ee;
  margin-top: 8px;
}

.order-comment-demo h2 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.order-comment-demo p {
  font-size: 0.9rem;
  color: #6a7f83;
  margin-bottom: 8px;
}

.order-comment-demo textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d2e1dd;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.order-comment-demo textarea:focus {
  outline: none;
  border-color: #197a74;
  box-shadow: 0 0 0 1px rgba(25, 122, 116, 0.15);
}

.order-comment-tip {
  font-size: 0.8rem;
  color: #8ea2a5;
  margin-top: 4px;
}

/* 小屏适配 */
@media (max-width: 800px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-sidebar {
    position: static;
  }

  .order-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Order page background: soft floral image */
body.order-page {
  background:
    linear-gradient(to bottom, rgba(253,244,238,0.85), rgba(253,244,238,0.95)),
    url("Contatc background.jpg") center/cover fixed no-repeat;
  color: #1b2b2e;
}

/* === Order page global background === */
body.order-page {
  background:
    linear-gradient(to bottom, rgba(253,244,238,0.92), rgba(253,244,238,0.98)),
    url("Contatc background.jpg") center/cover fixed no-repeat;
  color: #1b2b2e;
}

/* Header on order page: same feeling as homepage */
body.order-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 16px 60px 8px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0));
}

body.order-page .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.order-page .brand {
  font-family: "Cinzel", "Playfair Display", serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

body.order-page .nav-links {
  display: flex;
  gap: 30px;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
}

body.order-page .nav-links a {
  color: #ffffff;
  position: relative;
  padding-bottom: 4px;
}

body.order-page .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.85);
  transition: width 0.2s ease;
}

body.order-page .nav-links a:hover::after {
  width: 100%;
}

body.order-page .header-right {
  display: flex;
  align-items: center;
}

body.order-page .language-switch {
  display: flex;
  gap: 8px;
}

body.order-page .language-switch button {
  width: 26px;
  height: 18px;
  border-radius: 4px;
  border: none;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.9;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

body.order-page .lang-cn { background-image: url("cn.png"); }
body.order-page .lang-en { background-image: url("en.png"); }
body.order-page .lang-fi { background-image: url("fi.png"); }

/* === Ticker bar === */
.order-ticker {
  max-width: 1220px;
  margin: 90px auto 16px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ticker-title {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-sub {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: #a57a6b;
}

.ticker-window {
  flex: 1;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

.ticker-item {
  min-width: 260px;
}

/* 外层图片壳：无边框，只保留圆角+阴影 */
.ticker-img-wrap {
  position: relative;
  width: 260px;
  height: 90px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.ticker-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 文字覆盖在图片上，底部做渐变 */
.ticker-item-overlay {
  position: absolute;
  inset: 0;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.05)
  );
  color: #ffffff;
}

.ticker-item-name {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}

.ticker-item-status {
  font-size: 12px;
  opacity: 0.92;
}

/* 快成团的用稍微暖一点的渐变 */
.ticker-item-overlay.almost-full {
  background: linear-gradient(
    to right,
    rgba(166,95,72,0.75),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.05)
  );
}

/* ✅ B2: 高亮即将成团（>75% 且 <1） */
.group-soon .ticker-img-wrap {
  box-shadow: 0 16px 40px rgba(166,95,72,0.35), 0 0 0 2px rgba(166,95,72,0.5);
}

.group-soon .ticker-item-overlay {
  background: linear-gradient(
    to right,
    rgba(166,95,72,0.75),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.05)
  );
}

/* ✅ Badge 样式 */
.ticker-item-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  background: rgba(166,95,72,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1;
}

/* ✅ 高亮即将成团的卡片（progress >= 0.75 && < 1） */
.groupCard--almostFull .ticker-img-wrap {
  box-shadow: 0 16px 40px rgba(166,95,72,0.35), 0 0 0 2px rgba(166,95,72,0.5);
}

.groupCard--almostFull .ticker-item-overlay {
  background: linear-gradient(
    to right,
    rgba(166,95,72,0.75),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.05)
  );
}

/* ✅ Badge 样式 */
.ticker-item-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  background: rgba(166,95,72,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1;
}

@keyframes ticker-move {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Main layout === */
.order-layout {
  max-width: 1220px;
  margin: 40px auto 60px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  position: relative;
}

/* 左侧上方的大 Welcome 水印，跟首页一致风格 */
.order-layout::before {
  content: "Welcome";
  position: absolute;
  top: -80px;
  left: -6px;
  font-family: "Great Vibes", cursive;
  font-size: 150px;
  color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
  user-select: none;
}

/* 左侧竖排图片分类 */
.order-sidebar {
  padding-top: 10px;
}

.order-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-sidebar-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
}

.order-sidebar-card.is-active {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.26);
  opacity: 1;
}

.order-sidebar-image {
  position: relative;
  height: 180px;
}

.order-sidebar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-sidebar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 10%,
    rgba(0,0,0,0.55) 80%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
}

.order-sidebar-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.8);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
}

.order-sidebar-title {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  color: #ffffff;
}

.order-sidebar-price {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.category-price-from {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 2px;
  color: inherit;
}

/* Order 页面左侧分类容器：去掉白色底框和阴影，只保留图片本身 */
body.order-page .order-sidebar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Remove white background card around left category images */
body.order-page .order-sidebar-card {
  background: transparent;
  box-shadow: none;
}

/* 右侧内容 */
.order-main {
  padding: 18px 22px 26px;
  border-radius: 32px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 26px 80px rgba(0,0,0,0.18);
}

.order-main-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin-bottom: 6px;
}

.order-main-header p {
  font-size: 14px;
  color: #6f7d80;
}

.order-section {
  display: none;
  margin-top: 24px;
}

.order-section--active {
  display: block;
}

.order-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 4px;
}

.order-section-intro {
  font-size: 14px;
  color: #6f7d80;
  margin-bottom: 14px;
}

/* product cards：沿用你原来的风格稍微调一下 */
.order-main .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.order-main .product-card {
  position: relative;
  border-radius: 24px;
  padding: 16px 16px 18px;
  background: #fdf7f3;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-main .product-img.placeholder {
  height: 110px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, #ffe9e0, #f0f6fb);
  margin-bottom: 6px;
}

.order-main .product-desc {
  font-size: 14px;
  color: #6b7073;
}

.order-main .product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.order-main .size-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #ffffff;
  border: 1px solid #e2d4c9;
}

.order-main .product-note {
  font-size: 12px;
  color: #95857c;
}

.order-main .btn-full {
  margin-top: 4px;
  width: 100%;
}

/* 去掉右侧白色大框和产品卡片的硬边框，让它们融入整体背景 */
body.order-page .order-main {
  padding: 18px 0 26px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.order-page .order-main-header {
  padding: 0 8px 12px;
}

body.order-page .order-main .product-card {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 10px 8px 14px;
}

body.order-page .order-main .product-img.placeholder {
  border-radius: 18px;
}

/* Contact 区块不改，保持原来的样式，这里只给一点间距 */
body.order-page #contact.page-section {
  margin-top: 0;
}

/* ---- Shared page section layout & footer (match homepage) ---- */
.page-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 80px 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid #f1dfd7;
}

/* Titles: Contact / Hours / Social */
.footer-block h4 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #6b4a3f;
}

/* Body text: Contact / Hours / Social */
.footer-block p,
.hours-list,
.hours-list li,
.footer-text {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  line-height: 1.7;
  color: #7d7d7d;
}

.email a {
  color: #f26d88;
  text-decoration: none;
  font-weight: 500;
}
.email a:hover {
  text-decoration: underline;
}

.hours-list {
  list-style: none;
  padding-left: 0;
}
.hours-list li {
  margin-bottom: 4px;
}

.footer-text {
  margin-bottom: 10px;
}

/* Social row: INS + RedNote + WeChat */
.social-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  box-shadow: none;
  color: #b47d6b;
  cursor: pointer;
  transition: transform 0.16s ease, color 0.16s ease;
}

.social-icon i {
  font-size: 22px;
}

/* RedNote icon */
.social-icon img {
  width: 26px;
  height: auto;
  display: block;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: #8f5e4f;
}

.wechat-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-left: 40px;
}

.wechat-qr img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.14);
  object-fit: cover;
}

.wechat-qr span {
  font-family: "Playfair Display", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d7d7d;
}

.footer-bottom {
  padding-top: 16px;
  font-size: 11px;
  color: #a8a8a8;
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Remove underline under nav links on order page */
body.order-page .nav-links a::after {
  display: none;
}

/* 强制去掉 order 页导航的下划线效果 */
body.order-page .nav-links a {
  text-decoration: none !important;
}

body.order-page .nav-links a::after {
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Product grid: image-first layout like reference */
body.order-page .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

body.order-page .product-card.visual-card {
  width: clamp(260px, 24vw, 340px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  border-radius: 24px;
  box-shadow: none;
  cursor: pointer;
}

body.order-page .product-photo-button {
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

body.order-page .product-photo-button img {
  width: 100%;
  height: clamp(200px, 20vw, 280px);
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: 24px;  
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);  /* 柔化边缘一致 */
}

/* Name + price under image */
body.order-page .product-card.visual-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  margin: 4px 2px 0;
}

body.order-page .product-card.visual-card .product-price {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin: 2px 2px 0;
}

/* Product thumbnails (under main image in card) */
body.order-page .product-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

body.order-page .product-thumbnail {
  width: 48px;
  height: 48px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}

body.order-page .product-thumbnail:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

body.order-page .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product detail modal */
.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.product-modal.is-open {
  display: flex;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.product-modal-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 90%;
  background: #fdf7f3;
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.5);
  padding: 22px 24px 24px;
}

.product-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.product-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.product-modal-image {
  position: relative;
}

.product-modal-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Modal thumbnails (inside modal for switching product images) */
.product-modal-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.product-modal-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.product-modal-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.product-modal-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.product-modal-thumbnail {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.product-modal-thumbnail:hover {
  border-color: rgba(21, 93, 79, 0.4);
}

.product-modal-thumbnail.is-active {
  border-color: #155d4f;
  box-shadow: 0 0 0 2px rgba(21, 93, 79, 0.1);
}

.product-modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ✅ Product image thumbnails (for multiple images of same product) */
.product-modal-thumbnails img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.product-modal-thumbnails img.active {
  opacity: 1;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.product-modal-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 8px;
}

.product-modal-price {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}

.product-modal-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

.product-modal-notes {
  margin-top: 12px;
  display: none; /* 默认隐藏，只对某些产品打开 */
}

.product-modal-notes label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.product-modal-notes textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d2c1b5;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  resize: vertical;
  background: #ffffff;
}

.product-modal-notes textarea:focus {
  outline: none;
  border-color: #b58a73;
  box-shadow: 0 0 0 1px rgba(181, 138, 115, 0.25);
}

.product-modal-upload {
  margin-top: 10px;
}
.product-modal-upload { max-width: 100%; }

.product-modal-upload .upload-label {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.product-modal-upload input[type="file"] {
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid #d2c1b5;
  padding: 6px 10px;
  background: #ffffff;
}

/* 按钮好看一点（兼容新旧浏览器两种写法） */
.product-modal-upload input[type="file"]::-webkit-file-upload-button,
.product-modal-upload input[type="file"]::file-selector-button {
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  margin-right: 8px;
  background: #f1ded0;
  cursor: pointer;
}

.product-modal-upload .upload-hint {
  margin-top: 4px;
  font-size: 12px;
  color: #8a6f5a;
}

/* 右侧信息布局 */
.product-modal-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 标题、价格、描述保持之前的风格即可，这里只略微调整间距 */
.product-modal-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 4px;
}

.product-modal-price {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.product-modal-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* 数量选择条 */
.product-modal-qty-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #555;
}

.qty-label {
  font-weight: 500;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #e0cfc2;
  background: #fdf7f3;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f1ded0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #e7d2c1;
}

.qty-value {
  min-width: 36px;
  text-align: center;
  font-size: 15px;
  padding: 0 8px;
  background: #ffffff;
}

/* 右侧按钮区 */
.product-modal-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Add to order 按钮：主按钮 */
.product-modal-add {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background: #155d4f;
  color: #ffffff;
}

.product-modal-submit {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background: #f5a623;
  color: #ffffff;
}

.product-modal-submit:hover {
  background: #e0961f;
}

.product-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

.product-modal-add:hover {
  background: #0f4a40;
}

/* Share 按钮：描边按钮 */
.product-modal-share {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #c7b4a7;
  background: #fdf7f3;
  color: #735649;
  cursor: pointer;
  font-size: 14px;
}

.product-modal-share:hover {
  background: #f3e3d9;
}

/* ===== Scroll reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Modal upload ===== */
.upload-input { display: none; }

.upload-btn{
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(40,40,40,0.25);
  background: rgba(255,255,255,0.55);
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.upload-btn:hover{
  background: rgba(255,255,255,0.75);
}

/* ===== Variants Selector ===== */
.product-modal-variants {
  margin: 16px 0;
  padding: 12px 0;
}

.product-modal-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}

.product-modal-variant-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e0cfc2;
  background: #ffffff;
  color: #1b2b2e;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-modal-variant-select:hover {
  border-color: #c7b4a7;
}

.product-modal-variant-select:focus {
  outline: none;
  border-color: #155d4f;
  box-shadow: 0 0 0 3px rgba(21, 93, 79, 0.1);
}

.upload-preview{
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.upload-preview img{
  width: 92px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.upload-meta{
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  opacity: 0.85;
}

.upload-remove{
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(40,40,40,0.18);
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

/* Contact Submit button (beautified) */
.contact-submit-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 26px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #f9b24e, #f5a623);
  box-shadow: 0 10px 24px rgba(245,166,35,.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  margin-top: 12px;
  width: 100%;
}

.contact-submit-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(245,166,35,.38);
  filter: brightness(1.02);
}

.contact-submit-btn:active{
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(245,166,35,.25);
}

.contact-submit-btn[disabled]{
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 8px 18px rgba(245,166,35,.15);
}

/* Contact submit status text */
.contact-submit-status{
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,0,0,.65);
}

.contact-btn {
  background: linear-gradient(90deg, #f5b642, #ff9966);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(255,153,102,.3);
  transition: all .25s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,153,102,.4);
}

.contact-btn:active {
  transform: translateY(1px);
}

.contact-btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

/* === Footer fix for order page === */
body.order-page #contact,
body.order-page .footer-section,
body.order-page footer {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  position: relative !important;
  z-index: 2 !important;
  margin-top: 80px !important;
}

body.order-page main,
body.order-page .order-layout {
  padding-bottom: 280px !important; /* Reserve space for footer */
}

body.order-page #checkoutBar {
  z-index: 999; /* stay above main but below footer */
}

.scroll-reveal.footer-section {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* === Contact Hero Section === */
.hero-section {
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 200px 20px;
  color: #fff;
  font-family: "Playfair Display", serif;
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 80px 40px;
  backdrop-filter: blur(6px);
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
  letter-spacing: 2px;
  color: #ffffff;
}

.subline {
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  margin-bottom: 40px;
  color: #ffffff;
}

.input-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.input-wrap input {
  width: 300px;
  padding: 12px 18px;
  border-radius: 40px;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: "Playfair Display", serif;
  color: #333;
  background: rgba(255, 255, 255, 0.95);
}

.input-wrap input::placeholder {
  color: #999;
}

.btn-main {
  background: linear-gradient(90deg, #ff8b5c, #ff3ad0);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 58, 208, 0.4);
  font-family: "Playfair Display", serif;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 58, 208, 0.6);
}

.btn-main[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.status-msg {
  margin-top: 16px;
  font-size: 14px;
  min-height: 20px;
  color: #ffffff;
  font-family: "Playfair Display", serif;
}

@media (max-width: 820px) {
  .hero-content {
    padding: 60px 30px;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .subline {
    font-size: 26px;
  }
  .input-wrap {
    flex-direction: column;
  }
  .input-wrap input {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 120px 20px;
  }
  .hero-content {
    padding: 50px 20px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .subline {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .btn-main {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* ===== Order sub category tabs (Firestore) ===== */
.order-subtabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 18px;
}
.order-subtab{
  border:1px solid rgba(0,0,0,.18);
  background:rgba(255,255,255,.55);
  color:#2a2a2a;
  padding:8px 14px;
  border-radius:999px;
  cursor:pointer;
  font-family: "Playfair Display", serif;
}
.order-subtab.is-active{
  background:rgba(255,255,255,.95);
  border-color: rgba(0,0,0,.28);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.order-subtabs-empty{
  opacity:.7;
  padding:10px 0;
}

.contact-btn {
  background: linear-gradient(90deg, #f5b642, #ff9966);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(255,153,102,.3);
  transition: all .25s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,153,102,.4);
}

.contact-btn:active {
  transform: translateY(1px);
}

.contact-btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

/* === Footer fix for order page === */
body.order-page #contact,
body.order-page .footer-section,
body.order-page footer {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  position: relative !important;
  z-index: 2 !important;
  margin-top: 80px !important;
}

body.order-page main,
body.order-page .order-layout {
  padding-bottom: 280px !important; /* Reserve space for footer */
}

body.order-page #checkoutBar {
  z-index: 999; /* stay above main but below footer */
}

.scroll-reveal.footer-section {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* === FIX: restore CAKES/DAILY sidebar layout === */
body.order-page .order-layout {
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  gap: 20px !important;
  align-items: start !important;
}

body.order-page .order-sidebar {
  position: sticky !important;
  top: 16px !important;
  align-self: start !important;
}

body.order-page .order-main {
  overflow: visible !important;
  height: auto !important;
}

/* === FIX: enable scroll in CAKES groupOrders === */
body.order-page .order-main .groupOrders {
  overflow-y: auto !important;
  max-height: calc(100vh - 140px) !important;
  padding-right: 4px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

/* === Announcement Popup 样式开始 === */
.announcement-popup {
  position: fixed;
  bottom: -100%;
  left: 20px;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: bottom 0.6s ease-out;
  overflow: hidden;
  z-index: 999;
}

.announcement-popup.show {
  bottom: 20px;
}

.announcement-popup img {
  width: 100%;
  display: block;
}

.announcement-popup .content {
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
}

.announcement-popup .close-btn {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #666;
}
/* === Announcement Popup 样式结束 === */

