/* وضعیت فرم سفارش و فیلدهای تکمیلی */
.purchase input[type="email"],
.purchase input[type="tel"] {
  direction: ltr;
  text-align: left;
}

.purchase input.invalid,
.purchase select.invalid {
  border-color: #d85050;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(216, 80, 80, .10);
}

.purchase form button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.order-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 14px;
  padding: 12px 14px;
  border: 1px solid #bfe1da;
  border-radius: 10px;
  background: #eef9f6;
  color: #315e57;
}

.order-price[hidden] { display: none; }
.order-price span { font-size: 12px; }
.order-price strong { color: #087667; font-size: 18px; }

.order-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.order-status {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}

.order-status[hidden] { display: none; }
.purchase #form-message.success {
  width: 100%;
  padding: 13px 22px;
  border: 0;
  border-radius: 12px;
  background: #198754;
  color: #fff;
  box-shadow: 0 12px 28px rgba(25, 135, 84, .20);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}
.order-status.error { background: #fdecea; color: #a12622; border-color: #f5c1be; }
.order-status.warn { background: #fff8e6; color: #7a6000; border-color: #f2dd9a; }
.order-status.pending { background: #eef4fd; color: #1c4e8a; border-color: #c3d9f5; }
.footer-socials {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 12px;
}

.footer-grid a.footer-social {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
  transition: transform .2s ease, filter .2s ease;
}

.footer-grid a.footer-social:hover,
.footer-grid a.footer-social:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.footer-grid a.footer-social:focus-visible {
  outline: 2px solid #65d2c0;
  outline-offset: 4px;
}

.footer-social img {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  object-fit: cover;
  border-radius: 50%;
}

.contact-strip { position: relative; overflow: hidden; padding: 30px 0; background: linear-gradient(135deg, #eef7f4 0%, #f8fbfa 55%, #e8f4f1 100%); border-top: 1px solid #dbeae6; border-bottom: 1px solid #dbeae6; }
.contact-strip::before { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -130px; border-radius: 50%; background: rgba(19, 148, 129, .1); }
.contact-strip-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-strip-copy span { color: #0b8876; font-size: 12px; font-weight: 700; }
.contact-strip-copy h2 { margin: 1px 0 2px; color: #173f39; font-size: 25px; line-height: 1.45; }
#contact-strip-title { scroll-margin-top: 110px; }
.contact-strip-copy p { margin: 0; color: #667f7a; font-size: 13px; }
.contact-strip-socials { display: flex; align-items: center; gap: 12px; }
.contact-social { min-width: 185px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid #d8e8e4; border-radius: 14px; background: rgba(255, 255, 255, .9); box-shadow: 0 8px 24px rgba(25, 73, 65, .08); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.contact-social:hover, .contact-social:focus-visible { transform: translateY(-3px); border-color: #add9d0; box-shadow: 0 13px 30px rgba(25, 73, 65, .13); }
.contact-social:focus-visible { outline: 2px solid #149481; outline-offset: 3px; }
.contact-social img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.contact-social span { display: grid; line-height: 1.35; }
.contact-social small { color: #78908b; font-size: 10px; }
.contact-social strong { color: #214a44; font-size: 15px; }
.contact-social b { color: #118a78; font-size: 17px; transition: transform .2s ease; }
.contact-social:hover b { transform: translateX(-3px); }
@media (max-width: 800px) { .contact-strip-inner { align-items: stretch; flex-direction: column; } .contact-strip-socials { width: 100%; } .contact-social { flex: 1; } }
@media (max-width: 520px) { .contact-strip { padding: 25px 0; } .contact-strip-socials { align-items: stretch; flex-direction: column; } .contact-social { width: 100%; } }

.footer-grid { grid-template-columns: 1.35fr .8fr .8fr 1.2fr 1fr; gap: 32px; }
.footer-grid p { margin: 0; }
.footer-support { gap: 3px !important; }
.footer-support > strong { margin-bottom: 5px !important; }
.footer-support p + p { margin-top: 3px; }
.footer-support > a { margin-top: 5px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid > div:last-child { grid-column: auto; } }
@media (max-width: 720px) { .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; } }
