/* ==========================================================================
   KKTURE - Global DTC Brand Stylesheet
   Deodorant Roll-on Community & Commerce Platform
   Responsive: Mobile Sketch + Desktop Web Sketch
   ========================================================================== */

:root {
  --kkture-primary: #193832;         /* Deep Forest Botanical Green */
  --kkture-primary-light: #2A544B;   /* Sage Accent */
  --kkture-accent: #E07A5F;          /* Warm Terracotta / Coral */
  --kkture-accent-hover: #D0694E;
  --kkture-gold: #D4A373;            /* Warm Sand / Amber */
  --kkture-bg: #F8F6F2;              /* Warm Linen Off-White */
  --kkture-surface: #FFFFFF;         /* Pure Card White */
  --kkture-text-dark: #1F2421;       /* Deep Charcoal */
  --kkture-text-muted: #6C757D;      /* Muted Slate */
  --kkture-border: #E8E5DF;          /* Soft Divider */
  --kkture-border-focus: #193832;
  --kkture-radius-sm: 8px;
  --kkture-radius-md: 14px;
  --kkture-radius-lg: 20px;
  --kkture-radius-pill: 999px;
  --kkture-shadow-sm: 0 2px 8px rgba(25, 56, 50, 0.04);
  --kkture-shadow-md: 0 8px 24px rgba(25, 56, 50, 0.08);
  --kkture-shadow-lg: 0 16px 40px rgba(25, 56, 50, 0.12);
  --kkture-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --kkture-font-serif: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--kkture-font);
  background-color: var(--kkture-bg);
  color: var(--kkture-text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 75px; /* for mobile tabbar buffer */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Desktop Header (Sketch 1) */
.desktop-header {
  display: none;
  background: var(--kkture-surface);
  border-bottom: 1px solid var(--kkture-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--kkture-shadow-sm);
}

@media (min-width: 769px) {
  .desktop-header {
    display: block;
  }
}

.desktop-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--kkture-primary);
  text-transform: uppercase;
}

.brand-logo .logo-leaf {
  width: 28px;
  height: 28px;
  background: var(--kkture-primary);
  color: white;
  border-radius: 50% 50% 50% 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.brand-tagline-micro {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--kkture-text-muted);
  text-transform: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--kkture-text-dark);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 8px 4px;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--kkture-primary-light);
}

.nav-link .badge-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--kkture-text-muted);
  background: #EAE6DF;
  padding: 2px 7px;
  border-radius: var(--kkture-radius-pill);
}

.desktop-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-post-primary {
  background: var(--kkture-primary);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--kkture-radius-pill);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(25, 56, 50, 0.15);
}

.btn-post-primary:hover {
  background: var(--kkture-primary-light);
  transform: translateY(-1px);
}

.cart-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--kkture-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kkture-primary);
  transition: all 0.2s;
}

.cart-icon-btn:hover {
  background: #EFECE6;
}

.cart-badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--kkture-accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Header (Sketch 2) */
.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--kkture-surface);
  border-bottom: 1px solid var(--kkture-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

@media (min-width: 769px) {
  .mobile-header {
    display: none;
  }
}

.mobile-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--kkture-primary);
}

.mobile-top-tabs {
  display: flex;
  background: #EBE7E1;
  padding: 3px;
  border-radius: var(--kkture-radius-pill);
}

.mobile-tab-btn {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--kkture-radius-pill);
  color: var(--kkture-text-dark);
  transition: all 0.2s;
}

.mobile-tab-btn.active {
  background: var(--kkture-primary);
  color: white;
}

/* ==========================================================================
   Hero Banner Section (Matches Sketch 1 & 2)
   ========================================================================== */

.kkture-hero {
  position: relative;
  background: linear-gradient(135deg, #1B3832 0%, #294D44 60%, #346056 100%);
  color: #FFFFFF;
  padding: 50px 24px 60px;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 769px) {
  .kkture-hero {
    padding: 70px 40px 80px;
  }
}

.hero-pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  background-image: radial-gradient(#FFFFFF 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 18px;
  border-radius: var(--kkture-radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}

@media (min-width: 769px) {
  .hero-title {
    font-size: 52px;
  }
}

.hero-title span {
  color: #F4D35E;
}

.hero-slogan-cn {
  font-size: 17px;
  font-weight: 400;
  color: #D6E4E1;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

@media (min-width: 769px) {
  .hero-slogan-cn {
    font-size: 20px;
  }
}

/* Two Core Buttons (新用户测评 | 老用户复购) */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}

.btn-hero-test {
  flex: 1;
  background: #F4D35E;
  color: #193832;
  padding: 16px 28px;
  border-radius: var(--kkture-radius-pill);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(244, 211, 94, 0.35);
  transition: all 0.25s ease;
}

.btn-hero-test:hover {
  background: #FFE071;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(244, 211, 94, 0.45);
}

.btn-hero-reorder {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  padding: 16px 28px;
  border-radius: var(--kkture-radius-pill);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-hero-reorder:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-meta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  font-size: 12px;
  color: #BFD4CE;
}

.hero-meta-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Community Authors / Avatar Row (Sketch 1 & 2)
   ========================================================================== */

.avatar-stories-section {
  background: var(--kkture-surface);
  border-bottom: 1px solid var(--kkture-border);
  padding: 16px 0;
}

.avatar-scroll-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.avatar-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.story-avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  cursor: pointer;
  group: hover;
}

.avatar-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(45deg, #1B3832, #D4A373, #E07A5F);
  position: relative;
  transition: transform 0.2s;
}

.story-avatar-item:hover .avatar-ring {
  transform: scale(1.06);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.avatar-badge-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #2D6A4F;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid white;
}

.avatar-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--kkture-text-dark);
  max-width: 64px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar-tagline {
  font-size: 10px;
  color: var(--kkture-text-muted);
}

/* ==========================================================================
   Main Content Layout (Category Bar + Waterfall Feed)
   ========================================================================== */

.main-feed-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

@media (min-width: 769px) {
  .main-feed-wrapper {
    padding: 36px 32px 64px;
  }
}

/* Header row with Feed Title and Category Filter Bar */
.feed-controls-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 769px) {
  .feed-controls-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.feed-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.feed-heading h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--kkture-primary);
  letter-spacing: -0.3px;
}

.feed-heading span {
  font-size: 13px;
  color: var(--kkture-text-muted);
}

