:root {
  color-scheme: light;
  --store-accent: #bb4f29;
  --store-text: #282019;
  --store-bg: #fbf7f0;
  --store-card: #fffaf3;
  --store-muted: #7f7165;
  --store-line: rgba(60, 43, 31, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.public-store-shell {
  margin: 0;
  color: var(--store-text);
  background: var(--store-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.published-store-page {
  width: min(100%, 760px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--store-card);
  box-shadow: 0 24px 80px rgba(39, 30, 22, .08);
}

.store-hero {
  position: relative;
  min-height: min(72svh, 680px);
  color: #fff;
  background: #241b15;
  isolation: isolate;
}

.store-hero-slides,
.store-hero-slide,
.store-hero .store-image-frame {
  position: absolute;
  inset: 0;
}

.store-hero-slide {
  opacity: 0;
  transition: opacity .8s ease;
}

.store-hero-slide.active {
  opacity: 1;
}

.store-image-frame {
  display: block;
  overflow: hidden;
  background: color-mix(in srgb, var(--store-accent) 14%, #17110e);
}

.store-image-frame img {
  position: absolute;
  left: var(--img-x, 50%);
  top: var(--img-y, 50%);
  width: calc(100% * var(--img-zoom, 1));
  height: calc(100% * var(--img-zoom, 1));
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.store-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .48), rgba(0, 0, 0, .08) 42%, rgba(0, 0, 0, .66)),
    radial-gradient(circle at 26% 12%, rgba(255, 255, 255, .18), transparent 38%);
}

.store-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 36px);
}

.store-nav span,
.store-footer strong {
  display: grid;
  gap: 2px;
}

.store-nav b,
.store-footer strong {
  letter-spacing: .08em;
  font-size: clamp(18px, 4.8vw, 28px);
}

.store-nav small,
.store-footer small {
  letter-spacing: .18em;
  font-size: 11px;
  opacity: .8;
}

.store-menu-toggle {
  display: grid;
  gap: 6px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .48);
  color: currentColor;
  background: rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}

.store-menu-toggle[hidden] {
  display: none;
}

.store-menu-toggle i {
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.store-hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 6vw, 44px);
  right: clamp(20px, 6vw, 44px);
  bottom: clamp(96px, 18vw, 146px);
}

.store-hero-copy span {
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
}

.store-hero-copy h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(36px, 11vw, 72px);
  line-height: 1.08;
  letter-spacing: .08em;
}

.store-hero-controls {
  position: absolute;
  z-index: 4;
  left: clamp(18px, 5vw, 36px);
  right: clamp(18px, 5vw, 36px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.store-hero-controls.single {
  display: none;
}

.store-hero-controls button,
.store-hero-controls [data-hero-dots] button {
  border: 1px solid rgba(255, 255, 255, .44);
  color: #fff;
  background: rgba(0, 0, 0, .22);
}

.store-hero-controls > button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.store-hero-controls [data-hero-dots] {
  display: flex;
  gap: 7px;
}

.store-hero-controls [data-hero-dots] button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 99px;
  opacity: .55;
}

.store-hero-controls [data-hero-dots] button.active {
  width: 24px;
  opacity: 1;
  background: var(--store-accent);
}

.store-hero-controls small {
  margin-left: auto;
  letter-spacing: .16em;
  font-size: 12px;
}

.store-actions {
  position: sticky;
  z-index: 7;
  top: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  padding: 10px;
  background: rgba(255, 250, 243, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--store-line);
}

.store-actions button,
.store-main-button {
  border: 0;
  color: #fff;
  background: var(--store-accent);
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
}

.store-actions button:not(.main) {
  color: var(--store-text);
  background: #fff;
  border: 1px solid var(--store-line);
}

.store-body,
.store-menu,
.store-gallery,
.store-access,
.store-footer {
  padding: clamp(28px, 7vw, 56px) clamp(18px, 5vw, 42px);
}

.store-news,
.store-intro,
.store-hours,
.store-extra,
.store-qa {
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--store-line);
  background: rgba(255, 255, 255, .68);
}

