/* ThaiPray Design System - Modern, Serene, Accessible */
@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Light/Gold/Serene Theme */
  --bg-primary: #fcfbf7;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f4efe6;
  --bg-accent: #f8f1e5;
  --bg-accent-subtle: #fcf8f0;
  
  --text-primary: #2d261e;
  --text-secondary: #5c5245;
  --text-muted: #8c8275;
  --text-inverse: #ffffff;
  
  --border-light: #e6ded3;
  --border-strong: #c8bba8;
  
  --primary-gold: #b3822a;
  --primary-gold-hover: #966b1e;
  --primary-gold-light: #fef5e7;
  --primary-gold-focus: rgba(179, 130, 42, 0.2);
  
  --accent-calm: #4a6b6c;
  --accent-calm-light: #e8f0f0;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.09);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-heading: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --prayer-font-size: 1.3rem;
  --prayer-line-height: 2.2;
  --container-max: 960px;
  --transition-normal: 0.25s ease;
}

[data-theme="dark"] {
  --bg-primary: #14120e;
  --bg-surface: #1d1914;
  --bg-surface-elevated: #26211a;
  --bg-accent: #2c251c;
  --bg-accent-subtle: #221c15;
  
  --text-primary: #f2ece1;
  --text-secondary: #c5baa8;
  --text-muted: #8e8372;
  --text-inverse: #14120e;
  
  --border-light: #383025;
  --border-strong: #4f4435;
  
  --primary-gold: #d4a34b;
  --primary-gold-hover: #e6b864;
  --primary-gold-light: #2c2314;
  --primary-gold-focus: rgba(212, 163, 75, 0.25);
  
  --accent-calm: #78a3a4;
  --accent-calm-light: #1b2626;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.5);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(252, 251, 247, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .header {
  background-color: rgba(20, 18, 14, 0.88);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary-gold), #8f641b);
  color: #fff;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

@media (max-width: 640px) {
  .nav-menu {
    display: none;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-normal);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-icon:hover {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.35;
}

h1 { font-size: 2.1rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
}

/* Featured merit shop highlight on the home page */
.home-shop-highlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
  gap: 1.25rem;
  align-items: stretch;
  margin: 1.5rem 0 0;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  overflow: hidden;
  border: 1px solid rgba(212, 163, 75, 0.5);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 163, 75, 0.2), transparent 42%),
    linear-gradient(135deg, #122b4b 0%, #0d1d35 55%, #172d49 100%);
  box-shadow: 0 12px 30px rgba(9, 25, 47, 0.18);
}

.home-shop-highlight::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -90px;
  border: 1px solid rgba(212, 163, 75, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.home-shop-highlight-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.35rem 0.25rem;
}

.home-shop-highlight-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  color: #f5d88c;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-shop-highlight-kicker span {
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(245, 216, 140, 0.35);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
}

.home-shop-highlight h2 {
  margin-bottom: 0.6rem;
  color: #fff8e8;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35;
}

.home-shop-highlight-copy p {
  max-width: 32rem;
  margin-bottom: 1rem;
  color: rgba(255, 248, 232, 0.82);
  font-size: 0.95rem;
  line-height: 1.65;
}

.home-shop-highlight-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.home-shop-highlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #e3b75d, #b98229);
  color: #241a0d;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(227, 183, 93, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.home-shop-highlight-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(227, 183, 93, 0.35);
}

.home-shop-highlight-link {
  color: #f5d88c;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.home-shop-highlight-link:hover {
  color: #fff8e8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-shop-highlight-products {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-shop-highlight-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: #fff8e8;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}

.home-shop-highlight-product:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 216, 140, 0.8);
  background: rgba(255, 255, 255, 0.16);
}

.home-shop-highlight-product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 0.88;
  overflow: hidden;
  background: #f3e5c8;
}

.home-shop-highlight-product-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-shop-highlight-product:hover img {
  transform: scale(1.04);
}