/* Category Filter Tabs (Right side '分类' in Sketch 1) */
.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-filter-bar::-webkit-scrollbar {
  display: none;
}

.category-filter-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--kkture-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 4px;
  flex-shrink: 0;
}

.category-pill {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kkture-text-dark);
  background: var(--kkture-surface);
  border: 1px solid var(--kkture-border);
  border-radius: var(--kkture-radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.category-pill:hover {
  background: #EFECE6;
  border-color: #DCD6CD;
}

.category-pill.active {
  background: var(--kkture-primary);
  color: #FFFFFF;
  border-color: var(--kkture-primary);
  box-shadow: 0 2px 8px rgba(25, 56, 50, 0.15);
}

/* ==========================================================================
   Waterfall / Masonry Community Feed
   Desktop: 5 Columns (Sketch 1)
   Mobile: 2 Columns (Sketch 2)
   ========================================================================== */

.masonry-feed-container {
  /* CSS Column-based Masonry */
  column-count: 2; /* Mobile default (Sketch 2) */
  column-gap: 14px;
}

@media (min-width: 600px) {
  .masonry-feed-container {
    column-count: 3;
    column-gap: 18px;
  }
}

@media (min-width: 1024px) {
  .masonry-feed-container {
    column-count: 4;
    column-gap: 20px;
  }
}

@media (min-width: 1280px) {
  .masonry-feed-container {
    column-count: 5; /* Desktop 5-column (Sketch 1) */
    column-gap: 22px;
  }
}

/* Community Post Card */
.feed-post-card {
  break-inside: avoid;
  background: var(--kkture-surface);
  border-radius: var(--kkture-radius-md);
  overflow: hidden;
  box-shadow: var(--kkture-shadow-sm);
  border: 1px solid var(--kkture-border);
  margin-bottom: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.feed-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kkture-shadow-md);
  border-color: #DBD6CC;
}

.post-media-wrap {
  position: relative;
  overflow: hidden;
  background: #EBE7DF;
}

.post-media-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.feed-post-card:hover .post-media-wrap img {
  transform: scale(1.03);
}

.post-tag-floating {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(25, 56, 50, 0.82);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--kkture-radius-pill);
}

.post-verified-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--kkture-primary);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 3px;
}

.post-content-wrap {
  padding: 12px 14px 14px;
}

.post-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--kkture-text-dark);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 769px) {
  .post-title {
    font-size: 15px;
  }
}

.post-body-snippet {
  font-size: 12px;
  color: var(--kkture-text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tagged Deodorant Roll-on Pill */
.post-tagged-product {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F4F1EA;
  padding: 5px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--kkture-primary);
  font-weight: 600;
}

.post-tagged-product i {
  color: var(--kkture-accent);
}

.post-author-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #F0ECE4;
}

.author-info-left {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.author-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-username {
  font-size: 11px;
  font-weight: 600;
  color: var(--kkture-text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

.post-like-action {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--kkture-text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.post-like-action:hover, .post-like-action.liked {
  color: #E63946;
}

/* ==========================================================================
   Mobile Bottom Navigation Bar (Sketch 2: TEST | MALL | + | MY)
   ========================================================================== */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: var(--kkture-surface);
  border-top: 1px solid var(--kkture-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.tab-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--kkture-text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  position: relative;
  transition: color 0.2s;
}

.tab-nav-btn i {
  font-size: 18px;
}

.tab-nav-btn.active {
  color: var(--kkture-primary);
}

/* Prominent Floating Center (+) Post Button in Sketch 2 */
.tab-nav-btn.btn-tab-post {
  color: white;
  margin-top: -18px;
}

.tab-nav-btn.btn-tab-post .plus-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--kkture-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(25, 56, 50, 0.35);
  transition: transform 0.2s;
}

.tab-nav-btn.btn-tab-post:hover .plus-circle {
  transform: scale(1.05);
}

/* ==========================================================================
   Modals & Drawers
   ========================================================================== */

.kkture-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.kkture-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.kkture-modal-card {
  background: var(--kkture-surface);
  border-radius: var(--kkture-radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--kkture-shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.kkture-modal-overlay.active .kkture-modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F0ECE4;
  color: var(--kkture-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #E2DDD3;
}

/* ==========================================================================
   1. 新用户测评 (TEST Modal & Interactive Quiz)
   ========================================================================== */

.quiz-header {
  padding: 32px 32px 20px;
  background: linear-gradient(135deg, #1B3832, #294D44);
  color: white;
  border-radius: var(--kkture-radius-lg) var(--kkture-radius-lg) 0 0;
}

.quiz-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.quiz-header p {
  font-size: 13px;
  color: #C7DFD9;
}

.quiz-steps-indicator {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.step-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  transition: background 0.3s;
}

.step-bar.active {
  background: #F4D35E;
}

.quiz-body {
  padding: 28px 32px;
}

.quiz-question-box {
  display: none;
}

.quiz-question-box.active {
  display: block;
}

.question-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--kkture-primary);
}

.question-desc {
  font-size: 13px;
  color: var(--kkture-text-muted);
  margin-bottom: 20px;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 500px) {
  .quiz-options-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.quiz-option-card {
  padding: 16px;
  border: 1.5px solid var(--kkture-border);
  border-radius: var(--kkture-radius-md);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.quiz-option-card:hover {
  border-color: var(--kkture-primary-light);
  background: #FAF8F4;
}

.quiz-option-card.selected {
  border-color: var(--kkture-primary);
  background: #EEF4F2;
  box-shadow: 0 0 0 2px var(--kkture-primary);
}

.option-icon {
  font-size: 22px;
  color: var(--kkture-primary);
}

.option-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--kkture-text-dark);
}

.option-sub {
  font-size: 12px;
  color: var(--kkture-text-muted);
}

.quiz-footer {
  padding: 20px 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--kkture-border);
}

/* Quiz Result Card */
.quiz-result-box {
  display: none;
  padding: 24px;
}

.quiz-result-box.active {
  display: block;
}

.result-badge {
  display: inline-block;
  background: #D8F3DC;
  color: #1B4332;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--kkture-radius-pill);
  margin-bottom: 12px;
}

.result-recommendation-card {
  display: flex;
  flex-direction: column;
  background: #FAF8F4;
  border: 1px solid var(--kkture-border);
  border-radius: var(--kkture-radius-md);
  padding: 18px;
  gap: 16px;
  margin: 18px 0;
}

@media (min-width: 500px) {
  .result-recommendation-card {
    flex-direction: row;
    align-items: center;
  }
}

.result-rec-img {
  width: 90px;
  height: 90px;
  border-radius: var(--kkture-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.result-rec-info {
  flex: 1;
}

.result-rec-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--kkture-primary);
  margin-bottom: 4px;
}

.result-rec-desc {
  font-size: 12px;
  color: var(--kkture-text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.result-rec-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--kkture-accent);
}

/* ==========================================================================
   2. 商城与老用户复购 (MALL & Quick Reorder Drawer / Section)
   ========================================================================== */

.reorder-banner-strip {
  background: #FFF8E7;
  border: 1px solid #FFE4A0;
  border-radius: var(--kkture-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.reorder-strip-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reorder-strip-icon {
  width: 42px;
  height: 42px;
  background: #F4D35E;
  color: #193832;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.reorder-strip-title {
  font-size: 14px;
  font-weight: 700;
  color: #3D2C00;
}

.reorder-strip-desc {
  font-size: 12px;
  color: #6B551E;
}

.btn-quick-reorder-go {
  background: #193832;
  color: white;
  padding: 8px 18px;
  border-radius: var(--kkture-radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.mall-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

@media (min-width: 600px) {
  .mall-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .mall-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--kkture-surface);
  border-radius: var(--kkture-radius-md);
  border: 1px solid var(--kkture-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--kkture-shadow-sm);
  transition: all 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kkture-shadow-md);
}

.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #EDEAE4;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-discount-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--kkture-accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--kkture-radius-pill);
}

.product-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-scent-tag {
  font-size: 11px;
  font-weight: 600;
  color: #2D6A4F;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--kkture-text-dark);
  margin-bottom: 6px;
}

.product-meta-specs {
  font-size: 12px;
  color: var(--kkture-text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #F0ECE4;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--kkture-primary);
}

.product-original-price {
  font-size: 12px;
  color: var(--kkture-text-muted);
  text-decoration: line-through;
  margin-left: 4px;
}

.btn-add-cart {
  background: var(--kkture-primary);
  color: white;
  padding: 8px 14px;
  border-radius: var(--kkture-radius-pill);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-add-cart:hover {
  background: var(--kkture-primary-light);
}

/* ==========================================================================
   3. 发帖分享模态框 (Post Sharing Form Modal)
   ========================================================================== */

.post-form-wrap {
  padding: 28px 32px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--kkture-text-dark);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--kkture-border);
  border-radius: var(--kkture-radius-sm);
  font-size: 14px;
  color: var(--kkture-text-dark);
  background: white;
  transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--kkture-primary);
}

.photo-uploader-box {
  border: 2px dashed #D6D1C6;
  border-radius: var(--kkture-radius-md);
  padding: 24px;
  text-align: center;
  background: #FAF8F4;
  cursor: pointer;
  transition: all 0.2s;
}

.photo-uploader-box:hover {
  border-color: var(--kkture-primary);
  background: #F4F1EA;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.photo-preview-item {
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   4. 个人中心与内容管理 (MY Account & Content Management Modal)
   ========================================================================== */

.my-account-header {
  padding: 28px 32px;
  background: #FAF8F4;
  border-bottom: 1px solid var(--kkture-border);
  display: flex;
  align-items: center;
  gap: 18px;
}

.my-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: var(--kkture-shadow-sm);
}

.my-info-wrap h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--kkture-primary);
}

.my-info-wrap p {
  font-size: 13px;
  color: var(--kkture-text-muted);
}

.my-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--kkture-border);
  padding: 0 32px;
  background: white;
}

