/**
 * Mashfa reference UI — matches mockup (purple #6f2b8c, RTL, rounded cards).
 * Loaded after mashfa-app.css; scoped to #mashfa-storefront.
 */
#mashfa-storefront.mashfa-theme {
  --mf-primary: #6f2b8c;
  --mf-primary-dark: #5a2372;
  --mf-accent-price: #db2777;
  --mf-bg: #eceff3;
  --mf-surface: #ffffff;
  --mf-text: #1a1a2e;
  --mf-muted: #64748b;
  --mf-line: #e5e7eb;
  --mf-radius-lg: 20px;
  --mf-radius-xl: 24px;
  --mf-shadow: 0 12px 36px rgba(26, 26, 46, 0.08);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: var(--mf-text);
  background: var(--mf-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

#mashfa-storefront.mashfa-theme,
#mashfa-storefront.mashfa-theme * {
  box-sizing: border-box;
}

#mashfa-storefront.mashfa-theme img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#mashfa-storefront.mashfa-theme a {
  color: inherit;
  text-decoration: none;
}

#mashfa-storefront.mashfa-theme button {
  font: inherit;
  cursor: pointer;
}

#mashfa-storefront.mashfa-theme .mashfa-container {
  width: min(100% - 2rem, 1140px);
  margin-inline: auto;
}

/* —— Top bar (black) —— */
#mashfa-storefront.mashfa-theme .mashfa-topbar {
  background: #0f0f12;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

#mashfa-storefront.mashfa-theme .mashfa-topbar-tag {
  color: rgba(255, 255, 255, 0.65);
}

#mashfa-storefront.mashfa-theme .mashfa-topbar-link {
  color: rgba(255, 255, 255, 0.75);
}

#mashfa-storefront.mashfa-theme .mashfa-topbar-link--strong {
  color: #fff;
}

/* —— Header —— */
#mashfa-storefront.mashfa-theme .mashfa-header {
  background: var(--mf-surface);
  box-shadow: 0 1px 0 var(--mf-line);
  position: sticky;
  top: 0;
  z-index: 200;
}

#mashfa-storefront.mashfa-theme .mashfa-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
}

#mashfa-storefront.mashfa-theme .mashfa-logo {
  justify-self: start;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--mf-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

#mashfa-storefront.mashfa-theme .mashfa-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem;
  justify-self: center;
  flex-wrap: wrap;
  justify-content: center;
}

#mashfa-storefront.mashfa-theme .mashfa-nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mf-text);
}

#mashfa-storefront.mashfa-theme .mashfa-nav a:hover,
#mashfa-storefront.mashfa-theme .mashfa-nav a.active {
  background: rgba(111, 43, 140, 0.12);
  color: var(--mf-primary);
}

#mashfa-storefront.mashfa-theme .mashfa-header-actions {
  justify-self: end;
  display: flex;
}

@media (max-width: 991px) {
  #mashfa-storefront.mashfa-theme .mashfa-header-inner {
    grid-template-columns: 1fr auto;
  }
  #mashfa-storefront.mashfa-theme .mashfa-nav {
    display: none;
  }
}

/* Buttons */
#mashfa-storefront.mashfa-theme .mashfa-btn {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
}

#mashfa-storefront.mashfa-theme .mashfa-btn-primary {
  background: var(--mf-primary);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(111, 43, 140, 0.35);
}

#mashfa-storefront.mashfa-theme .mashfa-btn-primary:hover {
  background: var(--mf-primary-dark);
  transform: translateY(-1px);
}

#mashfa-storefront.mashfa-theme .mashfa-btn-block {
  width: 100%;
}

#mashfa-storefront.mashfa-theme .mashfa-btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 13px;
}

/* —— Hero —— */
#mashfa-storefront.mashfa-theme .mashfa-hero-stack {
  margin-bottom: 0;
}

#mashfa-storefront.mashfa-theme .mashfa-hero {
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 0 5rem;
  position: relative;
}

#mashfa-storefront.mashfa-theme .mashfa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
}

#mashfa-storefront.mashfa-theme .mashfa-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

#mashfa-storefront.mashfa-theme .mashfa-hero-glass {
  background: rgba(30, 41, 59, 0.72);
  backdrop-filter: blur(6px);
  border-radius: var(--mf-radius-lg);
  padding: 1.35rem 1.75rem;
  max-width: 720px;
  text-align: center;
}

#mashfa-storefront.mashfa-theme .mashfa-hero-glass--light {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--mf-shadow);
}

#mashfa-storefront.mashfa-theme .mashfa-hero-glass--light .mashfa-hero-title {
  color: var(--mf-text);
}

