/* Salon App – ordering-first, headerless mobile shell
   ========================================================= */

:root {
  --salon-accent: #c45c7a;
  --salon-accent-dark: #a34460;
  --salon-accent-soft: #f8eef2;
  --salon-gold: #d4a017;
  --salon-bg: #faf7f8;
  --salon-surface: #ffffff;
  --salon-text: #1f1f1f;
  --salon-muted: #6b6b6b;
  --salon-border: #ebe3e6;
  --salon-radius: 14px;
  --salon-radius-sm: 10px;
  --salon-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  --salon-pad: max(1.15rem, env(safe-area-inset-left));
  --salon-pad-r: max(1.15rem, env(safe-area-inset-right));
}

body.salon-app-shell {
  background: var(--salon-bg);
  color: var(--salon-text);
  -webkit-font-smoothing: antialiased;
}

/* Hide site header on home – full app shell */
body.salon-home .site-header,
body.salon-home #masthead,
body.salon-home .entry-hero,
body.salon-home .title-container {
  display: none !important;
}

body.salon-home .site,
body.salon-home .content-container,
body.salon-home .entry-content-wrap,
body.salon-home .content-width,
body.salon-home .kt-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

body.salon-home .content-area,
body.salon-home #main,
body.salon-home .entry-content,
body.salon-home article {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.salon-home .entry-content > * {
  padding-left: var(--salon-pad) !important;
  padding-right: var(--salon-pad-r) !important;
  box-sizing: border-box;
}

/* ---------- Compact utility bar (Call / Location / Book) ---------- */
.salon-util {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.75rem !important;
  padding-bottom: 0.65rem !important;
  background: var(--salon-surface);
  border-bottom: 1px solid var(--salon-border);
  position: sticky;
  top: 0;
  z-index: 80;
}

.salon-util-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease;
}

.salon-util-btn:active {
  transform: scale(0.97);
}

.salon-util-ico {
  font-size: 1rem;
  line-height: 1;
}

.salon-util-btn--call {
  background: var(--salon-accent-soft);
  color: var(--salon-accent-dark);
}

.salon-util-btn--map {
  background: #f3f3f3;
  color: var(--salon-text);
}

.salon-util-btn--book {
  background: #25d366;
  color: #fff;
}

.salon-util-btn--book:hover {
  color: #fff;
}

.salon-util-btn--call:hover {
  color: var(--salon-accent-dark);
}

.salon-util-btn--map:hover {
  color: var(--salon-text);
}

/* ---------- Loyalty / recurring ---------- */
.salon-loyalty {
  padding-top: 0.9rem !important;
  padding-bottom: 0.25rem !important;
}

.salon-loyalty-card {
  background: linear-gradient(135deg, #2a1a22 0%, #5a3044 55%, #c45c7a 100%);
  color: #fff;
  border-radius: var(--salon-radius);
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: var(--salon-shadow);
}

.salon-loyalty-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.salon-loyalty-title {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.salon-loyalty-desc {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  opacity: 0.9;
  line-height: 1.4;
}

.salon-loyalty-cta {
  width: 100%;
  background: #fff !important;
  color: var(--salon-accent-dark) !important;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.salon-loyalty-cta.is-added {
  background: #2e7d4f !important;
  color: #fff !important;
}

/* ---------- Sections ---------- */
.salon-section {
  padding-top: 1.15rem;
  padding-bottom: 0.5rem;
}

.salon-section--tight {
  padding-top: 0.9rem;
  padding-bottom: 0.35rem;
}

.salon-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.salon-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.salon-carousel-nav {
  display: flex;
  gap: 0.35rem;
}

.salon-nav-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--salon-border);
  background: var(--salon-surface);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--salon-text);
}

.salon-nav-btn:active {
  background: var(--salon-accent-soft);
}

/* Horizontal scroll – padded so first/last cards never clip */
.salon-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: var(--salon-pad);
  padding-bottom: 0.4rem;
  margin-left: calc(-1 * var(--salon-pad));
  margin-right: calc(-1 * var(--salon-pad-r));
  padding-left: var(--salon-pad);
  padding-right: var(--salon-pad-r);
}

.salon-scroll::-webkit-scrollbar {
  height: 0;
}

/* Combo offer cards */
.salon-combo-card {
  flex: 0 0 min(86%, 300px);
  scroll-snap-align: start;
  background: var(--salon-surface);
  border-radius: var(--salon-radius);
  border: 1px solid var(--salon-border);
  box-shadow: var(--salon-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.salon-combo-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e8d5dc;
  overflow: hidden;
}

.salon-combo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.salon-combo-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: linear-gradient(90deg, #d4a017, #e8b923);
  color: #1f1f1f;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.salon-combo-body {
  padding: 0.85rem 0.95rem 1rem;
}

.salon-combo-name {
  margin: 0 0 0.15rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.salon-combo-meta {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--salon-muted);
}

.salon-combo-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.salon-combo-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--salon-accent-dark);
}

