/* Eliasfoto Client Gallery & Interactive Album Designer */

.gal-shell {
  min-height: 76vh;
  padding-bottom: 5rem;
}

.gal-wrap {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

/* Login Screen */
.gal-login-section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 860px) {
  .gal-login-section {
    grid-template-columns: 1fr;
  }
}

.gal-login-copy .eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted, #5c635c);
  margin-bottom: 0.9rem;
  display: block;
}

.gal-login-copy h1 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 1.15rem;
  color: var(--ink, #1f2421);
}

.gal-login-copy p {
  color: var(--muted, #4f5650);
  line-height: 1.65;
  max-width: 50ch;
  margin: 0 0 1.4rem;
}

.gal-login-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.gal-login-steps li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink, #232824);
}

.gal-login-steps strong {
  font-family: var(--serif, Georgia, serif);
  font-weight: 500;
  color: #283b31;
  min-width: 1.4rem;
}

.gal-login-card {
  background: #ffffff;
  border: 1px solid rgba(40, 59, 49, 0.12);
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 18px 46px rgba(24, 34, 28, 0.06);
}

.gal-login-card h2 {
  font-family: var(--serif, Georgia, serif);
  font-weight: 400;
  font-size: 1.55rem;
  margin: 0 0 0.4rem;
}

.gal-login-card .gal-sub {
  font-size: 0.92rem;
  color: #5b635d;
  margin: 0 0 1.4rem;
}

.gal-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.gal-field label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4c544e;
}

.gal-field input,
.gal-field select,
.gal-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(40, 59, 49, 0.22);
  border-radius: 9px;
  background: #fbfaf7;
  color: #1d221f;
  font: inherit;
  font-size: 0.97rem;
}

.gal-field input:focus,
.gal-field select:focus,
.gal-field textarea:focus {
  outline: 2px solid rgba(40, 59, 49, 0.28);
  border-color: #283b31;
  background: #fff;
}

.gal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 1px solid #283b31;
  background: #283b31;
  color: #f8f7f3;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s ease, background 0.16s ease, opacity 0.16s ease;
}

.gal-btn:hover {
  background: #1f2f26;
}

.gal-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.gal-btn-ghost {
  background: transparent;
  color: #283b31;
  border-color: rgba(40, 59, 49, 0.32);
}

.gal-btn-ghost:hover {
  background: rgba(40, 59, 49, 0.07);
}

.gal-btn-sm {
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
}

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

.gal-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.25rem 0;
  color: #778079;
  font-size: 0.82rem;
}

.gal-divider::before,
.gal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(40, 59, 49, 0.14);
}

.gal-error {
  margin-top: 0.85rem;
  padding: 0.72rem 0.9rem;
  border-radius: 8px;
  background: #fdf0ee;
  color: #8f2d21;
  font-size: 0.9rem;
  border: 1px solid rgba(143, 45, 33, 0.22);
}

.gal-banner {
  margin: 1rem 0 1.4rem;
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  background: #edf4ef;
  border: 1px solid rgba(40, 59, 49, 0.2);
  color: #1f3328;
  font-size: 0.94rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

/* Portal Header & Cover */
.gal-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  margin: 1.5rem 0 1.4rem;
  background: #233028;
  color: #f8f7f3;
}

.gal-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.gal-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 23, 0.15) 0%, rgba(16, 24, 19, 0.78) 100%);
}

.gal-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
}

.gal-hero h1 {
  font-family: var(--serif, Georgia, serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0.25rem 0 0.35rem;
  color: #fff;
}

.gal-hero-meta {
  font-size: 0.92rem;
  opacity: 0.88;
  margin: 0;
}

.gal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gal-hero-actions .gal-btn-ghost {
  color: #f8f7f3;
  border-color: rgba(248, 247, 243, 0.45);
}

.gal-hero-actions .gal-btn-ghost:hover {
  background: rgba(248, 247, 243, 0.14);
}

/* Portal Navigation Tabs */
.gal-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(40, 59, 49, 0.14);
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
}

.gal-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gal-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.92rem;
  color: #465048;
  cursor: pointer;
}

.gal-tab:hover {
  background: rgba(40, 59, 49, 0.06);
}

.gal-tab.is-active {
  background: #283b31;
  color: #f8f7f3;
}

.gal-save-pill {
  font-size: 0.82rem;
  color: #536056;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(40, 59, 49, 0.07);
}

/* Gallery Grid */
.gal-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.gal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gal-chip {
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 59, 49, 0.22);
  background: #fff;
  color: #2c352f;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.gal-chip.is-active {
  background: #283b31;
  color: #f8f7f3;
  border-color: #283b31;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

@media (max-width: 900px) {
  .gal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gal-grid {
    grid-template-columns: 1fr;
  }
}

.gal-photo-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #e9e6de;
  cursor: pointer;
}

.gal-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.gal-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 2rem 0 0.5rem;
}

