/* =========================================================
   DuskBloom Store CSS
   Design tokens match landing page: warm amber/cream palette,
   Cormorant Garamond serif + Outfit sans.
   ========================================================= */

:root {
  --bg: #faf6f0;
  --bg-warm: #f3ece2;
  --bg-deep: #2c2420;
  --fg: #2c2420;
  --fg-muted: #7a6e63;
  --fg-light: #b5a898;
  --accent: #c8874d;
  --accent-soft: #e8c9a4;
  --accent-glow: rgba(200, 135, 77, 0.15);
  --cream: #f9f3ea;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', -apple-system, sans-serif;
}

/* ===== APP SHELL ===== */
.app-body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
}

.app-main {
  min-height: calc(100vh - 160px);
}

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--accent-soft);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover { color: var(--accent); }

.nav-cart {
  position: relative;
  padding: 0.4rem 0.8rem;
  background: var(--bg-warm);
  border-radius: 24px;
  border: 1px solid var(--accent-soft);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-left: 2px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-deep);
  color: var(--fg-light);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-light);
  margin-bottom: 1.5rem;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(181, 168, 152, 0.3);
  margin: 1.5rem auto;
}

.footer-fine {
  font-size: 0.75rem;
  color: rgba(181, 168, 152, 0.5);
}

/* ===== SHARED SECTION LABEL ===== */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ===== SHOP PAGE ===== */
.shop-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.shop-header {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--accent-soft);
  margin-bottom: 3rem;
}

.shop-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.shop-subtitle {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.shop-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid var(--accent-soft);
  color: var(--fg-muted);
  background: transparent;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.product-section {
  margin-bottom: 4rem;
}

.digital-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-warm);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.product-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid transparent;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 36, 32, 0.08);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-warm);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-badge,
.product-type-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.product-badge {
  background: var(--accent);
  color: white;
}

.product-type-badge {
  background: var(--bg-deep);
  color: var(--cream);
}

.product-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-light);
}

.product-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 0.25rem;
}

.product-tagline {
  font-size: 0.83rem;
  color: var(--fg-muted);
  line-height: 1.5;
  flex: 1;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fg);
}

.product-compare {
  font-size: 0.85rem;
  color: var(--fg-light);
  text-decoration: line-through;
}

.instant-badge {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

.product-breadcrumb {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}

.product-breadcrumb a {
  color: var(--fg-muted);
  text-decoration: none;
}

.product-breadcrumb a:hover { color: var(--accent); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
}

.product-detail-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-warm);
  aspect-ratio: 1;
}

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

.digital-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(44, 36, 32, 0.8);
  color: var(--cream);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-detail-category {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.product-detail-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
}

.product-detail-tagline {
  font-size: 1rem;
  color: var(--fg-muted);
  font-style: italic;
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--accent-soft);
  border-bottom: 1px solid var(--accent-soft);
}

.price-main {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
}

.price-compare {
  font-size: 1.1rem;
  color: var(--fg-light);
  text-decoration: line-through;
}

.price-type {
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.product-detail-description p {
  color: var(--fg-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.digital-info,
.shipping-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  background: var(--bg-warm);
  border-radius: 8px;
}

.digital-info-item,
.shipping-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.digital-info-item svg,
.shipping-info-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.add-to-cart-form {
  margin-top: 0.5rem;
}

.btn-add-cart {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-cart:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.back-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
}

.back-link:hover { color: var(--accent); }

.related-products {
  padding-top: 3rem;
  border-top: 1px solid var(--accent-soft);
}

/* ===== CART PAGE ===== */
.cart-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.cart-header {
  margin-bottom: 2rem;
}

.cart-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
}

.cart-error {
  margin-top: 0.75rem;
  color: #b45309;
  font-size: 0.9rem;
}

.cart-notice {
  margin-top: 0.75rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.cart-empty {
  text-align: center;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cart-empty-icon {
  color: var(--fg-light);
}

.cart-empty p {
  color: var(--fg-muted);
  font-size: 1.1rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 700px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--accent-soft);
}

.cart-item-img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-warm);
  flex-shrink: 0;
}

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

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg);
  text-decoration: none;
}

.cart-item-name:hover { color: var(--accent); }

.cart-item-type {
  font-size: 0.75rem;
  color: var(--fg-light);
  letter-spacing: 0.05em;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 500;
  margin-top: auto;
}

.cart-item-qty {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.cart-item-remove {
  flex-shrink: 0;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--fg-light);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.2s;
}