.home-shop-highlight-product-badge {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 1;
  max-width: calc(100% - 0.9rem);
  padding: 0.2rem 0.42rem;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 232, 0.35);
  border-radius: var(--radius-full);
  background: rgba(24, 35, 52, 0.78);
  color: #fff3c5;
  font-size: 0.64rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-shop-highlight-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0.7rem 0.72rem 0.78rem;
}

.home-shop-highlight-product-body span {
  color: rgba(255, 248, 232, 0.7);
  font-size: 0.68rem;
  line-height: 1.35;
}

.home-shop-highlight-product-body strong {
  color: #fff8e8;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-shop-highlight-product-body small {
  margin-top: auto;
  color: #f5d88c;
  font-size: 0.72rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .home-shop-highlight {
    grid-template-columns: 1fr;
  }

  .home-shop-highlight-copy {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .home-shop-highlight {
    margin-top: 1rem;
    padding: 1rem;
  }

  .home-shop-highlight-products {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .home-shop-highlight-product {
    display: grid;
    grid-template-columns: 88px 1fr;
    min-height: 88px;
  }

  .home-shop-highlight-product-image-wrap {
    aspect-ratio: 1 / 1;
    height: 100%;
  }

  .home-shop-highlight-product-badge {
    top: 0.35rem;
    left: 0.35rem;
    max-width: calc(100% - 0.7rem);
    font-size: 0.56rem;
  }

  .home-shop-highlight-product-body {
    padding: 0.62rem 0.68rem;
  }

  .home-shop-highlight-product-body strong {
    font-size: 0.86rem;
  }
}

/* Hero Section */
.hero-section {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* Search Bar */
.search-box {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 1.5rem auto 2rem;
}

.search-input {
  width: 100%;
  padding: 1.1rem 1.25rem 1.1rem 3.2rem;
  font-size: 1.05rem;
  font-family: var(--font-body);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 4px var(--primary-gold-focus);
}

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

/* Quick Tools Bar */
.quick-tools {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tool-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.tool-chip:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Category Grid & Cards */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}

.view-all-link {
  color: var(--primary-gold);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-md);
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
}

/* Prayer Reader Page Elements */
.prayer-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow-md);
}

.prayer-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.font-resizer {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background-color: var(--bg-surface-elevated);
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.font-resizer button {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-secondary);
}

.font-resizer button:hover {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

.prayer-content {
  font-size: var(--prayer-font-size);
  line-height: var(--prayer-line-height);
  color: var(--text-primary);
  text-align: center;
}

.prayer-verse {
  margin-bottom: 2rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  transition: background-color 0.2s;
}

.prayer-verse.active-verse {
  background-color: var(--primary-gold-light);
}

.prayer-pali {
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.prayer-thai {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

/* Interactive Counter Widget */
.counter-widget {
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-surface-elevated));
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2.5rem 0;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.counter-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.2rem 0;
}

.counter-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-gold);
  line-height: 1;
}

.counter-target {
  font-size: 1.35rem;
  color: var(--text-muted);
}

