.fcshop-directory {
  box-sizing: border-box;
  max-width: 100%;
  color: #2f2f2f;
}

.fcshop-directory *,
.fcshop-directory *::before,
.fcshop-directory *::after {
  box-sizing: border-box;
  max-width: 100%;
}

.fcshop-directory .fcshop-heading,
.fcshop-directory .fcshop-section__title,
.fcshop-directory .fcshop-shop-title {
  background: none;
  border: 0;
  box-shadow: none;
  margin: 0 0 12px;
  padding: 0;
  line-height: 1.45;
  color: inherit;
}

.fcshop-directory .fcshop-heading--section {
  font-size: 1.35rem;
}

.fcshop-directory .fcshop-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: #4b5563;
}

.fcshop-directory .fcshop-breadcrumb__sep {
  color: #9ca3af;
}

.fcshop-directory .fcshop-search-panel {
  border: 1px solid #e6ded1;
  border-radius: 14px;
  background: #fffdfa;
  padding: 16px;
  margin: 0 0 16px;
}

.fcshop-directory .fcshop-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fcshop-directory .fcshop-search-field {
  display: block;
}

.fcshop-directory .fcshop-search-field--checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.fcshop-directory .fcshop-label {
  display: block;
  margin: 0 0 4px;
  font-size: 0.86rem;
}

.fcshop-directory .fcshop-input,
.fcshop-directory .fcshop-select,
.fcshop-directory .fcshop-textarea {
  width: 100%;
  border: 1px solid #cfd6de;
  border-radius: 9px;
  padding: 10px 12px;
  background: #fff;
}

.fcshop-directory .fcshop-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.fcshop-directory .fcshop-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.fcshop-directory .fcshop-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8dfe7;
  border-radius: 999px;
  padding: 6px 10px;
  background: #f8fafc;
  color: #334155;
  text-decoration: none;
  font-size: 0.85rem;
}

.fcshop-directory .fcshop-filter-chip__remove {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5eaf0;
  color: #475569;
  line-height: 1;
}

.fcshop-directory .fcshop-results-summary {
  border: 1px solid #ece8de;
  border-radius: 12px;
  padding: 12px;
  margin: 0 0 16px;
  background: #fff;
}

.fcshop-directory .fcshop-empty-state {
  margin: 8px 0 0;
  color: #6a6a6a;
}

.fcshop-directory .fcshop-results-list {
  display: grid;
  gap: 12px;
}

