/* ==========================================================================
   DHANVANTARI AYURVEDA - COMPONENTS (components.css)
   Pure CSS - Buttons, Badges, Product Cards, Trust Cards
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.25);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: #ffffff;
}
.btn-secondary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
}
.btn-accent:hover {
  background-color: #b5860d;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-outline-gold {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-outline-gold:hover {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
}

.btn-md {
  font-size: 0.925rem;
  padding: 0.65rem 1.35rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-gold {
  background-color: #fff9eb;
  color: #b45309;
  border: 1px solid rgba(212, 160, 23, 0.25);
}

.badge-danger {
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
}

.badge-neutral {
  background-color: var(--color-bg-surface-soft);
  color: var(--color-text-muted);
}

.badge:empty {
  display: none !important;
}

.field-validation-error {
  color: #ef4444;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
  display: block;
}

.field-validation-error:empty {
  display: none !important;
}

.req-star {
  color: #ef4444 !important;
  font-weight: 700;
  margin-left: 0.2rem;
}

/* ==========================================================================
   BREADCRUMB NAVIGATION
   ========================================================================== */
.breadcrumb-nav {
  width: 100%;
  padding: 1rem 0 0.5rem;
  background-color: var(--color-bg-base, #fdfbf7);
}

.breadcrumb-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #78716c; /* text-stone-500 */
}

.breadcrumb-item {
  display: inline-flex !important;
  align-items: center;
  list-style: none !important;
  list-style-type: none !important;
  font-weight: 500;
}

.breadcrumb-item a {
  color: #78716c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-primary, #2d5a27);
  text-decoration: underline;
}

.breadcrumb-separator {
  display: inline-flex !important;
  align-items: center;
  color: #d6d3d1; /* stone-300 */
  font-size: 0.75rem;
  user-select: none;
  list-style: none !important;
  list-style-type: none !important;
}

.breadcrumb-current {
  display: inline-flex !important;
  align-items: center;
  color: var(--color-primary-dark, #1d3c1a);
  font-weight: 600;
  list-style: none !important;
  list-style-type: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 24rem;
}

/* Reusable Product Card */
.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 90, 39, 0.2);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background-color: #faf9f6;
  overflow: hidden;
  cursor: pointer;
}

.product-img-primary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.product-discount-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.55rem;           /* smaller on mobile */
  font-weight: 800;
  padding: 0.15rem 0.35rem;
  border-radius: var(--radius-sm);
  z-index: 5;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

@media (min-width: 640px) {
  .product-discount-tag {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
  }
}

.product-out-of-stock-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: #475569;
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
  .product-out-of-stock-tag {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
}

.product-wishlist-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.6rem;                /* smaller on mobile */
  height: 1.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .product-wishlist-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
  }
}

.product-wishlist-btn:hover {
  background-color: #ffffff;
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  transform: scale(1.1);
}

.product-wishlist-btn.is-active {
  background-color: #fef2f2;
  color: #ef4444;
  border-color: #fee2e2;
}

.product-wishlist-btn.is-active:hover {
  background-color: #fee2e2;
  transform: scale(1.1);
}

.product-wishlist-btn svg,
.product-wishlist-btn .product-heart-icon {
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}

.product-wishlist-btn.is-active svg,
.product-wishlist-btn.is-active .product-heart-icon {
  fill: #ef4444 !important;
  stroke: #ef4444 !important;
}

.product-content {
  padding: 0.625rem 0.75rem;    /* tighter on mobile */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 0.375rem;
}

@media (min-width: 480px) {
  .product-content {
    padding: 0.75rem;
    gap: 0.5rem;
  }
}

@media (min-width: 640px) {
  .product-content {
    padding: 1.25rem;
    gap: 1rem;
  }
}

.product-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.product-brand {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  display: block;
}

@media (min-width: 640px) {
  .product-brand {
    font-size: 0.625rem;
  }
}

.product-title {
  font-size: 0.6875rem;         /* slightly larger than before on mobile */
  font-weight: 700;
  color: #1c1917;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  transition: color 0.2s ease;
}

@media (min-width: 480px) {
  .product-title {
    font-size: 0.75rem;
  }
}

