/* Anushka Fashion — CONTACT page. Colours come only from the theme tokens in store.css,
   so light and dark mode both work without extra rules. */

/* ------------------------------------------------------------ contact cards */
.contact-cards { padding-top: 0; }
.contact-cards__grid { align-items: stretch; }
.contact-card {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: clamp(20px, 2.6vw, 28px);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
@media (hover: hover) {
  .contact-card:hover { border-color: var(--gold-light); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
}
.contact-card__icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px;
  border-radius: 50%; color: var(--gold-deep);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__title {
  font-family: var(--font-display); font-weight: 500; color: var(--ink);
  font-size: calc(1.3rem * var(--display-scale)); line-height: 1.2;
}
.contact-card__text { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1 1 auto; }
.contact-card__value {
  align-self: flex-start; color: var(--ink); font-weight: 500; font-size: 15px;
  overflow-wrap: anywhere;
}
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.contact-card__actions .btn { flex: 1 1 auto; min-width: 110px; }

/* ------------------------------------------------------------ forms + aside */
.contact-layout {
  display: grid; gap: clamp(24px, 3vw, 40px); align-items: start;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1000px) {
  .contact-layout { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 20px); }
}

.contact-formwrap { padding: clamp(20px, 3.4vw, 40px); }
.contact-formwrap__head { margin-bottom: 8px; }
.contact-formwrap__title { margin-top: 6px; }

.contact-tabs { margin-top: 12px; }
.contact-tabs .tabs__tab { outline-offset: 4px; }

.contact-panel { padding-top: 24px; }
.contact-panel__intro { color: var(--muted); margin-bottom: 22px; max-width: 60ch; }

.contact-form .field__optional {
  margin-left: 6px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted);
}
.contact-form .textarea { min-height: 110px; resize: vertical; }
.contact-form__foot { display: grid; gap: 10px; margin-top: 8px; }
.contact-form__note { font-size: 13px; color: var(--muted); text-align: center; }
.contact-form [type="submit"][disabled] { opacity: .7; }

/* product the enquiry is about */
.contact-product {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--gold) 7%, var(--ivory));
}
.contact-product img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--radius); flex: 0 0 auto; }
.contact-product__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.contact-product__body small { font-size: var(--micro-size); letter-spacing: var(--track-micro); text-transform: uppercase; color: var(--muted); }
.contact-product__body a { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-product__body span { color: var(--gold-deep); font-size: 14px; }
.contact-product .link-underline { flex: 0 0 auto; font-size: 13px; color: var(--muted); }

/* sent */
.contact-success {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: clamp(28px, 5vw, 48px) clamp(12px, 3vw, 24px);
  animation: fadeUp .5s var(--ease);
}
.contact-success__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent);
}
.contact-success__icon svg { width: 30px; height: 30px; }
.contact-success__title {
  font-family: var(--font-display); font-weight: 500; color: var(--ink);
  font-size: calc(clamp(1.6rem, 1.3rem + 1vw, 2.1rem) * var(--display-scale)); line-height: 1.15;
}
.contact-success__text { max-width: 46ch; color: var(--ink-2); }
.contact-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* store card */
.contact-aside { display: grid; gap: 20px; }
.contact-store { display: grid; gap: 18px; }
.contact-store__tag { margin-top: -10px; font-family: var(--font-display); font-style: italic; color: var(--gold-deep); font-size: 1.05rem; }
.contact-store__row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.contact-store__row > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-store__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--gold-deep); background: color-mix(in srgb, var(--gold) 12%, transparent);
}
.contact-store__icon svg { width: 20px; height: 20px; }
.contact-store__label { font-size: var(--micro-size); font-weight: 500; letter-spacing: var(--track-micro); text-transform: uppercase; color: var(--muted); }
.contact-store__value { font-style: normal; color: var(--ink); line-height: 1.55; overflow-wrap: anywhere; }
a.contact-store__value { align-self: flex-start; }
.contact-store__value--mr { color: var(--muted); font-size: 14px; }
.contact-store__open {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 2px;
  padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent);
}
.contact-store__open::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.contact-store__open.is-open { color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); }
.contact-store__actions { display: grid; gap: 10px; }

.contact-assure { display: grid; gap: 12px; padding: 4px 4px 0; }
.contact-assure li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 14px; }
.contact-assure svg { width: 20px; height: 20px; color: var(--gold-deep); }

/* ------------------------------------------------------------ map */
.contact-map {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 16 / 7; min-height: 280px; background: var(--cream);
}
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-map__note { margin-top: 14px; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) {
  .contact-map { aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------ small screens */
@media (max-width: 599px) {
  .contact-formwrap { padding: 20px 16px; border-left: 0; border-right: 0; border-radius: 0; margin-inline: calc(var(--gutter) * -1); }
  .contact-card__actions .btn { min-width: 0; }
  .contact-success__actions .btn { flex: 1 1 100%; }
}
