/**
 * Reyhani Automotive - WhatsApp-Only Catalog Mode Stylesheet
 * High-converting, industrial crimson red call-to-action styling.
 */

:root {
  --ra-red-primary: #D32F2F;
  --ra-red-hover: #B71C1C;
  --ra-red-light: #FFEBEE;
  --ra-navy-dark: #0B1320;
  --ra-navy-surface: #0F172A;
  --ra-slate-border: #E2E8F0;
  --ra-text-dark: #0F172A;
  --ra-text-muted: #64748B;
  --ra-green-stock: #16A34A;
}

/* Single Product Inquiry Box */
.reyhani-inquiry-box {
  background: #FFFFFF;
  border: 1px solid var(--ra-slate-border);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.reyhani-single-spec-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ra-slate-border);
}

.reyhani-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.reyhani-spec-badge .spec-label {
  color: var(--ra-text-muted);
}

.reyhani-spec-badge .spec-code {
  color: var(--ra-navy-dark);
  font-family: monospace;
  font-size: 0.95rem;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 4px;
}

.reyhani-badge-stock {
  color: var(--ra-green-stock);
  font-weight: 700;
  font-size: 0.85rem;
}

.stock-dot {
  width: 8px;
  height: 8px;
  background: var(--ra-green-stock);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

/* Prominent Red WhatsApp Button */
.reyhani-whatsapp-action {
  margin: 12px 0 16px 0;
}

.reyhani-btn-whatsapp-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: linear-gradient(135deg, #0B1118 0%, #1E293B 100%);
  color: #FFFFFF !important;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(11, 17, 24, 0.32);
  border: 1px solid #1E293B;
  text-align: center;
}

.reyhani-btn-whatsapp-primary .reyhani-btn-icon {
  color: #25D366;
}

.reyhani-btn-whatsapp-primary:hover,
.reyhani-btn-whatsapp-primary:focus {
  background: #070B12;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 17, 24, 0.48);
  color: #FFFFFF !important;
}

.reyhani-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reyhani-inquiry-guarantee {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ra-text-muted);
  font-weight: 600;
}

/* Catalog Loop Card Button */
.reyhani-loop-action {
  margin-top: 14px;
}

.reyhani-loop-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #0B1118 0%, #1E293B 100%);
  color: #FFFFFF !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid #1E293B;
}

.reyhani-loop-whatsapp-btn .loop-btn-icon {
  color: #25D366;
}

.reyhani-loop-whatsapp-btn:hover,
.reyhani-loop-whatsapp-btn:focus {
  background: #070B12;
  box-shadow: 0 4px 12px rgba(11, 17, 24, 0.35);
  color: #FFFFFF !important;
}

.loop-btn-icon {
  display: flex;
  align-items: center;
}

/* RTL Adjustments */
body.rtl .reyhani-btn-whatsapp-primary,
[dir="rtl"] .reyhani-btn-whatsapp-primary {
  direction: rtl;
}

body.rtl .reyhani-single-spec-ribbon,
[dir="rtl"] .reyhani-single-spec-ribbon {
  direction: rtl;
}