#mashfa-storefront.mashfa-theme .mashfa-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.55;
  text-shadow: none;
}

#mashfa-storefront.mashfa-theme .mashfa-booking-float {
  margin-top: -2.75rem;
  position: relative;
  z-index: 5;
  padding-bottom: 1.5rem;
}

#mashfa-storefront.mashfa-theme .mashfa-booking-bar {
  background: var(--mf-surface);
  border-radius: var(--mf-radius-xl);
  padding: 0.65rem 0.75rem 0.65rem 0.65rem;
  box-shadow: var(--mf-shadow);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
}

#mashfa-storefront.mashfa-theme .mashfa-booking-bar select,
#mashfa-storefront.mashfa-theme .mashfa-booking-bar input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--mf-line);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font: inherit;
  background: #fff;
}

#mashfa-storefront.mashfa-theme .mashfa-btn-search {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 14px;
  background: var(--mf-primary);
  color: #fff;
  align-self: center;
}

/* —— Sections —— */
#mashfa-storefront.mashfa-theme .mashfa-section {
  padding: 2.75rem 0;
}

#mashfa-storefront.mashfa-theme .mashfa-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  text-align: start;
}

#mashfa-storefront.mashfa-theme .mashfa-section-sub {
  margin: 0 0 1.35rem;
  color: var(--mf-muted);
  font-size: 14px;
  text-align: start;
  max-width: 560px;
}

/* Specialties */
#mashfa-storefront.mashfa-theme .mashfa-spec-scroll {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 991px) {
  #mashfa-storefront.mashfa-theme .mashfa-spec-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }
}

#mashfa-storefront.mashfa-theme .mashfa-spec-card {
  flex: 0 0 150px;
  scroll-snap-align: start;
  background: var(--mf-surface);
  border-radius: var(--mf-radius-lg);
  overflow: hidden;
  box-shadow: var(--mf-shadow);
}

#mashfa-storefront.mashfa-theme .mashfa-spec-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

#mashfa-storefront.mashfa-theme .mashfa-spec-card-placeholder {
  width: 100%;
  height: 130px;
  display: block;
}

#mashfa-storefront.mashfa-theme .mashfa-spec-card span {
  display: block;
  padding: 0.65rem 0.5rem;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  background: #f1f5f9;
  color: var(--mf-text);
  min-height: 52px;
  line-height: 1.35;
}

/* Promo */
#mashfa-storefront.mashfa-theme .mashfa-promo-split {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--mf-surface);
  border-radius: var(--mf-radius-xl);
  overflow: hidden;
  box-shadow: var(--mf-shadow);
}

@media (min-width: 768px) {
  #mashfa-storefront.mashfa-theme .mashfa-promo-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  #mashfa-storefront.mashfa-theme[dir="rtl"] .mashfa-promo-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

#mashfa-storefront.mashfa-theme .mashfa-promo-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

#mashfa-storefront.mashfa-theme .mashfa-promo-copy {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#mashfa-storefront.mashfa-theme .mashfa-promo-badge {
  display: inline-block;
  color: var(--mf-primary);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 0.5rem;
}

#mashfa-storefront.mashfa-theme .mashfa-promo-copy h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--mf-text);
  line-height: 1.45;
}

#mashfa-storefront.mashfa-theme .mashfa-promo-copy p {
  margin: 0 0 1.15rem;
  color: var(--mf-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Offers */
#mashfa-storefront.mashfa-theme .mashfa-offers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 1023px) {
  #mashfa-storefront.mashfa-theme .mashfa-offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  #mashfa-storefront.mashfa-theme .mashfa-offers-grid {
    grid-template-columns: 1fr;
  }
}

#mashfa-storefront.mashfa-theme .mashfa-offer-card {
  background: var(--mf-surface);
  border-radius: var(--mf-radius-lg);
  overflow: hidden;
  box-shadow: var(--mf-shadow);
  display: flex;
  flex-direction: column;
}

#mashfa-storefront.mashfa-theme .mashfa-offer-card-media img {
  height: 150px;
  width: 100%;
  object-fit: cover;
}

#mashfa-storefront.mashfa-theme .mashfa-offer-body {
  padding: 1rem 1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#mashfa-storefront.mashfa-theme .mashfa-offer-body h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 0.35rem;
  line-height: 1.4;
}

#mashfa-storefront.mashfa-theme .mashfa-offer-price {
  color: var(--mf-accent-price) !important;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 0 0.85rem;
}

#mashfa-storefront.mashfa-theme .mashfa-offer-card-btn {
  margin-top: auto;
  border-radius: 999px;
  width: 100%;
}

#mashfa-storefront.mashfa-theme .mashfa-offer-badge {
  display: none;
}

