/* ============================================
   GoCheckin Rewards – Detail Panel
   ============================================ */

/* ---- Overlay backdrop ---- */
.detail-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.35s ease;
}

.detail-overlay.open {
  background: rgba(0, 0, 0, 0.45);
  pointer-events: all;
}

/* ---- Slide-up panel ---- */
.detail-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90%;
  background: var(--color-surface);
  border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.detail-overlay.open .detail-panel {
  transform: translateY(0);
}

/* ---- Sticky bottom action bar ---- */
.detail-action-bar {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 16px 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transition: opacity 0.2s ease, max-height 0.2s ease;
}

.detail-action-bar.hidden {
  display: none;
}

.detail-action-buttons {
  display: flex;
  gap: 8px;
}

.btn-detail-call,
.btn-detail-book {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px 12px 20px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  color: #fcfcfc;
  line-height: 24px;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.btn-detail-call {
  background: var(--color-content-main, #222226);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.btn-detail-book {
  background: var(--color-primary, #a528e3);
}

.btn-detail-call:hover,
.btn-detail-book:hover { opacity: 0.85; }

/* ---- Booking summary button (service selected state) ---- */
.detail-action-booking {
  display: none;
}

.detail-action-bar.has-services .detail-action-buttons {
  display: none;
}

.detail-action-bar.has-services .detail-action-booking {
  display: block;
}

.btn-detail-book-summary {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  background: var(--color-primary, #a528e3);
  color: #fcfcfc;
  font-family: var(--font-family);
  transition: opacity 0.15s;
}

.btn-detail-book-summary:hover { opacity: 0.9; }

.book-summary-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.book-summary-label {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 20px;
  color: #fcfcfc;
}

.book-summary-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(252, 252, 252, 0.7);
  flex-shrink: 0;
}

.book-summary-count {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 20px;
  color: #fcfcfc;
}

.book-summary-price {
  display: flex;
  align-items: baseline;
  font-weight: var(--font-weight-semibold);
  color: #fcfcfc;
  line-height: 26px;
}

#book-summary-price-val {
  font-size: 18px;
}

.book-summary-price-plus {
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
}

.detail-action-home-indicator {
  height: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}

.detail-action-home-indicator::after {
  content: '';
  width: 135px;
  height: 5px;
  background: var(--color-content-main, #222226);
  border-radius: 100px;
  opacity: 0.5;
}

/* ---- Panel handle bar ---- */
.detail-panel-handle-bar {
  display: flex;
  justify-content: center;
  padding: 10px 0 4px;
  flex-shrink: 0;
}

.detail-panel-handle {
  width: 36px;
  height: 4px;
  background: var(--neutral-20);
  border-radius: 100px;
}

/* ---- Panel top bar ---- */
.detail-panel-topbar {
  display: flex;
  align-items: center;
  padding: 0 var(--space-5) var(--space-3);
  flex-shrink: 0;
}

.btn-panel-close {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-content-main);
  border-radius: var(--radius-full);
  transition: background 0.15s;
  margin-left: -8px;
}

.btn-panel-close:hover { background: var(--neutral-10); }

/* ---- Sliding viewport (detail ↔ subpage) ---- */
.detail-panel-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.detail-panel-body,
.detail-panel-subpage {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-6);
  background: var(--color-theme-surface);
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.detail-panel-body::-webkit-scrollbar,
.detail-panel-subpage::-webkit-scrollbar { display: none; }

/* Subpage starts off-screen to the right */
.detail-panel-subpage {
  transform: translateX(100%);
}

/* When subpage is active: body slides left, subpage slides in */
.detail-panel-viewport.show-subpage .detail-panel-body {
  transform: translateX(-100%);
}

.detail-panel-viewport.show-subpage .detail-panel-subpage {
  transform: translateX(0);
}

/* ---- Subpage header (back button + title) ---- */
.detail-subpage-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5) var(--space-3);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  background: var(--color-theme-surface);
  z-index: 2;
}