.my-tab-item {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--kkture-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.my-tab-item.active {
  color: var(--kkture-primary);
  border-bottom-color: var(--kkture-primary);
}

.my-tab-content-panel {
  padding: 24px 32px;
  display: none;
}

.my-tab-content-panel.active {
  display: block;
}

/* My Post Item in Management list */
.my-post-manage-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #F0ECE4;
  gap: 12px;
}

.my-post-mini-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.my-post-mini-meta {
  flex: 1;
}

.my-post-mini-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--kkture-text-dark);
}

.my-post-mini-date {
  font-size: 12px;
  color: var(--kkture-text-muted);
}

.my-post-actions {
  display: flex;
  gap: 8px;
}

.btn-post-action {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--kkture-border);
}

.btn-post-delete {
  color: #E63946;
  border-color: #F8D7DA;
  background: #FFF5F5;
}

.btn-post-delete:hover {
  background: #FEE2E2;
}

/* ==========================================================================
   5. Shopping Cart Drawer
   ========================================================================== */

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: white;
  z-index: 2600;
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.active .cart-drawer {
  right: 0;
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--kkture-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--kkture-border);
  background: #FAF8F4;
}

.cart-item-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F0ECE4;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item-meta {
  flex: 1;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--kkture-primary);
}

.cart-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--kkture-accent);
  margin-top: 4px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--kkture-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.kkture-footer {
  background: #142824;
  color: #D6E4E1;
  padding: 48px 24px 80px;
  border-top: 1px solid #23423B;
}

@media (min-width: 769px) {
  .kkture-footer {
    padding: 60px 40px 40px;
  }
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 769px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.6;
  color: #A4C2BA;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #A4C2BA;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom-copy {
  max-width: 1440px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid #23423B;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #7A9E95;
}

@media (min-width: 769px) {
  .footer-bottom-copy {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Article Detail Page Styles (story-detail.html)
   ========================================================================== */

.article-page-container {
  max-width: 1280px;
  margin: 32px auto 80px;
  padding: 0 20px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--kkture-text-muted);
  margin-bottom: 24px;
}

.article-breadcrumb a:hover {
  color: var(--kkture-primary);
  text-decoration: underline;
}

/* Author action banner if it's the user's own post */
.author-manage-banner {
  background: #FFF9E6;
  border: 1.5px solid #FCD34D;
  border-radius: var(--kkture-radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.author-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #92400E;
}

.author-banner-actions {
  display: flex;
  gap: 10px;
}

/* Article Layout: Main Column + Sticky Sidebar */
.article-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .article-layout-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}

.article-main-content {
  background: white;
  border-radius: var(--kkture-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--kkture-shadow-sm);
  border: 1px solid var(--kkture-border);
}

@media (min-width: 769px) {
  .article-main-content {
    padding: 44px 48px;
  }
}

.article-category-badge {
  display: inline-block;
  background: #E8F5E9;
  color: #1B4D3E;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--kkture-radius-pill);
  margin-bottom: 14px;
}

.article-headline {
  font-size: 26px;
  font-weight: 800;
  color: var(--kkture-primary);
  line-height: 1.25;
  margin-bottom: 18px;
}

@media (min-width: 769px) {
  .article-headline {
    font-size: 34px;
  }
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--kkture-border);
  margin-bottom: 28px;
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #EFECE6;
}