.counter-btn-main {
  background: linear-gradient(135deg, var(--primary-gold), #966b1e);
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 1.2rem 3.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 15px rgba(179, 130, 42, 0.35);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
}

.counter-btn-main:active {
  transform: scale(0.95);
}

.counter-options {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.btn-pill {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-pill:hover, .btn-pill.active {
  background-color: var(--primary-gold);
  color: #ffffff;
  border-color: var(--primary-gold);
}

/* Informative & SEO Article Section */
.article-section {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
}

.article-section h2 {
  border-left: 4px solid var(--primary-gold);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
}

.article-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.article-section ul, .article-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.article-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* FAQ Accordion */
.faq-section {
  margin: 3rem 0;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-answer {
  padding: 0 1.2rem 1.2rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer */
.footer {
  margin-top: auto;
  background-color: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0 2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

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

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--primary-gold);
}

/* Worship Tips Box */
.worship-tips-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.worship-tips-box h2 {
  font-size: 1.35rem;
  color: var(--primary-gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.tip-item {
  background: var(--bg-surface-elevated);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
}

.tip-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.tip-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Share Section - Premium Design */
.share-section {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .share-section {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(30, 41, 59, 0.7) 100%);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
}

.share-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24, #d97706);
}

.share-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary-gold-light);
  color: var(--primary-gold);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.share-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.share-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.5;
}

.share-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  user-select: none;
}

.btn-share svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-share:active {
  transform: translateY(0);
}

/* LINE */
.btn-share-line {
  background-color: #06c755;
  color: #ffffff;
}
.btn-share-line:hover {
  background-color: #05b04b;
}

/* Facebook */
.btn-share-fb {
  background-color: #1877f2;
  color: #ffffff;
}
.btn-share-fb:hover {
  background-color: #166fe5;
}

/* X / Twitter */
.btn-share-x {
  background-color: #0f1419;
  color: #ffffff;
}
.btn-share-x:hover {
  background-color: #272c30;
}

/* Copy Link */
.btn-share-copy {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-share-copy:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

/* Native Web Share */
.btn-share-native {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
}
.btn-share-native:hover {
  background: linear-gradient(135deg, #b45309, #92400e);
}

/* Toast Notification for Link Copy */
.toast-msg {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  color: #ffffff;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Step 2 & 3: UX Enhancements (Back-to-Top, Sticky Search, Favorites, Related)
   ========================================================================== */

/* 1. Floating Back-to-Top Button */
.btn-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-gold);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* 2. Sticky Search Bar on Scroll */
.search-container.sticky-active {
  position: sticky;
  top: 1rem;
  z-index: 900;
  background: var(--bg-surface);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-strong);
  transition: all 0.25s ease;
}

/* 3. Favorite / Bookmark Heart Button on Cards and Header */
.btn-fav {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.btn-fav:hover {
  transform: scale(1.18);
  color: #ef4444;
}

.btn-fav.active {
  color: #ef4444;
}

.card-fav-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}

[data-theme="dark"] .card-fav-btn {
  background: rgba(38, 33, 26, 0.85);
}

/* 4. Related Prayers Unit */
.related-prayers-section {
  margin: 3rem 0;
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.related-prayers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.related-prayer-item {
  padding: 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-prayer-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-gold);
}

.related-prayer-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary-gold);
  margin-bottom: 0.4rem;
}

.related-prayer-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 5. Advertising Banner Unit (Line @johnwick) */
.ad-banner-section {
  margin: 2rem 0;
  width: 100%;
}

.ad-banner-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 168, 83, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: var(--bg-surface-elevated);
  max-width: 100%;
}

.ad-banner-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-gold);
  box-shadow: 0 8px 24px rgba(212, 168, 83, 0.22);
}

.ad-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 220px;
}

@media (max-width: 640px) {
  .ad-banner-img {
    max-height: 140px;
    border-radius: var(--radius-md);
  }
}

/* Native Responsive Ad Box (HTML/CSS Based) */
.ad-native-box {
  background: linear-gradient(135deg, #09192f 0%, #0d274d 50%, #0a1c36 100%);
  border: 1.5px solid #d4a853;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.ad-native-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ad-native-content {
  flex: 1 1 280px;
  min-width: 0;
}

.ad-native-content h3 {
  color: #f7d58b;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  word-break: break-word;
}

.ad-native-content p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

.ad-native-badge {
  display: inline-block;
  background: rgba(212, 168, 83, 0.2);
  color: #f7d58b;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 83, 0.4);
  margin-bottom: 0.5rem;
}

.ad-native-action {
  flex-shrink: 0;
}

.ad-native-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #06c755;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: normal;
}

.ad-native-btn:hover {
  background: #05b34c;
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.55);
}