.btn-subpage-back {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-content-main);
  border-radius: var(--radius-full);
  transition: background 0.15s;
  flex-shrink: 0;
  margin-left: -4px;
}

.btn-subpage-back:hover { background: var(--neutral-10); }

.detail-subpage-title {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-content-main);
  line-height: 26px;
}

/* Offers list padding inside subpage */
.detail-panel-subpage .offers-list {
  padding: 0 var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ==========================================
   DETAIL CONTENT SECTIONS
   ========================================== */

/* ---- Merged store header (thumbnail + info + actions) ---- */
.detail-store-header {
  padding: var(--space-3) var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Info row: thumbnail left, details right */
.store-header-row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

/* 72×72 thumbnail with white border
   Image: img/detail/{salon}-thumb.jpg (72×72px) */
.store-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-white);
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e0b0f0, #c880e8);
  box-shadow: var(--shadow-card);
}

.store-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info column */
.store-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

/* Name + verified icon */
.store-name-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.store-name {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--color-content-main);
  line-height: 28px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-verified {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Star rating row */
.store-rating-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.detail-stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 14px;
  color: var(--neutral-20);
  line-height: 1;
}
.star--full  { color: var(--color-primary); }
.star--half  {
  position: relative;
  color: var(--neutral-20);
  /* half-fill via linear-gradient on text */
  background: linear-gradient(90deg, var(--color-primary) 50%, var(--neutral-20) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-rating-value {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-content-main);
  line-height: var(--line-height-m);
}

.detail-rating-count {
  font-size: var(--font-size-s);
  color: var(--color-content-muted);
}

/* Categories: Nails · Lashes · Waxing */
.store-categories,
.store-status-row,
.store-address-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.store-categories span,
.store-address-row span {
  font-size: var(--font-size-s);
  color: var(--color-content-main);
  line-height: var(--line-height-s);
}

/* Dot separator (2px circle) */
.dot-sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--color-content-muted);
  flex-shrink: 0;
  display: inline-block;
}

/* Open status */
.store-status-open {
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-semibold);
  color: #28a146;
  line-height: var(--line-height-s);
}

/* Hours toggle button */
.store-hours-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-s);
  color: var(--color-content-main);
  line-height: var(--line-height-s);
  cursor: pointer;
}

.store-hours-btn svg { color: var(--color-content-main); }

/* ---- Action buttons row ---- */
.store-action-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ··· More button: white rounded square */
.btn-more {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-2xl);
  background: var(--color-on-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  color: var(--color-content-main);
  flex-shrink: 0;
  transition: background 0.15s;
}

.btn-more:hover { background: var(--neutral-10); }

/* ---- More options popup ---- */
.more-popup {
  position: relative;
}

.more-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: var(--color-on-primary);
  border-radius: var(--radius-2xl);
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.2);
  padding: var(--space-4) var(--space-6) var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 160px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.96);
  transform-origin: bottom left;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.more-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.more-menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-content-main);
  white-space: nowrap;
  transition: color 0.15s;
}

.more-menu-item .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.more-menu-item--active {
  color: var(--color-primary);
}

/* Directions: white pill */
.btn-directions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  height: 40px;
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-on-primary);
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-content-main);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-directions:hover { background: var(--neutral-10); }
.btn-directions svg   { color: var(--color-content-main); }

/* Call: dark pill */
.btn-call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  height: 40px;
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-content-main);
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  white-space: nowrap;
  transition: opacity 0.15s;
}

.btn-call:hover  { opacity: 0.85; }
.btn-call svg    { color: var(--color-white); }

/* ---- Points section (reuses card components) ---- */
.detail-points-section {
  border: 1px solid rgba(219, 204, 146, 0.30);
  background: radial-gradient(281.09% 105.16% at 0% 0%, #FFCF5E 0%, rgba(255, 207, 94, 0.00) 100%), #FFF2BF;
  margin: var(--space-6) var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
}

/* Override rewards-detail margins inside detail panel */
.detail-points-section .rewards-detail {
  margin: 0 calc(-1 * var(--space-5));
}

/* ---- Section wrapper ---- */
.detail-section {
  margin: var(--space-3) var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.detail-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-section-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-content-main);
  line-height: var(--line-height-xl);
}