/* Partners */
#mashfa-storefront.mashfa-theme .mashfa-partners-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--mf-surface);
  border-radius: var(--mf-radius-lg);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--mf-shadow);
}

#mashfa-storefront.mashfa-theme .mashfa-partner-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  min-height: 40px;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}

#mashfa-storefront.mashfa-theme .mashfa-partner-chip img,
#mashfa-storefront.mashfa-theme .mashfa-partner-chip-logo {
  max-height: 26px;
  width: auto;
  display: inline-block;
}

/* Doctors — 4 cards per row on desktop (Tailwind grid on .mashfa-doctors-grid; CSS fallback) */
#mashfa-storefront.mashfa-theme .mashfa-doctors-grid {
  display: grid !important;
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  #mashfa-storefront.mashfa-theme .mashfa-doctors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  #mashfa-storefront.mashfa-theme .mashfa-doctors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.25rem;
  }
}

#mashfa-storefront.mashfa-theme .mashfa-doctors-scroll {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

@media (min-width: 1024px) {
  #mashfa-storefront.mashfa-theme .mashfa-doctors-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

#mashfa-storefront.mashfa-theme .mashfa-doctor-card {
  background: var(--mf-surface);
  border-radius: var(--mf-radius-xl);
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  box-shadow: var(--mf-shadow);
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

#mashfa-storefront.mashfa-theme .mashfa-doctor-card:hover {
  transform: translateY(-2px);
}

#mashfa-storefront.mashfa-theme .mashfa-doctor-avatar,
#mashfa-storefront.mashfa-theme .mashfa-doctor-avatar--placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 0.65rem;
  object-fit: cover;
}

#mashfa-storefront.mashfa-theme .mashfa-doctor-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 43, 140, 0.1);
  color: var(--mf-primary);
  font-size: 1.35rem;
  font-weight: 800;
}

#mashfa-storefront.mashfa-theme .mashfa-doctor-name {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--mf-text);
}

#mashfa-storefront.mashfa-theme .mashfa-doctor-spec {
  font-size: 13px;
  color: var(--mf-muted);
  margin: 0 0 1rem;
}

/* App banner */
#mashfa-storefront.mashfa-theme .mashfa-app-banner {
  border-radius: var(--mf-radius-xl);
  background: linear-gradient(105deg, #6f2b8c 0%, #a855f7 45%, #ec4899 100%);
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

#mashfa-storefront.mashfa-theme .mashfa-app-banner h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

#mashfa-storefront.mashfa-theme .mashfa-app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
}

#mashfa-storefront.mashfa-theme .mashfa-store-badge {
  background: #fff;
  color: var(--mf-primary);
  font-weight: 800;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
}

/* Articles */
#mashfa-storefront.mashfa-theme .mashfa-articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 767px) {
  #mashfa-storefront.mashfa-theme .mashfa-articles {
    grid-template-columns: 1fr;
  }
}

#mashfa-storefront.mashfa-theme .mashfa-article-card {
  background: var(--mf-surface);
  border-radius: var(--mf-radius-lg);
  overflow: hidden;
  box-shadow: var(--mf-shadow);
}

#mashfa-storefront.mashfa-theme .mashfa-article-card > img {
  height: 150px;
  width: 100%;
  object-fit: cover;
}

#mashfa-storefront.mashfa-theme .mashfa-article-body {
  padding: 1rem;
}

#mashfa-storefront.mashfa-theme .mashfa-article-body h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

#mashfa-storefront.mashfa-theme .mashfa-article-body p {
  font-size: 12px;
  color: var(--mf-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Testimonials */
#mashfa-storefront.mashfa-theme .mashfa-testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 767px) {
  #mashfa-storefront.mashfa-theme .mashfa-testimonials {
    grid-template-columns: 1fr;
  }
}

#mashfa-storefront.mashfa-theme .mashfa-testimonial {
  background: var(--mf-surface);
  border-radius: var(--mf-radius-lg);
  padding: 1.35rem;
  box-shadow: var(--mf-shadow);
}

#mashfa-storefront.mashfa-theme .mashfa-stars {
  color: #eab308;
  letter-spacing: 2px;
  margin-bottom: 0.65rem;
  font-size: 14px;
}

#mashfa-storefront.mashfa-theme .mashfa-stars .on {
  color: #eab308;
}

#mashfa-storefront.mashfa-theme .mashfa-testimonial-text {
  font-size: 14px;
  margin: 0 0 0.65rem;
  line-height: 1.6;
}

#mashfa-storefront.mashfa-theme .mashfa-testimonial-name {
  font-weight: 800;
  font-size: 13px;
  margin: 0;
  text-align: start;
}

