/* ==========================================================================
   SaharShop Contact page — sc-contact / sc-cform
   ========================================================================== */

body.lang-rtl.page-contact #wrapper,
body.lang-rtl.page-contact #main,
body.lang-rtl.page-contact #content-wrapper,
body.lang-rtl.page-contact .sc-contact-wrap {
  max-width: none !important;
  width: 100% !important;
}

body.lang-rtl.page-contact #content-wrapper.left-column,
body.lang-rtl.page-contact #left-column,
body.lang-rtl.page-contact #right-column {
  display: none !important;
}

body.lang-rtl.page-contact .breadcrumb {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.sc-contact {
  --sc-ink: #10182f;
  --sc-muted: #606779;
  --sc-line: #dde2ef;
  --sc-pink: #f00868;
  --sc-pink-deep: #c4004c;
  --sc-bg: #f6f1fc;
  --sc-card: #ffffff;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 72px;
  color: var(--sc-ink);
}

.sc-contact__hero {
  text-align: center;
  margin-bottom: 28px;
  padding: 28px 18px 8px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 70% 0%, #fff0fa 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, #fbf7ff 100%);
  border: 1px solid #fff;
  box-shadow: 0 18px 40px #58427d14;
}

.sc-contact__eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--sc-pink);
  letter-spacing: 0.02em;
}

.sc-contact__title {
  margin: 0 0 10px !important;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem) !important;
  font-weight: 900 !important;
  color: var(--sc-ink) !important;
  line-height: 1.35 !important;
}

.sc-contact__lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.9;
  color: var(--sc-muted);
  font-weight: 600;
}

/* Phone + email side by side */
.sc-contact__channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 28px;
}

.sc-contact__chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 20px;
  background: var(--sc-card);
  border: 1.5px solid var(--sc-line);
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 10px 24px #58427d10;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.sc-contact__chip:hover {
  border-color: #f5a0c6;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px #c4004c18;
  color: inherit;
}

.sc-contact__chip-ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(170deg, #ff086b, #c4004c);
  color: #fff;
}

.sc-contact__chip-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sc-contact__chip-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--sc-muted);
}

.sc-contact__chip-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--sc-ink);
  word-break: break-word;
}

.sc-contact__section-title {
  margin: 0 0 10px !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: var(--sc-ink) !important;
}

/* Locations */
.sc-contact__locations {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 34px;
  padding: 22px;
  border-radius: 24px;
  background: var(--sc-card);
  border: 1px solid var(--sc-line);
  box-shadow: 0 14px 32px #58427d12;
}

.sc-contact__address {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
  color: #3b4458;
}

.sc-contact__directions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sc-contact__dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--sc-line);
  background: #f7f7fb;
  color: var(--sc-ink) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
}

.sc-contact__dir:hover {
  border-color: #f5a0c6;
  background: #fff5fa;
  color: var(--sc-pink) !important;
}

.sc-contact__dir img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.sc-contact__map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--sc-line);
  min-height: 240px;
  background: #eef1f8;
}

.sc-contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
}

/* Form */
.sc-contact__form-wrap {
  padding: 26px 22px 28px;
  border-radius: 24px;
  background: var(--sc-card);
  border: 1px solid var(--sc-line);
  box-shadow: 0 14px 32px #58427d12;
}

.sc-contact__form-lead {
  margin: 0 0 20px;
  color: var(--sc-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.sc-cform__form {
  margin: 0;
}

.sc-cform__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}

.sc-cform__field--full,
.sc-cform__actions {
  grid-column: 1 / -1;
}

.sc-cform__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--sc-ink);
}

.sc-cform__label small {
  color: var(--sc-muted);
  font-weight: 600;
}

.sc-cform__control,
.sc-cform .form-control,
.sc-cform .custom-select {
  width: 100% !important;
  min-height: 48px;
  border: 1.5px solid var(--sc-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 600;
  color: var(--sc-ink) !important;
  padding: 10px 14px !important;
}

.sc-cform__textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

.sc-cform__control:focus,
.sc-cform .form-control:focus,
.sc-cform .custom-select:focus {
  border-color: var(--sc-pink) !important;
  box-shadow: 0 0 0 3px rgba(240, 8, 104, 0.12) !important;
  outline: none;
}

.sc-cform__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sc-cform__submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(170deg, #ff086b, #c4004c) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 22px #c4004c23 !important;
  cursor: pointer;
}

.sc-cform__submit:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.sc-cform__alert {
  border-radius: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sc-cform__alert ul {
  margin: 0;
  padding: 0 1.1rem 0 0;
}

/* Hide legacy leftover store card if any hook still prints it */
body.lang-rtl.page-contact .contact-rich,
body.lang-rtl.page-contact .page-footer--contact:empty {
  display: none !important;
}

@media (max-width: 860px) {
  .sc-contact__channels,
  .sc-contact__locations,
  .sc-cform__fields {
    grid-template-columns: 1fr;
  }

  .sc-contact {
    padding: 18px 14px 56px;
  }

  .sc-contact__locations,
  .sc-contact__form-wrap {
    padding: 18px 14px;
  }

  .sc-contact__map,
  .sc-contact__map iframe {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .sc-contact__chip {
    padding: 14px;
  }

  .sc-contact__chip-value {
    font-size: 14px;
  }

  .sc-cform__submit {
    width: 100%;
  }
}
