.zhed-directory {
  scroll-margin-top: 86px;
  padding-top: 62px;
}

.zhed-section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.zhed-section-heading p {
  color: #17d9c7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 5px;
}

.zhed-section-heading h2 {
  color: #fff6df;
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
}

.zhed-section-heading > span {
  color: #888791;
  font-size: 12px;
}

.zhed-heading-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zhed-heading-actions > span {
  color: #888791;
  font-size: 12px;
}

.zhed-nearby-button {
  align-items: center;
  background: rgba(23, 217, 199, 0.08);
  border: 1px solid rgba(23, 217, 199, 0.32);
  border-radius: 999px;
  color: #70e4da;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  gap: 6px;
  min-height: 34px;
  padding: 7px 11px;
}

.zhed-nearby-button i {
  border: 2px solid currentColor;
  border-radius: 50%;
  height: 8px;
  position: relative;
  width: 8px;
}

.zhed-nearby-button i::after {
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  inset: -5px;
  position: absolute;
}

.zhed-location-status {
  background: rgba(23, 217, 199, 0.07);
  border: 1px solid rgba(23, 217, 199, 0.2);
  border-radius: 12px;
  color: #a8dcd6;
  font-size: 11px;
  margin: -8px 0 18px;
  padding: 10px 12px;
}

.zhed-location-status[data-state="error"] {
  background: rgba(224, 188, 112, 0.07);
  border-color: rgba(224, 188, 112, 0.24);
  color: #d8c48f;
}

