/* ═══════════════════════════════════════════════════════
   EMPYRA DESIGN SYSTEM — Design Tokens
   ═══════════════════════════════════════════════════════ */
:root {
    /* Brand palette */
    --emp-coral:        #E07856;   /* CTA, highlights — use ONLY on dark bg or as bg with white large text */
    --emp-coral-dark:   #B85C38;   /* Coral text on light bg (4.54:1 on white) — buttons, links */
    --emp-coral-text:   #9E4A2E;   /* Coral text on coral-light tint (5.10:1) — badges, tags on tint bg */
    --emp-coral-light:  #FAE8E1;   /* Primary tint — badges, tags */
    --emp-teal:         #2C5F6F;
    --emp-teal-light:   #E1F0F4;
    --emp-mustard:      #F2A900;
    --emp-cream:        #FAF8F3;
    --emp-charcoal:     #2D2D2D;
    --emp-muted:        #6B6B6B;   /* AA normal on white (5.33:1) and cream (5.02:1) */
    --emp-border:       #E8E4DC;
    --emp-border-input: #C4BFBA;   /* 3:1 on white — meets WCAG 1.4.11 for UI components */

    /* Surfaces */
    --emp-bg-site:      #F0EDE6;
    --emp-bg-card:      #FFFFFF;
    --emp-bg-subtle:    #FAF8F3;

    /* Elevation */
    --emp-shadow:       0 2px 8px rgba(0, 0, 0, 0.08);
    --emp-shadow-md:    0 4px 16px rgba(0, 0, 0, 0.12);

    /* Shape */
    --emp-r-btn:        24px;
    --emp-r-card:       12px;
    --emp-r-input:      8px;
    --emp-r-badge:      100px;

    /* Typography */
    --emp-font-heading: 'Playfair Display', Georgia, serif;
    --emp-font-body:    'DM Sans', system-ui, sans-serif;

    /* Normalized form tokens */
    --emp-input-border-width: 1.5px;
    --emp-input-padding: 10px 12px;
    --emp-input-font-size: 14px;
    --emp-label-font-size: 12px;
    --emp-label-font-weight: 600;
    --emp-grid-gap: 16px;
    --emp-chip-radius: 100px;
    --emp-chip-font-size: 12px;
    --emp-focus-ring: 0 0 0 3px rgba(224, 120, 86, 0.15);
    --emp-focus-ring-color: var(--emp-coral);

    /* Semantic */
    --emp-danger:       #dc2626;
    --emp-danger-light:  #fef2f2;
    --emp-danger-border: #fecaca;
    --emp-success:       #166534;
    --emp-success-light:  #f0fdf4;
    --emp-success-border: #bbf7d0;
    --emp-white:         #ffffff;
}

/* ── Generic action button base ─────────────────────────────────────────────── */

.empyra-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    color: #2D2D2D;
    transition: color .2s, transform .15s;
}
.empyra-action-btn:hover    { transform: scale(1.15); }
.empyra-action-btn:disabled { opacity: .5; pointer-events: none; }

