.marketplace-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 12% 0%, rgb(234 88 12 / 10%), transparent 55%),
    radial-gradient(ellipse 55% 40% at 92% 8%, rgb(234 88 12 / 6%), transparent 50%),
    linear-gradient(180deg, #fafaf9 0%, #f3f4f6 48%, #f7f7f5 100%);
}

.marketplace-page[data-marketplace-page="profile"] {
  background:
    radial-gradient(ellipse 80% 50% at 18% -5%, rgb(234 88 12 / 12%), transparent 58%),
    radial-gradient(ellipse 50% 35% at 100% 12%, rgb(23 24 29 / 4%), transparent 45%),
    linear-gradient(180deg, #fbfbfa 0%, #f4f5f7 42%, #f7f7f5 100%);
}

.market-hero {
  padding: 92px 0 62px;
  background:
    radial-gradient(circle at 82% 18%, rgb(234 88 12 / 14%), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fff8f3 100%);
  border-bottom: 1px solid rgb(23 24 29 / 8%);
}

.market-hero .container {
  max-width: 880px;
  margin-inline-start: max(24px, calc((100vw - 1180px) / 2));
}

.market-hero h1 {
  max-width: 800px;
  margin: 10px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.market-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.market-browser {
  padding: 48px 0 90px;
}

.market-filters {
  padding: 26px;
  border: 1px solid rgb(23 24 29 / 10%);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(23 24 29 / 7%);
}

.market-search > label,
.market-filter-grid label > span,
.market-price-filter label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

.market-search > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.market-search input,
.market-filter-grid select,
.market-price-filter select,
.market-price-filter input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.market-search button,
.market-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--orange);
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.market-search button:hover,
.market-button:hover {
  transform: translateY(-1px);
  background: var(--orange-dark);
  box-shadow: 0 10px 24px rgb(234 88 12 / 18%);
}

.market-button--ghost {
  border-color: rgb(23 24 29 / 16%);
  background: #fff;
  color: var(--ink);
}

.market-button--ghost:hover {
  background: var(--mist);
  box-shadow: none;
}

.market-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.market-price-filter {
  margin-top: 18px;
  border-top: 1px solid rgb(23 24 29 / 9%);
  padding-top: 16px;
}

.market-price-filter summary {
  cursor: pointer;
  font-weight: 700;
}

.market-price-filter > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.market-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.market-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 56px 0 24px;
}

.market-results-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
}

.market-results-heading > p {
  color: var(--muted);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.market-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(23 24 29 / 10%);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgb(23 24 29 / 6%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.market-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgb(23 24 29 / 11%);
}

.market-card__photo {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(234 88 12 / 16%), rgb(234 88 12 / 4%)),
    #f5f5f5;
}

.market-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-card__photo > span {
  color: var(--orange-dark);
  font-size: 38px;
  font-weight: 850;
}

.market-card__photo > b {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
}

.market-card__body {
  padding: 18px;
}

.market-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8c5300;
  font-size: 12px;
  font-weight: 750;
}

.market-card__topline small {
  color: var(--muted);
  font-weight: 500;
}

.market-verified {
  color: #167352;
}

.market-card h3 {
  margin: 13px 0 3px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.market-card__speciality {
  min-height: 40px;
  margin: 0;
  color: var(--muted);
}

.market-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 15px 0;
}

.market-card__facts li {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--mist);
  color: var(--ink-2);
  font-size: 11px;
}

.market-card__footer {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgb(23 24 29 / 8%);
  padding-top: 14px;
}

.market-card__footer > span {
  color: var(--muted);
  font-size: 12px;
}

.market-card__footer .is-available {
  color: #167352;
}

.market-card__footer a {
  color: var(--orange);
  font-weight: 750;
}

.market-status {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.market-status:not(:empty) {
  min-height: 130px;
  margin: 20px 0;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fff;
}

.market-status.is-error p {
  color: #a3321d;
}

.market-load-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.market-footer {
  padding: 32px 0;
  border-top: 1px solid rgb(23 24 29 / 10%);
  background: #fff;
}

.market-footer .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.market-footer img {
  width: 132px;
}

.market-footer p {
  margin-inline-end: auto;
  color: var(--muted);
}

.market-footer a {
  color: var(--orange);
  font-weight: 700;
}

.marketplace-preview {
  padding: 96px 0;
  background: #f7f7f5;
}

.marketplace-preview__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.marketplace-preview__heading h2 {
  max-width: 680px;
  margin: 7px 0 12px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.marketplace-preview__heading p:last-child {
  max-width: 610px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.marketplace-preview__status {
  min-height: 22px;
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
}

.marketplace-preview .market-carousel {
  position: relative;
  margin-inline: -8px;
  padding-inline: 8px;
}

.marketplace-preview .market-carousel::before,
.marketplace-preview .market-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: min(48px, 8vw);
  pointer-events: none;
}

.marketplace-preview .market-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #f7f7f5, transparent);
}

.marketplace-preview .market-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #f7f7f5, transparent);
}

