/* Sillara Core Ultra-Lightweight Styles (< 8KB) - Luxury Minimalist + Full Arabic RTL */

.sillara-pyramid-wrapper {
  margin: 2rem 0;
  padding: 1.75rem;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  color: #111111;
}

.sillara-section-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  border-bottom: 1px solid #ececec;
  padding-bottom: 0.65rem;
}

.sillara-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  color: #444444;
}

.sillara-pyramid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .sillara-pyramid-grid {
    grid-template-columns: 1fr;
  }
}

.sillara-subtitle,
.sillara-tier-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #222222;
}

.sillara-accord-row {
  margin-bottom: 0.5rem;
  background: #f5f5f5;
  border-radius: 3px;
  overflow: hidden;
}

.sillara-accord-bar {
  padding: 0.4rem 0.75rem;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.sillara-note-tier {
  margin-bottom: 1rem;
}

.sillara-note-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sillara-note-chip {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border: 1px solid #d4d4d4;
  background: #fafafa;
  font-size: 0.85rem;
  border-radius: 2px;
  color: #1f1f1f;
}

/* Action Buttons */
.sillara-btn {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-top: 0.65rem;
  transition: opacity 0.2s ease;
}

.sillara-btn:hover {
  opacity: 0.9;
}

.sillara-btn-primary {
  background: #111111;
  color: #ffffff;
}

.sillara-btn-whatsapp {
  background: #1f7a4c;
  color: #ffffff;
  margin-inline-start: 0.5rem;
}

.sillara-btn-full {
  width: 100%;
  text-align: center;
}

.sillara-sticky-wa {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background: #1f7a4c;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  z-index: 9990;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

/* 1-Click COD Modal */
.sillara-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.sillara-modal.is-open {
  display: flex;
}

.sillara-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.sillara-modal-card {
  position: relative;
  background: #ffffff;
  width: 92%;
  max-width: 440px;
  padding: 1.75rem;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.sillara-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333333;
}

.sillara-field {
  margin-bottom: 0.9rem;
}

.sillara-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.sillara-field input,
.sillara-field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cccccc;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.sillara-feedback {
  margin: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.sillara-feedback.is-error {
  color: #b32d2e;
}

.sillara-feedback.is-success {
  color: #1f7a4c;
}

/* Arabic RTL Mirroring */
[dir="rtl"] .sillara-pyramid-wrapper,
.rtl .sillara-pyramid-wrapper,
[dir="rtl"] .sillara-modal-card,
.rtl .sillara-modal-card {
  text-align: right;
  font-family: "Cairo", "Tajawal", sans-serif;
}

[dir="rtl"] .sillara-modal-close,
.rtl .sillara-modal-close {
  right: auto;
  left: 0.9rem;
}

[dir="rtl"] .sillara-sticky-wa,
.rtl .sillara-sticky-wa {
  right: auto;
  left: 1.25rem;
}
