/* Hiratsuka Shop Platform — front-end styles (matches Hiratsuka Life theme tokens) */
:root {
  --hsp-navy: #16233a; --hsp-blue: #14508c; --hsp-blue-dark: #0f3f70; --hsp-bg: #f7f9fc; --hsp-line: #e5e9f0;
  --hsp-text: #1f2a37; --hsp-muted: #6b7686; --hsp-green: #0c8763; --hsp-green-bg: #e6f5f0; --hsp-red: #dd4b4b;
  --hsp-coupon: #b3541e; --hsp-coupon-bg: #fbefe0; --hsp-radius: 12px;
}
.hsp-muted { color: var(--hsp-muted); }
.hsp-small { font-size: 13px; }
.hsp-lead { color: #55617a; margin-top: 8px; }
.hsp-breadcrumb { font-size: 13px; color: var(--hsp-muted); margin: 14px 0 6px; }
.hsp-breadcrumb a { color: var(--hsp-muted); }
.hsp-narrow { max-width: 760px; }
.hsp-req { color: var(--hsp-red); font-size: 12px; margin-left: 4px; }

/* buttons */
.hsp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; border: 1px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.3; transition: .15s; }
.hsp-btn:hover { text-decoration: none; }
.hsp-btn-primary { background: var(--hsp-blue); color: #fff; }
.hsp-btn-primary:hover { background: var(--hsp-blue-dark); color: #fff; }
.hsp-btn-ghost { background: #fff; color: var(--hsp-blue); border-color: #cfdcf5; }
.hsp-btn-ghost:hover { background: #f1f4f9; }
.hsp-btn-danger { background: #fff; color: var(--hsp-red); border-color: #f3c7c7; }
.hsp-btn-danger:hover { background: #fdecec; }
.hsp-btn-sm { padding: 7px 12px; font-size: 13px; }
.hsp-btn-lg { padding: 14px 22px; font-size: 16px; width: 100%; }
.hsp-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* tags */
.hsp-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef2f8; color: #44536b; margin: 0 4px 4px 0; }
.hsp-tag-genre { background: #e8effb; color: var(--hsp-blue); }
.hsp-tag-coupon { background: var(--hsp-coupon-bg); color: var(--hsp-coupon); }
.hsp-tag-online { background: var(--hsp-green-bg); color: var(--hsp-green); }
.hsp-tag-verified { background: var(--hsp-green-bg); color: var(--hsp-green); }
.hsp-tag-light { background: #f7f9fc; color: var(--hsp-muted); font-weight: 500; }

/* archive */
.hsp-archive { padding-bottom: 20px; }
.hsp-genre-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 14px; }
.hsp-genre-tabs a, .hsp-genre-tabs span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hsp-line); background: #fff; font-size: 14px; color: #334155; font-weight: 600; }
.hsp-genre-tabs a.is-active { background: var(--hsp-navy); color: #fff; border-color: var(--hsp-navy); }
.hsp-genre-tabs .is-soon { color: #a3adbd; background: #f7f9fc; }
.hsp-genre-tabs .is-soon small { margin-left: 4px; font-size: 10px; }
.hsp-filters { display: flex; gap: 14px; flex-wrap: wrap; background: var(--hsp-bg); border: 1px solid var(--hsp-line); border-radius: var(--hsp-radius); padding: 14px 16px; margin-bottom: 18px; }
.hsp-filters label { font-size: 13px; color: var(--hsp-muted); display: flex; flex-direction: column; gap: 4px; }
.hsp-filters select { padding: 8px 10px; border: 1px solid #dfe5ee; border-radius: 8px; background: #fff; font-size: 14px; min-width: 160px; }
.hsp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hsp-card { border: 1px solid var(--hsp-line); border-radius: var(--hsp-radius); background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.hsp-card:hover { box-shadow: 0 10px 30px rgba(20,35,60,.10); }
.hsp-card-img { display: block; aspect-ratio: 4/3; background: #f1f4f9; overflow: hidden; }
.hsp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hsp-card-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; }
.hsp-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hsp-card-title { font-size: 16.5px; line-height: 1.4; margin: 0; }
.hsp-card-title a { color: var(--hsp-navy); }
.hsp-card-catch { font-size: 13.5px; color: #55617a; margin: 0; }
.hsp-card-meta { font-size: 13px; color: #55617a; line-height: 1.8; }
.hsp-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.hsp-card-actions .hsp-btn { flex: 1; padding: 9px 10px; font-size: 13.5px; }
.hsp-owner-cta { margin: 48px 0 20px; background: var(--hsp-navy); color: #dbe4f0; border-radius: 16px; padding: 30px; text-align: center; }
.hsp-owner-cta h2 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.hsp-owner-cta p { max-width: 620px; margin: 0 auto 16px; font-size: 14.5px; }
.hsp-stars { color: #f0a500; letter-spacing: 1px; }
.hsp-star-empty, .hsp-star-half { color: #d9dee7; position: relative; }
.hsp-star-half::before { content: "★"; color: #f0a500; position: absolute; left: 0; width: 50%; overflow: hidden; }

/* single shop */
.hsp-shop { padding: 0 0 90px; }
.hsp-shop-head { padding: 10px 0 14px; }
.hsp-shop-name { font-size: 26px; line-height: 1.3; margin: 6px 0; color: var(--hsp-navy); }
.hsp-shop-catch { color: #55617a; font-size: 15px; margin: 0 0 8px; }
.hsp-shop-summary { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: #55617a; }
.hsp-gallery-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 140px; gap: 6px; border-radius: var(--hsp-radius); overflow: hidden; margin: 6px 0 22px; }
.hsp-gallery-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hsp-gallery-strip img:first-child { grid-row: span 2; }
.hsp-shop-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.hsp-tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--hsp-line); margin-bottom: 20px; overflow-x: auto; position: sticky; top: 68px; background: #fff; z-index: 5; }
.hsp-tabs a { padding: 12px 16px; font-weight: 600; color: var(--hsp-muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px; font-size: 14.5px; }
.hsp-tabs a.is-active { color: var(--hsp-blue); border-color: var(--hsp-blue); }
.hsp-tabs a:hover { text-decoration: none; color: var(--hsp-blue); }
.hsp-tab-panel { display: none; }
.hsp-tab-panel.is-active { display: block; }
.hsp-tab-panel h3 { font-size: 17px; margin: 26px 0 10px; padding-left: 10px; border-left: 4px solid var(--hsp-blue); }
.hsp-features { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hsp-features a { display: inline-block; padding: 4px 10px; background: #f1f4f9; border-radius: 999px; font-size: 13px; color: #334155; }
.hsp-data-table th { width: 30%; text-align: left; font-weight: 600; color: #44536b; background: var(--hsp-bg); }
.hsp-data-table th, .hsp-data-table td { padding: 10px 12px; border-bottom: 1px solid var(--hsp-line); vertical-align: top; }
.hsp-menu-list { display: flex; flex-direction: column; gap: 10px; }
.hsp-menu-row { display: flex; gap: 14px; border: 1px solid var(--hsp-line); border-radius: var(--hsp-radius); padding: 14px 16px; background: #fff; }
.hsp-menu-row.is-coupon { border-color: #efd2b5; background: #fffaf4; }
.hsp-menu-body { flex: 1; min-width: 0; }
.hsp-menu-title { font-weight: 700; font-size: 15.5px; color: var(--hsp-navy); }
.hsp-menu-desc, .hsp-menu-cond { font-size: 13px; color: #55617a; margin-top: 3px; }
.hsp-menu-side { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.hsp-menu-price { font-size: 18px; font-weight: 800; color: var(--hsp-navy); }
.hsp-menu-price small { display: block; font-size: 11px; font-weight: 500; color: var(--hsp-muted); }
.hsp-staff-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.hsp-staff { display: flex; gap: 16px; border: 1px solid var(--hsp-line); border-radius: var(--hsp-radius); padding: 16px; }
.hsp-staff-img { width: 88px; height: 88px; border-radius: 50%; background: #f1f4f9; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.hsp-staff-img img { width: 100%; height: 100%; object-fit: cover; }
.hsp-staff-body { flex: 1; font-size: 14px; }
.hsp-staff-rank { font-size: 12px; color: var(--hsp-blue); font-weight: 700; }
.hsp-staff-name { font-size: 17px; font-weight: 700; color: var(--hsp-navy); }
.hsp-staff-name small { font-size: 12px; color: var(--hsp-muted); font-weight: 500; }
.hsp-staff-body .hsp-btn { margin-top: 8px; }
.hsp-review-summary { display: flex; gap: 26px; align-items: center; background: var(--hsp-bg); border-radius: var(--hsp-radius); padding: 18px; margin-bottom: 16px; flex-wrap: wrap; }
.hsp-review-big { font-size: 40px; font-weight: 800; color: var(--hsp-navy); line-height: 1; }
.hsp-review-big small { font-size: 13px; color: var(--hsp-muted); font-weight: 500; margin-left: 4px; }
.hsp-review-axes { display: grid; grid-template-columns: auto auto; gap: 4px 14px; margin: 0; font-size: 13.5px; }
.hsp-review-axes dt { color: var(--hsp-muted); } .hsp-review-axes dd { margin: 0; font-weight: 700; }
.hsp-reviews { display: flex; flex-direction: column; gap: 12px; }
.hsp-review { border: 1px solid var(--hsp-line); border-radius: var(--hsp-radius); padding: 14px 16px; font-size: 14.5px; }
.hsp-review-head { margin-bottom: 6px; font-size: 13.5px; }
.hsp-review-reply { margin-top: 10px; background: var(--hsp-bg); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; }
.hsp-review-reply b { display: block; font-size: 12px; color: var(--hsp-blue); margin-bottom: 2px; }
.hsp-shop-side { position: sticky; top: 90px; }
.hsp-book-box { border: 1px solid var(--hsp-line); border-radius: 16px; padding: 18px; background: #fff; box-shadow: 0 10px 30px rgba(20,35,60,.06); display: flex; flex-direction: column; gap: 10px; }
.hsp-book-box p { margin: 0; }
.hsp-side-note { margin-top: 14px; color: var(--hsp-muted); padding: 0 6px; }
.hsp-side-note p { margin: 4px 0; }
.hsp-sticky-cta { display: none; }

/* booking */
.hsp-booking-page { padding: 0 0 60px; }
.hsp-booking-title { font-size: 22px; margin: 6px 0 16px; color: var(--hsp-navy); }
.hsp-booking-title small { display: block; font-size: 13px; color: var(--hsp-muted); font-weight: 500; }
.hsp-steps { list-style: none; padding: 0; display: flex; gap: 4px; margin: 0 0 22px; counter-reset: s; }
.hsp-steps li { flex: 1; text-align: center; font-size: 12.5px; color: #a3adbd; padding: 8px 4px; border-bottom: 3px solid var(--hsp-line); }
.hsp-steps li span { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--hsp-line); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-right: 5px; font-size: 12px; }
.hsp-steps li.is-active { color: var(--hsp-blue); border-color: var(--hsp-blue); font-weight: 700; }
.hsp-steps li.is-active span { background: var(--hsp-blue); }
.hsp-steps li.is-done { color: var(--hsp-green); border-color: var(--hsp-green); }
.hsp-steps li.is-done span { background: var(--hsp-green); }
.hsp-booking-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.hsp-booking-main h2 { font-size: 20px; margin: 0 0 14px; color: var(--hsp-navy); }
.hsp-booking-main h2 small { font-size: 13px; color: var(--hsp-muted); font-weight: 500; margin-left: 8px; }
.hsp-booking-main h3 { font-size: 15px; margin: 22px 0 8px; color: #44536b; }
.hsp-booking-summary { border: 1px solid var(--hsp-line); border-radius: 16px; padding: 18px; background: var(--hsp-bg); position: sticky; top: 90px; font-size: 14px; }
.hsp-booking-summary h3 { margin: 0 0 10px; font-size: 15px; }
.hsp-sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #dfe5ee; }
.hsp-sum-row span { color: var(--hsp-muted); flex-shrink: 0; }
.hsp-sum-row b { text-align: right; }
.hsp-sum-total b { font-size: 18px; color: var(--hsp-navy); }
.hsp-pick { display: flex; gap: 12px; align-items: center; border: 1px solid var(--hsp-line); border-radius: var(--hsp-radius); padding: 12px 14px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.hsp-pick.is-on { border-color: var(--hsp-blue); background: #f4f8ff; box-shadow: 0 0 0 2px #dbe7fa inset; }
.hsp-pick.is-disabled { opacity: .5; cursor: not-allowed; }
.hsp-pick input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--hsp-blue); }
.hsp-pick-img { width: 52px; height: 52px; border-radius: 50%; background: #f1f4f9; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 24px; }
.hsp-pick-img img { width: 100%; height: 100%; object-fit: cover; }
.hsp-pick-body { flex: 1; min-width: 0; }
.hsp-pick-title { display: block; font-weight: 700; font-size: 15px; color: var(--hsp-navy); }
.hsp-pick-title small { font-weight: 500; color: var(--hsp-muted); font-size: 12px; margin-left: 4px; }
.hsp-pick-cond { display: block; font-size: 12.5px; color: #55617a; margin-top: 2px; }
.hsp-pick-side { text-align: right; flex-shrink: 0; }
.hsp-pick-side b { display: block; font-size: 16px; color: var(--hsp-navy); }
.hsp-pick-side small { color: var(--hsp-muted); font-size: 12px; }
.hsp-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.hsp-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.hsp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hsp-cal-dow { text-align: center; font-size: 12px; color: var(--hsp-muted); padding: 4px 0; }
.hsp-cal-day { border: 1px solid var(--hsp-line); border-radius: 8px; background: #fff; padding: 6px 2px; cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.2; font-size: 14px; }
.hsp-cal-day small { font-size: 12px; color: var(--hsp-green); font-weight: 700; }
.hsp-cal-day.is-few small { color: #b45309; }
.hsp-cal-day.is-full small, .hsp-cal-day.is-closed small, .hsp-cal-day.is-loading small { color: #c3cad6; }
.hsp-cal-day[disabled] { background: #f7f9fc; color: #a3adbd; cursor: not-allowed; }
.hsp-cal-day.is-sel { border-color: var(--hsp-blue); background: var(--hsp-blue); color: #fff; }
.hsp-cal-day.is-sel small { color: #fff; }
.hsp-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.hsp-slot { padding: 9px 14px; border: 1px solid #cfdcf5; border-radius: 999px; background: #fff; color: var(--hsp-blue); font-weight: 700; cursor: pointer; font-size: 14px; }
.hsp-slot.is-sel { background: var(--hsp-blue); color: #fff; }
.hsp-form label { display: block; font-size: 13.5px; font-weight: 600; color: #44536b; }
.hsp-form input[type=text], .hsp-form input[type=tel], .hsp-form input[type=email], .hsp-form textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid #dfe5ee; border-radius: 10px; font-size: 16px; font-weight: 400; }
.hsp-form p { margin: 0 0 14px; }
.hsp-hp { position: absolute; left: -9999px; }
.hsp-notice-box { background: var(--hsp-bg); border: 1px solid var(--hsp-line); border-radius: var(--hsp-radius); padding: 14px 16px; margin-top: 18px; font-size: 13.5px; }
.hsp-notice-box ul { margin: 6px 0 10px; }
.hsp-agree { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; cursor: pointer; }
.hsp-agree input { width: 20px; height: 20px; accent-color: var(--hsp-blue); }
.hsp-alert { background: #fdecec; color: #b91c1c; border: 1px solid #f3c7c7; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.hsp-done { text-align: center; padding: 20px 0; }
.hsp-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--hsp-green-bg); color: var(--hsp-green); font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.hsp-manage-link { word-break: break-all; font-size: 13px; }
.hsp-reservation-card { border: 1px solid var(--hsp-line); border-radius: 16px; padding: 22px; }
.hsp-res-status { display: inline-block; padding: 4px 14px; border-radius: 999px; font-weight: 700; margin-bottom: 12px; background: #eef2f8; color: #44536b; }
.hsp-status-confirmed { background: var(--hsp-green-bg); color: var(--hsp-green); }
.hsp-status-pending { background: #fef3c7; color: #b45309; }
.hsp-status-cancelled, .hsp-status-noshow { background: #fdecec; color: #b91c1c; }
.hsp-status-visited { background: #e8effb; color: var(--hsp-blue); }
.hsp-res-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.hsp-rating-row { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.hsp-rating-row label { width: 130px; margin: 0; }
.hsp-rating-input button { background: none; border: none; font-size: 28px; color: #d9dee7; cursor: pointer; padding: 0 2px; }
.hsp-rating-input button.is-on { color: #f0a500; }

@media (max-width: 900px) {
  .hsp-grid { grid-template-columns: repeat(2, 1fr); }
  .hsp-shop-layout, .hsp-booking-layout { grid-template-columns: 1fr; }
  .hsp-shop-side { position: static; }
  .hsp-booking-summary { position: static; order: -1; padding: 12px 14px; }
  .hsp-booking-summary h3 { display: none; }
  .hsp-booking-summary .hsp-sum-row { display: none; padding: 4px 0; }
  .hsp-booking-summary .hsp-sum-total, .hsp-booking-summary .hsp-sum-key { display: flex; }
  .hsp-booking-summary p { display: none; }
  .hsp-gallery-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .hsp-gallery-strip img:first-child { grid-column: span 2; grid-row: span 1; }
  .hsp-gallery-strip img:nth-child(n+5) { display: none; }
}
@media (max-width: 600px) {
  .hsp-grid { grid-template-columns: 1fr; }
  .hsp-tabs { top: 68px; }
  .hsp-sticky-cta { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: rgba(255,255,255,.96); border-top: 1px solid var(--hsp-line); z-index: 50; backdrop-filter: blur(6px); }
  .hsp-sticky-cta .hsp-btn-primary { flex: 2; } .hsp-sticky-cta .hsp-btn-ghost { flex: 1; }
  .hsp-book-box .hsp-btn-primary { display: none; }
  .hsp-menu-row { flex-direction: column; }
  .hsp-menu-side { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .hsp-staff { flex-direction: column; align-items: center; text-align: center; }
  .hsp-steps li { font-size: 11px; }
  .hsp-steps li span { display: none; }
  .hsp-pick-side b { font-size: 14px; }
  .hsp-rating-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .hsp-shop-name { font-size: 22px; }
}

/* spot category banner */
.hsp-spot-banner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--hsp-bg); border: 1px solid var(--hsp-line); border-radius: var(--hsp-radius); padding: 14px 18px; margin: 0 0 20px; }
.hsp-spot-banner b { display: block; color: var(--hsp-navy); }
.hsp-spot-banner span { font-size: 13px; color: var(--hsp-muted); }
.hsp-spot-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* map */
.hsp-map { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 420px; border-radius: var(--hsp-radius); overflow: hidden; border: 1px solid var(--hsp-line); background: var(--hsp-bg); margin-bottom: 10px; }
.hsp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hsp-map-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }

.hsp-source-note { font-size: 11.5px; color: var(--hsp-muted); margin: 8px 0 0; line-height: 1.6; }