.article-author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--kkture-text-dark);
}

.article-author-meta {
  font-size: 12px;
  color: var(--kkture-text-muted);
}

.article-stats-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--kkture-text-muted);
}

/* Odor Profile Card (体味与使用背景) */
.user-odor-profile-card {
  background: #FAF8F4;
  border: 1.5px solid #EFECE6;
  border-radius: var(--kkture-radius-md);
  padding: 20px;
  margin-bottom: 32px;
}

.profile-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--kkture-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .profile-tags-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.profile-tag-item {
  background: white;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--kkture-border);
}

.profile-tag-label {
  font-size: 11px;
  color: var(--kkture-text-muted);
  margin-bottom: 3px;
}

.profile-tag-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--kkture-text-dark);
}

/* Article Hero Image */
.article-hero-image-wrap {
  border-radius: var(--kkture-radius-md);
  overflow: hidden;
  margin-bottom: 32px;
  max-height: 480px;
}

.article-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rich Article Body */
.article-rich-body {
  font-size: 16px;
  line-height: 1.75;
  color: #2D3748;
}

.article-rich-body p {
  margin-bottom: 20px;
}

.article-rich-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--kkture-primary);
  margin: 32px 0 14px;
}

.article-quote-box {
  background: #F4F8F6;
  border-left: 4px solid var(--kkture-primary);
  padding: 16px 20px;
  border-radius: 0 var(--kkture-radius-sm) var(--kkture-radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: #1A302A;
  font-weight: 500;
}

/* Ratings Breakdown Bar */
.ratings-breakdown-box {
  background: #FAF8F4;
  border-radius: var(--kkture-radius-md);
  padding: 24px;
  margin: 32px 0;
  border: 1px solid var(--kkture-border);
}

.rating-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rating-row-item:last-child {
  margin-bottom: 0;
}

.rating-row-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--kkture-text-dark);
  width: 160px;
}

.rating-bar-track {
  flex: 1;
  height: 8px;
  background: #E8E5DF;
  border-radius: 4px;
  margin: 0 14px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2D6A4F, #52B788);
  border-radius: 4px;
}

.rating-score-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--kkture-primary);
  width: 32px;
  text-align: right;
}

/* Sticky Product Buy Box in Sidebar */
.sticky-product-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-product-card {
  background: white;
  border-radius: var(--kkture-radius-lg);
  padding: 24px;
  border: 1px solid var(--kkture-border);
  box-shadow: var(--kkture-shadow-sm);
}

.sidebar-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--kkture-text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sidebar-product-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--kkture-radius-md);
  object-fit: cover;
  margin-bottom: 16px;
  background: #FAF8F4;
}

.sidebar-product-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--kkture-primary);
  margin-bottom: 6px;
}

.sidebar-product-desc {
  font-size: 13px;
  color: var(--kkture-text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.sidebar-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}

.sidebar-now-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--kkture-accent);
}

.sidebar-orig-price {
  font-size: 14px;
  color: var(--kkture-text-muted);
  text-decoration: line-through;
}

.btn-buy-article-product {
  width: 100%;
  background: var(--kkture-primary);
  color: white;
  padding: 14px;
  border-radius: var(--kkture-radius-pill);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(25, 56, 50, 0.2);
}

.btn-buy-article-product:hover {
  background: var(--kkture-primary-light);
  transform: translateY(-2px);
}

/* Comments Section */
.article-comments-block {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--kkture-border);
}

.comments-header-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--kkture-primary);
  margin-bottom: 20px;
}

.comment-input-card {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
}

.comment-input-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-input-field-wrap {
  flex: 1;
}

.comment-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--kkture-border);
  border-radius: var(--kkture-radius-md);
  font-size: 14px;
  resize: vertical;
  background: #FAF8F4;
  transition: border-color 0.2s;
}

.comment-textarea:focus {
  outline: none;
  border-color: var(--kkture-primary);
  background: white;
}

.comment-submit-btn-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.single-comment-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #F0ECE4;
}

.comment-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-body-area {
  flex: 1;
}

.comment-user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--kkture-text-dark);
}

.comment-timestamp {
  font-size: 11px;
  color: var(--kkture-text-muted);
  margin-left: 8px;
  font-weight: normal;
}

.comment-text-content {
  font-size: 14px;
  color: #333;
  margin-top: 6px;
  line-height: 1.45;
}

/* ==========================================================================
   Article Management Dashboard Styles (my-stories.html)
   ========================================================================== */

.management-container {
  max-width: 1200px;
  margin: 36px auto 80px;
  padding: 0 20px;
}

.management-header-banner {
  background: white;
  border-radius: var(--kkture-radius-lg);
  padding: 32px;
  border: 1px solid var(--kkture-border);
  box-shadow: var(--kkture-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
}

@media (min-width: 769px) {
  .management-header-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.management-headline h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--kkture-primary);
  margin-bottom: 6px;
}

.management-headline p {
  font-size: 14px;
  color: var(--kkture-text-muted);
}

.management-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 769px) {
  .management-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-metric-card {
  background: white;
  border-radius: var(--kkture-radius-md);
  padding: 20px;
  border: 1px solid var(--kkture-border);
  box-shadow: var(--kkture-shadow-sm);
}

.stat-metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--kkture-text-muted);
  margin-bottom: 6px;
}

.stat-metric-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--kkture-primary);
}

.management-content-card {
  background: white;
  border-radius: var(--kkture-radius-lg);
  border: 1px solid var(--kkture-border);
  box-shadow: var(--kkture-shadow-sm);
  overflow: hidden;
}

.management-filter-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--kkture-border);
  background: #FAF8F4;
}

.manage-tab-btn-group {
  display: flex;
  gap: 8px;
}