.marketplace-preview .market-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgb(23 24 29 / 10%);
  border-radius: 999px;
  background: rgb(255 255 255 / 94%);
  color: var(--ink-2);
  box-shadow: 0 8px 22px rgb(23 24 29 / 10%);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background 0.15s ease, color 0.15s ease;
}

.marketplace-preview .market-carousel__nav--prev {
  left: 10px;
}

.marketplace-preview .market-carousel__nav--next {
  right: 10px;
}

.marketplace-preview .market-carousel:hover .market-carousel__nav,
.marketplace-preview .market-carousel:focus-within .market-carousel__nav {
  opacity: 1;
  pointer-events: auto;
}

.marketplace-preview .market-carousel__nav:hover {
  background: #fff;
  color: var(--orange);
}

.marketplace-preview .market-carousel__nav:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  opacity: 1;
  pointer-events: auto;
}

.marketplace-preview .market-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (hover: none) {
  .marketplace-preview .market-carousel__nav {
    opacity: 1;
    pointer-events: auto;
  }
}

html[dir="rtl"] .marketplace-preview .market-carousel__nav--prev {
  right: 10px;
  left: auto;
}

html[dir="rtl"] .marketplace-preview .market-carousel__nav--next {
  left: 10px;
  right: auto;
}

html[dir="rtl"] .marketplace-preview .market-carousel__nav svg {
  transform: scaleX(-1);
}

.marketplace-preview .market-carousel__track,
.marketplace-preview .market-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.marketplace-preview .market-carousel__track::-webkit-scrollbar,
.marketplace-preview .market-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.marketplace-preview .market-carousel__track .market-card,
.marketplace-preview .market-grid .market-card {
  flex: 0 0 min(268px, 78vw);
  width: min(268px, 78vw);
  min-width: min(268px, 78vw);
}

.coach-profile-main {
  min-height: calc(100vh - 160px);
  padding: 28px 0 100px;
}

.market-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--orange);
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.market-back:hover {
  opacity: 0.85;
  transform: translateX(-2px);
}

[dir="rtl"] .market-back:hover {
  transform: translateX(2px);
}

.coach-profile {
  opacity: 0;
  transform: translateY(12px);
}

.coach-profile.is-ready {
  animation: coach-profile-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes coach-profile-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.coach-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) minmax(240px, 280px);
  gap: 28px 36px;
  align-items: center;
  overflow: hidden;
  padding: 28px 32px;
  border: 1px solid rgb(23 24 29 / 8%);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 92%) 0%, rgb(255 248 243 / 88%) 100%);
  box-shadow: 0 20px 48px rgb(23 24 29 / 6%);
}

.coach-profile-hero__glow {
  position: absolute;
  inset: auto -10% -40% 35%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(circle, rgb(234 88 12 / 14%), transparent 68%);
}