@media (min-width: 769px) {
  .fcshop-directory .fcshop-results-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fcshop-directory .fcshop-shop-card {
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.fcshop-directory .fcshop-shop-card__image {
  background: #f7f7f7;
  margin: 0 0 10px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.fcshop-directory .fcshop-shop-card__image img,
.fcshop-directory .fcshop-shop-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fcshop-directory .fcshop-shop-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8a8a;
}

.fcshop-directory .fcshop-shop-card__body {
  padding: 14px;
}

.fcshop-directory .fcshop-shop-card__content-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.fcshop-directory .fcshop-shop-card__title {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.fcshop-directory .fcshop-shop-card__labels,
.fcshop-directory .fcshop-shop-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.fcshop-directory .fcshop-shop-card__description,
.fcshop-directory .fcshop-shop-card__budget {
  margin: 0 0 8px;
}

.fcshop-directory .fcshop-shop-card__tags,
.fcshop-directory .fcshop-service-tags {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 10px;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.fcshop-directory .fcshop-service-table .fcshop-service-tags {
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
  margin: 0;
}

.fcshop-directory .fcshop-service-empty {
  color: #64748b;
  font-size: 0.9rem;
}

.fcshop-directory .fcshop-shop-card__actions {
  display: block;
}

.fcshop-directory .fcshop-shop-card__button--full {
  width: 100%;
  margin: 0 0 8px;
}

.fcshop-directory .fcshop-shop-card__actions-sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fcshop-directory .fcshop-shop-card__actions-sub .fcshop-button {
  width: 100%;
}

.fcshop-directory .fcshop-shop-card__actions-sub .fcshop-button:only-child {
  grid-column: 1 / -1;
}

.fcshop-directory .fcshop-shop-card__today-hours {
  margin: 8px 0 10px;
  font-size: 0.88rem;
  color: #334155;
}

.fcshop-directory .fcshop-shop-card__meta-table,
.fcshop-directory .fcshop-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.fcshop-directory .fcshop-table-scroll {
  width: 100%;
}

.fcshop-directory .fcshop-shop-card__meta-table th,
.fcshop-directory .fcshop-shop-card__meta-table td,
.fcshop-directory .fcshop-data-table th,
.fcshop-directory .fcshop-data-table td {
  border-bottom: 1px solid #eceff3;
  padding: 9px 10px;
  vertical-align: top;
  font-size: 0.92rem;
}

.fcshop-directory .fcshop-shop-card__meta-table tr:last-child th,
.fcshop-directory .fcshop-shop-card__meta-table tr:last-child td,
.fcshop-directory .fcshop-data-table tr:last-child th,
.fcshop-directory .fcshop-data-table tr:last-child td {
  border-bottom: 0;
}

.fcshop-directory .fcshop-shop-card__meta-table th,
.fcshop-directory .fcshop-data-table th {
  width: 95px;
  background: #f8fafc;
  text-align: left;
  color: #334155;
  font-weight: 700;
}

.fcshop-directory .fcshop-shop-card__meta-table td,
.fcshop-directory .fcshop-data-table td {
  color: #1f2937;
}

.fcshop-directory .fcshop-data-table--compact th {
  width: 90px;
}

.fcshop-directory .fcshop-data-table--services th {
  width: 160px;
  white-space: nowrap;
}

/* Detail page service table: keep row labels horizontal and let tags wrap */
.fcshop-directory .fcshop-data-table--services {
  table-layout: fixed;
}

.fcshop-directory .fcshop-data-table--services th {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  word-break: keep-all;
  overflow-wrap: normal;
}

.fcshop-directory .fcshop-data-table--services td {
  width: auto;
}

.fcshop-directory .fcshop-data-table--services .fcshop-service-tags {
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
  margin: 0;
}

.fcshop-directory .fcshop-data-table--services .fcshop-tag {
  white-space: nowrap;
}

.fcshop-directory .fcshop-business-hours-table .fcshop-day--sat th,
.fcshop-directory .fcshop-business-hours-table .fcshop-day--sat td {
  background: #e8f5ff;
}

.fcshop-directory .fcshop-business-hours-table .fcshop-day--sun th,
.fcshop-directory .fcshop-business-hours-table .fcshop-day--sun td {
  background: #ffeaf3;
}

.fcshop-directory .fcshop-business-hours-calendar th,
.fcshop-directory .fcshop-business-hours-calendar td {
  text-align: center;
  vertical-align: middle;
}

.fcshop-directory .fcshop-business-hours-calendar .fcshop-col--sat {
  background: #e8f5ff;
}

.fcshop-directory .fcshop-business-hours-calendar .fcshop-col--sun {
  background: #ffeaf3;
}

.fcshop-directory .fcshop-hours-line {
  display: block;
  line-height: 1.45;
}

.fcshop-directory .fcshop-link-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fcshop-directory .fcshop-link-buttons .fcshop-button {
  width: 100%;
}

.fcshop-directory .fcshop-access__address {
  margin: 0 0 10px;
}

.fcshop-directory .fcshop-access-tabs {
  margin: 0 0 12px;
}

.fcshop-directory .fcshop-access-tabs__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 10px;
}

.fcshop-directory .fcshop-access-tabs__tab {
  min-height: 42px;
  border: 1px solid #d7dce4;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-weight: 600;
  cursor: pointer;
}

.fcshop-directory .fcshop-access-tabs__tab.is-active {
  background: #e66a48;
  border-color: #e66a48;
  color: #fff;
}

.fcshop-directory .fcshop-access-tabs__panel {
  display: none;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.fcshop-directory .fcshop-access-tabs__panel.is-active {
  display: block;
}

.fcshop-directory .fcshop-access-route__meta {
  margin: 0 0 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.fcshop-directory .fcshop-access-route__duration {
  font-weight: 700;
}

.fcshop-directory .fcshop-access-route__text {
  margin: 0;
  line-height: 1.6;
}

.fcshop-directory .fcshop-address-map-action {
  margin-top: 8px;
}

.fcshop-directory .fcshop-address-map-action .fcshop-button {
  width: 100%;
}

.fcshop-directory .fcshop-button--full {
  width: 100%;
}

.fcshop-directory .fcshop-map-embed-wrap {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.fcshop-directory .fcshop-map-embed {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.fcshop-directory .fcshop-quality-gauge-wrap {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.fcshop-directory .fcshop-quality-gauge {
  width: 100%;
  max-width: 360px;
  height: 220px;
}

body.fcshop-is-search .blogbox.st-kuzu-b {
  display: none;
}

body.fcshop-is-search #breadcrumb {
  display: none;
}

body.fcshop-is-detail .blogbox.st-kuzu-b {
  display: none;
}

body.fcshop-is-detail #breadcrumb,
body.fcshop-is-detail .st-breadcrumb,
body.fcshop-is-detail .breadcrumb {
  display: none !important;
}

@media (min-width: 1024px) {
  .fcshop-directory.fcshop-directory--detail {
    width: min(70vw, 1280px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.fcshop-directory .fcshop-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fcshop-directory .fcshop-cta-bar .fcshop-button {
  flex: 1 1 180px;
}

.fcshop-directory .fcshop-shop-hero {
  border: 1px solid #ece4d6;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  margin: 0 0 14px;
}

.fcshop-directory .fcshop-shop-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.fcshop-directory .fcshop-shop-hero__image {
  margin-top: 8px;
}

.fcshop-directory .fcshop-shop-hero__body {
  padding: 16px;
}

.fcshop-directory .fcshop-section {
  border: 1px solid #ececed;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  margin: 0 0 14px;
}

.fcshop-directory .fcshop-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.fcshop-directory .fcshop-gallery__item {
  margin: 0;
}

.fcshop-directory .fcshop-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.fcshop-directory .fcshop-coupon-list {
  display: grid;
  gap: 10px;
}

.fcshop-directory .fcshop-coupon-card {
  border: 1px solid #edd7b4;
  border-radius: 12px;
  background: #fff9ef;
  padding: 12px;
}

.fcshop-directory .fcshop-coupon-card__title {
  margin: 0 0 8px;
}

.fcshop-directory .fcshop-coupon-card__code,
.fcshop-directory .fcshop-coupon-card__condition {
  margin: 6px 0;
}

.fcshop-directory .fcshop-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  line-height: 1.2;
}

.fcshop-directory .fcshop-label--pr {
  background: #ffeabf;
  color: #70510b;
}

.fcshop-directory .fcshop-label--verified {
  background: #e0f3ea;
  color: #1e6049;
}

.fcshop-directory .fcshop-label--coupon {
  background: #ffe3df;
  color: #8a3328;
}

.fcshop-directory .fcshop-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  line-height: 1.3;
  border: 1px solid #d5dae1;
  font-weight: 700;
  background: #f5f6f8;
  color: #667085;
}

.fcshop-directory .fcshop-status-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fcshop-directory .fcshop-status-pill.is-active.fcshop-status-pill--open {
  background: #e8f8ef;
  border-color: #b7e7c8;
  color: #19623a;
}

.fcshop-directory .fcshop-status-pill.is-active.fcshop-status-pill--paused {
  background: #fff7e6;
  border-color: #f3d7a2;
  color: #7a4a00;
}

.fcshop-directory .fcshop-status-pill.is-active.fcshop-status-pill--closed {
  background: #fdecec;
  border-color: #f2b8b8;
  color: #8b2020;
}

.fcshop-directory .fcshop-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e7ec;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f9fafb;
  font-size: 0.8rem;
}

.fcshop-directory .fcshop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}

.fcshop-directory .fcshop-button--primary {
  background: #e66a48;
  color: #fff;
}

.fcshop-directory .fcshop-button--secondary {
  border-color: #cfd6de;
  color: #32485e;
  background: #fff;
}

.fcshop-directory .fcshop-button--phone {
  background: #2f6b57;
  color: #fff;
}

.fcshop-directory .fcshop-button--line {
  background: #00b94f;
  color: #fff;
}

.fcshop-directory .fcshop-button--website,
.fcshop-directory .fcshop-button--map,
.fcshop-directory .fcshop-button--coupon {
  border-color: #d7dce4;
  color: #37485a;
  background: #fff;
}

.fcshop-directory .fcshop-admin-note {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f4f0ff;
  color: #4e3f75;
}

.fcshop-directory .fcshop-pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.fcshop-directory .fcshop-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid #d8dfe7;
  border-radius: 8px;
  text-decoration: none;
}

.fcshop-directory .fcshop-page-link.is-current {
  background: #e66a48;
  border-color: #e66a48;
  color: #fff;
}

.fcshop-directory .fcshop-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .fcshop-directory .fcshop-search-grid {
    grid-template-columns: 1fr;
  }

  .fcshop-directory .fcshop-results-list {
    grid-template-columns: 1fr;
  }

  .fcshop-directory .fcshop-search-actions,
  .fcshop-directory .fcshop-cta-bar {
    display: block;
  }

  .fcshop-directory .fcshop-search-actions .fcshop-button,
  .fcshop-directory .fcshop-cta-bar .fcshop-button {
    width: 100%;
    margin: 0 0 8px;
  }

  .fcshop-directory .fcshop-link-buttons {
    grid-template-columns: 1fr;
  }

  .fcshop-directory .fcshop-access-tabs__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fcshop-directory .fcshop-gallery {
    grid-template-columns: 1fr;
  }

  .fcshop-directory .fcshop-shop-card__meta-table th,
  .fcshop-directory .fcshop-shop-card__meta-table td,
  .fcshop-directory .fcshop-data-table th,
  .fcshop-directory .fcshop-data-table td {
    display: block;
    width: 100%;
  }

  .fcshop-directory .fcshop-data-table--services,
  .fcshop-directory .fcshop-data-table--services tbody,
  .fcshop-directory .fcshop-data-table--services tr,
  .fcshop-directory .fcshop-data-table--services th,
  .fcshop-directory .fcshop-data-table--services td {
    display: block;
    width: 100%;
  }

  .fcshop-directory .fcshop-data-table--services th {
    white-space: nowrap;
  }

  .fcshop-directory .fcshop-data-table--services .fcshop-service-tags {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
  }

  .fcshop-directory .fcshop-data-table--services .fcshop-tag {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .fcshop-directory .fcshop-business-hours-calendar th,
  .fcshop-directory .fcshop-business-hours-calendar td {
    display: table-cell;
    width: auto;
    font-size: 0.8rem;
    padding: 8px 6px;
  }

  .fcshop-directory .fcshop-table-scroll--card,
  .fcshop-directory .fcshop-table-scroll--detail-basic {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fcshop-directory .fcshop-shop-card__meta-table {
    min-width: 340px;
  }

  .fcshop-directory .fcshop-data-table--basic {
    min-width: 520px;
  }

  .fcshop-directory .fcshop-shop-card__meta-table th,
  .fcshop-directory .fcshop-shop-card__meta-table td,
  .fcshop-directory .fcshop-data-table--basic th,
  .fcshop-directory .fcshop-data-table--basic td {
    display: table-cell;
    width: auto;
  }
}

@media (min-width: 769px) {
  .fcshop-directory .fcshop-data-table--services th {
    width: 180px;
  }
}
