/* Liza Couture — Design-system components, CSS port
   Values transcribed 1:1 from _ds_bundle.js so this static build stays visually
   identical to the React design system:
     Button           <- components/core/Button.jsx
     ServiceBadge     <- components/commerce/ServiceBadge.jsx
     WhatsAppStylist  <- components/navigation/WhatsAppStylist.jsx */

/* ============================================================
   Button
   Primary CTA is deep espresso; secondary is a fine gold-ruled
   outline; ghost is quiet text. Calm hover (no bounce).
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition:
    background var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);

  /* size: md (default) */
  padding: 14px 30px;
  font-size: 13px;
  min-height: 48px;
}

.btn--sm { padding: 10px 20px; font-size: 12px; min-height: 40px; }
.btn--md { padding: 14px 30px; font-size: 13px; min-height: 48px; }
.btn--lg { padding: 18px 40px; font-size: 14px; min-height: 56px; }

.btn--full { width: 100%; }

.btn[disabled],
.btn[aria-disabled='true'] { cursor: not-allowed; opacity: 0.45; }

.btn--primary {
  background: var(--espresso);
  color: var(--ivory);
  border: 1px solid var(--espresso);
}
.btn--primary:hover:not([disabled]) { background: var(--charcoal); color: var(--ivory); }

.btn--secondary {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--gold-soft);
}
.btn--secondary:hover:not([disabled]) {
  background: var(--gold-wash);
  border-color: var(--gold);
  color: var(--espresso);
}

.btn--ghost {
  background: transparent;
  color: var(--text-accent);
  border: 1px solid transparent;
}
.btn--ghost:hover:not([disabled]) { color: var(--gold); }

/* On dark surfaces the DS `secondary` variant renders espresso-on-espresso.
   This modifier keeps the gold rule but lifts the label to ivory. */
.btn--on-dark {
  color: var(--ivory);
  border-color: var(--gold-soft);
}
.btn--on-dark:hover:not([disabled]) {
  background: rgba(201, 174, 128, 0.16);
  border-color: var(--gold);
  color: var(--ivory);
}

/* Arabic drops the wide Latin tracking */
[lang='ar'] .btn { letter-spacing: 0; }

/* ============================================================
   ServiceBadge
   Small signal of the service state of a piece.
   Quiet by default; gold for atelier emphasis.
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  padding: 5px 10px;
  line-height: 1;
  white-space: nowrap;

  /* tone: gold (default) */
  color: var(--gold-deep);
  background: var(--gold-wash);
  border: 1px solid var(--gold-soft);
}

.badge--gold    { color: var(--gold-deep); background: var(--gold-wash);  border-color: var(--gold-soft); }
.badge--neutral { color: var(--mocha);     background: var(--warm-white); border-color: var(--line); }
.badge--atelier { color: var(--ivory);     background: var(--espresso);   border-color: var(--espresso); }
.badge--blush   { color: var(--espresso);  background: var(--blush-2);    border-color: var(--blush); }

[lang='ar'] .badge { letter-spacing: 0; }

/* ============================================================
   WhatsAppStylist
   Always-available route to a personal stylist. Framed as luxury
   service, not a support fallback.
   ============================================================ */

.wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--espresso);
  background: transparent;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  cursor: pointer;
  transition:
    background var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);
}

.wa:hover { background: var(--gold-wash); border-color: var(--gold); }

.wa__glyph { color: var(--gold-deep); display: inline-flex; }

[lang='ar'] .wa { letter-spacing: 0; }

/* variant: floating */
.wa--floating {
  font-size: 0;
  letter-spacing: 0;
  color: var(--ivory);
  background: var(--espresso);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0;
  width: 56px;
  height: 56px;
  box-shadow: var(--shadow-lift);
}

.wa--floating:hover { background: var(--charcoal); border-color: transparent; }
.wa--floating .wa__glyph { color: var(--ivory); }
