:root {
  --brand-orange: #ffa94d;
  --brand-purple: #5b5bb0;
  --ink: #19334a;
  --muted: #66768a;
  --line: #e4e8f0;
  --soft: #f6f8fb;
  --green-soft: #e8fff2;
  --pink: #ff5f9a;
  --yellow: #ffc34d;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: #fff;
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.page-shell {
  width: 100%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.top-strip {
  height: 48px;
  display: flex;
  align-items: center;
  color: #24364a;
  font-size: 12px;
}
.top-strip .page-shell {
  display: flex;
  justify-content: space-between;
}
.main-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: 170px minmax(320px, 1fr) auto;
  gap: 34px;
  align-items: center;
}
.brand-text {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}
.brand-fofa { color: var(--brand-orange); }
.brand-app { color: var(--brand-purple); }
.header-search {
  height: 38px;
  display: grid;
  grid-template-columns: 160px 1fr 44px;
  border: 1px solid #d8dde7;
  background: #fff;
}
.header-search select,
.header-search input,
.header-search button {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.header-search select {
  padding: 0 12px;
  border-right: 1px solid #d8dde7;
  font-size: 12px;
}
.header-search input { padding: 0 14px; }
.header-search button {
  color: var(--brand-purple);
  font-size: 20px;
  cursor: pointer;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}
.header-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.purple-nav {
  height: 50px;
  background: var(--brand-purple);
  color: #fff;
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-inner a {
  height: 100%;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}
.trend-button {
  height: 36px !important;
  padding: 0 16px;
  border-radius: 2px;
  background: var(--yellow);
  color: #fff;
}
.nav-inner .active {
  position: relative;
}
.nav-inner .active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-purple);
  transform: translateX(-50%);
}
.support-icon {
  margin-left: auto;
  font-size: 22px;
}

.home-top {
  min-height: 310px;
  padding-top: 24px;
  padding-bottom: 10px;
}
.category-sidebar {
  width: 165px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid;
  gap: 17px;
  color: #1c344b;
  font-size: 13px;
}
.category-sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-bottom: 28px;
}
.section-title-row h2,
.product-section h2,
.deals-section h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.section-title-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
}
.featured-categories,
.product-section,
.deals-section,
.newsletter,
.benefits {
  padding-top: 34px;
  padding-bottom: 34px;
}
.category-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.category-card {
  width: 96px;
  min-height: 120px;
  padding: 12px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.category-card img,
.category-card span {
  width: 62px;
  height: 62px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  object-fit: cover;
  background: rgba(255,255,255,.5);
  color: var(--brand-purple);
}
.tone-1 { background: #fff0df; }
.tone-2 { background: #eceafd; }
.tone-3 { background: #f7e8ff; }
.tone-4 { background: #fff4e8; }
.tone-5 { background: #e9e8ff; }
.tone-6 { background: #fff7ed; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}
.daily-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 860px;
}
.product-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.product-badge {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  padding: 6px 13px;
  border-radius: 10px 0 10px 0;
  background: var(--brand-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.product-badge.hot { background: var(--pink); }
.product-image {
  height: 180px;
  display: grid;
  place-items: center;
  background: #f4f6fa;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-fallback {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-orange));
  color: #fff;
  font-weight: 900;
}
.product-body {
  padding: 12px 14px 14px;
}
.product-category,
.byline,
.rating {
  color: var(--muted);
  font-size: 11px;
}
.product-body h3 {
  min-height: 39px;
  margin: 7px 0;
  font-size: 14px;
  line-height: 1.35;
}
.rating {
  letter-spacing: 1px;
  color: #c5c9d2;
}
.byline a { color: var(--brand-purple); }
.product-bottom {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-bottom strong,
.product-body > strong {
  color: #223b8f;
  font-size: 13px;
}
.product-bottom a,
.wide-view {
  min-width: 58px;
  min-height: 26px;
  padding: 6px 12px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--brand-purple);
  font-size: 11px;
  font-weight: 800;
}
.wide-view {
  width: 100%;
  margin-top: 12px;
  background: var(--brand-purple);
  color: #fff;
}

.deal-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}
.deal-columns h3 {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.mini-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.mini-thumb {
  width: 64px;
  height: 64px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: #dbe6f5;
  color: var(--brand-purple);
  font-weight: 900;
}
.mini-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.25;
}
.mini-item small {
  color: #223b8f;
  font-weight: 800;
}

.newsletter {
  margin-top: 18px;
  padding: 72px 58px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 85% 30%, rgba(91,91,176,.08), transparent 18rem),
    #dff8ec;
}
.newsletter h2 {
  max-width: 520px;
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.08;
}
.newsletter p {
  color: var(--muted);
}
.newsletter form {
  width: min(420px, 100%);
  height: 48px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 130px;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}
.newsletter input,
.newsletter button {
  border: 0;
  padding: 0 22px;
  font: inherit;
}
.newsletter button {
  border-radius: 999px;
  background: var(--brand-purple);
  color: #fff;
  font-weight: 800;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.benefits div {
  min-height: 78px;
  padding: 16px;
  border-radius: 6px;
  background: var(--soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
}
.benefits strong {
  display: block;
  font-size: 13px;
}
.benefits span {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}
.shop-footer {
  padding-top: 44px;
  padding-bottom: 58px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 42px;
}
.shop-footer h4 {
  margin: 0 0 18px;
}
.shop-footer a,
.shop-footer small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}
.footer-brand small {
  margin-top: 42px;
}
.store-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.store-badges span {
  padding: 8px 12px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-size: 11px;
}
.payment-row {
  color: #223b8f;
  font-weight: 900;
}

.empty-state {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .main-header,
  .product-grid,
  .daily-grid,
  .deal-columns,
  .benefits,
  .shop-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-search,
  .header-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-left: 14px;
    padding-right: 14px;
  }
  .main-header,
  .product-grid,
  .daily-grid,
  .deal-columns,
  .benefits,
  .shop-footer,
  .header-search {
    grid-template-columns: 1fr;
  }
  .purple-nav {
    height: auto;
  }
  .nav-inner {
    padding: 10px 0;
    flex-wrap: wrap;
  }
  .category-strip {
    justify-content: flex-start;
    overflow-x: auto;
  }
}


/* Services catalog redesign */
.services-hero {
  margin-top: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(25,51,74,.82), rgba(91,91,176,.68)),
    url("../../bookables/img/services-banner.webp") center/cover;
  color: #fff;
}
.services-hero-copy {
  max-width: 760px;
  margin-bottom: 24px;
}
.services-kicker {
  display: inline-flex;
  margin-bottom: 9px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.services-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
}
.services-hero p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.45;
}
.services-search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) minmax(160px, 1fr) repeat(4, minmax(130px, 1fr)) 130px;
  gap: 8px;
  padding: 8px;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
.search-field,
.filter-panel label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.search-field input,
.search-field select,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8dde7;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.services-search-panel button,
.filter-panel button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--brand-purple);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.services-search-panel button {
  align-self: end;
  height: 46px;
}
.services-search-panel button:hover,
.filter-panel button:hover,
.map-preview a:hover,
.service-card-action a:hover {
  background: var(--brand-orange);
}
.services-page {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 36px;
  background: #fff;
}
@media (min-width: 721px) {
  .services-page {
    padding-left: 0;
    padding-right: 0;
  }
}
.services-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
}
.map-preview {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(11,114,231,.14), rgba(255,195,77,.16)),
    #eef4fb;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25,51,74,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,51,74,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: rotate(-8deg) scale(1.2);
}
.map-pin {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 34px;
  height: 34px;
  border-radius: 999px 999px 999px 2px;
  display: grid;
  place-items: center;
  background: #0b72e7;
  color: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 8px 20px rgba(11,114,231,.35);
}
.map-pin::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
}
.map-preview a {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  min-height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--brand-purple);
  color: #fff;
  font-weight: 900;
}
.filter-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.filter-panel h2 {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}
.filter-panel form {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.filter-panel a {
  color: var(--brand-purple);
  font-weight: 800;
}
.services-results-panel {
  min-width: 0;
}
.services-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.services-toolbar h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}
.services-toolbar p {
  margin: 5px 0 0;
  color: var(--muted);
}
.view-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f8fb;
}
.view-switch a {
  min-width: 76px;
  min-height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #39495c;
}
.view-switch a.active {
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(25,51,74,.35);
  color: var(--ink);
}
.services-results {
  min-width: 0;
}
.services-results--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.services-results--list {
  display: grid;
  gap: 16px;
}
.service-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(25,51,74,.04);
}
.service-card--list {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) 180px;
  gap: 0;
  min-height: 230px;
}
.service-card--grid {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}
.service-card-media {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: #f3f6fb;
}
.service-card--grid .service-card-media {
  height: 230px;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-body {
  min-width: 0;
  padding: 20px;
}
.service-card-topline,
.service-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.difficulty-badge {
  border-radius: 999px;
  padding: 3px 9px;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
}
.difficulty-light { background: #2f9e44; }
.difficulty-medium { background: #f08c00; }
.difficulty-hard { background: #d6336c; }
.service-card h3 {
  margin: 9px 0 8px;
  font-size: 25px;
  line-height: 1.18;
}
.service-card h3 a {
  color: var(--brand-purple);
}
.service-location {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
}
.service-location a,
.service-meta-row a {
  color: var(--brand-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-card p {
  margin: 0 0 14px;
  color: #1f2933;
  font-size: 15px;
  line-height: 1.5;
}
.service-card-action {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}
.service-card--list .service-card-action {
  align-items: stretch;
}
.service-card-action span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.service-card-action strong {
  color: var(--ink);
  font-size: 22px;
}
.service-card-action a {
  min-height: 44px;
  border-radius: 7px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-purple);
  color: #fff;
  font-weight: 900;
}
@media (max-width: 1180px) {
  .services-search-panel,
  .services-page,
  .service-card--list {
    grid-template-columns: 1fr;
  }
  .services-results--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .services-toolbar {
    flex-direction: column;
  }
  .view-switch {
    width: 100%;
  }
  .view-switch a {
    flex: 1;
  }
  .services-results--grid {
    grid-template-columns: 1fr;
  }
  .services-hero {
    border-radius: 0;
  }
}

/* Bookable service detail */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  color: var(--muted);
  font-weight: 800;
}
.breadcrumbs a {
  color: var(--brand-purple);
}
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 30px;
}
.service-detail-main,
.service-booking-panel,
.service-info-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(25,51,74,.04);
}
.service-detail-media {
  display: block;
  aspect-ratio: 2 / 1;
  background: #f3f6fb;
  overflow: hidden;
}
.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail-copy {
  padding: 26px;
}
.service-detail-copy h1 {
  margin: 10px 0 10px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
}
.service-detail-copy p {
  max-width: 820px;
  margin: 16px 0 0;
  color: #1f2933;
  font-size: 17px;
  line-height: 1.55;
}
.service-detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}
.service-detail-facts a,
.service-info-panel a {
  color: var(--brand-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-booking-panel {
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 24px;
}
.service-booking-panel > span,
.service-info-panel > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.service-booking-panel strong {
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}
.service-booking-panel form {
  display: grid;
  gap: 12px;
}
.service-booking-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.service-booking-panel input {
  min-height: 46px;
  border: 1px solid #d8dde7;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}
.service-booking-panel a {
  min-height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-purple);
  color: #fff;
  font-weight: 900;
}
.service-booking-panel a:hover {
  background: var(--brand-orange);
}
.service-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 30px;
}
.service-info-panel {
  padding: 22px;
}
.service-info-panel h2 {
  margin: 8px 0 8px;
  font-size: 24px;
  line-height: 1.15;
}
.service-info-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.service-related {
  padding-bottom: 42px;
}
@media (max-width: 980px) {
  .service-detail,
  .service-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Bookable service pricing */
.service-pricing {
  padding-bottom: 30px;
}
.service-pricing-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(25,51,74,.04);
}
.service-pricing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.service-pricing-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.service-pricing-head h2 {
  margin: 7px 0 0;
  font-size: 30px;
  line-height: 1.1;
}
.pricing-table-wrap {
  overflow-x: auto;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
}
.pricing-table th,
.pricing-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.pricing-table thead th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pricing-table tbody th {
  font-weight: 900;
}

