/*
Theme Name: DocoIku Portal
Theme URI: https://doco-iku.jp
Description: ナイト系水商売向けポータルサイトテーマ。料金比較・レビュー・店舗導線を、柔らかな編集型UIで整理した設計。
Author: Custom Development
Author URI: https://doco-iku.jp
Version: 1.2.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: docoiku-portal
Domain Path: /languages
*/

:root {
  --color-bg: #faf8f6;
  --color-surface: #ffffff;
  --color-surface-soft: #f6f2ee;
  --color-text: #222222;
  --color-text-muted: #6d6d6d;
  --color-border: #e7e1db;
  --color-border-strong: #cfc3b8;
  --shadow-soft: 0 16px 40px rgba(34, 34, 34, 0.06);
  --shadow-hover: 0 20px 48px rgba(34, 34, 34, 0.1);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --gradient-brand: linear-gradient(90deg, #efb7c7 0%, #d6b8eb 32%, #a9c7f3 68%, #c4e2d8 100%);
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html, body, .wrapper, .main { max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 1; }
p { margin: 0 0 1rem; }
h1,h2,h3,h4,h5,h6 { margin: 0; line-height: 1.35; font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }

.wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.main { flex: 1; }
.container,
.header-inner,
.footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,225,219,0.9);
}
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}
.home .header {
  background: linear-gradient(180deg, rgba(255,253,253,0.92) 0%, rgba(255,252,249,0.82) 58%, rgba(255,252,249,0.38) 100%);
  border-bottom: none;
  backdrop-filter: blur(10px);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-logo img,
.custom-logo-link img { max-height: 52px; width: auto; }
.site-title { font-size: 1.25rem; font-weight: 700; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.header-nav { display: none; }
.header-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-login,
.btn-register,
.btn-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.9rem;
  transition: all .28s ease;
}
.btn-register {
  border-color: transparent;
  background: var(--gradient-brand);
}
.btn-login:hover,
.btn-logout:hover,
.btn-register:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(34,34,34,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all .28s ease;
}
.home .mobile-menu-toggle {
  background: rgba(255,255,255,0.62);
}
.mobile-menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.mobile-menu-toggle__lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.mobile-menu-toggle__lines span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform .24s ease, opacity .24s ease;
}
.mobile-menu-toggle__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
}
html.menu-open,
body.menu-open {
  overflow: hidden;
  height: 100%;
}
body.menu-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  overscroll-behavior: none;
}
body.menu-open .mobile-menu-toggle__lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .mobile-menu-toggle__lines span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-menu-toggle__lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.header-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  height: calc(var(--docoiku-vh, 1vh) * 100);
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: max(12px, env(safe-area-inset-top)) 0 calc(12px + env(safe-area-inset-bottom));
  transition: opacity .28s ease, visibility .28s ease;
}
.header-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.header-overlay__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.56);
}
.header-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 28px));
  height: calc(var(--docoiku-vh, 1vh) * 100 - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  min-height: 0;
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: 8px auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(239,183,199,0.18) 0%, rgba(239,183,199,0) 36%),
    radial-gradient(circle at left center, rgba(169,199,243,0.16) 0%, rgba(169,199,243,0) 34%),
    linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(249,245,241,0.95) 100%);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}
.header-overlay__panel,
.header-overlay__inner {
  touch-action: pan-y;
}

.header-overlay__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), inset 0 -1px 0 rgba(207,195,184,0.24);
}
.header-overlay__inner {
  height: 100%;
  padding: 32px 32px calc(36px + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.header-overlay__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.header-overlay__eyebrow {
  margin: 0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #88796c;
}
.header-overlay__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(34,34,34,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(8px);
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease;
}
.header-overlay__close:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.overlay-search-form {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(207,195,184,0.58);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,246,243,0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 18px 46px rgba(34,34,34,0.06);
}
.overlay-search-form::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.65);
  pointer-events: none;
}
.overlay-search-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 16px;
}
.overlay-search-field {
  display: grid;
  gap: 9px;
}
.overlay-search-field label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7c6d61;
}
.overlay-search-field input,
.overlay-search-field select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(207,195,184,0.78);
  border-radius: 16px;
  background: rgba(255,255,255,0.98);
  color: var(--color-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.overlay-search-field input::placeholder {
  color: #a1968d;
}
.overlay-search-field input:focus,
.overlay-search-field select:focus {
  outline: none;
  border-color: #bca58f;
  box-shadow: 0 0 0 4px rgba(188,165,143,0.14);
}
.overlay-search-actions {
  position: relative;
  margin-top: 18px;
}
.overlay-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 220px;
  padding: 0 28px;
  border: 1px solid rgba(34,34,34,0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, #2f2b28 0%, #1f1c1a 100%);
  color: var(--color-surface);
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(34,34,34,0.18);
  transition: transform .24s ease, box-shadow .24s ease;
}
.overlay-search-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(34,34,34,0.22);
}
.header-overlay__menu-block {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(207,195,184,0.52);
}
.header-overlay__nav {
  margin-top: 14px;
}
.overlay-menu-list,
.header-overlay__nav .page-menu {
  display: grid;
  gap: 12px;
}
.overlay-menu-list > li,
.header-overlay__nav .page_item {
  list-style: none;
}
.overlay-menu-list a,
.header-overlay__nav .page_item a {
  display: block;
  padding: 17px 20px;
  border: 1px solid rgba(207,195,184,0.68);
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  font-weight: 700;
  transition: all .24s ease;
}
.overlay-menu-list a:hover,
.header-overlay__nav .page_item a:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}


