/* ============================================================
   AH Family Salon — Services Listing & Detail Styling
   High-End Luxury Beauty & Grooming Platform
   ============================================================ */

/* ---------- Page Hero ---------- */
.page-hero {
  padding-block: clamp(48px, 6.5vw, 76px) clamp(28px, 4vw, 42px);
  text-align: center;
  position: relative;
  background: radial-gradient(100% 70% at 50% 0%,
              rgba(194, 160, 119, 0.16), rgba(247, 244, 238, 0) 66%);
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
  font-weight: 500;
}
.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  margin-bottom: 14px;
  line-height: 1.1;
}
.page-hero p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-inline: auto;
}

.crumbs {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: clamp(22px, 3vw, 34px);
}
.crumbs a { color: var(--accent-deep); transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin-inline: 8px; }

/* ---------- Master Filter Console ---------- */
.services-catalogue {
  padding-top: 10px;
}

.filter-console {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 3.2vw, 32px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 45px -25px rgba(36, 28, 24, 0.15),
              0 1px 2px rgba(36, 28, 24, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: box-shadow 0.3s var(--ease);
}

/* Top bar: Search + Segmented audience tabs */
.filter-top-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

/* Search Box */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.search-box .search-icon {
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  pointer-events: none;
  transition: color 0.2s var(--ease);
}
.search-box input {
  width: 100%;
  padding: 13px 44px 13px 48px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(194, 160, 119, 0.25);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 2px 4px rgba(36, 28, 24, 0.03);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search-box input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 4px rgba(194, 160, 119, 0.18), inset 0 1px 2px rgba(36, 28, 24, 0.02);
}
.search-box input:focus + .search-icon,
.search-box input:not(:placeholder-shown) ~ .search-icon {
  color: var(--accent-deep);
}
.search-clear {
  position: absolute;
  right: 14px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(36, 28, 24, 0.08);
  border: none;
  color: var(--ink-soft);
  font-size: 11px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.search-clear:hover {
  background: var(--accent-deep);
  color: #fff;
}

/* Segmented Audience Tab Bar */
.segmented-control {
  display: inline-flex;
  padding: 5px;
  background: rgba(36, 28, 24, 0.06);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 3px rgba(36, 28, 24, 0.06);
  gap: 4px;
}
.seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.seg-btn .seg-icon {
  font-size: 14px;
  line-height: 1;
}
.seg-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}
.seg-btn.is-active {
  color: var(--on-dark);
  background: linear-gradient(158deg, rgba(46, 36, 30, 0.96), rgba(24, 18, 14, 0.94));
  box-shadow: 0 6px 16px -6px rgba(36, 28, 24, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Filter Details Panel (Categories & Price) */
.filter-details-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 6px;
  border-top: 1px solid rgba(36, 28, 24, 0.07);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 14px 18px;
  flex-wrap: wrap;
}
.filter-group-bottom {
  align-items: center;
}
.filter-head {
  flex: 0 0 100px;
}
.filter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Chips Set & Scroll */
.chips-scroll-wrap {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.chips-scroll-wrap::-webkit-scrollbar {
  height: 4px;
}
.chips-scroll-wrap::-webkit-scrollbar-thumb {
  background: rgba(194, 160, 119, 0.3);
  border-radius: 4px;
}

.chip-set {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  flex-wrap: wrap;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 450;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(36, 28, 24, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 3px rgba(36, 28, 24, 0.03);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.chip-btn:hover {
  transform: translateY(-1px);
  color: var(--ink);
  border-color: rgba(194, 160, 119, 0.45);
  background: #ffffff;
  box-shadow: 0 4px 12px -4px rgba(36, 28, 24, 0.1);
}
.chip-btn.is-active {
  background: linear-gradient(158deg, rgba(58, 46, 39, 0.96), rgba(28, 21, 17, 0.94));
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--on-dark);
  box-shadow: 0 8px 18px -8px rgba(36, 28, 24, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-deep);
  display: inline-block;
}
.chip-btn.is-active .chip-dot {
  background: var(--gold-mid);
}

/* Popular Toggle Button */
.popular-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(194, 160, 119, 0.12);
  border: 1px dashed rgba(194, 160, 119, 0.45);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  margin-left: auto;
  white-space: nowrap;
}
.popular-toggle-btn svg {
  color: var(--accent-deep);
  transition: fill 0.2s var(--ease);
}
.popular-toggle-btn:hover {
  background: rgba(194, 160, 119, 0.22);
  color: var(--ink);
  border-color: var(--accent-deep);
}
.popular-toggle-btn.is-active {
  background: linear-gradient(135deg, #d4a373, #a47148);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(164, 113, 72, 0.6);
}
.popular-toggle-btn.is-active svg {
  fill: #ffffff;
  color: #ffffff;
}

/* Active Filter Badges Strip */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(194, 160, 119, 0.08);
  border: 1px solid rgba(194, 160, 119, 0.2);
  animation: fadeIn 0.3s ease-out;
}
.active-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.active-tags-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.active-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(194, 160, 119, 0.35);
  box-shadow: 0 2px 6px rgba(36, 28, 24, 0.05);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.active-tag-chip:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}
.active-tag-chip .tag-x {
  font-size: 10px;
  opacity: 0.7;
}
.clear-all-btn {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: underline;
  color: var(--accent-deep);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s var(--ease);
}
.clear-all-btn:hover {
  color: var(--ink);
}

/* ---------- Results Bar ---------- */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: clamp(30px, 4.5vw, 42px) 0 clamp(20px, 3vw, 26px);
  padding-inline: 4px;
}
.results-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.results-count {
  font-size: 14.5px;
  color: var(--ink-soft);
}
.results-count strong {
  color: var(--ink);
  font-weight: 600;
}
.results-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(36, 28, 24, 0.06);
  color: var(--ink-soft);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-wrap label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.select-wrapper {
  position: relative;
}
.select-wrapper select {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 9px 36px 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(194, 160, 119, 0.35);
  box-shadow: 0 2px 8px -2px rgba(36, 28, 24, 0.06);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.25s var(--ease);
}
.select-wrapper select:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(194, 160, 119, 0.18);
}
.select-wrapper::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: translateY(-65%) rotate(-45deg);
  pointer-events: none;
}