.coach-profile-hero__media {
  position: relative;
  z-index: 1;
  display: flex;
  aspect-ratio: 4 / 5;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(160deg, var(--orange-soft), #fff 62%),
    var(--mist);
  color: var(--orange-dark);
  font-size: 56px;
  font-weight: 850;
  box-shadow:
    0 0 0 1px rgb(234 88 12 / 12%),
    0 18px 40px rgb(23 24 29 / 10%);
}

.coach-profile-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.coach-profile-hero:hover .coach-profile-hero__media img {
  transform: scale(1.03);
}

.coach-profile-hero__initials {
  letter-spacing: -0.04em;
}

.coach-profile-hero__identity {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.coach-profile-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.coach-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgb(23 24 29 / 8%);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
}

.coach-badge small {
  color: var(--muted);
  font-weight: 600;
}

.coach-badge--rating {
  color: #b45309;
}

.coach-badge--verified {
  border-color: rgb(234 88 12 / 22%);
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.coach-badge--open {
  border-color: rgb(22 163 74 / 22%);
  background: #f0fdf4;
  color: #15803d;
}

.coach-badge--closed {
  color: var(--muted);
}

.coach-profile-hero__identity h1 {
  margin: 0 0 6px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.coach-profile__speciality {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.coach-profile__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coach-profile__facts li {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(23 24 29 / 7%);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.coach-profile__price {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.coach-profile__price strong {
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.coach-profile-cta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-self: stretch;
  align-content: center;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgb(234 88 12 / 14%);
  background: linear-gradient(180deg, #fff 0%, #fff8f3 100%);
}

.coach-profile-cta .market-button {
  justify-content: center;
  text-align: center;
}

.coach-profile-cta__note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.coach-profile-cta__fallbacks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgb(23 24 29 / 8%);
}

.coach-profile-cta__fallbacks a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.coach-profile-cta__fallbacks a:hover {
  color: var(--orange-dark);
}

.coach-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

.coach-profile-maincol {
  display: grid;
  gap: 36px;
  min-width: 0;
}

.coach-section,
.coach-services {
  min-width: 0;
}

.coach-section__header {
  margin-bottom: 16px;
}

.coach-section__header .section-kicker {
  margin-bottom: 6px;
}

.coach-section__header h2,
.coach-services .coach-section__header h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.035em;
}

.coach-section__body {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-line;
}

.coach-section--about {
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(23 24 29 / 8%);
}

.coach-certifications {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.coach-certifications__item {
  display: block;
  overflow: hidden;
  border: 1px solid rgb(23 24 29 / 8%);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.coach-certifications__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgb(23 24 29 / 8%);
}

.coach-certifications__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fafaf8;
}

.coach-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.coach-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.coach-gallery__item:first-child {
  grid-column: span 3;
  grid-row: span 2;
}

.coach-gallery__item:nth-child(2),
.coach-gallery__item:nth-child(3) {
  grid-column: span 3;
}

.coach-gallery__item:nth-child(n + 4) {
  grid-column: span 2;
}

.coach-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.coach-gallery__item:first-child img {
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.coach-gallery__item:hover img {
  transform: scale(1.04);
}

.coach-services {
  position: sticky;
  top: calc(var(--header-h, 72px) + 18px);
  padding: 22px 20px;
  border: 1px solid rgb(23 24 29 / 8%);
  border-radius: 22px;
  background: rgb(255 255 255 / 86%);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 36px rgb(23 24 29 / 5%);
}

.coach-plans,
.coach-reviews {
  display: grid;
  gap: 12px;
}

.coach-plan {
  padding: 16px 0;
  border-bottom: 1px solid rgb(23 24 29 / 8%);
}

.coach-plan:first-child {
  padding-top: 4px;
}

.coach-plan:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.coach-plan__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.coach-plan__category {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coach-plan h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.coach-plan__duration {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.coach-plan__price {
  flex-shrink: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.coach-plan__price small {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.coach-plan__features {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.coach-plan__features li {
  position: relative;
  margin-top: 6px;
  padding-inline-start: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.coach-plan__features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.coach-review {
  padding: 18px 0;
  border-bottom: 1px solid rgb(23 24 29 / 8%);
}

.coach-review:first-child {
  padding-top: 0;
}

.coach-review:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.coach-review__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.coach-review__stars {
  color: #d98b00;
  letter-spacing: 0.05em;
}

.coach-review > p {
  margin: 12px 0 0;
  color: var(--ink-2);
  line-height: 1.65;
}

.coach-review blockquote {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-inline-start: 3px solid var(--orange);
  background: rgb(255 255 255 / 70%);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 12px;
}

[dir="rtl"] .coach-review blockquote {
  border-radius: 10px 0 0 10px;
}

.coach-review blockquote strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.market-empty {
  color: var(--muted);
}

[dir="rtl"] .market-back span:first-child,
[dir="rtl"] .market-card__footer a span {
  transform: rotate(180deg);
}

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

  .coach-profile-hero {
    grid-template-columns: minmax(180px, 220px) 1fr;
  }

  .coach-profile-cta {
    grid-column: 1 / -1;
  }

  .coach-profile-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .coach-services {
    position: static;
  }
}

@media (max-width: 760px) {
  .market-hero {
    padding: 66px 0 48px;
  }

  .market-hero .container {
    margin: 0 auto;
  }

  .market-hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .market-filters {
    padding: 18px;
    border-radius: 18px;
  }

  .market-search > div,
  .market-filter-grid,
  .market-price-filter > div {
    grid-template-columns: 1fr;
  }

  .market-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .market-results-heading,
  .marketplace-preview__heading {
    display: block;
  }

  .market-results-heading > p {
    margin-top: 12px;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-preview {
    padding: 70px 0;
  }

  .marketplace-preview__heading .market-button {
    margin-top: 18px;
  }

  .market-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .coach-profile-main {
    padding-top: 18px;
  }

  .coach-profile-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: 22px;
  }

  .coach-profile-hero__media {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .coach-profile-hero__identity h1 {
    text-align: center;
  }

  .coach-profile-hero__badges,
  .coach-profile__facts {
    justify-content: center;
  }

  .coach-profile__speciality,
  .coach-profile__price {
    text-align: center;
  }

  .coach-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .coach-gallery__item:first-child,
  .coach-gallery__item:nth-child(2),
  .coach-gallery__item:nth-child(3),
  .coach-gallery__item:nth-child(n + 4) {
    grid-column: span 1;
    grid-row: auto;
  }

  .coach-gallery__item:first-child {
    grid-column: 1 / -1;
  }

  .coach-certifications {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coach-services {
    padding: 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-card,
  .market-button,
  .market-back,
  .coach-certifications__item,
  .coach-gallery__item img,
  .coach-profile-hero__media img {
    transition: none;
  }

  .coach-profile.is-ready {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .coach-profile-hero:hover .coach-profile-hero__media img,
  .coach-gallery__item:hover img,
  .coach-certifications__item:hover {
    transform: none;
  }

  .marketplace-preview .market-carousel__track,
  .marketplace-preview .market-grid {
    scroll-behavior: auto;
  }

  .marketplace-preview .market-carousel__nav {
    transition: none;
  }

  .marketplace-preview .market-carousel::before,
  .marketplace-preview .market-carousel::after {
    display: none;
  }
}