.store-news span,
.store-intro small,
.store-extra small,
.store-qa small,
.store-menu header small,
.store-gallery header small,
.store-access header small {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--store-accent);
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 900;
}

.store-intro h2,
.store-menu h2,
.store-gallery h2,
.store-access h2 {
  margin: 0 0 10px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(25px, 6vw, 40px);
  line-height: 1.3;
}

.store-news p,
.store-intro p,
.store-menu header p,
.store-menu-items p,
.store-extra p,
.store-qa p {
  margin: 0;
  color: var(--store-muted);
}

.store-hours {
  display: grid;
  gap: 5px;
  border-color: color-mix(in srgb, var(--store-accent) 36%, var(--store-line));
}

.store-hours span {
  color: var(--store-muted);
  font-size: 13px;
  font-weight: 800;
}

.store-hours strong {
  font-size: clamp(25px, 7vw, 38px);
  line-height: 1.2;
}

.store-menu {
  background: #fff;
}

.store-menu > div,
.store-gallery > div,
.store-extra > div,
.store-qa > div {
  display: grid;
  gap: 18px;
}

.store-menu-sheet {
  margin: 0;
}

.store-menu-sheet .store-image-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--store-line);
  border-radius: 18px;
}

.store-menu-sheet figcaption {
  margin-top: 8px;
  color: var(--store-muted);
  font-size: 13px;
}

.store-menu-category {
  display: grid;
  gap: 14px;
}

.store-menu-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--store-line);
  padding-bottom: 10px;
}

.store-menu-category-head strong {
  font-size: 19px;
}

.store-menu-items {
  display: grid;
  gap: 14px;
}

.store-menu-items article {
  display: grid;
  grid-template-columns: minmax(96px, 31%) 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--store-line);
  border-radius: 18px;
  background: #fffdf8;
}

.store-menu-items .store-image-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
}

.store-menu-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  grid-column: 2;
}

.store-menu-meta em,
.store-menu-meta span {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  background: color-mix(in srgb, var(--store-accent) 13%, #fff);
  color: var(--store-accent);
}

.store-menu-title {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  grid-column: 2;
  font-weight: 900;
}

.store-menu-title span {
  white-space: nowrap;
  color: var(--store-accent);
}

.store-menu-items p {
  grid-column: 2;
  font-size: 14px;
}

.store-gallery {
  background: color-mix(in srgb, var(--store-accent) 7%, var(--store-bg));
}

.store-gallery > div {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.store-gallery .store-image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
}

.store-gallery > small {
  display: block;
  margin-top: 14px;
  color: var(--store-muted);
}

.store-extra article,
.store-qa article {
  padding: 18px;
  border: 1px solid var(--store-line);
  border-radius: 18px;
  background: #fff;
}

.store-extra h3,
.store-qa h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.store-access {
  background: #fff;
}

.store-map {
  position: relative;
  overflow: hidden;
  margin: 18px 0;
  border-radius: 22px;
  border: 1px solid var(--store-line);
  background: #eee2d5;
}

.store-map iframe {
  display: block;
  width: 100%;
  height: min(68vw, 360px);
  border: 0;
}

.store-map > div {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  gap: 8px;
}

.store-map button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  color: var(--store-text);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  font-weight: 900;
}

.store-access dl {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.store-access dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--store-line);
}

.store-access dt {
  color: var(--store-muted);
  font-weight: 800;
}

.store-access dd {
  margin: 0;
  font-weight: 700;
}

.store-weekly-hours {
  display: grid;
  gap: 6px;
}

.store-weekly-hours span {
  display: flex;
  gap: 10px;
}

.store-weekly-hours b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--store-accent) 12%, #fff);
  color: var(--store-accent);
}

.store-footer {
  display: grid;
  gap: 12px;
  color: #fff;
  background: #2a2019;
  text-align: center;
}