.detail-section-link {
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-family);
}

/* ==========================================
   SERVICES
   ========================================== */

.service-tabs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.service-tabs::-webkit-scrollbar { display: none; }

.service-tab {
  padding: var(--space-4) var(--space-4);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border-border-light, rgba(100, 100, 108, 0.20));
  font-family: var(--font-family);
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.service-tab.active {
  background: var(--color-content-main);
  border-color: var(--color-content-main);
  color: var(--color-white);
}

/* Each service = separate card */
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-item {
  background: var(--color-on-primary);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-card);
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5);
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
}

.service-item.service-item--hidden {
  display: none;
}

.service-item.service-item--hidden.visible {
  display: flex;
}

/* Left column: info + price */
.service-item-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.service-item-info {
  display: flex;
  flex-direction: column;
}

.service-item-name {
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  color: var(--color-content-main);
  line-height: var(--line-height-l);
}

.service-item-duration {
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-regular);
  color: var(--color-content-main);
  line-height: var(--line-height-s);
}

/* Price row: $XX+ and optional strikethrough */
.service-item-price-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.service-item-price {
  display: inline-flex;
  align-items: baseline;
  font-weight: var(--font-weight-semibold);
  color: var(--color-content-main);
  line-height: var(--line-height-l);
}

.price-value {
  font-size: 16px;
}

.price-plus {
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
}

.service-item-price-original {
  font-size: var(--font-size-s);
  color: #bdbdc2;
  text-decoration: line-through;
  line-height: var(--line-height-s);
}

/* "+" add button */
.btn-service-add {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--neutral-15, #e5e5e8);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-content-main);
  transition: background 0.15s;
  padding: var(--space-3);
}

.btn-service-add:hover { background: var(--neutral-20); }

/* Selected state: purple background + checkmark */
.btn-service-add.selected {
  background: var(--color-primary, #a528e3);
  color: white;
}

.btn-service-add.selected:hover { background: var(--color-primary, #a528e3); opacity: 0.9; }

.text-center {
  text-align: center;
}

.btn-see-more {
  width: fit-content;
  padding: var(--space-5) var(--space-5);
  background: var(--color-on-primary);
  border: 1.5px solid var(--color-border-border-light, rgba(100, 100, 108, 0.20));
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-see-more:hover { background: var(--neutral-10); }

/* ==========================================
   EXCLUSIVE OFFERS
   ========================================== */

.offers-scroll {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.offers-scroll::-webkit-scrollbar { display: none; }

/* Card wrapper: 240px wide, column layout */
.offer-card {
  flex-shrink: 0;
  width: 240px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.15s;
}

.offer-card:hover { transform: scale(0.98); }

/* ---- Photo top area ---- */
.offer-card-photo-top {
  width: 100%;
  height: 168px;
  border-radius: 24px 24px 16px 16px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #e0b0f0, #c880e8);
  flex-shrink: 0;
}

/* Image: img/detail/{salon}-offer-{n}.jpg  240×168px */
.offer-card-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Starburst badge (top-right corner) */
.offer-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 68px;
  height: 68px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  /* 12-point starburst via clip-path */
  clip-path: polygon(
    50% 0%,   61% 15%,  79% 7%,   83% 24%,
    100% 25%, 93% 40%,  100% 55%, 83% 60%,
    80% 78%,  63% 74%,  50% 88%,  37% 74%,
    20% 78%,  17% 60%,  0% 55%,   7% 40%,
    0% 25%,   17% 24%,  21% 7%,   39% 15%
  );
}

.offer-badge-pct {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-content-main);
  line-height: var(--line-height-l);
  text-align: center;
}

.offer-badge-off {
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-semibold);
  color: var(--color-content-main);
  line-height: var(--line-height-s);
  text-align: center;
}

/* ---- Info bottom area ---- */
.offer-card-info {
  border-radius: 12px 12px 24px 24px;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background-color: var(--card-color, #ad6e74);
}

.offer-card-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.offer-card-title {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: white;
  line-height: 26px;
  /* Limit to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-card-subtitle {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-regular);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-m);
}

.offer-card-date {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-regular);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-m);
}

.offer-card-date svg { color: rgba(255, 255, 255, 0.7); }

/* "Book Now" white pill button */
.btn-offer-book {
  width: 100%;
  padding: 10px var(--space-6);
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: #1b1c20;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: opacity 0.15s;
}

.btn-offer-book:hover { opacity: 0.9; }

/* ==========================================
   PHOTOS GRID
   ========================================== */

.photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  border-radius: var(--radius-l);
  overflow: hidden;
}

.photo-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--neutral-20);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.photo-item:hover img { transform: scale(1.04); }

/* ==========================================
   REVIEWS
   ========================================== */

.detail-reviews-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.reviews-top-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.reviews-top-stars {
  display: flex;
  gap: 2px;
}

.reviews-top-stars .star {
  font-size: 28px;
}

.reviews-top-score {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--color-content-main);
  line-height: 1;
  margin-left: var(--space-2);
}

.reviews-top-count {
  font-size: var(--font-size-sm);
  color: var(--color-content-muted);
}

.reviews-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.review-bar-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.review-bar-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-content-main);
  width: 28px;
  flex-shrink: 0;
}

