/* ========================================================
   コスメガール (cosme-girl.com) Modern Beauty Design System
   ======================================================== */

:root {
  --primary: #d65a7f;
  --primary-light: #fbebf0;
  --primary-dark: #b84366;
  --primary-gradient: linear-gradient(135deg, #e87a99 0%, #c94b72 100%);
  --accent: #9d6fa8;
  --accent-gold: #c69c6d;
  
  --bg-main: #fdfafb;
  --bg-card: #ffffff;
  --bg-alt: #f7eff3;
  
  --text-main: #332a2f;
  --text-muted: #72626b;
  --text-light: #9e8e97;
  
  --border: #f0e1e8;
  --border-focus: #e094ab;
  
  --shadow-sm: 0 2px 8px rgba(184, 67, 102, 0.06);
  --shadow-md: 0 8px 24px rgba(184, 67, 102, 0.08);
  --shadow-lg: 0 16px 36px rgba(184, 67, 102, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --container-max: 1140px;
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Meiryo", sans-serif;
}

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

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  opacity: 0.9;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(214, 90, 127, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.site-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--bg-alt);
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.breadcrumb-list li::after {
  content: "›";
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
  content: "";
}

.breadcrumb-list a {
  color: var(--text-muted);
}

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

/* --- Hero Section --- */
.hero-section {
  padding: 48px 0 36px;
  text-align: center;
  background: radial-gradient(circle at top, #fff3f6 0%, transparent 70%);
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.search-box-wrap {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  font-size: 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(214, 90, 127, 0.15);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

/* --- Category Pills --- */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-main);
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(214, 90, 127, 0.25);
}

/* --- Post Grid --- */
.posts-section {
  padding: 40px 0 70px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 12px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.post-count {
  font-size: 14px;
  color: var(--text-muted);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* --- Post Card (16:9 Aspect Ratio) --- */
.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #fcecee 0%, #f7eff3 100%);
  overflow: hidden;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .card-thumb {
  transform: scale(1.05);
}

.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fcecee 0%, #f3e5eb 100%);
  color: var(--primary);
  font-size: 38px;
}

.card-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card:hover .card-title {
  color: var(--primary);
}

.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.card-more {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Article Detail --- */
.article-container {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.article-header {
  margin-bottom: 32px;
  text-align: center;
}

.article-cat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.article-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-hero-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
  background: #fdf0f4;
}

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

/* --- Notice Box (PR & Medical law) --- */
.compliance-notice {
  background: #fff8f9;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.compliance-notice strong {
  color: var(--primary-dark);
}

/* --- Key Takeaways Box --- */
.key-takeaways {
  background: linear-gradient(135deg, #fff5f8 0%, #fcf0f5 100%);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.takeaways-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.takeaways-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.6;
}

.takeaways-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* --- Table of Contents --- */
.toc-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  display: inline-block;
}

.toc-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.toc-item-h3 {
  padding-left: 18px;
  font-size: 13.5px;
}

/* --- Article Content Styling --- */
.article-body {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  background: linear-gradient(to right, #fdeef2, transparent);
  border-left: 5px solid var(--primary);
  padding: 12px 18px;
  margin: 44px 0 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin: 36px 0 16px;
}

.article-body h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 28px 0 12px;
}

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

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--border-focus);
  background: var(--bg-alt);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted);
}

.article-body figure {
  margin: 32px 0;
  text-align: center;
}

.article-body figure img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
  max-width: 100%;
}

.article-body figure figcaption {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

/* --- Table styling --- */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14.5px;
}

.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.article-body th {
  background: var(--primary-light);
  font-weight: 700;
  color: var(--primary-dark);
}

/* --- Luna Navigator Character Components --- */
.luna-welcome-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fff2f6 100%);
  border: 2px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px auto 40px;
  max-width: 860px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.luna-welcome-banner::before {
  content: "🌸";
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 80px;
  opacity: 0.12;
  pointer-events: none;
}

.luna-avatar-wrap {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 18px rgba(214, 90, 127, 0.25);
  background: #fff;
}

.luna-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.luna-message {
  flex: 1;
}

.luna-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.luna-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.luna-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.luna-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Luna In-Article Speech Bubble */
.luna-article-bubble {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff5f8;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.luna-bubble-avatar {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(214, 90, 127, 0.2);
}

.luna-bubble-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.luna-bubble-body {
  flex: 1;
}

.luna-bubble-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.luna-bubble-quote {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

/* --- Review Quotes Special UI --- */
.review-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-item::before {
  content: "💬";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 18px;
  opacity: 0.6;
}

.review-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

/* --- Related Posts --- */
.related-posts-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

/* --- Footer --- */
.site-footer {
  background: #2b2227;
  color: #dfd3d9;
  padding: 60px 0 30px;
  font-size: 13.5px;
  border-top: 4px solid var(--primary);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-info p {
  color: #b5a4ad;
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-nav h4 {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #b5a4ad;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* --- Compliance & Salvage Disclaimer (消費者契約法第8条対応二段構えサルベージ条項) --- */
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 20px;
  font-size: 11.5px;
  line-height: 1.75;
  color: #9c8993;
}

.footer-disclaimer p {
  margin-bottom: 10px;
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  color: #85747d;
  font-size: 12px;
}

/* --- Mobile Floating Bar --- */
.mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 999;
  padding: 10px 16px;
}

.floating-btn-group {
  display: flex;
  gap: 10px;
}

.floating-btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .site-header .header-inner {
    height: 60px;
  }
  .logo-title {
    font-size: 17px;
  }
  .logo-sub {
    display: none;
  }
  .hero-title {
    font-size: 24px;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mobile-floating-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}

/* --- 3-Mall Affiliate Purchase Box Component --- */
.product-purchase-box {
  background: #ffffff;
  border: 2px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.purchase-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.purchase-item-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.purchase-subtext {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.mall-button-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.mall-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.mall-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

.mall-btn.amazon {
  background: linear-gradient(135deg, #ff9900 0%, #e68a00 100%);
  color: #111827;
}

.mall-btn.rakuten {
  background: linear-gradient(135deg, #bf0000 0%, #a00000 100%);
  color: #ffffff;
}

.mall-btn.yahoo {
  background: linear-gradient(135deg, #ff0033 0%, #d60029 100%);
  color: #ffffff;
}

.mall-icon {
  font-size: 20px;
}

.mall-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.mall-name {
  font-size: 14px;
  line-height: 1.2;
}

.mall-action {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 500;
}

.purchase-pr-notice {
  font-size: 11.5px;
  color: var(--text-light);
  line-height: 1.5;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  margin-top: 6px;
}

/* --- Shopping Best Items Showcase Grid --- */
.shopping-hero-card {
  background: linear-gradient(135deg, #fff5f8 0%, #fef0f5 100%);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.shopping-item-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}

.shopping-item-card:hover {
  box-shadow: var(--shadow-md);
}

.shopping-card-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  padding: 32px;
}

.shopping-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fdf2f6;
}

.shopping-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopping-rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(214, 90, 127, 0.4);
}

.shopping-card-content {
  display: flex;
  flex-direction: column;
}

.shopping-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.shopping-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.shopping-luna-comment {
  background: #fff8f9;
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.6;
}

.shopping-features-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.shopping-feature-pill {
  padding: 4px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .mall-button-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .shopping-card-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}