.alb-empty-banner {
  background: #edf4ef;
  border: 1px solid rgba(40, 59, 49, 0.2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #1f3328;
}

.gal-photo-card:hover img {
  transform: scale(1.018);
}

.gal-photo-bar {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(16, 22, 18, 0.62));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gal-icon-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2621;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
}

.gal-icon-btn.is-fav {
  background: #b83a32;
  color: #fff;
}

/* Lightbox */
.gal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(12, 16, 14, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  color: #f8f7f3;
}

.gal-lightbox[hidden] {
  display: none;
}

.gal-lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.gal-lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 0;
  padding: 0.8rem 0;
}

.gal-lb-stage img {
  max-width: min(92vw, 1180px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
}

.gal-lb-nav {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Album Designer Workspace */
.alb-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 980px) {
  .alb-layout {
    grid-template-columns: 1fr;
  }
}

.alb-panel {
  background: #fff;
  border: 1px solid rgba(40, 59, 49, 0.12);
  border-radius: 14px;
  padding: 1.35rem;
}

.alb-panel h3 {
  font-family: var(--serif, Georgia, serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.alb-swatches {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.alb-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.alb-swatch.is-active {
  border-color: #1f2421;
  transform: scale(1.08);
}

.alb-swatch[data-color="sand"] { background: #d8cfc0; }
.alb-swatch[data-color="forest"] { background: #2c4034; }
.alb-swatch[data-color="charcoal"] { background: #2c2f2e; }
.alb-swatch[data-color="ivory"] { background: #f2eee6; }
.alb-swatch[data-color="terracotta"] { background: #9b5b47; }

/* 3D-Style Cover Preview */
.alb-cover-stage {
  display: flex;
  justify-content: center;
  padding: 1.4rem 1rem 1.8rem;
  background: #f2efe8;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.alb-book-cover {
  width: 210px;
  aspect-ratio: 1 / 1;
  border-radius: 4px 10px 10px 4px;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  box-shadow:
    inset 14px 0 18px rgba(0, 0, 0, 0.18),
    -4px 14px 28px rgba(20, 26, 22, 0.22);
  transition: background 0.22s ease, aspect-ratio 0.22s ease;
}

.alb-book-cover.size-30x40 {
  aspect-ratio: 4 / 3;
  width: 235px;
}

.alb-book-cover.color-sand { background: #d6ccbc; color: #363029; }
.alb-book-cover.color-forest { background: #283b31; color: #f2ede2; }
.alb-book-cover.color-charcoal { background: #2a2d2c; color: #f0ece4; }
.alb-book-cover.color-ivory { background: #f3efe7; color: #2b2926; }
.alb-book-cover.color-terracotta { background: #945542; color: #faf4ec; }

.alb-book-cover.foil-gold .alb-cover-title,
.alb-book-cover.foil-gold .alb-cover-sub {
  color: #dfc07a;
}

.alb-book-cover.foil-white .alb-cover-title,
.alb-book-cover.foil-white .alb-cover-sub {
  color: #ffffff;
}

.alb-book-cover.foil-blind .alb-cover-title {
  opacity: 0.72;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.alb-book-cover.foil-none .alb-cover-title,
.alb-book-cover.foil-none .alb-cover-sub {
  opacity: 0.12;
}

.alb-cover-title {
  font-family: var(--serif, Georgia, serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.alb-cover-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.55rem;
  opacity: 0.85;
}

/* Open Spread Canvas */
.alb-stage-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.alb-spread-frame {
  background: #eae6dc;
  border-radius: 14px;
  padding: clamp(1rem, 2.5vw, 1.8rem);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.08);
}

.alb-spread-paper {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background: #fdfcf9;
  border-radius: 4px;
  box-shadow: 0 16px 38px rgba(20, 26, 22, 0.18);
  overflow: hidden;
  display: grid;
}

.alb-spread-paper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 28px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.14) 48%, rgba(0, 0, 0, 0.22) 50%, rgba(0, 0, 0, 0.1) 54%, transparent);
  pointer-events: none;
  z-index: 4;
}

/* 6 Editorial Spread Layouts */
.alb-spread-paper.layout-full-bleed {
  grid-template-columns: 1fr;
}

.alb-spread-paper.layout-1-margin {
  padding: 7%;
  box-sizing: border-box;
  grid-template-columns: 1fr;
}

.alb-spread-paper.layout-2-split {
  grid-template-columns: 1fr 1fr;
  gap: 3%;
  padding: 4.5%;
  box-sizing: border-box;
}

.alb-spread-paper.layout-2-asymmetric {
  grid-template-columns: 1.35fr 0.85fr;
  gap: 3.5%;
  padding: 4.5%;
  box-sizing: border-box;
}

.alb-spread-paper.layout-3-editorial {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2.8%;
  padding: 4.5%;
  box-sizing: border-box;
}

.alb-spread-paper.layout-3-editorial .alb-slot:first-child {
  grid-row: 1 / span 2;
}

.alb-spread-paper.layout-4-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2.6%;
  padding: 4.5%;
  box-sizing: border-box;
}

.alb-slot {
  position: relative;
  background: #ece9e1;
  border: 1px dashed rgba(40, 59, 49, 0.28);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  min-width: 0;
}

.alb-slot.has-photo {
  border-style: solid;
  border-color: transparent;
}

.alb-slot.is-selected {
  outline: 3px solid #283b31;
  outline-offset: -3px;
}

.alb-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CSP-safe focal-point classes (zero inline styles; exact 1:1 parity with 300 DPI exporter) */
.fp-0-0 { object-position: 0% 0%; }
.fp-0-20 { object-position: 0% 20%; }
.fp-0-50 { object-position: 0% 50%; }
.fp-0-80 { object-position: 0% 80%; }
.fp-0-100 { object-position: 0% 100%; }
.fp-25-0 { object-position: 25% 0%; }
.fp-25-20 { object-position: 25% 20%; }
.fp-25-50 { object-position: 25% 50%; }
.fp-25-80 { object-position: 25% 80%; }
.fp-25-100 { object-position: 25% 100%; }
.fp-50-0 { object-position: 50% 0%; }
.fp-50-20 { object-position: 50% 20%; }
.fp-50-50 { object-position: 50% 50%; }
.fp-50-80 { object-position: 50% 80%; }
.fp-50-100 { object-position: 50% 100%; }
.fp-75-0 { object-position: 75% 0%; }
.fp-75-20 { object-position: 75% 20%; }
.fp-75-50 { object-position: 75% 50%; }
.fp-75-80 { object-position: 75% 80%; }
.fp-75-100 { object-position: 75% 100%; }
.fp-100-0 { object-position: 100% 0%; }
.fp-100-20 { object-position: 100% 20%; }
.fp-100-50 { object-position: 100% 50%; }
.fp-100-80 { object-position: 100% 80%; }
.fp-100-100 { object-position: 100% 100%; }

.alb-crop-bar {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(40, 59, 49, 0.14);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.alb-crop-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.alb-crop-label {
  color: #536056;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.2rem;
}

.alb-proof-box {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  margin: 0.9rem 0 1rem;
  border-radius: 10px;
  background: #f5f3ec;
  border: 1px solid rgba(40, 59, 49, 0.16);
  font-size: 0.88rem;
  line-height: 1.45;
  color: #242c26;
  cursor: pointer;
}

.alb-proof-box input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #283b31;
  flex-shrink: 0;
}

.gal-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.alb-slot-placeholder {
  font-size: 0.82rem;
  color: #5d665f;
  text-align: center;
  padding: 0.5rem;
}

/* Spread Controls & Filmstrip */
.alb-spread-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.alb-layout-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.alb-filmstrip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.9rem 0.2rem 0.5rem;
  margin-top: 0.8rem;
}

.alb-thumb-spread {
  flex: 0 0 112px;
  border: 2px solid rgba(40, 59, 49, 0.16);
  border-radius: 8px;
  padding: 0.35rem;
  background: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 0.75rem;
  color: #465048;
}

.alb-thumb-spread.is-active {
  border-color: #283b31;
  background: #f0f4f1;
}

.alb-thumb-preview {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: #ebe7de;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
  gap: 1px;
}

.alb-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo Picker Drawer */
.alb-picker {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid rgba(40, 59, 49, 0.14);
  border-radius: 14px;
  padding: 1.15rem;
}

.alb-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.5rem;
  max-height: 260px;
  overflow-y: auto;
  margin-top: 0.75rem;
}

.alb-picker-item {
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: #eee;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.alb-picker-item:hover {
  border-color: #283b31;
}

.alb-picker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Price Box */
.alb-price-box {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(40, 59, 49, 0.12);
  font-size: 0.9rem;
}

.alb-price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.38rem;
  color: #49524b;
}

.alb-price-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.08rem;
  font-weight: 600;
  color: #1f2421;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(40, 59, 49, 0.14);
}

/* Checkout & Tracking */
.alb-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.8rem;
  align-items: start;
}

@media (max-width: 860px) {
  .alb-checkout-grid {
    grid-template-columns: 1fr;
  }
}

.gal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 560px) {
  .gal-form-row {
    grid-template-columns: 1fr;
  }
}

.trk-card {
  background: #fff;
  border: 1px solid rgba(40, 59, 49, 0.14);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.trk-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.4rem 0 1.2rem;
}

@media (max-width: 760px) {
  .trk-steps {
    grid-template-columns: 1fr;
  }
}

.trk-step {
  padding: 0.85rem 0.75rem;
  border-radius: 10px;
  background: #f5f3ec;
  border: 1px solid rgba(40, 59, 49, 0.1);
  font-size: 0.84rem;
  color: #5d665f;
}

.trk-step.is-done {
  background: #e9f2ec;
  border-color: rgba(40, 59, 49, 0.35);
  color: #1f3328;
}

.trk-step.is-current {
  background: #283b31;
  color: #f8f7f3;
  border-color: #283b31;
}

.trk-step strong {
  display: block;
  margin-bottom: 0.2rem;
}