.review-bar-label .star {
  font-size: 16px;
}

.review-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(218, 218, 221, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 8px 0 0 8px;
  transition: width 0.6s ease;
}

.review-item {
  background: var(--color-theme-sub-surface);
  border-radius: var(--radius-3xl);
  box-shadow: 0px 1px 2px 0px rgba(113, 113, 113, 0.1);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.review-stars { display: flex; gap: 2px; }

.review-staff-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.review-staff-label {
  font-size: 12px;
  color: var(--color-content-muted);
  flex-shrink: 0;
}

.review-staff-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.review-staff-person {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-staff-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-staff-name {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-content-main);
}

.review-staff-sep {
  width: 8px;
  height: 1px;
  background: var(--color-border-weak);
  flex-shrink: 0;
}

.review-text {
  font-size: 14px;
  color: var(--color-content-main);
  line-height: 20px;
}

.review-read-more {
  color: var(--color-primary);
  cursor: pointer;
}

.review-photos {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.review-photo {
  width: 102px;
  height: 102px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
}

.review-photo-more {
  position: relative;
  width: 102px;
  height: 102px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.review-photo-more img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-photo-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(52, 52, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  color: #fcfcfc;
}

.review-author-line {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-content-main);
}

.btn-see-all-reviews {
  width: 100%;
  padding: var(--space-3);
  background: none;
  border: 1.5px solid var(--color-border-weak);
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-semibold);
  color: var(--color-content-main);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-see-all-reviews:hover { background: var(--neutral-10); }

/* ==========================================
   LOCATION & HOURS
   ========================================== */

.detail-location-card {
  background: var(--color-on-primary);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.detail-map {
  width: 100%;
  background: linear-gradient(135deg, #d4e8c4, #b0d4a0);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.detail-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-location-info {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.detail-location-address {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.detail-location-address svg { color: var(--color-primary); flex-shrink: 0; margin-top: 1px; }

.detail-location-addr-text {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-content-main);
  line-height: var(--line-height-m);
}

.detail-hours {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.detail-hours-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 2px;
}

.detail-hours-header svg { color: var(--color-primary); }

.detail-hours-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-content-main);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-s);
  color: var(--color-content-muted);
  line-height: var(--line-height-m);
}

.hours-row .day { font-weight: var(--font-weight-medium); color: var(--color-content-main); }
.hours-row.today .day,
.hours-row.today .time { color: var(--color-primary); font-weight: var(--font-weight-semibold); }