.salon-combo-was {
  font-size: 0.85rem;
  color: var(--salon-muted);
  text-decoration: line-through;
}

.salon-combo-cta {
  width: 100%;
  background: linear-gradient(90deg, #d4a017, #e8b923) !important;
  color: #1f1f1f !important;
}

.salon-combo-cta.is-added {
  background: #2e7d4f !important;
  color: #fff !important;
}

/* Featured cards */
.salon-feat-card {
  flex: 0 0 min(72%, 230px);
  scroll-snap-align: start;
  background: var(--salon-surface);
  border-radius: var(--salon-radius);
  box-shadow: var(--salon-shadow);
  overflow: hidden;
  border: 1px solid var(--salon-border);
  display: flex;
  flex-direction: column;
}

.salon-feat-card__img--photo {
  height: 125px;
  background: #e8d5dc;
  overflow: hidden;
}

.salon-feat-card__img--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.salon-feat-card__body {
  padding: 0.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.salon-feat-card__name {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}

.salon-feat-card__meta {
  font-size: 0.72rem;
  color: var(--salon-muted);
  margin: 0;
}

.salon-feat-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--salon-accent-dark);
  margin-top: auto;
}

.salon-feat-card__btn {
  margin-top: 0.4rem;
  width: 100%;
  background: var(--salon-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.salon-feat-card__btn:hover {
  background: var(--salon-accent-dark);
  color: #fff;
}

.salon-feat-card__btn.is-added {
  background: #2e7d4f;
}

/* ---------- Sticky category filter (filters in place) ---------- */
.salon-filter-bar {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 3.35rem; /* below utility bar */
  z-index: 70;
  background: rgba(250, 247, 248, 0.96);
  backdrop-filter: blur(10px);
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  border-bottom: 1px solid var(--salon-border);
  margin-left: 0;
  scrollbar-width: none;
}

.salon-filter-bar::-webkit-scrollbar {
  display: none;
}

.salon-filter {
  flex-shrink: 0;
  appearance: none;
  border: 1px solid var(--salon-border);
  background: var(--salon-surface);
  color: var(--salon-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.salon-filter.is-active {
  background: var(--salon-accent);
  border-color: var(--salon-accent);
  color: #fff;
}

/* Hide filtered categories */
.sc-category.is-hidden {
  display: none !important;
}

/* About page leftovers */
.salon-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.salon-trust-item {
  background: var(--salon-surface);
  border-radius: var(--salon-radius-sm);
  padding: 1rem 0.75rem;
  text-align: center;
  border: 1px solid var(--salon-border);
}

.salon-trust-item__icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.salon-trust-item__title {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.salon-trust-item__desc {
  font-size: 0.72rem;
  color: var(--salon-muted);
  margin: 0;
}

.salon-testimonial {
  background: var(--salon-surface);
  border-radius: var(--salon-radius);
  padding: 1.1rem;
  border: 1px solid var(--salon-border);
}

.salon-testimonial__stars {
  color: var(--salon-gold);
  margin-bottom: 0.4rem;
}

.salon-testimonial__quote {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 0.65rem;
}

.salon-testimonial__author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--salon-muted);
  margin: 0;
}

body.salon-home .sc-wrap {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* When filter bar is sticky, sc header can be tighter */
body.salon-home .sc-header {
  margin-bottom: 0.75rem;
}

@media (min-width: 900px) {
  .salon-util {
    max-width: 420px;
  }

  .salon-combo-card {
    flex: 0 0 320px;
  }

  .salon-feat-card {
    flex: 0 0 220px;
  }

  .salon-filter-bar {
    top: 3.5rem;
  }
}


/* ========== Icon category filters (app-style) ========== */
.salon-filter-bar {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 3.35rem;
  z-index: 70;
  background: rgba(250, 247, 248, 0.97);
  backdrop-filter: blur(12px);
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
  border-bottom: 1px solid var(--salon-border);
  scrollbar-width: none;
}

.salon-filter {
  flex-shrink: 0;
  appearance: none;
  border: 1px solid var(--salon-border);
  background: var(--salon-surface);
  color: var(--salon-text);
  padding: 0.4rem 0.55rem 0.35rem;
  border-radius: 14px;
  cursor: pointer;
  min-width: 3.6rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.salon-filter-ico {
  font-size: 1.15rem;
  line-height: 1;
  display: block;
}

.salon-filter-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.salon-filter.is-active {
  background: linear-gradient(160deg, #fff4c8 0%, #f0c43a 70%, #d4a017 120%);
  border-color: #d4a017;
  color: #1c1812;
  box-shadow: 0 2px 10px rgba(212, 160, 23, 0.28);
}

/* No shortcode header – tighter list spacing under filters */
body.salon-home .sc-header {
  display: none !important;
}

body.salon-home .sc-wrap {
  padding-top: 0.65rem;
  padding-bottom: 6rem;
}

body.salon-home .sc-category:first-child {
  margin-top: 0;
}

body.salon-home .sc-category-title {
  margin-top: 0.35rem;
}