.zhed-filters {
  align-items: end;
  background: rgba(15, 17, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 12px;
  grid-template-columns: 1.25fr repeat(4, minmax(110px, 1fr)) 150px;
  margin: 0 0 28px;
  padding: 16px;
}

.zhed-filter-summary {
  display: grid;
  padding: 0 4px 5px;
}

.zhed-filter-summary span {
  color: #7b7a84;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.zhed-filter-summary strong {
  color: #e5dfd1;
  font-size: 13px;
  margin-top: 3px;
}

.zhed-filters label {
  color: #85838e;
  display: grid;
  font-size: 10px;
  gap: 5px;
}

.zhed-filters select,
.zhed-filters input,
.zhed-filters button {
  appearance: none;
  -webkit-appearance: none;
  background-color: #1a1c26;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  color: #f7f1e5;
  font: inherit;
  font-size: 13px;
  min-height: 46px;
  outline: 0;
  padding: 10px 12px;
  width: 100%;
}

.zhed-filters select {
  background-image:
    linear-gradient(45deg, transparent 50%, #777681 50%),
    linear-gradient(135deg, #777681 50%, transparent 50%);
  background-position: calc(100% - 15px) 20px, calc(100% - 11px) 20px;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
  padding-right: 28px;
}

.zhed-filters select:focus,
.zhed-filters input:focus {
  border-color: rgba(224, 188, 112, 0.62);
  box-shadow: 0 0 0 3px rgba(224, 188, 112, 0.08);
}

.zhed-filters option { color: #11131d; }

.zhed-filters button,
.zhed-actions a,
.zhed-actions button {
  background: linear-gradient(110deg, #d8b362, #f2d68e);
  border: 0;
  color: #101016;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.zhed-filters button {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.zhed-filters button b { font-size: 18px; font-weight: 400; }

.zhed-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.zhed-card,
.zhed-package {
  background: linear-gradient(155deg, rgba(24, 26, 38, 0.98), rgba(12, 14, 21, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
}

.zhed-card-media {
  display: block;
  height: 210px;
  overflow: hidden;
  position: relative;
}

.zhed-card-media::after {
  background: linear-gradient(180deg, transparent 48%, rgba(7, 8, 13, 0.74));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.zhed-card img,
.zhed-card-placeholder {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.zhed-card:hover img,
.zhed-card:hover .zhed-card-placeholder { transform: scale(1.025); }

.zhed-card-placeholder {
  background:
    radial-gradient(circle at 14% 70%, rgba(223, 49, 135, 0.65), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(20, 202, 187, 0.55), transparent 24%),
    linear-gradient(120deg, #10111a 0%, #41112e 52%, #07383a 100%);
  position: relative;
}

.zhed-card-placeholder::before,
.zhed-card-placeholder::after,
.zhed-card-placeholder i {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.zhed-card-placeholder::before { height: 98px; width: 70%; }
.zhed-card-placeholder::after { height: 58px; width: 48%; }
.zhed-card-placeholder i { background: rgba(255, 255, 255, 0.06); height: 16px; width: 16px; }

.zhed-media-label,
.zhed-media-score {
  position: absolute;
  z-index: 2;
}

.zhed-media-label {
  background: rgba(8, 9, 14, 0.63);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #e7dfce;
  font-size: 9px;
  left: 14px;
  letter-spacing: 0.12em;
  padding: 6px 9px;
  top: 14px;
}

.zhed-media-score {
  align-items: center;
  background: rgba(8, 9, 14, 0.7);
  border: 1px solid rgba(224, 188, 112, 0.42);
  border-radius: 50%;
  bottom: 12px;
  color: #f7d98f;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  right: 12px;
  width: 38px;
}

.zhed-card-body,
.zhed-package { padding: 20px; }

.zhed-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zhed-badges span {
  background: rgba(24, 217, 199, 0.07);
  border: 1px solid rgba(24, 217, 199, 0.24);
  border-radius: 999px;
  color: #70e4da;
  font-size: 9px;
  padding: 4px 7px;
}

.zhed-badges span:nth-child(2),
.zhed-badges span:nth-child(3) {
  background: rgba(224, 188, 112, 0.07);
  border-color: rgba(224, 188, 112, 0.24);
  color: #d9c796;
}

.zhed-badges .zhed-distance {
  background: rgba(194, 34, 121, 0.1);
  border-color: rgba(194, 34, 121, 0.36);
  color: #ef9fc9;
}

.zhed-card h2 {
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 12px 0 7px;
}

.zhed-card h2 a { color: #fff6df; text-decoration: none; }

.zhed-meta {
  align-items: center;
  color: #9b99a3;
  display: flex;
  font-size: 12px;
  gap: 7px;
  margin: 0;
}

.zhed-meta strong { color: #e9c573; font-size: 15px; }
.zhed-meta i { background: #484751; border-radius: 50%; height: 3px; width: 3px; }

.zhed-address {
  color: #84838c;
  font-size: 11px;
  margin: 12px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zhed-address span { color: #b3a16f; margin-right: 5px; }

.zhed-score {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #918f99;
  font-size: 10px;
  margin: 15px 0 0;
  padding-top: 12px;
}

.zhed-score span { color: #65646d; }

.zhed-actions {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}

.zhed-actions a,
.zhed-actions button {
  align-items: center;
  border-radius: 11px;
  display: inline-flex;
  flex: 1;
  font: inherit;
  font-size: 12px;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
}

.zhed-actions button {
  background: #242631;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #e6e1d7;
}

.zhed-packages-section {
  margin-top: 64px;
}

.zhed-package-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.zhed-package-heading p {
  color: #17d9c7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 5px;
}

.zhed-package-heading h2 {
  color: #fff6df;
  font-size: 30px;
  letter-spacing: -0.04em;
  margin: 0;
}

.zhed-package-heading > span {
  color: #83818b;
  font-size: 11px;
}

.zhed-package-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zhed-package {
  background:
    radial-gradient(circle at 100% 0, rgba(194, 34, 121, 0.13), transparent 15rem),
    linear-gradient(155deg, rgba(24, 26, 38, 0.99), rgba(11, 13, 20, 0.99));
  border-radius: 20px;
  padding: 22px;
}

.zhed-package-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.zhed-package-badge {
  background: linear-gradient(110deg, #d8b362, #f2d68e);
  border-radius: 999px;
  color: #111016;
  font-size: 10px;
  font-weight: 900;
  padding: 6px 9px;
}

.zhed-package-stock {
  align-items: center;
  color: #8b8993;
  display: inline-flex;
  font-size: 10px;
  gap: 6px;
}

.zhed-package-stock i {
  background: #17d9c7;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(23, 217, 199, 0.6);
  height: 5px;
  width: 5px;
}

.zhed-package h3 {
  color: #fff6df;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 16px 0 9px;
}

.zhed-package-price {
  align-items: baseline;
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
}

.zhed-package-price > small {
  color: #8a8891;
  font-size: 10px;
}

.zhed-package-price strong {
  color: #f0cb76;
  font-size: 36px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.zhed-package-price sup { font-size: 14px; margin-right: 2px; }
.zhed-package-price del { color: #62616a; font-size: 10px; }

.zhed-package-specs {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 13px;
}

.zhed-package-specs span {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  padding: 11px 10px;
}

.zhed-package-specs span:last-child { border-right: 0; }
.zhed-package-specs small { color: #6f6d77; font-size: 9px; }
.zhed-package-specs strong { color: #d8d3c7; font-size: 12px; margin-top: 3px; }

.zhed-package-time {
  color: #8e8c96;
  font-size: 10px;
  margin: 0 0 12px;
}

.zhed-package-time span { color: #c5a95e; }

.zhed-package-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 17px;
}

.zhed-package-highlights span {
  background: rgba(23, 217, 199, 0.06);
  border: 1px solid rgba(23, 217, 199, 0.19);
  border-radius: 999px;
  color: #75cfc7;
  font-size: 9px;
  padding: 5px 7px;
}

.zhed-package-includes {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.zhed-package-includes h4 {
  color: #ded8cb;
  font-size: 12px;
  margin: 0 0 10px;
}

.zhed-package-includes ul,
.zhed-package-terms ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zhed-package-includes li {
  align-items: flex-start;
  color: #aaa7af;
  display: flex;
  font-size: 11px;
  gap: 8px;
  margin: 7px 0;
}

.zhed-package-includes li i {
  align-items: center;
  background: rgba(23, 217, 199, 0.1);
  border-radius: 50%;
  color: #57d5ca;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 8px;
  font-style: normal;
  height: 16px;
  justify-content: center;
  margin-top: 1px;
  width: 16px;
}

.zhed-package-terms {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #74727c;
  font-size: 10px;
  margin-top: 15px;
  padding-top: 12px;
}

.zhed-package-terms summary { color: #918f98; cursor: pointer; }
.zhed-package-terms li { list-style: disc; margin: 7px 0 0 16px; }

.zhed-package-actions {
  display: flex;
  gap: 8px;
  margin-top: 17px;
}

.zhed-package-actions a,
.zhed-package-actions button {
  align-items: center;
  background: linear-gradient(110deg, #d8b362, #f2d68e);
  border: 0;
  border-radius: 11px;
  color: #111016;
  cursor: pointer;
  display: inline-flex;
  flex: 1;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 9px;
  text-decoration: none;
}

.zhed-package-actions button {
  background: #242631;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #e6e1d7;
}
.zhed-empty { color: #96949d; }

@media (max-width: 820px) {
  .zhed-directory {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(576px + env(safe-area-inset-left) + env(safe-area-inset-right));
    padding: 46px calc(18px + env(safe-area-inset-right)) 0 calc(18px + env(safe-area-inset-left));
  }

  .zhed-section-heading { margin-bottom: 18px; }
  .zhed-section-heading h2 { font-size: 27px; }
  .zhed-heading-actions { gap: 6px; }
  .zhed-nearby-button { min-height: 40px; }

  .zhed-filters {
    border-radius: 20px;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 18px;
    padding: 14px;
  }

  .zhed-filter-summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    grid-column: 1 / -1;
    padding: 1px 1px 12px;
  }

  .zhed-filters label { min-width: 0; }
  .zhed-filters select,
  .zhed-filters input {
    font-size: 16px;
    min-height: 48px;
  }

  .zhed-filters button {
    grid-column: 1 / -1;
    margin-top: 2px;
    min-height: 50px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .zhed-grid { display: block; }

  .zhed-card {
    border-radius: 16px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    margin-bottom: 12px;
    min-height: 150px;
  }

  .zhed-card-media { height: 100%; min-height: 150px; }
  .zhed-media-label, .zhed-media-score { display: none; }
  .zhed-card-body { min-width: 0; padding: 15px 13px; }
  .zhed-badges span:nth-child(3) { display: none; }
  .zhed-card h2 { font-size: 16px; margin: 9px 0 5px; }
  .zhed-meta { gap: 5px; }
  .zhed-meta strong { font-size: 13px; }
  .zhed-address { margin-top: 8px; }
  .zhed-score { display: none; }
  .zhed-actions { gap: 6px; margin-top: 10px; }
  .zhed-actions a, .zhed-actions button { border-radius: 9px; font-size: 10px; min-height: 42px; padding: 7px; }

  .zhed-card:first-child {
    display: block;
    margin-bottom: 16px;
  }

  .zhed-card:first-child .zhed-card-media { height: 180px; }
  .zhed-card:first-child .zhed-media-label,
  .zhed-card:first-child .zhed-media-score { display: flex; }
  .zhed-card:first-child .zhed-media-label { display: block; }
  .zhed-card:first-child .zhed-card-body { padding: 18px; }
  .zhed-card:first-child .zhed-badges span:nth-child(3) { display: inline-block; }
  .zhed-card:first-child h2 { font-size: 20px; margin: 11px 0 6px; }
  .zhed-card:first-child .zhed-meta strong { font-size: 15px; }
  .zhed-card:first-child .zhed-address { margin-top: 10px; }
  .zhed-card:first-child .zhed-score { display: block; }
  .zhed-card:first-child .zhed-actions a,
  .zhed-card:first-child .zhed-actions button { font-size: 12px; min-height: 44px; }

  .zhed-packages-section {
    margin-top: 46px;
    padding-left: calc(18px + env(safe-area-inset-left));
    padding-right: calc(18px + env(safe-area-inset-right));
  }

  .zhed-package-heading h2 { font-size: 27px; }
  .zhed-package-heading > span { display: none; }
  .zhed-package-list { grid-template-columns: 1fr; }
  .zhed-package { padding: 19px; }
  .zhed-package h3 { font-size: 19px; }
}

@media (max-width: 370px) {
  .zhed-card { grid-template-columns: 84px minmax(0, 1fr); }
  .zhed-card-body { padding-left: 11px; padding-right: 11px; }
  .zhed-actions a, .zhed-actions button { font-size: 10px; min-height: 40px; }
}

@media (max-width: 319px) {
  .zhed-directory {
    padding-left: calc(12px + env(safe-area-inset-left));
    padding-right: calc(12px + env(safe-area-inset-right));
  }

  .zhed-section-heading { align-items: flex-start; }
  .zhed-section-heading h2 { font-size: 24px; }

  .zhed-filters { grid-template-columns: 1fr; padding: 12px; }
  .zhed-filter-summary,
  .zhed-filters button { grid-column: 1; }

  .zhed-card,
  .zhed-card:first-child { display: block; }
  .zhed-card .zhed-card-media,
  .zhed-card:first-child .zhed-card-media { height: 138px; min-height: 0; }
  .zhed-card .zhed-card-body { padding: 14px; }
}

@media (min-width: 430px) and (max-width: 600px) {
  .zhed-card { grid-template-columns: 112px minmax(0, 1fr); }
  .zhed-card:first-child .zhed-card-media { height: 210px; }
}

@media (pointer: coarse) {
  .zhed-filters button,
  .zhed-nearby-button,
  .zhed-actions a,
  .zhed-actions button,
  .zhed-package-actions a,
  .zhed-package-actions button {
    min-height: 44px;
    touch-action: manipulation;
  }
}