/* ── Product Reviews ─────────────────────────────────────────── */
.empyra-reviews { display: flex; flex-direction: column; gap: 16px; }
.empyra-reviews__empty { color: var(--emp-muted); font-size: 14px; margin: 0; }
.empyra-reviews__item { padding: 14px 16px; background: #FAF8F3; border-radius: 10px; border: 1px solid #E8E4DC; }
.empyra-reviews__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; gap: 8px; }
.empyra-reviews__author { font-size: 13px; font-weight: 600; color: #2D2D2D; }
.empyra-reviews__time { font-size: 12px; color: var(--emp-muted); white-space: nowrap; }
.empyra-reviews__text { font-size: 14px; color: #2D2D2D; margin: 0; line-height: 1.5; }

/* ── Reviews Form ────────────────────────────────────────────── */
.empyra-reviews__form { margin-top: 20px; border-top: 1px solid #E8E4DC; padding-top: 16px; }
.empyra-reviews__input { width: 100%; padding: 10px 12px; border: 1.5px solid #E8E4DC; border-radius: 8px; font-size: 14px; font-family: inherit; resize: vertical; background: #FAF8F3; color: #2D2D2D; box-sizing: border-box; outline: none; transition: border-color 0.15s; }
.empyra-reviews__input:focus { border-color: #E07856; }
.empyra-reviews__form-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 12px; flex-wrap: wrap; }
.empyra-reviews__type-toggle { display: flex; gap: 16px; }
.empyra-reviews__type-opt { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #2D2D2D; cursor: pointer; }
.empyra-reviews__submit { padding: 8px 20px; background: #2C5F6F; color: #fff; border: none; border-radius: 24px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; transition: opacity 0.15s; }
.empyra-reviews__submit:hover { opacity: 0.85; }
.empyra-reviews__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.empyra-reviews__alert { padding: 8px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.empyra-reviews__alert--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.empyra-reviews__alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.empyra-reviews__login { font-size: 13px; color: var(--emp-muted); margin-top: 16px; border-top: 1px solid #E8E4DC; padding-top: 14px; }
.empyra-reviews__login a { color: #E07856; }
.empyra-reviews__meta-left { display: flex; align-items: center; gap: 8px; }
.empyra-reviews__badge { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; }
.empyra-reviews__badge--review { background: #EDF4FF; color: #1D4ED8; }
.empyra-reviews__badge--comment { background: #F0EDE6; color: var(--emp-muted); }
.empyra-reviews__item--new { animation: empyra-fade-in 0.3s ease; }
@keyframes empyra-fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════════════════════════════
   Empyra Shared Form Patterns (.emp-*)
   Unified design system for ebp-, ep-, fi-, eauth- components.
   ═══════════════════════════════════════════════════════════════ */

/* ── Wrapper ───────────────────────────────────────────────────── */
.emp-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 100px; /* bottom clearance for sticky action bar */
  font-size: 14px;
  font-family: inherit;
}
@media (min-width: 1100px) {
  .emp-wrap { max-width: 980px; }
}

/* ── Page Title & Subtitle ──────────────────────────────────────── */
.emp-page-title {
  font-family: var(--emp-font-heading, 'Playfair Display', serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--emp-charcoal);
  margin: 0 0 4px;
}
.emp-page-subtitle {
  font-size: 13px;
  color: var(--emp-muted);
  margin: 0 0 24px;
}

/* ── Tabs (numbered pill pattern) ──────────────────────────────── */
.emp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.emp-tabs::-webkit-scrollbar { display: none; }

.emp-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--emp-border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--emp-muted);
  font-weight: 500;
  font-size: 13px;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.emp-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--emp-charcoal);
}
.emp-tab--active {
  background: var(--emp-bg-card);
  color: var(--emp-charcoal);
  font-weight: 500;
  box-shadow: var(--emp-shadow);
  border-left: 3px solid var(--emp-coral);
}
.emp-tab__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emp-border);
  color: var(--emp-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.emp-tab__label {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.emp-tab--active .emp-tab__num {
  background: var(--emp-coral);
  color: var(--emp-white);
}
.emp-tab--completed .emp-tab__num {
  background: var(--emp-teal);
  color: var(--emp-white);
}
.emp-tab--completed {
  color: var(--emp-teal);
}

/* ── Progress Bar (connected segments, no text) ────────────────── */
.emp-progress {
  display: flex;
  width: 100%;
  margin-bottom: 24px;
  cursor: pointer;
}
.emp-progress__segment {
  flex: 1;
  height: 6px;
  background: var(--emp-border);
  transition: background 0.2s;
  border: none;
  padding: 0;
  outline: none;
}
.emp-progress__segment:first-child { border-radius: 3px 0 0 3px; }
.emp-progress__segment:last-child { border-radius: 0 3px 3px 0; }
.emp-progress__segment--active { background: var(--emp-coral); }
.emp-progress__segment--completed { background: var(--emp-teal); }
.emp-progress__segment:focus-visible {
  outline: 2px solid var(--emp-coral);
  outline-offset: 2px;
}

/* ── Intro Card (step context) ─────────────────────────────────── */
.emp-intro-card {
  background: var(--emp-bg-card);
  border-radius: var(--emp-r-card);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--emp-shadow);
  border-left: 3px solid var(--emp-coral);
}
.emp-intro-card--teal { border-left-color: var(--emp-teal); }
.emp-intro-card--mustard { border-left-color: var(--emp-mustard); }
.emp-intro-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--emp-charcoal);
  margin: 0 0 4px;
}
.emp-intro-card__text {
  font-size: 13px;
  color: var(--emp-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Panels ─────────────────────────────────────────────────────── */
.emp-panel { display: none; }
.emp-panel--active {
  display: block;
  animation: emp-fadeUp 0.3s ease;
}
@keyframes emp-fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Cards ──────────────────────────────────────────────────────── */
.emp-card {
  background: var(--emp-bg-card);
  border-radius: var(--emp-r-card);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09), 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid var(--emp-border);
}
.emp-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--emp-charcoal);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.1px;
}

/* ── Grid ───────────────────────────────────────────────────────── */
.emp-grid { display: grid; gap: var(--emp-grid-gap); }
.emp-grid--2 { grid-template-columns: 1fr 1fr; }
.emp-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .emp-grid--2, .emp-grid--3 { grid-template-columns: 1fr; }
}

/* ── Fields & Labels ────────────────────────────────────────────── */
.emp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.emp-label {
  display: block;
  font-size: var(--emp-label-font-size);
  font-weight: var(--emp-label-font-weight);
  color: var(--emp-charcoal);
  margin-bottom: 4px;
}
.emp-req { color: var(--emp-coral-dark); }

/* ── Inputs, Selects, Textareas ─────────────────────────────────── */
.emp-input,
.emp-select,
.emp-textarea {
  padding: var(--emp-input-padding);
  border: var(--emp-input-border-width) solid var(--emp-border-input, #C4BFBA);
  border-radius: var(--emp-r-input);
  background: var(--emp-cream);
  font-size: var(--emp-input-font-size) !important;
  font-family: inherit;
  color: var(--emp-charcoal);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.emp-input:focus,
.emp-select:focus,
.emp-textarea:focus {
  border-color: var(--emp-focus-ring-color);
  box-shadow: var(--emp-focus-ring);
}
.emp-input::placeholder,
.emp-textarea::placeholder {
  color: var(--emp-muted);
  opacity: 0.7;
}
.emp-textarea {
  resize: vertical;
  min-height: 80px;
}
.emp-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A7A7A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.emp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--emp-r-btn);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: opacity 0.15s, transform 0.1s, border-color 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.3px;
  box-sizing: border-box;
  text-decoration: none;
}
.emp-btn:hover { transform: translateY(-1px); }
.emp-btn:active { transform: translateY(0); }
.emp-btn:disabled, .emp-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.emp-btn:focus-visible {
  outline: 2px solid var(--emp-coral);
  outline-offset: 2px;
}

.emp-btn--primary {
  background: var(--emp-teal);
  color: var(--emp-white);
  border-color: var(--emp-teal);
}
.emp-btn--primary:hover { opacity: 0.88; }

.emp-btn--ghost {
  background: transparent;
  color: var(--emp-charcoal);
  border-color: var(--emp-border-input, #C4BFBA);
}
.emp-btn--ghost:hover { border-color: var(--emp-muted); color: var(--emp-charcoal); }

.emp-btn--outline {
  background: transparent;
  color: var(--emp-teal);
  border-color: var(--emp-teal);
}
.emp-btn--outline:hover { background: var(--emp-cream); }

.emp-btn--danger {
  background: transparent;
  color: var(--emp-danger);
  border-color: var(--emp-danger-border);
  padding: 6px 10px;
}
.emp-btn--danger:hover { background: var(--emp-danger-light); }

.emp-btn--coral {
  background: var(--emp-coral-dark);
  color: var(--emp-white);
}
.emp-btn--coral:hover { opacity: 0.9; }

.emp-btn--teal {
  background: var(--emp-teal);
  color: var(--emp-white);
}
.emp-btn--teal:hover { opacity: 0.9; }

.emp-btn--sm {
  padding: 5px 12px;
  font-size: 11px;
}

/* ── Action Bar (frosted glass) ─────────────────────────────────── */
.emp-action-bar {
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  margin-top: 24px;
}
.emp-action-bar__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Chip Selects ───────────────────────────────────────────────── */
.emp-chip-select {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.emp-chip-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.emp-chip-opt {
  border-radius: var(--emp-chip-radius);
  padding: 6px 14px;
  font-size: var(--emp-chip-font-size);
  background: var(--emp-cream);
  border: 1.5px solid var(--emp-border-input, #C4BFBA);
  color: var(--emp-charcoal);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  user-select: none;
  font-family: inherit;
  line-height: 1.3;
}
.emp-chip-opt:hover {
  background: var(--emp-coral-light);
  border-color: var(--emp-coral);
  color: var(--emp-charcoal);
}
.emp-chip-opt--selected {
  background: var(--emp-coral-dark);
  border-color: var(--emp-coral-dark);
  color: var(--emp-white);
}
.emp-chip-opt--selected:hover {
  opacity: 0.9;
}
.emp-chip-opt:focus-visible {
  outline: 2px solid var(--emp-coral);
  outline-offset: 2px;
}

/* ── Alerts ──────────────────────────────────────────────────────── */
.emp-alert {
  border-radius: var(--emp-r-input);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 16px;
}
.emp-alert--success {
  background: var(--emp-success-light, #E1F4EA);
  color: var(--emp-success, #166534);
}
.emp-alert--error {
  background: var(--emp-danger-light, #FDE8E0);
  color: var(--emp-danger, #dc2626);
}

/* ── Image Upload ───────────────────────────────────────────────── */
.emp-img-upload {
  position: relative;
  border: 2px dashed var(--emp-border);
  border-radius: var(--emp-r-card);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
  background: var(--emp-cream);
}
.emp-img-upload:hover { border-color: var(--emp-coral); }
.emp-img-preview {
  position: relative;
  border-radius: var(--emp-r-card);
  overflow: hidden;
}
.emp-img-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--emp-r-card);
}

/* ── Accessibility: Focus Visible ──────────────────────────────── */
.emp-tab:focus-visible {
  outline: 2px solid var(--emp-coral);
  outline-offset: 2px;
}
.emp-action-bar :focus-visible {
  outline: 2px solid var(--emp-coral);
  outline-offset: 2px;
}

/* ── Visually Hidden (for radio/checkbox in chips) ─────────────── */
.emp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Welcome Overlay ────────────────────────────────────────────── */
.emp-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.emp-welcome-card {
  background: linear-gradient(135deg, #F0EDE6 0%, #FAF8F3 50%, #E1F0F4 100%);
  border-radius: 16px;
  padding: 48px 32px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.emp-welcome-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emp-coral), var(--emp-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.emp-welcome-card__title {
  font-family: var(--emp-font-heading, 'Playfair Display', serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--emp-charcoal);
  margin: 0 0 8px;
}
.emp-welcome-card__text {
  font-size: 15px;
  color: var(--emp-muted);
  line-height: 1.6;
  margin: 0 0 28px;
}
.emp-welcome-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  margin-bottom: 14px;
}
.emp-welcome-benefit__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.emp-welcome-benefit__icon--coral { background: var(--emp-coral-light, #FAE8E1); }
.emp-welcome-benefit__icon--teal { background: var(--emp-teal-light, #E1F0F4); }
.emp-welcome-benefit__icon--mustard { background: #FFF8E1; }
.emp-welcome-benefit__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--emp-charcoal);
  margin: 0;
}
.emp-welcome-benefit__desc {
  font-size: 12.5px;
  color: var(--emp-muted);
  margin: 0;
  line-height: 1.4;
}
.emp-welcome-card__cta {
  margin-top: 32px;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--emp-coral), var(--emp-coral-dark));
  color: var(--emp-white);
  border: none;
  border-radius: var(--emp-r-btn);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(224, 120, 86, 0.3);
}
.emp-welcome-card__cta:hover { opacity: 0.9; }
.emp-welcome-card__hint {
  font-size: 11px;
  color: var(--emp-muted);
  margin-top: 12px;
}

/* ── FitScore Card (functions.php: empyra_render_fitscore_card) ──── */
.emp-fitscore-card {
  background: #E0785623;
  border-radius: var(--emp-r-card);
  border: 2px solid var(--theme-palette-color-1);
  box-shadow: var(--emp-shadow);
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}
.emp-fitscore-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom:20px;
}
.emp-fitscore-card__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--emp-charcoal);
}
.emp-fitscore-card__pct {
  font-size: 28px;
  font-weight: 700;
  color: var(--emp-coral);
  line-height: 1;
}
.emp-fitscore-card__note {
  font-size: 12px;
  color: var(--emp-muted);
  margin: 0px;
  line-height: 1.5;
}
.emp-fitscore-card__rows {
  border-top: 1px solid var(--emp-border);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.emp-fitscore-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.emp-fitscore-card__row-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--emp-muted);
  flex-shrink: 0;
}
.emp-fitscore-card__row-value {
  font-size: 12px;
  color: var(--emp-charcoal);
  font-weight:600;
  text-align: right;
}

/* Allow sticky action bar to escape Blocksy's overflow:clip on #main-container */
#main-container { overflow: visible !important; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .emp-wrap { padding: 0 0 32px; }
  .emp-page-title { font-size: 20px; }
  .emp-card { padding: 16px; }
  .emp-tabs { gap: 6px; }
  .emp-tab { padding: 8px 12px; font-size: 12px; }
}


/* ── FitProfile Summary ([empyra_fit_summary]) ──────────────────────────────── */
.fi2-summary-wrap { max-width: 860px; margin: 0 auto; }
.fi2-summary-intro { font-size: 14px; color: var(--emp-charcoal); margin: 0 0 16px; line-height: 1.6; }
.fi2-summary-intro a { color: var(--emp-coral); text-decoration: none; font-weight: 600; }
.fi2-summary-intro a:hover { text-decoration: underline; }
.fi2-summary-notice { font-size: 14px; color: var(--emp-muted); }
.fi2-summary-notice a { color: var(--emp-coral); font-weight: 600; }
.fi2-summary-item {padding: 4px 12px; display: flex;background: var(--emp-red); border:2px solid var(--emp-coral);gap:2px; border-radius: 20px;}
.fi2-summary-label { font-size: 12px; font-weight: 700; text-transform: capitalize; letter-spacing: -0.5px; color: var(--emp-coral); }
.fi2-summary-val { font-size: 12px; font-weight: 700; color: var(--emp-charcoal); }

/* ── Similar Products ([empyra_similar_products]) — off-canvas panel ─────────── */
.emp-similar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--emp-grid-gap);
  padding: 4px;
}
.emp-similar__item {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: var(--emp-charcoal);
  background: var(--emp-bg-card); border-radius: var(--emp-r-card);
  overflow: hidden; box-shadow: var(--emp-shadow);
  border: 1px solid var(--emp-coral);
}
.emp-similar__item:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); }
.emp-similar__item img { width: 100%; height: 160px; object-fit: cover; display: block; }
.emp-similar__title { font-size: 13px; font-weight: 600; padding: 0 10px; line-height: 1.3; }
.emp-similar__price { font-size: 13px; font-weight: 700; color: var(--emp-coral); padding: 0 10px 12px; }
.emp-similar__empty { color: var(--emp-muted); font-size: 14px; }

/* ── Product Terms ([empyra_product_terms]) ─────────────────────────────────── */
.emp-pterms__pills { display: flex; flex-wrap: wrap; gap: 8px}
.emp-pterms__pill {
  font-size: 13px; font-weight: 600; color: var(--emp-charcoal); text-decoration: none;
  padding: 4px 12px; border-radius: var(--emp-r-btn);
  color: var(--emp-coral);
  border: 1px solid var(--emp-coral);
  /* box-shadow: var(--emp-shadow); */
}
/* .emp-pterms__pill:hover { color: var(--emp-coral); border-color: var(--emp-coral); } */

.empyra-product-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.emp-badge { display: inline-block; background: var(--emp-coral-light); color: var(--emp-coral); border-radius: var(--emp-r-badge, 100px); padding: 2px 10px; font-size: 12px; font-weight: 600; }
.emp-badge--teal { background: var(--emp-teal-light); color: var(--emp-teal); }
.emp-badge--mustard { background: #FEF3CC; color: #92650A; }
a.emp-badge { text-decoration: none; transition: opacity 0.15s; }
a.emp-badge:hover { opacity: 0.8; }

/* ── Size Chart ([empyra_size_chart]) ───────────────────────────────────────── */
.emp-size-chart__group { margin-bottom: 24px; }
.emp-size-chart__group-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--emp-muted); margin: 0 0 10px; }
.emp-size-chart__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.emp-size-chart__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.emp-size-chart__table th { background: var(--emp-cream); color: var(--emp-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--emp-border); white-space: nowrap; }
.emp-size-chart__table td { padding: 9px 12px; border-bottom: 1px solid var(--emp-border); color: var(--emp-charcoal); white-space: nowrap; }
.emp-size-chart__row--match td { background: var(--emp-coral-light); }
.emp-size-chart__row--match .emp-size-chart__size { font-weight: 700; color: var(--emp-coral); }
.emp-size-chart__you { display: inline-block; margin-left: 6px; background: var(--emp-coral); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 100px; vertical-align: middle; }
.emp-size-chart__unavailable { font-size: 13px; color: var(--emp-muted); padding: 12px 0; margin: 0; }

/* ── Dispatch time ([empyra_dispatch_time]) ─────────────────────────────────── */
.emp-dispatch-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.emp-dispatch { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #1e6e30; background: #d4f0db; border: 1px solid #a8ddb5; border-radius: 100px; padding: 3px 10px; user-select: none; }
.emp-dispatch--returns { color: #5a4200; background: #fef3cc; border-color: #f2d76b; }

/* ── Product Terms — two-part labeled pill ───────────────────────────────────── */
.emp-pterms__pill--labeled {
  padding: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}
.emp-pterms__pill-label {
  background: var(--emp-coral);
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.emp-pterms__pill-value {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--emp-coral);
  white-space: nowrap;
}

/* ── User Stats ([empyra_user_stats]) ───────────────────────────────────────── */
.emp-user-stats { display: flex; gap: 24px; }
.emp-user-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.emp-user-stat__count { font-size: 24px; font-weight: 700; color: var(--emp-charcoal); font-family: 'Playfair Display', serif; line-height: 1; }
.emp-user-stat__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--emp-muted); }