.store-footer p {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0;
}

.store-footer button,
.store-footer a {
  color: inherit;
}

.store-footer button {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
}

.store-powered-by {
  display: grid;
  gap: 4px;
  margin: 12px auto;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
}

.store-powered-by a {
  color: #fff;
  font-weight: 900;
}

.store-page-menu[hidden] {
  display: none;
}

.store-page-menu {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.store-page-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .3);
}

.store-page-menu-panel {
  position: absolute;
  right: 14px;
  top: 14px;
  width: min(62vw, 280px);
  max-height: calc(100svh - 28px);
  overflow: auto;
  padding: 16px;
  color: var(--store-text);
  background: rgba(255, 252, 247, .96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.store-page-menu-panel header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.store-page-menu-panel header span {
  display: block;
  color: var(--store-accent);
  letter-spacing: .16em;
  font-size: 10px;
  font-weight: 900;
}

.store-page-menu-panel header button {
  border: 0;
  background: transparent;
  font-size: 22px;
}

.store-page-menu-panel [data-site-menu-items] {
  display: grid;
  gap: 8px;
}

.store-page-menu-panel [data-site-menu-items] button {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--store-line);
  padding: 11px;
  text-align: left;
  background: #fff;
}

.store-page-menu-panel [data-site-menu-items] span {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--store-accent);
}

.store-page-menu-panel [data-site-menu-items] b,
.store-page-menu-panel [data-site-menu-items] small {
  display: block;
}

.store-page-menu-panel [data-site-menu-items] small {
  color: var(--store-muted);
  font-size: 11px;
}

.public-not-found {
  width: min(680px, calc(100% - 32px));
  margin: 10vh auto;
  padding: 36px;
  border: 1px solid var(--store-line);
  border-radius: 28px;
  background: #fff;
  text-align: center;
}

.public-not-found span {
  color: var(--store-accent);
  letter-spacing: .18em;
  font-weight: 900;
}

.public-not-found code {
  display: inline-block;
  margin: 12px 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f6eee4;
}

.theme-premium,
.theme-night,
.theme-luxury {
  --store-bg: #17120f;
  --store-card: #1f1814;
  --store-text: #f6eee4;
  --store-muted: #cfbda6;
  --store-line: rgba(226, 190, 118, .24);
  --store-accent: #d8b66a;
}

.theme-premium .store-menu,
.theme-premium .store-access,
.theme-night .store-menu,
.theme-night .store-access,
.theme-luxury .store-menu,
.theme-luxury .store-access {
  background: #211915;
}

.theme-premium .store-news,
.theme-premium .store-intro,
.theme-premium .store-hours,
.theme-premium .store-extra,
.theme-premium .store-qa,
.theme-premium .store-menu-items article,
.theme-night .store-news,
.theme-night .store-intro,
.theme-night .store-hours,
.theme-night .store-extra,
.theme-night .store-qa,
.theme-night .store-menu-items article,
.theme-luxury .store-news,
.theme-luxury .store-intro,
.theme-luxury .store-hours,
.theme-luxury .store-extra,
.theme-luxury .store-qa,
.theme-luxury .store-menu-items article {
  color: #2b211a;
  background: #fffaf0;
}

.theme-patisserie .store-hero {
  margin: 18px;
  border-radius: 999px 999px 32px 32px;
  overflow: hidden;
}

.theme-ryotei .store-hero {
  margin: 14px;
  min-height: min(80svh, 760px);
  border: 1px solid color-mix(in srgb, var(--store-accent) 46%, transparent);
}

.theme-simple .store-hero-copy {
  writing-mode: vertical-rl;
  left: auto;
  right: clamp(20px, 7vw, 54px);
  bottom: 84px;
}

@media (max-width: 520px) {
  .published-store-page {
    box-shadow: none;
  }

  .store-menu-items article {
    grid-template-columns: 92px 1fr;
  }

  .store-page-menu-panel {
    width: min(72vw, 260px);
  }
}