.remove-btn:hover { color: #b45309; }

.summary-box {
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 400;
}

.summary-note {
  font-size: 0.8rem;
  color: var(--fg-light);
}

.btn-checkout {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.btn-checkout:hover {
  background: #b5713a;
  transform: translateY(-1px);
}

.continue-shopping {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
}

.continue-shopping:hover { color: var(--accent); }

/* ===== CHECKOUT SUCCESS ===== */
.success-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-glow);
  border: 2px solid var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.success-icon--pending {
  background: #fef3c7;
  border-color: #fbbf24;
  color: #d97706;
}

.success-inner h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.success-sub {
  color: var(--fg-muted);
  font-size: 1rem;
}

.order-summary-box {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 1.5rem;
}

.order-number {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--fg-light);
  margin-bottom: 1rem;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--accent-soft);
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  gap: 0.5rem;
}

.oi-name { flex: 1; text-align: left; }
.oi-qty { color: var(--fg-muted); }
.oi-price { font-weight: 500; }

.order-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 1rem;
}

.download-section {
  width: 100%;
  background: var(--bg-warm);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
}

.download-section h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.download-section p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.download-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.download-item svg { color: var(--accent); flex-shrink: 0; }

.success-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== SHARED BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #b5713a;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--fg-muted);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--accent-soft);
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== ERROR PAGE ===== */
.error-page {
  max-width: 480px;
  margin: 6rem auto;
  padding: 2rem;
  text-align: center;
}

.error-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.error-inner h1 {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
}

.error-inner p {
  color: var(--fg-muted);
}

/* ===== HERO CTA BUTTON (landing page) ===== */
.hero-cta-wrap {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-btn-shop {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.hero-btn-shop:hover {
  background: #b5713a;
  transform: translateY(-2px);
}

.hero-btn-ghost {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: transparent;
  color: var(--fg);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  border: 1px solid var(--fg-light);
  transition: all 0.2s;
}

.hero-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== BLOG ===== */
.blog-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.blog-header {
  border-bottom: 1px solid var(--accent-soft);
  margin-bottom: 3rem;
  padding-bottom: 3rem;
}

.blog-header-inner {
  max-width: 760px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.blog-category {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.72rem;
}

.blog-sep { color: var(--fg-light); }

.blog-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--fg);
}

.blog-intro {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 640px;
}

/* Two-column layout: content + sidebar */
.blog-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .blog-body {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    display: none;
  }
}

/* ── Prose ── */
.blog-content {
  min-width: 0;
}

.blog-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--fg);
  line-height: 1.25;
}

.blog-content h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  margin: 2rem 0 0.75rem;
  color: var(--fg);
}

.blog-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.blog-content em {
  font-style: italic;
  color: var(--fg-muted);
}

.blog-rule {
  border: none;
  border-top: 1px solid var(--accent-soft);
  margin: 2.5rem 0;
}

/* ── In-text links ── */
.blog-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color 0.2s;
}
.blog-link:hover { border-color: var(--accent); }

/* ── Product callout blocks ── */
.blog-product-callout {
  background: var(--bg-warm);
  border: 1px solid var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.callout-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.callout-content {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.5;
}

.callout-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.callout-link:hover { text-decoration: underline; }

/* ── Gift guide table ── */
.blog-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  border: 1px solid var(--accent-soft);
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.blog-table thead {
  background: var(--bg-warm);
}

.blog-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--accent-soft);
}

.blog-table td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(200, 135, 77, 0.1);
  color: var(--fg);
  line-height: 1.5;
}

.blog-table tr:last-child td { border-bottom: none; }

/* ── CTA block ── */
.blog-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-warm);
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--accent-soft);
}

.blog-cta-text {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.blog-cta-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0.4rem;
  transition: opacity 0.2s;
}
.blog-cta-btn:hover { opacity: 0.88; }

.blog-cta-btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.blog-cta-btn--secondary:hover { background: var(--accent-glow); opacity: 1; }

/* ── Sidebar ── */
.blog-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
  padding: 1.25rem;
}

.sidebar-card--cta {
  background: var(--bg-warm);
  border-color: var(--accent);
}

.sidebar-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.toc { display: flex; flex-direction: column; gap: 0.3rem; }

.toc-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s;
}
.toc-link:hover { color: var(--accent); }

.sidebar-pick-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.sidebar-pick-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.sidebar-btn {
  display: block;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.2s;
}
.sidebar-btn:hover { opacity: 0.88; }

/* ── Featured blog section on homepage ── */
.featured-blog {
  padding: 5rem 2rem;
  background: var(--bg-warm);
}

.featured-blog-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 700px) {
  .featured-blog-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.featured-blog-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.featured-blog-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--fg);
}

.featured-blog-excerpt {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.featured-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.featured-blog-link:hover { gap: 0.7rem; }

.featured-blog-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.blog-visual-card {
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.25s;
}

.blog-visual-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.blog-visual-card-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.blog-visual-card-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.blog-visual-card-price {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