.footer {
  margin-top: 64px;
  padding: 72px 0 32px;
  background: #f4eeea;
  border-top: 1px solid var(--color-border);
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-section h4 {
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.footer-section p,
.footer-section li,
.footer-section a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.footer-section li + li { margin-top: 10px; }
.footer-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.disclaimer,
.copyright {
  color: var(--color-text-muted);
  font-size: 0.84rem;
}
.disclaimer { margin-bottom: 10px; }

.main { display: block; }
.breadcrumb {
  margin: 10px 0 10px;
  color: #ffffff;
  background: #000;
  padding-left: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  min-height: 38px;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-separator { opacity: 0.72; }

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.taxonomy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.taxonomy-links a {
  display: inline-flex;
  align-items: center;
  padding: .58rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  transition: all .28s ease;
}
.taxonomy-links a:hover,
.taxonomy-links a.active {
  border-color: var(--color-text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1023px) {
  .header-inner {
    min-height: auto;
    padding: 16px 0;
  }
  .overlay-search-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  html { font-size: 15px; }
  .container,
  .header-inner,
  .footer-inner { width: min(1120px, calc(100% - 28px)); }
  .header-inner {
    align-items: flex-start;
    gap: 14px;
  }
  .header-logo img,
  .custom-logo-link img { max-height: 46px; }
  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .header-user {
    gap: 8px;
  }
  .btn-login,
  .btn-register,
  .btn-logout { min-height: 38px; padding-inline: 14px; font-size: .82rem; }
  .mobile-menu-toggle {
    min-height: 40px;
    padding-inline: 14px;
  }
  .mobile-menu-toggle__label {
    display: none;
  }
  .header-overlay__panel {
    width: calc(100% - 20px);
    height: calc(var(--docoiku-vh, 1vh) * 100 - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin: 0 auto;
    border-radius: 20px;
  }
  .header-overlay__inner {
    padding: 20px 16px 24px;
  }
  .overlay-search-form {
    padding: 16px;
    border-radius: 18px;
  }
  .overlay-menu-list a,
  .header-overlay__nav .page_item a {
    padding: 14px 14px;
  }
  .footer { padding-top: 56px; }
  .footer-content { grid-template-columns: 1fr; gap: 24px; }
}


/* =========================================================
   Member / Favorite Features
========================================================= */
.store-card { position: relative; }
.store-card-favorite-wrap {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}
.btn-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--color-text);
  box-shadow: 0 10px 24px rgba(34,34,34,0.08);
  cursor: pointer;
  transition: all .25s ease;
}
.btn-favorite:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(34,34,34,0.12);
}
.btn-favorite.favorited {
  border-color: #d46c90;
  background: #fff2f6;
  color: #b94572;
}
.btn-favorite--card {
  min-height: 36px;
  padding-inline: 14px;
  font-size: .84rem;
}
.btn-favorite--detail {
  width: 100%;
  min-height: 46px;
  background: var(--color-surface);
  border-color: var(--color-border);
}
.btn-mypage {
  border-color: transparent;
  background: linear-gradient(90deg, rgba(239,183,199,.24) 0%, rgba(169,199,243,.24) 100%);
}

.member-page {
  padding-top: 32px;
}
.member-page__content {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.member-page__header {
  margin-bottom: 28px;
}
.member-page__header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.member-page__lead {
  margin-top: 12px;
  color: var(--color-text-muted);
}
.member-page__body > *:last-child { margin-bottom: 0; }

.mypage-layout {
  display: grid;
  gap: 28px;
  margin-top: 20px;
}
.mypage-hero-card,
.mypage-section,
.mypage-link-card,
.member-gate {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.mypage-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 24px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(239,183,199,.16) 0%, rgba(169,199,243,.12) 100%),
    var(--color-surface);
}
.mypage-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.mypage-stat {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(231,225,219,0.9);
}
.mypage-stat__label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: .85rem;
}
.mypage-stat strong {
  font-size: 1.8rem;
  line-height: 1;
}
.mypage-stat a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mypage-section {
  padding: 28px;
}
.mypage-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.mypage-counter {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--color-surface-soft);
  color: var(--color-text-muted);
}
.cards--mypage {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) );
  gap: 24px;
}
.mypage-empty,
.member-gate {
  padding: 28px;
}
.mypage-empty p,
.member-gate p:last-of-type {
  color: var(--color-text-muted);
}
.mypage-section--links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.mypage-link-card {
  padding: 28px;
}
.member-gate--compact {
  margin-top: 20px;
}
.member-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.member-page--auth {
  padding-top: 40px;
  padding-bottom: 24px;
}
.member-page--auth .container,
.member-page.member-page--auth {
  width: min(1180px, calc(100% - 48px));
}
.auth-page-shell {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 32px;
  border: 1px solid rgba(207,195,184,.72);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(252,249,246,.96) 100%);
  box-shadow: 0 28px 70px rgba(34,34,34,.08);
}
.auth-page-shell::before,
.auth-page-shell::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.auth-page-shell::before {
  top: -140px;
  left: -70px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(239,183,199,.28) 0%, rgba(239,183,199,0) 68%);
}
.auth-page-shell::after {
  right: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(169,199,243,.22) 0%, rgba(169,199,243,0) 70%);
}
.auth-page-shell__bg {
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.78);
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.92) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 84% 18%, rgba(214,184,235,.14) 0%, rgba(214,184,235,0) 20%),
    radial-gradient(circle at 72% 76%, rgba(196,226,216,.16) 0%, rgba(196,226,216,0) 20%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
  pointer-events: none;
}
.auth-page-shell > * {
  position: relative;
  z-index: 1;
}
.auth-page-shell__header {
  margin-bottom: 30px;
}
.auth-page-shell__header .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6f6257;
}
.auth-page-shell__header .section-kicker::before,
.auth-page-shell__header .section-kicker::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(207,195,184,0) 0%, rgba(207,195,184,.95) 100%);
}
.auth-page-shell__header .section-kicker::after {
  background: linear-gradient(90deg, rgba(207,195,184,.95) 0%, rgba(207,195,184,0) 100%);
}
.auth-page-shell__header h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: .02em;
}
.auth-page-shell__header .member-page__lead {
  max-width: 760px;
  margin-top: 14px;
  font-size: 1rem;
  color: #6a6059;
}
.auth-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 8px;
  border: 1px solid rgba(207,195,184,.7);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 30px rgba(34,34,34,.05);
  backdrop-filter: blur(10px);
}
.auth-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: .92rem;
  color: #6d655f;
  transition: all .28s ease;
}
.auth-switch__link:hover {
  background: rgba(255,255,255,.8);
  color: var(--color-text);
}
.auth-switch__link.is-current {
  background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(247,240,233,.96) 100%);
  color: var(--color-text);
  box-shadow: 0 10px 24px rgba(34,34,34,.08), inset 0 1px 0 rgba(255,255,255,.98);
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.auth-intro-card,
.auth-form-card {
  position: relative;
  padding: 32px;
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(207,195,184,.72);
  box-shadow: 0 18px 48px rgba(34,34,34,.06), inset 0 1px 0 rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
}
.auth-intro-card::before,
.auth-form-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.7);
  pointer-events: none;
}
.auth-intro-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.92) 0%, rgba(250,244,238,.9) 100%),
    rgba(255,255,255,.88);
}
.auth-intro-card h2,
.auth-form-card h2,
.auth-form-card h3 {
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  line-height: 1.28;
}
.auth-intro-card p,
.auth-form-card p {
  color: #6b6059;
}
.auth-feature-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.auth-feature-list li {
  position: relative;
  min-height: 44px;
  padding: 10px 14px 10px 42px;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(231,225,219,.84);
  color: var(--color-text-muted);
}
.auth-feature-list li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #efb7c7 0%, #a9c7f3 100%);
  box-shadow: 0 0 0 4px rgba(239,183,199,.12);
}
.auth-form-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.95) 0%, rgba(252,249,246,.92) 100%),
    rgba(255,255,255,.9);
}
.auth-form {
  display: grid;
  gap: 18px;
}
.auth-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.auth-form__field {
  display: grid;
  gap: 9px;
}
.auth-form__field label {
  font-size: .77rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7b726b;
}
.auth-form__field input,
.auth-form__field select,
.auth-form__field textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(207,195,184,.82);
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,244,239,.96) 100%);
  color: var(--color-text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(207,195,184,.08);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.auth-form__field input::placeholder,
.auth-form__field textarea::placeholder {
  color: #9e958f;
}
.auth-form__field input:focus,
.auth-form__field select:focus,
.auth-form__field textarea:focus {
  outline: none;
  border-color: rgba(169,199,243,.86);
  box-shadow: 0 0 0 5px rgba(169,199,243,.12), inset 0 1px 0 rgba(255,255,255,.98);
  transform: translateY(-1px);
}
.auth-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
}
.auth-form__checkbox input {
  width: 18px;
  height: 18px;
}
.auth-form__actions {
  padding-top: 4px;
}
.auth-submit {
  min-width: 240px;
  min-height: 54px;
  padding-inline: 24px;
  border-radius: 999px;
  border: 1px solid rgba(34,34,34,.08);
  background: linear-gradient(180deg, #2f2c2a 0%, #1e1b19 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(34,34,34,.18);
}
.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(34,34,34,.22);
}
.auth-links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.auth-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6a615a;
  text-decoration: none;
}
.auth-links a::before {
  content: '→';
  opacity: .62;
}
.auth-links a:hover {
  color: var(--color-text);
}
.auth-notice {
  margin-bottom: 18px;
  padding: 15px 18px;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.auth-notice--success {
  border-color: rgba(169,199,243,.5);
  background: linear-gradient(90deg, rgba(239,183,199,.12) 0%, rgba(169,199,243,.12) 100%);
}
.auth-notice--error {
  border-color: rgba(205,92,92,.3);
  background: rgba(255,245,245,.98);
}
.auth-already-login {
  margin: 0;
}

@media (max-width: 1023px) {
  .mypage-hero-card,
  .mypage-section--links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .store-card-favorite-wrap {
    top: 10px;
    right: 10px;
  }
  .btn-favorite--card {
    min-height: 34px;
    padding-inline: 12px;
    font-size: .78rem;
  }
  .member-page__content,
  .mypage-hero-card,
  .mypage-section,
  .mypage-link-card,
  .member-gate {
    padding: 20px;
  }
  .mypage-section__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   Store Owner / Analytics
========================================================= */
.btn-owner-edit,
.btn-owner-analytics {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  transition: all .25s ease;
}
.btn-owner-edit:hover,
.btn-owner-analytics:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(34,34,34,0.08);
}
.btn-owner-edit {
  background: linear-gradient(90deg, rgba(239,183,199,.18) 0%, rgba(169,199,243,.18) 100%);
}
.owner-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.owner-store-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(250,248,246,.96) 0%, rgba(255,255,255,1) 100%);
}
.owner-store-card__head h4 {
  margin-top: 6px;
  font-size: 1.2rem;
  line-height: 1.5;
}
.owner-store-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.owner-store-stats div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(231,225,219,0.9);
}
.owner-store-stats span {
  display: block;
  color: var(--color-text-muted);
  font-size: .82rem;
}
.owner-store-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
  line-height: 1.15;
}
.owner-store-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.mypage-stat__role {
  display: inline-block;
  margin-top: 4px;
  font-size: 1.15rem;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .owner-store-stats {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Front-end Owner Management / Store News
========================================================= */
.owner-management-panel {
  border: 1px solid var(--color-border);
}
.owner-notice {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.92);
}
.owner-notice--success {
  border-color: rgba(169,199,243,.5);
  background: linear-gradient(90deg, rgba(239,183,199,.10) 0%, rgba(169,199,243,.10) 100%);
}
.owner-notice--error {
  border-color: rgba(205,92,92,.35);
  background: rgba(255,245,245,0.95);
}
.owner-form {
  display: grid;
  gap: 22px;
}
.owner-form__group {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
}
.owner-form__group-head h4 {
  margin-top: 6px;
  font-size: 1.15rem;
}
.owner-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.owner-form__field {
  display: grid;
  gap: 8px;
}
.owner-form__field--textarea,
.owner-form__field--wysiwyg {
  grid-column: 1 / -1;
}
.owner-form__field span,
.owner-form__checkbox span {
  font-size: .92rem;
  color: var(--color-text-muted);
}
.owner-form input,
.owner-form textarea,
.owner-form select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
}
.owner-form textarea {
  min-height: 110px;
  resize: vertical;
}
.owner-form__inline {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 16px;
  align-items: end;
}
.owner-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
}
.owner-form__checkbox input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
}
.owner-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.owner-form__note {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: .92rem;
}
.owner-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px;
}
.owner-news-form-wrap,
.owner-news-list-wrap {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
}
.owner-news-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.owner-news-item {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250,248,246,.9) 0%, rgba(255,255,255,1) 100%);
}
.owner-news-item__meta,
.store-news-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.owner-news-item__meta span,
.store-news-item__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: .78rem;
}
.owner-news-item h5,
.store-news-item h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}
.owner-news-item__excerpt,
.store-news-item__body {
  margin-top: 12px;
  color: var(--color-text);
}
.owner-news-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.btn-owner-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(205,92,92,.35);
  background: rgba(255,245,245,0.92);
  color: #8b3a3a;
}
.store-news-list {
  display: grid;
  gap: 18px;
}
.store-news-item {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.92);
}
.store-news-item__body > *:first-child {
  margin-top: 0;
}