@media (min-width: 640px) {
  .product-title {
    font-size: 1rem;
  }
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

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

.product-action-row {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(245, 245, 244, 0.9);
  display: flex;
  flex-direction: column;       /* mobile: stacked — price top, btn below */
  align-items: stretch;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .product-action-row {
    flex-direction: row;          /* larger mobile+: side by side */
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
    padding-top: 0.5rem;
  }
}

@media (min-width: 640px) {
  .product-action-row {
    padding-top: 0.75rem;
  }
}

.product-prices-box {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  text-align: left;
}

.product-price {
  font-size: 0.8125rem;         /* readable on mobile */
  font-weight: 800;
  color: #1c1917;
  line-height: 1;
}

@media (min-width: 640px) {
  .product-price {
    font-size: 1.125rem;
  }
}

.product-mrp {
  font-size: 0.5625rem;
  color: #a8a29e;
  text-decoration: line-through;
}

@media (min-width: 640px) {
  .product-mrp {
    font-size: 0.75rem;
  }
}

.product-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;                  /* mobile: full width */
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.5rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .product-add-btn {
    width: auto;                  /* side-by-side: natural width */
    padding: 0.4rem 0.6rem;
    font-size: 0.6875rem;
  }
}

@media (min-width: 640px) {
  .product-add-btn {
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.75rem;
  }
}

.product-add-btn:hover {
  background-color: var(--color-primary-light);
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(45, 90, 39, 0.2);
}

.product-cart-svg {
  width: 0.75rem;
  height: 0.75rem;
}

@media (min-width: 640px) {
  .product-cart-svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}

.product-out-of-stock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #f1f5f9;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 0.5rem;
  cursor: not-allowed;
  user-select: none;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .product-out-of-stock-btn {
    width: auto;
    padding: 0.4rem 0.6rem;
  }
}