/* ---------- Service Grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  padding-bottom: var(--section-y);
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.32) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px -18px rgba(36, 28, 24, 0.12),
              0 1px 2px rgba(36, 28, 24, 0.03),
              inset 0 1px 0 rgba(255, 255, 255, 0.95),
              inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  position: relative;
  animation: cardFadeIn 0.35s ease-out backwards;
  container-type: inline-size;
}
.service-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%);
  border-color: rgba(194, 160, 119, 0.5);
  box-shadow: 0 22px 46px -20px rgba(36, 28, 24, 0.2),
              0 0 16px rgba(194, 160, 119, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Media Wrap & Badges */
.card-media-wrap {
  position: relative;
  overflow: hidden;
}
.card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eae4da;
}
.card-media img,
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover .service-img {
  transform: scale(1.05);
}

/* Badge Overlays */
.badge-popular {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.92), rgba(138, 92, 26, 0.95));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.badge-popular svg {
  color: #ffdf00;
}

.badge-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(24, 18, 14, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

/* Card Body (Tight & Compact Spacing) */
.card-body {
  padding: 16px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.pill {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.pill-who {
  color: var(--accent-deep);
  background: rgba(194, 160, 119, 0.14);
  border: 1px solid rgba(194, 160, 119, 0.28);
}
.pill-type {
  color: var(--ink-soft);
  background: rgba(36, 28, 24, 0.05);
  border: 1px solid rgba(36, 28, 24, 0.08);
}

.card-title {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 5px;
}
.card-title a {
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.card-title a:hover {
  color: var(--accent-deep);
}

.card-short {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

/* Card Meta & Actions */
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 28, 24, 0.08);
}
.price-wrap {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.price-from {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.price {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-top: 1px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.card-actions .btn {
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  line-height: 1.2;
}

/* When the card itself is compact or narrow, stack the action buttons cleanly */
@container (max-width: 320px) {
  .card-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .price-wrap {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .card-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .card-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 8px 10px;
  }
}

/* ---------- Image Slot Fallback ---------- */
.img-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  padding: 16px;
  background:
    repeating-linear-gradient(135deg,
      rgba(194, 160, 119, 0.07) 0 12px,
      rgba(194, 160, 119, 0) 12px 24px),
    linear-gradient(160deg, var(--beige-3), #d8cfc0);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.img-slot svg {
  width: 26px;
  height: 26px;
  margin-inline: auto;
  fill: none;
  stroke: var(--accent-deep);
  stroke-width: 1.3;
  opacity: 0.75;
}
.img-slot b {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--accent-deep);
}
.img-slot code {
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  word-break: break-all;
  opacity: 0.8;
}

/* ---------- Empty State ---------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(50px, 8vw, 84px) 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px dashed rgba(194, 160, 119, 0.4);
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.empty-icon {
  font-size: 42px;
  line-height: 1;
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
}
.empty-state p {
  max-width: 48ch;
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Detail Page Styles ---------- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
  padding-block: clamp(26px, 4vw, 44px) clamp(60px, 8vw, 100px);
}
.detail-media {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 26px 54px -34px rgba(36, 28, 24, 0.55);
  position: sticky;
  top: 104px;
}
.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-media .img-slot { aspect-ratio: 4 / 4.4; border-bottom: 0; }

.detail-info h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; margin: 14px 0 14px; }
.detail-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(36, 28, 24, 0.1);
}
.detail-price .price { font-size: 40px; }
.detail-info > p { font-size: 15px; color: var(--ink-soft); margin-bottom: 26px; }

.detail-block { margin-bottom: 28px; }
.detail-block h2 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.tick-list { display: grid; gap: 10px; }
.tick-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 7px;
  border-left: 1.4px solid var(--accent-deep);
  border-bottom: 1.4px solid var(--accent-deep);
  transform: rotate(-45deg);
}
.note-box {
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: rgba(194, 160, 119, 0.12);
  border: 1px solid rgba(194, 160, 119, 0.26);
}
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Related */
.related { padding-bottom: var(--section-y); }
.related h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 300;
  margin-bottom: clamp(20px, 3vw, 30px);
}

/* Keyframes */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1040px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-top-bar { grid-template-columns: 1fr; }
  .segmented-control { width: 100%; justify-content: space-between; overflow-x: auto; }
  .seg-btn { flex: 1; justify-content: center; padding: 8px 12px; font-size: 12px; }
}

@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; }
  .detail-media { position: static; max-width: 600px; margin: 0 auto; }
  .detail-media .img-slot { aspect-ratio: 4 / 3; }
  .filter-head { flex: 0 0 100%; }
  .filter-group { flex-direction: column; align-items: flex-start; gap: 10px; }
  .popular-toggle-btn { margin-left: 0; margin-top: 4px; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .results-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sort-wrap { width: 100%; justify-content: space-between; }
  .select-wrapper { flex: 1; }
  .select-wrapper select { width: 100%; }
  .card-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .price-wrap {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .card-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .card-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 12px;
  }
  .chip-btn { padding: 7px 13px; font-size: 11.5px; }
  .card-title { font-size: 23px; }
}