@media (max-width: 1023px) {
  .owner-news-layout,
  .owner-form__inline,
  .owner-form__grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Store Dashboard / Mobile Store CTA
========================================================= */
.store-dashboard-layout {
  display: grid;
  gap: 28px;
  margin-top: 20px;
}
.store-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(239,183,199,.16) 0%, rgba(169,199,243,.12) 100%),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.store-dashboard-hero__stats {
  display: grid;
  gap: 14px;
}
.store-dashboard-shell {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 24px;
}
.store-dashboard-sidebar {
  display: grid;
  gap: 20px;
}
.store-dashboard-sidebar__block {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.store-dashboard-store-list,
.store-dashboard-menu {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.store-dashboard-store-link,
.store-dashboard-menu a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  color: var(--color-text);
  text-decoration: none;
  transition: all .25s ease;
}
.store-dashboard-store-link:hover,
.store-dashboard-menu a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(34,34,34,0.06);
}
.store-dashboard-store-link.is-current,
.store-dashboard-menu a.is-current {
  background: linear-gradient(90deg, rgba(239,183,199,.18) 0%, rgba(169,199,243,.18) 100%);
  border-color: rgba(169,199,243,.45);
}
.store-dashboard-store-link__title {
  font-weight: 700;
  line-height: 1.5;
}
.store-dashboard-store-link__meta {
  color: var(--color-text-muted);
  font-size: .84rem;
}
.store-dashboard-main {
  min-width: 0;
}
.owner-analytics-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.owner-analytics-card {
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
}
.owner-analytics-card span {
  display: block;
  color: var(--color-text-muted);
  font-size: .85rem;
}
.owner-analytics-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
  line-height: 1.1;
}
.owner-analytics-table-wrap {
  overflow-x: auto;
}
.owner-analytics-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
}
.owner-analytics-table th,
.owner-analytics-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.owner-analytics-table thead th {
  background: rgba(250,248,246,.94);
  font-size: .9rem;
}
.owner-analytics-table tbody tr:last-child td {
  border-bottom: 0;
}
.store-dashboard-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}
.store-dashboard-overview-card {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
}
.store-dashboard-meta-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.store-dashboard-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.store-dashboard-meta-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.store-dashboard-meta-list span {
  color: var(--color-text-muted);
}
.store-dashboard-meta-list strong {
  text-align: right;
}
.store-dashboard-news-mini {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.store-dashboard-news-mini__item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(250,248,246,.9) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid var(--color-border);
}
.store-dashboard-news-mini__item span {
  color: var(--color-text-muted);
  font-size: .82rem;
}