/* Footer */
#mashfa-storefront.mashfa-theme .mashfa-footer {
  background: var(--mf-surface);
  border-top: 1px solid var(--mf-line);
  margin-top: 1rem;
  padding: 2.5rem 0 0;
}

#mashfa-storefront.mashfa-theme .mashfa-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (max-width: 767px) {
  #mashfa-storefront.mashfa-theme .mashfa-footer-grid {
    grid-template-columns: 1fr;
  }
}

#mashfa-storefront.mashfa-theme .mashfa-logo--footer {
  font-size: 1.35rem;
}

#mashfa-storefront.mashfa-theme .mashfa-footer-bottom {
  border-top: 1px solid var(--mf-line);
  padding: 1rem 0 1.25rem;
  font-size: 13px;
  color: var(--mf-muted);
  text-align: start;
}

#mashfa-storefront.mashfa-theme .mashfa-section--flash {
  background: linear-gradient(180deg, #e8f4fc 0%, #eef2f6 100%);
  padding: 2.75rem 0;
}

#mashfa-storefront.mashfa-theme .mashfa-section--flash .mashfa-offers-grid {
  gap: 1.15rem;
}

#mashfa-storefront.mashfa-theme .mashfa-section--soft {
  background: #f4f6f9;
}

#mashfa-storefront.mashfa-theme .mashfa-section--lavender {
  background: linear-gradient(180deg, #f5f0fa 0%, #fdf2f8 100%);
}

#mashfa-storefront.mashfa-theme .mashfa-wave-divider {
  height: 28px;
  margin: -0.5rem 0 0.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath fill='%23eceff3' d='M0,24 C200,48 400,0 600,24 C800,48 1000,0 1200,24 L1200,48 L0,48 Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

#mashfa-storefront.mashfa-theme .mashfa-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 991px) {
  #mashfa-storefront.mashfa-theme .mashfa-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  #mashfa-storefront.mashfa-theme .mashfa-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#mashfa-storefront.mashfa-theme .mashfa-service-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--mf-shadow);
}

#mashfa-storefront.mashfa-theme .mashfa-service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#mashfa-storefront.mashfa-theme .mashfa-service-tile-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.55rem 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
}

#mashfa-storefront.mashfa-theme .mashfa-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  background: var(--mf-surface);
  border-radius: var(--mf-radius-lg);
  padding: 1.15rem;
  box-shadow: var(--mf-shadow);
}

@media (max-width: 767px) {
  #mashfa-storefront.mashfa-theme .mashfa-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#mashfa-storefront.mashfa-theme .mashfa-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--mf-muted);
}

#mashfa-storefront.mashfa-theme .mashfa-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(111, 43, 140, 0.1);
  color: var(--mf-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

#mashfa-storefront.mashfa-theme .mashfa-inquiry-card {
  background: var(--mf-surface);
  border-radius: var(--mf-radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--mf-shadow);
}

#mashfa-storefront.mashfa-theme .mashfa-inquiry-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.5rem;
}

@media (max-width: 991px) {
  #mashfa-storefront.mashfa-theme .mashfa-inquiry-form {
    grid-template-columns: 1fr 1fr;
  }
}

#mashfa-storefront.mashfa-theme .mashfa-inquiry-form input {
  border: 1px solid var(--mf-line);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  width: 100%;
}

#mashfa-storefront.mashfa-theme .mashfa-inquiry-submit {
  width: 100%;
  text-align: center;
}

/* Buttons follow the business Theme "Button Background" / "Button Text" (set as CSS vars on
   #mashfa-storefront). Extra class in the selector so it outranks the rules above. */
#mashfa-storefront.mashfa-theme .mashfa-btn.mashfa-btn-primary,
#mashfa-storefront.mashfa-theme .mashfa-btn.mashfa-btn-search,
#mashfa-storefront.mashfa-theme .mashfa-booking-bar .mashfa-btn-search {
  background: var(--mashfa-btn-bg, var(--mf-primary));
  color: var(--mashfa-btn-text, #fff) !important;
}

#mashfa-storefront.mashfa-theme .mashfa-btn.mashfa-btn-primary:hover,
#mashfa-storefront.mashfa-theme .mashfa-btn.mashfa-btn-search:hover {
  background: var(--mashfa-btn-bg, var(--mf-primary));
  filter: brightness(0.92);
}

#mashfa-storefront.mashfa-theme .mashfa-contact-form-wrap button[type="submit"],
#mashfa-storefront.mashfa-theme .mashfa-auth-card button[type="submit"] {
  background: var(--mashfa-btn-bg, var(--mashfa-primary)) !important;
  color: var(--mashfa-btn-text, #fff) !important;
}
