/* ==========================================================================
   ANTURAZH — order form (#order, products.html)
   CTA chrome now shares the monochrome system (style.css): flat black
   fill, no radius, no shadow, no gradient. Only the #order section itself
   keeps its own warm ivory/rose backdrop and Italiana/Jost type as a
   deliberate "boutique counter" accent — everything a shopper *clicks*
   stays on-brand.
   ========================================================================== */

/* ─── Sitewide "order" CTA system ─────────────────────────────────────────
   Підключається на index/catalog/products/services — той самий візуальний
   ряд, що й .btn/.btn-primary/.btn-ghost (style.css), просто із суцільною
   заливкою для акценту на головному заклику до дії. */
:root {
  --rose-deep: #8a5468;
  --gold: #ad8a4c;
}

.btn-order {
  display: inline-block;
  font-family: var(--font, "Manrope", sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bone, #f2e9de);
  background: var(--ink, #000);
  border: 1px solid var(--ink, #000);
  border-radius: 0;
  padding: 0.85rem 1.7rem;
  text-decoration: none;
  transition: var(--transition, 0.28s ease);
}

.btn-order:hover {
  color: var(--ink, #000);
  background: transparent;
}

.about-order-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font, "Manrope", sans-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink, #000);
  text-decoration: none;
  border-bottom: 1px solid var(--ink, #000);
  padding-bottom: 2px;
  transition: var(--transition, 0.28s ease);
}

.about-order-cta:hover {
  opacity: 0.6;
}

.sticky-order-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  font-family: var(--font, "Manrope", sans-serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--ink, #000);
  color: var(--bone, #f2e9de);
  border: 1px solid var(--ink, #000);
  padding: 0.9rem 1.6rem;
  border-radius: 0;
  text-decoration: none;
  box-shadow: none;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth, ease),
    transform 0.3s var(--ease-smooth, ease), background 0.2s ease, color 0.2s ease;
}

.sticky-order-cta:hover {
  background: var(--bone, #f2e9de);
  color: var(--ink, #000);
}

.sticky-order-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.no-motion .sticky-order-cta {
  transition: none !important;
}

@media (max-width: 640px) {
  .sticky-order-cta {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }
}

#order {
  --order-ivory: #fbeff0;
  --order-ivory-2: #ffffff;
  --order-rose: #c98b9e;
  --order-rose-deep: #a9647a;
  --order-gold: #c6a15b;
  --order-ink: #2b1f22;
  --order-line: rgba(43, 31, 34, 0.18);
  --order-display: "Italiana", serif;
  --order-body: "Jost", sans-serif;

  background: var(--order-ivory);
  color: var(--order-ink);
  padding: 88px 24px;
}

.order-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--order-body);
}

.order-kicker {
  text-align: center;
  margin-bottom: 14px;
}

.order-mono {
  font-family: var(--order-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--order-rose-deep);
}

.order-heading {
  font-family: var(--order-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  letter-spacing: 0.01em;
  margin-bottom: 40px;
  color: var(--order-ink);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--order-rose-deep);
}

.order-form input[type="text"],
.order-form input[type="tel"] {
  font-family: var(--order-body);
  font-size: 15px;
  color: var(--order-ink);
  background: var(--order-ivory-2);
  border: 1px solid var(--order-line);
  border-radius: 0;
  padding: 0.8rem;
  transition: border-color 0.25s ease;
}

.order-form input[type="text"]:focus,
.order-form input[type="tel"]:focus {
  outline: none;
  border-color: var(--order-rose-deep);
}

.order-form input:invalid {
  box-shadow: none; /* власна валідація в JS замість нативних червоних рамок */
}

.order-payment-choice {
  border: 1px solid var(--order-line);
  border-radius: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0;
}

.order-payment-choice label {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--order-ink);
  cursor: pointer;
}

.order-payment-choice input[type="radio"] {
  accent-color: var(--order-rose-deep);
  width: 16px;
  height: 16px;
}

.order-submit {
  font-family: var(--order-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--order-ivory-2);
  background: var(--order-ink);
  border: 1px solid var(--order-ink);
  border-radius: 0;
  padding: 1rem;
  margin-top: 8px;
  cursor: pointer;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.order-submit:hover:not(:disabled) {
  background: transparent;
  color: var(--order-ink);
}

.order-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.order-error {
  font-size: 13px;
  color: #a13b3b;
  text-align: center;
  margin-top: 4px;
}

.order-field-error {
  font-size: 12px;
  font-weight: 400;
  color: #a13b3b;
  letter-spacing: normal;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 599px) {
  #order {
    padding: 64px 20px;
  }
}