@media (min-width: 640px) {
  .product-out-of-stock-btn {
    font-size: 0.75rem;
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

.product-card.is-out-of-stock .product-img-primary {
  filter: grayscale(20%);
  opacity: 0.9;
}

/* Trust Badges Card */
.trust-badge-card {
  background: #ffffff;
  border: 1px solid rgba(45, 90, 39, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.trust-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background-color: rgba(45, 90, 39, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.trust-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.trust-badge-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Hero Outline White */
.btn-outline-white {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-primary);
}

/* Section Spacing Utilities */
.section-py-lg {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-bg-subtle {
  background-color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.section-bg-journal {
  background-color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-footer-action {
  text-align: center;
  margin-top: 3rem;
}

.section-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-muted);
}

/* Header & Footer Brand styling */
.header-brand-logo {
  height: 2.25rem;
  width: auto;
  display: block;
}

.footer-brand-logo {
  height: 3.5rem;
  width: auto;
  display: block;
}

.footer-social-row {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}

.footer-support-phone {
  margin-top: 0.5rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* Certifications Header & Items */
.cert-header-center {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cert-logo-text {
  font-weight: 700;
  font-size: 0.85rem;
  color: #4b5563;
}



/* --------------------------------------------------------------------------
   VAIDYA CHATBOT (100% Exact Replica of React AyurvedaChatbot.tsx)
   -------------------------------------------------------------------------- */
.vaidya-chat-window {
  position: fixed;
  bottom: 5.5rem;
  right: 1rem;
  width: 320px;
  height: 450px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(231, 229, 228, 0.6);
  z-index: 50;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
}

@media (min-width: 640px) {
  .vaidya-chat-window {
    width: 350px;
  }
}

@media (min-width: 768px) {
  .vaidya-chat-window {
    bottom: 5.5rem;
    right: 1.5rem;
    height: 550px;
  }
}

.vaidya-chat-window.is-open {
  display: flex;
  animation: vaidyaSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes vaidyaSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vaidya-chat-header {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.vaidya-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vaidya-header-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.vaidya-header-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.vaidya-header-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.vaidya-header-subtitle {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.vaidya-header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.vaidya-header-btn {
  padding: 0.5rem;
  border-radius: 9999px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.vaidya-header-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.vaidya-messages-area {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background-color: #fafaf9;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vaidya-msg-row {
  display: flex;
  width: 100%;
}

.vaidya-msg-row.msg-bot {
  justify-content: flex-start;
}

.vaidya-msg-row.msg-user {
  justify-content: flex-end;
}

.vaidya-msg-bubble {
  max-width: 85%;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
}

.bubble-bot {
  background-color: #ffffff;
  border: 1px solid #f5f5f4;
  color: #44403c;
  border-top-left-radius: 0.125rem;
}

.bubble-user {
  background-color: var(--color-primary);
  color: #ffffff;
  border-top-right-radius: 0.125rem;
}

.vaidya-msg-text {
  margin: 0;
  line-height: 1.6;
}

.vaidya-tts-btn {
  position: absolute;
  right: -2rem;
  top: 0.5rem;
  padding: 0.375rem;
  background-color: #ffffff;
  border: 1px solid #e7e5e4;
  color: #78716c;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.vaidya-tts-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.vaidya-tts-btn.is-speaking {
  color: var(--color-primary);
  border-color: var(--color-primary);
  animation: pulse 1s infinite;
}

.vaidya-suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.vaidya-suggestion-pill {
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #e7e5e4;
  color: #44403c;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.vaidya-suggestion-pill:hover {
  background-color: #f5f5f4;
  color: var(--color-primary);
}

.vaidya-input-area {
  padding: 0.75rem;
  background-color: #ffffff;
  border-top: 1px solid #f5f5f4;
}

.vaidya-input-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vaidya-input-field {
  flex: 1;
  background-color: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 9999px;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vaidya-input-field:focus {
  border-color: var(--color-primary);
}

.vaidya-send-btn {
  padding: 0.625rem;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.vaidya-send-btn:hover:not(:disabled) {
  background-color: var(--color-primary-light);
}

.vaidya-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.section-desc-center {
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .section-desc-center {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
}

.search-wrap-mb {
  margin-bottom: 3rem;
}

.herb-hero-box {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  font-size: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(45, 90, 39, 0.05);
}

.journal-meta-center {
  justify-content: center;
  margin-top: 0.5rem;
}

/* Global Toast Notifications (100% Exact Parity with React Toast.tsx) */
#toast-container,
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

@media (min-width: 640px) {
  #toast-container,
  .toast-container {
    top: 1.25rem;
    right: 1.25rem;
  }
}

.toast-message {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(231, 229, 228, 0.6); /* border-stone-200/60 */
  border-left-width: 4px;
  background: #ffffff;
  color: #1c1917;
  width: 20rem; /* w-80 */
  max-width: calc(100vw - 2rem);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast-message.toast-success {
  border-left-color: #10b981; /* border-emerald-500 */
}

.toast-message.toast-error {
  border-left-color: #ef4444; /* border-red-500 */
}

.toast-message.toast-warning {
  border-left-color: #f59e0b; /* border-amber-500 */
}

.toast-message.toast-info {
  border-left-color: #3b82f6; /* border-blue-500 */
}

.toast-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.toast-icon.text-emerald-500 {
  color: #10b981;
}

.toast-icon.text-red-500 {
  color: #ef4444;
}

.toast-icon.text-amber-500 {
  color: #f59e0b;
}

.toast-icon.text-blue-500 {
  color: #3b82f6;
}

.toast-text {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1c1917;
  line-height: 1.4;
  word-break: break-word;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #a8a29e;
  padding: 0.25rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.toast-close-btn:hover {
  color: #1c1917;
  background-color: #f5f5f4;
}

.toast-message.is-fading {
  opacity: 0;
  transform: scale(0.9);
}

/* Accordion Component */
.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: left;
  cursor: pointer;
  padding: 0;
  gap: 1rem;
}

.accordion-header:hover {
  color: var(--color-primary);
}

.accordion-icon {
  transition: transform 0.25s ease;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding-top: 0.75rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.accordion-item.is-open .accordion-body {
  display: block;
}

.img-rounded-md {
  border-radius: var(--radius-md);
}

.phone-highlight {
  font-size: 1.25rem;
}

/* ==========================================================================
   PWA Install Banner & Custom Prompt (Sleek Floating Capsule)
   ========================================================================== */
.pwa-install-banner {
  position: fixed;
  bottom: 74px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: calc(100% - 1.5rem);
  max-width: 360px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(45, 90, 39, 0.16);
  border-radius: 9999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(45, 90, 39, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem 0.45rem 0.65rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.pwa-install-banner.pwa-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pwa-banner-content {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow: hidden;
  min-width: 0;
}

.pwa-banner-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fdfbf7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(212, 160, 23, 0.3);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pwa-banner-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwa-banner-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.pwa-banner-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-banner-desc {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: 0.4rem;
}

.pwa-btn-install {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(45, 90, 39, 0.25);
}

.pwa-btn-install:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.pwa-btn-close {
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  color: var(--color-text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pwa-btn-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--color-text-main);
}

@media (min-width: 768px) {
  .pwa-install-banner {
    bottom: 24px;
    left: 28px;
    transform: translateY(100px);
  }
  .pwa-install-banner.pwa-show {
    transform: translateY(0);
  }
}