@media (max-width: 640px) {
  .ad-native-box {
    padding: 1.2rem 1rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
  }
  .ad-native-content h3 {
    justify-content: center;
    font-size: 1.1rem;
  }
  .ad-native-content p {
    font-size: 0.85rem;
  }
  .ad-native-action {
    width: 100%;
  }
  .ad-native-btn {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
}

/* Top Announcement Banner (Compact Header Bar) */
.top-ad-announcement {
  background: linear-gradient(90deg, #09192f 0%, #152e50 50%, #09192f 100%);
  border-bottom: 1px solid rgba(212, 168, 83, 0.4);
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  color: #ffffff;
  position: relative;
  z-index: 99;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.top-ad-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.top-ad-badge {
  display: inline-block;
  background: rgba(212, 168, 83, 0.25);
  color: #f7d58b;
  border: 1px solid rgba(212, 168, 83, 0.5);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.top-ad-text {
  font-size: 0.82rem;
  color: #e2e8f0;
  vertical-align: middle;
}

.top-ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #06c755;
  color: #ffffff !important;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.top-ad-btn:hover {
  background: #05b34c;
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .top-ad-announcement {
    padding: 0.4rem 0.5rem;
  }
  .top-ad-content {
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
  }
  .top-ad-text {
    display: inline-block;
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .top-ad-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
  }
}

/* ==========================================================================
   6. Shop / Merit Offerings (สะพานบุญ สังฆทาน & ของทำบุญออนไลน์)
   ========================================================================== */
.shop-hero {
  text-align: center;
  padding: 2.5rem 0 1.5rem 0;
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-gold-light);
  color: var(--primary-gold);
  border: 1px solid rgba(179, 130, 42, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.shop-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0 2.5rem 0;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-item-icon {
  color: var(--primary-gold);
  font-size: 1.15rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 25px rgba(179, 130, 42, 0.15);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
  background: var(--bg-surface-elevated);
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(9, 25, 47, 0.85);
  color: #f7d58b;
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(212, 168, 83, 0.4);
  z-index: 2;
}

.product-badge-free-ship {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #06c755;
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
  z-index: 2;
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-specs {
  background: var(--bg-surface-elevated);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-gold);
  font-family: var(--font-heading);
}

.product-price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-buy-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #06c755;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
  width: 100%;
}

.btn-buy-line:hover {
  background: #05b34c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.5);
}

.shop-reviews {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 0 0 3rem;
  box-shadow: var(--shadow-sm);
}

.shop-reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.shop-reviews-kicker {
  display: inline-block;
  color: var(--primary-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.shop-reviews h2 {
  color: var(--text-primary);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}

.shop-reviews-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.shop-review-summary {
  flex: 0 0 auto;
  min-width: 170px;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.shop-review-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
}

.shop-review-score-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-gold);
  font-family: var(--font-heading);
  line-height: 1;
}

.shop-review-score-max {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.shop-review-stars {
  display: block;
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  line-height: 1;
  margin: 0.35rem 0 0.25rem;
}

.shop-review-summary strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.84rem;
}

.shop-review-summary small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 0.18rem;
}

/* Reviews Grid & Cards */
.shop-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.review-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.review-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.review-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-gold-dark, #b3822a);
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  width: fit-content;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 0.85rem;
  flex-grow: 1;
}

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

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #16a34a;
  font-weight: 600;
}

.review-verified svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.shop-faq {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3rem 0;
}

/* Category Switcher Tabs */
.shop-category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem;
  flex-wrap: wrap;
}

.shop-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1.5px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.shop-tab-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 168, 83, 0.15);
}

.shop-tab-btn.active {
  background: linear-gradient(135deg, #09192f 0%, #152e50 100%);
  color: #f7d58b !important;
  border-color: #d4a853;
  box-shadow: 0 4px 16px rgba(13, 39, 77, 0.35);
}

/* Charity Recommended Destinations */
.charity-dest-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0 3rem;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.dest-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dest-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-gold);
}

.dest-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dest-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 0.65rem;
}

.dest-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .shop-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .shop-reviews {
    padding: 1.25rem;
  }
  .shop-reviews-header {
    flex-direction: column;
    gap: 1rem;
  }
  .shop-review-summary {
    width: 100%;
  }
  .shop-review-empty {
    align-items: flex-start;
    flex-direction: column;
  }
  .shop-review-empty-copy .btn-buy-line {
    width: 100%;
  }
  .shop-category-tabs {
    gap: 0.5rem;
  }
  .shop-tab-btn {
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
    width: 100%;
    justify-content: center;
  }
  .charity-dest-section {
    padding: 1.25rem;
  }
}