.manage-tab-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--kkture-radius-pill);
  color: var(--kkture-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.manage-tab-btn.active {
  background: var(--kkture-primary);
  color: white;
}

/* Articles Management Table / List */
.manage-articles-list {
  padding: 0 24px;
}

.manage-article-row {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid #F0ECE4;
  gap: 16px;
}

@media (min-width: 769px) {
  .manage-article-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.manage-article-info-left {
  display: flex;
  gap: 16px;
  align-items: center;
}

.manage-article-thumb {
  width: 90px;
  height: 90px;
  border-radius: var(--kkture-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.manage-article-title-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--kkture-primary);
  margin-bottom: 6px;
  display: block;
}

.manage-article-title-link:hover {
  text-decoration: underline;
}

.manage-article-meta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--kkture-text-muted);
}

.manage-article-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ==========================================================================
   Article Editor Styles (editor.html)
   ========================================================================== */

.editor-wrapper {
  max-width: 1000px;
  margin: 36px auto 80px;
  padding: 0 20px;
}

.editor-form-card {
  background: white;
  border-radius: var(--kkture-radius-lg);
  padding: 36px;
  border: 1px solid var(--kkture-border);
  box-shadow: var(--kkture-shadow-sm);
}

.editor-header-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--kkture-primary);
  margin-bottom: 8px;
}

.editor-header-sub {
  font-size: 14px;
  color: var(--kkture-text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--kkture-border);
}

/* ==========================================================================
   Clinical Medical Health Examination Report Styles (体检报告风格)
   ========================================================================== */

.medical-report-sheet {
  background: white;
  border-radius: var(--kkture-radius-lg);
  border: 1.5px solid #D1D5DB;
  box-shadow: 0 12px 32px rgba(25, 56, 50, 0.08);
  overflow: hidden;
  position: relative;
  margin-top: 10px;
}

/* Security guilloche border header */
.medical-official-header {
  background: #F9FAFB;
  border-bottom: 2px solid #E5E7EB;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

@media (min-width: 680px) {
  .medical-official-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.medical-crest-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.medical-cross-icon {
  width: 46px;
  height: 46px;
  background: #1B3832;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(27, 56, 50, 0.2);
}

.medical-lab-name {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.5px;
}

.medical-lab-sub {
  font-size: 11px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.medical-doc-meta {
  text-align: left;
  font-size: 12px;
  color: #4B5563;
  line-height: 1.6;
}

@media (min-width: 680px) {
  .medical-doc-meta {
    text-align: right;
  }
}

/* Official Red/Gold Stamp Watermark */
.medical-official-stamp {
  position: absolute;
  top: 16px;
  right: 180px;
  width: 90px;
  height: 90px;
  border: 2px dashed #DC2626;
  border-radius: 50%;
  color: #DC2626;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  transform: rotate(-14deg);
  opacity: 0.75;
  pointer-events: none;
  background: rgba(254, 226, 226, 0.2);
}

@media (max-width: 768px) {
  .medical-official-stamp {
    display: none;
  }
}

/* Medical Patient Info Bar */
.medical-patient-strip {
  background: #F3F4F6;
  border-bottom: 1px solid #E5E7EB;
  padding: 12px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: #374151;
}

.patient-info-item strong {
  color: #111827;
  font-weight: 700;
}

/* Clinical Parameters Data Table */
.medical-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

.medical-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.medical-data-table th {
  background: #F9FAFB;
  color: #4B5563;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1.5px solid #E5E7EB;
  font-weight: 700;
}

.medical-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #F3F4F6;
  color: #1F2937;
}

.medical-status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--kkture-radius-pill);
}

.status-abnormal {
  background: #FEE2E2;
  color: #991B1B;
}

.status-warning {
  background: #FEF3C7;
  color: #92400E;
}

.status-optimal {
  background: #DEF7EC;
  color: #03543F;
}

/* Pathology explanation callout */
.pathology-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--kkture-radius-md);
  padding: 24px;
  margin: 24px 0;
}

.pathology-title {
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pathology-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #475569;
}

/* 3-Phase Roadmap */
.rehab-roadmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 20px 0;
}