.store-mobile-fixed-cta {
  display: none;
}

@media (max-width: 1023px) {
  .store-dashboard-hero,
  .store-dashboard-shell,
  .store-dashboard-overview-grid,
  .owner-analytics-summary {
    grid-template-columns: 1fr;
  }

  body.single-store {
    padding-bottom: 92px;
  }
  .store-mobile-fixed-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    box-shadow: 0 -10px 28px rgba(34,34,34,.12);
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
  }
  .store-mobile-fixed-cta.has-single {
    grid-template-columns: 1fr;
  }
  .store-mobile-fixed-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 12px 14px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
  }
  .store-mobile-fixed-cta__btn--line {
    background: #06C755;
  }
  .store-mobile-fixed-cta__btn--tel {
    background: #222222;
  }
}


@media (max-width: 767px) {
  .header-overlay__panel {
    width: min(100% - 16px, 100% - 16px);
    height: calc(var(--docoiku-vh, 1vh) * 100 - 8px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 8px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin: 0 auto;
    border-radius: 24px;
  }
  .header-overlay__inner {
    padding: 22px 18px 24px;
  }
  .overlay-search-form {
    padding: 18px;
    border-radius: 22px;
  }
  .overlay-search-form::before {
    inset: 10px;
    border-radius: 16px;
  }
  .overlay-search-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .overlay-search-field input,
  .overlay-search-field select {
    min-height: 52px;
  }
  .overlay-search-submit {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1023px) {
  .auth-page-shell {
    padding: 34px 28px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .member-page--auth {
    padding-top: 26px;
  }
  .auth-page-shell {
    padding: 24px 18px;
    border-radius: 24px;
  }
  .auth-page-shell__bg {
    inset: 10px;
    border-radius: 18px;
  }
  .auth-page-shell__header {
    margin-bottom: 22px;
  }
  .auth-switch {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 22px;
  }
  .auth-switch__link {
    width: 100%;
  }
  .auth-intro-card,
  .auth-form-card {
    padding: 22px;
    border-radius: 22px;
  }
  .auth-form__grid {
    grid-template-columns: 1fr;
  }
  .auth-submit {
    width: 100%;
    min-width: 0;
  }
}


/* ===== V13 store single / reviews / owner register ===== */
.store-single--v2{display:flex;flex-direction:column;gap:32px;padding-bottom:48px}
.store-header--hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:start;padding:32px;border-radius:28px;background:linear-gradient(180deg,#fff,rgba(255,255,255,.92));box-shadow:0 22px 60px rgba(26,22,32,.08);border:1px solid rgba(216,205,220,.65);max-width:100%;overflow:hidden}
.store-header-main,.store-header-actions,.store-header-overview,.store-header-overview__top,.store-header-title-block{min-width:0}
.store-header-branding{display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:start;max-width:100%}
.store-logo-wrap{width:96px;height:96px;border-radius:24px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 16px 28px rgba(48,37,56,.08);overflow:hidden;flex-shrink:0;padding:14px}
.store-logo-wrap img{width:100%;height:100%;object-fit:contain}
.store-header-overview__top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px}
.store-header-title-block{display:flex;flex-direction:column;gap:12px;min-width:0}
.store-title{font-size:clamp(2rem,3vw,2.8rem);line-height:1.2;letter-spacing:-0.03em}
.store-header-meta-chips{display:flex;flex-wrap:wrap;gap:10px}
.store-rank-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:94px;padding:14px 12px;border-radius:20px;background:linear-gradient(180deg,#ffffff,#f8f2f7);border:1px solid rgba(216,202,223,.95);box-shadow:0 16px 34px rgba(39,28,47,.08);justify-self:end}
.store-rank-badge__number{display:block;font-size:34px;line-height:1;font-weight:700;color:#221c26;letter-spacing:-0.04em}
.store-rank-badge__label{display:block;font-size:11px;line-height:1.3;color:#6a6272;font-weight:700;letter-spacing:.08em;text-align:center}
.store-header-stats{display:flex;flex-wrap:wrap;gap:10px 12px}
.store-header-stat{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;background:#f7f3f7;color:#403848;font-size:13px;border:1px solid rgba(206,193,214,.6);max-width:100%}
.store-header-stat--rating .star-rating__number{font-size:13px}
.star-rating{position:relative;display:inline-block;font-size:18px;line-height:1;color:#ded4db;letter-spacing:.08em;vertical-align:middle}
.star-rating__base{display:block;color:#ded4db}
.star-rating__fill{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;color:#f4b73f}
.star-rating__number{display:inline-block;margin-left:8px;color:#2d2630;font-size:14px;font-weight:700;vertical-align:middle}
.store-copy-section,.store-pricing-section,.store-cast-instagram-section,.store-pricing-system-section,.store-reviews-section,.store-info-panel,.store-news-section{padding:32px;border-radius:28px;background:rgba(255,255,255,.96);border:1px solid rgba(224,214,227,.78);box-shadow:0 20px 50px rgba(27,19,34,.06)}
.store-catchcopy--lead{font-size:28px;line-height:1.45;font-weight:700;color:#2f2833;margin:0 0 12px}
.store-subtitle--lead{font-size:15px;color:#615868;margin:0}
.pricing-current-card{display:flex;flex-direction:column;gap:18px;padding:24px;border-radius:24px;background:linear-gradient(180deg,#fcfafc,#f7f2f9)}
.pricing-current-card__time{font-size:14px;color:#665e6e;margin:0}
.pricing-current-row{padding:18px 20px;border-radius:20px;background:#fff;border:1px solid rgba(217,206,223,.78)}
.pricing-current-row__label{margin:0 0 10px;font-weight:700;color:#2e2732}
.pricing-current-row__price-group{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}
.pricing-current-row__regular,.pricing-current-row__custom{margin:0;font-size:24px;font-weight:700;color:#2a2430;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.pricing-current-row__per-person{font-size:12px;font-weight:600;color:#7b7282}
.pricing-current-row__regular.is-striked{text-decoration-line:line-through;text-decoration-style:double;text-decoration-thickness:2px;color:#9a919f}
.pricing-current-row__custom{color:#8a355f}
.pricing-current-row__note{margin:10px 0 0;font-size:13px;line-height:1.7;color:#6b6272}
.store-benefits-card,.store-pricing-comment{margin-top:18px;padding:20px;border-radius:20px;background:#faf6fa;border:1px solid rgba(219,210,224,.7)}
.store-benefits-card h3{margin:0 0 12px}.store-benefits-card ul{margin:0;padding-left:1.2em}.store-benefits-card li{margin:0 0 .5em}
.cast-instagram-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.cast-instagram-card{display:flex;gap:16px;align-items:flex-start;padding:18px;border-radius:20px;background:#fff;border:1px solid rgba(218,208,224,.8)}
.cast-instagram-card__avatar{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8d7e4,#d8c9f0,#c9dcf8);font-weight:700;color:#473d50;flex-shrink:0}
.cast-instagram-card__body h3{margin:0 0 6px;font-size:16px}.cast-instagram-card__body p{margin:0 0 10px;color:#655d6b;font-size:14px}.cast-instagram-card__body a{color:#7d3057;font-weight:700;text-decoration:none}
.info-grid--detail{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.info-item--full{grid-column:1/-1}.info-value--links{display:flex;gap:14px;flex-wrap:wrap}.info-value--links a{color:#7d3057;text-decoration:none;font-weight:700}
.store-embed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px;max-width:100%}.store-embed-card{padding:18px;border-radius:22px;background:#fff;border:1px solid rgba(221,211,226,.8);min-width:0}.store-embed-card h3{margin:0 0 12px}.store-embed-card--notice{display:flex;flex-direction:column;gap:14px;justify-content:center}.store-embed-card--notice p{margin:0;color:#685f6f}
.pricing-system-list{display:grid;grid-template-columns:1fr;gap:18px;margin-bottom:20px}.pricing-system-card{padding:20px;border-radius:22px;background:#fff;border:1px solid rgba(220,210,226,.82)}.pricing-system-card h3{margin:0 0 10px}.pricing-system-card__note{margin:0 0 14px;color:#685f6f}
.pricing-table--system td:last-child,.pricing-table--fees td:last-child{text-align:right}
.store-review-summary-card{display:grid;grid-template-columns:280px 1fr;gap:22px;padding:22px;border-radius:22px;background:linear-gradient(180deg,#fcfbfd,#f8f3f9);border:1px solid rgba(220,210,226,.85)}
.store-review-summary-card__count{margin:0 0 10px;color:#645c6b}.store-review-summary-card__overall .star-rating{font-size:26px}
.store-review-chart{display:flex;flex-direction:column;gap:10px}.store-review-chart svg{width:100%;height:140px;background:linear-gradient(180deg,rgba(252,252,253,.8),rgba(246,238,248,.95));border-radius:16px;border:1px solid rgba(223,215,227,.8)}
.store-review-chart__line{fill:none;stroke:#8a355f;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.store-review-chart__labels{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;font-size:13px;color:#5f5667}
.store-comments-shell{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}.store-comments-list{display:flex;flex-direction:column;gap:16px}.store-comment-card{padding:20px;border-radius:22px;background:#fff;border:1px solid rgba(220,210,226,.82)}
.store-comment-card__head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px}.store-comment-card__head h3{margin:0 0 6px;font-size:16px}.store-comment-card__head p{margin:0;color:#817884;font-size:13px}.store-comment-card__metrics{display:flex;flex-wrap:wrap;gap:10px 12px;margin-bottom:14px}.store-comment-card__metrics span{padding:8px 10px;border-radius:999px;background:#f5f0f6;font-size:12px;color:#5f5666}.store-comment-card__body p:last-child{margin-bottom:0}.store-comments-empty{padding:24px;border-radius:20px;background:#faf7fb}
.store-comment-form-wrap{padding:24px;border-radius:24px;background:#fff;border:1px solid rgba(221,211,226,.84);height:fit-content;position:sticky;top:100px}.store-comment-form-wrap .comment-form label{display:block;font-size:13px;margin-bottom:6px;color:#4f4654}.store-comment-form-wrap input[type=text],.store-comment-form-wrap textarea{width:100%;border:1px solid rgba(195,182,203,.86);border-radius:14px;padding:14px 16px;background:#fcfbfd}.store-comment-form-wrap textarea{min-height:150px;resize:vertical}
.store-review-fields{margin-bottom:18px}.store-review-fields__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.store-review-fieldset{border:1px solid rgba(221,211,226,.82);border-radius:16px;padding:14px}.store-review-fieldset legend{padding:0 6px;font-size:13px;color:#514955;font-weight:700}.store-review-stars-input{display:flex;gap:8px;flex-wrap:wrap}.store-review-stars-input label{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:#f7f2f8;cursor:pointer}
.store-news-item__body .member-gate{margin-top:12px}
@media (max-width: 1023px){.store-header--hero{grid-template-columns:1fr}.store-header-overview__top{grid-template-columns:1fr}.store-rank-badge{justify-self:start}.store-review-summary-card,.store-comments-shell,.store-embed-grid{grid-template-columns:1fr}.store-comment-form-wrap{position:static}.info-grid--detail{grid-template-columns:1fr}.store-review-fields__grid{grid-template-columns:1fr}}
@media (max-width: 767px){.container,.header-inner,.footer-inner{width:min(1120px,calc(100% - 24px))}.store-header--hero,.store-copy-section,.store-pricing-section,.store-cast-instagram-section,.store-pricing-system-section,.store-reviews-section,.store-info-panel,.store-news-section{padding:22px;border-radius:22px}.store-header-branding{grid-template-columns:72px minmax(0,1fr);align-items:start}.store-header-overview__top{grid-template-columns:1fr;gap:14px}.store-rank-badge{min-width:76px;padding:12px 10px;border-radius:18px}.store-rank-badge__number{font-size:28px}.store-rank-badge__label{font-size:10px}.store-logo-wrap{width:72px;height:72px;border-radius:18px;padding:10px}.store-catchcopy--lead{font-size:22px}.pricing-current-row__regular,.pricing-current-row__custom{font-size:20px}.pricing-current-row__per-person{font-size:11px}.store-review-chart__labels{grid-template-columns:repeat(2,1fr)}.store-mobile-fixed-cta__btn{font-size:14px}}

.owner-form__grid--expanded {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.owner-form__field--full {
  grid-column: 1 / -1;
}
.owner-form__field--image > span,
.owner-form__field--gallery > span,
.owner-form__field--repeater > span,
.owner-form__field--pricing_systems > span {
  display: block;
  margin-bottom: 8px;
}
.owner-form select[multiple] {
  min-height: 160px;
  padding: 10px;
}
.owner-media {
  display: grid;
  gap: 12px;
}
.owner-media__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.owner-media__preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.owner-media__thumb {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
}
.owner-media__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.owner-media__remove-thumb {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: #fff;
  cursor: pointer;
}
.owner-repeater {
  display: grid;
  gap: 14px;
}
.owner-repeater__items,
.owner-nested-repeater__items {
  display: grid;
  gap: 14px;
}
.owner-repeater__item,
.owner-nested-repeater__item {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: rgba(250,248,246,.75);
}
.owner-repeater__item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.owner-repeater__item-grid--pricing-system {
  margin-bottom: 12px;
}
.owner-repeater__item-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.owner-nested-repeater {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}
.owner-nested-repeater__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
@media (max-width: 767px) {
  .owner-form__grid--expanded,
  .owner-repeater__item-grid,
  .owner-nested-repeater__item {
    grid-template-columns: 1fr;
  }
}


.store-open-badge,
.detail-chip--open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 199, 85, 0.12);
  color: #058a3c;
  border: 1px solid rgba(6, 199, 85, 0.24);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.taxonomy-links--sort a {
  min-width: 140px;
  text-align: center;
}

.store-header-meta-chips .detail-chip--open {
  background: rgba(6, 199, 85, 0.14);
}
.store-open-badge--invoice,
.detail-chip--invoice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(51, 93, 255, 0.08);
  color: #2140a6;
  border: 1px solid rgba(51, 93, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ===== V16 store news compact / archive ===== */
.detail-section__heading--with-actions{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}
.store-news-section__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.store-news-compact-list{
  display:grid;
  gap:12px;
}
.store-news-compact-item{
  display:grid;
  grid-template-columns:140px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:16px 18px;
  border:1px solid rgba(220,210,226,.82);
  border-radius:18px;
  background:#fff;
}
.store-news-compact-item__date{
  color:#6a6272;
  font-size:.92rem;
  font-weight:600;
}
.store-news-compact-item__title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}
.store-news-compact-item__title a,
.store-news-compact-item__link a{
  text-decoration:none;
}
.store-news-compact-item__title a{
  color:#2f2833;
  font-weight:700;
  line-height:1.6;
}
.store-news-compact-item__link a{
  color:#7d3057;
  font-weight:700;
  white-space:nowrap;
}
.store-news-archive-page{
  padding-top:20px;
  padding-bottom:48px;
}
.store-news-archive-header{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
}
.store-news-archive-header__brand{
  display:flex;
  gap:18px;
  align-items:center;
}
.store-news-archive-header__logo{
  width:88px;
  height:88px;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 16px 28px rgba(48,37,56,.08);
  flex-shrink:0;
}
.store-news-archive-header__logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.store-news-archive-header__lead{
  margin:8px 0 0;
  color:#645c6b;
}
.store-news-archive-header__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.store-news-archive-list{
  display:grid;
  gap:18px;
}

.store-news-archive-toggle{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
}
.store-news-archive-toggle__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(205,192,214,.92);
  background:rgba(255,255,255,.85);
  color:var(--color-text);
  text-decoration:none;
  font-size:.92rem;
  font-weight:600;
  transition:all .2s ease;
}
.store-news-archive-toggle__button:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(44,28,56,.08);
}
.store-news-archive-toggle__button.is-active{
  background:linear-gradient(135deg, rgba(124,77,255,.12), rgba(255,255,255,.95));
  border-color:rgba(137,106,194,.55);
  color:#4b2f66;
  box-shadow:0 12px 22px rgba(88,52,129,.12);
}
.store-news-archive-toggle__note{
  margin:0 0 18px;
  color:#645c6b;
  font-size:.92rem;
}
.store-news-archive-item{
  scroll-margin-top:120px;
  padding:24px;
  border-radius:22px;
  border:1px solid rgba(220,210,226,.82);
  background:#fff;
}
.store-news-archive-item__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:10px;
}
.store-news-archive-item__meta span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  border:1px solid var(--color-border);
  color:var(--color-text-muted);
  font-size:.78rem;
}
.store-news-archive-item h3{
  margin:0 0 12px;
  font-size:1.14rem;
  line-height:1.55;
}
.store-news-archive-item__content > *:first-child{margin-top:0}

@media (max-width: 1023px){
  .detail-section__heading--with-actions,
  .store-news-archive-header{
    flex-direction:column;
  }
  .store-news-section__actions,
  .store-news-archive-header__actions,
  .store-news-archive-toggle{
    justify-content:flex-start;
  }
  .store-news-compact-item{
    grid-template-columns:1fr;
    align-items:flex-start;
  }
}

@media (max-width: 767px){
  .store-news-compact-item,
  .store-news-archive-item{
    padding:18px;
    border-radius:18px;
  }
  .store-news-archive-header__brand{
    align-items:flex-start;
  }
  .store-news-archive-header__logo{
    width:72px;
    height:72px;
    border-radius:18px;
  }
}


.mypage-review-list{display:grid;gap:16px;}
.mypage-review-card{padding:22px;border:1px solid rgba(220,210,226,.82);border-radius:20px;background:#fff;box-shadow:0 12px 22px rgba(44,28,56,.05);}
.mypage-review-card__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px;}
.mypage-review-card__store{margin:0;font-weight:700;font-size:1.04rem;}
.mypage-review-card__store a{text-decoration:none;color:#2f2833;}
.mypage-review-card__date{margin:6px 0 0;color:var(--color-text-muted);font-size:.9rem;}
.mypage-review-card__metrics{display:flex;flex-wrap:wrap;gap:8px 10px;margin-bottom:14px;}
.mypage-review-card__metrics span{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.85);border:1px solid var(--color-border);color:var(--color-text-muted);font-size:.84rem;}
.mypage-review-card__body{color:var(--color-text);}
.mypage-review-card__body p:last-child{margin-bottom:0;}
.mypage-review-card__actions{display:flex;justify-content:flex-end;margin-top:14px;}
.detail-chip--members{background:rgba(6,199,85,.12);border-color:rgba(6,199,85,.32);color:#0c7c3c;}
.store-news-archive-item__title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;font-size:1.14rem;line-height:1.55;}
.store-news-archive-item__title a{text-decoration:none;color:#2f2833;}
.store-news-archive-item__locked{margin:0;color:#645c6b;}
@media (max-width: 767px){
  .mypage-review-card__head{flex-direction:column;}
  .mypage-review-card__actions{justify-content:flex-start;}
}


.cast-instagram-card__avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.info-value,.store-card-title,.store-card-subtitle,.store-card-catchcopy,.store-news-compact-item__title a{word-break:break-word;overflow-wrap:anywhere}
.pricing-table{width:100%;border-collapse:collapse}
.pricing-table td{padding:12px 14px;border-bottom:1px solid rgba(220,210,226,.82);vertical-align:top}

@media (max-width: 767px){
  .store-detail{padding-left:0;padding-right:0}
  .store-single--v2{gap:20px;padding-bottom:88px}
  .store-header--hero{padding:20px 18px;border-radius:20px;gap:18px}
  .store-header-branding{grid-template-columns:1fr;gap:14px;width:100%}
  .store-header-overview,.store-header-title-block{width:100%}
  .store-header-overview__top{grid-template-columns:1fr;align-items:flex-start;width:100%}
  .store-title{font-size:clamp(1.6rem,7vw,2rem);line-height:1.28}
  .store-header-stats{display:grid;grid-template-columns:1fr;gap:10px;width:100%}
  .store-header-stat{width:100%;justify-content:space-between}
  .store-header-actions{display:grid;grid-template-columns:1fr;gap:10px;width:100%}
  .store-slider-section{margin-inline:0}
  .store-slider .slider-main{border-radius:20px;overflow:hidden}
  .slider-thumbnails{display:grid;grid-auto-flow:column;grid-auto-columns:84px;overflow-x:auto;gap:10px;padding-bottom:4px;scroll-snap-type:x proximity}
  .slider-thumbnails .thumbnail{scroll-snap-align:start;min-width:84px}
  .pricing-current-card{padding:18px;border-radius:20px}
  .pricing-current-row{padding:16px}
  .pricing-current-row__price-group{align-items:flex-start;gap:10px}
  .pricing-current-row__regular,.pricing-current-row__custom{font-size:18px;line-height:1.45}
  .pricing-current-row__note{font-size:12px}
  .cast-instagram-grid,.pricing-system-list,.store-embed-grid,.store-comments-shell,.store-review-summary-card,.store-news-compact-list{grid-template-columns:1fr !important;max-width:100%}
  .cast-instagram-card{grid-template-columns:1fr;display:grid;gap:12px}
  .cast-instagram-card__avatar{width:64px;height:64px}
  .info-grid--detail{grid-template-columns:1fr !important;gap:12px}
  .info-item{padding:14px}
  .info-item--full{grid-column:auto}
  .store-embed-card iframe{height:260px}
  .detail-section__heading--with-actions{gap:14px}
  .store-news-section__actions,.store-news-archive-header__actions{display:grid;grid-template-columns:1fr;gap:10px;width:100%}
  .store-news-section__actions > a,.store-news-archive-header__actions > a{width:100%;justify-content:center}
  .store-news-compact-item{padding:16px;gap:8px}
  .store-news-compact-item__link{width:100%}
  .store-news-compact-item__link a{display:inline-flex;min-height:40px;align-items:center}
  .pricing-table,.pricing-table tbody,.pricing-table tr,.pricing-table td{display:block;width:100%}
  .pricing-table tr{padding:14px 0;border-bottom:1px solid rgba(220,210,226,.82)}
  .pricing-table td{padding:4px 0;border:0;text-align:left !important}
  .store-comment-card__head{flex-direction:column}
}


.store-single--v2, .store-single--v2 > *, .store-slider, .slider-main, .slider-thumbnails, .pricing-current-card, .pricing-system-card, .pricing-table, .store-review-summary-card, .store-review-chart, .store-news-compact-item, .store-embed-grid, .store-embed-card, .info-grid--detail, .info-item {max-width:100%;min-width:0;}
.store-review-chart svg{display:block;width:100%;height:auto;max-width:100%;}
.store-header-actions > *{max-width:100%;}
.slider-thumbnails{max-width:100%;}

.owner-form__checkbox--single{display:flex;align-items:center;gap:10px;min-height:52px;padding:14px 16px;border:1px solid var(--color-border);border-radius:18px;background:var(--color-surface)}
.owner-form__checkbox--single input{width:18px;height:18px}
.owner-form__checkbox--single span{font-weight:700;color:var(--color-text)}

/* =========================================================
   Related Stores Slider
========================================================= */
.store-related-section {
  margin-top: 24px;
}
.store-related-section .stores-list--related-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.store-related-section .stores-list--related-slider::-webkit-scrollbar {
  display: none;
}
.store-related-section .stores-list--related-slider > .store-card {
  flex: 0 0 min(320px, calc(33.333% - 14px));
  min-width: 280px;
  scroll-snap-align: start;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  transition: all .35s ease;
}
.store-related-section .stores-list--related-slider > .store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-text);
}
.store-related-section .store-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.store-related-section .store-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface-soft);
}
.store-related-section .store-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.store-related-section .store-card:hover .store-card-image img {
  transform: scale(1.04);
}
.store-related-section .store-card-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-muted);
  font-size: .82rem;
}
.store-related-section .store-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}
.store-related-section .store-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.store-related-section .badge,
.store-related-section .store-card-area-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.store-related-section .badge {
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,.82);
}
.store-related-section .store-card-area-chip {
  background: var(--color-surface-soft);
  color: var(--color-text-muted);
}
.store-related-section .store-card-title {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.store-related-section .store-card-subtitle {
  margin-bottom: 6px;
  font-size: .84rem;
  color: var(--color-text-muted);
}
.store-related-section .store-card-catchcopy {
  margin-bottom: 12px;
  color: #b95a7b;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.6;
}
.store-related-section .store-card-meta {
  margin-top: auto;
  padding-top: 10px;
}
.store-related-section .store-card-price {
  color: var(--color-text);
  font-size: .9rem;
  font-weight: 700;
}
.store-related-section .store-card-price--muted {
  color: var(--color-text-muted);
  font-weight: 500;
}
.store-related-section .store-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.store-related-section .rating-stars {
  font-size: .94rem;
}
.store-related-section .rating-count,
.store-related-section .no-rating {
  color: var(--color-text-muted);
  font-size: .84rem;
}

@media (max-width: 1023px) {
  .store-related-section .stores-list--related-slider > .store-card {
    flex-basis: min(300px, calc(50vw - 10px));
    min-width: 250px;
  }
}

@media (max-width: 767px) {
  .store-related-section {
    margin-top: 16px;
  }
  .store-related-section .stores-list--related-slider {
    gap: 14px;
  }
  .store-related-section .stores-list--related-slider > .store-card {
    flex-basis: min(76vw, 250px);
    min-width: 220px;
  }
  .store-related-section .store-card-content {
    padding: 15px 15px 18px;
  }
  .store-related-section .store-card-title {
    font-size: .98rem;
    line-height: 1.45;
  }
  .store-related-section .store-card-subtitle {
    font-size: .76rem;
    line-height: 1.5;
  }
  .store-related-section .store-card-catchcopy {
    font-size: .8rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.header-overlay__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.header-overlay__category-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(140,120,108,0.18);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.3;
  box-shadow: 0 8px 24px rgba(39,26,18,0.06);
}
.header-overlay__category-link:hover {
  transform: translateY(-1px);
  background: #fff;
}
@media (max-width: 767px) {
  .header-overlay__panel {
    width: calc(100% - 16px);
    margin: 8px;
    border-radius: 24px;
  }
  .header-overlay__inner {
    padding: 22px 18px calc(28px + env(safe-area-inset-bottom));
  }
  .header-overlay__categories {
    gap: 8px;
  }
  .header-overlay__category-link {
    width: 100%;
    justify-content: center;
  }
}

.store-detail { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