@media (min-width: 640px) {
  .rehab-roadmap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.roadmap-step-card {
  background: #FAF8F4;
  border: 1.5px solid #EFECE6;
  border-radius: var(--kkture-radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.roadmap-phase-num {
  font-size: 11px;
  font-weight: 800;
  color: #1B3832;
  background: #EAE6DF;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  align-self: flex-start;
}

.roadmap-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.roadmap-desc {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.45;
}

/* Official Prescription Box */
.official-prescription-card {
  background: #F0FDF4;
  border: 2px solid #86EFAC;
  border-radius: var(--kkture-radius-lg);
  padding: 28px;
  margin: 28px 0;
}

.prescription-rx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 900;
  color: #15803D;
  font-family: Georgia, serif;
  margin-bottom: 12px;
}

.rx-product-display {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 14px;
}

@media (min-width: 600px) {
  .rx-product-display {
    flex-direction: row;
    align-items: center;
  }
}

.rx-thumb {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.rx-meta-body {
  flex: 1;
}

.rx-title {
  font-size: 20px;
  font-weight: 800;
  color: #14532D;
  margin-bottom: 6px;
}

.rx-formula-list {
  font-size: 12px;
  color: #166534;
  line-height: 1.5;
  margin-bottom: 12px;
}

.rx-price-tag {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.rx-price-now {
  font-size: 26px;
  font-weight: 900;
  color: var(--kkture-accent);
}

.rx-price-orig {
  font-size: 14px;
  color: #9CA3AF;
  text-decoration: line-through;
}

/* Doctor Signature Line */
.doctor-sign-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px dashed #CBD5E1;
  font-size: 12px;
  color: #64748B;
}

.signature-font {
  font-family: 'Playfair Display', cursive, serif;
  font-style: italic;
  font-size: 22px;
  color: #1E293B;
  font-weight: 700;
}




/* ==========================================================================
   CLINICAL ASSESSMENT: FREE VS. PAID SUBSCRIPTION SYSTEM
   ========================================================================== */

.report-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.report-tier-badge.tier-free {
  background: #E8F5E9;
  color: #1B4D3E;
  border: 1px solid #A3E635;
}

.report-tier-badge.tier-vip {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  color: #92400E;
  border: 1px solid #F59E0B;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
}

.trait-hero-box {
  background: linear-gradient(135deg, #F8FAF9 0%, #EFF6F3 100%);
  border: 2px solid #D1E7DD;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.trait-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.trait-hero-name {
  font-size: 26px;
  font-weight: 900;
  color: #193832;
  font-family: Georgia, serif;
}

.trait-hero-en {
  font-size: 13px;
  color: #64748B;
  font-weight: 600;
  margin-top: 2px;
}

.trait-hero-sub {
  font-size: 14px;
  font-weight: 700;
  color: #2D6A4F;
  margin-top: 6px;
  display: inline-block;
  background: #D8F3DC;
  padding: 3px 10px;
  border-radius: 6px;
}

.trait-hero-overview {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin-top: 12px;
  background: white;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
}

/* Efficacy Evolution Bar (2h -> 4h -> 6h -> all-day) */
.efficacy-evolution-box {
  background: #FAF8F4;
  border: 1.5px solid #E5DFD5;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0;
}

.efficacy-evolution-title {
  font-size: 13px;
  font-weight: 800;
  color: #78350F;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.efficacy-timeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 20px 10px 10px;
}

.efficacy-timeline-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: #E2E8F0;
  z-index: 1;
  transform: translateY(-50%);
}

.efficacy-step-node {
  position: relative;
  z-index: 2;
  background: white;
  border: 2px solid #CBD5E1;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
  transition: all 0.2s ease;
}

.efficacy-step-node.active {
  border-color: #2D6A4F;
  background: #2D6A4F;
  color: white;
  box-shadow: 0 0 0 4px #D8F3DC;
}

.efficacy-step-label {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-align: center;
}

/* VIP Paid Subscription Section */
.vip-subscription-container {
  margin-top: 36px;
  border-top: 2px dashed #E2E8F0;
  padding-top: 32px;
}

.vip-lock-card {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 20px;
  padding: 36px 32px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  border: 1px solid #334155;
}

.vip-lock-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.vip-lock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.vip-lock-badge {
  background: linear-gradient(90deg, #F59E0B, #D97706);
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vip-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 24px 0;
}

@media (min-width: 600px) {
  .vip-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.vip-preview-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  backdrop-filter: blur(8px);
}

.vip-preview-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.vip-pricing-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  padding: 20px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-vip-subscribe {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #111827;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-vip-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

.btn-vip-demo-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #FDE68A;
  border: 1px dashed #F59E0B;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-vip-demo-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Unlocked VIP Report Sections */
.vip-unlocked-container {
  display: block;
  animation: fadeIn 0.4s ease;
}

.vip-unlocked-card {
  background: white;
  border: 2px solid #F59E0B;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
  margin-top: 24px;
}

.vip-unlocked-header {
  background: linear-gradient(135deg, #78350F 0%, #451A03 100%);
  color: white;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vip-unlocked-body {
  padding: 28px 24px;
}

.lifestyle-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 20px 0;
}

@media (min-width: 768px) {
  .lifestyle-pillar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lifestyle-pillar-card {
  background: #FAF8F4;
  border: 1px solid var(--kkture-border);
  border-radius: 12px;
  padding: 20px;
}

.lifestyle-pillar-title {
  font-size: 15px;
  font-weight: 800;
  color: #193832;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E5E7EB;
}

.food-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.food-tag-good {
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.food-tag-bad {
  background: #FEE2E2;
  color: #B91C1C;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Mall Trait Tabs */
.mall-trait-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.mall-trait-filter-bar::-webkit-scrollbar {
  height: 4px;
}
.mall-trait-filter-bar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.mall-trait-tab-btn {
  white-space: nowrap;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  background: white;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mall-trait-tab-btn:hover {
  border-color: #2D6A4F;
  color: #2D6A4F;
}

.mall-trait-tab-btn.active {
  background: #193832;
  color: white;
  border-color: #193832;
  box-shadow: 0 4px 12px rgba(25, 56, 50, 0.2);
}

.product-trait-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(25, 56, 50, 0.9);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.product-herbal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0;
}

.product-herbal-pill {
  font-size: 11px;
  background: #F1F5F9;
  color: #475569;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.product-effect-notice {
  font-size: 11px;
  color: #15803D;
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
  padding: 4px 8px;
  border-radius: 6px;
  margin: 6px 0 10px;
  line-height: 1.35;
}

/* ==========================================================================
   HOMEPAGE NAVIGATION DROPDOWNS & BUTTON ENHANCEMENTS
   ========================================================================== */

.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: white;
  min-width: 330px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.nav-dropdown-header {
  padding: 6px 10px 10px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 6px;
}

.nav-dropdown-header h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--kkture-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-header p {
  font-size: 11px;
  color: var(--kkture-text-muted);
  margin: 2px 0 0;
  line-height: 1.4;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--kkture-text-dark);
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.nav-dropdown-item:hover {
  background: #F4F8F6;
  color: var(--kkture-primary);
  transform: translateX(2px);
}

.nav-dropdown-item i {
  font-size: 15px;
  color: var(--kkture-primary);
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.nav-dropdown-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--kkture-text-dark);
  line-height: 1.3;
}

.nav-dropdown-item:hover strong {
  color: var(--kkture-primary);
}

.nav-dropdown-item span {
  display: block;
  font-size: 11px;
  color: var(--kkture-text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.nav-dropdown-item.highlight-action {
  background: #FAF8F4;
  border: 1px solid #EAE6DF;
}

.nav-dropdown-item.highlight-action:hover {
  background: #EEF5F3;
  border-color: var(--kkture-primary);
}

.nav-user-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #F4F8F6;
  border-radius: 10px;
  margin-bottom: 8px;
}

.nav-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.nav-user-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--kkture-primary);
}

.nav-user-role {
  font-size: 11px;
  color: #15803D;
  font-weight: 600;
}

.nav-trait-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: #FAF8F4;
  border-radius: 10px;
  margin-top: 6px;
}

.nav-trait-chip {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: white;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.nav-trait-chip:hover {
  background: var(--kkture-primary);
  color: white;
  border-color: var(--kkture-primary);
}

/* Toast Notification for quick actions */
.kkture-toast-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #193832;
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.kkture-toast-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cart-icon-btn {
  position: relative;
  transition: transform 0.2s;
}

.cart-icon-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   HERO BANNER CAROUSEL (大屏轮播图优化)
   ========================================================================== */

.kkture-hero-carousel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #193832 0%, #122B26 100%);
  color: white;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: grid;
  grid-template-areas: "slide";
}

@media (min-width: 900px) {
  .hero-carousel-track {
    min-height: 520px;
  }
}

.hero-carousel-slide {
  grid-area: slide;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.97);
  display: flex;
  align-items: center;
  padding: 50px 24px 64px;
  box-sizing: border-box;
}

.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-slide-bg.bg-pattern {
  opacity: 0.12;
  background-image: radial-gradient(#FFFFFF 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

@media (min-width: 900px) {
  .hero-slide-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
    justify-content: space-between;
  }
}

.hero-slide-text {
  flex: 1.1;
  max-width: 640px;
}

.hero-slide-visual {
  flex: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 460px;
}

@media (max-width: 899px) {
  .hero-slide-visual {
    display: none;
  }
}

.hero-visual-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border: 2px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease;
}

.hero-visual-card:hover {
  transform: translateY(-4px);
}

.hero-visual-img {
  width: 100%;
  max-width: 440px;
  height: 310px;
  object-fit: cover;
  display: block;
}

.hero-floating-stat {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(18, 43, 38, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-stat-num {
  font-size: 22px;
  font-weight: 900;
  color: #F4D35E;
}

.hero-stat-label {
  font-size: 11px;
  opacity: 0.9;
  line-height: 1.3;
}

/* Carousel Arrow Navigation Buttons */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  font-size: 16px;
}

.hero-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.hero-carousel-arrow.prev {
  left: 20px;
}

.hero-carousel-arrow.next {
  right: 20px;
}

@media (max-width: 680px) {
  .hero-carousel-arrow {
    display: none;
  }
}

/* Indicators (Pills / Dots) */
.hero-carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  padding: 0;
}

.hero-indicator-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-indicator-dot.active {
  width: 32px;
  border-radius: 999px;
  background: #F4D35E;
}

/* ==========================================================================
   PRODUCT CARDS ENHANCEMENT (MALL & HOME)
   ========================================================================== */
.product-card {
  cursor: pointer;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.product-thumb-hover-view {
  position: absolute;
  inset: 0;
  background: rgba(25, 56, 50, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 5;
}

.product-card:hover .product-thumb-hover-view {
  opacity: 1;
}

.btn-thumb-preview {
  background: white;
  color: var(--kkture-primary);
  padding: 8px 16px;
  border-radius: var(--kkture-radius-pill);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: translateY(6px);
  transition: transform 0.25s ease;
}

.product-card:hover .btn-thumb-preview {
  transform: translateY(0);
}

.product-title-link {
  color: var(--kkture-text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.product-title-link:hover {
  color: #2D6A4F;
  text-decoration: underline;
}

.product-card-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-detail-link {
  background: #F4F1EA;
  color: var(--kkture-primary);
  border: 1.5px solid #DDD6C8;
  padding: 8px 12px;
  border-radius: var(--kkture-radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-detail-link:hover {
  background: #E8E2D5;
  border-color: var(--kkture-primary);
  color: var(--kkture-primary-light);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) STYLES
   ========================================================================== */
.pdp-wrapper {
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.pdp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--kkture-text-muted);
  margin-bottom: 24px;
}

.pdp-breadcrumb a {
  color: var(--kkture-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.pdp-breadcrumb a:hover {
  color: var(--kkture-primary);
}

.pdp-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .pdp-main-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

/* PDP Gallery */
.pdp-gallery-wrap {
  position: sticky;
  top: 90px;
}

.pdp-main-image-card {
  position: relative;
  background: #EDEAE4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  border: 1px solid var(--kkture-border);
}

.pdp-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.pdp-badge-trait {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(25, 56, 50, 0.92);
  color: white;
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pdp-badge-promo {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--kkture-accent);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pdp-badge-clean {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-around;
  font-size: 12px;
  font-weight: 700;
  color: #193832;
}

.pdp-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.pdp-thumb-item {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #EDEAE4;
  transition: all 0.2s;
}

.pdp-thumb-item.active, .pdp-thumb-item:hover {
  border-color: var(--kkture-primary);
  transform: scale(1.04);
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PDP Buy Box */
.pdp-buy-box {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: 1.5px solid var(--kkture-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.pdp-trait-tag-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.pdp-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--kkture-text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.pdp-en-title {
  font-size: 14px;
  color: var(--kkture-text-muted);
  margin-bottom: 14px;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--kkture-text-muted);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--kkture-border);
}

.pdp-stars {
  color: #F59E0B;
}

.pdp-scent-bar {
  background: #F4F8F6;
  border-left: 4px solid #2D6A4F;
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.pdp-scent-label {
  font-size: 11px;
  font-weight: 700;
  color: #2D6A4F;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.pdp-scent-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--kkture-text-dark);
}

/* Pricing Section */
.pdp-pricing-wrap {
  margin-bottom: 22px;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.pdp-price-current {
  font-size: 32px;
  font-weight: 900;
  color: var(--kkture-primary);
}

.pdp-price-orig {
  font-size: 18px;
  color: var(--kkture-text-muted);
  text-decoration: line-through;
}

.pdp-price-badge {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Bundle Option Card */
.pdp-bundle-card {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  cursor: pointer;
  transition: all 0.2s;
}

.pdp-bundle-card:hover {
  background: #FEF3C7;
}

/* 8-Trait Quick Switcher Pills */
.pdp-trait-switch-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--kkture-text-dark);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.pdp-trait-switch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .pdp-trait-switch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pdp-trait-btn {
  padding: 8px 6px;
  text-align: center;
  background: #FAF8F4;
  border: 1.5px solid var(--kkture-border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--kkture-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.pdp-trait-btn:hover {
  border-color: var(--kkture-primary);
  color: var(--kkture-primary);
}

.pdp-trait-btn.active {
  background: var(--kkture-primary);
  border-color: var(--kkture-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(25, 56, 50, 0.25);
}

/* Actions Row */
.pdp-actions-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.pdp-qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--kkture-border);
  border-radius: var(--kkture-radius-pill);
  overflow: hidden;
  height: 48px;
}

.pdp-qty-btn {
  width: 42px;
  height: 100%;
  background: #FAF8F4;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--kkture-text-dark);
  cursor: pointer;
  transition: background 0.2s;
}

.pdp-qty-btn:hover {
  background: #ECE8E0;
}

.pdp-qty-val {
  width: 40px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}

.pdp-btn-add {
  flex: 1;
  background: var(--kkture-primary);
  color: white;
  border: none;
  border-radius: var(--kkture-radius-pill);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  height: 48px;
}

.pdp-btn-add:hover {
  background: var(--kkture-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(25, 56, 50, 0.2);
}

.pdp-btn-reorder-instant {
  background: #F4D35E;
  color: #193832;
  border: none;
  border-radius: var(--kkture-radius-pill);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  padding: 0 20px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.pdp-btn-reorder-instant:hover {
  background: #E5C34F;
  transform: translateY(-2px);
}

/* Guarantees Box */
.pdp-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--kkture-border);
}

.pdp-guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--kkture-text-dark);
}

.pdp-guarantee-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F4F8F6;
  color: #2D6A4F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* PDP Tabs Section */
.pdp-tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--kkture-border);
  overflow-x: auto;
  margin-bottom: 32px;
  padding-bottom: 4px;
}

.pdp-tab-trigger {
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--kkture-text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pdp-tab-trigger.active {
  color: var(--kkture-primary);
  border-bottom-color: var(--kkture-primary);
}

.pdp-tab-pane {
  display: none;
}

.pdp-tab-pane.active {
  display: block;
}

/* Ingredients Grid */
.pdp-ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.pdp-ing-card {
  background: #FAF8F4;
  border: 1.5px solid var(--kkture-border);
  border-radius: 14px;
  padding: 20px;
}

.pdp-ing-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--kkture-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdp-ing-desc {
  font-size: 13px;
  color: var(--kkture-text-dark);
  line-height: 1.5;
}

/* 28 Day Progress Timeline */
.pdp-timeline-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .pdp-timeline-box {
    grid-template-columns: 1fr;
  }
}

.pdp-timeline-node {
  background: white;
  border: 1.5px solid var(--kkture-border);
  border-radius: 14px;
  padding: 18px;
  position: relative;
}

.pdp-timeline-day {
  font-size: 12px;
  font-weight: 800;
  color: #2D6A4F;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pdp-timeline-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--kkture-text-dark);
}

.pdp-timeline-desc {
  font-size: 12px;
  color: var(--kkture-text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   INTERNATIONAL CHECKOUT & PAYMENT INTERFACE (Stripe / PayPal / Apple Pay)
   ========================================================================== */

.checkout-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.checkout-header-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--kkture-border);
  margin-bottom: 30px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 960px) {
  .checkout-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
  }
}

/* Express Checkout Section */
.express-checkout-card {
  background: white;
  border: 1.5px solid var(--kkture-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.express-checkout-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--kkture-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.express-btns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.btn-express-apple {
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  height: 46px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.2s;
}

.btn-express-apple:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-express-paypal {
  background: #FFC439;
  color: #003087;
  border: none;
  border-radius: 8px;
  height: 46px;
  font-size: 15px;
  font-weight: 800;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.2s;
}

.btn-express-paypal:hover {
  background: #F4B92E;
  transform: translateY(-1px);
}

.btn-express-google {
  background: #FFFFFF;
  color: #3C4043;
  border: 1.5px solid #DADCE0;
  border-radius: 8px;
  height: 46px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-express-google:hover {
  background: #F8F9FA;
}

.checkout-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: var(--kkture-text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.checkout-divider::before, .checkout-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--kkture-border);
}

.checkout-divider span {
  padding: 0 16px;
}

/* Form Sections */
.checkout-section-box {
  background: white;
  border: 1.5px solid var(--kkture-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.checkout-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--kkture-text-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .form-row-3 {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

/* Shipping Method Selection */
.shipping-option-row {
  border: 1.5px solid var(--kkture-border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.shipping-option-row:hover {
  border-color: var(--kkture-primary);
}

.shipping-option-row.active {
  border-color: var(--kkture-primary);
  background: #F4F8F6;
}

/* Payment Accordion */
.payment-accordion-wrap {
  border: 1.5px solid var(--kkture-border);
  border-radius: 14px;
  overflow: hidden;
}

.payment-method-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #FAF8F4;
  border-bottom: 1px solid var(--kkture-border);
  transition: background 0.2s;
}

.payment-method-header:last-child {
  border-bottom: none;
}

.payment-method-header.active {
  background: white;
}

.payment-method-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--kkture-text-dark);
}

.payment-method-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
}

.payment-method-body {
  display: none;
  padding: 20px;
  background: white;
  border-bottom: 1px solid var(--kkture-border);
}

.payment-method-body.active {
  display: block;
}

/* Stripe Card Inputs */
.stripe-element-container {
  border: 1.5px solid var(--kkture-border);
  border-radius: 10px;
  padding: 14px;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stripe-element-container:focus-within {
  border-color: #635BFF;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.stripe-card-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.stripe-card-icon {
  position: absolute;
  left: 14px;
  font-size: 22px;
  color: #8898AA;
}

.stripe-card-input {
  width: 100%;
  padding-left: 48px;
  font-family: 'Inter', monospace;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.stripe-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

/* Order Summary Sidebar */
.checkout-summary-sticky {
  position: sticky;
  top: 90px;
  background: white;
  border: 1.5px solid var(--kkture-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--kkture-border);
  padding-bottom: 20px;
}

.checkout-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.checkout-item-thumb {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #EDEAE4;
  overflow: hidden;
  flex-shrink: 0;
}

.checkout-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: rgba(0,0,0,0.65);
  color: white;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--kkture-text-dark);
  line-height: 1.35;
}

.checkout-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--kkture-primary);
  margin-top: 4px;
}

/* Coupon Input Group */
.coupon-input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--kkture-border);
  border-radius: var(--kkture-radius-sm);
  font-size: 13px;
  text-transform: uppercase;
}

.btn-apply-coupon {
  background: #EDEAE4;
  color: var(--kkture-text-dark);
  border: none;
  border-radius: var(--kkture-radius-sm);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-apply-coupon:hover {
  background: var(--kkture-primary);
  color: white;
}

/* Calculation Table */
.summary-line-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--kkture-text-muted);
  margin-bottom: 10px;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  margin-top: 14px;
  border-top: 2px solid var(--kkture-border);
}

.summary-total-amount {
  font-size: 26px;
  font-weight: 900;
  color: var(--kkture-primary);
}

/* Big Pay Now Button */
.btn-pay-complete {
  width: 100%;
  background: #193832;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  box-shadow: 0 8px 24px rgba(25, 56, 50, 0.25);
  transition: all 0.2s;
}

.btn-pay-complete:hover {
  background: #2D6A4F;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(25, 56, 50, 0.35);
}

/* Processing Overlay */
.payment-processing-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.payment-processing-modal.active {
  display: flex;
}

.processing-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Order Success State */
.order-success-card {
  background: white;
  border: 1.5px solid #C3E6CB;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
